summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2002-05-30* range.c (range_step): iteration done using "+" if elements arematz
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". git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2506 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-05-30 * lib/cgi.rb: if StringIO is usable then use it.wakou
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2505 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-05-29Wed May 29 18:55:47 2002 KONISHI Hiromasa <H_Konishi@ruby-lang.org>H_Konishi
* 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 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2504 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-05-29* time.c (tmcmp, search_time_t): activate unless HAVE_TIMEGM.eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2503 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-05-29fix for POST method.wakou
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2502 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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 * array.c: fixed format string for 'long' args (%d -> %ld).michal
* class.c: ditto. * eval.c: ditto. * numeric.c: ditto. * pack.c: ditto. * parse.y: ditto. * range.c: ditto. * string.c: ditto. * util.c: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2498 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-222002-05-22nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2486 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-05-22minor bug fixes.matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2485 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-20Get rid of a function.ttate
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2478 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-05-20Get rid of a few functions.ttate
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2477 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-20Get rid of the declaration of rb_str_cat2().ttate
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2475 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-05-202002-05-20nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2474 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-19added a summary of the changes in the new date.tadf
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2472 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-05-19added an entry (date/format.rb).tadf
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2471 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-05-19added an entry (lib/date/format.rb).tadf
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2470 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-18use Array#select instead of Array#indexes.tadf
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2468 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-162002-05-16eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2461 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-15Add DL::DLSTACK.ttate
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2459 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-12cast to long from char, short and int in ASM_PUSH_XXXX.ttate
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2452 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-11enable dl's stack emulation for constructing function call.ttate
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2450 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-05-11* forgot to commit.eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2449 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-05-112002-05-12eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2448 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-112002-05-11nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2446 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