aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * object.c: Object#public_methods, private_methods, etc. returnsmame2010-06-173-108/+107
| | | | | | | | | | | | method ids that belong to the class or the singleton class(es) of the object. [ruby-dev:41613] * class.c: on the other hand, Module#public_instance_methods, etc. returns method ids that belong to the module itself (even if the module is singleton, it does not return method ids of super class(es); see [ruby-core:28837]). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28357 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2010-06-18svn2010-06-171-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28355 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/httpservlet/filehandler.rbmame2010-06-172-2/+12
| | | | | | | (prevent_directory_traversal): apply filesystem encoding to path only during calling File.expand_path. [ruby-dev:41423] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28354 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * load.c (rb_load_internal): remove call to rb_realpath_internalmame2010-06-176-9/+24
| | | | | | | | | | | | | | within rb_load_internal which caused big performance degradation. Instead, call rb_realpath_internal in the caller of rb_load_internal. [ruby-dev:41502] [ruby-dev:41610] * vm.c (rb_vm_call_cfunc): ditto. * eval_intern.h (rb_vm_call_cfunc): ditto. * ruby.c (process_options): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28351 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (rb_str_encode_ospath): when the encoding of the parameterusa2010-06-173-7/+33
| | | | | | | | | | | | | | | | | is ASCII-8BIT, should recognize as filesystem encoding, and convert to UTF-8 on Windows. * file.c (realpath_rec): should convert to ospath encoding before calling lstat(). * file.c (rb_realpath_internal): resolved string should take over the encoding of base string. * transcode.c (rb_str_encode): should return new string always. fixed #3444. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28349 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* typo and spaceskazu2010-06-171-4/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28344 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2010-06-17svn2010-06-171-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28343 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Revert "* parse.y (warn_unused_var): warn unused variables."naruse2010-06-173-69/+6
| | | | | | | This reverts commit r28339 and r28340 because they prevents test-all on boron. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28342 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y: ripper needs warn_unused_var(), too.usa2010-06-162-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28340 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (warn_unused_var): warn unused variables.nobu2010-06-163-6/+65
| | | | | | [ruby-dev:41620] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28339 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_{regexp,rubyoptions}.rb: trivial change.nobu2010-06-162-5/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28338 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * error.c (rb_bug): existance of _set_abort_behavior() depends onusa2010-06-162-1/+6
| | | | | | | runtime version, not compiler version. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28333 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/fiddle/extconf.rb: check ffi.h even when pkg-config succeeded.mame2010-06-152-1/+9
| | | | | | | | On Debian/lenny, which is a "supported" platform, ffi.h is installed in /usr/include/i486-linux-gnu/. This causes build error when using gcc whose target is not i486-linux-gnu. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28332 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2010-06-16svn2010-06-151-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28331 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_io.rb (safe_4): does not use Timeout becausemame2010-06-152-15/+28
| | | | | | | | | | | Timeout.timeout uses Thread#kill which raises SecurityError when $SAFE == 4. based on a patch from Tomoyuki Chikanaga. [ruby-dev:41484] * test/ruby/test_io.rb (test_print_separators): use pipe (test helper method) instead of IO.pipe. [ruby-dev:41484] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28330 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/fiddle/extconf.rb: De Morgan's laws.eban2010-06-152-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28329 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Refix test_regexp.naruse2010-06-151-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28328 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/fiddle/extconf.rb: use pkg_config to find ffi.h.eban2010-06-152-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28327 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Refix for test_dup_warn.naruse2010-06-151-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28326 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in (clean-enc): fix typo.nobu2010-06-151-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28323 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in, common.mk (clean-ext, clean-enc): clean up cleaningnobu2010-06-145-8/+28
| | | | | | targets. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28322 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/socket/test_socket.rb (test_udp_server): rescue Errno::ENOSYSakr2010-06-143-2/+11
| | | | | | | | | | | | for Windows. * test/socket/test_nonblock.rb (test_sendmsg_nonblock_error): ditto. [ruby-dev:41597] reported by Masaya Tarui. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28320 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix a typo.seki2010-06-141-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28319 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* raise DRbConnError instead of ArgumentError if too many arguments.seki2010-06-144-3/+12
| | | | | | | [ruby-dev:41481] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28316 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/fiddle/closure.c (dealloc): refix workaround r28300.naruse2010-06-132-7/+14
| | | | | | | | don't use ffi_closure_alloc, ffi_prep_closure_loc and ffi_closure_free on MACOSX and __linux__. [ruby-dev:41483] [ruby-dev:41214] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28315 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2010-06-14svn2010-06-131-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28314 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* retry to fix test.naruse2010-06-131-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28313 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_rubyoptions.rb: add a simple test for __END__ andmame2010-06-132-0/+18
| | | | | | DATA. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28312 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* try to fix test for boron.naruse2010-06-131-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28311 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/delegate.rb: Delegate !=, eql? and hash [ruby-core:26139]marcandre2010-06-122-2/+18
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28309 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/trans/utf8_mac.trans (buf_apply): fix for patternsnaruse2010-06-124-10/+17
| | | | | | whose result is 2 bytes. [ruby-core:30751] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28307 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * time.c (rb_localtime_r2): fix mixed declarations and code.naruse2010-06-122-1/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28305 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/dl/lib/dl.rb: don't require when already loaded.naruse2010-06-122-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28302 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2010-06-13svn2010-06-121-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28301 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/fiddle/closure.c (dealloc): workaround fix for libffi'snaruse2010-06-122-0/+9
| | | | | | ffi_closure_free. [ruby-dev:41483] [ruby-dev:41214] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28300 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_module.rb (test_attr_inherited_visibility): see ↵nobu2010-06-121-0/+13
| | | | | | [ruby-core:30638]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_module.rb (test_uninitialized_toplevel_constant): test for ↵nobu2010-06-121-0/+6
| | | | | | [ruby-dev:40951]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28298 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_method.rb (test_public_methods_with_extended): test for ↵nobu2010-06-121-0/+10
| | | | | | [ruby-dev:41553]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28297 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_f_syscall): should check argument string taint beforematz2010-06-122-1/+6
| | | | | | invoking system calls. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28296 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * variable.c (uninitialized_constant): process throughmatz2010-06-122-1/+7
| | | | | | | rb_class_real() to remove "Object::" from error message. [ruby-dev:40951] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28293 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/extconf.rb: __VA_ARGS__ is already checked in configure.nobu2010-06-111-10/+4
| | | | | | | * ext/openssl/extconf.rb: use try_static_assert for version check. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28292 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/open-uri/test_open-uri.rb (test_progress, test_progress_chunked):tarui2010-06-111-1/+1
| | | | | | | | fix typo. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28290 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/open-uri/test_open-uri.rb (test_progress, test_progress_chunked):tarui2010-06-111-4/+8
| | | | | | | | 'size' is a accumulated transferred size in bytes. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28288 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add sleep.akr2010-06-111-0/+11
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28287 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: add an acknowledge.mame2010-06-111-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28286 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2010-06-12svn2010-06-111-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28285 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/dbm/extconf.rb: accept Berkley DB version 3, 4 and 5.mame2010-06-112-3/+12
| | | | | | [ruby-dev:41531] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * time.c (init_leap_second_info): check the result ofakr2010-06-112-1/+7
| | | | | | | gmtime_with_leapsecond. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28283 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_ssl.c (ossl_sslctx_get_ciphers):naruse2010-06-112-2/+8
| | | | | | | use sk_SSL_CIPHER_num and sk_SSL_CIPHER_value instead of cast. patched by Takahiro Kambe [ruby-dev:41530] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28282 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/missing.h (isnan): fix compilation error on OpenBSD.akr2010-06-112-1/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28280 b2dd03c8-39d4-4d8f-98ff-823fe69b080e