aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * string.c (sym_inspect): quote if symbol contains non-printablematz2008-12-132-1/+18
| | | | | | characters. [ruby-dev:37398] git-svn-id: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/ruby/trunk@20713 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Imported minitest 1.3.2 r4503.ryan2008-12-134-9/+22
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20686 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Numeric#scalar? has been renamed.tadf2008-12-131-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20685 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* must be typos.tadf2008-12-121-5/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/ruby/trunk@20683 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: commit miss (r20680).kouji2008-12-121-0/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20682 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2008-12-13svn2008-12-121-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/ruby/trunk@20667 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/readline/readline.c: r20662 reverted.kouji2008-12-122-10/+19
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/ruby/trunk@20661 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add historical NEWS files for the record.knu2008-12-122-0/+839
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/ruby/trunk@20653 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* properties.nobu2008-12-120-0/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/ruby/trunk@20651 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2008-12-12svn2008-12-111-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20648 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* do not pass -infinity.tadf2008-12-112-5/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/ruby/trunk@20643 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: add missing 'Nobuyoshi Nakada'.kou2008-12-111-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20642 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Remove things that have been backported to the ruby_1_8 branch. [trunk-only]knu2008-12-111-5/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20639 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Elaborate with Range#include?.knu2008-12-111-1/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding.c (rb_enc_aliases_enc_i): skips default internal.nobu2008-12-112-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20633 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit/assertions.rb: extracted from lib/test/unit.rb.akr2008-12-114-112/+130
| | | | | | | | lib/test/unit/testcase.rb: ditto. at asakusa.rb. [ruby-core:20014] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20632 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_io.rb (test_dup_many): extracted from test_dup.akr2008-12-112-11/+26
| | | | | | | test in ruby subprocess. at asakusa.rb. [ruby-dev:35648] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20630 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/pathname.rb (Pathname#=~): undefed. at asakusa.rb.akr2008-12-112-0/+9
| | | | | | | [ruby-core:19690] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20629 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * re.c (reg_enc_error): raise EncodingCompatibilityError formatz2008-12-112-2/+10
| | | | | | | | | encoding incompatibility. [ruby-core:18600] * re.c (rb_reg_prepare_enc): more consistent error message. [ruby-core:18611] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20626 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding.c (enc_set_default_encoding): allowed to set defaultnobu2008-12-112-39/+82
| | | | | | | encoding. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20625 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding.c (rb_enc_set_default_internal): defines internalnobu2008-12-112-2/+16
| | | | | | | encoding as nil. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20624 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding.c (rb_locale_encoding): removed Encoding::LOCALE.nobu2008-12-112-5/+20
| | | | | | | | | * encoding.c (rb_enc_set_default_external): ditto. * encoding.c (rb_enc_set_default_internal): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20623 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/st.h (size_t): needs stddef.h or stdlib.h.nobu2008-12-112-0/+18
| | | | | | | [ruby-core:20339] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20622 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_bignum.rb (TestBignum#test_convert): removematz2008-12-112-12/+6
| | | | | | | platform dependent call of Process.wait. coverage should be accomplished by other method. [ruby-dev:36062] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20621 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rexml/document.rb (REXML::Document#write): requirematz2008-12-114-1/+16
| | | | | | | | | | | | rexml/formatters/transitive if transitive flag is on. a patch from akira yamada in [ruby-dev:36230]. fix #553 * lib/rexml/element.rb (REXML::Element#write): ditto. * lib/rexml/formatters/transitive.rb (REXML::Formatters::Transitive#write_element): add hack for IE. [ruby-dev:36230] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * math.c (domain_check): should not raise EDOM exception for NaNmatz2008-12-102-32/+49
| | | | | | | value if operand is also NaN. affects acos, asin, acosh, atanh, log, log2, log10, sqrt, gamma, lgamma. [ruby-dev:37357] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20619 b2dd03c8-39d4-4d8f-98ff-823fe69b080e