aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix a typo.akr2013-06-071-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.oc (rb_absint_size): Declare a variable, i, just before usedakr2013-06-072-8/+19
| | | | | | | | | to suppress a warning. (rb_int_export): Ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41140 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (rb_absint_size): explicit cast to BDIGIT to avoid implicitcharliesome2013-06-072-3/+10
| | | | | | | | 64 bit to 32 bit shortening warning * bignum.c (rb_int_export): ditto * bignum.c (int_import_push_bits): ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41139 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * internal.h (RCLASS_SUPER): use descriptive variable namecharliesome2013-06-072-5/+10
| | | | | | * internal.h (RCLASS_SET_SUPER): ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41138 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix a typo for r41123kazu2013-06-071-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41137 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix a typo for r41128kazu2013-06-071-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41136 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/json/fbuffer/fbuffer.h (fbuffer_append_str): change the place ofnaruse2013-06-072-2/+7
| | | | | | RB_GC_GUARD. it should be after the object is used. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (before_gc_sweep): noinline can also avoid the segv instead ofnaruse2013-06-072-1/+6
| | | | | | -O0 of r41084. this way is expected less slow. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41134 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* adjust stylenobu2013-06-072-6/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41133 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * rational.c (numeric_quo): move num_quo in numeric.c to numeric_quomrkn2013-06-074-21/+43
| | | | | | | | | | | in rational.c to refer canonicalization state for mathn support. [ruby-core:41575] [Bug #5736] * numeric.c (num_quo): ditto. * test/test_mathn.rb: add a test for the change at r41109. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41132 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (gc_clear_slot_bits): used only if no RGenGC.nobu2013-06-071-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41131 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* use NUM2SIZET and SIZET2NUMnobu2013-06-075-12/+19
| | | | | | | | | | | | | * configure.in: revert r41106. size_t may not be unsigned * bignum.c (rb_absint_size_in_word, rb_int_export, rb_int_import): use NUM2SIZET() and SIZET2NUM() already defined in ruby/ruby.h. * ext/-test-/bignum/export.c (rb_int_export_m): ditto. * ext/-test-/bignum/import.c (rb_int_import_m): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41130 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 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