aamine
f1d9d32a67
* lib/net/smtp.rb (send0): do taint check only when $SAFE > 0
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4214 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-29 13:29:53 +00:00
nobu
42f3ae0286
garbage
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4213 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-29 10:44:27 +00:00
eban
1a291e4544
* ext/extmk.rb (INSTALL_PROG, INSTALL_DATA): modify verbose messages.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4212 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-29 10:38:30 +00:00
eban
de9a5238c3
* MANIFEST: add lib/un.rb.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4211 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-29 10:31:21 +00:00
eban
3fbbec0c39
* lib/fileutils.rb (install): support preserve timestamp.
...
* 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
2003-07-29 10:24:28 +00:00
aamine
23301726b0
* lib/net/smtp.rb: unify coding style.
...
* lib/net/http.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4209 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-29 09:48:30 +00:00
usa
28cbfaba2b
* ruby.h (LLONG_MIN): fix typo.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4208 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-29 08:28:54 +00:00
nagai
7544bfc130
* bug fix ( tested with Ruby/Tk widget demo )
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4207 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-29 08:05:30 +00:00
matz
37b2487c70
* lib/net/smtp.rb (Net::SMTP::send0): add taint check.
...
* 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-29 07:52:55 +00:00
eban
847bac1daf
2003-07-29
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4205 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-29 07:08:18 +00:00
eban
706536ff0f
* instruby.rb (install): preserve the timestamp for Mac OS X ranlib problem.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4204 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-29 07:08:04 +00:00
why
49ad283b97
* ext/syck/token.c: prefixed many constants and definitions with YAML_ to
...
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
2003-07-29 03:27:01 +00:00
usa
49c85058af
* ChangeLog: tabify.
...
* 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
2003-07-29 03:17:13 +00:00
nagai
b221254f6f
tcltklib.c : use RTEST()
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4201 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-29 01:45:33 +00:00
nagai
df33012935
tcltklib.c : bug fix
...
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
2003-07-29 01:24:32 +00:00
why
0a75581a37
* ext/syck/syck.h: Added 'syck' yacc prefixes.
...
* 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
2003-07-28 19:27:42 +00:00
gotoyuzo
ea837fc6fe
* ext/openssl/lib/net/https.rb (use_ssl=): raise ProtocolError if
...
connection is set up already.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4198 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-28 19:06:31 +00:00
nobu
e156194ce6
* ext/configsub.rb: unused
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4197 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-28 14:32:00 +00:00
nobu
c7ea47eef1
unused
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4196 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-28 14:31:01 +00:00
nobu
0d95887b86
* ext/configsub.rb: $defout is obsolete.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4195 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-28 14:29:35 +00:00
nobu
a644c35a99
* file.c (Init_File): IO should include File::Const.
...
[ruby-dev:20964]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4194 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-28 14:23:12 +00:00
shigek
ce356b524e
Bug for 2nd arg of round fixed.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4193 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-28 13:47:19 +00:00
eban
906ab8e25d
* ext/openssl/extconf.rb: check again after pkg-config for MinGW on
...
Cygwin.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4192 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-28 09:55:12 +00:00
matz
dea1baa169
* ext/stringio/stringio.c (strio_gets): only "gets" should set $_.
...
* 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
2003-07-28 07:31:52 +00:00
nagai
4158a73ee4
tcltklib.c : *bug fix
...
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-28 06:10:13 +00:00
eban
ad50cacf19
2003-07-28
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4188 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-28 02:57:55 +00:00
shigek
4cbf09d1fe
Bug fix from Javier Goizueta.
...
ROUND_MODE & round changed(source & docs).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4187 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-28 02:56:43 +00:00
nagai
b388591ab7
multi-tk.rb : (new) library to support multiple Tk interpreters (high level)
...
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
2003-07-27 19:35:06 +00:00
knu
e4ffaf6ea8
* lib/set.rb: each() should return self.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4185 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-27 18:10:54 +00:00
matz
dbe85f1ef0
* string.c (rb_str_chomp_bang): defer rb_str_modify() to actual
...
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
2003-07-27 17:20:29 +00:00
eban
baf3f1cbac
* mkconfig.rb: initialize global variables to avoid warnings.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4183 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-27 12:55:35 +00:00
eban
93f8a40494
* ChangeLog: typo fix.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4182 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-27 12:20:21 +00:00
eban
39bc97b078
* ext/openssl/extconf.rb: better support MinGW. add
...
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
2003-07-27 12:19:18 +00:00
nahi
f5b3d426c8
* lib/debug.rb: fix breakpoint parameter parsing/checking.
...
(?:(file|class):)(line_number|method)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4180 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-27 05:49:03 +00:00
seki
8d64baf2a8
add UNIXFileOwner, UNIXFileGroup
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4179 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-27 01:25:58 +00:00
nobu
e1dcc80d4c
2003-07-27
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4178 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-26 18:14:36 +00:00
nobu
f01fe1351e
* io.c (io_reopen): avoid dup2() equal handles not to close itself and
...
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
2003-07-26 18:10:47 +00:00
eban
2dfe646bae
* lib/tmpdir.rb: use GetWindowsDirectory, not GetSystemDirectory. [ruby-talk:77073]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4176 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-26 15:38:58 +00:00
matz
f0b77b0cde
* ext/tk/lib/tk.rb (TkCore::chooseDirectory): back up wrongly
...
removed method.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4175 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-26 15:03:16 +00:00
shigek
472efdfeb4
0 ** 0 bug fixed.
...
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
2003-07-26 13:04:57 +00:00
gsinclair
92aee059e8
Added credit to PragProg
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4173 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-26 12:53:09 +00:00
usa
b431230396
* io.c (rb_fdopen): set errno if it's zero on win32 platforms.
...
* 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-26 12:27:04 +00:00
eban
c83e7dfab2
2003-07-26
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4171 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-26 10:11:05 +00:00
matz
56408f7abc
* ext/tk/lib/tk.rb (TkCore::chooseDirectory): back up wrongly
...
removed method.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4170 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-26 05:27:42 +00:00
nobu
7a1482c3ee
* ext/stringio/stringio.c: includes Enumerable as well as IO.
...
[ruby-talk:77058]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4169 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-26 05:14:17 +00:00
matz
34ca2ab058
* variable.c (rb_mod_const_missing): "const_missing" should not
...
appear in the caller(); add call frame adjustment.
* eval.c (rb_method_missing): simplify call frame adjustment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4168 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-26 02:26:08 +00:00
seki
eb51666a19
fix: % line lineno
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4167 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-25 22:06:15 +00:00
seki
7470938822
fix: keep lineno
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4166 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-25 22:03:52 +00:00
gotoyuzo
0a39c57489
* ext/openssl/ossl.h: fix comment.
...
* ext/openssl/ossl.c (ossl_debug): should enable if no va-args
macro supplied.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4165 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-25 20:40:57 +00:00
gotoyuzo
d89358aba3
* ext/openssl/extconf.rb: refine va-args macro detection.
...
[ruby-talk:76983]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4164 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-25 19:16:19 +00:00