summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2003-04-19* parse.y (void_expr0): node might become NULL after calling remove_begin().eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3698 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-04-15* lib/net/fileutils.rb: rm_r should raise Errno::ENOENT if file not exist. ↵aamine
[ruby-core:958] Thanks Johan Holmberg. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3685 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-04-12* lib/mkmf.rb (try_func): remove COMMON_HEADERS at first for performance.eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3676 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-04-11* lib/benchmark.rb (Benchmark::bm): get rid of warning.nobu
[ruby-talk:69124] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3668 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-04-10* lib/net/pop.rb: Exception line was accidentaly removed. [ruby-dev:19989]aamine
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3666 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-04-04* eval.c (assign): should prepare mrhs by svalue_to_mrhs().matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3642 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-03-31* hash.c (env_reject_bang): untaint key string.matz
* hash.c (env_delete_m): execute block only if deleting key does not exist. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3637 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-03-29* instruby.rb, ext/extmk.rb, lib/benchmark.rb, lib/cgi.rb,akr
lib/debug.rb, lib/getoptlong.rb, lib/optparse.rb, lib/time.rb, lib/date/format.rb, lib/irb/ruby-lex.rb lib/uri/common.rb: revert escape for `-' in character class. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-03-28Added comment for Net::HTTP.get(arg1, arg2, arg3)gsinclair
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3624 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-03-26backoutnobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-03-24security enhancement of dl library (need test).matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3609 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-03-23update NotImplementError to NotImplementedError.matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3607 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-03-23* io.c (rb_io_fread): may lose data on nonblocking read.matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3604 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-03-23* lib/jcode.rb (tr!, delete!, szueeze!): add empty string checking.eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3602 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-03-22* lib/optparse.rb, lib/jcode.rb, ext/tk/lib/tk.rb: reorder characterakr
class /[\]\[]/ to /[\[\]]/ to readability. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3598 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-03-22* lib/uri/common.rb: `[', `]', `-' in chracterakr
class in regexp to avoid warning. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3597 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-03-21* lib/date/format.rb, lib/uri/common.rb: `[', `]', `-' in chracterakr
class in regexp to avoid warning. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3596 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-03-21* regex.c (re_compile_pattern): fix previous change.akr
* instruby.rb, ext/extmk.rb, ext/tk/lib/tk.rb, lib/benchmark.rb, lib/cgi.rb, lib/debug.rb, lib/getoptlong.rb, lib/jcode.rb, lib/optparse.rb, lib/time.rb, lib/date/format.rb, lib/irb/ruby-lex.rb: escape `[', `]', `-' in chracter class in regexp to avoid warning. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3595 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-03-20*** empty log message ***nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3589 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-03-20* lib/optparse.rb (OptionParser#order!): follow recent changenobu
of proc argument. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3588 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-03-20* eval.c (load_dyna): clear ruby_errinfo. (ruby-bugs-ja PR#409)matz
* io.c (read_all): make str empty if given. (ruby-bugs-ja PR#408) * io.c (io_read): ditto. * io.c (rb_io_sysread): ditto. * range.c: do not override min and max. * sprintf.c (remove_sign_bits): octal left most digit for negative numbers may be '3'. (ruby-bugs-ja PR#407) * sprintf.c (rb_f_sprintf): should prefix sign bits if bignum is negative, using sign_bits(). * eval.c (avalue_to_mrhs): split argument passing and assignment conversion. * eval.c (svalue_to_mrhs): ditto. * eval.c (avalue_to_svalue): avalue_to_svalue([[1,2]]) should be [[1,2]], not [1,2] to wrap-around. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3584 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-03-19* lib/tracer.rb (trace_func): save and recover Thread.critical state.nahi
Fixed by Fukumoto Atsushi <fukumoto@imasy.or.jp> [ruby-dev:19830] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3582 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-03-16add test for previous change.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3581 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-03-16* lib/pp.rb (object_address_group): use to_s instead of nameakr
to get name of class. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3580 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-03-11* lib/net/smtp.rb: Digest string wrongly included '\n' when user name is too ↵aamine
long (ruby-bugs-ja:PR#404). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3575 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-03-11* lib/net/http.rb: speeding up by avoiding extra flush. (suggested by Brian ↵aamine
Candler <B.Candler@pobox.com>) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3574 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-03-09* lib/net/pop.rb: do not dispatch LIST when a mailbox is empty.aamine
* lib/net/pop.rb: merge the 'STAT' patch from Frank S.Fejes <frank@oopdreams.com>, with modifications (listed below). * lib/net/pop.rb: new method Net::POP#mail_size. * lib/net/pop.rb: new method Net::POP#bytes. * lib/net/pop.rb: new method Net::POPCommand#stat. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3570 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-03-09* lib/fileutils.rb (mkdir, mkdir_p): revert.eban
* instruby.rb (umask): umask 0022, not 0. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3569 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-03-09* lib/fileutils.rb (mkdir, mkdir_p): set mode to 0755.eban
* Makefile.in (fake.rb): set ALT_SEPARATOR to the default value. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3568 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-03-07* lib/pp.rb (Kernel.pp): module function.akr
(MatchData#pretty_print): new method. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3564 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-03-04* io.c (rb_io_popen): do not call rb_io_close() directly, callmatz
"close" method instead. [ruby-dev:19717] * io.c (rb_io_s_open): ditto. * hash.c (rb_any_hash): remove DEFER_INTS. all do_hash() calls in st.c are at the top of functions. No reentrant problem. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3551 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-03-03* parse.y (arg): parse 'lhs = a rescue b' as 'lhs=(a rescue b)'.matz
* io.c (rb_io_fread): should not clearerr() if there's no filled buffer (i.e. rb_io_fread() returning zero). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3543 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-02-26* lib/open-uri.rb: replace Kernel.open as well.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-02-25* lib/debug.rb (DEBUGGER__::Context#debug_command): bp filename mustnahi
be the basename of it. [ruby-talk:65644] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3532 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-02-23* lib/fileutils (fu_stream_blksize): wrong logial condition.eban
(and -> or). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3530 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-02-21* lib/fileutils.rb: new method FileUtils#copy_stream.aamine
* lib/fileutils.rb: new method FileUtils#compare_file. * lib/fileutils.rb: new method FileUtils#compare_stream. * lib/fileutils.rb: new method FileUtils#rmtree (alias of rm_rf). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3526 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-02-14* lib/uri/generic.rb, lib/uri/ldap.rb, lib/uri/mailto.ldap: all foo=()akira
returns arguments passed by caller. * lib/uri/generic.rb (Generic#to_str, Generic#to_s): removed to_str. Suggested by Tanaka Akira <akr@m17n.org> at [ruby-dev:19475]. * lib/uri/generic.rb (Generic#==): should not generate an URI object from argument. Suggested by Tanaka Akira <akr@m17n.org> at [ruby-dev:19475]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3494 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-02-12Initial revisionntalbott
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3477 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-02-10* lib/fileutils.rb (FileUtils#uptodate?): use mtime for comparison.aamine
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3474 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-02-09* lib/mkmf.rb (init_mkmf): add libdir to LIBPATH unless crossnobu
compiling. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3469 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-02-08* lib/net/http.rb: 4xx raises Net::ProtoServerError, 5xx raises ↵aamine
Net::ProtoFatalError (for backward compatibility). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3468 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-02-08* lib/fileutils.rb: new method FileUtils.pwd (really).aamine
* lib/fileutils.rb: FileUtils.pwd, cmp, identical?, uptodate? does not accept any option. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3467 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-02-07* lib/irb/workspace.rb, lib/irb/ext/math-mode.rb,knu
lib/irb/ext/multi-irb.rb, lib/irb/lc/error.rb, lib/irb/lc/help-message, lib/irb/lc/ja/error.rb, lib/shell/command-processor.rb, lib/shell/error.rb, lib/shell/filter.rb: Fix typos and grammos. [approved by: keiju] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3461 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-02-06* lib/fileutils.rb: new method FileUtils.pwd.aamine
* lib/fileutils.rb: default label is ''. * lib/fileutils.rb: using module_eval again, to avoid ruby's bug. * lib/fileutils.rb: fix wrong examples in rdoc. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3452 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-02-06* lib/complex.rb (Complex#==): should not raise error by typematz
mismatch. * lib/rational.rb (Rational#==): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3451 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-02-05* lib/open-uri.rb: dispatch code restructured to make it openableakr
that has `open' method. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3448 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-02-05* lib/open-uri.rb: Location: field may has a relative URI.akr
pointed out by erik eriksson <ee@opera.com>. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-02-04Added RDoc comments. See comments at EOF for remaining issues.gsinclair
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3438 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-02-03Added RDoc comments.gsinclair
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3437 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-31Added RDoc comments. See comments at EOF for remaining issues.gsinclair
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3430 b2dd03c8-39d4-4d8f-98ff-823fe69b080e