summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2003-01-31* variable.c (rb_obj_classname): new function.matz
* string.c (rb_str_dup): should preserve original's class (but not hidden singleton class). * string.c (rb_str_substr): ditto. * parse.y: backout EXPR_CMDARG removal. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3427 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-31* random.c (rb_f_rand): type fix.eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3426 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-31* parse.y (yylex): remove EXPR_CMDARG according to the RHG book.matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3425 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-302003-01-30eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3422 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-29* file.c (rb_file_s_expand_path): removed a sludge.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3420 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-27* instruby.rb (parse_args), ext/extmk.rb (parse_args): Prepend aknu
hyphen to the first argument of MAKEFLAGS only if appropriate. Remove wrong comments. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3419 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-272003-01-27eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-26* error.c (get_syserror): use snprintf() instead of sprintf(). pointedusa
out by knu. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3417 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-26* error.c (get_syserror): some Windows' errno have 5 digits.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3416 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-26Update.knu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3415 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-26* instruby.rb ($mflags.set?): Check $make instead of $nmake, sinseusa
there is no such a variable. * instruby.rb ($mflags.set?), ext/extmk.rb ($mflags.set?): Return false if unmatched. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3414 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-26* instruby.rb (parse_args), ext/extmk.rb (parse_args): Detect -nknu
and emulate a dry run. Use 'make' in case no --make argument is given. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3412 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-25* instruby.rb (makedirs): make same directory only once even ifnobu
dryrun. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3411 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-25* instruby.rb: re-define individual methods verbosely rather thannobu
including FileUtils::Verbose, in order to suppress messages from FileUtils#cmp. * lib/fileutils.rb (FileUtils::Verbose, FileUtils::NoWrite): re-define methods with define_method instead of module_eval. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3410 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-25* instruby.rb, ext/extmk.rb, Makefile.in, win32/Makefile.sub,knu
bcc32/Makefile.sub: Replace the complicated MFLAGS/MAKEFLAGS parser with something plain and comprehensible. This fixes a bug where make flags were wrongly reordered and the resulted command line often did not make sense especially when BSD make is used with extra arguments given. Tested with FreeBSD and Linux by me and mswin32, bccwin32 and mingw by usa. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3408 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-242003-01-24eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3406 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-24* parse.y: tMINUS should have lower precedence than tPOW.matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3405 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-23* misc/ruby-mode.el (ruby-font-lock-syntactic-keywords): dealnobu
with escaped $ and ? at the end of strings. [ruby-talk:62297] * misc/ruby-mode.el (ruby-font-lock-keywords): added defined?. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3404 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-23garbage?nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3402 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-23* parse.y (arg): missing arguments.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3401 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-232003-01-23nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3400 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-23* time.c (time_arg): was accessing garbage argv value.matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3398 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-23* parse.y (arg): syntaxify tPOW negative number hack.matz
* parse.y (negate_lit): new function to negate literal numeric values in compile time. * regex.c (re_match_exec): charset info may be stored in MBC region when $KCODE != NONE. * error.c (set_syserr): should preserve duplicated error names. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3397 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-22wrong fix.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3396 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-22* instruby.rb: should not contain destdir in shebang line.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3395 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-22* win32/win32.c (pipe_exec): remove unnecessary SetStdHandle().usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3394 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-21Exchange do { } while (0) for ((void)0)michal
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3388 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-212003-01-21eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3387 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-21* bcc32/Makefile.sub (LIBRUBY_A): link dmyext.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3386 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-21* parse.y (arg): put back old ** behavior for negative numbermatz
right operand. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3385 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-21* instruby.rb: use real interpreter pathname at shebang line.usa
[ruby-dev:19370] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3384 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