summaryrefslogtreecommitdiffstats
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
...
* * gc.c (gc_sweep): also adjust heaps_limits when free unused heapnobu2002-10-091-0/+9
| | | | | | | | | | | page. [ruby-core:00526] * io.c (io_fflush): condition to retry can occur. * io.c (io_write): returned 0 wrongly if no error occurred. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2947 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (io_write): must check returned value from fwrite() beforenobu2002-10-081-0/+5
| | | | | | | test with ferror(). (ruby-bugs-ja:PR#350) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2945 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/prettyprint.rb (PrettyPrint.singleline_format): new method.akr2002-10-081-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2944 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (bigdivrem): bignum zero's len should not be 0.matz2002-10-071-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2942 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (bigdivmod): wrong condition check for Bignum zero.matz2002-10-071-0/+6
| | | | | | | * bignum.c (Init_Bignum): need to add Bignum#div. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2941 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_load): should not pass block to the loaded file.aamine2002-10-051-0/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2937 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (rb_big_rshift): num should be initialized by carrymatz2002-10-041-0/+7
| | | | | | | | | bits if x is negative. * bignum.c (bigdivmod): len for bignum zero is 1, not 0. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2936 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_thread_interrupt, rb_thread_signal_raise): no need tonobu2002-10-041-0/+7
| | | | | | | | save dead thread context. (same as [ruby-dev:18322]) (ruby-bugs-ja:PR#349) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2935 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (RUBY_PROG_GNU_LD): check whether the linker is GNU ld.eban2002-10-041-0/+7
| | | | | | | | * ext/extmk.rb (create_makefile): add -Wl,-no-undefined to $DLDFLAGS on Linux if GNU ld is used and --enable-shared is specified. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2931 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (Init_stack): prefer address of argument rather than localnobu2002-10-031-1/+4
| | | | | | | variable to initialize rb_gc_stack_start. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2930 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bcc32/mkexports.rb: to work on cygwin via telnet.nobu2002-10-031-0/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ruby-win32:358] * ext/tcltklib/tcltklib.c (ip_invoke): requires command name argument. [ruby-dev:18438] * eval.c (ruby_init, ruby_options): Init_stack() with local location. (ruby-bugs-ja:PR#277) * eval.c (rb_call0): disable trace call. [ruby-dev:18074] * eval.c (eval, rb_load): enable trace call. [ruby-dev:18074] * eval.c (rb_f_require): set source file name for extension libraries. [ruby-dev:18445] * ruby.c (translate_char): translate a character in a string; DOSISH only. [ruby-dev:18274] * ruby.c (ruby_init_loadpath): added argv[0] handling under Human68K. [ruby-dev:18274] * ruby.c (proc_options): translate directory separator in $0 to '/'. [ruby-dev:18274] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2929 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* (_o_)nobu2002-10-021-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2925 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/delegate.rb (Delegator::initialize): use Object#classnobu2002-10-021-1/+6
| | | | | | | instead of deprecated Object#type. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2924 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (RUBY_CHECK_IO_NEED_FLUSH): check whether fflush()nobu2002-10-021-0/+16
| | | | | | | | | | | | | | | | | | is needed. * io.c (flush_before_seek): flush before seek if buffered data may remain. * io.c (rb_io_check_readable): flush if the last operation was write. * io.c (rb_io_check_writable): flush if the last operation was read. * rubyio.h (FMODE_RBUF): added. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2923 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_wait_readable): handle retryable errors.nobu2002-10-021-0/+18
| | | | | | | | | | | | | | | | | | | * io.c (rb_io_wait_writable): ditto. * ext/socket/socket.c (bsock_send): ditto. * ext/socket/socket.c (s_recvfrom): ditto. * ext/socket/socket.c (s_accept): ditto. * ext/socket/socket.c (udp_send): ditto. * ext/socket/getaddrinfo.c (afdl): made private structures constant. * rubyio.h: prototype; rb_io_wait_readable(), rb_io_wait_writable(). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2921 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-021-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2918 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c (init_sock): no need for special finalizer,nobu2002-10-011-0/+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-09-301-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2912 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-09-30nobu2002-09-301-1/+2
| | | | 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-301-0/+4
| | | | | | [ruby-talk:51871] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_open_osfhandle): adjustnobu2002-09-291-0/+10
| | | | | | | | | | | | 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-281-0/+11
| | | | | | | | | | | | | 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
* * keywords: add braces around initializers.nobu2002-09-281-0/+4
| | | | 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-281-0/+5
| | | | | | | 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-281-0/+8
| | | | | | | | | | 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-281-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2902 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_thread_deadlock, rb_thread_schedule, rb_thread_join): more ↵nobu2002-09-271-0/+8
| | | | | | 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-271-0/+10
| | | | | | | | | | 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
* * ext/digest/sha1: Use OpenSSL's SHA1 engine if available. It isknu2002-09-261-0/+7
| | | | | | | | | 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-261-0/+7
| | | | | | | | | 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-261-0/+7
| | | | | | | | | 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-261-0/+8
| | | | | | | | | | 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-261-0/+4
| | | | 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-251-1/+13
| | | | | | | | | | | | | | 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-251-0/+4
| | | | 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-251-0/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* * eval.c (rb_call0): must not clear ruby_current_node, ornobu2002-09-231-0/+15
| | | | | | | | | | | | | | | | | 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-231-0/+7
| | | | | | | | compiler envionment. * lib/mkmf.rb: refactoring. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2883 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (call_trace_func): should not call trace function whilenobu2002-09-221-0/+12
| | | | | | | | | | | | | | 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-211-0/+8
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (block_append): eliminate unused literal nodes.nobu2002-09-201-0/+6
| | | | | | | * 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-201-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2875 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_thread_die): put thread dead state.nobu2002-09-171-0/+6
| | | | | | | * 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
* * eval.c (rb_mod_nesting): load wrapping module should appear inmatz2002-09-171-0/+7
| | | | | | | | | 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-161-2/+8
| | | | | | | * 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-151-0/+5
| | | | | | | (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-151-0/+16
| | | | | | | | | | | | | 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-141-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2865 b2dd03c8-39d4-4d8f-98ff-823fe69b080e