summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 2002-09-27knu2002-09-271-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2899 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_thread_deadlock, rb_thread_schedule, rb_thread_join): more ↵nobu2002-09-272-7/+30
| | | | | | verbose message at deadlock. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2898 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_eval): Class#inherited should be called after thematz2002-09-273-5/+12
| | | | | | | | | | execution of the class body. * parse.y (primary): remove "return outside of method" check at compile time. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2897 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add a knob WITH_BUNDLED_ENGINES to test.sh.knu2002-09-261-2/+8
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2896 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/digest/sha1: Use OpenSSL's SHA1 engine if available. It isknu2002-09-266-5/+84
| | | | | | | | | much faster than what we have now (sha1.[ch]). Add a knob (--with-bundled-sha1) to extconf.rb which makes it use the bundled one anyway. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2895 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/digest/rmd160: Use OpenSSL's RMD160 engine if available. Itknu2002-09-266-5/+88
| | | | | | | | | is much faster than what we have now (rmd160.[ch]). Add a knob (--with-bundled-rmd160) to extconf.rb which makes it use the bundled one anyway. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2894 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/digest/md5: Use OpenSSL's MD5 engine if available. It isknu2002-09-266-4/+63
| | | | | | | | | much faster than what we have now (md5.[ch]). Add a knob (--with-bundled-md5) to extconf.rb which makes it use the bundled one anyway. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2893 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/digest/digest.c (rb_digest_base_s_digest): Fix a doubleknu2002-09-262-5/+10
| | | | | | | | | | free() bug mingled with allocation framework deployment. * ext/digest/digest.c (rb_digest_base_s_hexdigest): Get rid of redundant struct allocation. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2892 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * regex.c (re_match): p1 may exceed pend limit.matz2002-09-264-9/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2891 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dir.c (glob_helper): must not closedir() when exception raisednobu2002-09-255-26/+20
| | | | | | | | | | | | | | while globbing "**". * marshal.c (w_uclass): unused variable. * re.c (match_clone): unused. * regex.c (re_compile_pattern): get rid of implicit promotion from plain char to int. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2890 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (libpathflag): restore ENV['LIB'] when some error occured.usa2002-09-252-2/+9
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2889 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (appendline): forget to terminate with nul.matz2002-09-2510-36/+83
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * eval.c (ruby_run): should set toplevel visibility again here. * eval.c (rb_eval): should not rely on ruby_class == rb_cObject check. Besides allow implicit publicity for attribute set methods. * parse.y (primary): need not to check class_nest, just set whether method is an attrset or not. * string.c (rb_str_each_line): p might be at the top of the string. * class.c (rb_make_metaclass): class of metaclass should be metaclass of superclass, unless class itself is a metaclass; class of metaclass of metaclass should point back to self. eh, confusing, isn't it. * class.c (rb_singleton_class): check if its class is singleton AND attached to self. * eval.c (rb_eval): should define class/module under ruby_cbase. * eval.c (rb_eval): should set class/module path based on ruby_cbase, not ruby_class. * eval.c (module_setup): use ruby_cbase instead of ruby_class. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2887 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* make it compilemichal2002-09-241-2/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2886 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* cleanup for curses, gdbm [ruby-core:502], [ruby-core:503]michal2002-09-242-71/+63
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2885 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_call0): must not clear ruby_current_node, ornobu2002-09-235-26/+35
| | | | | | | | | | | | | | | | | backtrace cannot be genetated. * intern.h (ruby_yyparse): rather than yyparse(). * parse.y (yylex): nextc() returns -1 at end of input, not 0. * parse.y (newline_node): reduce deplicated newline node. * parse.y (literal_concat): get rid of warning. * parse.y (new_evstr): fixed junk code. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2884 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (RUBY_MINGW32): new macro. check for the MinGWeban2002-09-233-113/+144
| | | | | | | | compiler envionment. * lib/mkmf.rb: refactoring. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2883 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-09-22nobu2002-09-221-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2882 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (call_trace_func): should not call trace function whilenobu2002-09-224-6/+23
| | | | | | | | | | | | | | compilation. * eval.c (rb_call0): also inside c-func. * parse.y (yycompile): ditto. * ruby.c (require_libraries): preserve source file/line for each require. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* commit missnobu2002-09-211-4/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2879 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_thread_raise): no need to save dead thread context.nobu2002-09-213-3/+11
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* literal_append: remove.nobu2002-09-201-1/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2877 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (block_append): eliminate unused literal nodes.nobu2002-09-203-125/+83
| | | | | | | * parse.y (literal_concat): refined literal concatination. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2876 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/set.rb: Merge rough/lib/set.rb rev.1.5-1.15.knu2002-09-202-36/+398
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2875 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* No exception report when the exception is not specified to catch.nahi2002-09-181-1/+1
| | | | | | | [ruby-talk:50330] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2874 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* move struct timeval to missing.hmichal2002-09-176-54/+13
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2873 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_thread_die): put thread dead state.nobu2002-09-172-6/+18
| | | | | | | * eval.c (rb_thread_atfork): free stack buffer at fork too. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-09-17eban2002-09-171-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2871 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_mod_nesting): load wrapping module should appear inmatz2002-09-174-7/+20
| | | | | | | | | Module#nesting list. (ruby-bugs-ja:PR#328) * eval.c (rb_thread_remove): free stack buffer on remove. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2870 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c: add parameter prototype.aamine2002-09-163-4/+10
| | | | | | | * re.c: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2869 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_opendir): Corresponds to the unjust path containing ".H_Konishi2002-09-152-18/+30
| | | | | | | (rb_w32_stat) : ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2868 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (OUTFLAG, CPPOUTFILE): moved from lib/mkmf.rb.eban2002-09-157-17/+72
| | | | | | | | | | | | | check whether ${CPP} accepts the -o option. * win32/Makefile.sub (OUTFLAG, CPPOUTFILE): ditto. * bcc32/Makefile.sub (OUTFLAG, CPPOUTFILE): ditto. * djgpp/config.sed (OUTFLAG, CPPOUTFILE): ditto. * lib/mkmf.rb (OUTFLAG, CPPOUTFILE): use CONFIG. make easy to understand log. * mkconfig.rb (val): should not strip. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2867 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * error.c(rb_sys_fail): remove case EPIPE on bcc32 .H_Konishi2002-09-142-3/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2865 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dir.c (glob_func_caller): add prototype to get rid of warning.nobu2002-09-132-4/+11
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2864 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-09-13nobu2002-09-131-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2863 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_eval): avoid uninitialized global/class variablenobu2002-09-133-3/+15
| | | | | | | | | warnings at `||='. [ruby-dev:18278] * parse.y (stmt, arg): ditto git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2862 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix-Addons [ruby-core:483] with corrections from [ruby-core:484]michal2002-09-131-8/+8
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2861 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb ($INSTALLFILES): avoid warning when $VERBOSE mode.eban2002-09-132-0/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2860 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bcc32/setup.mak : Control of a message.H_Konishi2002-09-123-13/+22
| | | | | | | * bcc32/makefile.sub : include resource. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2859 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dir.c (glob_helper): should pass matched path. (ruby-bugs-ja:PR#333)nobu2002-09-122-2/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2858 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dir.c (glob_helper): fixed freeing buffer. (ruby-bugs-ja:PR#332)nobu2002-09-122-0/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2857 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dir.c (glob_helper): prevent memory leak using rb_protect().matz2002-09-124-83/+158
| | | | | | | | | | | | | | | | | | | | | * string.c (rb_str_associate): no need to check freeze flag. * string.c (rb_str_resize): should honor STR_ASSOC flag on resize. * string.c (rb_str_resize): proper STR_ASSOC handling. pointed out by Michal Rokos. * string.c (rb_str_buf_cat): ditto. * string.c (rb_str_cat): ditto. * string.c (rb_str_buf_append): ditto. * string.c (rb_str_append): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2856 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-09-12knu2002-09-111-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2854 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_trap_eval): preserve thread status and so on.nobu2002-09-112-24/+84
| | | | | | | [ruby-talk:40337], [ruby-core:00019] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2852 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * pp.rb (ARGF.pretty_print): implemented.akr2002-09-115-17/+36
| | | | | | | (PP.pp): arguments reordered. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2851 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (proc_to_s): refined format. [ruby-dev:18215]nobu2002-09-112-4/+9
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2850 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c, win32/win32.h (rb_w32_getpid): negate pid under Win9x.usa2002-09-113-1/+17
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2849 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (get_pat): Add an extra argument "quote".knu2002-09-112-17/+26
| | | | | | | | * string.c (rb_str_match_m): Do not bother to convert if a regexp is given. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2844 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bcc32/Makefile.sub: remove unnecessary `.dll' from filename ofusa2002-09-115-14/+25
| | | | | | | | | | | | | dll's resource file. * cygwin/GNUmakefile.in: ditto. [ruby-dev:17103] * win32/Makefile.sub: ditto. [ruby-dev:17103] * win32/resource.rb: ditto. [ruby-dev:17103] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2843 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-09-11nobu2002-09-111-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2842 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* retry on EINTR, ERESTART and EWOULDBLOCK. [ruby-dev:17855], ↵nobu2002-09-112-21/+107
| | | | | | [ruby-dev:17878], [ruby-core:00444] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2841 b2dd03c8-39d4-4d8f-98ff-823fe69b080e