summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* Add Tempfile#close!() as a shorthand for Tempfile#close(true).knu2002-12-192-7/+32
| | | | | | | Add Tempfile#{unlink,delete}(). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3177 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Delete final.rb, which was obsoleted long ago.knu2002-12-194-6/+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-192-7/+15
| | | | | | | | 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-192-1/+5
| | | | 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-192-0/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3172 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-12-19nobu2002-12-191-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3171 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c (num_step): use DBL_EPSILON.matz2002-12-1918-47/+158
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Mention the open-uri.rb import.knu2002-12-191-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3168 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* forgot to commit with open-uri.rb.akr2002-12-191-0/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3167 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add a missing ||.knu2002-12-182-1/+5
| | | | 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-182-3/+8
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3165 b2dd03c8-39d4-4d8f-98ff-823fe69b080e