summaryrefslogtreecommitdiffstats
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* Delete final.rb, which was obsoleted long ago.knu2002-12-191-0/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3176 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * re.c (rb_reg_match_pre, rb_reg_match_post, match_to_a,nobu2002-12-191-0/+6
| | | | | | | | match_select): return instances of same class as the original string. [ruby-dev:19119] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3175 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c (DBL_EPSILON): fix typo.usa2002-12-191-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3174 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* [BUG] not SEGV.nobu2002-12-191-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3173 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (assign): avoid SEGV at multiple attribute assignment.nobu2002-12-191-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3172 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c (num_step): use DBL_EPSILON.matz2002-12-191-0/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * array.c (rb_check_array_type): new function: return an array (convert if possible), or nil. * string.c (rb_check_string_type): new function: return a string (convert if possible), or nil. * numeric.c (rb_dbl_cmp): returns nil if values are not comparable. * numeric.c (fix_cmp,flo_cmp): use rb_num_coerce_cmp() * bignum.c (rb_big_cmp): ditto. * numeric.c (rb_num_coerce_cmp): new coercing function for "<=>", which does not raise TypeError. * numeric.c (do_coerce): can be supress exception now. * object.c (rb_mod_cmp): should return nil for non class/module objects. * re.c (rb_reg_eqq): return false if the argument is not a string. now returns boolean value. * class.c (rb_include_module): argument should be T_MODULE, not T_class, nor T_ICLASS. * eval.c (is_defined): "defined?" should return "assignment" for attribute assignment (e.g. a.foo=b) and indexed assignment (e.g. a[2] = 44). * parse.y (aryset): use NODE_ATTRASGN. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3169 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add a missing ||.knu2002-12-181-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3166 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_dup_frozen): handle tail shared string.nobu2002-12-181-1/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3165 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_new4): handle tail shared string.nobu2002-12-171-0/+5
| | | | | | | (ruby-bugs-ja:PR#370) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3164 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * re.c (rb_reg_nth_match): tail sharing.nobu2002-12-171-1/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3163 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * node.h (NODE_ATTRASGN): new node, assignment to attribute.nobu2002-12-171-0/+11
| | | | | | | | | | | | | [ruby-core:00637]. * eval.c (is_defined, rb_eval): ditto. * parse.y (attrset, node_assign): ditto. * string.c (rb_str_substr): tail sharing. [ruby-core:00650] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3160 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/open-uri.rb: new file.akr2002-12-161-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3159 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (utimbuf): need to define for VC++.usa2002-12-161-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3158 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (nextc): get rid of overrun. (pointed out by akrnobu2002-12-161-0/+5
| | | | | | | [ruby-list:36773]) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3155 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (init_mkmf): add $(topdir) to $LIBPATH if $extmk.eban2002-12-151-10/+15
| | | | | | | remove adding $(archdir) to $LIBPATH. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3150 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in, defines.h, dir.c, dir.h, dln.c, error.c,uema22002-12-151-0/+13
| | | | | | | | | | | | | | | eval.c, file.c, hash.c, io.c, main.c, missing.c, process.c, ruby.c, rubysig.h, signal.c, st.c, util.c, util.h, bcc/Makefile.sub, win32/Makefile.sub, win32/win32.h, ext/Win32API/Win32API.c, ext/socket/getaddrinfo.c, ext/socket/getnameinfo.c, ext/socket/socket.c, ext/tcltklib/stubs.c : replace "NT" with "_WIN32", add DOSISH_DRIVE_LETTER * wince/exe.mak : delete \r at the end of lines. * wince/mswince-ruby17.def : delete rb_obj_become git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3148 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (dispose_string): dispose String object.nobu2002-12-151-5/+11
| | | | | | | * parse.y (heredoc_restore, here_document): fix memory leak. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3147 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * wince/sys : add stat.c, stat.h, timeb.c, timeb.h,uema22002-12-141-0/+8
| | | | | | | | | | types.h, utime.c, utime.h * wince/dll.mak : object file name changed. * wince/io.c : add empty dup2(). * wince/io.h : add dup2 definition. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3146 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/dbm/extconf.rb (rb_check): support for GNU dbm 1.8.3.eban2002-12-131-0/+6
| | | | | | | | (-with-dbm-type=gdbm_compat). link against -lgdbm_compat and -lgdbm. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3144 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/dbm/extconf.rb (db_check): check existence of the functioneban2002-12-131-0/+5
| | | | | | | in the specified library before checking it in libc. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (expr): rescue clause was ignored.nobu2002-12-131-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3139 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (RUBY_PROG_GNU_LD): add $CFLAGS, $CPPFLAGS, $LDFLAGSeban2002-12-121-0/+16
| | | | | | | | | | | | | | | | | | to the option of $CC. * configure.in: set LIBRUBYARG to '-l$(RUBY_SO_NAME)' if the target os is cygwin and --disable-shared option is supplied. * lib/mkmf.rb (init_mkmf): expand config["LIBRUBY"] and config["LIBRUBY_A"]. don't link $LIBRUBYARG_STATIC if --disable-shared option is supplied. * configure.in (RUBY_CPPOUTFILE): should be a better message. * ext/Win32API/extconf.rb: join with a space. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3138 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * re.c (rb_reg_hash): define Regexp#hash to make regexps to bematz2002-12-121-0/+7
| | | | | | | | | hash keys. * re.c (Init_Regexp): define Regexp#eql? (alias to Regexp#==). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3137 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * marshal.c (r_object0): singleton class instance can't be loaded. ↵nobu2002-12-121-0/+5
| | | | | | (ruby-bugs-ja:PR#366) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3132 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb (create_makefile): -no-undefined -> --no-undefined.eban2002-12-111-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3129 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (io_read): takes optional second argument to specify amatz2002-12-111-0/+16
| | | | | | | | | | | | | | string to be written. the string should not be frozen. * io.c (rb_io_sysread): ditto. * lib/getoptlong.rb (GetoptLong::Error): provide a common ancestor for GetoptLong error classes (RCR#129). * re.c (rb_reg_copy_object): fixed memory leak. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3126 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/digest/digest.c (rb_digest_base_copy): renamed "become".nobu2002-12-111-0/+6
| | | | | | | * ext/stringio/stringio.c (strio_copy): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3125 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * pack.c (utf8_limits): fix the limit of 4 bytes UTF-8 sequence.akr2002-12-101-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3124 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sprintf.c (rb_f_sprintf): preceding ".." for negative numbersmatz2002-12-101-0/+28
| | | | | | | | | | | | | | | | | | | | | | | | still left; removed. * sprintf.c (rb_f_sprintf): should not prepend '0' if width > prec for example "%5.3d". * process.c (Init_process): add Process.exit and Process.abort * pack.c (utf8_to_uv): raise ArgumentError for malformed/redundant UTF-8 sequences. * process.c (last_status_set): add pid attribute to Process::Status. * pack.c (uv_to_utf8): limit maximum length of the encoded string to 6 bytes, even when the platform supports 8 bytes long integers. * pack.c (utf8_to_uv): do not decode sequences longer than 6 bytes. * object.c (copy_object): use "copy_object" method, not "become". git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3123 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (mnew): original class of method defined in module shouldnobu2002-12-101-0/+5
| | | | | | | be the module not intermediate class. [ruby-dev:19040] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3121 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * object.c (copy_object): copy finalizers as well if any.matz2002-12-041-0/+6
| | | | | | | * gc.c (rb_gc_copy_finalizer): new function to copy finalizers. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3114 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/pp.rb (PP.singleline_pp): new method.akr2002-12-021-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3110 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * pack.c (utf8_to_uv): added checks for malformed or redundantmatz2002-12-021-0/+5
| | | | | | | UTF-8 sequences. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3105 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/optparse.rb (OptionParser::new): same as OptionParser#on butnobu2002-12-011-0/+5
| | | | | | | returns new OptionParser::switch. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3104 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_stat): empty path is invalid, and returnnobu2002-12-011-0/+5
| | | | | | | ENOENT rather than EBADF in such case. [ruby-talk:57177] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3102 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb: Avoid the use of "clean::" in favor of "clean:" inknu2002-11-281-0/+6
| | | | | | | | order not to let make(1) choke if there is another dependency on the target added in a depend file. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3099 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb: Make sure to dig the destination directory beforeknu2002-11-271-0/+7
| | | | | | | | | installing a file there. Formerly "make install" could fail depending on make(1)'s mood of the moment, especially when -jN is given. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3097 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dln.c (init_funcname_len): remove MAXPATHLEN dependency.matz2002-11-271-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3096 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syslog/syslog.c: Cut redundancy.knu2002-11-271-5/+13
| | | | | | | | | | | | | | | | | * ext/syslog/syslog.c: Do not leak ident. * ext/syslog/syslog.c, ext/syslog/test.rb: Syslog.close should raise RuntimeError when not opened. * ext/syslog/syslog.c, ext/syslog/test.rb: Syslog.{ident,options,facility,mask} should all return nil when not opened. * ext/syslog/syslog.c, ext/syslog/test.rb: Change back the output format of inspect(). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3095 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syslog/test.rb: Syslog.close should raise RuntimeError whenknu2002-11-271-1/+11
| | | | | | | | | | | | not opened. * ext/syslog/test.rb: Syslog.{ident,options,facility,mask} should all return nil when not opened. * ext/syslog/test.rb: Change back the output format of inspect(). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3094 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/digest/test.rb: Switch from RUnit to Test::Unit.knu2002-11-271-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3093 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syslog/syslog.c: Fix a problem where Syslog#ident was notknu2002-11-271-0/+5
| | | | | | | marked and could thus be GC'd. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3091 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syslog/test.rb: Switch from RUnit to Test::Unit.knu2002-11-271-0/+7
| | | | | | | | * ext/syslog/test.rb: The output format of inspect() is slightly altered. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3090 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* commit missnobu2002-11-261-0/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3088 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * error.c (exit_initialize): add SystemExit#initialize to setnobu2002-11-261-0/+11
| | | | | | | | | | | | | | instance variable status. (ruby-bugs-ja:PR#362) Now accepts status as optional first argument. * eval.c (error_handle): now SystemExit have status always. * eval.c (system_exit): just instantiate SystemExit without raise. * eval.c (rb_thread_start_0): initialize SystemExit properly. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3087 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb (extmake): return true if not dynamic and not static.eban2002-11-251-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3085 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* typofix.eban2002-11-241-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3084 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dln.c: devert and add the MAXPATHLEN definition on mswin32/mingw32.eban2002-11-241-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3083 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dln.c: move the MAXPATHLEN definition in front.eban2002-11-241-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3082 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sprintf.c (rb_f_sprintf): preceding ".." for negativematz2002-11-221-0/+9
| | | | | | | | | | | hexadecimal numbers should not appear if prec (e.g. %.4) is specified. * pack.c (NUM2I32): support platforms which does not have 32bit integers (e.g. Cray). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3081 b2dd03c8-39d4-4d8f-98ff-823fe69b080e