summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * commit miss; and tcltklib fix too.matz2002-10-028-24/+59
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2920 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (gc_sweep): free unused heap page to reduce process size ifmatz2002-10-021-0/+7
| | | | | | | | | possible. * object.c (rb_obj_type): deperecated Object#type; use Object#class. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2919 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: set ac_cv_func_setitimer to "no" on Cygwin.eban2002-10-022-1/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2918 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-10-02nobu2002-10-011-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2917 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c (init_sock): no need for special finalizer,nobu2002-10-014-44/+9
| | | | | | | | | | | socket descriptor is no longer duplicated in 1.7. [ruby-talk:50732] * win32/win32.c, win32/win32.h (rb_w32_fddup, rb_w32_fdclose): delete. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2916 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * range.c (range_check): need no Fixnum check.matz2002-10-012-1/+28
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2913 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * range.c (range_check): need no Fixnum check.matz2002-09-302-4/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2912 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-09-30nobu2002-09-302-3/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2911 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_inspect): not need to raise IOError for closed stream. ↵nobu2002-09-302-2/+6
| | | | | | [ruby-talk:51871] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-09-29nobu2002-09-291-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2909 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_open_osfhandle): adjustnobu2002-09-293-137/+136
| | | | | | | | | | | | rb_w32_open_osfhandle() with _open_osfhandle(). * win32/win32.c (rb_w32_accept, rb_w32_socket): return -1 on error. * win32/win32.h: should use file descriptor instead of SOCKET. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2908 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (is_socket, rb_w32_select, rb_w32_accept, rb_w32_bind,usa2002-09-282-85/+142
| | | | | | | | | | | | | rb_w32_connect, rb_w32_getpeername, rb_w32_getsockname, rb_w32_getsockopt, rb_w32_ioctlsocket, rb_w32_listen, rb_w32_recv, rb_w32_recvfrom, rb_w32_send, rb_w32_sendto, rb_w32_setsockopt, rb_w32_shutdown, rb_w32_socket, rb_w32_gethostbyaddr, rb_w32_gethostbyname, rb_w32_gethostname, rb_w32_getprotobyname, rb_w32_getprotobynumber, rb_w32_getservbyname, rb_w32_getservbyport): need to protect WSAGetLastError() by RUBY_CRITICAL. [ruby-talk:51778] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2907 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-09-28eban2002-09-281-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2906 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * keywords: add braces around initializers.nobu2002-09-283-80/+84
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2905 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * hash.c (rb_hash_become): should check self-assignment afternobu2002-09-282-1/+6
| | | | | | | conversion. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2904 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * hash.c (rb_hash_become): Hash#become should check addedmatz2002-09-283-1/+15
| | | | | | | | | | self-assignment. * class.c (rb_make_metaclass): metaclass of a superclass may be NULL at boot time. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2903 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb: The condition judgment without necessity was deleted.H_Konishi2002-09-282-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2902 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Update.knu2002-09-274-10/+37
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2901 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Update the MANIFEST files.knu2002-09-274-0/+12
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2900 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 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