aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * suppress warnings on cygwin, mingw and mswin.nobu2008-06-0110-42/+61
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16740 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/gb18030.c (gb18030_code_to_mbc): add 0x80000000naruse2008-06-012-0/+8
| | | | | | for 4bytes character. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16739 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (set_arg0): reverted used variable definition.nobu2008-06-012-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16738 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/gb18030.c (gb18030_mbc_to_code): mask by 0x7FFFFFFFnaruse2008-06-012-1/+21
| | | | | | | | because OnigCodePoint will be used as 32bit signed int. Masking by 0x7FFFFFFF is ok on GB18030; Minumum 4bytes character is 0x81308130. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16737 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * rational.c (string_to_r_internal): use rb_isdigit.naruse2008-06-015-11/+18
| | | | | | | | * marshal.c (long_toobig): use %zd. * ruby.c (set_arg0): move unused variable definition. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16736 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * insns.def (DEFINE_INSN): subtract of pointers is ptrdiff_t.naruse2008-06-015-19/+34
| | | | | | | | | | | | | | | | this is not int on 64bit system. * vm_dump.c (control_frame_dump): ditto. * vm_dump.c (stack_dump_each): ditto. * vm_dump.c (debug_print_register): ditto. * vm_dump.c (debug_print_pre): ditto. * transcode.c (str_transcode): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16735 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/envutil.rb (assert_normal_exit): show coredump status.akr2008-06-012-0/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16734 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* debug print removed.akr2008-06-011-1/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16733 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * README, README.ja: Add a note about default C flags.knu2008-05-313-0/+12
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16725 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (count_objects): clear given hash.akr2008-05-313-0/+22
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16724 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_regexp.rb: add tests.mame2008-05-312-0/+11
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16718 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/utf_16{be,le}.c (utf16{be,le}_code_to_mbc):naruse2008-05-313-17/+17
| | | | | | fix codepoint to bytes. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16717 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * suppress warnings with -Wwrite-string.nobu2008-05-3131-61/+65
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16716 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_delete_if): should return enumerator if no blockmatz2008-05-312-0/+6
| | | | | | is given. [ruby-dev:34901] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16715 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in, configure.in (warnflags): defaulted to -Wallnobu2008-05-313-1/+11
| | | | | | | -Wno-parentheses with gcc. [ruby-dev:34810] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16714 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/mvm.h: new header file for MVM, and moved rb_vm_t andnobu2008-05-315-6/+48
| | | | | | | rb_thread_t from vm_core.h. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16713 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/ruby.h: renamed include guard.nobu2008-05-312-8/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16712 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/envutil.rb (assert_normal_exit): show pid when fail.akr2008-05-312-2/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16711 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_rubyoptions.rb: add a test of RUBY_DESCRIPTION.kazu2008-05-302-1/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16709 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_regexp.rb: add tests.mame2008-05-302-10/+49
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16708 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_signal.rb: add tests to achieve over 80% testmame2008-05-302-0/+104
| | | | | | | coverage of signal.c. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16707 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * signal.c (esignal_signo): fix SignalException#signo which returnedmame2008-05-302-4/+23
| | | | | | | | | | nil absolutely. * signal.c (esignal_init): always prepend "SIG" to a string that is returned by SignalException#signm. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16706 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_argf.rb: rename a conflicting method name.mame2008-05-304-3/+11
| | | | | | | | | * test/ruby/test_string.rb: ditto. * test/ruby/test_io.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16705 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (defined_expr): fix SEGV by defined?([1]).mame2008-05-302-10/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16704 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (prelude.c): simply depends on PREP. [ruby-dev:34877]nobu2008-05-305-26/+17
| | | | | | | * enc/make_encdb.rb, enc/trans/make_transdb.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16703 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_core.h (struct rb_unblock_callback), thread.cnobu2008-05-301-0/+9
| | | | | | | | | | | (set_unblock_function), thread_{pthread,win32}.c (native_sleep): extracted from struct rb_thread_struct. * thread.c (reset_unblock_function): not check interrupts at leaving blocking region. [ruby-dev:34874] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16700 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_core.h (struct rb_unblock_callback), thread.cnobu2008-05-304-23/+34
| | | | | | | | | | | (set_unblock_function), thread_{pthread,win32}.c (native_sleep): extracted from struct rb_thread_struct. * thread.c (reset_unblock_function): not check interrupts at leaving blocking region. [ruby-dev:34874] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16699 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: missing log for r16677.nobu2008-05-301-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16698 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/utf_8.c: add UTF8-MAC (UTF-8-MAC).naruse2008-05-292-0/+14
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16697 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enum.c (enum_count, count_all_i, Init_Enumerable),knu2008-05-295-8/+42
| | | | | | | | array.c (rb_ary_count): If no argument or block is given, count the number of all elements. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16693 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_bn.c (ossl_bn_s_rand, ossl_bn_s_pseudo_rand):knu2008-05-292-2/+7
| | | | | | | Int should be enough here. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16692 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_bn.c (ossl_bn_s_rand, ossl_bn_s_pseudo_rand),knu2008-05-296-12/+28
| | | | | | | | | | | | | | ext/openssl/ossl_pkey_dh.c (ossl_dh_s_generate) (ossl_dh_initialize), ext/openssl/ossl_pkey_dsa.c (ossl_dsa_s_generate), ext/openssl/ossl_rand.c (ossl_rand_bytes) (ossl_rand_pseudo_bytes, ossl_rand_egd_bytes), ext/openssl/ossl_x509store.c (ossl_x509stctx_set_error): Do not use FIX2INT() without checking the value type. Use NUM2INT() instead; found by akr in [ruby-dev:34890]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16689 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * signal.c (esignal_init): handle a non-integer argument correctly,mame2008-05-292-0/+6
| | | | | | | allowing SignalException.new(:INT). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16688 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_regexp.rb: add tests.mame2008-05-293-3/+33
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16687 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_require.rb: add a test for load with wrap flag, tomame2008-05-292-0/+25
| | | | | | | achieve 100% test coverage of eval_jump.c. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16686 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix a typo.knu2008-05-291-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16685 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix: nitem == count {|i| !i.nil?}knu2008-05-291-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16684 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_argf.rb: new tests for ARGF, to achieve over 85% testmame2008-05-293-0/+1367
| | | | | | | | | coverage of file.c. * test/ruby/test_io.rb: add tests. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16683 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* remove a compile error.mame2008-05-291-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16682 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (argf_readchar): raise EOFError, synchronizing IO#readchar.mame2008-05-292-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16681 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (argf_external_encoding, argf_internal_encoding): fix SEGV bymame2008-05-292-2/+13
| | | | | | | ARGF.external_encoding. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16680 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/zlib/extconf.rb: search zlib1, and regard mswin32 later than VC6nobu2008-05-291-2/+2
| | | | | | | as WIN32. [ruby-core:16984] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16677 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_nitems, Init_Array): Axe Array#nitems().knu2008-05-284-54/+7
| | | | | | | cf. [ruby-dev:34676]-[ruby-dev:34713] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16675 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/purelib.rb: get rid of recent feature. [ruby-dev:34864]nobu2008-05-281-1/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16674 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/mkexports.rb (Exports#objdump, Exports#each_line): extracted.nobu2008-05-282-22/+42
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16669 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in (MKPREP): appended $(RBCONFIG).nobu2008-05-284-12/+13
| | | | | | | | | | * common.mk (enc.mk, prelude.c): not depend on $(RBCONFIG) on mswin32 to get of compiling twice each time. * win32/Makefile.sub (prelude.c): not depend on $(PREP). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16668 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/mkexports.rb (Exports::Mswin#each_export): speed up.usa2008-05-282-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16667 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_slice_bang): Call rb_ary_modify_check() at theknu2008-05-282-0/+6
| | | | | | | beginning. [rubyspec] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16665 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/httpservlet/cgihandler.rb ↵knu2008-05-282-0/+11
| | | | | | | | | | | (WEBrick::HTTPServlet::CGIHandler#do_GET): Set the HTTP status code to 302 if a Location header field is present and the status code is not valid as a client redirection. cf. RFC 3875 6.2.3, 6.2.4. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16662 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/trans/japanese.c (to_SHIFT_JIS_EF_infos): typo.usa2008-05-282-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16661 b2dd03c8-39d4-4d8f-98ff-823fe69b080e