aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Reverting nobu's rubygems patch. It needs: 1) to have a test, 2) to be UTF8, ↵ryan2011-01-182-7/+5
| | | | | | and 3) to work on 1.8 (see Gem.read_binary). (It should also be submitted to the rubygems repo or tracker) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30598 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y: avoid NULL reference. [ruby-dev:43067]mame2011-01-182-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30597 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2011-01-19svn2011-01-181-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30596 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vsnprintf.c (cvt): set first byte of buf to NUL for the case whennaruse2011-01-182-0/+6
| | | | | | no bytes are written to the buf. [ruby-dev:43062] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30595 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* update doc.akr2011-01-181-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30594 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.h: parenthesize macro arguments.akr2011-01-182-11/+15
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30593 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb/comletion.rb: Irb tab completion support for XX::method forms.keiju2011-01-182-18/+35
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30592 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/logger.rb: added RDoc document for logging message escapenahi2011-01-182-2/+21
| | | | | | | by Hal Brodigan. See #3869 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30591 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval_intern.h: parenthesize macro arguments.akr2011-01-172-7/+11
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30590 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rubygems/source_index.rb (Gem#load_specification): read innobu2011-01-172-9/+11
| | | | | | | binary mode to get rid of failures caused by mismatch between default internal encoding and encoding comments. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30589 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/psych/lib/psych/parser.rb (Mark): Adding a class to wraptenderlove2011-01-174-3/+93
| | | | | | | | | marker information * ext/psych/parser.c (mark): Add a method to return the mark object for the parser * test/psych/test_parser.rb: tests for the Mark class. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30588 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/psych/lib/psych/visitors/json_tree.rb (visit_String): JSONtenderlove2011-01-173-5/+12
| | | | | | | strings should be dumped with double quotes. [ruby-core:34186] * test/psych/test_json_tree.rb: test for double quotes git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30587 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* update doc.akr2011-01-171-1/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30586 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2011-01-18svn2011-01-171-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30585 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* update doc.akr2011-01-171-35/+37
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30584 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_times): less MEMCPY calls.akr2011-01-172-3/+14
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30583 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * debug.h: parenthesize macro arguments.akr2011-01-172-4/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30582 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2011-01-17svn2011-01-171-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30581 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (process_options): revert r30549.nobu2011-01-173-1/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30580 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2011-01-16svn2011-01-161-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30561 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vsnprintf.c: parenthesize macro arguments.akr2011-01-162-4/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30560 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/net/smtp/test_ssl_socket.rb: fix dependency.nobu2011-01-151-1/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30551 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (warnflags): add -Werror=implicit-function-declarationnobu2011-01-156-24/+103
| | | | | | | | | if available. * lib/mkmf.rb (init_mkmf): ignore warnings in mkmf tests. * test/mkmf/base.rb (setup, teardown): restore config values. * test/mkmf/test_flags.rb: split from test_find_executable.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30550 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (process_options): autoload rubygems.nobu2011-01-153-3/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30549 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/compile_prelude.rb (Prelude#initialize): ignore emptynobu2011-01-152-1/+5
| | | | | | preludes. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30548 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (ruby_init_prelude): get rid of global namespacenobu2011-01-153-4/+11
| | | | | | pullution. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30547 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/io.h: missing prototypes.nobu2011-01-153-2/+12
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30546 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_method.c: parenthesize macro arguments.akr2011-01-142-4/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30545 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/net/imap/test_imap.rb: call neither logout nor disconnectshugo2011-01-142-2/+7
| | | | | | unless connected. patch by Kazuhiro NISHIYAMA. [ruby-dev:42860] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30544 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/imap.rb: use bytesize for binary strings.naruse2011-01-142-2/+7
| | | | | | patched by Yoshimasa Niwa. [ruby-core:34222] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30543 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * pack.c (pack_unpack): the resulted string of unpack('M') must havenaruse2011-01-143-1/+8
| | | | | | ASCII-8BIT encoding (and ENC_CODERANGE_VALID). [ruby-core:34482] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* The cast must use uint32_t. [ruby-core:34481]naruse2011-01-141-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30541 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/zlib/zlib.c (gzfile_check_footer): ISIZE (Input SIZE) innaruse2011-01-142-1/+7
| | | | | | | gzip's header is the size of uncompressed input data modulo 2^32. [ruby-core:34481] http://www.ietf.org/rfc/rfc1952.txt git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30540 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in, win32/Makefile.sub (RUNRUBY): require path shouldusa2011-01-143-3/+8
| | | | | | | include "." because rbconfig.rb is there. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30539 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Reduced gem_prelude to just require rubygems. Reviewed by Evan Phoenixryan2011-01-1410-277/+40
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30538 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2011-01-14svn2011-01-131-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30537 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (argf_next_argv): go advance when the next file cannot benobu2011-01-133-1/+21
| | | | | | read. [ruby-core:34446] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* update doc.akr2011-01-131-0/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_insnhelper.c: parenthesize macro arguments.akr2011-01-132-5/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_dump.c: delete dashes to make lines 80 chars, Patched bymrkn2011-01-132-4/+9
| | | | | | Shota Fukumori (sora_h). [Bug #4275] [ruby-dev:43021] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30533 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_dump.c: fix misspelling of CrashReporter.mrkn2011-01-132-2/+7
| | | | | | [Bug #4275] [ruby-dev:43021] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30532 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Exception#to_s should actually call to_s.ryan2011-01-122-1/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30531 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Simple fix for emacs parsing. (emacs doesn't like _heredocs_)ryan2011-01-121-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30530 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2011-01-13svn2011-01-121-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30529 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * addr2line.c (get_nth_dirname): decrement the directory indexnaruse2011-01-122-1/+9
| | | | | | | | | because the index specifies the index of given included_directories which is separated by NUL and its index is begun from 1. Note that 0 specifies the current directory of the compilation. see also http://www.dwarfstd.org/doc/dwarf-2.0.0.pdf git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30528 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_f_syscall): Add warning messages. [ruby-core:34062]kosaki2011-01-122-0/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30527 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_f_syscall): Some syscall return unsigned or pointer value.kosaki2011-01-122-1/+7
| | | | | | | | Therefore we should only check the result is -1 or not. [ruby-core:34062] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30526 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_f_syscall): Add 64bit Linux support. Some syscall takeskosaki2011-01-122-0/+17
| | | | | | | | long type arguments. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30525 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_dump.c: parenthesize macro arguments.akr2011-01-122-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30524 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* update comment.akr2011-01-121-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30523 b2dd03c8-39d4-4d8f-98ff-823fe69b080e