aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * lib/un.rb (setup): fix of word splitting. [ruby-dev:41723]nobu2010-06-242-2/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28425 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2010-06-25svn2010-06-241-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28424 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/ruby.h (static inline rb_gc_guarded_ptr): preventtarui2010-06-242-0/+11
| | | | | | | RB_GC_GUARD_PTR being removed by optimization. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28423 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* refine an assertion message.akr2010-06-241-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28422 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add an assertion.akr2010-06-241-0/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28421 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/raddrinfo.c (ruby_getaddrinfo__darwin): the workaroundakr2010-06-232-20/+26
| | | | | | | for Mac OS X moved from rsock_getaddrinfo. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28414 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * marshal.c (struct dump_arg, struct load_arg): merge taint andnobu2010-06-232-32/+27
| | | | | | | | | | | | untrust flags into infection as bit flags. * marshal.c (w_nbyte, clear_dump_arg): infect the buffer as soon as appending, because it might have been finalized already at exit. based on a patch by Tomoyuki Chikanaga at [ruby-dev:41672]. [Bug #3463] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28413 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2010-06-24svn2010-06-231-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28411 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/raddrinfo.c (str_is_number): renamed from str_isnumber toakr2010-06-232-4/+9
| | | | | | | avoid confusion to str_isnumber in ext/socket/getaddrinfo.c. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28410 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * NEWS (stringio): new methods. [ruby-dev:41687] [Bug #3469]mame2010-06-232-0/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28409 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/raddrinfo.c: don't use __P.akr2010-06-232-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28408 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/win32ole/win32ole.c (reg_get_typelib_file_path): try win64suke2010-06-232-3/+13
| | | | | | | | registry entry at first. [ruby-dev:41674] [Bug #3464] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28403 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add a comment.akr2010-06-231-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28402 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/raddrinfo.c (ruby_getaddrinfo__darwin): new workaround forakr2010-06-233-0/+42
| | | | | | | | 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
* * ext/pty: moved documents and samples to the appropriate places.nobu2010-06-237-0/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28400 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * NEWS (ptr): new method and deprecated methods. [ruby-dev:41681]nobu2010-06-235-32/+59
| | | | | | | | | * 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
* Clean warnings: unused variables.naruse2010-06-239-17/+12
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28398 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_regexp.rb (test_dup_warn): read in UTF-8nobu2010-06-233-3/+16
| | | | | | | | | 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
* * ChangeLog: a patch by Eric Wong at [ruby-core:30818].nobu2010-06-221-1/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28396 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (fchown): need to check. [ruby-core:30818]nobu2010-06-222-2/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28395 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (argf_next_argv): check for setting owner/group.nobu2010-06-223-4/+18
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28394 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * time.c (num_exact): fix for mathn. [ruby-dev:41599]akr2010-06-222-17/+36
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28389 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/lib/socket.rb: suppress warnings.akr2010-06-222-2/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28388 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/optparse/test_summary.rb: fixed superclass so that it runnobu2010-06-222-4/+7
| | | | | | | solely. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28387 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (shadowing_lvar_gen): should add lvar to vars andnobu2010-06-222-0/+9
| | | | | | | used. [ruby-dev:41666] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28386 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/fileutils.rb: Fix warningmarcandre2010-06-221-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28382 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c: rdoc fix for ARGF.lineno; cf. [ruby-core:29048]marcandre2010-06-221-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28381 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * class.c: rdoc fix [ruby-core:30449]marcandre2010-06-221-3/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28379 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2010-06-22svn2010-06-221-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28377 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/delegate.rb: Forward #trust, #untrust, #taint and #untaintmarcandre2010-06-222-4/+42
| | | | | | 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-21svn2010-06-211-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28369 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval_error.c (error_print): clear raised_flag while error-printingwanabe2010-06-213-1/+29
| | | | | | | | | 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
* * id.c (Init_id): add underscore name.nobu2010-06-204-6/+12
| | | | | | | * 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
* * parse.y (warn_unused_var): use same format as shadowing localnobu2010-06-202-2/+5
| | | | | | | variable. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28365 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (shadowing_lvar_gen): get rid of adding extra name fornobu2010-06-204-9/+76
| | | | | | | shadowing local variable. [ruby-dev:41628] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28364 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb.rb: remove double exclamation marks. a patch from Diegomatz2010-06-192-4/+9
| | | | | | Viola. [ruby-core:30589] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28363 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2010-06-19svn2010-06-181-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28362 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/psych/lib/psych/visitors/to_ruby.rb (resolve_klass): fix thetenderlove2010-06-183-4/+19
| | | | | | | | | 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
* * gc.c (gc_lazy_sweep): clean a warning.naruse2010-06-184-4/+18
| | | | | | | | | | | | | | "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
* * ruby.c: add prototype of rb_realpath_internal.naruse2010-06-183-0/+8
| | | | | | * load.c: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28358 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 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