why
4d859f926a
* ext/syck/emitter.c (syck_emitter_flush): accepts count
...
of bytes to flush. anchor offsets now functional.
* ext/syck/syck.h (syck_emitter_flush): ditto.
* ext/syck/rubyext.c: ditto.
* ext/syck/token.c: URI escaping now supported.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4149 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-24 16:30:43 +00:00
matz
c37d8b287e
* gc.c (run_final): backout unnecessary modifies.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4147 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-24 07:50:36 +00:00
nobu
1a890d82c3
* lib/mkmf.rb (have_type): check if a type is defined.
...
* lib/mkmf.rb (check_sizeof): check size of a type.
* ext/dbm/extconf.rb: check if type DBM is defined.
[ruby-talk:76693]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4146 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-24 07:41:36 +00:00
nobu
71c9abdd06
* ChangeLog (add-log-time-format): "%c" contains timezone on XEmacs.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4145 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-24 07:21:44 +00:00
nobu
7896128822
* configure.in (AC_C_VOLATILE): check if volatile works.
...
* defines.h (volatile): removed.
* eval.c (rb_thread_group): Thread#group. [new]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4144 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-24 07:05:28 +00:00
gotoyuzo
c1008ab51b
* ext/openssl/extconf.rb: add check for win32 OpenSSL libraries.
...
* ext/openssl/extconf.rb: add check for __VA_AEGS__.
* ext/openssl/ossl.h: avoid non C99 compiler errors.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4143 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-24 06:56:02 +00:00
matz
e02b469de1
* eval.c (thgroup_add): no warning for terminated threads.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4142 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-24 05:18:47 +00:00
akr
169300a4f8
lib/pathname.rb: added.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-24 04:12:57 +00:00
akr
326569b7df
* lib/pathname.rb: added.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4140 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-24 04:10:35 +00:00
nobu
85aa73835e
* ext/io/wait/extconf.rb: removed unnecessary backward compatibility stuff.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4139 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-24 02:22:32 +00:00
eban
4f0f5abf34
2003-07-24
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4138 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-24 02:10:09 +00:00
eban
3150436c85
* ext/openssl/extconf.rb: revert use of dir_config.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4137 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-24 02:10:04 +00:00
usa
8861263bcb
Typo.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4136 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-24 01:05:36 +00:00
usa
7871b3b32a
* ext/Win32API/lib/win32/resolv.rb: added.
...
* lib/resolv.rb: support Win32 platforms.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-24 01:03:28 +00:00
gotoyuzo
f00c14ca25
* ext/openssl/ssl.h: undef X509_NAME and PKCS7_SIGNER_INFO to
...
avoid name confliction on mswin32.
* ext/openssl/ssl.c (ossl_protect_obj2bio): avoid VC++ warnings
in function prototype.
* ext/openssl/ssl.c (ossl_protect_membio2str): ditto.
* ext/openssl/ssl.c (ossl_protect_x509_ary2sk): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4134 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-23 19:08:35 +00:00
michal
3f71dcc79b
Cut check for OpenSSL version
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4133 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-23 18:48:07 +00:00
usa
85f1f85868
* ext/tcltklib/tcltklib.c (ip_init): need at least one statement after label.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4132 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-23 18:44:29 +00:00
gotoyuzo
30b4904fd7
* lib/webrick: imported.
...
* MANIFEST: added webrick files.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4131 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-23 16:52:43 +00:00
gotoyuzo
01eba908ad
* lib/webrick: imported.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4130 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-23 16:51:36 +00:00
eban
02f036ddbc
* lib/tmpdir.rb (tmpdir): new method. remove TMPDIR.
...
use GetSystemWindowsDirectory(GetSystemDirectory), not GetTempPath.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4129 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-23 16:37:35 +00:00
gotoyuzo
231247c010
* ext/openssl: imported.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4128 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-23 16:12:24 +00:00
nagai
fd46a1da0a
process.c : unify indentation
...
configure.in : add --enable-setreuid option
tcltklib.c : TclTkIp.new accepts 'ip-name' and 'options'
( e.g. TclTkIp.new('FOO', '-geometry 500x200 -use 0x2200009') )
tk.rb : support arguments of TclTkIp.new
( see TkCore::IP_NAME, TkCore::IP_OPTS )
tk*.rb : preparations for multi-Tk interpreter support
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4127 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-23 16:07:35 +00:00
eban
528b6c3f64
* file.c (DOSISH): better Cygwin support.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4126 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-23 14:09:52 +00:00
seki
e96641be8e
import erb-2.0.4b1
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4125 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-23 09:47:16 +00:00
nobu
eb5a52e070
* ext/io/wait: imported.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4124 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-23 09:26:53 +00:00
matz
2436525ed8
* string.c (rb_str_lstrip_bang): strip NUL along with white
...
spaces. [ruby-talk:76659]
* string.c (rb_str_rstrip_bang): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4123 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-23 06:48:52 +00:00
nobu
cabf75ae6a
* lib/mkmf.rb (log_src, checking_for, create_header):
...
Logging.message is printf like format.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4122 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-23 05:19:22 +00:00
shigek
28f3cb3fd8
COMP_MODE_ROUNDUP -> COMP_MODE_ROUND
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4121 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-23 04:48:56 +00:00
eban
f802b75575
2003-07-23
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4120 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-23 02:50:37 +00:00
nagai
3e8d70c95c
process.c, configure.in :
...
* add a module for raw syscalls to control UID/GID
* add modules for portable UID/GID control
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4119 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-23 02:39:46 +00:00
nobu
0770898bb9
* ext/iconv/iconv.c (check_iconv): check if Iconv instance.
...
* ext/iconv/iconv.c (iconv_convert): stringify argument.
* ext/iconv/iconv.c (iconv_failure_initialize): limit
inspect message. [ruby-dev:20785]
* ext/iconv/iconv.c (rb_str_derive): share with original
string if possible. [ruby-dev:20785]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4118 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-23 01:11:20 +00:00
shigek
66910f17b7
Explanation for prec, and some more for max. number of sig. digits.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4117 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-22 14:04:23 +00:00
matz
0d1df1cd7d
* variable.c (rb_mod_const_missing): new method. [ruby-core:00441]
...
* variable.c (rb_const_get_at): allow "const_missing" hook.
* variable.c (rb_const_get_0): ditto.
* eval.c (method_missing): rename from rb_undefined to clarify.
* eval.c (ruby_finalize_0): update exit status if any of END proc
raises SystemExit. [ruby-core:01256]
* eval.c (rb_exec_end_proc): reduce rb_protect().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4116 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-22 08:42:47 +00:00
eban
27daa53c54
* MANIFEST (lib/cgi/session/pstore.rb, lib/yaml/baseemitter.rb): added.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4115 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-22 08:17:46 +00:00
usa
8f81d082af
* lib/tmpdir.rb: remove charcters after "\000" and regularize path.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4114 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-22 01:53:58 +00:00
matz
c26663f24b
* numeric.c (num_equal): should not use rb_equal().
...
* object.c (rb_equal): back out the last change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4113 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-21 18:48:58 +00:00
matz
fa284f8127
* string.c (rb_str_equal): should return nil for non string
...
operand to conform comparable convention. [ruby-dev:20759]
* object.c (rb_equal): preserve nil if "==" returns nil.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4112 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-21 18:37:07 +00:00
eban
ced623cd8a
2003-07-22
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4111 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-21 16:51:59 +00:00
eban
9ca1f80192
MANIFEST: add lib/tmpdir.rb.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4110 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-21 16:29:32 +00:00
matz
2416271405
* lib/tmpdir.rb: new library to get temporary directory path,
...
using GetTempPath on Win32 environment.
* lib/tempfile.rb: now uses tmpdir.rb.
* lib/cgi/session.rb, ib/drb/unix.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4109 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-21 15:34:18 +00:00
shigek
15c3df744f
patches from T.Saito etc.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4108 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-21 14:49:25 +00:00
matz
e4de8e7566
* string.c: use StringValueCStr to retrieve paths to system calls.
...
* string.c (rb_string_value_cstr): check null byte in the string
before retrieving C ptr. accessed via macro StringValueCStr.
* file.c (sys_fail2): raise error for two operand system calls
such as rename, link, symlink. (ruby-bugs PR#1047)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4107 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-20 17:17:52 +00:00
katsu
6a867d33b5
* ext/zlib/zlib.c (gzfile_read_header): gz->z.input may be nil after finishing reading a gzip header.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4106 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-20 02:06:15 +00:00
matz
fe4de8b4b8
* string.c (rb_str_match2): add warning to "~string".
...
[ruby-list:37751]
* lib/net/ftp.rb (Net::FTP::open): takes block. suggested by Gavin
Sinclair in [ruby-core:01237].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4105 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-19 17:26:04 +00:00
eban
3f39e3e2a0
* MANIFEST: add lib/scanf.rb.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4104 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-19 14:12:35 +00:00
dblack
e3556affad
Initial commit of scanf.rb.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4103 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-19 12:34:45 +00:00
matz
d675dbc279
* lib/xmlrpc: import.
...
* eval.c (thgroup_add): should return group for terminated thread
case.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4102 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-19 10:05:54 +00:00
uema2
c7d2ebd71e
* wince/stdlib.c: add bsearch().
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4101 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-19 10:02:57 +00:00
eban
6d696136d5
2003-07-19
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4100 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-19 03:40:16 +00:00
matz
5b7d908752
* eval.c (thgroup_add): typo again. sorry.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4099 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-19 03:23:05 +00:00