aboutsummaryrefslogtreecommitdiffstats
path: root/ext
Commit message (Collapse)AuthorAgeFilesLines
* * sample/tkextlib/treectrl/*.rb: fixed typo. (wrong itemheight)ocean2005-04-077-24/+92
| | | | | | | | * sample/demos-{en,jp}/goldberg.rb: reduced canvas size. [ruby-dev:25992] (written by Hidetoshi NAGAI) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8270 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb (extmake): top_srcdir is based from ext directory.nobu2005-04-071-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8267 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb (extmake): keep directory names in Makefile as macros.nobu2005-04-071-3/+10
| | | | | | | | | * lib/mkmf.rb (configuration, create_makefile): ditto. * lib/mkmf.rb (CXX_EXT): separate C++ extensions. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8266 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/treectrl/tktreectrl.rb: performance tuning. (call tk_send_without_encocean2005-04-0711-76/+110
| | | | | | | | | | if possible) * sample/tkextlib/treectrl/*.rb: some speed up... cache the result of version checking. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8265 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk.rb (TkComm#array2tk_list): accept enc-mode argument toocean2005-04-042-13/+13
| | | | | | | | | | | decide whether convert encoding of each element or not. * ext/tk/lib/tk/variable.rb (TkVariable#value=): fail to convert the encoding of array elements when assign an array to an TkVariable object. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8251 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk/dialog.rb: fixed typo.ocean2005-04-044-4/+15
| | | | | | | | | * ext/tk/lib/tkextlib/tktable/tktable.rb: added Tk::TkTable#selection_present. * ext/tk/sample/tkextlib/vu/dial_demo.rb: renamed as well as vu_demo.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk.rb: forgot to update RELEASE_DATEnagai2005-04-028-23/+112
| | | | | | | | | | | | | | * ext/tk/lib/tk/variable.rb: fix namespace trouble when autoloading * ext/tk/lib/tk/palette.rb: define Tcl variable 'tkPalette' as global * ext/tk/lib/tk/dialog.rb: use array2tk_list method when calling Tk.ip_eval. * ext/tk/lib/tk/autoload.rb: add autoload entry 'TkDialogObj' and 'TkWarningObj' * ext/tk/lib/tkextlib/treectrl/tktreectrl.rb: support TreeCtrl's cvs head. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8239 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk.rb (TkWindow.initialize): accept 'without_creating'nagai2005-04-017-114/+221
| | | | | | | | | | option without 'widgetname' option to allow creating a widget object which is used as an argument of Tcl/Tk's widget allocation commands. * ext/tk/lib/tk/image.rb (TkImage.initialize): accept 'imagename' option to create a image object by the given name. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8237 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/ChangeLog.tkextlib: add log of the modification bynagai2005-04-012-2/+22
| | | | | | | | | ocean <ocean@ruby-lang.org>. * ext/tk/sample/tkextlib/treectrl/demo.rb: bridge the gap of Hash#index or Hash#key between ruby 1.8 and 1.9 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8236 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/ruby/trunk@8201 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* added as binary (from ruby_1_8)ocean2005-03-273-0/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8200 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* removed temporalyocean2005-03-273-0/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/ruby/trunk@8159 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/stringio/stringio.c: use right arrows.nobu2005-03-151-16/+16
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/ruby/trunk@8156 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/stringio/stringio.c: add rdoc.nobu2005-03-151-0/+284
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/ruby/trunk@8152 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/sample/tkextlib/tkimg/*: Tk::Img extension samplenagai2005-03-153-0/+1522
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/ruby/trunk@8124 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* changed the spec of CPtr#[]/[]= to suit String#[]/[]=.ttate2005-03-082-7/+37
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8123 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* minor bugfix.ttate2005-03-081-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8122 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/sample/tktextio.rb: add commentnagai2005-03-081-2/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/ruby/trunk@8101 b2dd03c8-39d4-4d8f-98ff-823fe69b080e