summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-02-12set svn:eol-stylev1_8_0_preview1shyouhei
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tags/v1_8_0_preview1@11708 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-24This commit was manufactured by cvs2svn to create tag(no author)
'v1_8_0_preview1'. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tags/v1_8_0_preview1@3208 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-24021224matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3207 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-24* class.c (ins_methods_i): should not show ID_ALLOCATOR.matz
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@3204 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-24Convert RD to Rdoc.knu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3203 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-23* lib/README: Synchronize with reality.knu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3202 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-23* MANIFEST, lib/README, lib/ipaddr.rb: Add ipaddr.rb from rough.knu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3201 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-23Rename an argument name to avoid a potential clash.knu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3199 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-21* ext/dbm/dbm.c (fdbm_alloc): allocator takes only one argument.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3198 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-21* array.c (ary_alloc), dir.c (dir_s_alloc), eval.c (thgroup_s_alloc),usa
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: svn+ssh://ci.ruby-lang.org/ruby/trunk@3197 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-21* lib/mkmf.rb (create_makefile): accept pure ruby libraries.eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3196 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-20* misc/ruby-mode.el (ruby-parse-partial): keywords must not benobu
preceded by @ or $. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3195 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-20ditto.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3194 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-20* ext/curses/curses.c, ext/digest/digest.c, ext/dl/handle.c,nobu
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: svn+ssh://ci.ruby-lang.org/ruby/trunk@3193 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-20* io.c (rb_io_fwrite): separated from io_write().nobu
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@3191 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-202002-12-20eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3190 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-20* object.c (Init_Object): should not remove Class#allocate.matz
* lib/profiler.rb: separate profiling functions, without trace_func and at_exit setting. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3189 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-20* parse.y (do_block): split "do" block and tLBRACE_ARG block.matz
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@3188 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-20Fix a fatal typo. (pointed out by Jim Freeze)knu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3187 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-19Improve.knu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3186 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-19Be consistent on the use of the implicit $_.knu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3185 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-19Improve.knu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3184 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-19Fix a bug.knu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3183 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-19The use of $_ and ~/RE/ is discouraged.knu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3182 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-19Strive to give better examples.knu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3181 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-19* lib/README, lib/cgi/ftplib.rb, lib/telnet.rb: Delete ftplib.rbknu
and telnet.rb. It has been quite some time sinc they were obsoleted and made to emit warnings. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3180 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-19Delete final.rb.knu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3179 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-19* lib/tempfile.rb: Embed Rdoc style comments.knu
* lib/tempfile.rb: Add length as an alias for size. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3178 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-19Add Tempfile#close!() as a shorthand for Tempfile#close(true).knu
Add Tempfile#{unlink,delete}(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3177 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-19Delete final.rb, which was obsoleted long ago.knu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3176 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-19* re.c (rb_reg_match_pre, rb_reg_match_post, match_to_a,nobu
match_select): return instances of same class as the original string. [ruby-dev:19119] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3175 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-19* numeric.c (DBL_EPSILON): fix typo.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3174 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-19[BUG] not SEGV.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3173 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-19* eval.c (assign): avoid SEGV at multiple attribute assignment.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3172 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-192002-12-19nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3171 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-19* numeric.c (num_step): use DBL_EPSILON.matz
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@3169 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-19Mention the open-uri.rb import.knu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3168 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-19forgot to commit with open-uri.rb.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3167 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-18Add a missing ||.knu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3166 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-18* string.c (rb_str_dup_frozen): handle tail shared string.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3165 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-17* string.c (rb_str_new4): handle tail shared string.nobu
(ruby-bugs-ja:PR#370) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3164 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-17* re.c (rb_reg_nth_match): tail sharing.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3163 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-17* eval.c (is_defined): NODE_ATTRASGN should be assignment.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3162 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-172002-12-17nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3161 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-17* node.h (NODE_ATTRASGN): new node, assignment to attribute.nobu
[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: svn+ssh://ci.ruby-lang.org/ruby/trunk@3160 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-16* lib/open-uri.rb: new file.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3159 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-16* file.c (utimbuf): need to define for VC++.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3158 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-162002-12-16nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3156 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-16* parse.y (nextc): get rid of overrun. (pointed out by akrnobu
[ruby-list:36773]) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3155 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-16* removed URI::Generic#to_ary.akira
* URI::Generic included URI. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3152 b2dd03c8-39d4-4d8f-98ff-823fe69b080e