aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add and update entries.knu2002-12-151-21/+74
| | | | | | | Submitted by: Matt Armstrong <matt@lickey.com> (mostly) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3151 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (init_mkmf): add $(topdir) to $LIBPATH if $extmk.eban2002-12-152-13/+16
| | | | | | | remove adding $(archdir) to $LIBPATH. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3150 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-12-15nobu2002-12-151-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3149 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in, defines.h, dir.c, dir.h, dln.c, error.c,uema22002-12-1531-133/+134
| | | | | | | | | | | | | | | 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@3148 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (dispose_string): dispose String object.nobu2002-12-152-7/+21
| | | | | | | * parse.y (heredoc_restore, here_document): fix memory leak. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3147 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * wince/sys : add stat.c, stat.h, timeb.c, timeb.h,uema22002-12-1411-18/+377
| | | | | | | | | | 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@3146 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/dbm/extconf.rb (rb_check): support for GNU dbm 1.8.3.eban2002-12-132-0/+10
| | | | | | | | (-with-dbm-type=gdbm_compat). link against -lgdbm_compat and -lgdbm. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3144 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/dbm/extconf.rb (db_check): check existence of the functioneban2002-12-132-1/+6
| | | | | | | in the specified library before checking it in libc. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-12-13nobu2002-12-131-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3140 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (expr): rescue clause was ignored.nobu2002-12-132-0/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3139 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (RUBY_PROG_GNU_LD): add $CFLAGS, $CPPFLAGS, $LDFLAGSeban2002-12-124-10/+35
| | | | | | | | | | | | | | | | | | 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@3138 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * re.c (rb_reg_hash): define Regexp#hash to make regexps to bematz2002-12-122-0/+28
| | | | | | | | | hash keys. * re.c (Init_Regexp): define Regexp#eql? (alias to Regexp#==). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3137 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-12-12nobu2002-12-121-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3133 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * marshal.c (r_object0): singleton class instance can't be loaded. ↵nobu2002-12-122-0/+8
| | | | | | (ruby-bugs-ja:PR#366) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3132 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fixed a bug of URI::extract. URI::extract should return ["mailto:xxx"] ↵akira2002-12-121-9/+9
| | | | | | instead of ["mailtto:"] for "foo bar <mailto:xxx>". git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3131 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb (create_makefile): -no-undefined -> --no-undefined.eban2002-12-112-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3129 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-12-11nobu2002-12-111-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3127 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (io_read): takes optional second argument to specify amatz2002-12-114-21/+60
| | | | | | | | | | | | | | 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@3126 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/digest/digest.c (rb_digest_base_copy): renamed "become".nobu2002-12-113-5/+11
| | | | | | | * ext/stringio/stringio.c (strio_copy): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3125 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * pack.c (utf8_limits): fix the limit of 4 bytes UTF-8 sequence.akr2002-12-102-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3124 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sprintf.c (rb_f_sprintf): preceding ".." for negative numbersmatz2002-12-1018-122/+136
| | | | | | | | | | | | | | | | | | | | | | | | 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@3123 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-12-10nobu2002-12-101-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3122 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (mnew): original class of method defined in module shouldnobu2002-12-102-0/+6
| | | | | | | be the module not intermediate class. [ruby-dev:19040] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3121 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix the conversion method.ttate2002-12-093-11/+34
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3118 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Teach eval the correct line number to report.knu2002-12-071-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3117 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-12-04nobu2002-12-041-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3115 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * object.c (copy_object): copy finalizers as well if any.matz2002-12-046-12/+41
| | | | | | | * gc.c (rb_gc_copy_finalizer): new function to copy finalizers. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3114 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/pp.rb (PP.singleline_pp): new method.akr2002-12-022-68/+84
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3110 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* WinCE MANIFESTmatz2002-12-021-0/+37
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3109 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-12-02nobu2002-12-021-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3108 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* renamed OptionParser#new to #define.nobu2002-12-021-9/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3107 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* WinCE patch mergedmatz2002-12-0248-68/+5461
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3106 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * pack.c (utf8_to_uv): added checks for malformed or redundantmatz2002-12-023-15/+66
| | | | | | | UTF-8 sequences. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3105 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/optparse.rb (OptionParser::new): same as OptionParser#on butnobu2002-12-012-7/+28
| | | | | | | returns new OptionParser::switch. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3104 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-12-01nobu2002-12-011-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3103 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_stat): empty path is invalid, and returnnobu2002-12-012-5/+9
| | | | | | | ENOENT rather than EBADF in such case. [ruby-talk:57177] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3102 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Clarify that this file is not actively maintained.knu2002-12-011-0/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3100 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb: Avoid the use of "clean::" in favor of "clean:" inknu2002-11-282-8/+13
| | | | | | | | order not to let make(1) choke if there is another dependency on the target added in a depend file. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3099 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-11-27knu2002-11-271-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3098 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb: Make sure to dig the destination directory beforeknu2002-11-272-2/+9
| | | | | | | | | 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@3097 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dln.c (init_funcname_len): remove MAXPATHLEN dependency.matz2002-11-272-17/+11
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3096 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syslog/syslog.c: Cut redundancy.knu2002-11-272-27/+54
| | | | | | | | | | | | | | | | | * 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@3095 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syslog/test.rb: Syslog.close should raise RuntimeError whenknu2002-11-272-10/+29
| | | | | | | | | | | | 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@3094 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/digest/test.rb: Switch from RUnit to Test::Unit.knu2002-11-272-11/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3093 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syslog/syslog.c: Fix a problem where Syslog#ident was notknu2002-11-272-30/+29
| | | | | | | marked and could thus be GC'd. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3091 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syslog/test.rb: Switch from RUnit to Test::Unit.knu2002-11-272-17/+18
| | | | | | | | * ext/syslog/test.rb: The output format of inspect() is slightly altered. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3090 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-11-26nobu2002-11-261-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3089 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* commit missnobu2002-11-261-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3088 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * error.c (exit_initialize): add SystemExit#initialize to setnobu2002-11-263-9/+40
| | | | | | | | | | | | | | 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@3087 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* dlsizeof() should handle 'S' and 's'.ttate2002-11-261-0/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3086 b2dd03c8-39d4-4d8f-98ff-823fe69b080e