summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * marshal.c (r_object0): no need to call r_entry for immediate values.usa2008-01-313-6/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15358 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/ri/formatter.rb (output): add accessor.usa2008-01-313-5/+13
| | | | | | | | | * lib/rdoc/ri/display.rb (page): replace @formatter.output instead of $stdout. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15357 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * marshal.c (r_object0): call r_entry/r_leave to call proc when TYPE_FIXNUM,naruse2008-01-312-0/+15
| | | | | | | TYPE_NIL, TYPE_TRUE, TYPE_FALSE, TYPE_SYMBOL. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15356 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/ri/display.rb (display_method_list, display_class_list):usa2008-01-313-10/+40
| | | | | | | | | | | | | | | | | use @formatter.raw_print_line instead of puts. * lib/rdoc/ri/driver.rb (select_methods): new method to collect all instance/class methods which match with passed pattern. * lib/rdoc/ri/driver.rb (run): use class_cache's result directly instead of select_classes' because it's removed now. * lib/rdoc/ri/driver.rb (run): search methods when passed name is not class name. [ruby-core:15309] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15355 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test updated for empty symbolsmatz2008-01-311-1/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15354 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (ext/extmk.rb, instruby.rb): inlined $(MAKE) so that cannobu2008-01-302-26/+31
| | | | | | | be executed even with -n. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15353 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_close_read): replaces fptr with the tied writer ifnobu2008-01-302-5/+28
| | | | | | | | | | duplex. * io.c (rb_io_close_write): unties the tied IO for writing if duplex. [ruby-dev:33532] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15351 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (open_key_args): allow encoding key to take two encodingmatz2008-01-302-1/+6
| | | | | | names. a patch from <rubikitch AT ruby-lang.org>. [ruby-dev:33540] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15350 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (dsym): allow empty symbols. [ruby-core:15248]matz2008-01-302-6/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15349 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add a test.akr2008-01-301-0/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15348 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2008-01-31usa2008-01-301-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15347 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (select_internal): fix SEGV by `select [STDIN],nil,[STDIN]'.akr2008-01-302-1/+7
| | | | | | | | fixed by Petr Chromec. http://rubyforge.org/tracker/index.php?func=detail&aid=17275&group_id=426&atid=1698 git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15346 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* adjustmenttadf2008-01-301-10/+9
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15342 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/*.c: add GB12345, UCS-{2,4}{BE,LE}.naruse2008-01-306-0/+11
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15341 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/ri/driver.rb (cache_file_for): shoudn't use `:' in filename.usa2008-01-302-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15340 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_succ): use wrapped character as a carry forakr2008-01-303-2/+19
| | | | | | | ASCII incompatible encoding. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15339 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/utf_16be.c (UTF16_IS_SURROGATE_FIRST): avoid branch.akr2008-01-304-9/+108
| | | | | | | | | | | | | | (UTF16_IS_SURROGATE_SECOND): ditto. (UTF16_IS_SURROGATE): defined. (utf16be_mbc_enc_len): validation implemented. * enc/utf_16le.c (UTF16_IS_SURROGATE_FIRST): avoid branch. (UTF16_IS_SURROGATE_SECOND): ditto. (UTF16_IS_SURROGATE): defined. (utf16le_mbc_enc_len): validation implemented. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15338 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add assertions.tadf2008-01-301-0/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15337 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (rb_cstr_to_inum): '0_2' is a valid representatin.tadf2008-01-302-3/+15
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15336 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bootstraptest/runner.rb: fix -I../../hoge case.naruse2008-01-302-1/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15335 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_range.rb: add tests to achieve over 90% test coveragemame2008-01-292-0/+193
| | | | | | | of range.c. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15334 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix state definition.akr2008-01-291-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15333 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2008-01-30usa2008-01-291-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15332 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/euc_tw.c (euctw_mbc_enc_len): validation implemented.akr2008-01-292-2/+101
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15331 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/win32ole/test_win32ole.rb: ruby's encoding support.usa2008-01-291-7/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15330 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_enum.rb: propset svn:eol-style LFmame2008-01-290-0/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15329 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_enumerator.rb: add tests to achieve over 90% testmame2008-01-293-0/+315
| | | | | | | | coverage of enumerator.c. * test/ruby/test_enum.rb: add for enum.c. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15328 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enumerator.c: fix documents.mame2008-01-292-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15326 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * range.c: fix SEGV by ("a" .. "z").step(2 ** 30) { }.mame2008-01-292-2/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15325 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add tests.akr2008-01-291-0/+8
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15324 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/euc_tw.c (euctw_islead): 0x8e is a leading byte.akr2008-01-292-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15323 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c: move object allocation out of blocking_region.mame2008-01-292-58/+69
| | | | | | | [ruby-dev:33139] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15322 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/trans/make_transdb.rb: add for make transdb.h.naruse2008-01-292-12/+44
| | | | | | | | | | * dmytranscode.c: add for miniruby. * enc/gbk.c (gbk_left_adjust_char_head, gbk_is_allowed_reverse_match): fix odd regexp match. [ruby-dev:33502] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15321 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * add enc/trans/make_transdb.rb, dmytranscode.cnaruse2008-01-292-0/+42
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15320 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * {bcc32,win32}/Makefile.sub (MINIOBJS): add dmytranscode.$(OBJEXT).usa2008-01-293-2/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15319 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in, common.mk: fix rule for dmytranscode.o.naruse2008-01-293-2/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15318 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/trans/japanese.c (rb_to_Windows_31J): to 'Windows-31J'.naruse2008-01-294-31/+24
| | | | | | | | | * common.mk: add rules for transdb.h. * transcode.c (init_transcoder_table): use transdb.h. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15317 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding.c (encdb_{replicate,alias,dummy,declare}): define only ifnobu2008-01-292-3/+18
| | | | | | | NO_ENCDB_H is not defined. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15316 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/gbk.c (EncLen_gbk): too short. [ruby-dev:33497]naruse2008-01-292-0/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15315 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dmyencoding.c, encoding.c (enc_init_db, NO_ENCDB_H):naruse2008-01-294-7/+24
| | | | | | | | | miniruby doesn't use encdb. * common.mk: encdb.h use miniruby. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15314 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/gb18030.c (gb18030_mbc_enc_len): validation implemented.akr2008-01-292-9/+101
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15313 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/ifchange: remove $temp when unchanged.naruse2008-01-293-3/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15312 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * insns.def (toregexp): generate a regexp from strings instead of oneakr2008-01-295-47/+104
| | | | | | | | | | | | | | | | | string. * re.c (rb_reg_new_ary): defined for toregexp. it concatenates strings after each string is preprocessed. * compile.c (compile_dstr_fragments): split from compile_dstr. (compile_dstr): call compile_dstr_fragments. (compile_dregx): defined for dynamic regexp. (iseq_compile_each): use compile_dregx for dynamic regexp. [ruby-dev:33400] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15311 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk, ext/extmkf.rb: always make encdb.h.naruse2008-01-293-3/+12
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15310 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/euc_kr.c: remove CP949.naruse2008-01-294-13/+18
| | | | | | | | | * enc/euc_cn.c: remove CP936 and rename to gb2312.c * enc/gb2312.c: GB2312 is preferred MIME name. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15309 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/gbk.c: add GBK, CP936 and CP949.naruse2008-01-292-3/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15308 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/gbk.c: add GBK, CP936 and CP949.naruse2008-01-291-0/+192
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15307 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/gbk.c: add GBK, CP936 and CP949.naruse2008-01-291-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15306 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (reg_fragment_setenc_gen): US-ASCII script special code.usa2008-01-283-8/+56
| | | | | | | | | | | | * parse.y (reg_fragment_check_len, reg_compile_gen): no need such trick. [ruby-dev:33399] * test/ruby/test_m17n.rb (test_regexp_usacii_literal): add tests. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15304 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk ($(srcdir)/revision.h): no need to show ifchange executionusa2008-01-282-1/+6
| | | | | | | | because ifchange echos updated or unchaned. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15303 b2dd03c8-39d4-4d8f-98ff-823fe69b080e