usa
638bbb1946
* ChangeLog: fix typo. sorry...
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7488 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-07 04:47:59 +00:00
usa
571e1361b6
* io.c (dir_s_mkdir): win32 special processing doesn't need any longer.
...
* win32/win32.[ch] (rb_w32_mkdir): new function. POSIX.1 compatible
interface.
* win32/win32.[ch] (rb_w32_rmdir): new function.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7487 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-07 04:45:46 +00:00
eban
69b64a7d5f
* 2004-12-07
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7485 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-07 01:51:27 +00:00
nobu
29cbbc5b38
* test/socket/test_tcp.rb (TestTCPSocket#test_recvfrom): fix local
...
variable conflict. [ruby-dev:25083]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7484 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-06 23:02:17 +00:00
matz
aa92750f27
* process.c (proc_setgroups): [ruby-dev:25081]
...
* re.c (rb_reg_eqq): document fix. [ruby-talk:122541]
* io.c (io_fread): take VALUE argument.
* ext/socket/socket.c (sock_connect): use rb_str_new4().
[ruby-dev:25052]
* eval.c (rb_yield_0): [ruby-dev:25051]
* io.c (io_write): remove rb_str_locktmp(). [ruby-dev:25050]
* io.c (io_fwrite): takes VALUE string as an argument.
[ruby-dev:25050]
* ext/socket/socket.c (sock_connect): remove rb_str_locktmp().
[ruby-dev:25050]
* ext/socket/socket.c (udp_connect): [ruby-dev:25045]
* ext/socket/socket.c (udp_bind): ditto.
* ext/socket/socket.c (udp_send): ditto.
* ext/socket/socket.c (bsock_send): ditto.
* ext/socket/socket.c (s_recvfrom): ditto.
* hash.c (rb_hash_hash): should provide "hash" method where "eql?"
is redefined. [ruby-talk:122482]
* ext/socket/socket.c (bsock_setsockopt): [ruby-dev:25039]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7482 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-06 15:31:26 +00:00
akr
2cefbe9fb2
* configure.in: check -lsocket for socketpair and shutdown.
...
reported by Ville Mattila. [ruby-core:03903]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7481 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-06 14:09:33 +00:00
eban
ee40e23864
* configure.in (ac_cv_sizeof_rlim_t): setup for DJGPP.
...
* io.c (is_socket, shutdown): define dummy macros for DJGPP.
* process.c: use SIZEOF_RLIM_T instead of HAVE_RLIM_T for DJGPP.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7480 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-06 14:04:05 +00:00
usa
9e31b97465
* io.c (is_socket): fix typos. [ruby-core:03900]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7479 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-06 12:20:29 +00:00
usa
699a1cab5d
* ChangeLog: fix typo.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7478 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-06 12:07:24 +00:00
usa
1acf7e6b01
* io.c (is_socket): new function.
...
* io.c (rb_io_close_read, rb_io_close_write): use is_socket().
* io.c (rb_io_fptr_finalize): need to check fptr->f before calling
rb_io_fptr_cleanup().
* io.c (pipe_open): win32 pipe support (experimental).
* win32/win32.[ch] (rb_w32_pipe_exec): return file descripters
instead of FILE structure.
* win32/win32.[ch] (rb_w32_is_socket): new function.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7477 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-06 11:19:27 +00:00
eban
3bd61a71a0
* Makefile.in (.y.c): simplify the rule.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7476 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-06 10:42:49 +00:00
akr
710bab8480
add ML ref.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7475 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-06 09:17:42 +00:00
usa
f6a2a9b743
* eval.c (run_trap_eval): add prototype for Microsoft compiler.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7474 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-06 08:50:11 +00:00
akr
04f36c2bba
* rubyio.h, intern.h, io.c, file.c, process.c, ext/socket/socket.c,
...
ext/pty/pty.c, ext/io/wait/wait.c, ext/openssl/ossl_ssl.c:
Use own buffering mechanism instead of stdio.
* io.c, ext/stringio/stringio.c, test/ruby/ut_eof.rb:
EOF flag removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7473 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-06 08:40:30 +00:00
nobu
35091fdda5
* test/socket/test_socket.rb (TestBasicSocket#test_setsockopt):
...
BasicSocket#setsockopt dumps core. [ruby-dev:25039]
* test/socket/test_tcp.rb (TestTCPSocket#test_recvfrom):
TCPSocket#recvfrom dumps core. [ruby-dev:24705]
* test/socket/test_udp.rb (TestUDPSocket#test_connect):
UDPSocket#connect dumps core. [ruby-dev:25045]
* test/socket/test_udp.rb (TestUDPSocket#test_bind):
UDPSocket#bind dumps core. [ruby-dev:25057]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7471 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-06 08:15:56 +00:00
eban
b0efbcfb9e
* 2004-12-06
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7466 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-05 16:39:48 +00:00
gotoyuzo
dd92742ce1
* ext/openssl/ossl_pkey_rsa.c (ossl_rsa_public_encrypt,
...
ossl_rsa_public_decrypt, ossl_rsa_private_encrypt,
ossl_rsa_private_decrypt): should take an optional argument
to specify padding mode. [ruby-talk:122539]
* ext/openssl/ossl_pkey_rsa.c (Init_ossl_rsa): add new constants
PKCS1_PADDING, SSLV23_PADDING, NO_PADDING and PKCS1_OAEP_PADDING
under OpenSSL::PKey::RSA.
* test/openssl/test_pkey_rsa.rb: new file.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7465 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-05 16:36:26 +00:00
nobu
af3da7d124
* lib/optparse.rb (OptionParser::Completion#complete): new parameter
...
to direct case insensitiveness.
* lib/optparse.rb (OptionParser#order!): ignore case only for long
option. [ruby-dev:25048]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7464 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-05 10:39:58 +00:00
eban
174052749c
* 2004-12-05
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7463 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-04 15:57:58 +00:00
eban
a54f1be716
* mkconfig.rb: setup library paths before requiring library.
...
[ruby-core:03892]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7462 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-04 15:56:34 +00:00
aamine
95a5b4e9a4
* lib/fileutils.rb: (In previous commit) new method chown.
...
* lib/fileutils.rb: (In previous commit) new method chown_R.
* lib/fileutils.rb: (In previous commit) new method chmod_R wrongly added. Removed now.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7461 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-04 12:29:55 +00:00
aamine
7c0370dcaf
* lib/fileutils.rb (mkdir, mkdir_p): should chmod explicitly. [ruby-core:03881]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7460 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-04 11:46:24 +00:00
kou
500bd1f033
* lib/rss/rss.rb: removed empty lines from output.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7459 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-04 09:55:29 +00:00
kou
636e37fcb9
* lib/rss/rss.rb (RSS::VERSION): 0.1.1 -> 0.1.2
...
* lib/rss/rss.rb: #item=/#set_item and so on are obsolete.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7458 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-04 09:53:01 +00:00
eban
5262bd8a2c
* 2004-12-04
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7456 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-04 05:41:01 +00:00
dave
5d8d975434
Ignore leading and trailing lines in :section: blocks
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7455 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-04 05:38:17 +00:00
matz
405a50a594
* eval.c (proc_invoke): prepare to pass a block from "call" method
...
to a Proc generated by Method#to_proc. [ruby-dev:25031]
* eval.c (rb_yield_0): actually passes a block given to "call".
* object.c (convert_type): use rb_respond_to() again. this fix is
based on [ruby-dev:25021]
* eval.c (rb_respond_to): funcall respond_to? if it's redefined.
[ruby-dev:25021]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7446 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-03 04:56:25 +00:00
nobu
da4884e2d4
* st.h: fix prototype for C++.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7444 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-03 03:25:29 +00:00
eban
e582317a4e
* 2004-12-03
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7443 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-02 17:03:59 +00:00
nagai
697908d0d4
* ext/tk/lib/tk.rb: widget configuration by TkWindow#method_missing
...
returns proper object. "widget.option = val" returns val, and
"widget.option(val)" returns self.
* ext/tk/lib/tk/font.rb: TkFont#replace accepts only one font argument.
* ext/tk/lib/tk/radiobutton.rb: add TkRadiobutton#value and value=(val).
* ext/tk/lib/tk/spinbox.rb: callback substitution support on command option.
* ext/tk/sample/demos-en/widget: bug fix (wrong image height)
* ext/tk/sample/demos-jp/widget: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7442 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-02 16:59:02 +00:00
mneumann
4c10b035ef
* test/xmlrpc/test_parser.rb, test/xmlrpc/data/*.expected: Expected
...
values are now stored in YAML instead of using #inspect. This fixes
false hash order.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7441 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-02 15:22:23 +00:00
matz
5847fadf7b
* io.c (rb_file_initialize): [ruby-dev:25032]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7440 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-02 15:17:35 +00:00
nobu
dd1510eddc
* eval.c (rb_protect): prevent continuations created inside from being
...
called from the outside. [ruby-dev:25003]
* eval.c (rb_callcc, rb_cont_call): prohibit calling from different
signal contexts. [ruby-dev:25022]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7439 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-02 07:41:50 +00:00
eban
c22f22bd40
* 2004-12-02
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7438 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-02 02:44:08 +00:00
shugo
c741090753
* test/readline/test_readline.rb: fix for NetBSD.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7437 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-02 01:54:13 +00:00
nobu
fc0fcec74e
* eval.c (thread_mark): mark thread group. [ruby-dev:25020]
...
* eval.c (thgroup_add): check whether the argument is really a Thread.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7436 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-02 00:31:17 +00:00
matz
aa997fca3e
* io.c (rb_io_ctl): [ruby-dev:25019]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7435 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-02 00:27:27 +00:00
naruse
c1b036033b
* ext/nkf/nkf.c: add constant NKF::VERSION
...
* ext/nkf/nkf.c(guess): this becomes an alias of guess2
* ext/nkf/test.rb: add --no-cp932
* ext/nkf/nkf-utf8/nkf.c: original nkf2 revision 1.47
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7434 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-01 22:44:46 +00:00
naruse
32e79507bb
* original nkf2 revision 1.47
...
* mime encode/decode are improved
* --cp932inv turns on as default
* add long name option --cp932 which turns on all CP932 option
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-01 21:12:10 +00:00
naruse
3cf6e46e62
* add constant NKF::VERSION
...
* NKF.guess becomes an alias of NKF.guess2 (based on nkf2)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7432 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-01 21:09:02 +00:00
naruse
6efefe35b3
* add --no-cp932
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7431 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-01 21:07:22 +00:00
eban
d8a85fe9de
* 2004-12-01
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7430 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-01 01:08:16 +00:00
matz
1b4f379ba3
* signal.c (sighandler): call handler immediately only for default
...
handlers. [ruby-dev:25003]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7429 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-30 17:28:17 +00:00
nobu
6f1b13de99
* io.c (pipe_open): errno should be preserved for rb_sys_fail() when
...
fork failed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7428 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-30 14:49:18 +00:00
matz
e6e84eab64
* io.c (io_fread): need not to null terminate. [ruby-dev:24998]
...
* io.c (read_all): remove unnecessary rb_str_resize().
[ruby-dev:24996]
* io.c (io_readpartial): ditto.
* io.c (io_read): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7425 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-30 09:36:39 +00:00
matz
ee6869c8d6
* eval.c (rb_eval): should check previous frame for ZSUPER.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7424 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-30 09:33:50 +00:00
matz
c079ee2bce
* eval.c (PUSH_FRAME): flags should have been initialized.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7423 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-30 06:10:53 +00:00
eban
9556d9333a
* instruby.rb (install): add arguments explicitly to "super".
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7422 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-30 06:01:58 +00:00
matz
38ada9fe87
* eval.c (rb_eval): [ruby-core:03856]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7421 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-30 04:01:17 +00:00
eban
afae182fe2
* 2004-11-30
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7420 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-30 03:09:40 +00:00