summaryrefslogtreecommitdiffstats
path: root/ext
Commit message (Collapse)AuthorAgeFilesLines
...
* * lib/tkextlib/blt/component.rb: bug fix on treatment ofnagai2005-04-013-79/+2387
| | | | | | | | component objects. * sample/tkextlib/blt/graph6.rb: a new sample script. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8234 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/sample/tkextlib/treectrl/demo.rb: should use Hash#index.ocean2005-03-312-3/+6
| | | | | | | | | * ext/tk/sample/tkextlib/treectrl/demo.rb: TkImage was not cached properly. * ext/tk/sample/tkextlib/treectrl/random.rb: fixed typo. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8233 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sample/tkextlib/iwidgets/sample/hierarchy.rb: show basenamenagai2005-03-315-10/+63
| | | | | | | | | | | | only [ruby-dev:25970] * sample/tkextlib/treectrl/demo.rb: add check for existence of 'backgroundimage' option. * sample/tkextlib/treectrl/bitmaps.rb: ditto. * sample/tkextlib/treectrl/outlook-newgroup.rb: lack of '%I' event callback argument. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8231 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_engine.c (ossl_engine_s_load): should returngotoyuzo2005-03-311-2/+6
| | | | | | | value. [ruby-dev:25971] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8228 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_engine.c (ossl_engine_s_load): should not raisegotoyuzo2005-03-301-1/+1
| | | | | | | | error even if the specified engine could not be loaded. (Dynamic engines don't have fixed name to load.) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8223 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sample/tkextlib/iwidgets/sample/hierarchy.rb: fail to treatnagai2005-03-302-4/+9
| | | | | | | Japanese (i18n?) filenames. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8222 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/tcltklib.c: add TclTkIp#_create_console() method to createnagai2005-03-3016-418/+571
| | | | | | | | | | | | | a Tcl/Tk's console window. * ext/tk/lib/multi-tk.rb: support TclTkIp#_create_console() method. * ext/tk/lib/remote-tk.rb: ditto. * ext/tk/lib/tk/console.rb: ditto. * ext/tk/lib/tk.rb: update RELEASE_DATE * ext/tk/sample/demo-*/check2.rb: use 'return' in the Proc object. * ext/tk/sample/tkextlib/**: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8212 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/tkextlib/blt/component.rb: cannot create elements exceptnagai2005-03-299-48/+537
| | | | | | | | | | | | | | default type of element. * lib/tkextlib/blt/barchart.rb: ditto. * lib/tkextlib/blt/graph.rb: ditto. * lib/tkextlib/blt/stripchart.rb: ditto. * lib/tkextlib/blt/component.rb: axis command option gets proper object type of arguments. * sample/tkextlib/blt/calendar.rb: new sample. * sample/tkextlib/blt/pareto.rb: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8208 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb (extract_makefile): nothing to be removed when no filenobu2005-03-281-3/+6
| | | | | | | | | was deleted. * ext/extmk.rb (extmake): restore srcdir. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8205 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tkextlib/iwidgets/notebook.rb: fixed typo.ocean2005-03-281-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8203 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/iconv/iconv.c (iconv_create): Iconv::Failure requires 3nobu2005-03-271-7/+10
| | | | | | | arguments. (pointed out by NaHi) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8201 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* added as binary (from ruby_1_8)ocean2005-03-273-0/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8200 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* removed temporalyocean2005-03-273-0/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8199 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk.rb (_callback_entry_class?): add for checking whethernagai2005-03-2694-208/+5854
| | | | | | | | | | | | | | | | | | | | | | | | | | | a class is available for a callback entry. * ext/tk/lib/tk.rb (after_cancel): add Tk.after_cancel(afterID) method. * ext/tk/lib/tk.rb (array2tk_list): change from private module method of TkComm to public module method. * ext/tk/lib/tk.rb (cget): add check that slot argument is not empty string. * ext/tk/lib/tk.rb (configinfo): ditto. * ext/tk/lib/tk/itemconfig.rb (itemcget): add check that slot argument is not empty string. * ext/tk/lib/tk/itemconfig.rb (itemconfiginfo): ditto. * ext/tk/lib/tk/entry.rb: add TkEntry#icursor and icursor= (alias of cursor and cursor= method). * ext/tk/lib/tk/font.rb: improve font treatment when the font name is empty string. * ext/tk/lib/tk/variable.rb: add :variable, :window and :procedure type. * ext/tk/lib/tk/variable.rb: improve treatment of array-type tkvariable. * ext/tk/lib/tkextlib/blt.rb: add commands for zooming. * ext/tk/lib/tkextlib/blt/*: bug fix. * ext/tk/lib/tkextlib/treectrl/tktreectrl.rb: bug fix and add methods to call TreeCtrl commands for bindings. * ext/tk/sample/tkextlib/blt/*: new sample scritps. * ext/tk/sample/tkextlib/treectrl/*: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8195 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk/font.rb: add some TkFont class methods to get fontnagai2005-03-184-434/+1286
| | | | | | | | | 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: http://svn.ruby-lang.org/repos/ruby/trunk@8175 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tkextlib/treectrl/tktreectrl.rb: call wrong method innagai2005-03-162-27/+32
| | | | | | | Tk::TreeCtrl#*_configinfo and current_*_configinfo method git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8169 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tkextlib/treectrl/tktreectrl.rb: bug fix and suppotnagai2005-03-163-87/+257
| | | | | | | | | TkTreeCtrl-1.1 * ext/tk/lib/tkextlib/SUPPORT_STATUS: change the supported version of TkTreeCtrl extension git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8159 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/stringio/stringio.c: use right arrows.nobu2005-03-151-16/+16
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8158 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tkextlib/SUPPORT_STATUS: change the support status ofnagai2005-03-151-2/+2
| | | | | | | TkImg extension git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8156 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/stringio/stringio.c: add rdoc.nobu2005-03-151-0/+284
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8153 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/iconv/iconv.c (Init_iconv): InvalidEncoding also should includenobu2005-03-151-43/+36
| | | | | | | Iconv::Failure. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8152 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/sample/tkextlib/tkimg/*: Tk::Img extension samplenagai2005-03-153-0/+1522
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8150 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/tkutil/tkutil.c (ary2list): give wrong arguments to hash2kv()nagai2005-03-151-2/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8148 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk/timer.rb (TkTimer): forgot to clear @return_valuenagai2005-03-142-0/+82
| | | | | | | | when restarting * ext/tk/lib/tk/sample/cd_timer.rb: new sample of TkRTTimer git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8146 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk/timer.rb (TkRTTimer): forgot to reset the callbacknagai2005-03-142-1/+8
| | | | | | | time. So, 'continue' do all callbacks between 'stop' and 'continue'. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8145 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk/timer.rb (TkRTTimer): correct calculation of offsetnagai2005-03-138-49/+169
| | | | | | | | | | | | | | 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: http://svn.ruby-lang.org/repos/ruby/trunk@8143 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_ssl.c (ossl_tmp_dh_callback): should get DHgotoyuzo2005-03-121-2/+2
| | | | | | | parameter from the current SSL object. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8139 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_pkey_dh.c (ossl_create_dh): fix typo.gotoyuzo2005-03-122-4/+4
| | | | | | | | | | 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: http://svn.ruby-lang.org/repos/ruby/trunk@8137 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/tcltklib.c (lib_eventloop_ensure): mis-delete a timer handlernagai2005-03-1034-292/+531
| | | | | | | | | | | | | | | | 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: http://svn.ruby-lang.org/repos/ruby/trunk@8133 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/sample/demo-jp/floor.rb: bug on scrollbar assignmentnagai2005-03-094-8/+8
| | | | | | | | | * 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: http://svn.ruby-lang.org/repos/ruby/trunk@8131 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_ssl.c: OpenSSL::SSL::SSLContexts suports callbacks:gotoyuzo2005-03-095-39/+238
| | | | | | | | | | | | | | | | | | | | | | | | | | | - 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: http://svn.ruby-lang.org/repos/ruby/trunk@8129 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (gettable_gen): warns if VCALL name is used asmatz2005-03-095-8/+93
| | | | | | | | | | 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: http://svn.ruby-lang.org/repos/ruby/trunk@8128 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/sample/tktextio.rb: add show_mode which means that see wherenagai2005-03-091-2/+64
| | | | | | | when changing file position. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8126 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/sample/tktextio.rb: fix bug of handling 'end' position.nagai2005-03-091-27/+79
| | | | | | | support initial text, overwrite setting and pos_gravity control. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8124 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* changed the spec of CPtr#[]/[]= to suit String#[]/[]=.ttate2005-03-082-7/+37
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8123 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* minor bugfix.ttate2005-03-081-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8122 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/sample/tktextio.rb: add commentnagai2005-03-081-2/+10
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8120 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/sample/tktextio.rb: New sample script. TkTextIO class in thisnagai2005-03-081-0/+463
| | | | | | | | sample supports to use a text widget as if it is a I/O stream (such like as StringIO class). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8117 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/mkconstants.rb: workaround for some of 4.4BSD-Liteusa2005-03-081-0/+3
| | | | | | | derived OSs. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8114 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/nkf/nkf-utf8/nkf.c: follow nkf 1.66naruse2005-03-071-1/+2
| | | | | | | fixed: [ruby-dev:25828] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8109 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_ssl.c (ssl_get_error): typo.usa2005-03-071-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8101 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_ssl.c (ossl_start_ssl, ossl_ssl_read,usa2005-03-071-3/+9
| | | | | | | ossl_ssl_write): need to set errno on Win32 platform. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8100 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/lib/openssl/buffering.rb (Buffering#initialize):gotoyuzo2005-03-071-10/+6
| | | | | | | should set @eof and @rbuffer. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8099 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/tkutil/tkutil.c: follow the change of st.c (committed at Fri,nagai2005-03-061-57/+1
| | | | | | | 4 Mar 2005 15:47:47 +0900 by matz) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8094 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/tcltklib.c: fail to call TclTkLib.mainloop when $SAFE==4nagai2005-03-061-0/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8091 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tkextlib/SUPPORT_STATUS: add version info of Tcl/Tk extensionsnagai2005-03-061-57/+65
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8082 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_ssl.c (ossl_start_ssl): should wait for thatgotoyuzo2005-03-053-61/+77
| | | | | | | | | | | | | | | | | | | | | | | | | | | | the underlying IO become readable or writable if the error was SSL_ERROR_WANT_READ or SSL_ERROR_WANT_WRITE. [ruby-dev:25795] * ext/openssl/ossl_ssl.c (ossl_ssl_read, ossl_ssl_write): ditto. * ext/openssl/lib/openssl/buffering.rb (Buffering#consume_rbuf): pointless eof flag resetting is deleted. (Buffering#read): should return an empty string if the specified size is zero. (Buffering#readpartial): new method. (Buffering#readline): fix typo. (Buffering#getc): return the first character of string correctly. (Buffering#readchar): fix typo. (Buffering#eof?): should read again it the input buffer is empty. (Buffering#do_write): should rescue Errno::EAGAIN. (Buffering#puts): use "\n" as the output field separator. * ext/openssl/extconf.rb: get rid of GNUmakefile generation. * text/openssl/test_pair.rb: test for IO like methods. * test/ruby/ut_eof.rb: test about empty file. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8081 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/nkf/nkf-utf8/nkf.c: follow nkf 1.65naruse2005-03-051-7/+17
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8077 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tkextlib/tile.rb: lack of "autoload TProgressbar"nagai2005-03-052-0/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8076 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/multi-tk.rb: freeze callback-entry objectsnagai2005-03-0519-63/+544
| | | | | | | * ext/tk/lib/tkextlib/tile.rb: support tile-0.6 git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8075 b2dd03c8-39d4-4d8f-98ff-823fe69b080e