aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * remove trailing spaces.nobu2013-06-071-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41129 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c: use oldgen bitmap as initial mark bitmap when mijor gc.tarui2013-06-072-89/+77
| | | | | | | | | | so can skip oldgen bitmap check around mark & sweep. * gc.c (slot_sweep_body): change scan algorithm for performance: from object's pointer base to bitmap one. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41128 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c: introduce oldgen bitmap for preparing performance tuning.tarui2013-06-072-13/+39
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41127 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (MARKED_IN_BITMAP, MARK_IN_BITMAP, CLEAR_IN_BITMAP): bringtarui2013-06-072-6/+11
| | | | | | | bitmap macros in one place, and introduce BITMAP_BIT. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41126 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * remove trailing spaces.nobu2013-06-071-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41125 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (ary_new): change order of allocation in order tarui2013-06-072-10/+11
| | | | | | | to remove FL_OLDGEN operation. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41124 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/rdocbench.rb: add gc total time infomation.tarui2013-06-072-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41123 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* typozzak2013-06-071-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41122 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c: remove "Sunny" terminology.ko12013-06-072-22/+26
| | | | | | | | | "Sunny" doesn't mean antonym of "Shady" (questionable, doubtful, etc). Instead of "Suuny", use "non-shady" or "normal". git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41121 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (rb_int_import): explicitly casting BDIGIT_DBL to BDIGITmrkn2013-06-072-1/+6
| | | | | | to prevent warning. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41120 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Arguments renamed.akr2013-06-062-5/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41119 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix the class name.akr2013-06-061-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41118 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * internal.h (rb_int_export): countp argument is split intoakr2013-06-065-20/+26
| | | | | | | | | | | | wordcount_allocated and wordcount. * bignum.c (rb_int_export): Follow the above change. * pack.c (pack_pack): Ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41117 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * NEWS: describe a compatibility issue of Numeric#quomrkn2013-06-062-0/+9
| | | | | | introduced at r41109. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41116 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * NEWS: fix style.mrkn2013-06-062-3/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41115 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c: remove unused ID id_to_r introduced in r41109.eregon2013-06-062-2/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41114 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * properties.nobu2013-06-060-0/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41113 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2013-06-07svn2013-06-061-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41112 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (rb_int_import): New function.akr2013-06-067-27/+249
| | | | | | | | | | | (int_import_push_bits): Ditto. * internal.h (rb_int_import): Declared. * pack.c (pack_unpack): Use rb_int_import for BER compressed integer. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41111 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* vm_method.c: change argument of set_visibilitynobu2013-06-061-3/+3
| | | | | | | * vm_method.c (set_visibility): use rb_method_flag_t as well as set_method_visibility() and rename argument. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41110 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c (num_quo): Use to_r method to convert the receiver tomrkn2013-06-063-3/+25
| | | | | | | | rational. [ruby-core:41575] [Bug #5736] * test/ruby/test_numeric.rb: add a test for the above change. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41109 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * properties.nobu2013-06-060-0/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41108 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Specify dependencies.akr2013-06-061-0/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41107 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: Invoke RUBY_REPLACE_TYPE for size_t.akr2013-06-068-41/+467
| | | | | | | | | | | | | | | | | | | | | Don't invoke RUBY_CHECK_PRINTF_PREFIX for size_t to avoid conflict with RUBY_REPLACE_TYPE. * internal.h (rb_absint_size): Declared. (rb_absint_size_in_word): Ditto. (rb_int_export): Ditto. * bignum.c (rb_absint_size): New function. (rb_absint_size_in_word): Ditto. (int_export_fill_dd): Ditto. (int_export_take_lowbits): Ditto. (rb_int_export): Ditto. * pack.c (pack_pack): Use rb_int_export for BER compressed integer. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41106 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/date/date_core.c: fixed coding error [ruby-core:55337].tadf2013-06-062-10/+15
| | | | | | | reported by Riley Lynch. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41105 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/objspace/object_tracing.c: rename allocation_info tonari2013-06-062-6/+12
| | | | | | | lookup_allocation_info. At times I confused "struct allocation_info" with "function allocation_info". git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41104 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/objspace/object_tracing.c: allocation_info function isn'tnari2013-06-062-1/+6
| | | | | | called by any other file. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41103 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Remove empty directories.knu2013-06-060-0/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41102 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix a typokazu2013-06-061-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41101 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* vm_method.c: top_private rdocnobu2013-06-061-0/+12
| | | | | | * vm_method.c (top_private): copy rdoc from top_public. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41100 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c (num_quo): should return a Float for a Float argument.mrkn2013-06-064-9/+26
| | | | | | | | | | [ruby-dev:44710] [Bug #5515] * test/ruby/test_fixnum.rb: Add an assertion for the above change. * test/ruby/test_bignum.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41099 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * remove trailing spaces.nobu2013-06-051-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41098 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (gc_mark): get rid of pushing useless objests.tarui2013-06-052-19/+23
| | | | | | | | | | | | | | * gc.c (rgengc_rememberset_mark): bypass gc_mark() in order to push sunny old object at minor gc. * gc.c (gc_mark_children): move sunny old check to gc_mark(). * gc.c (rgengc_check_shady): remove DEMOTE that already unnecessary. * gc.c (rb_gc_writebarrier): ditto. change sunny old check point in order to save mark stack and remove unnatural rest_sweep & demote. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41097 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * remove trailing spaces.nobu2013-06-051-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41096 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (rgengc_rememberset_mark): change scan algorithm for performance:tarui2013-06-052-20/+30
| | | | | | | from object's pointer base to bitmap one. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41095 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (NET_LUID): define it on MinGW32.naruse2013-06-052-1/+7
| | | | | | | mingw-w64 has NET_LUID but mingw32 (mingw.org) still doesn't have NET_LUID. reported by taco on IRC git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41094 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2013-06-06svn2013-06-051-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41093 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (String#b): Allow code range scan to happen later soknu2013-06-053-1/+9
| | | | | | | ascii_only? on a result string returns the correct value. [ruby-core:55315] [Bug #8496] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41092 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/imap.rb (capability_response): should ignore trailingshugo2013-06-053-0/+19
| | | | | | | | spaces. Thanks, Peter Kovacs. [ruby-core:55024] [Bug #8415] * test/net/imap/test_imap_response_parser.rb: related test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41091 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (big_fdiv): Use nlz() instead of bdigbitsize().akr2013-06-052-27/+9
| | | | | | | (bdigbitsize): Removed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41090 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add description of test in commentkazu2013-06-051-0/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41089 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/ruby.h: fix alignment in comment.mrkn2013-06-052-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41088 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add parentheses for claritycharliesome2013-06-051-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41087 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * random.c (int_pair_to_real_inclusive): Add a cast to BDIGIT.akr2013-06-052-41/+37
| | | | | | | | | (random_load): Fix shift width for fixnums. Re-implement bignum extraction without ifdefs. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41086 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * remove trailing spaces.nobu2013-06-051-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41085 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* use attribute is more simple way for r41083naruse2013-06-051-5/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41084 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (before_gc_sweep): don't optimize it to avoid segv on Ubuntunaruse2013-06-052-0/+13
| | | | | | | 10.04 gcc 4.4. http://u32.rubyci.org/~chkbuild/ruby-trunk/log/20130527T190301Z.diff.html.gz git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41083 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/mkrunnable.rb: fix for native mswin compile.nobu2013-06-052-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41081 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/fileutils/test_fileutils.rb (TestFileUtils#test_mkdir): addnaruse2013-06-052-2/+7
| | | | | | EACCES for Windows. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41080 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (rb_big_pow): Don't need to multiply SIZEOF_BDIGITS.akr2013-06-042-20/+8
| | | | | | | | | Use nlz instead of bitlength_bdigit. (bitlength_bdigit): Removed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41079 b2dd03c8-39d4-4d8f-98ff-823fe69b080e