summaryrefslogtreecommitdiff
path: root/ChangeLog
AgeCommit message (Collapse)Author
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
2002-07-03 * lib/cgi.rb (CGI#initialize): improvement for mod_ruby.wakou
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2617 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-07-02 * lib/cgi.rb (CGI#header): accept any type as value.wakou
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2616 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-30* configure.in (seekdir, telldir): add ac_cv_func_telldir=yes,eban
ac_cv_func_seekdir=yes for MinGW. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2613 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-27* win32/win32.c (rb_w32_stat): fix buffer overflow. (ruby-bugs:PR#329)usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2605 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-25* dln.c: remove definition rb_loaderror().H_Konishi
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2595 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-24* dln.c: remark definition rb_loaderror().H_Konishi
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2594 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-20* ext/readline/readline.c (readline_readline): get rid ofnobu
libreadline's bug. (ruby-bugs-ja:PR#268) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2588 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-20* configure.in (__NO_ISOCEXT): add for mingw-runtime 2.0-2.eban
* configure.in (__MSVCRT__): removed because it is defined in the GCC specs. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2587 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-20* lib/ftool.rb (BUFSIZE): tuning, set buffer length to 8192.eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2585 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-19* ext/extmk.rb, lib/mkmf.rb (xsystem): open the log file if xsystem is called.eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2584 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-17* dln.c (dln_load): need to preserve dln_strerror() result,nobu
calling other dl family can clear it. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2575 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-15* dir.c (rb_glob_helper): Use lstat() instead of rb_sys_stat() soknu
it catches a dead symlink. Given a dead symlink named "a", Dir.glob("?") did catch it but Dir.glob("a") somehow didn't. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-14* parse.y (read_escape): deny zero-width hexadecimal character.nobu
(ruby-bugs-ja:PR#260) * parse.y (tokadd_escape): ditto. * regex.c (re_compile_pattern): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2568 b2dd03c8-39d4-4d8f-98ff-823fe69b080e