keiju
aa3cb74b81
* lib/irb/comletion.rb: Irb tab completion support for XX::method forms.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30592 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-18 09:34:10 +00:00
nahi
9ffaa7e96b
* lib/logger.rb: added RDoc document for logging message escape
...
by Hal Brodigan. See #3869
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30591 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-18 06:11:41 +00:00
akr
c8e22ee12c
* eval_intern.h: parenthesize macro arguments.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30590 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-17 22:54:29 +00:00
nobu
f8cf213ba2
* lib/rubygems/source_index.rb (Gem#load_specification): read in
...
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
2011-01-17 21:49:40 +00:00
tenderlove
0b38e9bc9d
* ext/psych/lib/psych/parser.rb (Mark): Adding a class to wrap
...
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
2011-01-17 19:44:31 +00:00
tenderlove
eacee9d95f
* ext/psych/lib/psych/visitors/json_tree.rb (visit_String): JSON
...
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
2011-01-17 17:48:09 +00:00
akr
76fe9e893c
update doc.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30586 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-17 17:00:36 +00:00
svn
5dfd9b38db
* 2011-01-18
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30585 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-17 16:02:15 +00:00
akr
9f21d18b39
update doc.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30584 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-17 16:02:13 +00:00
akr
355c3a250d
* array.c (rb_ary_times): less MEMCPY calls.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30583 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-17 14:37:05 +00:00
akr
099f52d73d
* debug.h: parenthesize macro arguments.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30582 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-17 13:54:54 +00:00
svn
6c887c51b4
* 2011-01-17
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30581 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-17 12:40:32 +00:00
nobu
8561ae195f
* ruby.c (process_options): revert r30549.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30580 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-17 12:40:30 +00:00
svn
1d3a253e02
* 2011-01-16
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30561 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-16 11:56:20 +00:00
akr
4f1894a0b6
* vsnprintf.c: parenthesize macro arguments.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30560 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-16 11:56:18 +00:00
nobu
49cf75e675
* test/net/smtp/test_ssl_socket.rb: fix dependency.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30551 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-15 03:01:19 +00:00
nobu
b794a2bd8c
* configure.in (warnflags): add -Werror=implicit-function-declaration
...
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
2011-01-15 02:57:36 +00:00
nobu
ca6a75cd38
* ruby.c (process_options): autoload rubygems.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30549 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-15 01:04:16 +00:00
nobu
2ec4b694cb
* tool/compile_prelude.rb (Prelude#initialize): ignore empty
...
preludes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30548 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-15 01:00:09 +00:00
nobu
7350562e5e
* ruby.c (ruby_init_prelude): get rid of global namespace
...
pullution.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30547 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-15 00:48:16 +00:00
nobu
fea355647e
* include/ruby/io.h: missing prototypes.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30546 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-15 00:42:14 +00:00
akr
8dc0eb6c4b
* vm_method.c: parenthesize macro arguments.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30545 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-14 14:26:27 +00:00
shugo
9d155ebf51
* test/net/imap/test_imap.rb: call neither logout nor disconnect
...
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
2011-01-14 06:38:32 +00:00
naruse
2661691698
* lib/net/imap.rb: use bytesize for binary strings.
...
patched by Yoshimasa Niwa. [ruby-core:34222]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30543 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-14 05:57:50 +00:00
naruse
2dbf7d11f2
* pack.c (pack_unpack): the resulted string of unpack('M') must have
...
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
2011-01-14 05:03:22 +00:00
naruse
a2e9ec244e
The cast must use uint32_t. [ruby-core:34481]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30541 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-14 04:54:51 +00:00
naruse
ec9a859c76
* ext/zlib/zlib.c (gzfile_check_footer): ISIZE (Input SIZE) in
...
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
2011-01-14 04:51:34 +00:00
usa
377b85f2cb
* configure.in, win32/Makefile.sub (RUNRUBY): require path should
...
include "." because rbconfig.rb is there.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30539 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-14 02:37:34 +00:00
ryan
f52c2cc24d
Reduced gem_prelude to just require rubygems. Reviewed by Evan Phoenix
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30538 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-14 02:02:12 +00:00
svn
8409156e24
* 2011-01-14
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30537 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-13 22:30:52 +00:00
nobu
7909af18ed
* io.c (argf_next_argv): go advance when the next file cannot be
...
read. [ruby-core:34446]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-13 22:30:50 +00:00
akr
6ac9fea36f
update doc.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-13 11:58:20 +00:00
akr
def8c8c347
* vm_insnhelper.c: parenthesize macro arguments.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-13 11:49:54 +00:00
mrkn
96874ec46e
* vm_dump.c: delete dashes to make lines 80 chars, Patched by
...
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
2011-01-13 04:37:25 +00:00
mrkn
5b9b8d9cfe
* vm_dump.c: fix misspelling of CrashReporter.
...
[Bug #4275 ] [ruby-dev:43021]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30532 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-13 04:23:30 +00:00
ryan
36a0e432f2
Exception#to_s should actually call to_s.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30531 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-12 22:05:05 +00:00
ryan
b404cbac77
Simple fix for emacs parsing. (emacs doesn't like _heredocs_)
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30530 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-12 21:53:31 +00:00
svn
4c703e3d47
* 2011-01-13
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30529 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-12 15:35:08 +00:00
naruse
e57215bf51
* addr2line.c (get_nth_dirname): decrement the directory index
...
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
2011-01-12 15:35:07 +00:00
kosaki
b1f8bbf4f7
* io.c (rb_f_syscall): Add warning messages. [ruby-core:34062]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30527 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-12 14:22:39 +00:00
kosaki
da235830b5
* io.c (rb_f_syscall): Some syscall return unsigned or pointer value.
...
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
2011-01-12 14:16:01 +00:00
kosaki
caab5dcee7
* io.c (rb_f_syscall): Add 64bit Linux support. Some syscall takes
...
long type arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30525 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-12 14:11:06 +00:00
akr
38f129397b
* vm_dump.c: parenthesize macro arguments.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30524 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-12 10:37:32 +00:00
akr
d737ae5449
update comment.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30523 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-12 10:36:08 +00:00
akr
fd2f238560
* vm.c (thread_free): reset ruby_current_thread if it points the
...
thread to free.
* gc.c (slot_sweep): don't call RUBY_VM_SET_FINALIZER_INTERRUPT if
there is no current thread.
[ruby-dev:43000]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30522 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-12 10:35:36 +00:00
akr
e1680f8cc1
* enum.c (sort_by_i): reenter check more strictly.
...
(sort_by_cmp): ditto.
[ruby-dev:43003] reported by Usaku NAKAMURA.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30521 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-12 10:27:48 +00:00
yugui
ef0736604a
* lib/net/http.rb (Net::HTTP#connect): makes it timeout during
...
SSL handshake too. [ruby-core:34203]
Patch by Marc Slemko.
* test/net/http/test_http.rb (TestNetHTTP_v1_2#test_timeout_during_HTTP_session):
test for [ruby-core:34203]
* test/net/http/test_https.rb (TestNetHTTPS#test_timeout_during_SSL_handshake):
ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30520 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-12 07:26:18 +00:00
yugui
6c97778618
* ext/readline/extconf.rb: new checks for RL_PROMPT_START_IGNORE
...
and RL_PROMPT_END_IGNORE. [ruby-core:34331]
* ext/readline/readline.c: enables USE_INSERT_IGNORE_ESCAPE only if
RL_PROMPT_{START,END}_IGNORE are available to get rid of compilation
error with libedit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30519 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-12 07:26:15 +00:00
usa
596872f21d
* README.EXT.ja (rb_ensure): typo.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30518 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-12 06:54:09 +00:00
naruse
4acff773ae
* addr2line.c: OpenBSD uses the elf_abi.h header file instead of the
...
elf.h header file. patched by Jeremy Evans [ruby-core:34384]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30517 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-12 02:35:07 +00:00