aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * test/bigdecimal/test_bigdecimal.rb (TestBigDecimal#test_hash):kazu2008-12-172-2/+7
| | | | | | | shut up warning. see [ruby-dev:37437] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20805 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_hash): gets rid of collisions between differentnobu2008-12-172-1/+10
| | | | | | | encoding strings. [ruby-core:20526] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20804 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2008-12-17svn2008-12-171-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20803 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_metaclass.rb: removed codes for my debugging.yugui2008-12-172-2/+5
| | | | | | sorry. [ruby-dev:37470] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20802 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bin/testrb: set $0.usa2008-12-162-0/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20801 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/minitest/unit.rb (MiniTest::Assertions#assert_instance_of):matz2008-12-162-1/+4
| | | | | | typo fixed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20800 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit.rb (Test::Unit.setup_argv): sorry, fixed wrong commit.usa2008-12-162-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20799 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/minitest/unit.rb (MiniTest::Assertions#assert_instance_of):matz2008-12-162-1/+6
| | | | | | should assert by instance_of?, not ===. [ruby-dev:37458] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20798 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/bigdecimal/bigdecimal.c (VpToString): reverted modificationmatz2008-12-162-7/+21
| | | | | | | | | (that caused a bug) in r20359. [ruby-dev:37370] * ext/bigdecimal/bigdecimal.c (BigDecimal_limit): comment update. [ruby-dev:37465] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20797 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit.rb (Test::Unit.setup_argv): ALT_SEPARATOR support.usa2008-12-162-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20796 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/pty/pty.c (getDevice): add nomesg argument.akr2008-12-163-80/+90
| | | | | | | | | | | (get_device_once): add nomesg argument. chmod slave tty to 0600 if nomesg. more error tests. (no_mesg): new function. (pty_open): make slave tty's mode 0600. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20795 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/date/format.rb (_parse): m17n compliant.tadf2008-12-162-40/+44
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20794 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/pty/extconf.rb: check posix_openpt.akr2008-12-164-6/+68
| | | | | | | | * ext/pty/pty.c (get_device_once): use posix_openpt if available. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20793 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * re.c: use strlcpy for error messages.akr2008-12-162-26/+31
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20792 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (stmt): returns dispatched result.nobu2008-12-162-2/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20782 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (primary): also in ripper, saves in_def before restoring.nobu2008-12-162-16/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20781 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Revert the previous change. [ruby-dev:37455]knu2008-12-162-10/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20780 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* typoknu2008-12-161-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20779 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (complex.$(OBJEXT), rational.$(OBJEXT)): Properly addknu2008-12-162-2/+10
| | | | | | | | dependencies to version.h and revision.h to fix parallel build with make -j#. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20778 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (ac_cv_func_daemon): daemon(3) is deprecated on Mac OSnobu2008-12-162-1/+5
| | | | | | | X 10.5 or later. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20774 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (ac_cv_header_ucontext_h): do not use ucontext.h on Macnobu2008-12-162-1/+6
| | | | | | | OS X 10.5 or later. merged from MacPorts. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20773 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dln.c (dln_load): ditto.usa2008-12-162-2/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20772 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (set_arg0): use strlcpy() instead of strncpy().usa2008-12-163-3/+8
| | | | | | | | * load.c (rb_feature_p): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20771 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (block_call): block should not be given to yield.matz2008-12-162-1/+11
| | | | | | [ruby-core:20583] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20770 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Removed json/runner.rb with permission from florian frank. it was serving no ↵ryan2008-12-151-25/+0
| | | | | | purpose git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20769 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2008-12-16svn2008-12-151-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20768 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add tests.akr2008-12-151-0/+60
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20767 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (sleep_timeval): cast tv_usec to long to shut upmatz2008-12-152-2/+7
| | | | | | warnings on OSX. [ruby-dev:37449] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20766 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (process_options): revive global sub, gsub, chop, chompmatz2008-12-152-0/+104
| | | | | | | only when auto looping options (-p/-n) is specified. [ruby-core:20570] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20765 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/pty/pty.c (pty_open): set FMODE_SYNC and FMODE_DUPLEX.akr2008-12-152-2/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20763 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/pty/pty.c (pty_open): new method PTY.open.akr2008-12-152-0/+66
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20761 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/pty/pty.c (get_device_once): use DEVICELEN instead ofakr2008-12-153-7/+8
| | | | | | | | sizeof SlaveName. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20759 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/pty/pty.c (chfunc): make it static.akr2008-12-152-1/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20758 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/pty/pty.c (child_info): add slavename.akr2008-12-152-1/+9
| | | | | | | | (chfunc): use slavename. (establishShell): set slavename. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20757 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (EXTMK_ARGS): shouldn't use ``\"'' because cmd.exe eatusa2008-12-152-1/+6
| | | | | | | | ''\'' in such quotes. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20756 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* properties.nobu2008-12-150-0/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20755 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (config.h): define CANONICALIZATION_FOR_MATHNusa2008-12-152-0/+6
| | | | | | | | to follow r20683. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20754 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rake/packagetask.rb (Rake::PackageTask): small documentmatz2008-12-152-3/+6
| | | | | | update from okkez in [ruby-dev:37443] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20751 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ChangeLog reformattedmatz2008-12-151-39/+20
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20750 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: fixed typo.nobu2008-12-151-2/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20749 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_insnhelper.c (vm_callee_setup_arg_complex): uses cfp fromnobu2008-12-153-1/+25
| | | | | | | blockptr instead of the current cfp. [ruby-core:20544] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20748 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_metaclass.rb: new test case for metaclass hierarchy.yugui2008-12-153-20/+232
| | | | | | | | | | | | | | | | | | | | * class.c (make_metametaclass): new function. extracted from rb_make_metaclass. * class.c (rb_make_metaclass): uses make_metametaclass when called for a metaclass. * class.c (rb_singleton_class): creates a meta^(n+2)-class in addition to a meta^(n+1)-class when called for a meta^(n)-class. This is because the returned meta^(n+1) class must acts as an instance of Class, metaclass of Class, ..., meta^(n+1)-class of Class, Module, metaclass of Module, ..., meta^(n+1)-class of Module, Object, metaclass of Object, ..., meta^(n+2)-class of Object, BasicObject, metaclass of BasicObject, ..., meta^(n+2)-class of and BasicObject even when Class, Module, Object or BasicObject has not have its meta^(i)-class yet. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20747 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * id.h, template/id.h.tmpl (ruby_method_ids): sees YYTOKENTYPE too.nobu2008-12-153-2/+7
| | | | | | | [ruby-dev:37436] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20746 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (EXTMK_ARGS): needs MINIRUBY for cross-compile.nobu2008-12-152-1/+7
| | | | | | | [ruby-core:20131] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20745 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_eval.c (vm_call0): NODE_ZSUPER supported. [ruby-core:20480]nobu2008-12-152-1/+14
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20744 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_eval.c (vm_call_super): uses method_missing().nobu2008-12-153-38/+38
| | | | | | | | | | | | | | | * vm_eval.c (method_missing): get rid of too large alloca. * vm_eval.c (rb_call0, method_missing): uses idMethodMissing. * vm_method.c (rb_add_method, remove_method, rb_undef): uses id__send__. * vm_method.c (Init_eval_method): removed IDs which are defined as immediate values. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20743 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm.c (vm_backtrace): defaults to script name for C functions.nobu2008-12-152-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20742 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (rubylib_mangled_path, rubylib_mangled_path2): cannot usenobu2008-12-152-12/+38
| | | | | | | | | | | | | locale encoding before load path is initialized * ruby.c (ruby_init_loadpath_safe): ditto. * ruby.c (process_options): loads encdb so that encodings can be loaded, then associates script name and load paths with the locale encoding. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (btest-ruby): use RUNRUBY instead of MINIRUBY to load thenobu2008-12-153-3/+8
| | | | | | | shared library. [Bug #849] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20740 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (bigmul1_karatsuba): remove temporal bignum.mame2008-12-142-54/+38
| | | | | | | | | | | * bignum.c (bigsqr): call bigmul0(x, x) because it is faster than the original bigsqr at this point. * bignum.c (rb_big_pow): a value returned from bigsqr is already truncated. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20739 b2dd03c8-39d4-4d8f-98ff-823fe69b080e