Age | Commit message (Collapse) | Author |
|
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
|
|
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2914 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
* 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
|
|
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2881 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
(win32_stat) : ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2866 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
CONFIG["LIBS"].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2855 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
[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
|
|
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
|
|
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
|
|
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2845 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2831 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
had not spread.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2829 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
* 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
|
|
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
|
|
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2812 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2807 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
[ruby-list:35772]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2803 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
* 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
|
|
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
|
|
* 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
|
|
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2745 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
* 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
|
|
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
|
|
* 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
|
|
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
|
|
* 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
|
|
* 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
|
|
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2719 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
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
|
|
* 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
|
|
occurred.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
* 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
|
|
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
|
|
* 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
|
|
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
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
|
|
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
|
|
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2617 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2616 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
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
|
|
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2605 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2595 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2594 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
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
|
|
* 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
|
|
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2585 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2584 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
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
|
|
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
|
|
(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
|