summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * array.c (rb_ary_join): do not repeat self in a recursive array.nobu2008-11-032-1/+9
| | | | | | | [ruby-dev:37019] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20103 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/intern.h (rb_mutex_synchronize): fixed prototype.nobu2008-11-034-5/+11
| | | | | | | * thread.c (rb_mutex_synchronize): fixed function name. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20102 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * missing.h: needs RUBY_EXTERN instead of extern for mswin.nobu2008-11-032-29/+37
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20101 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/win32ole/test_win32ole_variant_outarg.rb: eol-style.nobu2008-11-030-0/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20100 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_take_first_or_last): renamed rb_ary_partial moreyugui2008-11-032-10/+25
| | | | | | | | | | | appropriately. (ary_take_pos_flags): new enum. makes the fourth argument of rb_ary_take_first_or_last more descriptive. (rb_ary_partial): renamed rb_ary_partial0 more appropriately. takes a new parameter klass for what class to instanciate. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20096 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * range.c (rb_range_beg_len): rb_raise takes C values as arguments.yugui2008-11-032-1/+6
| | | | | | | [BUG] ranges turned into other value in a message of RangeError. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20095 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2008-11-03svn2008-11-021-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20092 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/win32ole/test_win32ole_event.rb: rename test class.suke2008-11-025-54/+85
| | | | | | | | | | | * test/win32ole/test_win32ole_variant_outarg.rb: add in order to use ADO instead of Internet Explorer. remove test/win32ole/test_win32ole_variant_with_ie.rb. * test/win32ole/orig_data.csv: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20091 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/win32ole/test_err_in_callback.rb: add teardown.suke2008-11-022-0/+8
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20090 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/win32ole/win32ole.c (ole_event_free): invoke IConnectionPoint::Unadvisesuke2008-11-025-343/+307
| | | | | | | | | | | before invoking IConnectionPoint::Release. * test/win32ole/test_win32ole_event.rb, test/win32ole/err_in_callback.rb, test/win32ole/test_err_in_callback.rb: Use ActiveX Data Object Library instead of InternetExplorer. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20089 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* win32/Makefile.sub: add RUNRUBYOPT. [ruby-dev:37009]suke2008-11-022-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20088 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/zlib/zlib.c (Init_zlib): defines readbyte instead redefiningnobu2008-11-023-5/+11
| | | | | | | readchar. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20087 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2008-11-01svn2008-10-311-4/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20086 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Don't require rubygems/defaults from gem_prelude.rb.drbrain2008-10-315-9/+139
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20085 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rss/converter.rb (RSS::Converter): use String#encode.kou2008-10-312-1/+13
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20079 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/httpauth/digestauth.rbmame2008-10-312-1/+6
| | | | | | | (WEBrick::HTTPAuth::DigestAuth#initialize): fix typo. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20078 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_array.rb (test_array_subclass) test for r20076.yugui2008-10-312-1/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20077 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (ary_partial0): recovers mistakenly feature change at r19723.yugui2008-10-312-1/+10
| | | | | | | | Array#[m,n] had returned an Array even for an instance of a subclass. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20076 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/trans/single_byte.trans, maccroatioan-tbl.rb,duerst2008-10-316-0/+473
| | | | | | | | | | | maccyrillic-tbl.rb, maciceland-tbl.rb: new single-byte transcodings (from Yoshihiro Kambayashi) * test/ruby/test_transcode.rb: added tests for the above (from Yoshihiro Kambayashi) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20075 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dir.c (dir_globs): need taint check. reported by stevematz2008-10-312-1/+6
| | | | | | <oksteev at gmail.com> git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20074 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_decrement_share): fix to work recyclingwanabe2008-10-312-5/+18
| | | | | | | | shared-array without the following. [ruby-dev:36991] * array.c (ary_make_substitution): don't recycle substitution array. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * spec/default.mspec: supports that the build directory != srcdir.yugui2008-10-312-3/+10
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20069 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 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