summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * instruby.rb: remove junk args.eban2002-12-284-1/+12
| | | | | | | | | * lib/mkmf.rb (create_makefile): remove a trouble library before making a shared library. * win32/Makefile.sub: invoke instruby.rb with the --make-flags option. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3233 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi.rb (CGI#[]): improvement. thanks to Kazuhiro NISHIYAMAwakou2002-12-272-0/+8
| | | | | | | <zn@mbf.nifty.com> git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3232 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-12-28eban2002-12-272-3/+14
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3231 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * instruby.rb: use getopts.rb.eban2002-12-271-11/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3230 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * {win32,bcc32}/Makefile.sub: remove `=' from --make-flags options.eban2002-12-274-10/+14
| | | | | | | | | | nmake quotes args if included `=' in args. * instruby.rb: use getopts.rb. * ext/dbm/extconf.rb: substitute ' with ". * ext/gdbm/gdbm.c: add prototypes to avoid VC++ warnings. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3229 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bcc32/setup.mak, win32/setup.mak(-prologue-): move srcdir fromnobu2002-12-273-8/+15
| | | | | | | CPP input or UNC path will be removed as a comment. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3228 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * wince/config, wince/configure.bat: replace 1.7 with 1.8uema22002-12-273-141/+140
| | | | | | | in macros. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3227 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * instruby.rb: fileutils.rb accepts only one argument.aamine2002-12-272-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3226 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/fileutils.rb (fu_parseargs): reject illegal options correctly.aamine2002-12-272-46/+54
| | | | | | | | * lib/fileutils.rb (uptodate?): parameter declaration was wrong. * lib/fileutils.rb: change coding styles. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3225 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * instruby.rb: check only `-' option, and use fileutils instead ofnobu2002-12-262-57/+35
| | | | | | | ftools. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3224 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/telnet.rb: Telnet#print not add "\n".wakou2002-12-263-22/+35
| | | | | | | * lib/cgi.rb: cgi['key'] is equal cgi['key'][0] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3223 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-12-26eban2002-12-261-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3222 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* commit miss.eban2002-12-261-0/+8
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3221 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: cleanups for MinGW. remove -D__NO_ISOCEXT in $CFLAGS.eban2002-12-261-3/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3220 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb (create_makefile): check only `-' option.eban2002-12-262-11/+8
| | | | | | | | * configure.in: cleanups for MinGW. remove -D__NO_ISOCEXT in $CFLAGS. * win32/win32.h: prototypes for isinf, isnan are not needed on MinGW. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3219 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/setup.mak (-prologue-): moved srcdir macro definition.usa2002-12-262-1/+6
| | | | | | | [ruby-win32:420]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3218 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* exiled historical RD inclusion, wrong [ruby-dev:19191]gotoken2002-12-251-13/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3217 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * regex.c (re_match_exec): fix odd \G behavior based on the patchmatz2002-12-253-6/+24
| | | | | | | from Nobu. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3216 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bcc32/setup.mak (-generic-): removed garbages.nobu2002-12-252-2/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3215 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bcc32/Makefile.sub, win32/Makefile.sub (RUBY_SO_NAME, config.h):usa2002-12-255-21/+45
| | | | | | | | | | | | | | use $(MAJOR) and $(MINOR). based on Nobu's patch. [ruby-win32:413] * bcc32/setup.mak, win32/setup.mak (-prologue-): define MAJOR, MINOR and TEENY from version.h. based on Nobu's patch. [ruby-win32:413] * win32/Makefile.sub (config.h): add HAVE_FLOAT_H. * win32/Makefile.sub (parse.obj): depend on win32/win32.h. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3214 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Synchronize with reality.knu2002-12-241-8/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3212 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb/completion.rb: Use Object#class rather than Object#type.knu2002-12-242-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3211 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi.rb (Cookie::parse), lib/cgi-lib.rb (initialize): Do notknu2002-12-243-2/+8
| | | | | | | | pass to split() a bare string longer than 2 characters as separator. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3210 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c (DBL_MAX_10_EXP): fix typo. [ruby-dev:36826]usa2002-12-242-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3209 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 021224matz2002-12-245-16/+69
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3207 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * class.c (ins_methods_i): should not show ID_ALLOCATOR.matz2002-12-246-8/+32
| | | | | | | | | | | | | | | * class.c (ins_methods_prot_i): ditto. * class.c (ins_methods_priv_i): ditto. * class.c (ins_methods_pub_i): ditto. * eval.c (call_trace_func): ditto. * eval.c (rb_undefined): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3204 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Convert RD to Rdoc.knu2002-12-241-216/+119
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3203 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/README: Synchronize with reality.knu2002-12-232-4/+11
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3202 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * MANIFEST, lib/README, lib/ipaddr.rb: Add ipaddr.rb from rough.knu2002-12-234-0/+696
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3201 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Rename an argument name to avoid a potential clash.knu2002-12-231-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3199 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/dbm/dbm.c (fdbm_alloc): allocator takes only one argument.usa2002-12-212-3/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3198 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (ary_alloc), dir.c (dir_s_alloc), eval.c (thgroup_s_alloc),usa2002-12-2115-4/+32
| | | | | | | | | | | | | | | file.c (rb_stat_s_alloc), hash.c (hash_alloc), io.c (io_alloc), object.c (rb_module_s_alloc, rb_class_allocate_instance), re.c (match_alloc, rb_reg_s_alloc), string.c (str_alloc), time.c (time_s_alloc), ext/digest/digest.c (rb_digest_base_alloc), ext/tcltklib/tcltklib.c (ip_alloc), ext/win32ole/win32ole.c (fole_s_allocate, fev_s_allocate) : add prototype to get rid of VC++ warnings. * ext/sdbm/init.c (fsdbm_alloc): allocator takes only one argument. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3197 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (create_makefile): accept pure ruby libraries.eban2002-12-212-18/+28
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3196 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * misc/ruby-mode.el (ruby-parse-partial): keywords must not benobu2002-12-202-0/+7
| | | | | | | preceded by @ or $. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3195 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ditto.nobu2002-12-203-16/+12
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3194 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/curses/curses.c, ext/digest/digest.c, ext/dl/handle.c,nobu2002-12-2012-15/+22
| | | | | | | | | | ext/dl/ptr.c, ext/dl/sym.c, ext/gdbm/gdbm.c, ext/iconv/iconv.c, ext/stringio/stringio.c, ext/strscan/strscan.c, ext/tcltklib/tcltklib.c, ext/win32ole/win32ole.c: use rb_define_alloc_func(). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3193 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_fwrite): separated from io_write().nobu2002-12-204-24/+45
| | | | | | | | | | * marshal.c (w_byten): use rb_io_fwrite() to support non-blocking IO, and added error check. * rubyio.h: prototypes; rb_io_fwrite git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3191 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-12-20eban2002-12-201-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3190 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * object.c (Init_Object): should not remove Class#allocate.matz2002-12-204-63/+73
| | | | | | | | * lib/profiler.rb: separate profiling functions, without trace_func and at_exit setting. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3189 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (do_block): split "do" block and tLBRACE_ARG block.matz2002-12-2016-127/+194
| | | | | | | | | | | | | | | | | * parse.y (cmd_brace_block): new tLBRACE_ARG block rule * parse.y (command): can take optional cmd_brace_block; use %prec to resolve shift/reduce conflict. (ruby-bugs-ja PR#372) * eval.c (ruby_finalize): trace_func should be cleared here (after executing exit procs and finalizers). * eval.c (rb_define_alloc_func): new allocation framework, based on Nobu's work [ruby-dev:19116]. "allocate" method is no longer used for object allocation. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3188 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix a fatal typo. (pointed out by Jim Freeze)knu2002-12-201-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3187 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Improve.knu2002-12-196-23/+13
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3186 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Be consistent on the use of the implicit $_.knu2002-12-191-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3185 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Improve.knu2002-12-192-11/+9
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3184 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix a bug.knu2002-12-191-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3183 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* The use of $_ and ~/RE/ is discouraged.knu2002-12-191-2/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3182 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Strive to give better examples.knu2002-12-193-18/+20
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3181 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/README, lib/cgi/ftplib.rb, lib/telnet.rb: Delete ftplib.rbknu2002-12-195-27/+6
| | | | | | | | and telnet.rb. It has been quite some time sinc they were obsoleted and made to emit warnings. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3180 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Delete final.rb.knu2002-12-191-1/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3179 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/tempfile.rb: Embed Rdoc style comments.knu2002-12-192-41/+62
| | | | | | | * lib/tempfile.rb: Add length as an alias for size. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3178 b2dd03c8-39d4-4d8f-98ff-823fe69b080e