summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-06-23add a comment.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28402 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-23* ext/socket/raddrinfo.c (ruby_getaddrinfo__darwin): new workaround forakr
getaddrinfo problem on Mac OS X Snow Leopard. [ruby-core:29427] patch by Wataru Kimura. [ruby-core:30842] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28401 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-23* ext/pty: moved documents and samples to the appropriate places.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28400 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-23* NEWS (ptr): new method and deprecated methods. [ruby-dev:41681]nobu
* ext/pty/{README,README.ja}: ditto. * ext/pty/pty.c (pty_check): add rdoc. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28399 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-23Clean warnings: unused variables.naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28398 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-23* test/ruby/test_regexp.rb (test_dup_warn): read in UTF-8nobu
encoding regardless environment. * test/ruby/envutil.rb (invoke_ruby): add encoding option. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28397 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-22* ChangeLog: a patch by Eric Wong at [ruby-core:30818].nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28396 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-22* configure.in (fchown): need to check. [ruby-core:30818]nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28395 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-22* io.c (argf_next_argv): check for setting owner/group.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28394 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-22* time.c (num_exact): fix for mathn. [ruby-dev:41599]akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28389 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-22* ext/socket/lib/socket.rb: suppress warnings.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28388 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-22* test/optparse/test_summary.rb: fixed superclass so that it runnobu
solely. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28387 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-22* parse.y (shadowing_lvar_gen): should add lvar to vars andnobu
used. [ruby-dev:41666] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28386 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-22* lib/fileutils.rb: Fix warningmarcandre
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28382 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-22* io.c: rdoc fix for ARGF.lineno; cf. [ruby-core:29048]marcandre
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28381 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-22* class.c: rdoc fix [ruby-core:30449]marcandre
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28379 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-22* 2010-06-22svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28377 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-22* lib/delegate.rb: Forward #trust, #untrust, #taint and #untaintmarcandre
to both the delegator and __getobj__ [ruby-core:26138] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28376 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-21* 2010-06-21svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28369 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-21* eval_error.c (error_print): clear raised_flag while error-printingwanabe
to avoid hang. [ruby-core:27608] * test/ruby/test_beginendblock.rb (test_endblock_raise): add test for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28368 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-20* id.c (Init_id): add underscore name.nobu
* parse.y (warn_unused_var): ignore underscore name. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28366 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-20* parse.y (warn_unused_var): use same format as shadowing localnobu
variable. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28365 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-20* parse.y (shadowing_lvar_gen): get rid of adding extra name fornobu
shadowing local variable. [ruby-dev:41628] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28364 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-19* lib/irb.rb: remove double exclamation marks. a patch from Diegomatz
Viola. [ruby-core:30589] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28363 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-18* 2010-06-19svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28362 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-18* ext/psych/lib/psych/visitors/to_ruby.rb (resolve_klass): fix thetenderlove
exception message when attempting to load an unknown class. Thanks nobu! [ruby-dev:41399] * test/psych/test_psych.rb: test for the exception message git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28361 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-18* gc.c (gc_lazy_sweep): clean a warning.naruse
"suggest parentheses around assignment used as truth value" * transcode_data.h (getGB4bt1): clean a warning. "suggest parentheses around arithmetic in operand of |" * transcode_data.h (getGB4bt3): ditto. * vm.c (thread_free): clean a warning. "format 'p' expects type 'void *', but argument 3 has type 'struct rb_mutex_struct *'" git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28359 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-18* ruby.c: add prototype of rb_realpath_internal.naruse
* load.c: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28358 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-17* object.c: Object#public_methods, private_methods, etc. returnsmame
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-17* 2010-06-18svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28355 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-17* lib/webrick/httpservlet/filehandler.rbmame
(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
2010-06-17* load.c (rb_load_internal): remove call to rb_realpath_internalmame
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
2010-06-17* file.c (rb_str_encode_ospath): when the encoding of the parameterusa
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
2010-06-17typo and spaceskazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28344 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-17* 2010-06-17svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28343 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-17Revert "* parse.y (warn_unused_var): warn unused variables."naruse
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
2010-06-16* parse.y: ripper needs warn_unused_var(), too.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28340 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-16* parse.y (warn_unused_var): warn unused variables.nobu
[ruby-dev:41620] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28339 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-16* test/ruby/test_{regexp,rubyoptions}.rb: trivial change.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28338 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-16* error.c (rb_bug): existance of _set_abort_behavior() depends onusa
runtime version, not compiler version. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28333 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-15* ext/fiddle/extconf.rb: check ffi.h even when pkg-config succeeded.mame
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-15* 2010-06-16svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28331 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-15* test/ruby/test_io.rb (safe_4): does not use Timeout becausemame
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
2010-06-15* ext/fiddle/extconf.rb: De Morgan's laws.eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28329 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-15Refix test_regexp.naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28328 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-15* ext/fiddle/extconf.rb: use pkg_config to find ffi.h.eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28327 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-15Refix for test_dup_warn.naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28326 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-15* Makefile.in (clean-enc): fix typo.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28323 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-14* Makefile.in, common.mk (clean-ext, clean-enc): clean up cleaningnobu
targets. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28322 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-14* test/socket/test_socket.rb (test_udp_server): rescue Errno::ENOSYSakr
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