summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * common.mk (btest-ruby): use RUNRUBY instead of MINIRUBY to load thenobu2008-12-153-3/+8
| | | | | | | shared library. [Bug #849] git-svn-id: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/ruby/trunk@20739 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (bigmul1_karatsuba): fix comment and refactoring.mame2008-12-142-4/+8
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20738 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (bigmul1_balance, bigmul1_karatsuba): remove allmame2008-12-142-10/+5
| | | | | | | rb_gc_force_recycle which causes memory leak. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20737 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: fix Japanese date. Sorry.mame2008-12-141-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20736 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * spec/README: directory structrue changedyugui2008-12-142-18/+28
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20735 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: add a reference.mame2008-12-141-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20734 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (rb_big_mul): faster multiplication by Karatsuba method andmame2008-12-144-68/+366
| | | | | | | | | | | twice faster square than normal multiplication. * random.c (rb_rand_internal): used by Bignum#*. * test/ruby/test_bignum.rb: add some tests for above. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20733 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* new file.akr2008-12-141-0/+46
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20732 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* reverts r20713yugui2008-12-142-6/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20731 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* properties.nobu2008-12-130-0/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20728 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2008-12-14svn2008-12-131-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20727 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * process.c (forked_child): new variable.akr2008-12-133-62/+100
| | | | | | | | | | | | | | | | (before_exec): don't call rb_thread_stop_timer_thread if forked_child. (after_exec): reset forked_child after rb_thread_start_timer_thread. (rb_fork): set forked_child just after fork in child. * ext/pty/pty.c (chfunc): extracted from establishShell. (establishShell): use rb_fork. [ruby-dev:37418] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20726 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (help): describes more targets.yugui2008-12-132-8/+24
| | | | | | | based on a patch by Michael Klishin. [ruby-core:20523]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20725 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (sym_printable): wrong condition for string iteration.matz2008-12-132-4/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20724 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (sym_inspect): quote if symbol contains non-printablematz2008-12-132-1/+18
| | | | | | characters. [ruby-dev:37398] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20723 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (sym_equal): remove documentation error "Otherwise,matz2008-12-132-2/+6
| | | | | | compares them as strings". [ruby-dev:37398] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20722 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding.c (default_external): endless recursion duringyugui2008-12-132-1/+7
| | | | | | | | loading a locale encoding on some locale. fixed by Nobuyuki Nakada. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20721 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (process_options): fixed default_internal is nil.kouji2008-12-132-1/+6
| | | | | | | (closes #862) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20720 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/enc/test_utf16.rb: feature changed in r20626.yugui2008-12-132-1/+6
| | | | | | | follows it. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20719 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_m17n_comb.rb: feature changed in r20626.yugui2008-12-132-3/+12
| | | | | | | follows it. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20718 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * complex.c: use rb_usascii_str_new2 instead of rb_str_new2.tadf2008-12-133-11/+17
| | | | | | | | * rational.c: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20715 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_m17n.rb: feature changed in r20626.yugui2008-12-132-11/+16
| | | | | | follows it. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20714 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/minitest/test.rb (MinTest::Unit#location): yugui2008-12-132-2/+12
| | | | | | | skips user-defined assertions as MiniTest's. e.g. for test/ruby/test_m17n.rb. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20713 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Imported minitest 1.3.2 r4503.ryan2008-12-134-9/+22
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20686 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Numeric#scalar? has been renamed.tadf2008-12-131-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20685 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* must be typos.tadf2008-12-121-5/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20684 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * complex.c (nucomp_canonicalization): renamed.tadf2008-12-126-24/+29
| | | | | | | | | | | | | | * ext/math/complex.c: followed the above change. * rational.c (nurat_canonicalization): renamed. * ext/math/rational.c: followed the above change. * configure.in: defines a new macro. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20683 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: commit miss (r20680).kouji2008-12-121-0/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20682 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2008-12-13svn2008-12-121-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20681 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/readline/readline.ckouji2008-12-122-10/+15
| | | | | | | | (readline_s_get_completion_append_character): uses locale encoding but not ASCII-8BIT. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20680 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * complex.c, rational.c: do not use RUBY_VERSION_CODE.tadf2008-12-123-10/+12
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20667 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/readline/readline.c: r20662 reverted.kouji2008-12-122-10/+19
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20666 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding.c (rb_enc_set_default_external): default_internal can beyugui2008-12-122-1/+17
| | | | | | | | | | nil, but default_external cannot. * encoding.c (rb_set_default_internal): adds rdoc. * encoding.c (enc_find): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20665 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (run, runruby, parse, gdb, gdb-ruby): you can also runyugui2008-12-122-5/+12
| | | | | | other scripts than $(srcdir)/test.rb. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20664 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/readline/readline.c (readline_readline): changed the messagekouji2008-12-122-1/+7
| | | | | | | | of IOError to 'closed stdin' from 'stdin closed' if stdin was closed. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20663 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/readline/readline.c: used the ExportStringValue macrokouji2008-12-122-15/+16
| | | | | | | | instead of the OutputStringValue macro. removed the OutputStringValue macro. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20662 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* - Remove doc/NEWS when we have doc/NEWS-1.9.1.knu2008-12-122-177/+51
| | | | | | | - Add NEWS for keeping changes since 1.9.1. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20661 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add historical NEWS files for the record.knu2008-12-122-0/+839
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20659 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (yycompile0): ruby_eval_tree_begin is always 0 whennobu2008-12-122-10/+7
| | | | | | | ruby_eval_tree is 0. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20657 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding.c (enc_get_default_encoding): removed.yugui2008-12-124-17/+42
| | | | | | | | | | | | | | | | | | | | Generalizing rb_default_{external,internal}_encoding seems to be difficult. default_external cannot be NULL even before detected. [ruby-dev:37390] * encoding.c (rb_default_external_encoding): has its own implementation again. * encoding.c (rb_default_internal_encoding): ditto. * gem_prelude.rb: added notice. * ruby.c (rubylib_mangled_path, rubylib_mangled_path2): uses locale encoding but not ASCII-8BIT. * ruby.c (process_options): refers less to default_external. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20656 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * load.c (rb_feature_p): load path must be expanded.nobu2008-12-122-1/+29
| | | | | | | [ruby-dev:37388] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20655 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (rb_version): greps only the line that defines version.nobu2008-12-122-3/+1
| | | | | | | * version.h (RUBY_VERSION_CODE, RUBY_RELEASE_CODE): removed. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20654 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * complex.c, rational.c: do not use RUBY_VERSION_CODE.nobu2008-12-123-6/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20653 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* properties.nobu2008-12-120-0/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20652 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_string_value_ptr, rb_to_id): do not use a sidenobu2008-12-122-4/+15
| | | | | | | | | | effect expression in RSTRING_PTR. * string.c (rb_str_split_m): simplified the argument of RSTRING_LEN. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20651 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2008-12-12svn2008-12-111-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20648 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* do not pass -infinity.tadf2008-12-112-5/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20647 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cmath.rb (sqrt): should pass nan or infinity to the originaltadf2008-12-112-1/+6
| | | | | | | | method. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20646 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rss/maker.rb, lib/rss/maker/0.9.rb, lib/rss/maker/base.rb:kou2008-12-119-13/+86
| | | | | | | | | RSS::Maker.[] returns a maker class corresponds to passed version. * test/rss/test_maker_*.rb: add tests for RSS::Maker.[]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20643 b2dd03c8-39d4-4d8f-98ff-823fe69b080e