* 2006-03-01
4 lines of code changed in:
* lib/rdoc/parsers/parse_rb.rb (read_escape): could not handle /\^/.
merged Mr. Ishizuka's lib/irb/ruby-lex.rb 's patch rev 1.29.
[ruby-talk:181631] [ruby-dev:28404]
10 lines of code changed in:
* 2006-02-28
3 lines of code changed in:
* lib/irb/ruby-lex.rb: fixed that irb can't parse /\^/. [ruby-dev:28404] and http://rubyforge.org/tracker/index.php?func=detail&aid=3302&group_id=426&atid=1698
* lib/irb/ruby-lex.rb: support "\s" in irb.
5 lines of code changed in:
quote pathnames in the server's command line for space contained
directory names. Thanks, arton. [ruby-dev:28386]
7 lines of code changed in:
* instruby.rb: install *.exe.manifest and *.dll.manifest if exist.
It's for VC++8.
34 lines of code changed in:
* win32/win32.c (NtInitialize): need to set a handler for VC++8.
15 lines of code changed in:
* 2006-02-24
3 lines of code changed in:
no message
1 lines of code changed in:
* bcc32/Makefile.sub: use borlndmm.dll if possible. bcc32's RTL internal
memory manager cannot handle large memory block properly.
ex: 10000.times { "" << "." * 529671; GC.start } # crash
[ruby-dev:28230]
31 lines of code changed in:
* 2006-02-23
3 lines of code changed in:
* eval.c (SETUP_ARGS0): fixed memory corruption. [ruby-dev:28360]
5 lines of code changed in:
* lib/pathname.rb (Pathname#each_filename): use split_names properly.
12 lines of code changed in:
* test/webrick/test_cgi.rb: should support platforms which search
library path from the interpreter's path.
And, support test without install incidentally.
13 lines of code changed in:
* bignum.c (bignorm): x may not be a bignum. [ruby-dev:28367]
8 lines of code changed in:
* 2006-02-22
3 lines of code changed in:
* eval.c (proc_alloc): add proper check for creation of a lambda
without a block.
10 lines of code changed in:
comment ruby version more specific.
1 lines of code changed in:
* 2006-02-21
3 lines of code changed in:
* parse.y (f_arglist): should set command_start = Qtrue for
command body. [ruby-talk:180648]
7 lines of code changed in:
* mkconfig.rb: alias Config to RbConfig for compatibility.
5 lines of code changed in:
* io.c (rb_io_reopen): flush before reopening a file.
reported by Mathieu Bouchard. [ruby-core:7396]
9 lines of code changed in:
* mkconfig.rb: generate RbConfig instead of Config.
* instruby.rb, rubytest.rb, runruby.rb, bcc32/Makefile.sub,
ext/extmk.rb, ext/dl/extconf.rb, ext/iconv/charset_alias.rb,
lib/mkmf.rb, lib/rdoc/ri/ri_paths.rb,
lib/webrick/httpservlet/cgihandler.rb,
test/dbm/test_dbm.rb, test/gdbm/test_gdbm.rb,
test/ruby/envutil.rb, test/soap/calc/test_calc_cgi.rb,
test/soap/header/test_authheader_cgi.rb, test/soap/ssl/test_ssl.rb,
win32/mkexports.rb, win32/resource.rb: Use RbConfig instead of
Config.
70 lines of code changed in:
* lib/find.rb: should raise ENOENT if root entry does not exist,
without opening it. [ruby-dev:28345]
6 lines of code changed in:
* lib/rational.rb (Integer::gcd): small typo fix. [ruby-core:07395]
6 lines of code changed in:
* variable.c (rb_const_get_0): Object should have been the lowest
in const lookup precedence. [ruby-dev:28343]
15 lines of code changed in:
* eval.c: initial value for block_unique must be 1.
[ruby-talk:180420]
6 lines of code changed in:
* lib/delegate.rb (Delegator): should not delegate "funcall".
7 lines of code changed in:
* lib/webrick/httpservlet/cgihandler.rb (WEBrick::HTTPServlet::CGIHandler):
qualify the access for Config constant. [ruby-dev:28338]
* lib/resolv.rb (Resolv::DNS::Resource::IN::A): qualify
ClassValue. [ruby-dev:28338]
33 lines of code changed in:
* ext/openssl/ossl.h (OSSL_Debug): should not use __func__.
[ruby-dev:28339]
6 lines of code changed in:
* 2006-02-20
3 lines of code changed in:
* lib/open-uri.rb: add :ssl_verify_mode option.
suggested by Will Glynn.
* lib/open-uri.rb: add :ssl_ca_cert option.
32 lines of code changed in:
* 2006-02-19
3 lines of code changed in:
* lib/tracer.rb (Tracer::Tracer.add_filter): turn on tracer mode
only when caller() level size is one. [ruby-core:07389]
* lib/rdoc/parsers/parse_rb.rb: need not to require "tracer".
[ruby-core:07389]
* sample/rtags.rb: ditto.
11 lines of code changed in:
* eval.c (rb_obj_instance_eval): RDoc description updated. a
patch from Ozgur Murat Homurlu <ozgurmurath at gmail.com>.
[ruby-core:07381]
12 lines of code changed in:
* variable.c (rb_const_get_0): skip ruby_wrapper in const search
to give it lower priority (just above Object). need not to
change rb_const_defined_0() since it's only a precedence matter;
they are defined anyway.
19 lines of code changed in:
* 2006-02-18
3 lines of code changed in:
* lib/tracer.rb: merged a minor clarification patch from Daniel
Berger <Daniel.Berger at qwest.com>. [ruby-core:07376]
14 lines of code changed in:
* eval.c (ev_const_get): simplified using rb_const_get_fallback().
* eval.c (ev_const_defined): adopt to ev_const_get() using
rb_const_defined_fallback().
* variable.c (rb_const_get_fallback): new function to implement
constant search.
* variable.c (rb_const_defined_fallback): new function to
implement constant definition check.
* variable.c (rb_const_get_0): adopt to new behavior. constants
are looked up in the order of: current class, super classes (but
Object), lexically external classes/modules, and Object.
* variable.c (rb_const_defined_0): ditto.
84 lines of code changed in:
* util.c (ruby_strtod): Float("1e") should fail. [ruby-core:7330]
* pack.c (EXTEND32): unpack("l") did not work where sizeof(long) != 4.
[ruby-talk:180024]
* pack.c (pack_unpack): fixed integer overflow on template "w".
[ruby-talk:180126]
26 lines of code changed in:
* 2006-02-17
3 lines of code changed in:
* eval.c (rb_thread_wait_for): sleep should always sleep for
specified amount of time. [ruby-talk:180067]
6 lines of code changed in:
* eval.c (rb_eval): NODE_OP_ASGN1 should allow splat in its
argument list. [ruby-core:07366]
* parse.y (arg): avoid unnecessary extra argument.
[ruby-core:07366]
* eval.c (rb_eval): honor visibility on OP_ASGN1 and
OP_ASGN2. [ruby-core:07366]
37 lines of code changed in:
* eval.c (error_line): remove void control path. [ruby-dev:28335]
8 lines of code changed in:
* eval.c (yield_under_i): should not pass self as an argument to
the block for instance_eval. [ruby-core:07364]
7 lines of code changed in:
* 2006-02-15
3 lines of code changed in:
* eval.c (rb_obj_instance_eval): should no singleton classes for
true, false, and nil. [ruby-dev:28186]
6 lines of code changed in:
* enumerator.c (enumerator_each): return self if no block is
given. [yarv-dev:882]
8 lines of code changed in:
* string.c: fixed typo.
1 lines of code changed in:
* eval.c (DMETHOD_P): accessing wrong frame. [ruby-dev:28181]
* eval.c (proc_invoke): preserve FRAME_DMETH flag.
8 lines of code changed in:
* ext/zlib/zlib.c: supress warning on test/zlib. [ruby-dev:28323]
33 lines of code changed in:
* win32/win32.c (rb_w32_utime): drop read-only attribute before
changing file time.
10 lines of code changed in:
* win32/Makefile.sub (config.h): should define HAVE_LONG_LONG with
VC++8.
8 lines of code changed in:
* ChangeLog: typo.
1 lines of code changed in:
* 2006-02-14
3 lines of code changed in:
* time.c (search_time_t): support non 32bit time_t environments.
* win32/Makefile.sub (config.h): VC++8 have ``long long'' type.
* win32/Makefile.sub (config.h): VC++8's time_t is 64bit value.
28 lines of code changed in:
* eval.c (copy_node_scope): remove duplicated semicolons at end.
a patch from KIMURA Koichi <kimura.koichi at canon.co.jp>.
[ruby-dev:28332]
* eval.c (VIS_MODE): remove unnecessary argument.
[ruby-dev:28332]
* parse.y (parser_parse_string): mention "regexp" in a error
message. a patch from Mauricio Fernandez <mfp at acm.org>
[ruby-core:07340]
12 lines of code changed in:
* parse.y (parser_parse_string): mention "regexp" in a error
message. a patch from Mauricio Fernandez <mfp at acm.org>
[ruby-core:07340]
* eval.c (rb_f_autoload): check if ruby_cbase is nil (during
instance_eval for objects cannot have singleton classes,
e.g. fixnums and symbols). [ruby-dev:28178]
* gc.c (rb_gc_call_finalizer_at_exit): turn on during_gc while
invoking finalizers.
* gc.c (rb_gc_finalize_deferred): ditto.
* io.c (rb_write_error2): use fwrite(3) if rb_stderr is not
updated or is already freed. [ruby-dev:28313]
* eval.c (error_line): include the class name of a surrounding
method in error position description.
473 lines of code changed in:
merge Oniguruma 4.0.1
34 lines of code changed in:
* 2006-02-11
3 lines of code changed in:
add WIN32OLE.create_guid.
40 lines of code changed in:
* 2006-02-09
3 lines of code changed in:
* eval.c (rb_obj_instance_exec): fixed typo of rdoc.
1 lines of code changed in:
* 2006-02-07
3 lines of code changed in:
* ext/zlib/zlib.c: should not access ruby objects in finalizer.
[ruby-dev:28286]
51 lines of code changed in:
* file.c: commit miss?
0 lines of code changed in:
* file.c (cygwin_flock): save old errno.
4 lines of code changed in:
* file.c (rb_thread_flock): ERROR_NOT_LOCKED is not an error on Cygwin.
In such situation, flock() should return 0.
25 lines of code changed in:
* gc.c (gc_sweep): typo fix.
1 lines of code changed in:
* 2006-02-06
3 lines of code changed in:
* enum.c (enum_find_index): a new method Enumerable#find_index.
[ruby-talk:178495]
45 lines of code changed in:
test small structs.
16 lines of code changed in:
fix previous commit.
don't use FL_USER0 because FL_SINGLETON.
4 lines of code changed in:
* ruby.h (struct RStruct): embed 3 or less elements structs.
(RSTRUCT_LEN): defined for accessing struct members.
(RSTRUCT_PTR): ditto.
* struct.c: use RSTRUCT_LEN and RSTRUCT_PTR.
(struct_alloc): allocate small structs in embedded format.
(rb_struct_init_copy): ditto.
* gc.c (gc_mark_children): use RSTRUCT_LEN and RSTRUCT_PTR.
(obj_free): ditto.
* marshal.c (w_object): use RSTRUCT_LEN and RSTRUCT_PTR.
109 lines of code changed in:
* ChangeLog: update ML number.
1 lines of code changed in:
* numeric.c (fix_to_s): removed workaround for radix 2. Historically,
rb_fix2str can only handle radix 8, 10, 16. (Rev1.37) But for now,
it can handle radix 2..36. [ruby-Bugs#3438]
6 lines of code changed in:
* lib/net/http.rb (add_field, get_fields): keep 1.8.2 compatibility. This patch is contributed by Rob Pitt.
13 lines of code changed in:
* 2006-02-05
3 lines of code changed in:
* lib/mkmf.rb (create_makefile): Kernel#sub! was removed on HEAD.
5 lines of code changed in:
* lib/pstore.rb: should return default value if name is not found.
[ruby-core:7304]
* lib/pstore.rb: should raise PStore::Error if not in transaction.
10 lines of code changed in:
* eval.c: apply the FreeBSD getcontext/setcontext workaround
only before FreeBSD 7-CURRENT.
6 lines of code changed in:
* oniguruma.h: merge Oniguruma 4.0.0 [ruby-dev:28290]
469 lines of code changed in:
* win32/win32.c (LK_ERR): ERROR_NOT_LOCKED is not an error.
In such situation, flock() should return 0.
19 lines of code changed in:
* 2006-02-04
3 lines of code changed in:
* numeric.c (fix_to_s): (2**32).to_s(2) fails with exception where
sizeof(int) == 4 < sizeof(long). [ruby-core:7300]
I think the function name of rb_int2big is quite misleading.
This should be "rb_long2big".
9 lines of code changed in:
* ruby.h: fixed prototype.
* ext/syck/rubyext.c: defined symbol ID as global variable as others.
13 lines of code changed in:
* eval.c: unify ruby_class (for method definition) and ruby_cbase
(for constant reference).
* eval.c (rb_call0): use TMP_ALLOC() instead of allocating
a temporary array object.
* eval.c (eval): need not to protect $SAFE value.
[ruby-core:07177]
* error.c (Init_Exception): change NameError to direct subclass of
Exception so that default rescue do not handle it silently.
* struct.c (rb_struct_select): update RDoc description.
[ruby-core:7254]
* numeric.c (int_upto): return an enumerator if no block is
attached to the method.
* numeric.c (int_downto): ditto.
* numeric.c (int_dotimes): ditto.
* enum.c (enum_first): new method Enumerable#first to take first n
element from an enumerable.
* enum.c (enum_group_by): new method Enumerable#group_by that
groups enumerable values according to their block values.
652 lines of code changed in:
* ext/syck/syck.c (syck_move_tokens): should reset p->cursor or etc
even if skip == 0. This causes buffer overrun.
(ex: YAML.load('--- "..' + '\x82\xA0' * 511 + '"'))
6 lines of code changed in:
* 2006-02-03
3 lines of code changed in:
* ext/syck/emitter.c (syck_emitter_write): should not set '\0' on
emitter's marker. if marker points to the end of buffer, this is
buffer overrun. (ex: YAML.dump("." * 12288))
6 lines of code changed in:
* lib/rdoc/parsers/parse_rb.rb (RDoc::RubyParser#get_tk): added
support of :'string' style Symbol.
11 lines of code changed in:
* 2006-02-02
3 lines of code changed in:
* configure.in: The isinf is not regognized by autoconf
library guesser on solaris 10. [ruby-core:7138]
8 lines of code changed in:
* 2006-02-01
4 lines of code changed in:
* configure.in, hash.c (ruby_setenv): use setenv(3) and unsetenv(3)
where they are supported. modifing environ variable seems to
segfault solaris 10. [ruby-core:7276] [ruby-dev:28270]
* ruby.c (set_arg0): if use setenv(3), environ space cannot be used
for altering argv[0].
21 lines of code changed in: