aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * lib/rubygems: Update to RubyGems master 612f85a. Notable changes:drbrain2013-11-2538-87/+586
| | | | | | | | | | | | Fixed installation and activation of git: and path: gems via Gem.use_gemdeps Improved documentation coverage * test/rubygems: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43845 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/xmlrpc.rb: [DOC] Fix link to xmlrpc4r site [Bug #9148]zzak2013-11-252-1/+6
| | | | | | | Patch by Giorgos Tsiftsis git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43844 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/uri/common.rb: [DOC] typo fixes by @vipulnsward [Fixes GH-456]zzak2013-11-253-3/+9
| | | | | | | | https://github.com/ruby/ruby/pull/456 * lib/uri/generic.rb: [DOC] ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43843 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/bigdecimal/bigdecimal.gemspec: bump BigDecimal to 1.2.3 forzzak2013-11-252-1/+6
| | | | | | | proper release date in RubyGems git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43842 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/bigdecimal/bigdecimal.gemspec: Remove Gem::Specification#datezzak2013-11-252-1/+6
| | | | | | | | We should rely on rubygems to create the date the gem was released for each version. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43841 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix typoskazu2013-11-251-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43840 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * internal.h: do not use ruby_sized_xrealloc() and ruby_sized_xfree()ko12013-11-255-4/+32
| | | | | | | | | | | | | | | if HAVE_MALLOC_USABLE_SIZE (or _WIN32) is defined. We don't need these function if malloc_usable_size() is available. * gc.c: catch up this change. * gc.c: define HAVE_MALLOC_USABLE_SIZE on _WIN32. * array.c (ary_resize_capa): do not use ruby_sized_xfree() with local variable to avoid "unused local variable" warning. This change only has few impact. * string.c (rb_str_resize): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43839 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/-ext-/tracepoint/test_tracepoint.rb: catch up GC.stat changesko12013-11-242-1/+6
| | | | | | | | at r43835. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43838 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c: continue to change OLDSPACE -> OLDMALLOC.ko12013-11-242-56/+87
| | | | | | | | | RGENGC_ESTIMATE_OLDSPACE -> RGENGC_ESTIMATE_OLDMALLOC. * gc.c: add a new major GC reason GPR_FLAG_MAJOR_BY_OLDMALLOC. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43837 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c: change terminlogy "..._num" to "..._slots" about slot opetaion.ko12013-11-242-30/+38
| | | | | | | | | | | * final_num -> final_slots * objspace_live_num() -> objspace_live_slots() * objspace_limit_num() -> objspace_limit_slots() * objspace_free_num() -> objspace_free_slots() git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43836 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (gc_stat): add internal information.ko12013-11-243-38/+101
| | | | | | | | | | | | | | | | | | | | | | | | * heap_swept_slot * malloc_increase * malloc_limit * remembered_shady_object * remembered_shady_object_limit * old_object * old_object_limit * oldmalloc_increase * oldmalloc_limit * gc.c (gc_stat): rename names. * heap_live_num -> heap_live_slot * heap_free_num -> heap_free_slot * heap_final_slot -> heap_final_slot Quote from RDoc of GC.stat(): "The contents of the hash are implementation specific and may be changed in the future." * test/ruby/test_gc.rb: catch up this change. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43835 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_gc.rb: catch up last commit.ko12013-11-242-6/+11
| | | | | | | | Now RUBY_GC_OLDSPACE_LIMIT(...) is RUBY_GC_OLDMALLOC_LIMIT(...). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43834 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c: change terminology OLDSPACE -> OLDMALLOC.ko12013-11-242-26/+37
| | | | | | | | | | | (oldspace -> oldmalloc for variable names) OLDSPACE is confusing because it is not includes slots. To more clearly, rename such as (oldspace_limit -> oldmalloc_limit). It is clear that it measures (estimates) malloc()'ed size. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43833 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2013-11-25svn2013-11-241-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43832 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * internal.h: use __builtin_bswap16() if possible.glass2013-11-243-0/+13
| | | | | | * configure.in: check existence of __builtin_bswap16(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43831 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (bigxor_int): Apply BIGLO for long in a BDIGIT expression.akr2013-11-242-3/+9
| | | | | | | | | | (bigor_int): Ditto. (bigand_int): Ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43830 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/defines.h (SIZEOF_ACTUAL_BDIGIT): Defined.akr2013-11-243-2/+14
| | | | | | | | | | * include/ruby/ruby.h (RBIGNUM_EMBED_LEN_MAX): Use SIZEOF_ACTUAL_BDIGIT instead of SIZEOF_BDIGITS. SIZEOF_BDIGITS can be different to sizeof(BDIGIT). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43829 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: adjust timezone and encoding.nobu2013-11-241-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43828 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/defines.h: Don't use int128_t for Bignum.akr2013-11-243-10/+9
| | | | | | | | | | It's not always faster. * bignum.c: Ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43827 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * NEWS: Add details about new debugging features and APIs.tmm12013-11-242-0/+19
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43826 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/csv.rb: Optimize header hashes by freezing string keys.jeg22013-11-244-1/+32
| | | | | | | | [ruby-core:58510] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43825 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/objspace/objspace_dump.c: test fixes and win32 compatibilitytmm12013-11-243-7/+18
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43824 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/csv.rb: If skip_lines is set to a String, convert it to a Regexpjeg22013-11-233-7/+23
| | | | | | | | | to prevent the alternative, which is that each line in the CSV gets converted to a Regexp when calling skip_lines#match. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/bigdecimal/bigdecimal.c (BigDecimal_power): Use FIX2LONG insteadmrkn2013-11-232-2/+7
| | | | | | of FIX2INT to avoid conversion error. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43822 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ruby.h: define RBIGNUM_EMBED_LEN_MAX by macrosnobu2013-11-232-3/+10
| | | | | | | * include/ruby/ruby.h (RBIGNUM_EMBED_LEN_MAX): define by macros defined in defines.h, instead of complex and repeated expression. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43821 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2013-11-24svn2013-11-231-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43820 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: fix a typo at r43744.nagachika2013-11-232-3/+3
| | | | | | * gc.c (is_mark_stack_empty): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43819 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/ruby.h (RBIGNUM_EMBED_LEN_MAX): Limit the value toakr2013-11-232-2/+10
| | | | | | | | less than 8. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43818 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/bigdecimal/lib/bigdecimal/math.rb (BigMath.E): Use BigMath.exp.mrkn2013-11-232-14/+6
| | | | | | [Feature #6857] [ruby-core:47130] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43817 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* expmrkn2013-11-232-11/+13
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43816 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/bigdecimal/bigdecimal.c (BigDecimal_div2): The signature wasmrkn2013-11-232-51/+60
| | | | | | | | | changed to allow us to pass arguments directly. * ext/bigdecimal/bigdecimal.c (BigDecimal_div3): Added for the role of the old BigDecimal_div2. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43815 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * append newline at EOF.nobu2013-11-231-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43814 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add NEWS about rb_gc_set_params() and rb_gc_count()nari2013-11-231-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43813 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix typotarui2013-11-231-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43812 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c: fix gloval variable name.ko12013-11-233-40/+123
| | | | | | | | | | | | | | | | | | | | | | Now we have following environments (and related variable names). * RUBY_GC_HEAP_INIT_SLOTS * RUBY_GC_HEAP_FREE_SLOTS * RUBY_GC_HEAP_GROWTH_FACTOR (new from 2.1) * RUBY_GC_HEAP_GROWTH_MAX_SLOTS (new from 2.1) * obsolete * RUBY_FREE_MIN -> RUBY_GC_HEAP_FREE_SLOTS (from 2.1) * RUBY_HEAP_MIN_SLOTS -> RUBY_GC_HEAP_INIT_SLOTS (from 2.1) * RUBY_GC_MALLOC_LIMIT * RUBY_GC_MALLOC_LIMIT_MAX (new from 2.1) * RUBY_GC_MALLOC_LIMIT_GROWTH_FACTOR (new from 2.1) * RUBY_GC_OLDSPACE_LIMIT (new from 2.1) * RUBY_GC_OLDSPACE_LIMIT_MAX (new from 2.1) * RUBY_GC_OLDSPACE_LIMIT_GROWTH_FACTOR (new from 2.1) * test/ruby/test_gc.rb: catch up this change. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43811 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * marshal.c (w_object): Use HASH_PROC_DEFAULT directly from internal.htmm12013-11-232-2/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43810 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c: Rename heap_pages_swept_num to heap_pages_swept_slots to clarify ↵tmm12013-11-222-15/+20
| | | | | | meaning (number of slots, not pages). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43809 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/set.rb (class SortedSet): Fix source_location for methods defined via ↵tmm12013-11-222-4/+9
| | | | | | eval. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43808 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rubygems: Update to RubyGems master dcce4ff. Important changesdrbrain2013-11-228-9/+57
| | | | | | | | | | | | | | in this commit: Remove automatic detection of gem dependencies files. This prevents a security hole as described in [ruby-core:58490] Fixed bugs for installing git gems. * test/rubygems: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43806 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2013-11-23svn2013-11-221-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43805 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_settracefunc.rb (test_tracepoint_thread): bugfix.tarui2013-11-221-1/+1
| | | | | | | | | | Take care about the thread switch between Thread.new and let to create_thread. TracePoint's block is sometimes run with create_thread == nil, so we have to perform Thread check later. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43804 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/bigdecimal/bigdecimal.c (BigDecimal_power):mrkn2013-11-222-1/+6
| | | | | | Round the result value only if the precision is given. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43803 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * transcode.c (str_transcode0): don't scrub invalid chars ifnaruse2013-11-223-1/+20
| | | | | | | str.encode doesn't have explicit invalid: :replace. workaround fix for see #8995 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43802 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix a typokazu2013-11-221-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43801 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/intern.h, internal.h: Expose rb_gc_count().nari2013-11-223-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43800 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/bigdecimal/bigdecimal.gemspec: version 1.2.2.mrkn2013-11-222-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43799 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/bigdecimal/bigdecimal.c (BigDecimal_data_type):mrkn2013-11-222-0/+7
| | | | | | Use RUBY_TYPED_FREE_IMMEDIATELY only if it is available. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43798 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (RUBY_ALIAS_FUNCTION_VOID): fix compile error.nobu2013-11-221-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43797 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/bigdecimal/bigdecimal.c (BigDecimal_power): Round the result value.mrkn2013-11-223-0/+13
| | | | | | | | [Bug #8818] [ruby-core:56802] * test/bigdecimal/test_bigdecimal.rb: Add a test for the above fix. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43796 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (heap_set_increment): accept minumum additional page number.ko12013-11-222-4/+17
| | | | | | | | | | * gc.c (gc_after_sweep): allocate pages to allocate at least RUBY_HEAP_MIN_SLOTS. [Bug #9137] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43795 b2dd03c8-39d4-4d8f-98ff-823fe69b080e