summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-07-23* parse.y (rb_check_id): take care of attrset ID creatednobu
implicitly by local ID. [Bug #5084] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32635 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-23* parse.y (rb_check_id): conversion condition was inverse.nobu
[Bug #5084] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-22* 2011-07-23svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32632 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-22Fix r32622.naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32631 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-22fixed bug refkosaki
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32630 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-22* vm_insnhelper.c (vm_call_cfunc): added volatile for a workaroundkosaki
of cfp consistency error problem on OS X 10.7 (Lion). It's suspected llvm optimization bug. [Bug #5076] [ruby-dev:44185] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32628 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-22* lib/uri/generic.rb (WFKV_): unroll the loop of regexp.naruse
* lib/uri/generic.rb (URI.decode_www_form_component): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32622 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-22* object.c (rb_mod_{const,cvar}_defined, rb_obj_ivar_defined):nobu
avoid inadvertent symbol creation in reflection methods. based on a patch by Jeremy Evans at [ruby-core:38367]. [Feature #5072] * vm_method.c (rb_mod_method_defined) (rb_mod_{public,private,protected}_method_defined) (obj_respond_to): ditto. * parse.y (rb_check_id): new function returns already interned ID or 0. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32621 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-22* parse.y (rb_is_global_id, rb_is_attrset_id): add missingnobu
predicates. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-22* test/ruby/test_object.rb (TestObject#test_respond_to_missing):kazu
2nd argument of respond_to_missing? is not optional. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32619 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-22* parse.y (rb_enc_symname2_p): get rid of potential out-of-boundnobu
access. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32618 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-22* vm_method.c (obj_respond_to): fix missing argument.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32617 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-22* tool/rbinstall.rb (strip_file): accept an array of path names.nobu
* tool/rbinstall.rb (install): allow multiple path names. [ruby-core:38379] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32616 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-22 * lib/net/http.rb: Net::HTTP#finish is used to manually closedrbrain
connections. [Ruby 1.9 - Bug #5045] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32614 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-22 * ext/readline/readline.c: Add examples for Readline.completion_proc=.drbrain
[Ruby 1.9 - Bug #5057] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32612 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-22* ext/openssl/ossl_hmac.c: Revert checking return type ofemboss
HMAC_Init_ex as it is not compatible with OpenSSL < 1.0.0. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32609 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-22 * tool/rbinstall.rb (default gems): Install executables into the fakedrbrain
gem dir for Gem.bin_path. [#4485] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32608 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-22* ext/openssl/ossl_digest.c: Check return value of EVP_DigestInit_ex.emboss
* ext/openssl/ossl_hmac.c: Check return value of HMAC_Init_ex. Thanks, Jared Jennings, for the patch. [ Ruby 1.9 - Bug #4944 ] [ruby-core:37670] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32606 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-22* ext/openssl/ossl_engine.c: Avoid double free of ENGINE reference.emboss
* test/openssl/test_engine.rb: Add a test for it. Thanks to Ippei Obayashi for providing the patch. [ Ruby 1.9 - Bug #5062 ] [ruby-dev:44173] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32604 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-21* 2011-07-22svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32601 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-21* lib/csv.rb: Do not modify CSV.generate's argument [ruby-core:38356]marcandre
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32600 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-21* ext/socket/ancdata.c (discard_cmsg): workaround for MacOS X Lion.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32598 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-21* thread.c (set_trace_func, thread_set_trace_func_m): reset tracingmame
state when set_trace_func hook is removed. This is workaround patch to force to reset tracing state that is broken by continuation call. a patch from James M. Lawrence. [Feature #4347] [ruby-core:34998] * test/ruby/test_continuation.rb (class TestContinuation): add a test for above. a patch from James M. Lawrence. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32597 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-21* node.c (dump_node): add today's knowledge. "init arguments (m)" andmame
"init arguments (p)" of compile.c indicates a Ruby code that evaluates multiple assignments that is in method or block parameters: def foo((m1,m2), (m3,m4), *r, (p1,p2), (p3,p4)); end The former (init arguments (m)) evaluates the multiple assignments before rest argument, that are (m1,m2) and (m3,m4). The letter (init arguments (p)) does ones after rest argument, that are (p1,p2) and (p3, p4). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32596 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-21* enum.c (enum_inject): remove empty line to notify rdocnaruse
Enumerable#reduce is alias. patched by milki@github. https://github.com/ruby/ruby/pull/26 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32595 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-21* array.c (rb_ary_delete_at_m): use simple array literal in rdoc.naruse
patched by samuel tonini. [ruby-core:38310] [Bug #5066] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32594 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-21* lib/webrick/httprequest.rb (WEBrick::HTTPRequest#each):naruse
Allow HTTP/0.9 request which doesn't has any header or body. patched by Felix Jodoin. [ruby-core:38040] [Bug #5022] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32593 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-20Add test for r32586.naruse
FreeBSD (at least 7.2 to 7.2) calls nsdispatch(3) when it calls getaddrinfo(3). And nsdispatch(3) doesn't call dlerror(3) even if it calls _nss_cache_cycle_prevention_function with dlsym(3). So our DL::Handle#sym must call dlerror(3) before call dlsym. In general uses of dlerror(3) should call it before use it. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32590 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-20* 2011-07-21svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32589 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-20* io.c (rb_update_max_fd): remove parentheses. they are not in macro.kazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32588 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-20* include/ruby/intern.h (rb_update_max_fd): declaration moved fromakr
internal.h. * file.c: ditto. * io.c: call rb_update_max_fd for each new fds. * process.c: ditto. * random.c: ditto. * ruby.c: ditto. * ext/io/console/console.c: ditto. * ext/openssl/ossl_bio.c: ditto. * ext/pty/pty.c: ditto. * ext/socket/init.c: ditto. * ext/socket/socket.c: ditto. * ext/socket/ancdata.c: ditto. * ext/socket/unixsocket.c: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32587 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-20* ext/dl/handle.c (dlhandle_sym): clear previous error with dlerror()naruse
before calling dlsym(). [ruby-dev:44091] [Bug #5021] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32586 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-19* NEWS: mention Kernel#warn. [ruby-core:38119] [Feature #5029]kazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32585 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-19* 2011-07-20svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32584 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-19fix typokazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32583 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-19* cont.c (cont_save_thread): fix missing semicolon.takano32
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32582 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-19* io.c (UPDATE_MAXFD): removed.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32581 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-19* 2011-07-19svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32580 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-19* io.c (rb_update_max_fd): new function.akr
* internal.h (rb_update_max_fd): declare rb_update_max_fd. * thread_pthread.c (rb_thread_create_timer_thread): update max fd when timer thread pipe is created. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32579 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-18* ext/psych/lib/psych.rb: define a new BadAlias error class.tenderlove
* ext/psych/lib/psych/visitors/to_ruby.rb: raise an exception when deserializing an alias that does not exist. * test/psych/test_merge_keys.rb: corresponding test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32578 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-17* 2011-07-18svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32577 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-17* ext/curses/curses.c: added the new class Curses::Pad, whichshugo
supports scrolling. patch by Eric Hodel. [Feature #4896] [ruby-core:37206] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32576 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-17delete garbage file.nagachika
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32575 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-17* error.c (rb_check_trusted): new function to check an object isnobu
trusted. * struct.c (rb_struct_modify), time.c (time_modify): check by the above function to show proper class names. [Bug #5036] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32569 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-17* error.c (rb_warn_m): accept multiple args in like puts. rdocnobu
patch by Erik Price at [ruby-core:38119]. [Feature #5029] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32568 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-17* test/ruby/test_module.rb (TestModule#test_method_{undefined,removed}):nobu
tests for method_undefined and method_removed. Bug#5015 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32567 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-16* 2011-07-17svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32564 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-16* test/openssl/test_ssl_session.rb: add PEM SSL session without TLSemboss
extensions. Use this as the default for the tests to ensure compatibility with OpenSSL 0.9.7. [ Ruby 1.9 - Bug #4961 ] [ruby-core:37726] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32563 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-16* configure.in (RUBY_UNIVERSAL_ARCH): restore arch flag.nobu
Bug #4977 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32562 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-15* lib/uri/common.rb (module): Remove optional parser argument to Kernel#URImarcandre
[ruby-core:38061] * lib/uri/generic.rb (module): ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32559 b2dd03c8-39d4-4d8f-98ff-823fe69b080e