aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * file.c (rb_stat_mode): generalized st_mode mask.nobu2008-08-052-9/+11
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18365 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (retry_sendfile, retry_read): ENOSYS and EWOULDBLOCK are notnobu2008-08-052-5/+22
| | | | | | | defined on every platforms. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18364 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * transcode_data.h (TRANSCODE_ERROR): common transcode failurenobu2008-08-054-45/+59
| | | | | | | | | | exception, would be changed later. * enc/trans/japanese.c (UNSUPPORTED_MODE): unsupported mode transition exception. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18363 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* svn:eol-stylenobu2008-08-050-0/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18362 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2008-08-05svn2008-08-041-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18361 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_sort_bang): respect overridden <=> for String andnobu2008-08-045-17/+65
| | | | | | | | | | | | | | | Fixnum. [ruby-core:17708] * include/ruby/node.h (NOEX_BASIC): basic definition method flag. * include/ruby/intern.h, vm_method.c (rb_method_basic_definition_p): new function to check if the method is not redefined after the initialization. * vm_method.c (rb_obj_respond_to): use rb_method_basic_definition_p. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18360 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Improved compatibility for mspec.yugui2008-08-044-9/+59
| | | | | | | | | | | | | * Makefile.in (update-rubyspec): renamed the rubyspec directory "spec". Changed directory structure. * Makefile.in (test-rubyspec): ditto. * spec/README: described the structure of "spec" directory. * spec/default.mspec: configured for Matz's Ruby Implementation. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18359 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_tmp_new): added.nobu2008-08-043-1/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18358 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_eval.c (vm_call_super): fixed typo, and get rid of too largenobu2008-08-042-2/+16
| | | | | | | alloca. [ruby-core:17922] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18357 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (deferred_nodes, compstmt, arg, fixup_nodes, range_op): fixnobu2008-08-042-14/+49
| | | | | | | | up fixnum range literal in conditional as automagical line number comparison. [ruby-core:12124], [ruby-dev:35731] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18356 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/smtp.rb (Net::SMTP::rcptto): fix a typo. a patch fromshyouhei2008-08-042-1/+7
| | | | | | | | Masao Takaku <masao at nii.ac.jp> fix [ruby-dev:35489]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18351 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2008-08-04svn2008-08-041-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18342 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * marshal.c (dump_ensure), process.c (run_exec_dup2),nobu2008-08-045-7/+16
| | | | | | | | | string.c (rb_str_replace), transcode.c (transcode_dispatch): fixed memory leaks. based on patches from shinichiro.h <shinichiro.hamaji AT gmail.com> at [ruby-dev:35751]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18341 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/win32ole/win32ole.c (hash2named_arg): refactoring.suke2008-08-034-5/+63
| | | | | | | | | | | | * ext/win32ole/win32ole.c (ole_invoke, fole_respond_to, ev_on_event, fev_off_event): accepts Symbol argument. * test/win32ole/test_win32ole.rb: ditto. * test/win32ole/test_win32ole_event.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18324 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2008-08-03svn2008-08-031-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18323 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_shared_replace): fixed memory leak. a patch fromnobu2008-08-032-4/+9
| | | | | | | shinichiro.h <shinichiro.hamaji AT gmail.com> at [ruby-dev:35742] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18322 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/win32ole/test_err_in_callback.rb: remove temporary files.suke2008-08-022-3/+17
| | | | | | | some refactoring. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18321 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* svn:eol-style LFnobu2008-08-020-0/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18320 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (yylex): 8 and 9 in octal integer should cause compilenobu2008-08-022-1/+8
| | | | | | | error. [ruby-dev:35729] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18318 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/trans/japanese.c: add U+FF5E to EUC-JP.naruse2008-08-012-2/+7
| | | | | | [ruby-dev:35720] [ruby-dev:35722] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18315 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2008-08-02svn2008-08-011-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18314 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/readline/extconf.rb: checked to have clear_history inkouji2008-08-014-6/+386
| | | | | | | | | | | | | | | | | | | | | | | readline library. * ext/readline/readline.c (hist_get, hist_each, Init_readline): The offset specified for the argument of history_get() might be different in GNU Readline and libedit. If use libedit, it was corrected that the computational method of the offset specified for the argument of history_get() when the Readline module was initialized was decided. (hist_get, hist_set): If use libedit, accesses first an input content in history when specifies the negative offset for the argument of history_get() or replace_history_entry(). Then checks the offset is negative in ruby. (rb_remove_history): When compiling, it corrects it to warning when libedit is used. (hist_clear, Init_readline): added Readline::HISTORY.clear method. [ruby-dev:35551] * test/readline/test_readline_history.rb: added unit test for Readline::HISTORY. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18313 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * transcode.c (transcode_loop): undefined character is replaced withnaruse2008-08-012-0/+10
| | | | | | only one character. [ruby-dev:35709] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18312 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Merged r16430(akr), r16431(akr), r16433(akr), r16469(nobu), andyugui2008-08-013-0/+30
| | | | | | | | | | r17874(akr) from ruby_1_8. * Makefile.in (update-rubyspec): added * Makefile.in (test-rubyspec): added git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18311 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/trans/japanese.c: add support for CP51932,naruse2008-08-012-0/+16
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18310 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/trans/japanese.c: add U+FF0C,naruse2008-08-012-5/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18309 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/sdbm/test_sdbm.rb: add some tests.mame2008-08-012-0/+38
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18308 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (allocate_heaps, assign_heap_slot, rb_newobj_from_heap):mame2008-08-012-2/+13
| | | | | | | reset during_gc before raising NoMemoryError. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18307 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm.c (Init_BareVM): check failure of malloc().mame2008-08-012-1/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18306 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/trans/japanese.c (to_SHIFT_JIS_EF_BF_offsets): add U+FFF3,naruse2008-08-012-7/+34
| | | | | | | | | | | | | | | U+FFF4, U+FFF5. * enc/trans/japanese.c (to_SHIFT_JIS_EF_BF_infos): ditto. * enc/trans/japanese.c (to_EUC_JP_EF_BF_infos): added. * enc/trans/japanese.c (to_EUC_JP_EF_BF): added. * enc/trans/japanese.c (to_EUC_JP_EF_infos): change size. [ruby-dev:35714] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18305 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (parser_yylex): removed an useless conditional, and magicyugui2008-08-013-5/+32
| | | | | | | | | | | comment are ignored unless at the first of line. * test/ruby/test_m17n.rb (test_magic_comment_vim): added. * test/ruby/test_m17n.rb (test_magic_comment_at_variaous_positions): added. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18304 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_seekdir): no need to rewind to seek forward.nobu2008-08-012-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18303 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * transcode.c (output_replacement_character):naruse2008-07-313-18/+53
| | | | | | | | | | | | | | rename from _get_replacement_character. * transcode.c (output_replacement_character): fix replacement on UTF-32{BE,LE}. [ruby-dev:35705] * transcode.c (transcode_loop): ditto. * test/ruby/test_transcode.rb (test_invalid_replace): add for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18300 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * proc.c (rb_proc_call_with_block): reduce comparison.mame2008-07-312-2/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2008-08-01svn2008-07-311-4/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18298 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/syck.c (syck_free_parser): fix memory leak bymame2008-07-312-0/+22
| | | | | | | YAML::Syck.compile. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18297 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/bigdecimal/bigdecimal.c (VpMult): prevent memory leak.mame2008-07-312-1/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18296 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_transcode.rb (test_unicode_public_review_issue_121):naruse2008-07-312-3/+8
| | | | | | fix option1 and 3. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18295 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * transcode.c (get_replacement_character): use U+FFFD as replacementnaruse2008-07-313-14/+22
| | | | | | | | | | | | character when convert to Unicode. * test/ruby/test_transcode.rb (test_unicode_public_review_issue_121): rename from test_public_review_issue_121. * test/ruby/test_transcode.rb (test_unicode_public_review_issue_121): enable option2. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18294 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * transcode.c (get_replacement_character): fix: invalid byte sequencenaruse2008-07-312-4/+9
| | | | | | is always replaced "\x00?". git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18293 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/rubygems/test_gem_ext_configure_builder.rbnaruse2008-07-312-2/+6
| | | | | | (test_self_build_fail): remove extra newline. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18292 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test/ruby/test_transcode.rb: added test_shift_jisduerst2008-07-312-0/+63
| | | | | | | | | (contributed by Yoshihiro Kambayashi) and test_public_review_issue_121 (see http://www.unicode.org/review/pr-121.html) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18291 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/ruby.h (struct RString): size of ary must bemame2008-07-312-1/+6
| | | | | | | RSTRING_EMBED_LEN_MAX + 1. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18289 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * pack.c (pack_unpack): upper half of hexdigits has never been used.nobu2008-07-312-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18288 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/syck.h (ASSERT): fix typo at r18176.nobu2008-07-312-2/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18285 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/rubyext.c (rb_syck_compile): expression in ASSERT() has nonobu2008-07-312-1/+8
| | | | | | | effect unless debug mode. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * iseq.c (ruby_iseq_disasm_insn): suppress warnings on platforms whichnobu2008-07-315-4/+14
| | | | | | | | | | | | int size differs from pointer size. * ext/openssl/ossl_asn1.c (ossl_asn1_get_asn1type): ditto * ext/syck/rubyext.c (rb_syck_err_handler), (syck_default_error_handler): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18283 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/rubyext.c (rb_syck_compile): remove meaningless branchmame2008-07-302-2/+9
| | | | | | | | that misleads into thinking that the variable sav may be uninitialized. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18282 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (rb_mutex_unlock_all): mutex is no longer a ruby object.nobu2008-07-302-2/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18278 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (magic_comment_encoding): remove meaningless null check.mame2008-07-302-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18277 b2dd03c8-39d4-4d8f-98ff-823fe69b080e