summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * configure.in (CFLAGS, CXXFLAGS): include additional flags tonobu2008-06-043-5/+16
| | | | | | | CFLAGS and CXXFLAGS while configuration. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16800 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/strscan/strscan.c (strscan_scan_full, strscan_search_full): fixmame2008-06-032-4/+9
| | | | | | | document. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16799 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/strscan/strscan.c (strscan_exist_p): fix document.mame2008-06-032-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16798 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_dir.rb: add tests to achieve over 90% test coveragemame2008-06-034-0/+219
| | | | | | | | | | | | of dir.c. * test/ruby/test_encoding.rb: add tests for dummy?, name_list and aliases. * test/ruby/test_marshal.rb: add some tests. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16797 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/etc/test_etc.rb: new tests for etc.mame2008-06-032-0/+131
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16796 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enumerator.c (enumerator_with_memo): New method: with_memo().knu2008-06-034-0/+61
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16795 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (miniruby$(EXEEXT)): miniruby cannot benobu2008-06-032-1/+6
| | | | | | | written by miniruby itself. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16793 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enumerator.c (enumerator_init_copy): Take care ofknu2008-06-032-1/+11
| | | | | | | initialize_copy as well as initialize. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (file_expand_path): fix for non-existent files and SFN ofnobu2008-06-032-19/+21
| | | | | | | symlinks. [ruby-talk:303736] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16785 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/set.rb (Set#classify): Back out the `group_by' alias.knu2008-06-032-1/+5
| | | | | | | Better think twice. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16777 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Properly back out.knu2008-06-031-1/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16773 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/set.rb (Set#collect, Set#select): Back out. I thought itknu2008-06-032-20/+6
| | | | | | | was consistent but turned out to be wrong. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16772 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/set.rb (Set#collect, Set#select): Override Enumerableknu2008-06-032-3/+39
| | | | | | | | | | | | methods and make them return a set. [ruby-core:17055] (Set#delete_if, Set#collect!, Set#reject!, Set#classify) (Set#divide, Set#delete_if): Return an enumerator if no block is given. (Set#classify): Define an alias `group_by' to override that of Enumerable. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16771 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * process.c (run_exec_pgroup): C99 ism.usa2008-06-032-1/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16770 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enumerator.c (enumerator_allocate, enumerator_ptr): Properlyknu2008-06-032-6/+23
| | | | | | | | | detect if the object is initialized and raise error when appropriate. (enumerator_initialize): Fix a typo in rdoc. [ruby-core:17052] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16767 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_method.rb: add a test.mame2008-06-022-0/+14
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16762 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * marshal.c (w_object): add a check for modification of array duringmame2008-06-023-8/+14
| | | | | | | its dump. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16761 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* propset svn:eol-style LFmame2008-06-020-0/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16760 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/iso_8859_5.c: Large omicron should lowercase to small omicron.mame2008-06-0216-3/+699
| | | | | | | | | | | | | | | * test/ruby/test_big5.rb, test/ruby/test_cp949.rb, test/ruby/test_euc_jp.rb, test/ruby/test_euc_kr.rb, test/ruby/test_euc_tw.rb, test/ruby/test_gb18030.rb, test/ruby/test_gbk.rb, test/ruby/test_iso_8859.rb, test/ruby/test_koi8.rb, test/ruby/test_shift_jis.rb, test/ruby/test_windows_1251.rb: new tests for encoding. * test/ruby/test_utf16.rb, test/ruby/test_utf32.rb, test/ruby/test_regexp.rb: add tests. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16759 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_file.rb: add tests for uninitialized object.mame2008-06-024-0/+22
| | | | | | | | | * test/ruby/test_class.rb: ditto. * test/ruby/test_thread.rb: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16758 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * re.c: fix SEGV by Regexp.allocate.names, Match.allocate.names, etc.mame2008-06-025-11/+94
| | | | | | | | | | | * test/ruby/test_regexp.rb: add tests for above. * io.c: fix SEGV by IO.allocate.print, etc. * test/ruby/test_io.rb: add tests for above. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16757 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_argf.rb (teardown): remove renamed temporary files.akr2008-06-022-0/+13
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16755 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/un.rb (wait_writable): wait until target files can benobu2008-06-023-1/+41
| | | | | | | | | | written actually. * win32/Makefile.sub (LDSHARED_0, LINK_SO): get rid of failure of mt.exe. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16754 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/delegate.rb (Delegator::MethodDelegation#respond_to):knu2008-06-022-2/+8
| | | | | | | | respond_to? should now take optional second argument; submitted by Jeremy Kemper <jeremy at bitsweat.net> in [ruby-core:17045]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16751 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/erb.rb (ERB::Compiler::TrimScanner#scan_line): Oops. Thisknu2008-06-022-6/+9
| | | | | | | change did not apply to trunk. Backed out. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16750 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/erb.rb (ERB::Compiler::TrimScanner#scan_line): Fix a bugknu2008-06-023-9/+20
| | | | | | | | | | | where tokens are not yilelded one by one. * test/erb/test_erb.rb (TestERBCore#_test_01) (TestERBCore#test_02_safe_04): The expected value should come first for assert_equal(). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16749 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Remove what have been backported to 1.8.7.knu2008-06-021-3/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16747 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * mkconfig.rb: hide build path from rbconfig.rb.usa2008-06-022-0/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16743 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * util.c (ruby_strtod, dtoa): initialize more variables for errornobu2008-06-012-5/+9
| | | | | | | handling. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16742 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * suppress warnings on cygwin, mingw and mswin.nobu2008-06-0110-42/+61
| | | | git-svn-id: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/ruby/trunk@16739 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (set_arg0): reverted used variable definition.nobu2008-06-012-0/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/ruby/trunk@16734 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* debug print removed.akr2008-06-011-1/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/ruby/trunk@16725 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (count_objects): clear given hash.akr2008-05-313-0/+22
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16724 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_regexp.rb: add tests.mame2008-05-312-0/+11
| | | | git-svn-id: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/ruby/trunk@16717 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * suppress warnings with -Wwrite-string.nobu2008-05-3131-61/+65
| | | | git-svn-id: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/ruby/trunk@16713 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/ruby.h: renamed include guard.nobu2008-05-312-8/+10
| | | | git-svn-id: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/ruby/trunk@16709 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_regexp.rb: add tests.mame2008-05-302-10/+49
| | | | git-svn-id: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/ruby/trunk@16707 b2dd03c8-39d4-4d8f-98ff-823fe69b080e