aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* gc.c: revert r40898nobu2013-05-232-4/+3
| | | | | | | | * gc.c (gc_profile_dump_on): revert r40898. ok to show the record accumulating while lazy_sweep(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40899 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c: do not dump the last recordnobu2013-05-232-0/+6
| | | | | | | | * gc.c (gc_profile_dump_on): do not dump the last record, for some reason. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40898 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* revert forwardable rdoc patch for demozzak2013-05-231-24/+14
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40897 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_io.rb (TestIO#test_write_32bit_boundary): HFS+ seemsnobu2013-05-231-2/+2
| | | | | | not supporting a sparce file. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40896 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2013-05-23svn2013-05-231-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40895 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_io.rb: test for writenobu2013-05-231-4/+24
| | | | | | | * test/ruby/test_io.rb (TestIO#test_write_32bit_boundary): add test for write part. [ruby-core:55098] [Bug #8431] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40894 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add NEWS for r40879: Digest::Class.filenaruse2013-05-221-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40893 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix test failure of binmode from r40879naruse2013-05-221-1/+1
| | | | | | http://ruby-mswin.cloudapp.net/vc10-x64/ruby-trunk/log/20130521T131601Z.log.html.gz git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40892 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_dump.c (rb_vm_bugreport): show name of class and module.nobu2013-05-221-0/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40891 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_dump.c (rb_vm_bugreport): limit class name length.nobu2013-05-221-2/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40890 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* gc.c: use size_t and no header if next_index == 0nobu2013-05-222-8/+12
| | | | | | | | * gc.c (gc_profile_dump_on): use size_t to get rid of overflow and show the header when next_index > 0, instead of next_index != 1. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40889 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* win32.c: check error of SetFilePointernobu2013-05-223-3/+22
| | | | | | | | | | * win32/win32.c (setup_overlapped): check the error code in addition to the result of SetFilePointer() to determine if an error occurred, because INVALID_SET_FILE_POINTER is a valid value. [ruby-core:55098] [Bug #8431] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40888 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* win32.c: extract setup_overlapped and finish_overlappednobu2013-05-222-56/+49
| | | | | | | | * win32/win32.c (setup_overlapped, finish_overlapped): extract from rb_w32_read() and rb_w32_write(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40887 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (gc_prepare_free_objects, rest_sweep, lazy_sweep): fix positionko12013-05-222-1/+9
| | | | | | | | of `during_gc' setting. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40886 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2013-05-22svn2013-05-211-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40885 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (garbage_collect): all GC is start from garbage_collect()ko12013-05-212-92/+134
| | | | | | | | | | | | | | | | (or garbage_collect_body()). `garbage_collect()' accept additional two parameters `full_mark' and `immediate_sweep'. If `full_mark' is TRUE, then force it full gc (major gc), otherwise, it depends on status of object space. Now, it will be minor gc. If `immediate_sweep' is TRUE, then disable lazy sweep. To allocate free memory, `full_mark' and `immediate_sweep' should be TRUE. Otherwise, they should be FALSE. * gc.c (gc_prepare_free_objects): use `garbage_collect_body()'. * gc.c (slot_sweep, before_gc_sweep, after_gc_sweep): add logging code. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40884 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Update doc.akr2013-05-211-0/+18
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40883 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add NEWS about r40881, StringScanner#[] supports named captures.naruse2013-05-211-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40882 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/strscan/strscan.c (strscan_aref): support named captures.naruse2013-05-213-1/+50
| | | | | | patched by Konstantin Haase [ruby-core:54664] [Feature #8343] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40881 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_dir_m17n.rb (TestDir_M17N#test_entries_compose):kou2013-05-212-1/+6
| | | | | | | Use #each instead of #map just for iteration. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/digest/lib/digest.rb (Digest::Class.file): Take optionalknu2013-05-213-2/+35
| | | | | | | arguments that are passed to the constructor of the digest class. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40879 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c: remove gc_profile_record::is_marked. always true.ko12013-05-212-8/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c: fix to collect additional information for GC::Profiler.ko12013-05-212-35/+89
| | | | | | | | | | | | | * major/minor GC * trigger reason of GC * gc.c (gc_profile_dump_on): change reporting format with added information. * gc.c (gc_profile_record_get): return added information by :GC_FLAGS => array. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40877 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c: GC::Profiler's sweeping time is accumulated all slotko12013-05-212-53/+61
| | | | | | | | | | | sweeping time. At lazy GC, GC::Profiler makes new record entry for each lazy_sweep(). In this change, accumulating all slot_sweep() time. And change indentation. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40876 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_dir_m17n.rb: sort Dir.entriesnobu2013-05-211-0/+1
| | | | | | | * test/ruby/test_dir_m17n.rb (test_entries_compose): the order on the filesystem does not matter, so sort Dir.entries result to compare. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40875 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * remove trailing spaces.nobu2013-05-211-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40874 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * properties.nobu2013-05-210-0/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40873 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (rdoc-bench): add a benchmark ruleko12013-05-213-0/+37
| | | | | | | | | | | | using RDoc. Generate all rdoc related files (same as `make rdoc') in temporary directory and remove them. Excecution time, GC::Profiler and results of GC.stat are printed. * tool/rdocbench.rb: added for `rdoc-bench'. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * remove trailing spaces.nobu2013-05-211-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40871 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (gc_profile_dump_on): `count' should be (int) because itko12013-05-212-15/+22
| | | | | | | | | can be negative number. And use pointer for `record' (don't copy). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40870 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* force_encoding expected result as filesystem encodingnaruse2013-05-211-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40869 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* dir.c: compose HFS file namesnobu2013-05-203-1/+42
| | | | | | | | * dir.c (dir_each): compose HFS file names from UTF8-MAC. [ruby-core:48745] [Bug #7267] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40868 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_dir_m17n.rb: assert_separatelynobu2013-05-201-64/+82
| | | | | | | | * test/ruby/test_dir_m17n.rb: prefer assert_separately over assert_ruby_status for more descriptive messages. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40867 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* envutil.rb: envutil in childnobu2013-05-202-1/+7
| | | | | | | | * test/ruby/envutil.rb (assert_separately): require envutil in the child process too. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40866 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2013-05-21svn2013-05-201-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40865 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* string.c: infectnobu2013-05-202-0/+5
| | | | | | | * string.c (rb_str_conv_enc_opts): should infect. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40864 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* reapply r40839 [Fixes GH-313]zzak2013-05-201-14/+24
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40863 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/httpservlet/filehandler.rb (set_dir_list): add NameWidth option.nobu2013-05-201-8/+26
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40862 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/httpservlet/filehandler.rb (set_dir_list): use TABLE.nobu2013-05-201-10/+19
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40861 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/httpservlet/filehandler.rb (set_dir_list): set charset.nobu2013-05-201-1/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40860 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/httpservlet/filehandler.rb (set_dir_list): share title and h1.nobu2013-05-201-2/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40859 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Revert r40839 for demozzak2013-05-201-24/+14
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40858 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/set.rb (Set#delete_if, Set#keep_if): Avoid blockless call ofknu2013-05-202-3/+9
| | | | | | | proc, which is not portable to JRuby. Replace &method() with faster and simpler literal blocks while at it. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40857 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/e2mmap.rb: Format of E2MM documentationzzak2013-05-202-6/+14
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40856 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb: nodoc this filezzak2013-05-202-0/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40855 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cmath.rb: Remove duplicate RDoc heading from overviewzzak2013-05-202-2/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40854 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/securerandom.rb: Update position of overview for RDoczzak2013-05-202-27/+25
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40853 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * math.c: improve and fix documentation of sin, tan and logeregon2013-05-202-9/+13
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40852 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/logger.rb (Logger::Application): show namespace in documentationeregon2013-05-202-3/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40851 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/pp.rb: Revert part of r40834 and nodoc PP::ObjectMixinzzak2013-05-202-29/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40850 b2dd03c8-39d4-4d8f-98ff-823fe69b080e