summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * encoding.c (rb_enc_set_default_internal): no alias "internal" ifnobu2008-10-312-2/+12
| | | | | | | defalt internal is not set. [ruby-dev:37000] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20068 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (process_options): delays setting safe level.nobu2008-10-304-16/+32
| | | | | | | [ruby-dev:36997] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20067 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_permutation): hide temporal array.mame2008-10-302-0/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20062 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * pack.c (pack_pack): templates a, A, Z should propagate encodingmatz2008-10-302-2/+15
| | | | | | | of original strings. templates b, B, h, H brings ASCII-8BIT to the result. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20057 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (load_file_internal): should not set script encoding tomatz2008-10-302-5/+10
| | | | | | | | | ASCII-8BIT. * ruby.c (load_file_internal): do not auto convert scripts even when default_internal is set. [ruby-core:19579] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20056 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/trans/iso-8859-1-tbl.rb: eol-style.nobu2008-10-300-0/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20055 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/trans/single_byte.trans: refactoring to make it easierduerst2008-10-303-54/+143
| | | | | | | | | | to add more transcodings (with Yoshihiro Kambayashi) * enc/trans/iso-8859-1-tbl.rb: new file to avoid having to treat ISO-8859-1 as special git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20054 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (moreswitches): splits option string and passes arguments.nobu2008-10-302-83/+118
| | | | | | | | | | | * ruby.c (proc_options): checks if allowed in RUBYOPT. * ruby.c (process_options): allows long style options in RUBYOPT. * ruby.c (load_file_internal): ditto in shebang. [ruby-dev:36979] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20053 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding.c (rb_locale_encoding): makes an alias for locale.nobu2008-10-302-5/+16
| | | | | | | | | | | [ruby-dev:36976] * encoding.c (rb_enc_set_default_external): ditto for external. * encoding.c (rb_enc_set_default_internal): ditto for internal. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20052 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * indent ChangeLogtakano322008-10-291-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20051 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * add references.mame2008-10-291-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20049 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_sort_bang): remove SEGV when replacing array withmame2008-10-293-3/+20
| | | | | | | | | embedded one during sort. * test/ruby/test_array.rb (test_sort!): add tests for above. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20048 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_array.rb: add some tests.mame2008-10-292-1/+34
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20047 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_check_dummy_enc): new function to check dummymatz2008-10-292-3/+22
| | | | | | | | | encoding. * string.c (rb_str_upcase_bang): case conversion functions should not be applicable to strings in dummy encoding. [ruby-dev:36985] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20046 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_rewind): should reset fptr->readconv if it'smatz2008-10-293-9/+34
| | | | | | | | | | | available. * io.c (more_char): clear readconv at EOF. * test/ruby/test_file.rb: should not read after EOF. use rewind instead. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20045 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_splice): remove redundant check.mame2008-10-292-4/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20044 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_cmp): fix condition which always returned truemame2008-10-292-1/+6
| | | | | | | because ENCODING_GET returns unsigned long. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20043 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2008-10-30svn2008-10-291-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20036 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_array (test_permutation): add a test that replacesmame2008-10-292-0/+10
| | | | | | | array during permutation. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20035 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_sort_bang): replacing array during sort brokemame2008-10-292-2/+11
| | | | | | | invariant of array. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20026 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * revert the previous wrong commit; sorry.mame2008-10-292-11/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20025 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_sort_bang): replacing array during sort brokemame2008-10-292-2/+11
| | | | | | | invariant of array. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20024 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/webrick/utils.rb (start_server): provide a reference to log ofmame2008-10-298-140/+157
| | | | | | | | | | | | webrick. * test/webrick/test_httpproxy.rb, test/webrick/test_httpauth.rb, test/webrick/test_cgi.rb, test/webrick/test_httpserver.rb, test/webrick/test_server.rb, test/webrick/test_filehandler.rb: use webrick log as an assertion message. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20023 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_array.rb (test_pack): use utf-8.nobu2008-10-292-4/+4
| | | | | | | * test/ruby/test_pack.rb (test_pack_U): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20022 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * pack.c (pack_pack): set encoding from packing string and UTF-8 fornobu2008-10-292-0/+11
| | | | | | | "U". [ruby-core:19590] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20021 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * complex.c (imp1, imp2): should declare type.takano322008-10-292-2/+7
| | | | | | | [BUG] at IA-64 git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20020 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (revision.h): have to be updated daily or by non-trivialnobu2008-10-292-1/+6
| | | | | | | commits. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20019 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * README, README.ja: Update the portability section.knu2008-10-293-5/+10
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20018 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (rb_cv_lib_xpg4_needed): Drop legacy FreeBSDknu2008-10-292-15/+7
| | | | | | | | | support regarding libxpg4. Those old versions of FreeBSD shipped with the library don't have a working pthread library anyway. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20017 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (dln-a-out): cannot make shared library nor work withnobu2008-10-292-1/+15
| | | | | | | ELF. [ruby-core:19571] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20016 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_open): shouldn't seek here.usa2008-10-292-5/+10
| | | | | | | | | * win32/win32.c (rb_w32_write): write to the end of the file when FAPPEND is specified. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20014 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (load_file_internal): use ASCII-8BIT to prevent conversion.nobu2008-10-292-3/+6
| | | | | | | [ruby-core:19579] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20013 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (load_file_internal): cache common interned IDs.nobu2008-10-292-3/+9
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20012 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * complex.c: uses macro in declarations.tadf2008-10-282-17/+31
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20011 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_open): need to seek to the end of the file whenusa2008-10-282-1/+8
| | | | | | | | O_APPEND is specified. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20008 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* inserted a newline.tadf2008-10-281-1/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20007 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2008-10-29svn2008-10-281-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20006 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * math.c (rb_math_{atan2,cos,cosh,hypot,log,sin,sinh,sqrt}): added.tadf2008-10-283-28/+65
| | | | | | | | * complex.c: follows the above change. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20005 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/nkf/nkf-utf8/nkf.c (kanji_convert): output unicode chars.naruse2008-10-282-3/+28
| | | | | | | | | [ruby-dev:36957] * ext/nkf/nkf-utf8/nkf.c (numchar_getc): increase buffer size. reported and patched at [ruby-dev:36957] by mame. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20004 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_proc.rb: filled all patterns for testingyugui2008-10-282-0/+202
| | | | | | | vm_yield_setup_args. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20003 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* typo.tadf2008-10-281-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20002 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * complex.c: continues to support canonicalization *unofficially*tadf2008-10-287-3136/+44
| | | | | | | | | | | | | for an odd library mathn for the time being (only 1.9.x). since grand mathn is must be very very special library for us. * rational.c: ditto. * ext/mathn/*/*: follow the above changes. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20001 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (parser_yylex): check EOF explicitly.mame2008-10-282-11/+15
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20000 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_require.rb (test_require_too_long_filename): too longusa2008-10-281-5/+9
| | | | | | | commandline may be rejected by OS. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19998 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_io_m17n.rb (test_getc_invalid3): should set binmode if enc isusa2008-10-281-1/+1
| | | | | | | not compatible with ASCII. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19997 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (extract_binmode): new function to extract binmode/textmodeusa2008-10-282-12/+36
| | | | | | | | | | | | options from hash. * io.c (rb_io_extract_modeenc): use above function. * io.c (rb_io_s_pipe): recognize binmode/textmode options. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19996 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_io.rb (test_sysopen): should specify the mode of IO::for_fdusa2008-10-281-1/+7
| | | | | | | if F_GETFL is not available. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19995 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (make_readconv): now can specify the size of cbuf.usa2008-10-282-6/+13
| | | | | | | | | * io.c (read_all, appendline, io_getc, rb_io_ungetc): follow above change. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19994 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_pipe_exec): internal fds should be alwaysusa2008-10-282-3/+7
| | | | | | | | binmode. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19993 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_io.rb (test_copy_stream, test_copy_stream_socket): skip someusa2008-10-281-50/+80
| | | | | | | | | | tests if there isn't IO#nonblock=. * test/ruby/test_io.rb (test_close_on_exec): skip if there isn't IO#close_on_exec=. * test/ruby/test_io.rb (test_bytes, test_readbyte): depend on binmode. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19992 b2dd03c8-39d4-4d8f-98ff-823fe69b080e