aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * ext/fiddle/closure.c (callback): same as r34506.nobu2012-02-153-1/+30
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34626 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add test for r34624.naruse2012-02-151-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34625 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (io_strsetbuf): call rb_str_modify to make str independentnaruse2012-02-152-1/+9
| | | | | | 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
* Add more description about Shift_JIS and CP50220.naruse2012-02-152-1/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34623 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/zlib/zlib.c (Init_zlib): Added Zlib::TEXT and note thatdrbrain2012-02-152-0/+15
| | | | | | | 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
* * ext/zlib/zlib.c: Move constant descriptions to constants. Removedrbrain2012-02-152-199/+102
| | | | | | | 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
* * lib/ostruct.rb: Create getters and setters after dup.marcandre2012-02-152-0/+6
| | | | | | [Bug #6028] [rubyspecs:0380bcc] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/ostruct.rb: Simplify and fix rdoc.marcandre2012-02-151-15/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34619 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (HEAP_BITMAP_LIMIT): HEAP_BITMAP_LIMIT is computed on thenari2012-02-152-1/+7
| | | | | | | 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
* * ext/zlib/zlib.c (Init_zlib): Added Zlib::FIXED and Zlib::RLEdrbrain2012-02-153-1/+30
| | | | | | | | 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
* Correct documentation of r34608.naruse2012-02-151-24/+39
| | | | | | | | | | | | | | | | | * 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
* * ext/zlib/zlib.c: Improve documentation. [ruby-trunk - Bug #5948]drbrain2012-02-152-112/+173
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34612 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Temporary fix not to use non ASCII.naruse2012-02-151-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34610 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding.c (Init_Encoding): Add IO example of internal and externaldrbrain2012-02-142-3/+39
| | | | | | | 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
* * encoding.c (Init_Encoding): Add Encoding documentation.drbrain2012-02-142-1/+161
| | | | | | | | [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-15svn2012-02-141-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34606 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Set encoding as ASCII-8BIT. [Bug #6027]naruse2012-02-141-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34605 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (CEILDIV): rename to a appropriate name.nari2012-02-142-2/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34599 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* added bug refnari2012-02-141-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34598 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (assign_heap_slot): SEGV happens cause on 64-bit platformnari2012-02-142-3/+7
| | | | | | | 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
* * io.c (io_setstrbuf): cut down the buffer if longer.nobu2012-02-142-3/+12
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34592 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit/assertions.rb (build_message): skip escapednobu2012-02-142-1/+6
| | | | | | | question marks. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34589 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * variable.c (autoload_const_set, autoload_require): fixnobu2012-02-142-5/+13
| | | | | | | signatures. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34588 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * process.c (proc_wait): Change typo "SystemError" todrbrain2012-02-132-4/+9
| | | | | | | | "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
* * enumerator.c: Document use of Enumerator.new for creating a lazydrbrain2012-02-132-4/+71
| | | | | | | 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-14svn2012-02-131-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34585 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Mention Kernel#respond_to?.knu2012-02-131-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34584 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_method.c (rb_method_boundp):knu2012-02-133-9/+21
| | | | | | | | | | | | 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
* * gc.c (HEAP_OBJ_LIMIT, HEAP_BITMAP_LIMIT): HEAP_OBJ_LIMIT usednari2012-02-132-2/+13
| | | | | | | | | | | `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
* * io.c (io_setstrbuf): defer resizing buffer string until data isnobu2012-02-133-34/+46
| | | | | | read actually. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34580 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2012-02-13svn2012-02-131-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34577 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (Init_IO): use directive hack to make ARGF documentablenobu2012-02-132-4/+10
| | | | | | 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
* * include/ruby/ruby.h (rb_event_hook_func_t): add argument names.nobu2012-02-122-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34575 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/merger.rb (#default_merge_branch): Add support forknu2012-02-122-1/+7
| | | | | | | | | 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
* * benchmark/driver.rb: suppress unused/shadowing variable warnings.ktsj2012-02-122-5/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34567 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_eval.c (check_funcall): Call respond_to? with matching arity fordrbrain2012-02-113-1/+23
| | | | | | | 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
* update doc.akr2012-02-111-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34563 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2012-02-12svn2012-02-111-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34562 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* update doc.akr2012-02-111-0/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34561 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* update doc.akr2012-02-111-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34560 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (defined_expr): guard the whole expression.nobu2012-02-113-12/+59
| | | | | | [ruby-dev:45021][Bug#5786] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34555 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_eval.c (check_funcall): adjust indent.nobu2012-02-111-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34554 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/zlib/zlib.c (rb_inflate_add_dictionary): Addeddrbrain2012-02-113-3/+60
| | | | | | | | Zlib::Inflate#add_dictionary to allow users to pre-specify for using during #inflate. [ruby-trunk - Feature #5937] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34553 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/zlib/zlib.c (do_inflate): Inflate more data if buffered datadrbrain2012-02-113-2/+47
| | | | | | | | exists. Allows Zlib::Inflate#set_dictionary to work. [ruby-trunk - Bug #5929] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34552 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Ignore generated Makefile and extconf.hdrbrain2012-02-110-0/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34551 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dir.c (fnmatch): The * needs to be escaped to avoid formatting innaruse2012-02-102-1/+7
| | | | | | | fnmatch comment. patched by @dalton. https://github.com/ruby/ruby/pull/91 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34547 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2012-02-11svn2012-02-101-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c: Fix rdoc for Array#select!marcandre2012-02-101-2/+2
| | | | | | patched by b t [ruby-core:42478] [Bug #5998] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/psych/parser.c: removed external encoding setter, allow parsertenderlove2012-02-094-33/+21
| | | | | | | | to be reused. * ext/psych/lib/psych/parser.rb: added external encoding setter. * test/psych/test_parser.rb: test parser reuse git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34527 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/dl/extconf.rb: clang does not use -fno-defer-pop during compilation.nobu2012-02-091-1/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34523 b2dd03c8-39d4-4d8f-98ff-823fe69b080e