summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* change default prompt.keiju2002-11-221-0/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3075 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * erb.rb: fix def_class bug.seki2002-11-211-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3074 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bin/erb: fix -S 4 option bug.seki2002-11-211-5/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3073 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/smtp.rb: changes coding style.aamine2002-11-214-118/+131
| | | | | | | | * lib/net/pop.rb: ditto. * lib/net/protocol.rb: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb: unify coding style.aamine2002-11-212-221/+226
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3070 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* sorry, conflicts in ChangeLog is now resolved.aamine2002-11-211-1/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3069 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* modify ChangeLog.aamine2002-11-211-0/+11
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3068 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb: should not overwrite Host: header. (Original patch is ↵aamine2002-11-211-1/+1
| | | | | | contributed by sean@ruby-lang.org) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3067 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb: support Proxy-Authorization. (Original patch is ↵aamine2002-11-211-7/+63
| | | | | | | | | contributed by Alexander Bokovoy) * lib/net/http.rb: should not overwrite Host: header. (Original patch is contributed by sean@ruby-lang.org) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3066 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add bin/erbseki2002-11-202-0/+136
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3065 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_zip): iterates over items in the receiver.matz2002-11-196-34/+73
| | | | | | | | | | | | zipped with nil if argument arrays are shorter. if arrays are longer, left items are ignored. now works with blocks. * enum.c (zip_i): changed for new behavior. * array.c (rb_ary_transpose): added. [new] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3064 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* URI::extract extracts only URIs of specified schemes when schemes are specified.akira2002-11-191-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3063 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* initialize hackmatz2002-11-192-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3062 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* defines.h: hack for the case sizeof(short) == sizeof(int)matz2002-11-181-1/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3061 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * instruby.rb: Do not install various working files under bin/.knu2002-11-182-0/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3060 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * instruby.rb: not rewrite installed scripts when dry-run mode.nobu2002-11-183-9/+12
| | | | | | | | * lib/ostruct.rb (OpenStruct::initialize): should symbolize keys instead of values. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3059 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Oops, I mean ruby_install_name.knu2002-11-181-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3056 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * instruby.rb: Rewrite installed scripts' shebang lines.knu2002-11-182-10/+27
| | | | | | | * instruby.rb: Use File.join() where appropriate. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3055 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* sample/irb.rb -> bin/irbknu2002-11-181-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3054 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bin/irb: Moved from sample/irb.rb.knu2002-11-183-1/+14
| | | | | | | | * instruby.rb: Install script files under bin/ with ruby's program prefix and suffix. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3053 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Improve the comment section.knu2002-11-181-11/+14
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3052 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/tempfile.rb: Make this libary thread safe.knu2002-11-172-29/+67
| | | | | | | | | | | | | | | | * lib/tempfile.rb: Do not pick a name which was once used and is still scheduled for removal. * lib/tempfile.rb: A lock file need not and must not be scheduled for removal. * lib/tempfile.rb: Compare Max_try with the number of mkdir failures instead of the suffix counter. * lib/tempfile.rb: Overall cleanup and add some important notices. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3051 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * add ERBseki2002-11-172-0/+259
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3050 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-11-17nobu2002-11-171-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3049 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (dsym): garbage returned. (ruby-bugs-ja:PR#358)nobu2002-11-172-2/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3048 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ostruct.rb: keep NoMethodError message with Ruby itself.nahi2002-11-151-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3047 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * profile.rb: illegal use of Array#sort!. replaced it with non-bangnahi2002-11-142-1/+5
| | | | | | | method. [ruby-dev:18792] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3046 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * observer.rb: raise NoMethodError instead of NameError. [ruby-dev:18788]nahi2002-11-143-3/+11
| | | | | | | | * ostruct.rb: ditto. fix a bug in inspect which called String#+ with Symbol. [ruby-dev:18788] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3044 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-11-14nobu2002-11-141-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3043 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (LIBRUBY_A): append -static. [ruby-dev:18689]nobu2002-11-149-27/+80
| | | | | | | | | | | | | | | | | | | | | | | | | | * configure.in (LIBRUBYARG_STATIC, LIBRUBYARG_SHARED): linker argument to link static/shared library respectively. * Makefile.in (LIBRUBYARG_STATIC, LIBRUBYARG_SHARED): added. * bcc32/Makefile.sub, win32/Makefile.sub: ditto. * instruby.rb (LIBRUBY_A): install to libdir. * lib/mkmf.rb (link_command): link static library of ruby, or try_run fails unless LIBRUBY_SO is installed. [ruby-dev:18646] * eval.c (call_trace_func): toplevel caller was missing. [ruby-dev:18754] * eval.c (proc_to_s): adjust created line number. * parse.y (primary, do_block, brace_block): adjust line number of block to beginning line, instead of the first statement inside the block. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3042 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * math.c (math_acos): check errno after operation. ditto formatz2002-11-149-97/+112
| | | | | | | | | | | | | | | | | asin, acosh, atanh, log, log10 and sqrt. * eval.c (rb_add_method): initialize should always be private. * parse.y (expr): add rescue modifier rule. * parse.y (command_call): return, break and next with argument is now part of this rule. * parse.y (yylex): "a" in "a /5" should be considered as a local variable. [experimental] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3041 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-11-13nobu2002-11-131-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3040 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (DLDFLAGS): removed -Wl,-no-undefined tonobu2002-11-133-3/+17
| | | | | | | | | | | | ext/extmk.rb, in order to allow references to symbols in other extension libraries for mkmf.rb. [ruby-dev:18724] * ext/extmk.rb (extmake): ditto. * ext/extmk.rb (extmake): exit when make failed. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3039 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/set.rb: retire contain?() and add superset?(),knu2002-11-092-17/+140
| | | | | | | | | | | | | | proper_superset?() subset?(), and proper_subset?(). [obtained from: Jason Voegele's set.rb] * lib/set.rb: define several aliases: union() for |(), difference() for -(), ande intersection() for &(). [obtained from: Jason Voegele's set.rb] * lib/set.rb: deal with a s/id/object_id/ leftover. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3038 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* DEBUGGER__::Context::debug_print_help: Typo fix of help message.nahi2002-11-091-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3037 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tcltklib/stubs.c: should include "util.h" for ruby_strdup.eban2002-11-092-0/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3036 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c: remove ENABLE_TRACE/DISABLE_TRACE to trace child nodes of c-call.nahi2002-11-092-14/+5
| | | | | | | [ruby-dev:18699]; nahi commits this as proxy for nobu. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3034 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y: back out an unintended change in the syntax.matz2002-11-071-4/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3033 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * class.c (rb_define_method): do not set NOEX_CFUNC if klass ismatz2002-11-079-22/+48
| | | | | | | | | | | | | really a module, whose methods must be safe for reciever's type. * eval.c (rb_eval): nosuper should not be inherited unless the overwritten method is an undef placeholder. * parse.y (primary): allow 'when'-less case statement; persuaded by Sean Chittenden. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3032 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Get rid of ineffective symbols, lines, constants and so on.ttate2002-11-077-157/+143
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3031 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-11-07nobu2002-11-071-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3030 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_yield_0): should enable trace for non-cfunc nodes.nobu2002-11-072-4/+13
| | | | | | | | | | [ruby-dev:18645] * eval.c (blk_orphan): a block created in a different thread is orphan. [ruby-dev:17471] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3029 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fixed rb_ary2cary() to convert nil.ttate2002-11-051-0/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3026 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb: Properly pass the given target toknu2002-11-042-0/+6
| | | | | | | make(1). [pointed out by eban] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3025 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * instruby.rb, lib/mkmf.rb: use CONFIG["ENABLE_SHARED"] instead ofusa2002-11-043-2/+7
| | | | | | | checking whether CONFIG["configure-args"] includes "--enable-shared". git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3024 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix a bogon in the last commit. (reported by WATANABE Tetsuya inknu2002-11-031-2/+1
| | | | | | | [ruby-dev:18634]) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3023 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in, ext/extmk.rb, bcc32/Makefile.sub,knu2002-11-035-27/+40
| | | | | | | | | | | | win32/Makefile.sub: Introduce better command line syntax (--make/--make-flags/--extstatic) to extmk.rb and instruby.rb. Previously such command as 'make -j3 install' with pmake doesn't fail. Formerly extmk.rb was receiving "make -j 3 -j 3" via the command line arguments and just ended up recognizing the first "3" as destdir. [with help of usa] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3022 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/getopts.rb: Do not choke on characters that cannot be usedknu2002-11-032-2/+16
| | | | | | | | in a variable name. Replace them with `_'. Define a hash named $OPT for convenience. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3021 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * object.c (Init_Object): added Object#object_id, new name formatz2002-11-0310-166/+173
| | | | | | | | | | | | | | | | | | | Object#id. [new] * object.c (rb_obj_id_obsolete): give warning for Object#id. * numeric.c (fix_intern): added Fixnum#to_sym. [new] * object.c (sym_to_sym): rename from Symbol#intern * enum.c (enum_zip): added Enumerable#zip. [new] * array.c (rb_ary_zip): added Array#zip. * error.c (init_syserr): remove sys_nerr dependency. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3020 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-10-30knu2002-11-011-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3018 b2dd03c8-39d4-4d8f-98ff-823fe69b080e