summaryrefslogtreecommitdiffstats
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
...
* * string.c (rb_str_aset): should raise error if an indexing stringmatz2002-06-041-0/+12
| | | | | | | | | | | | is not found in the receiver. * sprintf.c (rb_f_sprintf): "%d" should convert objects into integers using Integer(). * lib/tempfile.rb (Tempfile::size): added. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2517 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/getaddrinfo.c (gai_strerror): make literals const.nobu2002-06-031-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2513 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/addrinfo.h: typo.nobu2002-06-031-0/+13
| | | | | | | | | | | | | | * ext/socket/getaddrinfo.c (gai_strerror): get rid of warning. * ext/socket/socket.c (init_inetsock): ensures resources are freed at exceptions. * ext/socket/socket.c (init_unixsock): ditto. * ext/socket/socket.c (udp_connect): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2511 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* change PLATFORM with RUBY_PLATFORM.suke2002-06-031-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2510 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (here_document): check if identifier is terminated.nobu2002-06-021-0/+8
| | | | | | | | | | (ruby-bugs-ja:PR#239) * parse.y (yylex): should pushback proper char after '**'. (ruby-bugs-ja:PR#240) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2509 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merge win32ole from roughsuke2002-06-011-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2508 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * range.c (range_step): iteration done using "+" if elements arematz2002-05-301-4/+16
| | | | | | | | | | | | | | | | | | 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: http://svn.ruby-lang.org/repos/ruby/trunk@2506 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi.rb: if StringIO is usable then use it.wakou2002-05-301-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2505 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Wed May 29 18:55:47 2002 KONISHI Hiromasa <H_Konishi@ruby-lang.org>H_Konishi2002-05-291-0/+6
| | | | | | | | | * 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: http://svn.ruby-lang.org/repos/ruby/trunk@2504 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * time.c (tmcmp, search_time_t): activate unless HAVE_TIMEGM.eban2002-05-291-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2503 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y: yyparse #defines moved from intern.hmatz2002-05-291-0/+24
| | | | | | | | | | | | | | | | | | | * 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: http://svn.ruby-lang.org/repos/ruby/trunk@2500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi.rb: not use const if GET, HEAD. check multipart form head.wakou2002-05-291-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2499 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (scope_node): trick to keep the node has a scope.nobu2002-05-281-0/+14
| | | | | | | | | | | | | | | * 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: http://svn.ruby-lang.org/repos/ruby/trunk@2497 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (proc_options): option parsing problem.nobu2002-05-231-0/+5
| | | | | | | (ruby-bugs-ja:PR#233) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2496 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (proc_options): removed "-*-" support for #! line.matz2002-05-231-0/+12
| | | | | | | | | | | | | * 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: http://svn.ruby-lang.org/repos/ruby/trunk@2492 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (proc_options): -T consumes digits only.nobu2002-05-221-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2490 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Wed May 22 20:18:31 2002 WATANABE Hirofumi <eban@ruby-lang.org>eban2002-05-221-0/+4
| | | | | | | * configure.in: need not link vsnprintf.o on MinGW. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2488 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (yylex): case '<': here-document label ate '-'.aamine2002-05-221-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2487 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * object.c (Init_Object): should do exact match for Module#==.matz2002-05-211-1/+23
| | | | | | | | | | | | | | | | | | | * 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: http://svn.ruby-lang.org/repos/ruby/trunk@2482 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * misc/ruby-mode.el (ruby-font-lock-keywords): symbols end with '_'.nobu2002-05-211-0/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2481 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Tue May 21 04:48:37 2002 Sean Chittenden <sean@chittenden.org>wakou2002-05-201-0/+6
| | | | | | | | | * 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: http://svn.ruby-lang.org/repos/ruby/trunk@2480 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (bodystmt): ensure clause was excuted on else clausenobu2002-05-201-0/+5
| | | | | | | without rescue clase. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2479 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rename PtrData::alloc and Struct#alloc to malloc respectively.ttate2002-05-201-0/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2476 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_clone): writing stream was not copied properly.nobu2002-05-201-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2473 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* corrected paths.tadf2002-05-181-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2469 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* updated to the new version (based on date2 3.2.1).tadf2002-05-181-0/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2467 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (config.h): add VC++4/5 support about noreturnusa2002-05-181-0/+5
| | | | | | | directive. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2466 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sampl/test.rb: use eval instead of './miniruby -c',eban2002-05-171-0/+5
| | | | | | | in order to check a syntax error. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2464 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_thread_select): cleanup conditional compilation.nobu2002-05-161-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2460 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub: config.h inlined. and catch up with thenobu2002-05-141-0/+7
| | | | | | | | | latest change. * win32/config.h.in: no longer used. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2458 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_clear_cache_by_class): new function.matz2002-05-141-0/+29
| | | | | | | | | | | | | | | | | | | | | | | | * 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: http://svn.ruby-lang.org/repos/ruby/trunk@2457 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (is_pointer_to_heap): avoid GCC 3.1 warnings.eban2002-05-141-0/+6
| | | | | | | * missing/strftime.c (timezone): it should take no argument on Cygwin. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2454 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * djgpp/config.hin, djgpp/config.sed: catch up with the latest change.eban2002-05-131-2/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2453 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/dl: enable dl's stack emulation for constructing function call.ttate2002-05-111-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2451 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * missing.h: add for missing/*.c.eban2002-05-111-0/+10
| | | | | | | | | * ruby.h: add `#include "missing.h"'. * Makefile.in: add the dependency of missing.h by gcc -MM. * MANIFEST: add missing.h git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dir.c (glob_helper): remove escaping backslashes.nobu2002-05-111-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2445 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (here_document): preserve line number begins herenobu2002-05-101-0/+5
| | | | | | | document. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2443 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_thread_join): added an argument to limit time to waitnobu2002-05-091-0/+7
| | | | | | | | | the thread. * eval.c (rb_thread_join_m): new. and added optional argument. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2441 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * re.c (rb_reg_s_quote): # also should be quoted.matz2002-05-071-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2440 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: forgot to add -Wl, to the gcc option on Cygwin/MinGW.eban2002-05-071-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2438 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/iconv/iconv.c (iconv_try): should initialize exceptionsnobu2002-05-071-0/+5
| | | | | | | properly. (ruby-bugs-ja:PR#232) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2437 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_yield_0): The destination of the goto jump was wrong.aamine2002-05-071-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2436 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (superclass): undesirable "unexpected return" when the superclass ↵aamine2002-05-071-0/+5
| | | | | | is not a Class. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2435 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb: exclude topdir from the system configurationknu2002-05-041-0/+5
| | | | | | | section and prevent it from being overridden. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Back out the previous commit which was incorrect. I misread theknu2002-05-041-5/+0
| | | | | | | specification. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2430 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dir.c (fnmatch): Make PERIOD() independent of FNM_PATHNAME.knu2002-05-031-0/+5
| | | | | | | This fixes a bug where fnmatch('/?a', '/.a', 0) returned true. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2428 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/config.h.in: define HAVE_DECL_SYS_NERR.eban2002-05-031-0/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2427 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: add #include <errno.h> in AC_CHECK_DECLS().eban2002-05-031-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2426 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb.in, lib/mkmf.rb: use 'do...end' instead of '{}' for Borland make.eban2002-05-021-0/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2424 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * error.c: use HAVE_DECL_SYS_NERR instead of platform names.matz2002-05-021-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2423 b2dd03c8-39d4-4d8f-98ff-823fe69b080e