aboutsummaryrefslogtreecommitdiffstats
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* * eval.c (rb_mod_refine, mod_using, top_using): don't showshugo2013-07-311-0/+10
| | | | | | | | | | | warnings because Refinements are no longer experimental. [ruby-core:55993] [Feature #8632] * test/ruby/test_refinement.rb: related test. * NEWS: fixes for the above change. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42272 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/uri/common.rb (URI.decode_www_form_component):sorah2013-07-311-0/+5
| | | | | | Don't raise error when str includes multibyte characters. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42271 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_rindex): performance improvement by usingglass2013-07-311-0/+5
| | | | | | memrchr(3). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42269 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_rindex): refactoring and avoid to call str_nth() ifglass2013-07-311-0/+5
| | | | | | pos == 0. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42268 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add a reference to the related issue.knu2013-07-311-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42266 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/set.rb: [DOC] Add a couple of notes on Hash as storage.knu2013-07-311-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42265 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/set.rb: [DOC] Fix example result. Hash is now ordered.knu2013-07-311-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42264 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Use the term "sorted" instead "ordered" when mentioning SortSet.knu2013-07-311-0/+5
| | | | | | | * lib/set.rb: [DOC] Use the term "sorted" instead "ordered" when mentioning SortSet. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42263 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (big2str_struct): New structure.akr2013-07-311-0/+7
| | | | | | | | | | (big2str_orig): Use big2str_struct. (big2str_karatsuba): Ditto. (rb_big2str1): Ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42262 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add github url to changelog for r42260zzak2013-07-311-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42261 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rubygems.rb: [DOC] typo in url patch by @Red54 [Fixes #369]zzak2013-07-311-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42260 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rubygems: Import RubyGems from master as of commit 523551cdrbrain2013-07-301-0/+5
| | | | | | | * test/rubygems: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42257 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_hash.rb: add a test for enumeration order of Hash.glass2013-07-301-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42256 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add Set#intersect? and #disjoint?.knu2013-07-301-0/+6
| | | | | | | | * lib/set.rb (Set#intersect?, Set#disjoint?): Add new methods for testing if two sets have any element in common. [ruby-core:45641] [Feature #6588] Based on the code by marcandre. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42253 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* remove duplicated entrykazu2013-07-301-5/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42252 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* sprintf.c: QUOTE flagnobu2013-07-301-0/+10
| | | | | | | * sprintf.c (ruby__sfvextra): add QUOTE flag to escape unprintable characters. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42251 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/curses/extconf.rb: [DOC] nodoc to reduce Object pollutionzzak2013-07-301-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42248 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sizes.c (Init_sizes): Define sizes only if the type actually exists.akr2013-07-291-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42245 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* sizes.c: RbConfig::SIZEOFnobu2013-07-291-0/+4
| | | | | | * sizes.c (Init_sizes): define RbConfig::SIZEOF. [Feature #8568] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42244 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/curses/curses.c: [DOC] Update location of sampleszzak2013-07-291-0/+7
| | | | | | | | | * samples/curses/*: Move Curses samples and refactor from mixin The samples are included in rdoc for module and use of mixin is confusing git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42241 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (LOG2_KARATSUBA_BIG2STR_DIGITS): Renamed fromakr2013-07-291-0/+6
| | | | | | | | | LOG2_KARATSUBA_DIGITS. (KARATSUBA_BIG2STR_DIGITS): Renamed from KARATSUBA_DIGITS. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42240 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * hash.c (rb_hash_compare_by_id): add function prototype.glass2013-07-291-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42239 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * hash.c (rb_hash_compare_by_id): don't call rb_hash_rehash()glass2013-07-291-0/+5
| | | | | | if self.compare_by_identity? == true. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42238 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * hash.c (rb_hash_assoc): performance improvement by replacingglass2013-07-291-0/+8
| | | | | | | | | compare function in RHASH(hash)->ntbl->type temporarily like r42224. it falls back to rb_hash_foreach() if st_lookup() doesn't find the key. * test/ruby/test_hash.rb: add a test for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42237 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add a frozenness check test for Enumerator::Lazy#initialize.knu2013-07-291-0/+8
| | | | | | | | | | * test/ruby/test_lazy_enumerator.rb (TestLazyEnumerator#test_initialize): Make sure Enumerator::Lazy#initialize raises error if the object is frozen. The check was performed by rb_ivar_set() before rb_check_frozen() was added to enumerator_init(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42236 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Update ChangeLog.knu2013-07-291-1/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42235 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add a frozenness check to Enumerator#initialize.knu2013-07-291-0/+8
| | | | | | | | | | * enumerator.c (enumerator_init): Add a frozenness check to prevent a frozen Enumerator object from being reinitialized with a different enumerable object. This is the least we should do, and more fixes will follow. [Fixes GH-368] Patch by Kenichi Kamiya. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42233 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * hash.c (rb_hash_assoc): revert r42224. table->type->compare isglass2013-07-291-0/+7
| | | | | | | | called only if hashes are matched. * test/ruby/test_hash.rb: add a test to check using #== to compare. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42232 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* parse.y, vm_eval.c: file encoding in evalnobu2013-07-291-0/+12
| | | | | | | | | | | * parse.y (yycompile): store file name as String to keep the encoding. * parse.y (rb_parser_compile_string_path, rb_parser_compile_file_path): new functions to pass file name as a String. * parse.y (gettable_gen): return a copy of the original file name, not a copy in filesystem encoding. * vm_eval.c (eval_string_with_cref): use Qundef instead of "(eval)". git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42231 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* hash.c: copied identhashnobu2013-07-291-0/+15
| | | | | | | | * hash.c (rb_hash_initialize_copy): copy st_table type even if empty. [ruby-core:56256] [Bug #8703] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42229 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ChangeLog: commit missnobu2013-07-291-15/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42228 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* hash.c: copied identhashnobu2013-07-291-0/+5
| | | | | | | | * hash.c (rb_hash_initialize_copy): copy st_table type even if empty. [ruby-core:56256] [Bug #8703] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42227 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* hash.c: clear before copynobu2013-07-291-0/+5
| | | | | | | | * hash.c (rb_hash_initialize_copy): clear old table before copy new table. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42226 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* hash.c: copy memberwisenobu2013-07-291-0/+5
| | | | | | | | * hash.c (rb_hash_assoc): aggregate object can be initialized only with link time constants. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42225 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * hash.c (rb_hash_assoc): performance improvement by replacingglass2013-07-291-0/+5
| | | | | | compare function in RHASH(hash)->ntbl->type temporarily. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42224 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* mkmf.rb: expand all macrosnobu2013-07-291-0/+8
| | | | | | | | | * lib/mkmf.rb (xsystem): expand environment variable in all macros not expanded with RbConfig. [Bug #8702] * test/mkmf/test_framework.rb (create_framework): replace all $@ not only once. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42223 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* win32.c: use enumnobu2013-07-281-0/+5
| | | | | | | * win32/win32.c (rb_w32_pipe): use enum for compile time constants, instead of const int for debugging. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42221 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (bigdivrem): Specialized implementation added forakr2013-07-281-0/+5
| | | | | | | | nx == 2 && ny == 2 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42218 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (io_getpartial): use rb_str_locktmp_ensure().glass2013-07-281-0/+9
| | | | | | | | | | [ruby-core:56121] [Bug #8669] * io.c (rb_io_sysread): ditto. * test/ruby/test_io.rb: add tests for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42214 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* extmk.rb: static extensionsnobu2013-07-281-0/+5
| | | | | | | * ext/extmk.rb (extmake): should make static libraries for extensions to be statically linked. [Bug #7948] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42213 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c: add internal API rb_str_locktmp_ensure().glass2013-07-281-0/+9
| | | | | | | | | * io.c (io_fread): use rb_str_locktmp_ensure(). [ruby-core:56121] [Bug #8669] * test/ruby/test_io.rb: add a test for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42212 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (interpret_seek_whence): support SEEK_DATA and SEEK_HOLE.glass2013-07-281-0/+8
| | | | | | | | | These are whences for lseek(2) supported by Linux since version 3.1. [ruby-core:56123] [Feature #8671] * test/ruby/test_io.rb: Add tests for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42211 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (absint_numwords_generic): The char_bit variable changedakr2013-07-281-0/+5
| | | | | | | | to a static constant. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42210 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c: Constify bary_* functions.akr2013-07-281-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42209 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/intern.h (rb_absint_size): Declaration moved fromakr2013-07-281-0/+8
| | | | | | | | | | | internal.h to calculate required buffer size to pack integers. (rb_absint_numwords): Ditto. (rb_absint_singlebit_p): Ditto. [ruby-core:42813] [Feature #6065] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42208 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* win32.c: fix pipe name formattingnobu2013-07-281-0/+5
| | | | | | | * win32/win32.c (rb_w32_pipe): fix pipe name formatting. as "%x" may not contain '0' at all, fill at fixed position instead. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42207 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (rb_big_size): Return the bignum "bytewise" size.akr2013-07-271-0/+6
| | | | | | | | | [ruby-core:55578] [Feature #8553] This is accepted by matz on DevelopersMeeting20130727Japan. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42204 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/intern.h (rb_integer_pack): Declaration moved fromakr2013-07-271-0/+7
| | | | | | | | | | internal.h. (rb_integer_unpack): Ditto. [ruby-core:42813] [Feature #6065] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42202 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix a typokazu2013-07-271-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42200 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * NEWS: Add a new feature that REXML::Parsers::StreamParserkou2013-07-261-0/+5
| | | | | | | supports "entity" event. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42199 b2dd03c8-39d4-4d8f-98ff-823fe69b080e