2002-05-30
2 lines of code changed in:
* range.c (range_step): iteration done using "+" if elements are
Numeric. Otherwise using "succ".
* range.c (range_each): iteration done using "succ". If the
elements does not respond to "succ", raise TypeError. As a
result, all Enumerable methods, e.g. collect, require elements
to respond to "succ'.
* range.c (range_member): comparison done using "each", if
elements are non-Numeric or no-"succ" objects. Otherwise
compare using "<=>".
* range.c (Init_Range): remove "size" and "length".
117 lines of code changed in:
* lib/cgi.rb: if StringIO is usable then use it.
17 lines of code changed in:
Wed May 29 18:55:47 2002 KONISHI Hiromasa <H_Konishi@ruby-lang.org>
* function renames my* and win32_* to rb_w32_* in win32/win32.c
fixed files win32/win32.c, win32/win32.h, win32/dir.h,
hash.c, rubysig.h, signal.c, ext/socket/socket.c
177 lines of code changed in:
* time.c (tmcmp, search_time_t): activate unless HAVE_TIMEGM.
6 lines of code changed in:
fix for POST method.
2 lines of code changed in:
* parse.y: yyparse #defines moved from intern.h
* ruby.c (proc_options): access prefixed "ruby_yydebug".
* applied modifies to pacify some of gcc -Wall warnings.
* parse.y (arg): no more ugly hack for "**", so that "-2**2" to be
parsed as "(-2)**2", whereas "- 2**2" or "-(2)**2" to be parsed
as "-(2**2)".
* parse.y (yylex): '-2' to be literal fixnum. [new]
* time.c (time_succ): new method for Range support.
* time.c (time_arg): nil test against v[6] (usec).
166 lines of code changed in:
* lib/cgi.rb: not use const if GET, HEAD. check multipart form head.
29 lines of code changed in:
* array.c: fixed format string for 'long' args (%d -> %ld).
* class.c: ditto.
* eval.c: ditto.
* numeric.c: ditto.
* pack.c: ditto.
* parse.y: ditto.
* range.c: ditto.
* string.c: ditto.
* util.c: ditto.
21 lines of code changed in:
* eval.c (scope_node): trick to keep the node has a scope.
* eval.c (rb_eval): NODE_EVSTR: write back local_tbl to the node.
* eval.c (rb_eval): NODE_SCOPE: hold the scope node in ruby_scope.
* eval.c (module_setup): ditto.
* eval.c (rb_call0): ditto.
* node.h (NEW_DASGN, NEW_DASGN_CURR): remove surplus semicolons.
30 lines of code changed in:
* ruby.c (proc_options): option parsing problem.
(ruby-bugs-ja:PR#233)
6 lines of code changed in:
* ruby.c (proc_options): removed "-*-" support for #! line.
* io.c (rb_io_s_sysopen): new method to get a raw file
descriptor. [new]
* ext/socket/socket.c (tcp_sysaccept): new method to return an
accepted socket fd (integer). [new]
* ext/socket/socket.c (unix_sysaccept,sock_sysaccept): ditto.
109 lines of code changed in:
* ruby.c (proc_options): -T consumes digits only.
6 lines of code changed in:
Wed May 22 20:18:31 2002 WATANABE Hirofumi <eban@ruby-lang.org>
* configure.in: need not link vsnprintf.o on MinGW.
7 lines of code changed in:
* parse.y (yylex): case '<': here-document label ate '-'.
7 lines of code changed in:
2002-05-22
2 lines of code changed in:
minor bug fixes.
3 lines of code changed in:
* object.c (Init_Object): should do exact match for Module#==.
* compar.c (cmp_eq): returns 'false' if <=> returns 'nil'.
* compar.c (cmp_gt,cmp_ge,cmp_lt,cmp_le,cmp_between): ditto.
* pack.c (pack_pack): should propagate taintedness.
* pack.c (pack_unpack): ditto.
* eval.c (rb_thread_schedule): need to preserve errno before
calling rb_trap_exec().
* regex.c (calculate_must_string): a bug in charset/charset_not
parsing.
216 lines of code changed in:
* misc/ruby-mode.el (ruby-font-lock-keywords): symbols end with '_'.
6 lines of code changed in:
Tue May 21 04:48:37 2002 Sean Chittenden <sean@chittenden.org>
* lib/cgi-lib.rb: Checking for constant MOD_RUBY instead of
environment variable. Remove a mod_ruby warning and use
Apache::request.headers_out[] instead.
8 lines of code changed in:
* parse.y (bodystmt): ensure clause was excuted on else clause
without rescue clase.
6 lines of code changed in:
Get rid of a function.
0 lines of code changed in:
Get rid of a few functions.
2 lines of code changed in:
rename PtrData::alloc and Struct#alloc to malloc respectively.
29 lines of code changed in:
Get rid of the declaration of rb_str_cat2().
37 lines of code changed in:
2002-05-20
2 lines of code changed in:
* io.c (rb_io_clone): writing stream was not copied properly.
6 lines of code changed in:
added a summary of the changes in the new date.
8 lines of code changed in:
added an entry (date/format.rb).
1 lines of code changed in:
added an entry (lib/date/format.rb).
1 lines of code changed in:
corrected paths.
1 lines of code changed in:
use Array#select instead of Array#indexes.
1 lines of code changed in:
updated to the new version (based on date2 3.2.1).
896 lines of code changed in:
* win32/Makefile.sub (config.h): add VC++4/5 support about noreturn
directive.
9 lines of code changed in:
* sampl/test.rb: use eval instead of './miniruby -c',
in order to check a syntax error.
14 lines of code changed in:
2002-05-16
2 lines of code changed in:
* eval.c (rb_thread_select): cleanup conditional compilation.
9 lines of code changed in:
Add DL::DLSTACK.
69 lines of code changed in:
* win32/Makefile.sub: config.h inlined. and catch up with the
latest change.
* win32/config.h.in: no longer used.
240 lines of code changed in:
* eval.c (rb_clear_cache_by_class): new function.
* eval.c (set_method_visibility): should have clear cache forq
updated visibility.
* numeric.c (flo_to_s): default format precision to be "%.16g".
* util.c (ruby_strtod): use own strtod(3) implementation to avoid
locale hell. Due to this change "0xff".to_f no longer returns 255.0
* eval.c (avalue_to_yvalue): new function to distinguish yvalue
(no-arg == Qundef) from svalue (no-arg == Qnil).
* eval.c (rb_yield_0): use avalue_to_yvalue().
* eval.c (assign): warn if val == Qundef where it means rhs is
void (e.g. yield without value or call without argument).
* parse.y (value_expr): need not to warn for WHILE and UNTIL,
since they can have return value (via valued break).
377 lines of code changed in:
* gc.c (is_pointer_to_heap): avoid GCC 3.1 warnings.
* missing/strftime.c (timezone): it should take no argument on Cygwin.
15 lines of code changed in:
* djgpp/config.hin, djgpp/config.sed: catch up with the latest change.
64 lines of code changed in:
cast to long from char, short and int in ASM_PUSH_XXXX.
6 lines of code changed in:
* ext/dl: enable dl's stack emulation for constructing function call.
7 lines of code changed in:
enable dl's stack emulation for constructing function call.
122 lines of code changed in:
* forgot to commit.
1 lines of code changed in:
2002-05-12
2 lines of code changed in:
* missing.h: add for missing/*.c.
* ruby.h: add `#include "missing.h"'.
* Makefile.in: add the dependency of missing.h by gcc -MM.
* MANIFEST: add missing.h
182 lines of code changed in:
2002-05-11
2 lines of code changed in:
* dir.c (glob_helper): remove escaping backslashes.
8 lines of code changed in:
* parse.y (here_document): preserve line number begins here
document.
10 lines of code changed in:
2002-05-10
2 lines of code changed in:
* eval.c (rb_thread_join): added an argument to limit time to wait
the thread.
* eval.c (rb_thread_join_m): new. and added optional argument.
40 lines of code changed in:
* re.c (rb_reg_s_quote): # also should be quoted.
7 lines of code changed in:
2002-05-07
2 lines of code changed in:
* configure.in: forgot to add -Wl, to the gcc option on Cygwin/MinGW.
6 lines of code changed in:
* ext/iconv/iconv.c (iconv_try): should initialize exceptions
properly. (ruby-bugs-ja:PR#232)
15 lines of code changed in:
* eval.c (rb_yield_0): The destination of the goto jump was wrong.
5 lines of code changed in:
* eval.c (superclass): undesirable "unexpected return" when the superclass is not a Class.
9 lines of code changed in:
2002-05-05
2 lines of code changed in:
* lib/mkmf.rb: exclude topdir from the system configuration
section and prevent it from being overridden.
9 lines of code changed in:
Back out the previous commit which was incorrect. I misread the
specification.
1 lines of code changed in:
2002-05-04
2 lines of code changed in:
* dir.c (fnmatch): Make PERIOD() independent of FNM_PATHNAME.
This fixes a bug where fnmatch('/?a', '/.a', 0) returned true.
6 lines of code changed in:
* win32/config.h.in: define HAVE_DECL_SYS_NERR.
4 lines of code changed in:
* configure.in: add #include <errno.h> in AC_CHECK_DECLS().
6 lines of code changed in:
2002-05-02
2 lines of code changed in:
* ext/extmk.rb.in, lib/mkmf.rb: use 'do...end' instead of '{}' for Borland make.
7 lines of code changed in:
* error.c: use HAVE_DECL_SYS_NERR instead of platform names.
36 lines of code changed in:
Catch the exception SystemExit in extconf.rb.
6 lines of code changed in:
2002-05-01
2 lines of code changed in:
* numeric.c (num_step): better iteration condition for float
values; suggested by Masahiro TANAKA <masa@ir.isas.ac.jp>.
* range.c (range_step): step (for Range#step method) <= 0 makes no
sence, thus ArgError will be raised.
* range.c (range_each): Range#each method is special case for
Range#step(1)
* file.c (rb_find_file): load must be done from an abolute path if
$SAFE >= 4.
* enum.c (enum_partition): new method. [new]
* re.c (rb_reg_s_quote): quote whitespaces for /x cases.
155 lines of code changed in:
L641: rb_float_new(*((float*)ptr)) -> rb_float_new(*((double*)ptr)).
1 lines of code changed in: