summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2002-11-18Improve the comment section.knu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3052 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-11-17* lib/tempfile.rb: Make this libary thread safe.knu
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@3051 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-11-17* add ERBseki
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3050 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-11-172002-11-17nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3049 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-11-17* parse.y (dsym): garbage returned. (ruby-bugs-ja:PR#358)nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3048 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-11-15* ostruct.rb: keep NoMethodError message with Ruby itself.nahi
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3047 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-11-14* profile.rb: illegal use of Array#sort!. replaced it with non-bangnahi
method. [ruby-dev:18792] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3046 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-11-14* observer.rb: raise NoMethodError instead of NameError. [ruby-dev:18788]nahi
* ostruct.rb: ditto. fix a bug in inspect which called String#+ with Symbol. [ruby-dev:18788] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3044 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-11-142002-11-14nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3043 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-11-14* configure.in (LIBRUBY_A): append -static. [ruby-dev:18689]nobu
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@3042 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-11-14* math.c (math_acos): check errno after operation. ditto formatz
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: svn+ssh://ci.ruby-lang.org/ruby/trunk@3041 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-11-132002-11-13nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3040 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-11-13 * configure.in (DLDFLAGS): removed -Wl,-no-undefined tonobu
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: svn+ssh://ci.ruby-lang.org/ruby/trunk@3039 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-11-09* lib/set.rb: retire contain?() and add superset?(),knu
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: svn+ssh://ci.ruby-lang.org/ruby/trunk@3038 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-11-09DEBUGGER__::Context::debug_print_help: Typo fix of help message.nahi
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3037 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-11-09* ext/tcltklib/stubs.c: should include "util.h" for ruby_strdup.eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3036 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-11-09* eval.c: remove ENABLE_TRACE/DISABLE_TRACE to trace child nodes of c-call.nahi
[ruby-dev:18699]; nahi commits this as proxy for nobu. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3034 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-11-07* parse.y: back out an unintended change in the syntax.matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3033 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-11-07* class.c (rb_define_method): do not set NOEX_CFUNC if klass ismatz
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: svn+ssh://ci.ruby-lang.org/ruby/trunk@3032 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-11-07Get rid of ineffective symbols, lines, constants and so on.ttate
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3031 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-11-072002-11-07nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3030 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-11-07* eval.c (rb_yield_0): should enable trace for non-cfunc nodes.nobu
[ruby-dev:18645] * eval.c (blk_orphan): a block created in a different thread is orphan. [ruby-dev:17471] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3029 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-11-05fixed rb_ary2cary() to convert nil.ttate
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3026 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-11-04* ext/extmk.rb: Properly pass the given target toknu
make(1). [pointed out by eban] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3025 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-11-04* instruby.rb, lib/mkmf.rb: use CONFIG["ENABLE_SHARED"] instead ofusa
checking whether CONFIG["configure-args"] includes "--enable-shared". git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3024 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-11-03Fix a bogon in the last commit. (reported by WATANABE Tetsuya inknu
[ruby-dev:18634]) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3023 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-11-03* Makefile.in, ext/extmk.rb, bcc32/Makefile.sub,knu
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: svn+ssh://ci.ruby-lang.org/ruby/trunk@3022 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-11-03* lib/getopts.rb: Do not choke on characters that cannot be usedknu
in a variable name. Replace them with `_'. Define a hash named $OPT for convenience. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3021 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-11-03* object.c (Init_Object): added Object#object_id, new name formatz
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: svn+ssh://ci.ruby-lang.org/ruby/trunk@3020 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-11-012002-10-30knu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3018 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-10-31Bugfix for Importable::callback.ttate
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3016 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-10-30* eval.c (rb_mod_public_method_defined, etc.): new methods:matz
public_method_defined?, private_method_defined?, protected_method_defined? * object.c (rb_obj_public_methods): new method Object#public_methods. * class.c (ins_methods_i): Object#methods should list both public and protected methods. * class.c (rb_class_public_instance_methods): new method Module#public_instance_methods. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3015 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-10-29* eval.c, file.c, gc.c, io.c, object.c, ruby.c, ruby.h, struct.c,knu
ext/socket/socket.c: differentiate long and int; use proper printf type specifiers and do casts where appropriate. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3014 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-10-292002-10-29nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3013 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-10-29 * eval.c (error_print, rb_longjmp, rb_thread_schedule): flushnobu
error message. [ruby-dev:18582] * eval.c (ruby_cleanup): added. just clean up without exit. [ruby-dev:18582] * eval.c (ruby_exec): added. execute main evaluation tree without exit. [ruby-dev:18582] * intern.h: prototypes; ruby_cleanup, ruby_exec git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3012 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-10-28* ext/extmk.rb (extmake): use dummy_makefile to create dummynobu
Makefile. * lib/mkmf.rb (find_executable0): EXEEXT is optional. * lib/mkmf.rb (dummy_makefile): make dummy Makefile content. * lib/mkmf.rb (create_makefile): define EXTLIB replacing -l. * lib/mkmf.rb ($bccwin): detect Borland make by help message. * lib/mkmf.rb (CLEANINGS): common rules to clean. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3011 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-10-27* djgpp/config.sed (@program_transform_name@): use `%', not `,'.eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3010 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-10-27ChangeLog: commit miss.eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3009 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-10-27ext/extmk.rb(78) : The unnecessary error when installing by bccwin32 is ↵H_Konishi
controlled. lib/mkmf.rb(773) : Also in the case of bccwin32, the path was added. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3008 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-10-27* djgpp/*: sync with the latest.eban
* ext/extmk.rb, lib/mkmf.rb: flush $stdout. * io.c (READ_DATA_PENDING_COUNT, READ_DATA_PENDING_PTR): undef these macros on DJGPP. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3007 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-10-272002-10-27eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3006 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-10-27* moved a blank line.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3005 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-10-27* fixed generator script name.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3004 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-10-26* node.h (nd_type): cast the value to int.knu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3002 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-10-252002-10-26knu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2997 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-10-25* ext/dbm/dbm.c (fdbm_indexes, fdbm_select): add a missingknu
argument and prevent coredump when a nonexistent key is specified. * ext/sdbm/init.c (fsdbm_indexes, fsdbm_select): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2996 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-10-25* eval.c, gc.c: adopt a common set of alloca() #ifdef's. Thisknu
fixes the build with Intel C Compiler for Linux. * eval.c (rb_f_require): declare old_func with a real type, not just type modifiers. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2995 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-10-24* ChangeLog: add ML ref.aamine
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2994 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-10-24* string.c (rb_str_split_m): RSTRING(str)->ptr might become NULL.aamine
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2993 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-10-242002-10-24nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2992 b2dd03c8-39d4-4d8f-98ff-823fe69b080e