akr
edb8eee236
add a test.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14630 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-24 19:03:09 +00:00
ko1
e885517639
* compile.c (iseq_compile_each): fix stack consistency bug.
...
a patch from Yusuke ENDOH <mame AT tsg.ne.jp>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14629 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-24 18:54:52 +00:00
akr
cf41125e3a
update Proc#lambda? doc.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14628 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-24 18:36:30 +00:00
eban
efd4bbde49
* tool/make-snapshot: must create configure and lex.c.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14627 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-24 18:24:15 +00:00
matz
29595e23d7
* io.c (rb_io_s_pipe): now takes up to two arguments. allow its
...
external/internal encoding by Encoding objects.
* io.c (rb_io_set_encoding): new method to set encoding of the IO.
* io.c (argf_set_encoding): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14626 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-24 18:17:35 +00:00
usa
e3215a7342
* pack.c (pack_pack): use NUM2LONG instead of NUM2INT.
...
* numeric.c (fix_lshift, fix_aref): use SIZEOF_LONG instead of
SIZEOF_VALUE.
* bignum.c (big2ulong, rb_big_aref): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14625 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-24 18:12:24 +00:00
gotoyuzo
8f5b0a4cd4
* lib/rexml/element.rb (REXML::Elements#each): yield in each
...
should be called with one parameter. [ruby-dev:32708]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14624 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-24 17:59:31 +00:00
ko1
105e00bdd7
* compile.c (iseq_compile_each): add a "pop" insn after break
...
to fix stack consistency error. [ruby-core:14385]
* bootstraptest/test_syntax.rb: add tests for above.
* bootstraptest/test_knownbug.rb: remove fixed bug.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14623 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-24 17:41:29 +00:00
matz
fda0ef6f04
* id.c (Init_id): remove several unused symbols. [ruby-core:14362]
...
* compile.c (iseq_specialized_instruction): do not use
VM_CALL_SEND_BANG flag any longer.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14622 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-24 17:05:38 +00:00
akr
8db7c837f9
* lib/rdoc/rdoc.rb (parse_files): interpret coding cookie.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14621 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-24 16:44:39 +00:00
matz
6ca558d6ab
* proc.c (method_name): preserve Symbol's encoding.
...
* numeric.c (fix_id2name): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-24 16:38:44 +00:00
matz
a04a812ed0
* include/ruby/encoding.h (rb_enc_left_char_head): new utility macro.
...
* include/ruby/encoding.h (rb_enc_right_char_head): ditto.
* io.c (appendline): does multibyte RS search in the function.
* io.c (prepare_getline_args): RS may be nil.
* io.c (rb_io_getc): should process character based on external
encoding, when transcoding required.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14619 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-24 16:36:14 +00:00
akr
13e239a012
avoid keyword itself.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14618 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-24 16:12:05 +00:00
akr
027c45a1c7
* lib/irb/output-method.rb: translate a comment to English to
...
avoid mix of EUC-JP comment and UTF-8 $Date$.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14617 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-24 16:09:31 +00:00
gotoyuzo
6c9d911423
* lib/webrick/httpservley/cgihandler.rb
...
(WEBrick::HTTPServlet::CGIHandler#do_GET): m17nized.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14616 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-24 15:30:02 +00:00
akr
71787f8ec2
add a test for [ruby-core:14385] reported by Frederick Cheung.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-24 15:19:44 +00:00
akr
78fd550840
* lib/cgi.rb (CGI::escape): m17nized.
...
(CGI::unescape): ditto.
(CGI::escapeHTML): ditto.
(CGI::unescapeHTML): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14614 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-24 14:59:34 +00:00
gotoyuzo
f9b894273f
* test/logger/test_logger.rb: Module#constants returns an array of Symbols.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14613 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-24 14:35:41 +00:00
usa
0f064d27b3
* transcode_data_japanese.c (select_iso_2022_mode): '\e' is not valid.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14612 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-24 14:34:51 +00:00
gotoyuzo
0c395fbd90
* lib/rdoc/diagram.rb (RDoc::Diagram#initialize): use fileuitls
...
instead of ftools.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14611 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-24 14:15:45 +00:00
nahi
1019297323
Mon Dec 24 23:04:57 2007 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
...
* lib/ftools.rb: removed obsoleted lib. use fileutils instead (by eban).
* lib/rdoc/rdoc.rb, lib/rdoc/generators/*, lib/rake.rb: let it use
fileutils instead of ftools.
* lib/shell/command-processor.rb: removed unused references to ftools.
* lib/parsedate.rb: removed. see [ruby-core:12535], [ruby-dev:31969].
* lib/README: updated.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14610 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-24 14:09:57 +00:00
akr
ce0aa0af91
* lib/open-uri.rb (OpenURI::Buffer): use Meta ===. [ruby-core:14295]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14609 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-24 14:04:16 +00:00
nahi
c5f5173d17
* changed constant name: Struct::MyStruct -> Struct::MyJsonStruct
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14608 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-24 14:02:09 +00:00
naruse
be86e3de33
* transocode.c: register_functional_transcoder() added.
...
(init_transcoder_table(: register ISO-2022-JP.
(str_transcode): add preprocessor and postprocessor.
* transcode_data_japanese.c: add ISO-2022-JP support.
* transcode_data.h: moved transcoder and transcoding difinition from
transcode.c.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14607 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-24 13:51:19 +00:00
akr
f23bc6b2b5
add tests.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14606 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-24 11:36:48 +00:00
ko1
9c09689301
* test/io/nonblock/test_flush.rb: fix test for 1.9.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14605 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-24 11:30:29 +00:00
ko1
7d6d35394b
* test/rinda/test_rinda.rb: revert last commit because this test seems
...
to have timing problem to halt all tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14604 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-24 11:25:32 +00:00
ko1
0bdcb32cd3
* test/rinda/test_rinda.rb: enable rinda test.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14603 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-24 11:19:46 +00:00
ko1
d12d33f0e5
* instruby.rb: fix rdoc install dir.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14602 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-24 11:18:16 +00:00
akr
d0e6130031
add a test for non-ascii method name.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14601 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-24 11:06:49 +00:00
akr
23f0e341af
add tests.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14600 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-24 10:27:53 +00:00
akr
b132f72b3f
add tests.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14599 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-24 10:22:34 +00:00
akr
dc980095ec
add succ tests from the succ document.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14598 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-24 09:53:08 +00:00
akr
b910bb7761
* re.c (rb_reg_prepare_re): show regexp encoding in the error message.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14597 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-24 09:38:20 +00:00
akr
96438d2bd8
* eval.c (rb_exc_raise): ANSI style.
...
(rb_exc_fatal): ditto.
(rb_raise_jump): ditto.
(rb_jump_tag): ditto.
(rb_block_given_p): ditto.
* variable.c (original_module): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14596 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-24 09:25:27 +00:00
ko1
e2e23e688f
* iseq.c (Init_ISeq): disable ISeq.load() because there is no verifier.
...
* iseq.c, proc.c: add ISeq.disasm(method).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14595 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-24 09:09:21 +00:00
akr
c332266ee0
* eval_method.c (Init_eval_method): extracted from Init_eval
...
for rdoc to find rb_mod_remove_method, rb_mod_undef_method and
rb_mod_alias_method.
* eval.c (Init_eval): call Init_eval_method.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14594 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-24 09:07:20 +00:00
nobu
97cdb5ac25
* load.c (load_lock): reverted.
...
* thread.c (rb_barrier_wait): check for recursive wait.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14593 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-24 08:59:31 +00:00
akr
162cc94d15
refine a test.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14592 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-24 08:57:09 +00:00
akr
dc18845c23
* eval.c (function_call_may_return_twice_jmp_buf): removed.
...
(function_call_may_return_twice_false): removed.
[ruby-core:14335]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14591 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-24 08:51:38 +00:00
nobu
0beb35a75c
* common.mk (node_name.inc, miniprelude.c, prelude.c): nmake cannot
...
handle target vpath in other than implicit rules.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14590 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-24 08:40:59 +00:00
nahi
bca0b4075d
Mon Dec 24 17:20:34 2007 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
...
* lib/{mailread.rb,getopts.rb,parsearg.rb}: removed.
see [ruby-core:12535], [ruby-dev:31969].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14589 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-24 08:23:09 +00:00
akr
30f1eb1856
* include/ruby/intern.h, random.c, array.c:
...
change exported name.
genrand_int32 -> rb_genrand_int32.
genrand_real -> rb_genrand_real.
[ruby-core:14335]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14588 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-24 08:19:28 +00:00
nahi
889c7de09d
Mon Dec 24 17:06:37 2007 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
...
* {lib,test}/{soap,wsdl,xsd}: removed soap4r along to the discussion
at ruby-core and ruby-dev. see [ruby-core:12535], [ruby-dev:31969].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14587 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-24 08:14:57 +00:00
nobu
efed292c43
* load.c (rb_feature_p): returns loading path name too.
...
* load.c (search_required): returns path too if feature is being
loaded. [ruby-dev:32048] [TODO: refactoring]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14586 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-24 08:06:16 +00:00
nobu
68a66351a7
* load.c (rb_feature_p): returns loading path name too.
...
* load.c (search_required): returns path too if feature is being
loaded. [ruby-dev:32048] [TODO: refactoring]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14585 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-24 07:53:50 +00:00
akr
e01c045a8b
enable several rdoc.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14584 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-24 07:52:39 +00:00
gotoyuzo
a3bfedac36
* sample/openssl: reviewed and remove dependency on getopts.rb.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14583 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-24 07:31:23 +00:00
ko1
8fd4044446
* mkconfig.rb: add teeny to CONFIG['ruby_version'].
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14581 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-24 07:20:56 +00:00
ko1
835c8d9d48
* tool/compile.rb, getrev.rb, runruby.rb: remove unused tools.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14580 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-24 07:06:03 +00:00