summaryrefslogtreecommitdiffstats
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* * extmk.rb: require mkmf.rb. remove duplicate methods.eban2002-09-031-0/+7
| | | | | | | | use Config::CONFIG["FOO"] instead of @FOO@. * mkmf.rb: extmk.rb support. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2785 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * variable.c (rb_copy_generic_ivar): remove old generic instancematz2002-09-031-0/+41
| | | | | | | | | | variable table if it existes. * class.c (rb_make_metaclass): metaclass of a metaclass is a metaclass itself. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * re.c (rb_reg_search): MatchData must be rb_cMatch. (ruby-bugs-ja:PR#319)nobu2002-09-021-0/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2781 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (gc_sweep): does reclaim nodes in also compile time, if we can.aamine2002-09-021-0/+11
| | | | | | | | | * ruby.c (load_file): omit GC if we can. * parse.y (ruby_parser_stack_on_heap): new function. * intern.h (ruby_parser_stack_on_heap): added. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2780 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * config.guess: fixed for Linux/PPC.eban2002-09-011-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2775 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add set.rb.knu2002-08-301-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2773 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/Win32API/Win32API.c (Win32API_Call): typo.H_Konishi2002-08-301-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2772 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * variable.c (rb_const_assign): st_delete() takes pointer to key.nobu2002-08-301-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2770 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* commit miss.nobu2002-08-301-5/+11
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2769 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/Win32API/Win32API.c (Win32API_Call): RSTRING()->ptr may benobu2002-08-301-0/+9
| | | | | | | | | | | | | | | | | NULL. * ext/nkf/nkf.c (rb_nkf_guess): ditto. * ext/readline/readline.c (readline_s_set_completion_append_character): ditto. * ext/socket/socket.c (sock_s_getaddrinfo, sock_s_getnameinfo): ditto. * ext/tcltklib/tcltklib.c (ip_toUTF8, ip_fromUTF8): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2768 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bcc32/MakeFile.sub (sitearch): add.H_Konishi2002-08-291-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2766 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_become): should not free ptr if it's shared.matz2002-08-291-1/+13
| | | | | | | | | | | * 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: http://svn.ruby-lang.org/repos/ruby/trunk@2764 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (read_all): should use off_t instead of long.eban2002-08-291-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2763 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* (ruby-bugs-ja:PR#296)nobu2002-08-281-0/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2762 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * marshal.c (r_object): yield loaded objects, not intermediates.nobu2002-08-281-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/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-281-0/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2760 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (appendline): data was lost when raw mode.nobu2002-08-281-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2759 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/stringio/stringio.c (strio_initialize): RSTRING(mode)->ptrnobu2002-08-281-0/+7
| | | | | | | | | can be NULL. * ext/stringio/stringio.c (strio_ungetc): fix buffer overflow. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2758 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* file.c: fix mem leak in rb_stat_initmichal2002-08-281-1/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2756 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (kill): negate pid under Win9x.nobu2002-08-281-0/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2755 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (ar): don't check twice for ar.eban2002-08-281-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2753 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_delete_bang): should check if str->ptr is 0.matz2002-08-281-0/+14
| | | | | | | | | | | | | | | * 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: http://svn.ruby-lang.org/repos/ruby/trunk@2752 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.h: define SIGINT and SIGKILL if not defined.usa2002-08-281-0/+6
| | | | | | | * win32/win32.c: remove definition of SIGINT and SIGKILL. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2751 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (require_libraries): prevent ruby_sorcefile from GC.nobu2002-08-271-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2750 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (rb_find_file): $LOAD_PATH must not be empty.matz2002-08-271-0/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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: http://svn.ruby-lang.org/repos/ruby/trunk@2748 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi.rb (CGI#form): fix ruby-bugs-ja:PR#280, add default action.wakou2002-08-251-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2745 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (call_trace_func): restore source file/line, as tracenobu2002-08-241-0/+8
| | | | | | | | | | 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: http://svn.ruby-lang.org/repos/ruby/trunk@2743 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/time.rb (Time.rfc2822, Time#rfc2822): preserve localtimeness.akr2002-08-241-0/+6
| | | | | | | * lib/pp.rb: pretty_print_cycled is renamed to pretty_print_cycle. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2742 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * instruby.rb: arch -> sitearcheban2002-08-231-0/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (method_call): check receiver is defined.nobu2002-08-231-0/+6
| | | | | | | * eval.c (umethod_call): removed. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2739 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: RUBY_SO_NAME is msvcrt-rubyXX on mswin32/mingw32.eban2002-08-231-0/+10
| | | | | | | | | * configure.in (sitearch): new var. * mkconfig.rb, lib/mkmf.rb (sitearch): ditto. * win32/Makefile.sub, win32/setup.mak (sitearch): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2737 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Int vs Long clenup (forgot ChangeLog)michal2002-08-211-0/+8
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2735 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_thread_cleanup): should not modify the globalmatz2002-08-211-0/+5
| | | | | | | variable curr_thread. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2731 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: typo fix.eban2002-08-211-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2730 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: set ac_cv_func__setjump to "no" on Cygwin.eban2002-08-211-0/+6
| | | | | | | * configure.in: set ac_cv_func_crypt to "no" on MinGW. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2729 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * replace of check EPIPE error(in getc()) rutine on bcc32.H_Konishi2002-08-201-0/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2728 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (rb_file_s_expand_path): accept drive letter on Cygwin.eban2002-08-201-0/+6
| | | | | | | * file.c (is_absolute_path): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2726 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_putc): output via rb_io_write().matz2002-08-201-0/+9
| | | | | | | | * re.c (rb_reg_initialize_m): frozen check should be moved here from rb_reg_initialize(). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2725 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * misc/inf-ruby.el (inf-ruby-keys): ruby-send-definitionnobu2002-08-191-0/+13
| | | | | | | | | | | | | | | 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: http://svn.ruby-lang.org/repos/ruby/trunk@2724 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (sort_2): comparison should be done as signed long.matz2002-08-191-0/+6
| | | | | | | * array.c (sort_2): should return int, not VALUE. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2722 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (sort_2): *a - *b may overflow.matz2002-08-191-0/+23
| | | | | | | | | | | | | | | | * 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: http://svn.ruby-lang.org/repos/ruby/trunk@2720 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* particular symbol for win32_exception_list.nobu2002-08-191-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2719 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_thread_save_context, rb_thread_restore_context):nobu2002-08-191-0/+9
| | | | | | | | | | | 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: http://svn.ruby-lang.org/repos/ruby/trunk@2716 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (NOFILE): define NOFILE as 64 if not defined.eban2002-08-161-0/+6
| | | | | | | * signal.c (sighandler_t): rename to sh_t on dietlibc. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2715 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (rb_cstr_to_inum): new decimal and octal string.nobu2002-08-161-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2714 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_fread): renamed from io_fread and made extern.nobu2002-08-161-0/+10
| | | | | | | | | | | * marshal.c (r_bytes0): check if successfully read, use rb_io_fread() instead of fread() to be preemptive. (ruby-bugs-ja:PR#294, 295) * rubyio.h (rb_io_fread): added. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2713 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* commit miss.nobu2002-08-151-2/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2712 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (compile_error): must not clear ruby_sourcefile here.nobu2002-08-151-0/+10
| | | | | | | | | | (ruby-bugs:PR#364). * eval.c (rb_longjmp): set ruby_sourcefile before making backtrace. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2710 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (ruby_current_node) : added to set sourceline on demand.nobu2002-08-151-0/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | * eval.c (error_pos, error_print, rb_longjmp, assign): set source file/line. * eval.c (rb_eval): store current node instead of file/line, and preserve it at return. * eval.c (module_setup): ditto. * eval.c (struct thread): store node instead of file/line. * eval.c (rb_thread_raise): ditto. * intern.h (ruby_current_node): added. * intern.h (ruby_set_current_source): added. * parse.y (stmt, arg): not fix position of assignment. * parse.y (node_assign): ditto. * parse.y (yycompile): clear current node. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2709 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * hash.c (rb_hash_replace): should copy ifnone.matz2002-08-131-0/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * hash.c (rb_hash_dup): should preserve HASH_PROC_DEFAULT and HASH_DELETED flags. * hash.c (rb_hash_shift): shift from empty hash should not return its default proc. * hash.c (rb_hash_default_proc): new method. [new] * array.c (rb_ary_aref): no need for Bignum check. * array.c (rb_ary_aset): explicit Bignum check removd. * numeric.c (fix_aref): normalize bignum before bit-op. * bignum.c (rb_big_rand): max may be Bignum zero. * bignum.c (rb_cstr_to_inum): should normalize bignums, to avoid returning fixable bignum value. * bignum.c (rb_uint2big): there should be no zero sized bignum. * ext/extmk.rb.in: extmake() that works properly for both tkutil (tk/tkutil.so) and digest/sha1. * hash.c (rb_hash_equal): should check HASH_PROC_DEFAULT too. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2706 b2dd03c8-39d4-4d8f-98ff-823fe69b080e