* lib/mkmf.rb (dir_config): prior --with flag.
* lib/mkmf.rb (arg_config): avoid special variables for
font-lock-mode.
14 lines of code changed in:
refine previous change.
1 lines of code changed in:
* lib/pp.rb (File::Stat#pretty_print): print rdev_major and rdev_minor.
12 lines of code changed in:
* regex.c (re_adjust_startpos): fix for SJIS and UTF-8.
1 lines of code changed in:
* regex.c (re_adjust_startpos): fix for SJIS.
* regex.c (mbc_startpos): ditto.
25 lines of code changed in:
* regex.c (re_adjust_startpos): search start of multibyte
backward.
* regex.c (mbc_startpos): ditto.
127 lines of code changed in:
Add wresize, resizeterm and KEY_RESIZE.
32 lines of code changed in:
* lib/pp.rb: don't print a mode File::Stat as decimal number.
5 lines of code changed in:
* file.c: `major' and `minor' macro needs sys/mkdev.h on SunOS 5.x.
* configure.in: add check for `sys/mkdev.h'.
12 lines of code changed in:
* file.c (rb_stat_rdev_major): added. [new]
* file.c (rb_stat_rdev_minor): added. [new]
* file.c (rb_stat_inspect): print mode in octal.
283 lines of code changed in:
* array.c (rb_ary_fill): shouldn't yield unless block given.
5 lines of code changed in:
* parse.y (yylex): strict check for numbers.
65 lines of code changed in:
* eval.c (is_defined): defined?(Foo::Baz) should check constants
only, no methods.
* eval.c (is_defined): should not dump core on defined?(a::b)
where a is not a class nor a module.
* object.c (Init_Object): remove dup and clone from TrueClass,
FalseClass, and NilClass.
* array.c (rb_ary_fill): Array#fill takes block to get the value to
fill.
* string.c (rb_str_to_i): to_i(0) auto-detects base radix.
* array.c (rb_ary_initialize): fill by the block evaluation value
if block is given.
110 lines of code changed in:
* configure.in (solaris): add '-shared' only for GNU ld.
12 lines of code changed in:
* class.c (rb_include_module): detect cyclic module inclusion.
* eval.c (rb_thread_cleanup): need not to free thread stacks at
process termination.
* array.c (rb_ary_fetch): use the block to get the default value
if the block is given.
* eval.c (rb_thread_schedule): should check time only if BOTH
WAIT_SELECT and WAIT_TIME.
* eval.c (umethod_bind): should update rklass field.
* hash.c (rb_hash_update): if a block is given, yields [key,
value1, value2] to the block to resolve conflict.
* string.c (rb_str_split_m): no need to consider KANJI
characters, if the length of separator is 1 (byte).
87 lines of code changed in:
* array.c (Init_Array): remove Array#filter.
* object.c (rb_mod_initialize): should accept zero argument.
* object.c (rb_mod_cmp): should raise ArgumentError if
inheritance/inclusion relation between two classes/modules is
not defined. [new]
* io.c (rb_io_fsync): new method. [new]
102 lines of code changed in:
2002-01-23
2 lines of code changed in:
* eval.c (rb_yield_0): restore source file/line after yield.
8 lines of code changed in:
* signal.c (ruby_signal): must define sighandler_t unless
POSIX_SIGNAL.
6 lines of code changed in:
2002-01-21
2 lines of code changed in:
* eval.c (ruby_stop): should not trace error handler.
* signal.c (install_sighandler): do not install sighandler unless
the old value is SIG_DFL.
* io.c (io_write): should not raise exception on O_NONBLOCK io.
* dir.c (dir_set_pos): seek should return dir, pos= should not.
76 lines of code changed in:
2002-01-19
2 lines of code changed in:
* eval.c (rb_eval): need not to clar method cache for NODE_CLASS,
NODE_SCLASS.
* gc.c (obj_free): need not to clear method cache on class/module
finalization.
20 lines of code changed in:
2002-01-18
2 lines of code changed in:
* io.c (rb_io_s_new): block check moved from initialize to this
method.
* io.c (rb_io_s_open): open should call initialize too. IO#for_fd
also calls initialize. [new]
* error.c (rb_sys_fail): replace INT2FIX() by INT2NUM() since
errno value may not fit in Fixnum size on Hurd.
* error.c (set_syserr): ditto.
* dir.c (dir_s_glob): returns nil if block given.
* io.c (rb_io_each_byte): should return self.
* io.c (rb_io_close_m): close check added.
* dir.c (dir_seek): should return pos.
* parse.y (fixpos): orig may be (NODE*)1, which should not be
dereferenced.
116 lines of code changed in:
* ext/socket/socket.c (tcp_svr_s_open): fix typo.
5 lines of code changed in:
* eval.c (block_pass): allow "retry" from within argument passed
block. [new]
* eval.c (localjump_error): should preserve exit status in the
exception object. [new]
* eval.c (proc_invoke): should raise exception for "break" if it's
yielding, not calling. [new]
* eval.c (block_pass): should NOT raise exception for "break". [new]
* eval.c (block_pass): should allow block argument relay even in
the tainted mode.
* ext/socket/socket.c: support subclassing by proper "initialize"
calling convention. [new]
191 lines of code changed in:
2001-01-16
2 lines of code changed in:
* eval.c: bugus commit fixed (again, sorry).
2 lines of code changed in:
* eval.c: bugus commit fixed.
0 lines of code changed in:
* st.c: primes should be primes.
* eval.c (is_defined): method defined? check should honor
protected too.
* eval.c (block_pass): should not pass tainted block, if $SAFE > 0.
* variable.c (rb_mod_remove_cvar): should pass the char*.
76 lines of code changed in:
* lib/timeout.rb (timeout): new optional argument to specify an
exception class.
* lib/resolv.rb: use Resolv::ResolvTimeout for internal timeout to
avoid problem with timeout of application.
15 lines of code changed in:
* object.c (rb_Float): remove underscores between digits.
* bignum.c (rb_cstr2inum): reject prefix followed by spaces only.
* class.c (rb_class_inherited): should use Object when no super
class.
23 lines of code changed in:
* Makefile.in (clean): add $(MAINOBJ)
1 lines of code changed in:
2002-01-11
2 lines of code changed in:
* doc/NEWS: moved syntax related issues to top of the list.
24 lines of code changed in:
* doc/NEWS: sorted by entry name.
* doc/NEWS: modify String#[re,n] entry.
* doc/NEWS: unify method expressions.
223 lines of code changed in:
* lib/English.rb: typo
1 lines of code changed in:
* re.c (match_select): should propagate taintness.
* hash.c (rb_hash_set_default): Hash#default= should return the
new value.
* string.c (rb_str_to_i): accepts optional base argument. [new]
* numeric.c (rb_fix2str): should not handle negative fixnum values
int32 via calling sprintf() directly.
77 lines of code changed in:
* class.c (rb_make_metaclass): [new]
* class.c (rb_define_class_id): use rb_make_metaclass(), don't
call Class#inherited hook.
* class.c (rb_class_inherited): [new]
* class.c (rb_define_class): call Class#inherited hook here.
* class.c (rb_define_class_under): ditto after class path is set.
* class.c (rb_singleton_class): use rb_make_metaclass().
* eval.c (rb_eval): same as rb_define_class_under().
* intern.h: prototypes of rb_make_metaclass() and
rb_class_inherited().
* object.c (rb_class_s_new): use rb_make_metaclass() and
rb_class_inherited().
* object.c (Init_Object): use rb_make_metaclass().
* struct.c (make_struct): use rb_class_inherited().
59 lines of code changed in:
2002-01-10
2 lines of code changed in:
* eval.c (rb_add_method): should clear cache by id always.
* eval.c (rb_disable_super): no longer need to clear cache before
rb_add_method().
* eval.c (rb_export_method): ditto.
* eval.c (rb_attr): ditto.
* eval.c (rb_undef): ditto.
* eval.c (rb_eval): ditto.
* eval.c (rb_mod_modfunc): ditto.
* eval.c (rb_mod_define_method): ditto.
21 lines of code changed in:
added uri library (uri-0.9.4)
8 lines of code changed in:
added uri library (uri-0.9.4)
2302 lines of code changed in:
* win32/resource.rb: Modify copyright in resource script.
5 lines of code changed in:
* misc/ruby-mode.el (ruby-calculate-indent): indentation after
comment at beginning of buffer failed.
* misc/ruby-mode.el (font-lock-defaults): unless XEmacs, set
font-lock variables in ruby-mode-hook.
23 lines of code changed in:
* eval.c (rb_add_method): clear replaced method from the cache.
8 lines of code changed in:
2002-01-07
2 lines of code changed in:
Add.
2 lines of code changed in:
fix typo in documentation.
1 lines of code changed in:
* string.c (rb_str_new2): NULL pointer check added.
* class.c (rb_define_module_under): should locate predefined
module using rb_const_defined_at().
20 lines of code changed in:
* lib/time.rb (Time#xmlschema): new optional argument
fractional_seconds to specify a number of digits of
fractional part of the time.
32 lines of code changed in:
misordered.
4 lines of code changed in:
* range.c (range_member): beginning check was
wrong. [ruby-talk:30252]
6 lines of code changed in:
* misc/ruby-mode.el (ruby-forward-string): forward a string. [new]
* misc/ruby-mode.el (ruby-parse-region): handle nested parentheses
in a string and terminators in #{}.
* misc/ruby-mode.el (ruby-calculate-indent): ditto.
* misc/ruby-mode.el (ruby-font-lock-syntactic-keywords):
fix font-lock problem [ruby-talk:29296].
97 lines of code changed in:
2002-01-05
2 lines of code changed in:
* parse.y (yycompile): strdup()'ed twice.
4 lines of code changed in:
2002-01-05
4 lines of code changed in:
* process.c (rb_f_system): abandon vfork.
* io.c (pipe_open): ditto.
* defines.h: sparc linux needs different FLUSH_REGISTER_WINDOWS
* regex.c (re_search): abandon stclass optimization.
* bignum.c (rb_cstr2inum): deny "0_".
* bignum.c (rb_cstr2inum): allow "0\n" and so on.
* error.c (rb_invalid_str): utility function to show inspect()'ed
string.
* bignum.c (rb_cstr2inum): prints invalid strings in inspect()'ed
format.
* object.c (rb_Float): ditto.
* object.c (rb_convert_type): no longer use rb_rescue().
* re.c (rb_reg_search): initialize taint status of match object.
97 lines of code changed in:
The author of getoptlong.rb has agreed on changing the license from
GPL to Ruby's.
2 lines of code changed in:
* process.c (rb_f_system): abandon vfork.
* io.c (pipe_open): ditto.
* defines.h: sparc linux needs different FLUSH_REGISTER_WINDOWS
* regex.c (re_search): abandon stclass optimization.
* bignum.c (rb_cstr2inum): deny "0_".
* bignum.c (rb_cstr2inum): allow "0\n" and so on.
* error.c (rb_invalid_str): utility function to show inspect()'ed
string.
* bignum.c (rb_cstr2inum): prints invalid strings in inspect()'ed
format.
* object.c (rb_Float): ditto.
* object.c (rb_convert_type): no longer use rb_rescue().
* re.c (rb_reg_search): initialize taint status of match object.
39 lines of code changed in:
* lib/mkmf.rb (create_makefile): add -I. to CPPFLAGS.
* lib/mkmf.rb (create_makefile): srcdir support(.def and depend file).
19 lines of code changed in: