aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * insns2vm.rb: add encoding option to shbang.ko12007-12-252-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14703 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bootstraptest/pending.rb: add pending issue.ko12007-12-252-0/+23
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14702 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c: remove Thread.critical(=).ko12007-12-252-15/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14701 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/make-snapshot: add version number.nobu2007-12-252-4/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14700 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (iseq_compile_each): fix stack consistency errorko12007-12-254-28/+64
| | | | | | | | | | (break is compiled to throw instead of jump insn). these problems are reported by Yusuke ENDOH <mame AT tsg.ne.jp> * bootstraptest/test_knownbug.rb, test_syntax.rb: move fixed test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14699 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (struct parser_params): make parser_ruby_sourcefile commonakr2007-12-252-9/+30
| | | | | | | | | | field. it is used by node_newnode. new field parser_ruby_sourcefile_string for ripper. (parser_initialize): initialize parser_ruby_sourcefile in ripper. (ripper_initialize): initialize parser_ruby_sourcefile_string. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14698 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (parse.c): depends on tool/ytab.sed.nobu2007-12-253-2/+28
| | | | | | | * tool/ytab.sed: hack for bison 2.1. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14697 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_ssl.c: Only show a warning if the default technorama2007-12-253-1/+30
| | | | | | | | | | DH callback is actually used. * ext/openssl/ossl_rand.c: New method: random_add(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14696 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/make-snapshot: argument check, and cleanup exported directory.nobu2007-12-252-0/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14695 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/make-snapshot: more portable.eban2007-12-252-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14694 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/make-snapshot (revision): sed does not support +.nobu2007-12-251-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14693 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding.h (rb_enc_mbc_to_codepoint): wrapper fornobu2007-12-254-8/+21
| | | | | | | | | ONIGENC_MBC_TO_CODE(). * string.c (rb_str_succ): deal with invalid sequence as binary. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14692 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (appendline): move RS comparison to rb_io_getline_1().matz2007-12-254-38/+31
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14691 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * iseq.c: all methods need $SAFE < 1.ko12007-12-253-2/+18
| | | | | | | | vm.c: comment out debug functions. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add tests reported by Yusuke ENDOH.akr2007-12-251-0/+24
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14689 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_each_line): don't call rb_enc_codepoint with emptyakr2007-12-252-1/+6
| | | | | | | string. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14688 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_inspect): don't call rb_enc_codepoint with emptyakr2007-12-253-2/+13
| | | | | | | | | | string. fix '#'.inspect. * encoding.c (rb_enc_codepoint): raise on empty string. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14687 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm.c (rb_frame_method_id_and_class): new function to get theshugo2007-12-253-0/+12
| | | | | | | method id and class of the current frame. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14686 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (create_makefile): Add a missing dependency on theknu2007-12-252-1/+7
| | | | | | | | target directory for each .rb file. This will hopefully fix parallel make (-jN). Tested on FreeBSD. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14685 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/trans/japanese.c (rb_{from,to}_{SHIFT_JIS,EUC_JP}): inversednobu2007-12-252-4/+9
| | | | | | | from_encoding and to_encoding. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14684 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * golf_prelude.rb (h): add new method for all golfers.usa2007-12-252-0/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14683 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/trans/japanese.c (rb_to_EUC_JP): fixed typo.nobu2007-12-252-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14682 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/dl/depend: add dependencies. [ruby-dev:32760]usa2007-12-252-4/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14681 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/ruby.h, thread.c: rename is_ruby_native_thread() toko12007-12-254-10/+17
| | | | | | | | | ruby_native_thread_p(). * ext/tk/tcltklib.c: apply it. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14680 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add a test.akr2007-12-251-0/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14679 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (realclean-enc): fixed typo.nobu2007-12-251-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (clean-enc): clean encoding objects.nobu2007-12-252-1/+12
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14677 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * trunk/common.mk, goruby.c, golf_prelude.rb: for golfers.nobu2007-12-256-3/+40
| | | | | | | | | * trunk/main.c (main): hook for embedding applications. * trunk/tool/compile_prelude.rb: can change initialize function name. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14676 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_io_m17n.rb: fix testsmatz2007-12-251-4/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14675 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding.c (rb_enc_register): do not use based_encoding to check ifnobu2007-12-252-2/+6
| | | | | | | dummy encoding. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14674 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_succ): fix for string with non-alphanumeric chars.nobu2007-12-252-4/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14673 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_external_encoding): should return nil formatz2007-12-252-0/+11
| | | | | | pass-through write IO. [ruby-dev:32740] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14672 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (appendline): initialize rslen to 1 if rsptr is 0.akr2007-12-252-0/+10
| | | | | | | | | rslen should be the length of the delimiter. if only delim is given, it should be 1. [ruby-dev:32746] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14671 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enum.c (collect_all): should pack all values. [ruby-core:14410]matz2007-12-252-2/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14670 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * transcode.c (transcode_dispatch): fix for multistep transcode.nobu2007-12-252-2/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14669 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/trans/single_byte.c (Init_single_byte): renamed.usa2007-12-252-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14668 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enum.c (enum_yield): when multiple values yielded from #eachmatz2007-12-253-44/+66
| | | | | | | | | pack them into an array. [ruby-dev:32708] * enum.c: all method but all?, any?, one? and none? passed packed multiple values to the block. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14667 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (COMMONOBJS): transcode_data_*.c moved under enc/trans.nobu2007-12-256-241/+425
| | | | | | | | | | | | | | | | | | * transcode_data.h (rb_transcoding, rb_transcoder): prefixed. * transcode.c (rb_register_transcoder, rb_declare_transcoder): split declaration and registration. [ruby-dev:32704] * transcode.c (transcode_dispatch): autoload pre-declared transcoder. * transcode.c (str_transcode): use rb_define_dummy_encoding(). * transcode.c (Init_transcode): initialize transcoder tables. * enc/trans/single_byte.c, enc/trans/japanese.c: moved from top. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14666 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* lib/mkmf.rb: revert last changematz2007-12-251-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14665 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (map_dir): should generate path including $top_srcdir.matz2007-12-252-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14664 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/csv.rb, test/csv/*.rb: set properties.nobu2007-12-250-0/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14663 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/csv.rb: Fixed test failures caused by changes to Ruby.jeg22007-12-255-10/+21
| | | | | | | | | * test/csv/tc_serialization, test/csv/tc_csv_parsing, test/csv/tc_features: Fixed test failures caused by changes to Ruby. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14662 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (io_encoding_set): missing return type.nobu2007-12-252-1/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14661 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/rinda/test_rinda.rb (MockClock#{_forward, forwrd, sleep}):naruse2007-12-252-3/+9
| | | | | | | | Change default value of n as @reso from nil. If default value is nil, n.+ is not defined. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14660 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_io_m17n.rb (test_pipe): fixed.akr2007-12-252-1/+6
| | | | | | | [ruby-dev:32743] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14659 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (rb_thread_wait_fd_rw): should check EBADF on select().ko12007-12-252-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14658 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread_pthread.c, thread_pthread.h, thread_win32.c,ko12007-12-255-44/+51
| | | | | | | | | | thread_win32.c: make some functions static functions. a patch from Tadashi Saito <shiba AT mail2.accsnet.ne.jp> in [ruby-core:14407] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14657 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_io_m17n.rb (test_write_noenc): don't mix text andakr2007-12-252-2/+7
| | | | | | | binary mode. [ruby-dev:32743] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14656 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * README.EXT.ja, dir.c, eval.c, eval_intern.h, lex.c.src,matz2007-12-2510-47/+52
| | | | | | | | lex.c.blt, keywords, load.c, thread.c: more ANSI'ize. a patch from Tadashi Saito <shiba AT mail2.accsnet.ne.jp> in [ruby-dev:32725] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14655 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_core.h, thread.c, cont.c: add RUBY_VM_SET_INTERRUPT(),ko12007-12-257-15/+50
| | | | | | | | | | | RUBY_VM_SET_TIMER_INTERRUPT(), RUBY_VM_INTERRUPTED(). * thread.c, thread_pthread.c, thread_win32.c: fix to ignore time slice event until sleep. * bootstraptest/test_thread.rb: add a test for time limited join test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14654 b2dd03c8-39d4-4d8f-98ff-823fe69b080e