summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-02-03* re.c (rb_reg_initialize_m): unfotunate serious typo.matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3436 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-02-03* object.c (Init_Object): default Object#=== now calls "=="matz
internally. * re.c (rb_reg_initialize_m): should honor option status of original regexp. * array.c (rb_ary_equal): ary2 should be T_ARRAY (no to_ary conversion). * array.c (rb_ary_eql): ditto. * string.c (rb_str_equal): str2 should be T_STRING (no to_str conversion). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3435 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-02-03* re.c (rb_memsearch): a little improvement.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3434 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-02-03typonobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-02-032003-02-03eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3432 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-02-03* re.c (rb_memsearch): algolithm body of String#index.matz
* error.c (Init_Exception): "to_str" removed. * eval.c (eval): should not rely on Exception#to_str * eval.c (compile_error): ditto. * error.c (err_append): ditto. * hash.c (rb_hash_merge): Hash#merge, non destructive "update". now there's also Hash#merge! which is an alias to "update". git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3431 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* string.c (rb_str_index): search using Karp-Rabin algolithm.matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3429 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-31* variable.c (rb_obj_classname): wrong tail recursion.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3428 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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