summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * dln.c (dln_find_1): removed duplication.nobu2009-11-232-4/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25888 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dln.c (dln_find_1): fixed commit miss.nobu2009-11-231-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25887 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dln.c (dln_find_1): removed duplication.nobu2009-11-232-7/+10
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25886 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-11-23svn2009-11-221-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25884 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/trans/newline.trans (fun_so_universal_newline): generate \nakr2009-11-224-15/+37
| | | | | | | | after \r\n detection instead of just after \r. [ruby-list:45988] [ruby-core:25881] [ruby-core:26788] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25883 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_eval.c (rb_search_method_entry): show flags and klass value inakr2009-11-212-10/+26
| | | | | | | not implemented error message. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25882 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * marshal.c (marshal_dump): use normal object as the buffer sonobu2009-11-213-2/+16
| | | | | | | that no hidden object is exposed to ruby-level. [ruby-dev:39744] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25881 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (read_all): fix: false negative invalid byte seequencenaruse2009-11-213-1/+13
| | | | | | | on reading from pipes. [ruby-dev:39743] fix: assigin the variable 'pos' as relative value from recent pos. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-11-21svn2009-11-211-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25879 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (file_path_convert): delay getting UTF8-MAC encodingnaruse2009-11-212-7/+13
| | | | | | while really needed. [ruby-core:26807] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_eval.c (rb_search_method_entry): avoid trigraph.akr2009-11-202-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25874 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-11-20svn2009-11-191-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25868 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* move Test::Unit::Assertions#invoke_ruby to EnvUtil.invoke_ruby.akr2009-11-191-54/+53
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25867 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/ftp.rb (putbinaryfile): use APPE for resume.shugo2009-11-192-2/+11
| | | | | | Thanks, Tomoyuki Chikanaga. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25862 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* added a ChangeLog entry.shugo2009-11-191-0/+8
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25861 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/imap.rb (flag_list): untaint strings to intern in the safeshugo2009-11-192-1/+87
| | | | | | | | level 1. * lib/net/imap.rb (max_flag_count=): new methods to set the max number of flags interned to symbols. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25860 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/getnameinfo.c: need to include extconf.h for HAVE_* macros.usa2009-11-192-0/+8
| | | | | | | | reported by Kenta Murata <mrkn AT mrkn.jp> via IRC. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25857 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub: nmake execute the file named echo if it existsusa2009-11-192-2/+7
| | | | | | | | in the PATH. reported by Kenta Murata <mrkn AT mrkn.jp> via IRC. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25853 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test_thread.rb: DO NOT USE FORK WITHOUT RESCUE.usa2009-11-191-5/+8
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25850 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_eval.c (rb_search_method_entry): show the type of the hiddenakr2009-11-182-6/+58
| | | | | | | | object. (rb_type_str): new function for above. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25849 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-11-19svn2009-11-181-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25848 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (MORE_CHAR_SUSPENDED): renamed from MORE_CHAR_CBUF_FULL.akr2009-11-182-5/+9
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25847 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add test.akr2009-11-181-0/+31
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25846 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (fill_cbuf): extracted from more_char.akr2009-11-182-25/+48
| | | | | | | | | (io_shift_cbuf): fix memmove condition. (read_all): use fill_cbuf directly to avoid ECONV_AFTER_OUTPUT. [ruby-dev:39708] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25845 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (rb_thread_atfork_internal): reinitialize global locknobu2009-11-181-1/+1
| | | | | | | | at fork to get rid of deadlock. based on the patch from Hongli Lai in [ruby-core:26783]. [ruby-core:23572] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25844 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (rb_thread_atfork_internal): reinitialize global locknobu2009-11-182-0/+4
| | | | | | | | at fork to get rid of deadlock. based on the patch from Hongli Lai in [ruby-core:26783]. [ruby-core:26361] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25843 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (rb_thread_atfork_internal): reinitialize global locknobu2009-11-183-0/+26
| | | | | | | | at fork to get rid of deadlock. based on the patch from Hongli Lai in [ruby-core:26783]. [ruby-core:26361] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25842 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (terminate_atfork_i): all mutex locks by other threadsnobu2009-11-182-0/+23
| | | | | | | have been abandoned at fork. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25841 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (file_path_convert): delay getting filesystem encodingusa2009-11-182-3/+8
| | | | | | | | while really needed. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25840 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding.c (enc_set_default_encoding): reset filesytemnaruse2009-11-184-5/+37
| | | | | | | | | | | | | encoding because on resetting default_external because Unix's filesystem encoding depends on default_external. * encoding.c (enc_set_filesystem_encoding): added. * ruby.c (process_options): don't call rb_filesystem_encoding because filesystem encoding is reset when default_external is reset. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25837 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * math.c (math_gamma): fix incorrect comparison expression.takano322009-11-182-4/+8
| | | | | | | see also [ruby-dev:39709] [Bug #2381] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25836 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_scan_open_args): move path encoding conversionnaruse2009-11-183-21/+39
| | | | | | | | | | | for filesystem encoding of Mac OS X. * file.c (file_path_convert): added for convert encoding of file path. * file.c (rb_get_path_check): add file_path_convert. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25835 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_undef.rb: eol-style.nobu2009-11-180-0/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25834 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (str_utf8_nth): no count_utf8_lead_bytes_with_wordnobu2009-11-182-3/+8
| | | | | | | | | | optimization for short string. [ruby-core:26787] * string.c (str_utf8_offset): str_utf8_nth never return NULL. ?\012 git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25833 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* forgot to add test_undef.rb in the previous revision.shugo2009-11-181-0/+37
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25832 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_method.c (rb_undef): should raise TypeError if klass is nil.shugo2009-11-182-0/+10
| | | | | | | | 1.instance_eval { undef to_s } causes SEGV before this fix. * test/ruby/test_undef.rb: new tests for undef. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25831 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (str_utf8_nth): fixed overrun. [ruby-core:26787]nobu2009-11-173-0/+10
| | | | | | | ?\012 git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25830 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_m17n.rb: get rid of empty string interpolationsnobu2009-11-171-43/+43
| | | | | | | confusing ruby-mode.el. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25829 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-11-18svn2009-11-171-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25828 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (parse_mode_enc): fix invalid access.akr2009-11-172-1/+8
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25827 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_method.c (rb_alias): should raise TypeError if klass is nil.shugo2009-11-173-1/+22
| | | | | | | | | 1.instance_eval { alias to_string to_s } causes SEGV before this fix. * test/ruby/test_alias.rb (test_special_const_alias): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25826 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rdoc update.akr2009-11-171-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25825 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* unused argument removed.akr2009-11-171-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25824 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/trans/big5-uao-tbl.rb: eol-style.nobu2009-11-170-0/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/big5.c, enc/trans/big5.trans, enc/trans/big5-uao-tbl.rb,duerst2009-11-175-1/+19852
| | | | | | | | test/ruby/test-transcode.rb: Added Encoding 'Big5-UAO' and transcoding for it (from Tatsuya Mizuno) (see Bug #1784) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25822 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ksvndifftest/date/test_date_parse.rb: use UTF-8 literals.nobu2009-11-171-5/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25821 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_dir_m17n.rb, test/yaml/test*.rb: eol-style.nobu2009-11-170-0/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25820 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * insns.def (opt_case_dispatch): runtime value cannot be used asnobu2009-11-173-5/+12
| | | | | | | | | | an element initializer. * vm_insnhelper.c (opt_case_dispatch_i): gets rid of type-punning calls. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25818 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-11-17svn2009-11-161-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25805 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Adding yaml tests [ruby-core:26732]tenderlove2009-11-167-0/+231
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25804 b2dd03c8-39d4-4d8f-98ff-823fe69b080e