usa
bfb31fdd22
* 2004-12-09
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7514 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-09 00:09:55 +00:00
nagai
3e75f9b513
* ext/tk/ChangeLog.tkextlib: forgot to commit
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7513 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-08 18:19:53 +00:00
nagai
b9bdee95f1
* ext/tcltklib/tcltklib.c (ip_init): set root-win title to "ruby" when
...
the running script is '-e one-liner' or '-' (stdin).
* ext/tcltklib/extconf.rb: add find_library("#{lib}#{ver}",..) for stub libs
* ext/tk/lib/tk/textmark.rb: TkTextMarkCurrent and TkTextMarkAnchor
have a wrong parent class.
* ext/tk/lib/tk/dialog.rb: rename TkDialog2 --> TkDialogObj and
TkWarning2 --> TkWarningObj (old names are changed to alias names)
* ext/tk/lib/tk/dialog.rb: bug fix of treatment of 'prev_command'
option and hashes for configuration
* ext/tk/lib/tk/dialog.rb: add TkDialogObj#name to return the button name
* ext/tk/lib/tk/radiobutton.rb: rename enbugged method value() ==> get_value()
and value=(val) ==> set_value(val).
* ext/tk/lib/tk/menu.rb: add TkMenu.new_menuspec
* ext/tk/lib/tk/menu.rb: add alias (TkMenuButton = TkMenubutton,
TkOptionMenuButton = TkOptionMenubutton)
* ext/tk/lib/tk/event.rb: new method aliases (same as option keys of
event_generate) for Event object
* ext/tk/lib/tk/font.rb: configinfo returns proper types of values
* ext/tk/lib/tk.rb: bind methods accept subst_args + block
* ext/tk/lib/tk/canvas.rb: ditto
* ext/tk/lib/tk/canvastag.rb: ditto
* ext/tk/lib/tk/frame.rb: ditto
* ext/tk/lib/tk/text.rb: ditto
* ext/tk/lib/tk/texttag.rb: ditto
* ext/tk/lib/tk/toplevel.rb: ditto
* ext/tk/lib/tkextlib/*: ditto and bug fix
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-08 18:14:15 +00:00
dave
642e10156c
Fix CSS typo that meant h2 headings were invisible
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7511 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-08 14:56:55 +00:00
akr
78f7b7036b
* rubyio.h, io.c, ext/dl/dl.c, ext/pty/pty.c, ext/socket/socket.c:
...
create FILE object only when required: popen(3) and DL's IO#to_ptr.
[ruby-dev:25122]
* io.c (rb_io_binmode): use setmode for Human68k. [ruby-dev:25121]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7510 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-08 13:26:27 +00:00
eban
19f57ce144
* process.c (rb_spawn): support for DJGPP.
...
* lib/mkmf.rb (VPATH): specify the implicit path separator for DJGPP.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7507 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-08 11:14:53 +00:00
usa
3f56463129
* win32/win32.c (rb_w32_pipe_exec): need to close original socket
...
handle.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7506 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-08 08:38:59 +00:00
matz
a0b3060708
* sprintf.c (rb_f_sprintf): [ruby-dev:25104]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7503 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-08 05:32:26 +00:00
usa
87a77c7174
* win32/win32.c (rb_w32_pipe_exec): must close original handle
...
before exec. fixed: [ruby-dev:25112]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7502 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-08 04:56:07 +00:00
usa
bc4088d768
* win32/win32.c (rb_w32_fclose, rb_w32_close): shutdown socket
...
before closesocket(). fixed: [ruby-dev:25112]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-08 02:54:24 +00:00
nobu
e41a1c0f10
* parse.y (string_content): get rid of segfault at empty evstr.
...
fixed: [ruby-dev:25113]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-08 02:46:39 +00:00
nobu
ec8d7f3672
* test/socket/test_tcp.rb (TestTCPSocket#test_recvfrom): merged worker threads.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7499 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-07 23:35:18 +00:00
gotoyuzo
25a637eff5
* ext/openssl/ossl_bio.c (ossl_obj2bio): should not use fptr->f.
...
[ruby-dev:25101]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7498 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-07 18:34:29 +00:00
nobu
bebc2eb8c7
* runruby.rb: prepend LIBRUBY_SO to LD_PRELOAD as well as rubytest.rb.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7497 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-07 18:26:46 +00:00
nobu
807a93be08
* test/io/nonblock/test_flush.rb (TestIONonblock#test_flush): write
...
operation ignores EAGAIN.
* test/ruby/test_super.rb (TestSuper#test_define_method): test for
super from proc. [ruby-core:03856]
* test/socket/test_tcp.rb (TestTCPSocket#test_recvfrom): make
execution order more precise.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7496 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-07 18:26:12 +00:00
usa
d5b434088a
* win32/win32.c (is_socket): reorder of function definitions.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7495 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-07 16:36:29 +00:00
eban
44dc05e55f
* 2004-12-08
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7494 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-07 15:48:40 +00:00
usa
c3ce319d7d
* io.c (pipe_open): win32 bidirectional pipe support.
...
* win32/win32.[ch] (rb_w32_pipe_exec): ditto.
* win32/win32.[ch] (socketpair): new function. POSIX socketpair
emulation.
* win32/win32.c (socketpair_internal): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7493 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-07 15:47:59 +00:00
kou
6100eced2e
* test/rss/test_version.rb: added version check test. [ruby-dev:25053]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7492 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-07 15:27:01 +00:00
akr
a435e52259
* io.c (io_fwrite): avoid context switch before writing to stderr.
...
[ruby-dev:25080]
* rubyio.h: refine deprecated declaration.
* configure.in, file.c, io.c: remove useless check: fseeko, etc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7490 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-07 06:44:42 +00:00
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