aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * marshal.c (w_object): if object responds to 'marshal_dump',matz2003-07-299-36/+130
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Marshal.dump uses it to dump object. unlike '_dump', marshal_dump returns any kind of object. * marshal.c (r_object0): restore instance by calling 'marshal_load' method. unlike '_load', it's an instance method, to handle cyclic reference. * marshal.c (marshal_load): all objects read from file should be tainted. [ruby-core:01325] * lib/timeout.rb (Timeout::timeout): execute immediately if sec is zero. * ext/socket/socket.c (socks_init): typo fixed. [ruby-talk:77232] * ext/socket/extconf.rb: the default value for --enable-socks is taken from ENV["SOCKS_SERVER"]. [ruby-talk:77232] * ruby.c (proc_options): add -W option. -W0 to shut up all warning messages. [ruby-talk:77227] * error.c (rb_warn): no message will be printed if the value of $VERBOSE is "nil", i.e. perfect silence. * ruby.c (verbose_setter): $VERBOSE value is either true, false, or nil. * io.c (Init_IO): no "read" check for $stdin. in addition some function names has been changed. * regex.c (re_match_exec): incorrect multibyte match. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4220 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * fix a bug of the procedure for 'Delete' button on the safe-Tk frmaenagai2003-07-292-1/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4219 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * change default mode of mainloop_abort_on_exception on multi-tk.rbnagai2003-07-291-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4218 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bug fixnagai2003-07-294-56/+90
| | | | | | | | * change mainloop_abort_on_no_widget_cmd => mainloop_abort_on_exception ( to avoid thread timing trouble on accessing destroyed widgets ) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4217 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* import erb_2_0_4b2seki2003-07-291-6/+14
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4216 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Small documentation correction.gsinclair2003-07-291-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4215 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/smtp.rb (send0): do taint check only when $SAFE > 0aamine2003-07-292-3/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4214 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* garbagenobu2003-07-291-1/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4213 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb (INSTALL_PROG, INSTALL_DATA): modify verbose messages.eban2003-07-292-2/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4212 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * MANIFEST: add lib/un.rb.eban2003-07-292-0/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4211 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/fileutils.rb (install): support preserve timestamp.eban2003-07-295-14/+123
| | | | | | | | | | | * instruby.rb (install): use FileUtils::install preserve mode. * lib/un.rb: new. % ruby -run -e cp -- -p foo bar * lib/mkmf.rb: use un.rb instead of ftools.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4210 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/smtp.rb: unify coding style.aamine2003-07-293-4/+10
| | | | | | | * lib/net/http.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4209 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.h (LLONG_MIN): fix typo.usa2003-07-292-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4208 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bug fix ( tested with Ruby/Tk widget demo )nagai2003-07-296-15/+25
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4207 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/smtp.rb (Net::SMTP::send0): add taint check.matz2003-07-297-10/+30
| | | | | | | | | * ruby.h (LLONG_MIN): wrong value. * io.c (rb_f_getc): $stdin may not be IO. [ruby-dev:20973] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4206 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-07-29eban2003-07-291-4/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4205 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * instruby.rb (install): preserve the timestamp for Mac OS X ranlib problem.eban2003-07-292-11/+19
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4204 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/token.c: prefixed many constants and definitions with YAML_ towhy2003-07-294-96/+107
| | | | | | | | | | | avoid name clash. * ext/syck/gram.c: ditto. * ext/syck/gram.h: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4203 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: tabify.usa2003-07-293-62/+66
| | | | | | | | * ext/etc/etc.c: add real prototype to getenv(). * win32/win32.h: add arguments to definitions of functions if possible. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4202 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* tcltklib.c : use RTEST()nagai2003-07-291-4/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4201 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* tcltklib.c : bug fixnagai2003-07-293-36/+89
| | | | | | | | multi-tk.rb : bug fix and pack options are pssed to the safeTk container sample/safe-tk.rb : add example for pack options of safeTk container git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4200 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/syck.h: Added 'syck' yacc prefixes.why2003-07-2810-132/+225
| | | | | | | | | | | * ext/syck/gram.c: ditto. * ext/syck/token.c: ditto. * ext/syck: Added ruby.h reference to source files. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4199 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/lib/net/https.rb (use_ssl=): raise ProtocolError ifgotoyuzo2003-07-282-1/+15
| | | | | | | connection is set up already. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4198 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/configsub.rb: unusednobu2003-07-281-1/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4197 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* unusednobu2003-07-281-32/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4196 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/configsub.rb: $defout is obsolete.nobu2003-07-281-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4195 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (Init_File): IO should include File::Const.nobu2003-07-282-1/+6
| | | | | | | [ruby-dev:20964] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4194 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Bug for 2nd arg of round fixed.shigek2003-07-281-1/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4193 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/extconf.rb: check again after pkg-config for MinGW oneban2003-07-282-1/+8
| | | | | | | Cygwin. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4192 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/stringio/stringio.c (strio_gets): only "gets" should set $_.matz2003-07-287-91/+196
| | | | | | | | | | | | | | | | | | | | | | | * ext/stringio/stringio.c (strio_getline): should not set $_ here. * io.c (argf_to_s): argf.to_s returns "ARGF". * io.c (set_defout_var, set_deferr_var): make $defout and $deferr obsolete. * io.c (set_input_var, set_output_var): allow $stdin, $stdout, $stderr not to be instance of IO. * io.c (rb_f_readline): forward method to current_file. gets, readline, readlines, getc, readchar, tell, seek, pos=, rewind, fileno, to_io, eof, each_line, each_byte, binmode, and closed? as well. * io.c (argf_forward): utility function to forward method to current_file. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4190 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* tcltklib.c : *bug fixnagai2003-07-282-14/+318
| | | | | | | | | multi-tk.rb : *bug fix *add methods depend on Tcl's 'interp' command *suppot to control safe-level of each interpreter git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4189 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-07-28eban2003-07-281-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4188 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Bug fix from Javier Goizueta.shigek2003-07-284-71/+86
| | | | | | | ROUND_MODE & round changed(source & docs). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4187 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* multi-tk.rb : (new) library to support multiple Tk interpreters (high level)nagai2003-07-2710-144/+1142
| | | | | | | | | | | tcltklib.c : add some methods to support multiple interpreters (low level) MANUAL.euc : modify descriptions tcltklib/sample/safeTk.rb : (new) sample : how to use safeTk interpreter tk/sample/safe-tk.rb : (new) sample : how to use multi-tk.rb tk.rb, tkafter.rb : bug fix and add feature to supprt multi-tk git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4186 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/set.rb: each() should return self.knu2003-07-272-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4185 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_chomp_bang): defer rb_str_modify() to actualmatz2003-07-274-14/+28
| | | | | | | | | | | | | modify point. other methods, replace, tr, delete, squeeze, lstrip, and rstrip as well. * string.c (rb_str_rstrip_bang): remove trailing '\0' at the end of string. * string.c (rb_str_lstrip_bang): do not strip '\0' from the left. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4184 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * mkconfig.rb: initialize global variables to avoid warnings.eban2003-07-272-1/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4183 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: typo fix.eban2003-07-271-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4182 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/extconf.rb: better support MinGW. addeban2003-07-272-10/+20
| | | | | | | dir_config("kerberos") and with_config("pkg-config). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4181 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/debug.rb: fix breakpoint parameter parsing/checking.nahi2003-07-272-27/+35
| | | | | | | (?:(file|class):)(line_number|method) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4180 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add UNIXFileOwner, UNIXFileGroupseki2003-07-272-0/+12
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4179 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-07-27nobu2003-07-261-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4178 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (io_reopen): avoid dup2() equal handles not to close itself andnobu2003-07-262-24/+34
| | | | | | | to get rid of a msvcrt bug. [ruby-dev:20919] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4177 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/tmpdir.rb: use GetWindowsDirectory, not GetSystemDirectory. ↵eban2003-07-262-1/+6
| | | | | | [ruby-talk:77073] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4176 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk.rb (TkCore::chooseDirectory): back up wronglymatz2003-07-265-87/+123
| | | | | | | removed method. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4175 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 0 ** 0 bug fixed.shigek2003-07-262-57/+71
| | | | | | | ROUND_MODE introduced,COMP_MODE removed & round method substantially changed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4174 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Added credit to PragProggsinclair2003-07-261-1/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4173 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_fdopen): set errno if it's zero on win32 platforms.usa2003-07-264-17/+13
| | | | | | | | | | * ext/openssl/ossl_ssl.c (TO_SOCKET): define special version when _WIN32 is defined. this is ruby's problem, not OpenSSL. * win32/win32.c: remove some old comments. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4172 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-07-26eban2003-07-261-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4171 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk.rb (TkCore::chooseDirectory): back up wronglymatz2003-07-261-0/+4
| | | | | | | removed method. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4170 b2dd03c8-39d4-4d8f-98ff-823fe69b080e