summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * configure.in (RUBY_PROG_GNU_LD): check whether the linker is GNU ld.eban2002-10-044-3/+26
| | | | | | | | * 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-032-4/+5
| | | | | | | 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-036-21/+91
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | [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
* use Object#class instead of deprecated Object#type.nobu2002-10-0222-93/+91
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2927 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ditto.nobu2002-10-021-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2926 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-022-3/+8
| | | | | | | 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-024-9/+108
| | | | | | | | | | | | | | | | | | 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
* Improve the description.ttate2002-10-021-6/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2922 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_wait_readable): handle retryable errors.nobu2002-10-025-66/+90
| | | | | | | | | | | | | | | | | | | * 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
* * 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