eban
4e0703bca8
* 2005-03-25
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8190 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-25 01:56:03 +00:00
eban
54ba9c60da
* 2005-03-24
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8189 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-24 14:14:19 +00:00
nobu
15df6bd4f7
* lib/mkmf.rb (macro_defined?): try to compile for an old compiler
...
which doesn't bail out at #error directive. [ruby-dev:25818]
* lib/mkmf.rb (check_sizeof): refine logging messages.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8188 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-24 14:11:27 +00:00
gotoyuzo
3b6992be67
*** empty log message ***
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8186 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-23 10:09:07 +00:00
eban
28199eeae8
* 2005-03-23
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8185 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-23 07:16:42 +00:00
shugo
1429223686
* parse.y (primary): fix lineno of rescue and ensure.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8184 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-23 07:15:49 +00:00
shugo
93c746f828
* test/ruby/test_settracefunc.rb (test_event): added tests for
...
"class" and "end" and "raise".
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8183 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-22 15:43:27 +00:00
nobu
59120ecccc
* 2005-03-20
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8179 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-20 13:53:19 +00:00
nobu
25012d5420
* lib/mkmf.rb (mkmf_failed): check if Makefile is created without
...
create_makefile.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8178 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-20 13:51:48 +00:00
nobu
116b9027ea
* 2005-03-19
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8177 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-19 14:50:05 +00:00
nobu
f870f12334
* misc/ruby-mode.el (ruby-expr-beg): returned true always.
...
fixed: [ruby-list:40683]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8176 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-19 14:48:35 +00:00
nagai
58bc7420de
* ext/tk/lib/tk/font.rb: add some TkFont class methods to get font
...
information without creating a TkFont object.
* ext/tk/lib/tkextlib/treectrl/tktreectrl.rb: bug fix and define some
classes for components of Tk::TreeCtrl
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8175 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-18 15:43:42 +00:00
eban
7ffe69662b
* 2005-03-18
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8174 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-18 03:17:31 +00:00
eban
cd20570803
* error.c: typo fix.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8173 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-18 03:17:27 +00:00
matz
56b9f4da43
* struct.c (make_struct): allow non local-id field
...
names. [ruby-core:04575]
* struct.c (inspect_struct): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8171 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-17 08:56:36 +00:00
nagai
b547538e68
* ext/tk/lib/tkextlib/treectrl/tktreectrl.rb: call wrong method in
...
Tk::TreeCtrl#*_configinfo and current_*_configinfo method
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8169 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-16 16:23:12 +00:00
eban
f1f87b2613
* 2005-03-17
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8168 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-16 15:20:11 +00:00
shugo
c2de94e6c8
node.h: added a space.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8167 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-16 15:18:02 +00:00
shugo
6697b0a728
* test/ruby/test_settracefunc.rb: added test for c-return.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8166 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-16 14:47:30 +00:00
shugo
9606ff514f
* eval.c (rb_call0): call_cfunc() should be protected.
...
* eval.c (rb_add_event_hook): use K&R style.
* eval.c (rb_remove_event_hook): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8164 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-16 14:02:21 +00:00
shugo
1aeb9b93c2
* eval.c (rb_add_event_hook): new function to add a hook function for
...
interpreter events.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8162 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-16 13:05:46 +00:00
matz
feda16cbd4
* eval.c (rb_call0): reorganize "return" event post.
...
* eval.c (return_jump): no need to post "return" event here.
* object.c (str_to_id): raise ArgumentError for NUL containing
strings.
* parse.y (primary): wrong var node was set for NODE_LAMBDA.
[ruby-core:04555]
* re.c (make_regexp): need to free internal regexp structure when
compilation fails. [ruby-talk:133228]
* parse.y (bv_decl): remove initialize rule from block local
variable declaration.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8160 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-16 09:25:45 +00:00
nagai
4007644d83
* ext/tk/lib/tkextlib/treectrl/tktreectrl.rb: bug fix and suppot
...
TkTreeCtrl-1.1
* ext/tk/lib/tkextlib/SUPPORT_STATUS: change the supported version
of TkTreeCtrl extension
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8159 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-16 09:12:16 +00:00
nobu
ff11efeea7
* ext/stringio/stringio.c: use right arrows.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8158 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-15 15:43:29 +00:00
eban
d3d9bcf460
* 2005-03-16
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8157 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-15 15:43:25 +00:00
nagai
739595c99e
* ext/tk/lib/tkextlib/SUPPORT_STATUS: change the support status of
...
TkImg extension
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8156 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-15 15:41:41 +00:00
nobu
f109834b8c
* error.c (errno_missing): add rdoc.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8155 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-15 14:53:17 +00:00
nobu
52fcd892e7
*** empty log message ***
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8154 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-15 14:52:59 +00:00
nobu
04284b7663
* ext/stringio/stringio.c: add rdoc.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8153 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-15 14:52:59 +00:00
nobu
7881775f3b
* ext/iconv/iconv.c (Init_iconv): InvalidEncoding also should include
...
Iconv::Failure.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8152 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-15 14:50:08 +00:00
nobu
b1d94ab54a
* eval.c (recursive_check, recursive_push): more restrictive check.
...
fixed: [ruby-dev:25916]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8151 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-15 14:12:53 +00:00
nagai
3173befe84
* ext/tk/sample/tkextlib/tkimg/*: Tk::Img extension sample
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8150 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-15 08:22:09 +00:00
eban
09c90d1265
* 2005-03-15
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8149 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-15 08:21:32 +00:00
nagai
17805a51d1
* ext/tk/tkutil/tkutil.c (ary2list): give wrong arguments to hash2kv()
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8148 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-15 07:41:09 +00:00
nagai
289b6bb21b
* ext/tk/lib/tk/timer.rb (TkTimer): forgot to clear @return_value
...
when restarting
* ext/tk/lib/tk/sample/cd_timer.rb: new sample of TkRTTimer
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8146 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-14 10:42:46 +00:00
nagai
e58c2dc6a8
* ext/tk/lib/tk/timer.rb (TkRTTimer): forgot to reset the callback
...
time. So, 'continue' do all callbacks between 'stop' and 'continue'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8145 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-14 03:23:01 +00:00
eban
a00bc63ac3
* 2005-03-14
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8144 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-13 15:21:16 +00:00
nagai
cde3bdf26f
* ext/tk/lib/tk/timer.rb (TkRTTimer): correct calculation of offset
...
value. get a little better accuracy.
* ext/tk/sample/demos-en/widget: use a binding with no local variables
when eval a sample script.
* ext/tk/sample/demos-en/bind.rb: ditto.
* ext/tk/sample/demos-en/tcolor: ditto.
* ext/tk/sample/demos-jp/widget: ditto.
* ext/tk/sample/demos-jp/bind.rb: ditto.
* ext/tk/sample/demos-jp/tcolor: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8143 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-13 15:19:16 +00:00
nobu
28b1db091d
* eval.c (recursive_pop): raise TypeError instead of fatal error.
...
fixed: [ruby-dev:25843]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8142 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-13 13:19:28 +00:00
seki
2bc0405d1c
remove test_gc
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8140 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-13 01:10:24 +00:00
gotoyuzo
7ff4c7c70a
* ext/openssl/ossl_ssl.c (ossl_tmp_dh_callback): should get DH
...
parameter from the current SSL object.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8139 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-12 17:38:37 +00:00
eban
a59c198a12
* 2005-03-13
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8138 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-12 17:17:07 +00:00
gotoyuzo
0d23cc25c2
* ext/openssl/ossl_pkey_dh.c (ossl_create_dh): fix typo.
...
patch from IWATSUKI Hiroyuki. [ruby-dev:25867]
* ext/openssl/ossl_ssl.c (ossl_tmp_dh_callback): ditto.
(ossl_call_tmp_dh_callback): ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8137 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-12 17:15:29 +00:00
eban
726624affd
* 2005-03-10
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8136 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-10 14:15:50 +00:00
nagai
d2a9e77748
* ext/tk/tcltklib.c (lib_eventloop_ensure): mis-delete a timer handler
...
when exit from a recursive called eventloop
* ext/tk/lib/tk/timer.rb: new TkRTTimer class, which can works for a
realtime operation
* ext/tk/sample/tkrttimer.rb: sample of TkRTTimer class
* ext/tk/lib/tk/textmark.rb: move TkTextMark#+ and TkTextMark#- to
TkText::IndexModMethods
* ext/tk/lib/tk/text.rb: improve TkTextMark#+ and TkTextMark#-, and
add them to TkText::IndexModMethods module
* ext/tk/sample/tktextio.rb: add test part of "seek by text index
modifiers"
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8133 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-10 10:13:30 +00:00
akr
7935361d36
* lib/pp.rb (PP::PPMethods#guard_inspect_key): support
...
__recursive_key__. [ruby-dev:25821]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8132 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-09 14:56:16 +00:00
nagai
827a62edd7
* ext/tk/sample/demo-jp/floor.rb: bug on scrollbar assignment
...
* ext/tk/sample/demo-jp/floor2.rb: ditto
* ext/tk/sample/demo-en/floor.rb: ditto
* ext/tk/sample/demo-en/floor2.rb: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8131 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-09 13:57:59 +00:00
gotoyuzo
5505449793
* ext/openssl/ossl_ssl.c: OpenSSL::SSL::SSLContexts suports callbacks:
...
- SSLContext#client_cert_cb is a Proc. it is called when a client
certificate is requested by a server and no certificate was yet
set for the SSLContext. it must return an Array which includes
OpenSSL::X509::Certificate and OpenSSL::PKey::RSA/DSA objects.
- SSLContext#tmp_dh_callback is called in key exchange with DH
algorithm. it must return an OpenSSL::PKey::DH object.
* ext/openssl/ossl_ssl.c:
(ossl_sslctx_set_ciphers): ignore the argument if it's nil.
(ossl_start_ssl, ossl_ssl_write): call rb_sys_fail if errno isn't 0.
[ruby-dev:25831]
* ext/openssl/ossl_pkey.c
(GetPrivPKeyPtr, ossl_pkey_sign): should call rb_funcall first.
(DupPrivPKeyPtr): new function.
* ext/openssl/ossl_pkey_dh.c: add default DH parameters.
* ext/openssl/ossl_pkey.h: ditto.
* ext/openssl/lib/openssl/cipher.rb: fix typo. [ruby-dev:24285]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8129 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-09 10:45:42 +00:00
matz
f43cae2b05
* parse.y (gettable_gen): warns if VCALL name is used as
...
out-of-scope block local variable. [EXPERIMENTAL]
* parse.y (opt_bv_decl): add explicit block local variable
declaration. raises error for name conflicts. [EXPERIMENTAL]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8128 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-09 09:29:52 +00:00
nagai
9ef561b6e0
* ext/tk/sample/tktextio.rb: add show_mode which means that see where
...
when changing file position.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8126 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-09 06:08:33 +00:00