summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2003-01-06* lib/fileutils.rb (ln): add ' -f' in the verbose message.eban
* lib/fileutils.rb (cp_r): add 'p' in the verbose message. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-05* lib/fileutils.rb (ln): `argv' is not a argument.eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3294 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-05* instruby.rb: need paren in regexp(make -n install).eban
* ext/extmk.rb (sysquote): do not need to quote on mswin/bccwin/mingw. * ext/extm.rb ($mflags): uniq items and remove '-' and '--'. move options to the lead. * lib/fileutils.rb (install): model on the real install command(message). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3292 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-31* Makefile.in, {win32,bcc32}/Makefile.sub: add new target:eban
what-where, no-install. * mkconfig.rb: add const: CROSS_COMPILING. * ext/extmk.rb: no-install support. add MAKEDIRS macro. * lib/mkmf.rb: add !ifdef .. !endif for Borland make. * process.c: improve DJGPP support. system "ls", "-l". git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3259 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-29* lib/fileutils.rb: should not inherit ftools.rb's misfeature.aamine
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3235 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-28* lib/fileutils.rb (cmp): return false if file size differs.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3234 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-28* instruby.rb: remove junk args.eban
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@3233 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-27 * lib/cgi.rb (CGI#[]): improvement. thanks to Kazuhiro NISHIYAMAwakou
<zn@mbf.nifty.com> git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3232 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-27* lib/fileutils.rb (fu_parseargs): reject illegal options correctly.aamine
* lib/fileutils.rb (uptodate?): parameter declaration was wrong. * lib/fileutils.rb: change coding styles. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3225 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-26 * lib/net/telnet.rb: Telnet#print not add "\n".wakou
* lib/cgi.rb: cgi['key'] is equal cgi['key'][0] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3223 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-25exiled historical RD inclusion, wrong [ruby-dev:19191]gotoken
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3217 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-24* lib/irb/completion.rb: Use Object#class rather than Object#type.knu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3211 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-24* lib/cgi.rb (Cookie::parse), lib/cgi-lib.rb (initialize): Do notknu
pass to split() a bare string longer than 2 characters as separator. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3210 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* 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* 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-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-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-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-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* 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
2002-12-15* lib/mkmf.rb (init_mkmf): add $(topdir) to $LIBPATH if $extmk.eban
remove adding $(archdir) to $LIBPATH. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3150 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-12* configure.in (RUBY_PROG_GNU_LD): add $CFLAGS, $CPPFLAGS, $LDFLAGSeban
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
2002-12-12fixed a bug of URI::extract. URI::extract should return ["mailto:xxx"] ↵akira
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
2002-12-11* io.c (io_read): takes optional second argument to specify amatz
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
2002-12-10* sprintf.c (rb_f_sprintf): preceding ".." for negative numbersmatz
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-07Teach eval the correct line number to report.knu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3117 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-02* lib/pp.rb (PP.singleline_pp): new method.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3110 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-02renamed OptionParser#new to #define.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3107 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-01* lib/optparse.rb (OptionParser::new): same as OptionParser#on butnobu
returns new OptionParser::switch. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3104 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-11-28* lib/mkmf.rb: Avoid the use of "clean::" in favor of "clean:" inknu
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-27* lib/mkmf.rb: Make sure to dig the destination directory beforeknu
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
2002-11-22* file.c (rb_find_file_ext): should not terminate searching withmatz
empty path, just ignore. * dir.c: remove <sys/parm.h> inclusion. * compar.c (cmp_eq,cmp_gt,cmp_ge,cmp_lt,cmp_le): check using rb_cmpint(). * error.c (init_syserr): remove sys_nerr dependency. * numeric.c (num_cmp): added to satisfy Comparable assumption. * eval.c (rb_add_method): "initialize" should be public if it is a singleton method. * regex.c (re_match): avoid dereferencing if size == 0. (ruby-bugs-ja:PR#360) * time.c (time_cmp): should return nil if an operand is not a number nor time. (ruby-bugs-ja:PR#359) * file.c (rb_stat_cmp): should return nil if an operand is not File::Stat. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3076 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-11-22change default prompt.keiju
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3075 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-11-21* erb.rb: fix def_class bug.seki
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3074 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-11-21* lib/net/smtp.rb: changes coding style.aamine
* lib/net/pop.rb: ditto. * lib/net/protocol.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-11-21* lib/net/http.rb: unify coding style.aamine
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3070 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-11-21* lib/net/http.rb: should not overwrite Host: header. (Original patch is ↵aamine
contributed by sean@ruby-lang.org) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3067 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-11-21* lib/net/http.rb: support Proxy-Authorization. (Original patch is ↵aamine
contributed by Alexander Bokovoy) * lib/net/http.rb: should not overwrite Host: header. (Original patch is contributed by sean@ruby-lang.org) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3066 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-11-19* array.c (rb_ary_zip): iterates over items in the receiver.matz
zipped with nil if argument arrays are shorter. if arrays are longer, left items are ignored. now works with blocks. * enum.c (zip_i): changed for new behavior. * array.c (rb_ary_transpose): added. [new] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3064 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-11-19URI::extract extracts only URIs of specified schemes when schemes are specified.akira
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3063 b2dd03c8-39d4-4d8f-98ff-823fe69b080e