* lib/mkmf.rb: Avoid the use of "clean::" in favor of "clean:" in
order not to let make(1) choke if there is another dependency on
the target added in a depend file.
13 lines of code changed in:
2002-11-27
2 lines of code changed in:
* lib/mkmf.rb: Make sure to dig the destination directory before
installing a file there. Formerly "make install" could fail
depending on make(1)'s mood of the moment, especially when -jN
is given.
9 lines of code changed in:
* dln.c (init_funcname_len): remove MAXPATHLEN dependency.
11 lines of code changed in:
* ext/syslog/syslog.c: Cut redundancy.
* ext/syslog/syslog.c: Do not leak ident.
* ext/syslog/syslog.c, ext/syslog/test.rb: Syslog.close should
raise RuntimeError when not opened.
* ext/syslog/syslog.c, ext/syslog/test.rb:
Syslog.{ident,options,facility,mask} should all return nil when
not opened.
* ext/syslog/syslog.c, ext/syslog/test.rb: Change back the output
format of inspect().
54 lines of code changed in:
* ext/syslog/test.rb: Syslog.close should raise RuntimeError when
not opened.
* ext/syslog/test.rb: Syslog.{ident,options,facility,mask} should
all return nil when not opened.
* ext/syslog/test.rb: Change back the output format of inspect().
29 lines of code changed in:
* ext/digest/test.rb: Switch from RUnit to Test::Unit.
6 lines of code changed in:
* ext/syslog/syslog.c: Fix a problem where Syslog#ident was not
marked and could thus be GC'd.
27 lines of code changed in:
* ext/syslog/test.rb: Switch from RUnit to Test::Unit.
* ext/syslog/test.rb: The output format of inspect() is slightly
altered.
18 lines of code changed in:
2002-11-26
2 lines of code changed in:
commit miss
1 lines of code changed in:
* error.c (exit_initialize): add SystemExit#initialize to set
instance variable status. (ruby-bugs-ja:PR#362)
Now accepts status as optional first argument.
* eval.c (error_handle): now SystemExit have status always.
* eval.c (system_exit): just instantiate SystemExit without raise.
* eval.c (rb_thread_start_0): initialize SystemExit properly.
40 lines of code changed in:
dlsizeof() should handle 'S' and 's'.
2 lines of code changed in:
* ext/extmk.rb (extmake): return true if not dynamic and not static.
5 lines of code changed in:
typofix.
1 lines of code changed in:
* dln.c: devert and add the MAXPATHLEN definition on mswin32/mingw32.
15 lines of code changed in:
* dln.c: move the MAXPATHLEN definition in front.
9 lines of code changed in:
* sprintf.c (rb_f_sprintf): preceding ".." for negative
hexadecimal numbers should not appear if prec (e.g. %.4) is
specified.
* pack.c (NUM2I32): support platforms which does not have 32bit
integers (e.g. Cray).
55 lines of code changed in:
* instruby.rb: Install batch files on Windows. [Submitted by usa]
25 lines of code changed in:
2002-11-22
2 lines of code changed in:
* eval.c (rb_add_method): node may be NULL.
5 lines of code changed in:
* file.c (rb_find_file_ext): should not terminate searching with
empty path, just ignore.
* dir.c: remove <sys/parm.h> inclusion.
* compar.c (cmp_eq,cmp_gt,cmp_ge,cmp_lt,cmp_le): check using
rb_cmpint().
* error.c (init_syserr): remove sys_nerr dependency.
* numeric.c (num_cmp): added to satisfy Comparable assumption.
* eval.c (rb_add_method): "initialize" should be public if it is a
singleton method.
* regex.c (re_match): avoid dereferencing if size == 0.
(ruby-bugs-ja:PR#360)
* time.c (time_cmp): should return nil if an operand is not a
number nor time. (ruby-bugs-ja:PR#359)
* file.c (rb_stat_cmp): should return nil if an operand is not
File::Stat.
103 lines of code changed in:
change default prompt.
6 lines of code changed in:
* erb.rb: fix def_class bug.
2 lines of code changed in:
* bin/erb: fix -S 4 option bug.
3 lines of code changed in:
* lib/net/smtp.rb: changes coding style.
* lib/net/pop.rb: ditto.
* lib/net/protocol.rb: ditto.
131 lines of code changed in:
* lib/net/http.rb: unify coding style.
226 lines of code changed in:
sorry, conflicts in ChangeLog is now resolved.
0 lines of code changed in:
modify ChangeLog.
11 lines of code changed in:
* lib/net/http.rb: should not overwrite Host: header. (Original patch is contributed by sean@ruby-lang.org)
1 lines of code changed in:
* lib/net/http.rb: support Proxy-Authorization. (Original patch is contributed by Alexander Bokovoy)
* lib/net/http.rb: should not overwrite Host: header. (Original patch is contributed by sean@ruby-lang.org)
63 lines of code changed in:
add bin/erb
136 lines of code changed in:
* array.c (rb_ary_zip): iterates over items in the receiver.
zipped with nil if argument arrays are shorter. if arrays are
longer, left items are ignored. now works with blocks.
* enum.c (zip_i): changed for new behavior.
* array.c (rb_ary_transpose): added. [new]
73 lines of code changed in:
URI::extract extracts only URIs of specified schemes when schemes are specified.
2 lines of code changed in:
initialize hack
2 lines of code changed in:
defines.h: hack for the case sizeof(short) == sizeof(int)
6 lines of code changed in:
* instruby.rb: Do not install various working files under bin/.
5 lines of code changed in:
* instruby.rb: not rewrite installed scripts when dry-run mode.
* lib/ostruct.rb (OpenStruct::initialize): should symbolize keys
instead of values.
12 lines of code changed in:
Oops, I mean ruby_install_name.
1 lines of code changed in:
* instruby.rb: Rewrite installed scripts' shebang lines.
* instruby.rb: Use File.join() where appropriate.
27 lines of code changed in:
sample/irb.rb -> bin/irb
1 lines of code changed in:
* bin/irb: Moved from sample/irb.rb.
* instruby.rb: Install script files under bin/ with ruby's program
prefix and suffix.
35 lines of code changed in:
Improve the comment section.
14 lines of code changed in:
* lib/tempfile.rb: Make this libary thread safe.
* lib/tempfile.rb: Do not pick a name which was once used and is
still scheduled for removal.
* lib/tempfile.rb: A lock file need not and must not be scheduled
for removal.
* lib/tempfile.rb: Compare Max_try with the number of mkdir
failures instead of the suffix counter.
* lib/tempfile.rb: Overall cleanup and add some important notices.
67 lines of code changed in:
* add ERB
259 lines of code changed in:
2002-11-17
2 lines of code changed in:
* parse.y (dsym): garbage returned. (ruby-bugs-ja:PR#358)
5 lines of code changed in:
* ostruct.rb: keep NoMethodError message with Ruby itself.
1 lines of code changed in:
* profile.rb: illegal use of Array#sort!. replaced it with non-bang
method. [ruby-dev:18792]
5 lines of code changed in:
* observer.rb: raise NoMethodError instead of NameError. [ruby-dev:18788]
* ostruct.rb: ditto. fix a bug in inspect which called String#+ with
Symbol. [ruby-dev:18788]
11 lines of code changed in:
2002-11-14
2 lines of code changed in:
* configure.in (LIBRUBY_A): append -static. [ruby-dev:18689]
* configure.in (LIBRUBYARG_STATIC, LIBRUBYARG_SHARED): linker
argument to link static/shared library respectively.
* Makefile.in (LIBRUBYARG_STATIC, LIBRUBYARG_SHARED): added.
* bcc32/Makefile.sub, win32/Makefile.sub: ditto.
* instruby.rb (LIBRUBY_A): install to libdir.
* lib/mkmf.rb (link_command): link static library of ruby, or
try_run fails unless LIBRUBY_SO is installed. [ruby-dev:18646]
* eval.c (call_trace_func): toplevel caller was missing.
[ruby-dev:18754]
* eval.c (proc_to_s): adjust created line number.
* parse.y (primary, do_block, brace_block): adjust line number of
block to beginning line, instead of the first statement inside
the block.
80 lines of code changed in:
* math.c (math_acos): check errno after operation. ditto for
asin, acosh, atanh, log, log10 and sqrt.
* eval.c (rb_add_method): initialize should always be private.
* parse.y (expr): add rescue modifier rule.
* parse.y (command_call): return, break and next with argument is
now part of this rule.
* parse.y (yylex): "a" in "a /5" should be considered as a local
variable. [experimental]
112 lines of code changed in:
2002-11-13
2 lines of code changed in:
* configure.in (DLDFLAGS): removed -Wl,-no-undefined to
ext/extmk.rb, in order to allow references to symbols in other
extension libraries for mkmf.rb. [ruby-dev:18724]
* ext/extmk.rb (extmake): ditto.
* ext/extmk.rb (extmake): exit when make failed.
17 lines of code changed in:
* lib/set.rb: retire contain?() and add superset?(),
proper_superset?() subset?(), and proper_subset?().
[obtained from: Jason Voegele's set.rb]
* lib/set.rb: define several aliases: union() for |(),
difference() for -(), ande intersection() for &().
[obtained from: Jason Voegele's set.rb]
* lib/set.rb: deal with a s/id/object_id/ leftover.
140 lines of code changed in:
DEBUGGER__::Context::debug_print_help: Typo fix of help message.
1 lines of code changed in:
* ext/tcltklib/stubs.c: should include "util.h" for ruby_strdup.
5 lines of code changed in:
* eval.c: remove ENABLE_TRACE/DISABLE_TRACE to trace child nodes of c-call.
[ruby-dev:18699]; nahi commits this as proxy for nobu.
5 lines of code changed in:
* parse.y: back out an unintended change in the syntax.
0 lines of code changed in:
* class.c (rb_define_method): do not set NOEX_CFUNC if klass is
really a module, whose methods must be safe for reciever's type.
* eval.c (rb_eval): nosuper should not be inherited unless the
overwritten method is an undef placeholder.
* parse.y (primary): allow 'when'-less case statement; persuaded
by Sean Chittenden.
48 lines of code changed in:
Get rid of ineffective symbols, lines, constants and so on.
143 lines of code changed in:
2002-11-07
2 lines of code changed in:
* eval.c (rb_yield_0): should enable trace for non-cfunc nodes.
[ruby-dev:18645]
* eval.c (blk_orphan): a block created in a different thread is
orphan. [ruby-dev:17471]
13 lines of code changed in:
fixed rb_ary2cary() to convert nil.
2 lines of code changed in:
* ext/extmk.rb: Properly pass the given target to
make(1). [pointed out by eban]
6 lines of code changed in:
* instruby.rb, lib/mkmf.rb: use CONFIG["ENABLE_SHARED"] instead of
checking whether CONFIG["configure-args"] includes "--enable-shared".
7 lines of code changed in:
Fix a bogon in the last commit. (reported by WATANABE Tetsuya in
[ruby-dev:18634])
1 lines of code changed in:
* Makefile.in, ext/extmk.rb, bcc32/Makefile.sub,
win32/Makefile.sub: Introduce better command line syntax
(--make/--make-flags/--extstatic) to extmk.rb and instruby.rb.
Previously such command as 'make -j3 install' with pmake doesn't
fail. Formerly extmk.rb was receiving "make -j 3 -j 3" via the
command line arguments and just ended up recognizing the first
"3" as destdir. [with help of usa]
40 lines of code changed in:
* lib/getopts.rb: Do not choke on characters that cannot be used
in a variable name. Replace them with `_'. Define a hash named
$OPT for convenience.
16 lines of code changed in:
* object.c (Init_Object): added Object#object_id, new name for
Object#id. [new]
* object.c (rb_obj_id_obsolete): give warning for Object#id.
* numeric.c (fix_intern): added Fixnum#to_sym. [new]
* object.c (sym_to_sym): rename from Symbol#intern
* enum.c (enum_zip): added Enumerable#zip. [new]
* array.c (rb_ary_zip): added Array#zip.
* error.c (init_syserr): remove sys_nerr dependency.
173 lines of code changed in:
2002-10-30
2 lines of code changed in: