summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * 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
* * ChangeLog: add missing 'Nobuyoshi Nakada'.kou2008-12-111-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/ruby/trunk@20639 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Elaborate with Range#include?.knu2008-12-111-1/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/ruby/trunk@20619 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/open3.rb (Open3.pipeline_start): return an array of threads if aakr2008-12-103-20/+112
| | | | | | | block is not given. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20618 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rdoc update.akr2008-12-101-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20617 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/bigdecimal/bigdecimal.c (BigDecimal_round): should be roundmatz2008-12-102-2/+13
| | | | | | | | | to integer. [ruby-dev:37355] * ext/bigdecimal/bigdecimal.c (BigDecimal_divmod): division should be integer. [incompatible] [ruby-dev:37355] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20616 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (rb_mutex_unlock): shut up warning. a patch frommatz2008-12-102-1/+6
| | | | | | Kazuhiro NISHIYAMA in [ruby-dev:37345]. fix #846 git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* added ml ref.tadf2008-12-101-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20614 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2008-12-11svn2008-12-101-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20613 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * complex.c: avoided warnings on cpp.tadf2008-12-103-0/+24
| | | | | | | | * rational.c: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20612 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rss/maker.rb (RSS::Maker.[]): add.kou2008-12-102-5/+17
| | | | | | | Suggested by Akinori MUSHA. Thanks!!! [ruby-dev:37210] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20610 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enumerator.c (enumerator_rewind): If the enclosed objectknu2008-12-102-0/+12
| | | | | | | responds to a "rewind" method, call it; cf. [ruby-dev:37268] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20607 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enumerator.c (enumerator_next): Fix a typo: s/rewinded/rewound/.knu2008-12-103-2/+8
| | | | | | | * lib/prime.rb (Prime::OldCompatibility#each): Ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20604 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * re.c (rb_reg_initialize): raise RegexpError when encodingnaruse2008-12-102-0/+10
| | | | | | is dummy encoding. [ruby-dev:37091] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20603 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2008-12-10svn2008-12-091-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20602 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (win32.obj): depend on headers.usa2008-12-092-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20600 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/trans/single_byte.trans, cp850-tbl.rb, cp852-tbl.rb,duerst2008-12-099-32/+915
| | | | | | | | | | | cp855-tbl.rb, koi8-r-tbl.rb, koi8-u-tbl.rb, tis-620-tbl.rb: new single-byte transcodings (from Yoshihiro Kambayashi) * test/ruby/test_transcode.rb: added tests for the above (from Yoshihiro Kambayashi), small cosmetic fixes git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20599 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_core.h: removed trailing garbage spaces.nobu2008-12-091-5/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20597 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * id.h, include/ruby/{intern,oniguruma}.h, regenc.h, regparse.h,nobu2008-12-0916-19/+19
| | | | | | | template/*.tmpl: removed trailing garbage spaces. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20596 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/curses/curses.c: removed trailing spaces.nobu2008-12-091-31/+31
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20595 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/curses/curses.c: made indentation consistent.nobu2008-12-091-189/+189
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20594 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (iseq_compile_each), gc.c (assign_heap_slot),nobu2008-12-0910-34/+44
| | | | | | | | | | | | | (gc_mark_children), parse.y (vtable_alloc, vtable_free, vtable_add), proc.c (proc_to_s), thread.c (terminate_i, rb_thread_terminate_all), (thread_start_func_2, blocking_region_begin, blocking_region_end), (rb_thread_kill), thread_pthread.c (native_thread_create), (ubf_pthread_cond_signal), vm.c (check_env, thread_free), vm_dump.c (vm_env_dump_raw, vm_stack_dump_each, vm_thread_dump_state), (vm_call0): use void pointer for %p. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20593 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/curses/curses.c (curses_use_default_colors): add newmatz2008-12-093-1/+54
| | | | | | | | | | | method. a patch from Giancarlo F Bellido <support at coaxialhost.com> in [ruby-core:20434]. * ext/curses/curses.c (curses_tabsize_set): ditto. * ext/curses/curses.c (curses_tabsize_get): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20592 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * cont.c (fiber_status), template/insns.inc.tmpl (ruby_vminsn_type),nobu2008-12-094-5/+8
| | | | | | | | vm_insnhelper.h (BOP): ISO C forbids comma at end of enumerator list. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20591 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_insnhelper.c (check_cfunc): use function pointer.nobu2008-12-092-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20590 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * .gdbinit (rp): fixed typo for T_STRUCT.nobu2008-12-092-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20589 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * pack.c (pack_pck): fixed [ruby-dev:37295].yugui2008-12-092-2/+10
| | | | | | | Array#pack always has returned an US-ASCII string when the given format ended with 'u', 'M' or 'm'. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20588 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * mkconfig.rb: fix for continued lines. based on a patch fromnobu2008-12-082-6/+10
| | | | | | | Marcus Rueckert <darix AT opensu.se> at [ruby-core:20420]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20587 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rdoc update.akr2008-12-081-2/+16
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20586 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_make_exception): single argument to raise may bematz2008-12-082-3/+8
| | | | | | string compatible object. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20585 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/bigdecimal/bigdecimal.c (BigDecimal_truncate): returnmatz2008-12-082-0/+18
| | | | | | | | | | integer if no optional argument given. [incompatible] * ext/bigdecimal/bigdecimal.c (BigDecimal_floor): ditto. * ext/bigdecimal/bigdecimal.c (BigDecimal_ceil): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20584 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/make-snapshot (package): enc.mk in snapshot is dummy and shouldnobu2008-12-082-0/+13
| | | | | | | not deal with objects. [ruby-core:20422] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20583 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/depend (clean-srcs): split out from clean.nobu2008-12-084-6/+16
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20582 b2dd03c8-39d4-4d8f-98ff-823fe69b080e