summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * misc/ruby-mode.el (ruby-comment-column): customize commentnobu2003-02-172-45/+198
| | | | | | | | | | | | | | | | | | | | | | | | column. [new] * misc/ruby-mode.el (ruby-deep-indent-paren): deep indentation parentheses. [new] * misc/ruby-mode.el (ruby-expr-beg): fix for / after $?. * misc/ruby-mode.el (ruby-parse-partial, ruby-calculate-indent): deep indentation support. * misc/ruby-mode.el (ruby-forward-sexp, ruby-backward-sexp): move forward/backward across one balanced expression. [new] * misc/ruby-mode.el (ruby-indent-exp): indent balanced expression. [new] * misc/ruby-mode.el (ruby-electric-brace): indent before show matching parenthesis. (contributed by NABEYA Kenichi) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3503 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_opendir, rb_w32_utime): need parens.nobu2003-02-172-3/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3502 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (link): implement with CreateHardLink().usa2003-02-173-1/+103
| | | | | | | | * win32/win32.c, win32/win32.h (rb_w32_utime): enable utime() to directory if on NT. [new] (ruby-bugs-ja:PR#393) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-02-17nobu2003-02-171-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* commit error.nobu2003-02-171-0/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3499 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* *** empty log message ***nobu2003-02-171-8/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3498 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (file_expand_path): buffer might be reallocated whilenobu2003-02-163-46/+59
| | | | | | | | | | | expanding default directory. * file.c (file_expand_path): default directory was being ignored if path was full path with no drive letter, under DOSISH. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3497 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (prep_stdio, Init_io): always set binmode on Cygwin.eban2003-02-153-3/+24
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3496 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (file_expand_path): fix surplus path separators whilenobu2003-02-143-17/+40
| | | | | | | expanding at root directory. [ruby-dev:19572] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3495 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/uri/generic.rb, lib/uri/ldap.rb, lib/uri/mailto.ldap: all foo=()akira2003-02-146-10/+33
| | | | | | | | | | | | | | 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: http://svn.ruby-lang.org/repos/ruby/trunk@3494 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* *** empty log message ***nobu2003-02-133-9/+15
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3493 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * range.c (range_step): step might be float 0 < x < 1.matz2003-02-137-4/+36
| | | | | | | | * eval.c (rb_thread_schedule): pause if no runnable thread when there's only one thread. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3492 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (proc_options): script argument is in effect only when -e is not given.nobu2003-02-132-11/+10
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3491 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-02-13nobu2003-02-131-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3490 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (ruby_init_loadpath): ensures buffer terminatednobu2003-02-132-11/+18
| | | | | | | | | | before use strncpy(). * ruby.c (proc_options): avoid SEGV at -S with no arguments. (ruby-bugs-ja:PR#391) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3489 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_thread_schedule): current thread may be dead whennobu2003-02-122-1/+8
| | | | | | | deadlock. (ruby-bugs:PR#588) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3488 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (rb_file_s_dirname): append "." if drive only.nobu2003-02-122-1/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3487 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-02-12nobu2003-02-121-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3486 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (strrdirsep): ignore trailing directory separators.nobu2003-02-122-83/+121
| | | | | | | | | | | | | | | * file.c (rb_file_s_expand_path): File.expand_path(".","/") should return "/". (ruby-bugs-ja:PR#389) * file.c (rb_file_s_basename): also ignore trailing directory separators, in compliance with SUSv3. (ruby-bugs-ja:PR#390) * file.c (rb_file_s_dirname, rb_file_s_extname): ditto. * file.c (rb_file_s_split): get rid of converting twice. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3485 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* convert EOL code.nobu2003-02-120-0/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3484 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* This commit was generated by cvs2svn to compensate for changes in r3481,ntalbott2003-02-120-0/+0
| | | | | | | which included commits to RCS files with non-trunk default branches. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3482 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Initial revisionntalbott2003-02-1223-0/+2337
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3477 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * typo fix.eban2003-02-101-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3476 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb (parse_args): add '-n' to $mflags BEFORE "--".eban2003-02-102-3/+7
| | | | | | | do not add DESTDIR if already included in $fmlags. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3475 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/fileutils.rb (FileUtils#uptodate?): use mtime for comparison.aamine2003-02-102-2/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3474 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_to_a): return value should be an Array if thematz2003-02-105-3/+70
| | | | | | | | | | | | | | | | | | | | | receiver is an instance of subclass of Array. * string.c (rb_str_to_s): return value should be a String if the receiver is an instance of subclass of String. * eval.c (rb_call): calls method_missing when superclass method does not exist. * eval.c (rb_f_missing): now handles "no super" case. * object.c (rb_obj_ivar_get): Object#instance_variable_get: new method to get instance variable value without eval(). [new] * object.c (rb_obj_ivar_set): Object#instance_variable_set: new method to set instance variable value without eval(). [new] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3473 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_file_sysopen): rb_file_sysopen_internal() needs foureban2003-02-093-4/+9
| | | | | | | arguments. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3472 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-02-09eban2003-02-091-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3471 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * intern.h (HAVE_RB_DEFINE_ALLOC_FUNC, RB_CVAR_SET_4ARGS):nobu2003-02-093-3/+10
| | | | | | | | | define to 1. * ruby.h (NORETURN_STYLE_NEW): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3470 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (init_mkmf): add libdir to LIBPATH unless crossnobu2003-02-092-2/+7
| | | | | | | compiling. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3469 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb: 4xx raises Net::ProtoServerError, 5xx raises ↵aamine2003-02-082-2/+7
| | | | | | Net::ProtoFatalError (for backward compatibility). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3468 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/fileutils.rb: new method FileUtils.pwd (really).aamine2003-02-082-14/+27
| | | | | | | * lib/fileutils.rb: FileUtils.pwd, cmp, identical?, uptodate? does not accept any option. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3467 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix typo.akr2003-02-081-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3466 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Sorry, missed contributer's name.nobu2003-02-081-1/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3465 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * misc/ruby-mode.el (ruby-forward-string): fixed void variablenobu2003-02-082-4/+12
| | | | | | | | | | error. * misc/ruby-mode.el (ruby-font-lock-keywords): method name can be delimited by tab. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3464 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb/workspace.rb, lib/irb/ext/math-mode.rb,knu2003-02-0710-35/+43
| | | | | | | | | | 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: http://svn.ruby-lang.org/repos/ruby/trunk@3461 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-02-08knu2003-02-071-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3460 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* s/Mon 01/Mon 1/.knu2003-02-071-9/+9
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3459 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * intern.h (HAVE_RB_DEFINE_ALLOC_FUNC): New boolean macro to makeknu2003-02-073-0/+12
| | | | | | | | | | | it easier to write extensions that work with both ~1.6 and 1.8~. * intern.h (RB_CVAR_SET_4ARGS): Ditto. * ruby.h (NORETURN_STYLE_NEW): Ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3458 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-02-07eban2003-02-071-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3457 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* re-indented.nobu2003-02-071-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3456 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * intern.h, re.c (rb_memsearch): returns long.nobu2003-02-074-3/+13
| | | | | | | * string.c (rb_str_index): should return offset position. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3455 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (proc_invoke): should propagate self to supernobu2003-02-072-0/+6
| | | | | | | methods. [ruby-dev:19510] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3454 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * re.c (rb_reg_initialize_m): shoule not preset "kcode" unlessmatz2003-02-062-15/+22
| | | | | | | encoding is explicitly specified. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3453 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/fileutils.rb: new method FileUtils.pwd.aamine2003-02-062-62/+59
| | | | | | | | | * 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: http://svn.ruby-lang.org/repos/ruby/trunk@3452 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/complex.rb (Complex#==): should not raise error by typematz2003-02-063-9/+29
| | | | | | | | | mismatch. * lib/rational.rb (Rational#==): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3451 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-02-06eban2003-02-061-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3450 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * re.c (rb_reg_initialize_m): 3rd argument was ignored.matz2003-02-063-3/+12
| | | | | | | | * string.c (rb_str_count): return 0 for empty string (was returning nil). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3449 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/open-uri.rb: dispatch code restructured to make it openableakr2003-02-052-46/+43
| | | | | | | that has `open' method. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3448 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/open-uri.rb: Location: field may has a relative URI.akr2003-02-052-1/+12
| | | | | | | pointed out by erik eriksson <ee@opera.com>. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e