summaryrefslogtreecommitdiffstats
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
...
* * test/digest/test_digest_extend.rb: Added tests for current digestnahi2009-11-251-0/+5
| | | | | | | framework. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25925 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_eval.c (rb_search_method_entry): refine error message.akr2009-11-251-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25922 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/digest/digest.c (rb_digest_instance_method_unimpl): Do notknu2009-11-251-0/+6
| | | | | | | | | call rb_inspect() on an object that does not implement necessary methods; reported by NaHi. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25920 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * transcode.c: Added a check for an internal errorduerst2009-11-251-0/+5
| | | | | | | (with Tatsuya Mizuno) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25919 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/envutil.rb (EnvUtil.invoke_ruby): raise Timeout::Errorakr2009-11-241-0/+5
| | | | | | | instead of flunk. reported by Yusuke Endoh. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25909 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm.c (ruby_vm_destruct, thread_memsize): fix argument type to makemame2009-11-241-0/+5
| | | | | | RUBY_MARK_FREE_DEBUG available. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25908 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * error.c: include errno.h at beginning.akr2009-11-241-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25907 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * strftime.c: %Y format a year with 4 digits at least.akr2009-11-241-0/+6
| | | | | | | | * lib/time.rb: format a year with 4 digits at least. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25906 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * defs/known_errors.def: more errors.akr2009-11-241-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25905 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/ruby.h (rb_bug_errno): declared.akr2009-11-241-0/+14
| | | | | | | | | | | | | | | | * include/ruby/intern.h (rb_strerrno): declaration removed. * error.c (rb_strerrno): make it static. return NULL for unknown errors. (rb_bug_errno): defined. * thread_pthread.c: use rb_bug_errno. * signal.c (ruby_signal): use rb_bug_errno. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25904 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (file_path_convert): fix fs_encoding is not assign.naruse2009-11-241-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25897 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * error.c (rb_strerrno): constified.nobu2009-11-241-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25896 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * error.c (rb_strerrno): return "UNKNOWNERROR" for non-zero unknownakr2009-11-241-0/+5
| | | | | | | error. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25895 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/intern.h (rb_strerrno): declared.akr2009-11-241-0/+14
| | | | | | | | | | | | | | | * template/known_errors.inc.tmpl: generate defined_error() and undefined_error() instead of set_syserr. * error.c (Init_syserr): define defined_error() and undefined_error() to follow the above change. (rb_strerrno): defined. * thread_pthread.c: show error message and errno macro name with rb_bug. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25893 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread_pthread.c (RUBY_STACK_MIN, RUBY_STACK_SPACE): delay fornobu2009-11-231-0/+6
| | | | | | | | platforms where PTHREAD_STACK_MIN is not compile time constant. [ruby-dev:39751] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25889 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dln.c (dln_find_1): removed duplication.nobu2009-11-231-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25888 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dln.c (dln_find_1): removed duplication.nobu2009-11-231-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25886 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/trans/newline.trans (fun_so_universal_newline): generate \nakr2009-11-221-0/+6
| | | | | | | | 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-211-0/+5
| | | | | | | 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-211-0/+5
| | | | | | | 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-211-0/+6
| | | | | | | 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
* * file.c (file_path_convert): delay getting UTF8-MAC encodingnaruse2009-11-211-0/+5
| | | | | | 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-201-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25874 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/ftp.rb (putbinaryfile): use APPE for resume.shugo2009-11-191-0/+5
| | | | | | 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
* * ext/socket/getnameinfo.c: need to include extconf.h for HAVE_* macros.usa2009-11-191-0/+5
| | | | | | | | 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-191-0/+5
| | | | | | | | 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
* * vm_eval.c (rb_search_method_entry): show the type of the hiddenakr2009-11-181-0/+6
| | | | | | | | 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
* * io.c (MORE_CHAR_SUSPENDED): renamed from MORE_CHAR_CBUF_FULL.akr2009-11-181-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25847 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (fill_cbuf): extracted from more_char.akr2009-11-181-0/+7
| | | | | | | | | (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-181-0/+6
| | | | | | | | 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-181-0/+5
| | | | | | | 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-181-0/+5
| | | | | | | | 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-181-0/+12
| | | | | | | | | | | | | 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-181-0/+5
| | | | | | | 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-181-0/+10
| | | | | | | | | | | 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
* * string.c (str_utf8_nth): no count_utf8_lead_bytes_with_wordnobu2009-11-181-0/+7
| | | | | | | | | | 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
* * vm_method.c (rb_undef): should raise TypeError if klass is nil.shugo2009-11-181-0/+7
| | | | | | | | 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-171-0/+4
| | | | | | | ?\012 git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25830 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (parse_mode_enc): fix invalid access.akr2009-11-171-0/+4
| | | | 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-171-1/+10
| | | | | | | | | 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
* * enc/big5.c, enc/trans/big5.trans, enc/trans/big5-uao-tbl.rb,duerst2009-11-171-0/+6
| | | | | | | | 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
* * insns.def (opt_case_dispatch): runtime value cannot be used asnobu2009-11-171-0/+7
| | | | | | | | | | 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
* * vm_insnhelper.c (vm_call_method): protected singleton methods ofshugo2009-11-161-0/+10
| | | | | | | | | | an object should not be able to called from other instances of the class of the object. [ruby-core:26761] * vm_eval.c (rb_method_call_status): ditto. * test/ruby/test_module.rb (test_protected_singleton_method): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25796 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (read_all): shift read buffer if exception occured.wanabe2009-11-161-0/+5
| | | | | | | pointed out in [ruby-dev:39702]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25795 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (read_all): don't call io_shift_cbuf until bufffering enough orwanabe2009-11-151-0/+10
| | | | | | | | | | | | econv_finished. [ruby-dev:39696] * io.c (more_char): don't call clear_readconv to read buffer after econv_finished. * io.c (appendline, rb_io_each_codepoint): clear readconv when done. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25789 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* tests refined.akr2009-11-151-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/ruby.h (rb_classext_t): annotate @internal.mame2009-11-151-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25783 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding.c (rb_filesystem_encindex): use default external encodingakr2009-11-151-0/+8
| | | | | | | | | | instead of locale encoding in Unix. * ruby.c (process_options): delay inifilesystem encoding initialization after default external encoding initialization. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25782 b2dd03c8-39d4-4d8f-98ff-823fe69b080e