aboutsummaryrefslogtreecommitdiffstats
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* * io.c (rb_io_mode_flags): both 'r+b' and 'rb+' should be allowed.matz2002-04-241-0/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* * ext/stringio/stringio.c (strio_mark): must check if ptr is NULLnobu2002-04-231-0/+8
| | | | | | | | | | 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
* * ext/extmk.rb.in (create_makefile): use `{$(srcdir)}' directive insteadusa2002-04-231-0/+8
| | | | | | | | | | 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
* * win32/Makefile.sub: add -DNT to $CFLAGS instead of $CPPFLAGS.usa2002-04-191-0/+6
| | | | | | | * win32/setup.mak: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2393 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: cleanup for autoconf 2.5x.eban2002-04-191-0/+6
| | | | | | | | * configure.in: use gcc -shared instead of dllwrap on Cygwin/MinGW. * ext/extmk.rb, lib/mkmf.rb: get rid of "--def=". git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2390 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c: include <mswsock.h> on __MINGW32__.eban2002-04-191-0/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2389 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/extconf.rb: include <windows.h>, <winsock.h> on _WIN32.eban2002-04-191-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2387 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * re.c (rb_reg_to_s): remove redundant shy group.nobu2002-04-191-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2386 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_thread_cleanup): current thread may be THREAD_STOPPED,matz2002-04-191-0/+13
| | | | | | | | | | | | | for example when terminated from signal handler. * regex.c (re_compile_pattern): remove /p support. * regex.h: ditto. * parse.y (parse_regx): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2385 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ext/dl/ptr.c: remove rb_dlptr_cast().ttate2002-04-191-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2384 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * re.c (rb_reg_expr_str): should treat backslash specially inmatz2002-04-181-0/+21
| | | | | | | | | | | | | | | | | escaping. * io.c: complete off_t handling; missing argument for fptr_finalize(); polished rb_scan_args call. * dir.c: wrap multi-statment macro by do { } while (0) * eval.c, numeric,c, sprintf.c, util.c: ditto. * bignum.c (rb_big_eq): check `y == x' if y is neither Fixnum, Bignum, nor Float. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2382 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * re.c (rb_reg_to_s): new function for Regexp#to_s.akr2002-04-181-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2381 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/Setup*, ext/bigfloat/*: Back out the import of BigFloat inknu2002-04-171-0/+5
| | | | | | | favor of its forthcoming successor, BigDecimal. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2378 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (assign): convert mrhs to mvalue.nobu2002-04-161-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2377 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * pack.c (pack_unpack): should treat 'U' in character unit, not inmatz2002-04-151-0/+13
| | | | | | | | | | | | | byte unit. * error.c (exc_initialize): should clear backtrace information. * io.c (rb_io_fptr_cleanup): should close IO created by IO.new(fd). * rubyio.h: remove FMODE_FDOPEN git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2375 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * struct.c (rb_struct_select): fix typo.matz2002-04-121-0/+9
| | | | | | | | * io.c (io_write): check error if written data is less than specified size to detect EPIPE. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2372 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub: use missing/acosh.c.usa2002-04-121-0/+6
| | | | | | | * win32/config.h.in: define HAVE_COSH, HAVE_SINH, and HAVE_TANH. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2370 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* /tmp/lognobu2002-04-121-0/+13
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2368 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * random.c (rand_init): add check for initstate(3).eban2002-04-111-0/+4
| | | | | | | * configure.in: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2366 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (remain_size): IO#read returns "" if file.size == 0.eban2002-04-111-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2365 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (assign): ruby_verbose should be surrounded by RTEST().matz2002-04-111-0/+16
| | | | | | | | | | | | | | | | | | | | * object.c (rb_str2cstr): ditto. * parse.y (void_expr): ditto. * parse.y (void_stmts): ditto. * variable.c (rb_ivar_get): ditto. * variable.c (rb_cvar_set): ditto. * variable.c (rb_cvar_get): ditto. * dir.c (glob_helper): should have proceed link when link->path was non existing symbolic link. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2363 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* raise() -> rb_raise(). (Thanks Tetsuya Watanabe)ttate2002-04-111-0/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2361 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add dl.txt instead of README.ttate2002-04-111-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2359 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi/session.rb: support for multipart form.wakou2002-04-101-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2354 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dir.c (glob_helper): should have proceed link when link->pathmatz2002-04-101-1/+5
| | | | | | | was non existing symbolic link. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2350 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * variable.c (rb_obj_remove_instance_variable): raise NameError ifmatz2002-04-101-2/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | specified instance variable is not defined. * variable.c (generic_ivar_remove): modified to check ivar existence. * file.c (rb_file_s_extname): new method based on the proposal (and patch) from Mike Hall. [new] * eval.c (error_handle): default to 1 unless status is set. * eval.c (ruby_options): guard error_handle() with PROT_NONE. * eval.c (ruby_stop): ditto. * math.c (math_acosh): added. [new] * math.c (math_asinh): ditto. * math.c (math_atanh): ditto. * struct.c (rb_struct_each_pair): method added. [new] * class.c (rb_singleton_class): wrong condition; was creating unnecessary singleton class. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2348 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * misc/ruby-mode.el (ruby-font-lock-keywords): fontify symbols fornobu2002-04-101-0/+5
| | | | | | | unary operators and aset. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2347 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (try_link0): need expand macro in command, sync withnobu2002-04-091-0/+9
| | | | | | | | | | | ext/extmk.rb.in. * lib/mkmf.rb (try_cpp): ditto. * lib/mkmf.rb (egrep_cpp): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2346 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/stringio/stringio.c (check_modifiable): performancenobu2002-04-091-0/+12
| | | | | | | | | | | | | | improvement. avoid calling rb_str_modify() twice. * ext/stringio/stringio.c (strio_ungetc): ditto. * ext/stringio/stringio.c (strio_putc): ditto. * ext/stringio/stringio.c (strio_write): ditto, and use rb_str_cat() as possible. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2345 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * re.c (match_select): fix index references and makeknu2002-04-081-0/+5
| | | | | | | MatchData#select actually work. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2344 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (error_handle): default to 1 unless status is set.nobu2002-04-081-0/+8
| | | | | | | | | * eval.c (ruby_options): guard error_handle() with PROT_NONE. * eval.c (ruby_stop): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2342 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add dl/struct.rb.ttate2002-04-051-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2339 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Get rid of ineffective encoding/decoding procedures.ttate2002-04-041-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2338 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add ext/dl/lib/dl/types.rb.ttate2002-04-031-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2331 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Merge Nakada's patch and define StringValuePtr for ruby-1.6.ttate2002-04-031-0/+6
| | | | | | | CV ---------------------------------------------------------------------- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2330 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb.in (enable_config): follow lib/mkmf.rb.nobu2002-04-021-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2329 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Append a message for dl.ttate2002-04-021-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2326 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in (CPPFLAGS): remove @includedir@.matz2002-04-021-0/+8
| | | | | | | | | * lib/mkmf.rb (create_makefile): ditto. * ext/extmk.rb.in (create_makefile): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2320 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c (sock_addrinfo): should clear addrinfo hints.eban2002-04-021-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2319 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* lib/mkmf.rb: install any files using $INSTALLFILES. (from [ruby-dev:16683])ttate2002-04-011-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2317 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_fptr_cleanup): need flush even when io will not bematz2002-04-011-0/+8
| | | | | | | | | | closed. * io.c (rb_io_initialize): was calling wrong function rb_io_mode_flags(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2316 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/sdbm/init.c (each_pair): moved prototype before thenobu2002-04-011-1/+7
| | | | | | | | | definition. * ext/racc/cparse/cparse.c (call_scaniter): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2314 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * re.c (match_setter): it's OK to assign nil to $~.matz2002-04-011-0/+12
| | | | | | | | | | | * io.c (rb_io_fptr_cleanup): do not close IO created by for_fd(). * io.c (rb_io_initialize): mark IO created by for_fd * ext/socket/socket.c (bsock_s_for_fd): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2312 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/racc/cparse/cparse.c: prototype; call_scaniter().usa2002-04-011-0/+9
| | | | | | | | | * ext/sdbm/init.c: prototype; each_pair(). * ext/tcltklib/tcltklib.c: prototypes; _timer_for_tcl() and ip_ruby(), Nobu's patch at [ruby-dev:14483]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2311 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (io_fflush): DRY patch from /Christoph applied.matz2002-03-291-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2308 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (create_makefile): default FLAGS to empty strings.nobu2002-03-291-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2306 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (arg_config): should use Shellwords::shellwords likenobu2002-03-291-0/+14
| | | | | | | | | | | | | | | ext/extmk.rb.in. * lib/mkmf.rb (enable_config): default had priority over command line options and configure_args. * lib/mkmf.rb: support autoconf 2.53 style variables from environment. * lib/mkmf.rb: add directory options. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2303 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/README.win32: follow recent changes.usa2002-03-291-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2302 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (config.status): reflect user defined $CC inusa2002-03-281-0/+5
| | | | | | | config.status. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2300 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c (sock_addrinfo): should specify socktypematz2002-03-281-0/+13
| | | | | | | | | | | | | from outside. * io.c (argf_binmode): should call next_argv() to initialize ARGF. * io.c (argf_filename): ditto. * io.c (argf_file): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e