aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * proc.c (method_name): preserve Symbol's encoding.matz2007-12-248-13/+17
| | | | | | * numeric.c (fix_id2name): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/encoding.h (rb_enc_left_char_head): new utility macro.matz2007-12-246-35/+80
| | | | | | | | | | | | | * 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
* avoid keyword itself.akr2007-12-241-1/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14618 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb/output-method.rb: translate a comment to English toakr2007-12-242-5/+10
| | | | | | | 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
* * lib/webrick/httpservley/cgihandler.rbgotoyuzo2007-12-242-1/+6
| | | | | | | (WEBrick::HTTPServlet::CGIHandler#do_GET): m17nized. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14616 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add a test for [ruby-core:14385] reported by Frederick Cheung.akr2007-12-241-0/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi.rb (CGI::escape): m17nized.akr2007-12-242-10/+19
| | | | | | | | | (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
* * test/logger/test_logger.rb: Module#constants returns an array of Symbols.gotoyuzo2007-12-241-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14613 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * transcode_data_japanese.c (select_iso_2022_mode): '\e' is not valid.usa2007-12-242-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14612 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/diagram.rb (RDoc::Diagram#initialize): use fileuitlsgotoyuzo2007-12-242-1/+6
| | | | | | | instead of ftools. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14611 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Mon Dec 24 23:04:57 2007 NAKAMURA, Hiroshi <nahi@ruby-lang.org>nahi2007-12-2410-352/+20
| | | | | | | | | | | | | | | | * 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
* * lib/open-uri.rb (OpenURI::Buffer): use Meta ===. [ruby-core:14295]akr2007-12-242-2/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14609 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * changed constant name: Struct::MyStruct -> Struct::MyJsonStructnahi2007-12-241-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14608 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * transocode.c: register_functional_transcoder() added.naruse2007-12-244-19/+322
| | | | | | | | | | | | | (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
* add tests.akr2007-12-241-0/+37
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14606 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/io/nonblock/test_flush.rb: fix test for 1.9.ko12007-12-242-2/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14605 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/rinda/test_rinda.rb: revert last commit because this test seemsko12007-12-242-0/+14
| | | | | | | | 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
* * test/rinda/test_rinda.rb: enable rinda test.ko12007-12-242-9/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14603 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * instruby.rb: fix rdoc install dir.ko12007-12-242-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14602 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add a test for non-ascii method name.akr2007-12-241-0/+15
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14601 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add tests.akr2007-12-241-1/+20
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14600 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add tests.akr2007-12-241-0/+81
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14599 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add succ tests from the succ document.akr2007-12-241-0/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14598 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * re.c (rb_reg_prepare_re): show regexp encoding in the error message.akr2007-12-242-1/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14597 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_exc_raise): ANSI style.akr2007-12-243-11/+16
| | | | | | | | | | | | (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
* * iseq.c (Init_ISeq): disable ISeq.load() because there is no verifier.ko12007-12-243-6/+47
| | | | | | | | * 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
* * eval_method.c (Init_eval_method): extracted from Init_evalakr2007-12-243-3/+17
| | | | | | | | | | 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
* * load.c (load_lock): reverted.nobu2007-12-243-2/+10
| | | | | | | * 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
* refine a test.akr2007-12-241-5/+14
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14592 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (function_call_may_return_twice_jmp_buf): removed.akr2007-12-242-3/+6
| | | | | | | | (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
* * common.mk (node_name.inc, miniprelude.c, prelude.c): nmake cannotnobu2007-12-242-3/+8
| | | | | | | 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
* Mon Dec 24 17:20:34 2007 NAKAMURA, Hiroshi <nahi@ruby-lang.org>nahi2007-12-244-276/+5
| | | | | | | | * 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
* * include/ruby/intern.h, random.c, array.c:akr2007-12-244-6/+26
| | | | | | | | | | 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
* Mon Dec 24 17:06:37 2007 NAKAMURA, Hiroshi <nahi@ruby-lang.org>nahi2007-12-24237-30253/+5
| | | | | | | | * {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
* * load.c (rb_feature_p): returns loading path name too.nobu2007-12-244-22/+69
| | | | | | | | * 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
* * load.c (rb_feature_p): returns loading path name too.nobu2007-12-243-16/+22
| | | | | | | | * 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
* enable several rdoc.akr2007-12-245-24/+20
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14584 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sample/openssl: reviewed and remove dependency on getopts.rb.gotoyuzo2007-12-248-947/+53
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14583 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * mkconfig.rb: add teeny to CONFIG['ruby_version'].ko12007-12-242-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14581 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/compile.rb, getrev.rb, runruby.rb: remove unused tools.ko12007-12-244-84/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14580 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* update Proc#lambda? doc.akr2007-12-241-2/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14579 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in, cygwin/GNUmakefile.in, */Makefile.sub,nobu2007-12-247-38/+46
| | | | | | | | djgpp/config.hin.: version dependent directory names now contain teeny. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14578 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/serb.rb: removed.akr2007-12-242-17/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14577 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/trans: addednobu2007-12-240-0/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14576 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * proc.c (rb_proc_new), vm.c (invoke_block): removed u3.state magic.nobu2007-12-244-10/+14
| | | | | | | | | | [ruby-core:14310] * test/ruby/test_symbol.rb (test_to_proc): a test from Frederick Cheung <frederick.cheung AT gmail.com>. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14575 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (rb_thread_atfork): should not leave living_threadsnobu2007-12-242-3/+7
| | | | | | | referring freed table while allocating new table. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14574 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in, configure.in, lib/mkmf.rb, */Makefile.sub: specifynobu2007-12-2411-82/+126
| | | | | | | | | | | | | | compiled output file name explicitly. * enc/Makefile.in, enc/depend: now makes compiler to put generated files under directories corresnponding to the each source. enc/trans supported. * enc/make_encmake.rb: evaluates depend file before Makefile.in so that the former can influence to CONFIG. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win{32,ce}/Makefile.sub (MFLAGS): defaulted to -l.nobu2007-12-243-2/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14572 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add svn:ignore for OS X Xcode 3's conftest.dSYM directories.drbrain2007-12-241-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14571 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk: should not pass MAKEFLAGS to recursive make.nobu2007-12-245-8/+23
| | | | | | | | | | | | | | | | | + normal make: MFLAGS are set and command line options and macros are all passed silently. + GNU make: ditto, and all options and macros in MAKEFLAGS are in effect. + nmake: MFLAGS is not set and MAKEFLAGS has only options without hyphen, no macros exist in any variables. + Borland make: ditto, and command line macros cannot override macros in makefile, so passing them is vain. * {bcc32,win{32,ce}}/Makefile.sub (SET_MAKE): set MFLAGS which is not set by default, to get rid of chaotic situation of MFLAGS/MAKEFLAGS. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14570 b2dd03c8-39d4-4d8f-98ff-823fe69b080e