gotoyuzo
d995f01f67
* ext/openssl/extconf.rb: use create_header.
...
* ext/openssl/ossl.h, ext/openssl/openssl_missing.h:
include RUBY_EXTCONF_H.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10209 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-06-02 10:03:16 +00:00
nobu
5fc8821161
* lib/mkmf.rb (CLEANINGS): remove extconf.h by distclean if created.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10208 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-06-02 08:16:44 +00:00
akr
7fd1a4b424
fix a comment.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10207 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-06-01 17:04:24 +00:00
eban
b8bac4111e
* 2006-06-02
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10206 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-06-01 15:44:23 +00:00
akr
5f4ad759f1
* ext/socket/socket.c (s_recvfrom): alen may be zero with UNIXSocket
...
too. (tested on NetBSD 3.0)
(s_recvfrom_nonblock): extracted from sock_recvfrom_nonblock.
(sock_recvfrom_nonblock): use s_recvfrom_nonblock.
(ip_recvfrom_nonblock): new method: IPSocket#recvfrom_nonblock
(unix_recvfrom_nonblock): new method: UNIXSocket#recvfrom_nonblock
(s_accept_nonblock): extracted from sock_accept_nonblock.
(sock_accept_nonblock): use s_accept_nonblock.
(tcp_accept_nonblock): new method: TCPServer#accept_nonblock
(unix_accept_nonblock): new method: UNIXServer#accept_nonblock
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10203 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-06-01 15:33:09 +00:00
nobu
da7472ee99
* win32/win32.c (rb_w32_cmdvector): backslashes inside single-quotes
...
no longer has special meanings. fixed: [ruby-list:42311]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10202 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-06-01 10:13:41 +00:00
usa
e4602e1d27
* win32/win32.c (rb_w32_getcwd): runtime's getcwd() will not success
...
if the length of the cwd is longer than MAX_PATH.
fixed [ruby-list:42335]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10201 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-06-01 07:18:12 +00:00
usa
2a9733a5c2
* 2006-06-01
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10200 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-06-01 02:35:10 +00:00
usa
f85ebe0963
* win32/win32.c (rb_w32_getcwd): set errno if not set.
...
fixed [ruby-list:42346]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10199 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-06-01 02:34:30 +00:00
nobu
e0337774ed
* eval.c (proc_invoke): save and restore block in the current frame.
...
fixed: [ruby-core:07833], [ruby-talk:191639]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10198 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-05-27 13:45:47 +00:00
eban
5a7d4b7a98
* 2006-05-27
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10197 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-05-27 03:00:37 +00:00
nobu
2ad6b5a887
* ext/extmk.rb (extmake): remove extinit files if no statically linked
...
extensions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10196 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-05-27 02:30:10 +00:00
nobu
3449f576f4
* lib/mkmf.rb (configuration): add $defs unless extconf.h was created.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10195 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-05-26 00:05:23 +00:00
nobu
b9287e46ab
* 2006-05-26
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10194 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-05-25 23:45:24 +00:00
nobu
e34b2a73e6
* ruby.h, lib/mkmf.rb (create_header): clear command line options for
...
macros moved to extconf.h.
* ext/extmk.rb (extract_makefile, extmk): made RUBY_EXTCONF_H and
EXTSTATIC permanent.
* ext/{dbm,digest/*,socket,zlib}/extconf.rb: used $defs and $INCFLAGS.
* {bcc32,win32,wince}/Makefile.sub (COMPILE_C, COMPILE_CXX): added
$(INCFLAGS).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10193 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-05-25 23:44:08 +00:00
eban
1a8871fa13
* 2006-05-25
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10190 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-05-24 16:56:12 +00:00
nobu
0ca603c1bc
* mkconfig.rb: merge multiple entries to an entry with multiple lines.
...
* lib/mkmf.rb: allow a series of commands to link.
* win32/Makefile.sub: embed manifests.
* win32/setup.mak: suffix OS name by runtime version.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10189 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-05-24 16:52:00 +00:00
nobu
32a75c9dcb
* ext/extmk.rb: deal with $static set in extconf.rb.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10188 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-05-24 16:43:45 +00:00
nobu
18cf07cc7c
* lib/mkmf.rb (pkg_config): particular config commands support.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10187 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-05-24 15:51:03 +00:00
nobu
865efd821e
* configure.in (ac_install_sh): ignore dummy install-sh.
...
[ruby-talk:193876]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10186 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-05-24 14:52:10 +00:00
akr
31328e55fe
update nonblocking methods document.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10185 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-05-24 05:06:59 +00:00
eban
6c3879a612
* 2006-05-24
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10184 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-05-23 23:30:46 +00:00
gotoyuzo
cffba3b471
* ext/openssl/lib/openssl/ssl.rb
...
(OpenSSL::SSL::SocketForwarder#setsockopt,getsockopt): typo fixed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10183 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-05-23 18:14:05 +00:00
eban
b44f09c880
* 2006-05-23
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10182 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-05-23 01:19:19 +00:00
akr
3ef6ba3d12
add reason for accept(2) failure in accept_nonblock.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10181 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-05-22 22:34:20 +00:00
akr
078a760999
avoid useless fcntl in rb_io_set_nonblock.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10180 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-05-22 22:12:57 +00:00
akr
dc3037bc48
update *_nonblock doc.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10179 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-05-22 22:11:30 +00:00
eban
720ce6a115
* 2006-05-22
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10175 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-05-22 07:50:15 +00:00
akr
0773471eac
ChangeLog.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10174 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-05-22 07:45:00 +00:00
akr
04cbb0925e
parenthesize RSTRUCT_EMBED_LEN_SHIFT.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10173 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-05-22 07:39:30 +00:00
akr
096ff284ca
* rubyio.h (rb_io_set_nonblock): declared.
...
* io.c (rb_io_set_nonblock): new function.
(io_getpartial): nonblocking read support.
(io_read_nonblock): new method: IO#read_nonblock.
(io_write_nonblock): new method: IO#write_nonblock.
* ext/socket/socket.c (s_accept): retry for EWOULDBLOCK.
revert [ruby-talk:113807].
(sock_connect_nonblock): new method: Socket#connect_nonblock.
(sock_accept_nonblock): new method: Socket#accept_nonblock.
(sock_recvfrom_nonblock): new method: Socket#recvfrom_nonblock.
[ruby-core:7917]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10172 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-05-22 07:38:42 +00:00
kosako
baedd2b4f7
fix bug [ruby-list:42234]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10168 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-05-21 00:56:05 +00:00
gotoyuzo
9a012539ba
* lib/webrick/config.rb (WEBrick::Config::HTTP): add new parameters,
...
:InputBufferSize and :OutputBufferSize.
* lib/webrick/utils.rb (WEBrick::Utils.timeout): add new timeout
method. this implementation is expected to be compatible with
timeout.rb and faster than timeout.rb.
* lib/webrick/httprequest.rb (WEBrick::HTTPRequest#_read_data):
Timeout.timeout is replaced by WEBrick::Utils.timeout.
* lib/webrick/httprequest.rb: WEBrick::HTTPRequest::BUFSIZE is
replaced by config[:InputBufferSize].
* lib/webrick/httpresposne.rb: WEBrick::HTTPResponse::BUFSIZE is
replaced by config[:OutputBufferSize].
* lib/webrick/server.rb: get rid of unnecessary require.
* test/webrick/test_utils.rb: test for WEBrick::Utils.timeout.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10167 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-05-18 13:42:52 +00:00
nobu
9e365254a6
* 2006-05-18
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10164 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-05-17 15:48:29 +00:00
nobu
fbbc511d65
* ext/extmk.rb, lib/mkmf.rb: use BUILD_FILE_SEPARATOR in Makefiles.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10163 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-05-17 15:42:21 +00:00
kosako
8c5f9ef2ea
don't use onig_recompile()
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10155 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-05-15 12:39:25 +00:00
akr
2d80e59b76
unused variable removed.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10152 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-05-13 08:55:39 +00:00
akr
4bd4ea12ad
add ML ref.
...
[ruby-core:7865]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10151 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-05-13 08:24:46 +00:00
eban
3780530a64
* 2006-05-13
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10150 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-05-13 07:50:44 +00:00
akr
52d0a1624c
update readpartial doc.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10149 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-05-13 07:43:41 +00:00
akr
55fc4f0c27
* lib/pp.rb (PP.mcall): new method.
...
(Struct#pretty_print): call Kernel#class and Struct#members even if
overriden.
(Struct#pretty_print_cycle): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10148 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-05-13 07:35:50 +00:00
eban
a673b24319
* 2006-05-11
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10147 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-05-11 12:16:22 +00:00
gotoyuzo
1fbcb92ec8
* ext/openssl/ossl_cipher.c (add_cipher_name_to_ary): should return
...
value. [ruby-dev:28627]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10145 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-05-11 09:31:27 +00:00
kosako
8e57e208a7
merge Oniguruma 4.0.3
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10142 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-05-10 14:41:20 +00:00
eban
dfa0b1cc31
* 2006-05-09
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10140 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-05-09 02:13:19 +00:00
akr
400fa512cf
note EAGAIN on readpartial document.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10139 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-05-09 02:12:11 +00:00
usa
9b9de890dc
* 2006-05-08
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10138 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-05-08 00:14:57 +00:00
gotoyuzo
55ef220fe0
* ext/openssl/extconf.rb: add check for OBJ_NAME_do_all_sorted.
...
* ext/openssl/ossl_cipher.c (ossl_s_ciphers): new method
OpenSSL::Cipher.ciphers. it returns all the cipher names.
* ext/openssl/ossl_cipher.c (ossl_cipher_init): refine warning message.
* ext/openssl/lib/openssl/cipher.rb: reimplement without eval() and
add constants AES128, AES192, AES256. [ruby-dev:28610]
* ext/openssl/lib/openssl/digest.rb: reimplement without eval().
* test/openssl/test_cipher.rb, test_digest: fix about reimplemented features.
* sample/openssl/cipher.rb: rewrite all.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10137 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-05-08 00:12:00 +00:00
eban
911655fd17
* 2006-05-07
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10136 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-05-07 03:28:43 +00:00
akr
8afbf5cc03
* lib/resolv.rb (Resolv::DNS::Requester::ConnectedUDP#initialize):
...
Use AF_INET6 for nameservers containing colons.
patch by Stephan Maka.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-05-07 02:56:06 +00:00