aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* re.c: match_become based on (ruby-core:382, :386, :389)michal2002-08-301-36/+17
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2767 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bcc32/MakeFile.sub (sitearch): add.H_Konishi2002-08-292-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2766 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Merged Nakada's patch [ruby-dev:18097].ttate2002-08-291-5/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2765 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_become): should not free ptr if it's shared.matz2002-08-2914-164/+203
| | | | | | | | | | | * eval.c (rb_alias): prohibit making an alias named "allocate" if klass is a metaclass. * string.c (rb_string_value_ptr): StringValuePtr() should never return NULL pointer. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2764 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (read_all): should use off_t instead of long.eban2002-08-293-3/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2763 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* (ruby-bugs-ja:PR#296)nobu2002-08-281-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2762 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * marshal.c (r_object): yield loaded objects, not intermediates.nobu2002-08-282-8/+20
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2761 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* variable.c: Get rid of fix len buffer in rb_class_path (ruby-core:381)michal2002-08-283-7/+16
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2760 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (appendline): data was lost when raw mode.nobu2002-08-282-3/+19
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2759 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/stringio/stringio.c (strio_initialize): RSTRING(mode)->ptrnobu2002-08-282-6/+24
| | | | | | | | | can be NULL. * ext/stringio/stringio.c (strio_ungetc): fix buffer overflow. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2758 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* adjust indetnobu2002-08-281-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2757 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* file.c: fix mem leak in rb_stat_initmichal2002-08-282-1/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2756 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (kill): negate pid under Win9x.nobu2002-08-282-9/+23
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2755 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Int vs Long cleanup #3 (ruby-core:352)michal2002-08-2813-97/+95
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2754 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (ar): don't check twice for ar.eban2002-08-282-1/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2753 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_delete_bang): should check if str->ptr is 0.matz2002-08-284-5/+31
| | | | | | | | | | | | | | | * string.c (rb_str_squeeze_bang): ditto. * string.c (rb_str_count): ditto. * string.c (rb_str_lstrip_bang): ditto. * string.c (rb_str_rstrip_bang): ditto. * string.c (rb_str_intern): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2752 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.h: define SIGINT and SIGKILL if not defined.usa2002-08-283-7/+15
| | | | | | | * win32/win32.c: remove definition of SIGINT and SIGKILL. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2751 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (require_libraries): prevent ruby_sorcefile from GC.nobu2002-08-272-4/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2750 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_rstrip_bang): don't access address -1.eban2002-08-271-3/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2749 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (rb_find_file): $LOAD_PATH must not be empty.matz2002-08-2718-249/+262
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * file.c (rb_find_file_ext): ditto. * range.c (range_eq): class check should be based on range.class, instead of Range to work with Range.dup. * range.c (range_eql): ditto. * class.c (rb_mod_dup): need to preserve metaclass and flags. * object.c (rb_cstr_to_dbl): had a buffer overrun. * marshal.c (w_class): integrate singleton check into a funciton to follow DRY principle. * marshal.c (w_uclass): should check singleton method. * object.c (rb_obj_dup): dmark and dfree functions must be match for T_DATA type. * object.c (rb_obj_dup): class of the duped object must be match to the class of the original. * re.c (rb_reg_quote): do not escape \t, \f, \r, \n, for they are not regular expression metacharacters. * time.c (time_s_alloc): use time_free instead of free (null check, also serves for type mark). * time.c (time_s_at): check dfree function too. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2748 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* node.h: unsigned int cast (ruby-core:358)michal2002-08-271-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2747 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* array small opt. changes (ruby-core:355)michal2002-08-271-8/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2746 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi.rb (CGI#form): fix ruby-bugs-ja:PR#280, add default action.wakou2002-08-252-3/+11
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2745 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-08-24nobu2002-08-241-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2744 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (call_trace_func): restore source file/line, as tracenobu2002-08-242-3/+16
| | | | | | | | | | function installed in required library with -r option can be called while parsing. (ruby-bugs:PR#372) * eval.c (module_setup): unused variable. [ruby-core:00358] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2743 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/time.rb (Time.rfc2822, Time#rfc2822): preserve localtimeness.akr2002-08-243-12/+47
| | | | | | | * lib/pp.rb: pretty_print_cycled is renamed to pretty_print_cycle. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2742 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * instruby.rb: arch -> sitearcheban2002-08-232-1/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* array.c: Mem optim for Array#selectmichal2002-08-231-1/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2740 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (method_call): check receiver is defined.nobu2002-08-232-13/+10
| | | | | | | * eval.c (umethod_call): removed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2739 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-08-23eban2002-08-231-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2738 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: RUBY_SO_NAME is msvcrt-rubyXX on mswin32/mingw32.eban2002-08-236-15/+36
| | | | | | | | | * configure.in (sitearch): new var. * mkconfig.rb, lib/mkmf.rb (sitearch): ditto. * win32/Makefile.sub, win32/setup.mak (sitearch): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2737 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* array.c: Int vs Long #2michal2002-08-231-24/+21
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2736 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Int vs Long clenup (forgot ChangeLog)michal2002-08-211-0/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2735 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* *.c: Int vs Long cleanupmichal2002-08-2126-157/+147
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2734 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-08-21eban2002-08-211-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2733 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_thread_cleanup): should not modify the globalmatz2002-08-215-9/+57
| | | | | | | variable curr_thread. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2731 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: typo fix.eban2002-08-211-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2730 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: set ac_cv_func__setjump to "no" on Cygwin.eban2002-08-212-1/+9
| | | | | | | * configure.in: set ac_cv_func_crypt to "no" on MinGW. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2729 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * replace of check EPIPE error(in getc()) rutine on bcc32.H_Konishi2002-08-203-3/+12
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2728 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-08-20eban2002-08-201-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2727 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (rb_file_s_expand_path): accept drive letter on Cygwin.eban2002-08-202-4/+11
| | | | | | | * file.c (is_absolute_path): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2726 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_putc): output via rb_io_write().matz2002-08-204-21/+17
| | | | | | | | * re.c (rb_reg_initialize_m): frozen check should be moved here from rb_reg_initialize(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2725 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * misc/inf-ruby.el (inf-ruby-keys): ruby-send-definitionnobu2002-08-192-7/+71
| | | | | | | | | | | | | | | conflicted with ruby-insert-end. * misc/inf-ruby.el (inferior-ruby-mode): compilation-minor-mode. * misc/inf-ruby.el (ruby-send-region): send as here document to adjust source file/line. [ruby-talk:47113], [ruby-dev:17965] * misc/inf-ruby.el (ruby-send-terminator): added to make unique terminator. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2724 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (sort_2): fatal typo.matz2002-08-191-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2723 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (sort_2): comparison should be done as signed long.matz2002-08-192-4/+10
| | | | | | | * array.c (sort_2): should return int, not VALUE. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2722 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (sort_2): *a - *b may overflow.matz2002-08-1911-59/+104
| | | | | | | | | | | | | | | | * array.c (ary_new): len*sizeof(VALUE) may be a positive value. * array.c (rb_ary_initialize): ditto. * object.c (rb_class_allocate_instance): move singleton class check from rb_obj_alloc(). * re.c (rb_reg_initialize): should not modify frozen Regexp. * ext/tcltklib/tcltklib.c (ip_init): allocation framework. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2720 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* particular symbol for win32_exception_list.nobu2002-08-192-11/+13
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2719 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (win32_get_exception_list, win32_set_exception_list): Cygwin fix.eban2002-08-191-2/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2718 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-08-19nobu2002-08-191-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2717 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_thread_save_context, rb_thread_restore_context):nobu2002-08-192-0/+65
| | | | | | | | | | | save/restore SEH chain on MS-Windows at thread switch. [ruby-win32:273] * eval.c (win32_get_exception_frame, win32_set_exception_frame): added. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2716 b2dd03c8-39d4-4d8f-98ff-823fe69b080e