summaryrefslogtreecommitdiff
path: root/ChangeLog
AgeCommit message (Collapse)Author
2002-10-23* eval.c (rb_eval): local_vars[-1] should protect body, not amatz
local_tbl. * marshal.c (w_object): check if klass is really a class. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2983 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-10-18* parse.y (value_expr0): allow return/break/next/redo/retry in rhsnobu
of logical operator. [ruby-dev:18534] * parse.y (remove_begin): eliminate useless NODE_BEGIN. [ruby-dev:18535] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2972 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-10-17* hash.c, eval.c: Use (*_NSGetEnviron()) instead of environ onknu
Darwin for namespace cleanness. [ruby-core:00537] * dln.c (dln_load): Fix Darwin support that has been disabled and switch to using it on Darwin instead of the system dlopen(). [ruby-core:00541] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2970 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-10-17* eval.c (rb_eval): need to push empty varmap node only whenmatz
ruby_dyna_var is NULL. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2964 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-10-10* win32/win32.c (win32_fclose, win32_close): use closesocket()nobu
for socket. [ruby-win32:382] * win32/win32.c (StartSockets): set NtSocketsInitialized. * win32/win32.h: prototypes; win32_fclose, win32_close git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2955 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-10-10* ext/tcltklib/stubs.c (ruby_tcltk_stubs): fix memory leak.eban
[ruby-dev:18478] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2950 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-10-10* eval.c (ruby_init): Init_stack() with local location.nobu
(ruby-bugs-ja:PR#277) * gc.c (Init_stack): prefer address of argument rather than local variable to initialize rb_gc_stack_start. * lib/weakref.rb (WeakRef::@@final): use Hash#delete. * lib/weakref.rb (WeakRef::__getobj__): examin if alive or not by ID_REV_MAP to deal with recycled object. [ruby-dev:18472] * lib/weakref.rb (WeakRef::weakref_alive?): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2949 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-10-07* bignum.c (bigdivrem): bignum zero's len should not be 0.matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2942 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-10-07* bignum.c (bigdivmod): wrong condition check for Bignum zero.matz
* bignum.c (Init_Bignum): need to add Bignum#div. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2941 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-10-05* eval.c (rb_load): should not pass block to the loaded file.aamine
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2938 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-10-04* configure.in (RUBY_PROG_GNU_LD): check whether the linker is GNU ld.eban
* ext/extmk.rb.in (create_makefile): add -Wl,-no-undefined to $DLDFLAGS on Linux if GNU ld is used and --enable-shared is specified. * configure.in (RUBY_MINGW32): backport from 1.7. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2932 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-10-03* ext/tcltklib/tcltklib.c (invoke_queue_handler): make singletonnobu
method object to run handler in separated safe level. * ext/tcltklib/tcltklib.c (ip_invoke): requires command name argument. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2928 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-10-02* configure.in: set ac_cv_func_setitimer to "no" on Cygwin.eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2918 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-10-01 * ext/socket/socket.c (sock_new): duplicate underlying socketnobu
handle not only descriptor. [ruby-talk:40015] * ext/socket/socket.c (bsock_close_read, bsock_close_write): not use myfdclose(). * win32/win32.c, win32/win32.h (myfddup, myfdclose): delete. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2915 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-10-01* regex.c (re_match): p1 may exceed pend limit.matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2914 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-09-25* eval.c (ruby_run): should set toplevel visibility again here.matz
* eval.c (rb_eval): should not rely on ruby_class == rb_cObject check. Besides allow implicit publicity for attribute set methods. * parse.y (primary): need not to check class_nest, just set whether method is an attrset or not. * string.c (rb_str_each_line): p might be at the top of the string. * variable.c (rb_path2class): should not use rb_eval_string(). * parse.y (str_extend): expression substitution can contain string terminator again. * parse.y (yylex): the warning message "invalid character syntax" was never issued. * file.c (rb_find_file): $LOAD_PATH must not be empty. * 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. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2888 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-09-22* lib/mkmf.rb: some backports.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2881 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-09-15* win32/win32.c (opendir): Corresponds to the unjust path containing ".H_Konishi
(win32_stat) : ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2866 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-09-11* lib/mkmf.rb (create_makefile): Merge from 1.7: link withusa
CONFIG["LIBS"]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2855 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-09-11* eval.c (rb_trap_eval): preserve thread status and so on.nobu
[ruby-talk:40337], [ruby-core:00019] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2853 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-09-11* lib/open3.rb: Merge from 1.7: Turn sync on for the writerknu
handle. * lib/ping.rb: Merge from 1.7: Fix a typo. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2848 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-09-11* lib/thread.rb: Merge from 1.7: Get rid of race condition inknu
Queue#pop(). * lib/thread.rb: Merge from 1.7: SizedQueue: new(max) should not accept a value <= 0. * lib/thread.rb: Merge from 1.7: SizedQueue: Properly override enq(), shift() and deq(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2846 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-09-11* lib/tempfile.rb: Merge from 1.7: Add Tempfile#size.knu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2845 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-09-09* win32/win32.h (S_I?USR): define only if not mingw32.eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2831 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-09-09* win32/win32.c (do_spawn): fix the bug which the environment variablesusa
had not spread. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2829 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-09-08* dir.c (rb_glob): add prototype of 2nd argument to avoid VC++ warning.usa
* dir.c (push_pattern): add const directive to 1st argument. * dir.c: prototype; push_pattern() to avoid VC++ warning. * ext/tcltklib/tcltklib.c: prototype; _timer_for_tcl() and ip_ruby() to avoid VC++ warning. * win32/win32.c (win32_stat): remove S_IWGRP and S_IWOTH bits from st_mode. * win32/win32.h (S_I*): define if not defined. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-09-07* misc/inf-ruby.el (inferior-ruby-error-regexp-alist): regexpnobu
alist for error message from ruby. * misc/inf-ruby.el (inferior-ruby-mode): fixed for Emacs. * misc/inf-ruby.el (ruby-send-region): compilation-parse-errors doesn't parse first line, so insert separators before each evaluations. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2817 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-09-06* parse.y (rb_gc_mark_parser): ruby_eval_tree is marked in eval.c.aamine
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2812 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-09-06* parse.y (rb_gc_mark_parser): should mark all global variables in parse.y.aamine
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2807 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-09-05* file.c (rb_path_check): nothing to check under DOSISH.nobu
[ruby-list:35772] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2803 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-09-05* gc.c (rb_gc): should mark parser.aamine
* parse.y (rb_gc_mark_parser): new function. * intern.h (rb_gc_mark_parser): added. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2801 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-09-05* eval.c (rb_eval): overriding false constant with class/modulenobu
definition should be error. (PR#327) * eval.c (rb_call0): preset source file/line to pass correct ones to trace_func at end of empty method. [ruby-dev:18035] * ruby.c (require_libraries): not clear source file. [ruby-dev:18074] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2795 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-09-02* gc.c (gc_sweep): does reclaim nodes in also compile time, if we can.aamine
* 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: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2782 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-08-25 * lib/cgi.rb (CGI#form): fix ruby-bugs-ja:PR#280, add default action.wakou
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2745 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-08-24* lib/time.rb (Time.rfc2822, Time#rfc2822): preserve localtimeness.akr
* lib/pp.rb: pretty_print_cycled is renamed to pretty_print_cycle. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2742 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-08-21* eval.c (rb_thread_cleanup): should not modify the globalmatz
variable curr_thread. * 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/branches/ruby_1_6@2732 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-08-20* file.c (rb_file_s_expand_path): accept drive letter on Cygwin.eban
* file.c (is_absolute_path): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2726 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-08-19* misc/inf-ruby.el (inf-ruby-keys): ruby-send-definitionnobu
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/branches/ruby_1_6@2724 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-08-19* array.c (sort_2): comparison should be done as signed long.matz
* array.c (sort_2): should return int, not VALUE. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2722 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-08-19* array.c (sort_2): *a - *b may overflow.matz
* array.c (rb_ary_new2): len*sizeof(VALUE) may be a positive value. * array.c (rb_ary_initialize): ditto. * re.c (rb_reg_initialize): should not modify frozen Regexp. * 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. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2721 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-08-19particular symbol for win32_exception_list.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2719 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-08-19* eval.c (rb_thread_save_context, rb_thread_restore_context):nobu
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/branches/ruby_1_6@2716 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-08-12* hash.c (rb_hash_equal): should check default values.matz
* ext/socket/socket.c (s_recvfrom): update RSTRING len. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2703 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-08-01* io.c (io_fread): return value was longer when EWOULDBLOCKnobu
occurred. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-07-31* eval.c (rb_undef): undef should be done for klass, not ruby_class.matz
* eval.c (error_handle): should handle TAG_THROW as well. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2676 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-07-30* ext/tcltklib/stubs.c (ruby_tcltk_stubs): win32_getenv returnseban
the same address always, so allocate string by ruby_strdup. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2668 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-07-11* eval.c (rb_eval): fixed line number in string interpolation.nobu
* parse.y (str_extend): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2637 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-07-11* parse.y (yylex): should pushback proper char after '<<'.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-07-11* string.c (rb_str_slice_bang): if there's no correspondingmatz
substring, slice! should return nil without exception. * string.c (rb_str_split_m): accept separator value nil as well. * class.c (include_class_new): module may be T_ICLASS; retrieve original module information. * re.c (rb_reg_expr_str): need to process backslashes properly. * parse.y (yylex): no here document after a dot. * parse.y (yylex): should have set lex_state properly after '`'. * parse.y (yylex): should have set lex_state properly after tOP_ASGN. * bignum.c (rb_big2dbl): return canonical HUGE_VAL for infinity. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2633 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-07-05 * lib/cgi.rb (CGI#initialize): improvement for mod_ruby.wakou
thanks to Sean Chittenden <sean@ruby-lang.org>, Shugo Maeda <shugo@modruby.net> git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2623 b2dd03c8-39d4-4d8f-98ff-823fe69b080e