summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
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
2003-01-31* lib/optparse.rb (OptionParser::make_switch): NoArgument doesn'tnobu
override other styles. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3424 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-30* lib/optparse.rb (OptionParser::List::accept): defaultnobu
pattern must not be nil. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3423 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-30* lib/optparse.rb (OptionParser::Switch::PlacedArgument): added.nobu
if the next argument doesn't start with '-', use it as the value. * lib/optparse.rb (OptionParser::make_switch): fixed a bug of pattern. * lib/optparse.rb (Array): no need to guard. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3421 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-26* lib/shellwords.rb: Embed rdoc style comments.knu
* lib/shellwords.rb (shellwords): Use String#lstrip!. * lib/shellwords.rb (shellwords): Recognize an object that responds to to_str() by using String.new(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3413 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-25*** empty log message ***nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3409 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-24Converted RD to RDoc and improved documentation. See comments at EOF.gsinclair
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3407 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-23* eval.c (rb_eval): do not warn discarding already undefinedmatz
method. * lib/rational.rb: undef quo before replacing. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3403 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-23* lib/rational.rb: modified to support "quo".matz
* numeric.c (num_quo): should return most exact quotient value, i.e. float by default, rational if available. * numeric.c (num_div): "div" should return x.divmod(x)[0]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3399 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-21makes possible to add files to clean and distclean targetsmichal
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3393 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-21Small changes to documentation.gsinclair
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3392 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-21Converted RD to RDoc, with some changes/additions.gsinclair
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3391 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-21Correct descriptions of {proper_,}{superset,subset}?.knu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3390 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-21Very slight improvement to documentation.gsinclair
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3389 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-21* lib/pp.rb: Use Test::Unit.akr
* lib/prettyprint.rb: Ditto * lib/time.rb: Ditto * lib/tsort.rb: Ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3383 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-20fix sharing_detection.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3382 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-20refine previous change.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3381 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-20* lib/pp.rb: Don't redefine `inspect'.akr
(pretty_print_inspect): new method. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3380 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-20Modified some RDoc formatting.gsinclair
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3379 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-20Added RDoc comments.gsinclair
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3378 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-20* lib/tempfile.rb (self.open): If a block is given, call it withknu
tempfile as an argument and automatically close the tempfile when the block terminates. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3376 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-20make public ERB::Compilerseki
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3375 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-20fix: % in <%..%>seki
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3372 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-20* regex.c (is_in_list): should work weill with UTF-8.matz
* regex.c (re_match_exec): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3363 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-20Added RDoc comments.gsinclair
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3362 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-19* lib/mkmf.rb (egrep_cpp): use inspect to show options.nobu
* lib/mkmf.rb (dir_config): prior configured directories to defaults. * lib/mkmf.rb (dir_config): extract first word to determin make command type. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3361 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-19* lib/shellwords.rb (shellwords): A backslash ('\') in singleknu
quotes should not be regarded as meta character. This bug or maybe feature was inherited from Perl's shellwords.pl. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3357 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-17Added RDoc comments. See comments at EOF for TODOs.gsinclair
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3354 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-17Added RDoc comments. Several issues exist: see comments at EOF.gsinclair
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3353 b2dd03c8-39d4-4d8f-98ff-823fe69b080e