aboutsummaryrefslogtreecommitdiffstats
path: root/NEWS
Commit message (Collapse)AuthorAgeFilesLines
* fix typonobu2014-04-181-2/+2
| | | | | | * NEWS, README.EXT: fix typo. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45632 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* string.c: share middle of a stringnobu2014-04-181-0/+5
| | | | | | | | | * string.c (rb_str_new_frozen): consider the shared string at middle. * string.c (rb_str_subseq, rb_str_substr, str_byte_substr): share middle of a string. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45628 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* string.c: rb_str_cat_cstrnobu2014-04-171-0/+2
| | | | | | | | * string.c (rb_str_cat): make non-buf version main. * string.c (rb_str_cat_cstr): rename from rb_str_cat2. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45609 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/matrix.rb: Add Matrix#cofactor [fix GH-568]marcandre2014-04-061-0/+2
| | | | | | Patch by gogotanaka git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45528 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/matrix.rb: Add first_minor [fix GH-568]marcandre2014-04-061-0/+5
| | | | | | Patch by gogotanaka git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45527 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* [DOC] Fix NEWS about Symbol GCnari2014-03-271-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* [DOC] Add NEWS about Symbol GCnari2014-03-261-0/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45440 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* [DOC]akr2014-03-241-4/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45398 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* st.c: use power-of-two sizes to avoid slow modulo opsnormal2014-03-221-0/+6
| | | | | | | | | | | | | | | | | | * st.c (hash_pos): use bitwise AND to avoid slow modulo op (new_size): power-of-two sizes for hash_pos change (st_numhash): adjust for common keys due to lack of prime modulo [Feature #9425] * hash.c (rb_any_hash): right shift for symbols * benchmark/bm_hash_aref_miss.rb: added to show improvement * benchmark/bm_hash_aref_sym_long.rb: ditto * benchmark/bm_hash_aref_str.rb: ditto * benchmark/bm_hash_aref_sym.rb: ditto * benchmark/bm_hash_ident_num.rb: added to prevent regression * benchmark/bm_hash_ident_obj.rb: ditto * benchmark/bm_hash_ident_str.rb: ditto * benchmark/bm_hash_ident_sym.rb: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45384 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* NEWS: change at r45327nobu2014-03-141-0/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45334 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* [DOC] Add NEWS about Find#find, Pathname#find.ktsj2014-03-081-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45294 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * NEWS: [DOC] Update doc regarding filesystem load when flushing IO [ci skip]zzak2014-03-021-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45259 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * NEWS: mention about the change of r45254.usa2014-03-021-0/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45255 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (sym_find): Add Symbol.find(str), which returns whether givennaruse2014-02-251-0/+3
| | | | | | string is defined as symbol or not. [Feature #7854] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45175 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add note about "struct RBignum is hidden.".akr2014-02-151-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44964 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Describe "Deprecated APIs removed." and "struct RBignum is hidden."akr2014-02-151-0/+32
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44963 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enum.c: Enumerable#{min,min_by,max,max_by} extended to take anakr2014-02-141-0/+7
| | | | | | | | | | | | | | | | | | | | | | | optional argument. (nmin_cmp): New function. (nmin_block_cmp): Ditto (nmin_filter): Ditto. (nmin_i): Ditto. (nmin_run): Ditto. (enum_min): Call nmin_run if the optional argument is given. (nmin_max): Ditto. (nmin_min_by): Ditto. (nmin_max_by): Ditto. * range.c: Range#{min,max} extended to take an optional argument. (range_min): Call range_first if the optional argument is given. (range_max): Call rb_call_super if the optional argument is given. [ruby-core:57111] [Feature #8887] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44958 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* old ChangeLog and NEWS move to dockazu2013-12-251-348/+2
| | | | | | | | | * doc/NEWS-2.1.0: moved from NEWS * doc/ChangeLog-2.1.0: moved ChangeLog older than created ruby_2_0_0 branch * NEWS: NEWS for 2.2.0 that describes changes since 2.1.0 * ChangeLog: ChangeLog since created v2_1_0_rc1 tag (branch point of ruby_2_1 branch) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44427 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix a typokazu2013-12-201-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44304 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* hash.c: revertnobu2013-12-171-3/+4
| | | | | | | | * hash.c (rb_hash_reject): revert to deprecated behavior, with warnings, due to compatibility for HashWithDifferentAccess. [ruby-core:59154] [Bug #9223] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44263 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * NEWS (RDoc): Update version number so I don't have to change itdrbrain2013-12-161-2/+2
| | | | | | | for the final release. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44251 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * NEWS: mention about Hash#reject.nobu2013-12-161-0/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44248 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/curses, sample/curses: removed curses.shugo2013-12-091-0/+5
| | | | | | * NEWS: added an entry for the above change. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44089 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * NEWS: Update RubyGems entry with notable features.drbrain2013-12-081-2/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44083 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* edit NEWS to move texts correct placesnaruse2013-12-081-8/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44072 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * NEWS: [DOC] update NEWS about GC.ktsj2013-12-081-2/+15
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* gc.c: add GC.latest_gc_info()tmm12013-12-051-0/+2
| | | | | | | | | | | | | | | | | | * gc.c (struct rb_objspace): rename internal last_collection_flags to latest_gc_info * gc.c (gc_latest_collection_info): add GC.latest_gc_info() with similar behavior to GC.stat() * gc.c (rb_gc_latest_gc_info): new c-api for above * gc.c (gc_stat_internal): remove :last_collection_flags from GC.stat * gc.c (gc_profile_decode_flags): remove GC::Profiler.decode_flags * include/ruby/intern.h (rb_gc_latest_gc_info): export new c-api * test/ruby/test_gc.rb (class TestGc): test for new behavior * NEWS: note about new api * gc.c (gc_stat_internal): raise TypeError on wrong type * gc.c (gc_stat): fix error message git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44008 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* gc.c: expose GC.stat() to C-api via rb_gc_stat()tmm12013-12-051-1/+5
| | | | | | | | | | | | | | | * include/ruby/intern.h: add rb_gc_stat() for access to GC.stat variables from c-api * gc.c (rb_gc_stat): new c-api method. accepts either VALUE hash like GC.stat, or VALUE symbol key and returns size_t directly. the second form is useful to avoid allocations, i.e. for usage inside INTERNAL_EVENT_GC tracepoints. * gc.c (gc_stat): add GC.stat(:key) to return single value instead of hash * gc.c (gc_stat_internal): helper method to retrieve single or all stat values * test/ruby/test_gc.rb (class TestGc): test for new behavior * NEWS: note about this new api git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44005 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* gc.c: split GC_END event into GC_END_MARK and GC_END_SWEEPtmm12013-12-051-2/+0
| | | | | | | | | | | | | | | | * include/ruby/ruby.h: remove INTERNAL_EVENT_GC_END and replace with two new events: GC_END_MARK and GC_END_SWEEP * gc.c (gc_after_sweep): emit GC_END_SWEEP after lazy sweep is done * gc.c (gc_marks_body): emit GC_END_MARK at end of minor/major mark * ext/-test-/tracepoint/tracepoint.c (struct tracepoint_track): tests for new events. * test/-ext-/tracepoint/test_tracepoint.rb (class TestTracepointObj): ditto. * NEWS: remove ObjectSpace.after_gc_*_hook. These are only a sample, and will be removed before ruby 2.1. * ext/objspace/gc_hook.c: remove ObjectSpace.after_gc_end_hook= git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43997 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add a description about string-scrub.gem to NEWSnaruse2013-12-031-0/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43972 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_trace.c: prohibit to specify normal events and internal eventsko12013-11-261-0/+2
| | | | | | | | | | | simultaneously. I will introduce special care for internal events later. * ext/-test-/tracepoint/tracepoint.c: test this behavior. * test/-ext-/tracepoint/test_tracepoint.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43854 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * NEWS: Add ObjectSpace.after_gc_{start,end}_hook=tmm12013-11-251-0/+2
| | | | | | * ext/objspace/objspace_dump.c: [DOC] catch up dump/dump_all to r43679 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43847 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * NEWS: Add details about new debugging features and APIs.tmm12013-11-241-0/+15
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43826 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
* Update NEWSnaruse2013-11-221-19/+19
| | | | | | | * rdoc and rubygems are preview 2 * objspace is compatible changes git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43793 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix typoskazu2013-11-101-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43642 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/timeout.rb: Added note about change from #8730 [Fixes GH-440]zzak2013-11-101-1/+1
| | | | | | | | * NEWS: Improve grammar on change to Timeout Patched by @srawlins in https://github.com/ruby/ruby/pull/440 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43640 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Exception#causenobu2013-11-101-0/+5
| | | | | | * NEWS (Core classes updates): add Exception#cause. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43638 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* parse.y: remove "f" suffix [ruby-core:57966] [Feature #9042]nobu2013-11-101-2/+0
| | | | | | | | | | | | | | | | | | | | | | revert r42847 "test_string.rb: add test string encoding" revert r42846 "parse.y: freeze in advance to reduce objects" revert r42843 "parse.y: deduplicate frozen string literals" revert r42780 "test_string.rb: yet another test" revert r42779 "parse.y: valid suffix word only" revert r42778 "test_string.rb: remove duplicated code" revert r42775 "parse.y: force_encoding" This reverts commit 93ea04ecec7639ca8d0e58948e78461434782ecc. revert r42773 "Add frozen string literals" git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c: Add Array#to_h [Feature #7292]marcandre2013-10-231-0/+8
| | | | | | * enum.c: Add Enumerable#to_h git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43401 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/tsort.rb (TSort.tsort): Extracted from TSort#tsort.akr2013-10-171-0/+4
| | | | | | | | | | | (TSort.tsort_each): Extracted from TSort#tsort_each. (TSort.strongly_connected_components): Extracted from TSort#strongly_connected_components. (TSort.each_strongly_connected_component): Extracted from TSort#each_strongly_connected_component. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43342 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/tsort.rb (TSort.each_strongly_connected_component_from):akr2013-10-171-0/+4
| | | | | | | | Extracted from TSort#each_strongly_connected_component_from. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43326 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * NEWS: add a line into NEWS for last commit.ko12013-10-161-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43302 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * NEWS (with all sufficient information):drbrain2013-10-111-0/+11
| | | | | | | | | | | * lib/rake: Update to rake 10.1.0 * bin/rake: ditto. * test/rake: ditto. * NEWS: Update NEWS to include rake 10.1.0 and links to release notes. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43264 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* NEWS: timeoutnobu2013-10-061-0/+4
| | | | | | * NEWS (Stdlib updates): uptdate of timeout. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43159 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add NEWS about RbConfig::SIZEOFnaruse2013-10-021-0/+4
| | | | | | https://bugs.ruby-lang.org/issues/8568 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43115 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/objspace/object_tracing.c: add new 3 methods to control tracing.ko12013-09-301-0/+12
| | | | | | | | | | | | | * ObjectSpace::trace_object_allocations_start * ObjectSpace::trace_object_allocations_stop * ObjectSpace::trace_object_allocations_clear And some refactoring. * test/objspace/test_objspace.rb: add a test for new methods. * NEWS: add a description for new methods. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43095 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* [DOC]akr2013-09-271-12/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43073 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* NEWS: required keyword argumentsnobu2013-09-251-0/+3
| | | | | | * NEWS (Language changes): mention about required keyword arguments. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43037 b2dd03c8-39d4-4d8f-98ff-823fe69b080e