summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * ext/socket/socket.c: a patch to support IRIX from Andrewmatz2007-12-273-1/+10
| | | | | | Thompson <andrew@hijacked.us> in [ruby-core:14447]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14725 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (create_tmpsrc): retry to create file if Errno::EACCESusa2007-12-263-7/+21
| | | | | | | | occurs. this is a workaround for mswin32. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14724 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/resolv.rb (Resolv::DNS::Name.==): fix for other is array ofnaruse2007-12-262-3/+14
| | | | | | | | | | | | Resolv::DNS::Label::Str. * lib/resolv.rb (Resolv::DNS::MessageEncoder#put_label): String#string is not defined, so replace to_s. * lib/resolv.rb (Resolv::IPv6#to_name): ip6.int is obsoleted by ip6.arpa. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14723 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/date/format.rb (_xmlschema): some improvements.tadf2007-12-262-28/+65
| | | | | | | | * lib/date/format.rb (_parse): a new hint compfunc. [experimental] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14721 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (io_fflush): check closed fptr after rb_write_internal to avoidakr2007-12-262-1/+7
| | | | | | | SEGV on MacOS X. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14719 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (Init_String): defines chars method.nobu2007-12-262-0/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14718 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* remove p.akr2007-12-261-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14717 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * instruby.rb: install goruby if exists.usa2007-12-262-0/+8
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14716 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/csv.rb: Cleaned up some code with Ruby 1.9 idioms.jeg22007-12-262-10/+10
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14715 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (tmpbuf): use rb_str_tmp_new().nobu2007-12-262-8/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14714 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* update lambda? doc.akr2007-12-261-7/+76
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14713 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add a test.akr2007-12-261-0/+12
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14712 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/json/ext/generator/generator.c (Init_generator): requiresnobu2007-12-253-3/+10
| | | | | | | | json/common.rb for GeneratorError, when static linked. a patch from Kenta Murata <muraken AT gmail.com> in [ruby-dev:32789]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14710 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * development version 1.9.0 released.matz2007-12-251-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14709 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rexml/node.rb (REXML::Node::indent): should initialize rvmatz2007-12-252-1/+7
| | | | | | | variable. a patch from Tadayoshi Funaba <tadf AT dotrb.org> in [ruby-dev:32783]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14708 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * doc/NEWS: changes for 1.9matz2007-12-251-837/+207
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14707 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (proc_options): encoding option in shbang and RUBYOPT did notnobu2007-12-252-8/+12
| | | | | | | work, do not store alloca()ed string in a parent scope struct. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14706 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (config.status): keep this file.usa2007-12-252-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14705 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (TIMEZONE_VOID): typo.nobu2007-12-252-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14704 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * insns2vm.rb: add encoding option to shbang.ko12007-12-252-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14703 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bootstraptest/pending.rb: add pending issue.ko12007-12-252-0/+23
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14702 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c: remove Thread.critical(=).ko12007-12-252-15/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14701 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/make-snapshot: add version number.nobu2007-12-252-4/+10
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14700 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (iseq_compile_each): fix stack consistency errorko12007-12-254-28/+64
| | | | | | | | | | (break is compiled to throw instead of jump insn). these problems are reported by Yusuke ENDOH <mame AT tsg.ne.jp> * bootstraptest/test_knownbug.rb, test_syntax.rb: move fixed test. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14699 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (struct parser_params): make parser_ruby_sourcefile commonakr2007-12-252-9/+30
| | | | | | | | | | field. it is used by node_newnode. new field parser_ruby_sourcefile_string for ripper. (parser_initialize): initialize parser_ruby_sourcefile in ripper. (ripper_initialize): initialize parser_ruby_sourcefile_string. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14698 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (parse.c): depends on tool/ytab.sed.nobu2007-12-253-2/+28
| | | | | | | * tool/ytab.sed: hack for bison 2.1. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14697 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_ssl.c: Only show a warning if the default technorama2007-12-253-1/+30
| | | | | | | | | | DH callback is actually used. * ext/openssl/ossl_rand.c: New method: random_add(). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14696 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/make-snapshot: argument check, and cleanup exported directory.nobu2007-12-252-0/+9
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14695 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/make-snapshot: more portable.eban2007-12-252-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14694 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/make-snapshot (revision): sed does not support +.nobu2007-12-251-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14693 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding.h (rb_enc_mbc_to_codepoint): wrapper fornobu2007-12-254-8/+21
| | | | | | | | | ONIGENC_MBC_TO_CODE(). * string.c (rb_str_succ): deal with invalid sequence as binary. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14692 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (appendline): move RS comparison to rb_io_getline_1().matz2007-12-254-38/+31
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14691 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * iseq.c: all methods need $SAFE < 1.ko12007-12-253-2/+18
| | | | | | | | vm.c: comment out debug functions. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add tests reported by Yusuke ENDOH.akr2007-12-251-0/+24
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14689 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_each_line): don't call rb_enc_codepoint with emptyakr2007-12-252-1/+6
| | | | | | | string. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14688 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_inspect): don't call rb_enc_codepoint with emptyakr2007-12-253-2/+13
| | | | | | | | | | string. fix '#'.inspect. * encoding.c (rb_enc_codepoint): raise on empty string. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14687 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm.c (rb_frame_method_id_and_class): new function to get theshugo2007-12-253-0/+12
| | | | | | | method id and class of the current frame. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14686 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (create_makefile): Add a missing dependency on theknu2007-12-252-1/+7
| | | | | | | | target directory for each .rb file. This will hopefully fix parallel make (-jN). Tested on FreeBSD. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14685 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/trans/japanese.c (rb_{from,to}_{SHIFT_JIS,EUC_JP}): inversednobu2007-12-252-4/+9
| | | | | | | from_encoding and to_encoding. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14684 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * golf_prelude.rb (h): add new method for all golfers.usa2007-12-252-0/+8
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14683 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/trans/japanese.c (rb_to_EUC_JP): fixed typo.nobu2007-12-252-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14682 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/dl/depend: add dependencies. [ruby-dev:32760]usa2007-12-252-4/+8
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14681 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/ruby.h, thread.c: rename is_ruby_native_thread() toko12007-12-254-10/+17
| | | | | | | | | ruby_native_thread_p(). * ext/tk/tcltklib.c: apply it. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14680 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add a test.akr2007-12-251-0/+10
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14679 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (realclean-enc): fixed typo.nobu2007-12-251-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (clean-enc): clean encoding objects.nobu2007-12-252-1/+12
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14677 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * trunk/common.mk, goruby.c, golf_prelude.rb: for golfers.nobu2007-12-256-3/+40
| | | | | | | | | * trunk/main.c (main): hook for embedding applications. * trunk/tool/compile_prelude.rb: can change initialize function name. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14676 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_io_m17n.rb: fix testsmatz2007-12-251-4/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14675 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding.c (rb_enc_register): do not use based_encoding to check ifnobu2007-12-252-2/+6
| | | | | | | dummy encoding. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14674 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_succ): fix for string with non-alphanumeric chars.nobu2007-12-252-4/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14673 b2dd03c8-39d4-4d8f-98ff-823fe69b080e