summaryrefslogtreecommitdiff
path: root/ChangeLog
AgeCommit message (Collapse)Author
2002-05-29* parse.y: yyparse #defines moved from intern.hmatz
* 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). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-05-29 * lib/cgi.rb: not use const if GET, HEAD. check multipart form head.wakou
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2499 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-05-28* eval.c (scope_node): trick to keep the node has a scope.nobu
* 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. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2497 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-05-23* ruby.c (proc_options): option parsing problem.nobu
(ruby-bugs-ja:PR#233) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2496 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-05-23* ruby.c (proc_options): removed "-*-" support for #! line.matz
* 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. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2492 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-05-22* ruby.c (proc_options): -T consumes digits only.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2490 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-05-22Wed May 22 20:18:31 2002 WATANABE Hirofumi <eban@ruby-lang.org>eban
* configure.in: need not link vsnprintf.o on MinGW. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2488 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-05-22* parse.y (yylex): case '<': here-document label ate '-'.aamine
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2487 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-05-21* object.c (Init_Object): should do exact match for Module#==.matz
* 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. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2482 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-05-21* misc/ruby-mode.el (ruby-font-lock-keywords): symbols end with '_'.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2481 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-05-20Tue May 21 04:48:37 2002 Sean Chittenden <sean@chittenden.org>wakou
* 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. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2480 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-05-20* parse.y (bodystmt): ensure clause was excuted on else clausenobu
without rescue clase. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2479 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-05-20rename PtrData::alloc and Struct#alloc to malloc respectively.ttate
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2476 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-05-20* io.c (rb_io_clone): writing stream was not copied properly.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2473 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-05-18corrected paths.tadf
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2469 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-05-18updated to the new version (based on date2 3.2.1).tadf
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2467 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-05-18* win32/Makefile.sub (config.h): add VC++4/5 support about noreturnusa
directive. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2466 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-05-17* sampl/test.rb: use eval instead of './miniruby -c',eban
in order to check a syntax error. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2464 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-05-16* eval.c (rb_thread_select): cleanup conditional compilation.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2460 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-05-14* win32/Makefile.sub: config.h inlined. and catch up with thenobu
latest change. * win32/config.h.in: no longer used. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2458 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-05-14* eval.c (rb_clear_cache_by_class): new function.matz
* 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). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2457 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-05-14* gc.c (is_pointer_to_heap): avoid GCC 3.1 warnings.eban
* missing/strftime.c (timezone): it should take no argument on Cygwin. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2454 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-05-13* djgpp/config.hin, djgpp/config.sed: catch up with the latest change.eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2453 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-05-11* ext/dl: enable dl's stack emulation for constructing function call.ttate
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2451 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-05-11* missing.h: add for missing/*.c.eban
* ruby.h: add `#include "missing.h"'. * Makefile.in: add the dependency of missing.h by gcc -MM. * MANIFEST: add missing.h git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-05-11* dir.c (glob_helper): remove escaping backslashes.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2445 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-05-10* parse.y (here_document): preserve line number begins herenobu
document. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2443 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-05-09* eval.c (rb_thread_join): added an argument to limit time to waitnobu
the thread. * eval.c (rb_thread_join_m): new. and added optional argument. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2441 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-05-07* re.c (rb_reg_s_quote): # also should be quoted.matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2440 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-05-07* configure.in: forgot to add -Wl, to the gcc option on Cygwin/MinGW.eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2438 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-05-07* ext/iconv/iconv.c (iconv_try): should initialize exceptionsnobu
properly. (ruby-bugs-ja:PR#232) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2437 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-05-07* eval.c (rb_yield_0): The destination of the goto jump was wrong.aamine
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2436 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-05-07* eval.c (superclass): undesirable "unexpected return" when the superclass ↵aamine
is not a Class. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2435 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-05-04* lib/mkmf.rb: exclude topdir from the system configurationknu
section and prevent it from being overridden. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-05-04Back out the previous commit which was incorrect. I misread theknu
specification. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2430 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-05-03* dir.c (fnmatch): Make PERIOD() independent of FNM_PATHNAME.knu
This fixes a bug where fnmatch('/?a', '/.a', 0) returned true. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2428 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-05-03* win32/config.h.in: define HAVE_DECL_SYS_NERR.eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2427 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-05-03* configure.in: add #include <errno.h> in AC_CHECK_DECLS().eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2426 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-05-02* ext/extmk.rb.in, lib/mkmf.rb: use 'do...end' instead of '{}' for Borland make.eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2424 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-05-02* error.c: use HAVE_DECL_SYS_NERR instead of platform names.matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2423 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-05-01* numeric.c (num_step): better iteration condition for floatmatz
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. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2420 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-28* win32/win32.c (insert): fix prototype for ANSI C.eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2416 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-26ext/dl/ptr.c: missing break in switch statements.ttate
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2415 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-26* eval.c (rb_proc_new): make Proc from C function. [new]nobu
* intern.h (rb_proc_new): prototype. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2413 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-24* eval.c (proc_to_proc): return self. [new]nobu
* eval.c (block_pass): no need to convert if block is Proc. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2407 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-24* configure.in: set size of the initial stack fromeban
2MB to 32MB on MinGW/Cygwin. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2404 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-24* numeric.c (num_step): try to reduce residual on Float operations.matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2403 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-24* io.c (rb_io_mode_flags): both 'r+b' and 'rb+' should be allowed.matz
* io.c (rb_io_mode_modenum): ditto. * gc.c (rb_memerror): rename from mem_error, and exported. * gc.c (Init_GC): pre-allocate NoMemoryError instance. * object.c (convert_type): error message changed from "failed to convert" to "cannot convert", since it does not try to convert if an object does not respond to the converting method. * eval.c (block_pass): convert Method to Proc using rb_check_convert_type(). * object.c (rb_check_convert_type): always convert T_DATA * eval.c (rb_thread_cleanup): should not terminate main_thread by Fatal error. * regex.c (is_in_list): need to not exclude NUL and NEWLINE. * re.c (rb_reg_expr_str): wrong backslash escapement. * re.c (rb_reg_expr_str): do not escape embedded space characters. * marshal.c (w_object): T_DATA process patch from Joel VanderWerf <vjoel@PATH.Berkeley.EDU>. This is temporary hack; it remains undocumented, and it will be removed when marshaling is re-designed. * marshal.c (r_object): ditto. * numeric.c (num_step): Integer#step is moved to Numeric#step; Fixnum#step is merged into this method. * numeric.c (int_dotimes): Fixnum#times is merged. * numeric.c (int_upto): Fixnum#upto is merged. * numeric.c (int_downto): Fixnum#downto is merged. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2401 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-23* ext/stringio/stringio.c (strio_mark): must check if ptr is NULLnobu
first. [ruby-talk:38873] * lib/mkmf.rb (create_makefile): should print depend file when make is other than nmake. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2399 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-23* ext/extmk.rb.in (create_makefile): use `{$(srcdir)}' directive insteadusa
of `$(srcdir)/' when including depend file. * lib/mkmf.rb (create_makefile): add `{$(srcdir)}' when including depend file. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2398 b2dd03c8-39d4-4d8f-98ff-823fe69b080e