summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-02-17* tool/transcode-tblgen.rb (import_ucm): don't use \h because thenaruse
script should work with ruby 1.8. * tool/enc-unicode.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34650 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-16* enum.c (id_lshift): use constant ID.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34648 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-16* ext/dbm/extconf.rb: refactored to split too long conditions.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34647 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-16* test/dbm/test_dbm.rb: fix skip condition for libgdbm 1.8.0 or prior.akr
reported by Bohuslav Kabrda. [ruby-core:42685] [Bug #6036] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34646 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-16* 2012-02-17svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34645 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-16* ext/dbm/extconf.rb: check _DB_H_ macro unavailable exceptakr
Berkeley DB library. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34644 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-15* insns.def (splatarray): make new array if flag is set.nobu
* compile.c (iseq_compile_each): make new array with splat. [ruby-core:21901][Feature #1125] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34633 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-15* 2012-02-16svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34632 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-15lib/abbrev.rb (Array#abbrev): add missing '"' in documentation.kazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34631 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-15* ChangeLog: add ticket ref of r34629.nagachika
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34630 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-15* cont.c (rb_fiber_reset_root_local_storage): add a new function tonagachika
restore rb_thread_t::local_storage. * cont.c (rb_obj_is_fiber): add a new function to tell finalizer to prevent fibers from destroy. * gc.c (rb_objspace_call_finalizer): don't sweep fibers at finalizing objspace. * internal.h (rb_fiber_reset_root_local_storage, rb_obj_is_fiber): add prototypes. * vm.c (ruby_vm_destruct): reset main thread's local_storage before free main thread. rb_thread_t::local_storage is replaced by fiber's local storage when forked from fiber, and it should be already freed when the fiber was destroyed. * test/ruby/test_fiber.rb (test_fork_from_fiber): add test for fork from fiber. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34629 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-15fix a typokazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34628 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-15* ext/fiddle/closure.c (callback): deal with unsinged integers.nobu
[ruby-core:42458][Bug #5991][Bug #6022] * ext/fiddle/conversions.c (value_to_generic, generic_to_value): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34627 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-15* ext/fiddle/closure.c (callback): same as r34506.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34626 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-15Add test for r34624.naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34625 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-15* io.c (io_strsetbuf): call rb_str_modify to make str independentnaruse
before calling rb_str_set_len for r34580. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34624 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-15Add more description about Shift_JIS and CP50220.naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34623 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-15* ext/zlib/zlib.c (Init_zlib): Added Zlib::TEXT and note thatdrbrain
Zlib::ASCII is deprecated in zlib 1.2.3 and newer. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34622 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-15* ext/zlib/zlib.c: Move constant descriptions to constants. Removedrbrain
extra comment block at the top of Init_zlib(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34621 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-15* lib/ostruct.rb: Create getters and setters after dup.marcandre
[Bug #6028] [rubyspecs:0380bcc] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-15* lib/ostruct.rb: Simplify and fix rdoc.marcandre
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34619 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-15* gc.c (HEAP_BITMAP_LIMIT): HEAP_BITMAP_LIMIT is computed on thenari
basis of HEAP_SIZE because it must covers a whole heap block. [ruby-trunk - Bug #6006] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34618 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-15* ext/zlib/zlib.c (Init_zlib): Added Zlib::FIXED and Zlib::RLEdrbrain
strategies. * NEWS: Add note about the new Zlib constants. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34614 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-15Correct documentation of r34608.naruse
* correct explanation of ASCII-8BIT. * "Locale encoding" is the name of the encoding derived from Encoding.locale_encoding. Its correct name is "Script encoding". * Add Locale encoding and Filesystem encoding. * default external is set by locale encoding if -E is not given. * functional methods normally written as functional style on ruby's doc. * fix typo. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34613 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-15* ext/zlib/zlib.c: Improve documentation. [ruby-trunk - Bug #5948]drbrain
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34612 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-15Temporary fix not to use non ASCII.naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34610 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-14* encoding.c (Init_Encoding): Add IO example of internal and externaldrbrain
encoding. Fixed a typo in the force_encoding example. [#5949] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34609 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-14* encoding.c (Init_Encoding): Add Encoding documentation.drbrain
[ruby-trunk - Bug #5949] * encoding.c (rb_set_default_external): Fix typo in documentation. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34608 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-14* 2012-02-15svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34606 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-14Set encoding as ASCII-8BIT. [Bug #6027]naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34605 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-14* gc.c (CEILDIV): rename to a appropriate name.nari
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34599 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-14added bug refnari
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34598 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-14* gc.c (assign_heap_slot): SEGV happens cause on 64-bit platformnari
sometime there should be `objs-=2` instead of `objs--`. patched by Sokolov Yura. https://github.com/ruby/ruby/pull/92 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34597 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-14* io.c (io_setstrbuf): cut down the buffer if longer.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34592 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-14* lib/test/unit/assertions.rb (build_message): skip escapednobu
question marks. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34589 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-14* variable.c (autoload_const_set, autoload_require): fixnobu
signatures. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34588 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-13* process.c (proc_wait): Change typo "SystemError" todrbrain
"SystemCallError". [ruby-trunk - Bug #5962] * process.c (proc_wait2): ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34587 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-13* enumerator.c: Document use of Enumerator.new for creating a lazydrbrain
enumeration for filtering/chaining. [ruby-trunk - Feature #707] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34586 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-13* 2012-02-14svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34585 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-13Mention Kernel#respond_to?.knu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34584 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-13* vm_method.c (rb_method_boundp):knu
obj.respond_to?(:a_protected_method) should return false because calling a protected method may cause NoMethodError if called from outside the class inheritance tree. Kernel#respond_to? is mostly used to test if it is safe to call a method, so the false positive should be avoided. [ruby-dev:40461] [ruby-dev:41739] [ruby-dev:41837] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34582 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-13* gc.c (HEAP_OBJ_LIMIT, HEAP_BITMAP_LIMIT): HEAP_OBJ_LIMIT usednari
`sizeof(struct heaps_slot)` while heap is currently allocated with `struct heaps_header`. HEAP_BITMAP_LIMIT were calculated from `HEAP_OBJ_LIMIT/sizeof(uintptr_t)` - one Byte for each object, not one Bit. [Bug #6006] patched by Sokolov Yura. https://github.com/ruby/ruby/pull/92 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34581 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-13* io.c (io_setstrbuf): defer resizing buffer string until data isnobu
read actually. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34580 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-13* 2012-02-13svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34577 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-13* io.c (Init_IO): use directive hack to make ARGF documentablenobu
in other tools. [ruby-core:42515][Bug #6007] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34576 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-12* include/ruby/ruby.h (rb_event_hook_func_t): add argument names.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34575 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-12* tool/merger.rb (#default_merge_branch): Add support forknu
Subversion 1.7 which adopted a whole new working directory structure. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34568 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-12* benchmark/driver.rb: suppress unused/shadowing variable warnings.ktsj
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34567 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-11* vm_eval.c (check_funcall): Call respond_to? with matching arity fordrbrain
legacy single-argument implementations. [ruby-trunk - Bug #6000] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34564 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-11update doc.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34563 b2dd03c8-39d4-4d8f-98ff-823fe69b080e