summaryrefslogtreecommitdiffstats
path: root/ext
Commit message (Collapse)AuthorAgeFilesLines
* * ext/tk/sample/tkextlib/treectrl/help.rb: fixed typo. (wrong color)ocean2005-04-072-4/+13
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8274 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/sample/tkextlib/treectrl/*.rb: fixed typo. (wrong itemheight)ocean2005-04-077-24/+88
| | | | | | | | * ext/tk/sample/demos-{en,jp}/goldberg.rb: reduced canvas size. [ruby-dev:25992] (written by Hidetoshi NAGAI) git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8272 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb (extmake): top_srcdir is based from ext directory.nobu2005-04-071-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@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: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@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: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@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: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8251 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk/dialog.rb: fixed typo.ocean2005-04-044-117/+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: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8249 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* This commit was manufactured by cvs2svn to create branch 'ruby_1_8'.(no author)2005-04-041-0/+113
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8248 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: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@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: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@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: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@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: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@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/branches/ruby_1_8@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/branches/ruby_1_8@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/branches/ruby_1_8@8229 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/branches/ruby_1_8@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/branches/ruby_1_8@8222 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in, */Makefile.sub, */configure.bat, cygwin/GNUmakefile.in,nobu2005-03-301-65/+193
| | | | | | | | common.mk, configure.in, ext/extmk.rb, lib/mkmf.rb, instruby.rb, runruby.rb: backport extout. [ruby-dev:25963] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8217 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/ChangeLog.tkextlib: commit miss.nagai2005-03-301-0/+18
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8214 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tcltklib/tcltklib.c: add TclTkIp#_create_console() method tonagai2005-03-3015-418/+553
| | | | | | | | | | | | | create 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/branches/ruby_1_8@8213 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/branches/ruby_1_8@8208 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/rubyext.c: get rid of warnings caused by a bug of VC.nobu2005-03-281-0/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8204 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/branches/ruby_1_8@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/branches/ruby_1_8@8201 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/branches/ruby_1_8@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/branches/ruby_1_8@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/branches/ruby_1_8@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/branches/ruby_1_8@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/branches/ruby_1_8@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/branches/ruby_1_8@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/branches/ruby_1_8@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/branches/ruby_1_8@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/branches/ruby_1_8@8150 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/tkutil.c (ary2list): give wrong arguments to hash2kv()nagai2005-03-151-2/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8147 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/branches/ruby_1_8@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/branches/ruby_1_8@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/branches/ruby_1_8@8143 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tcltklib/tcltklib.c (lib_eventloop_ensure): mis-delete a timernagai2005-03-1033-294/+465
| | | | | | | | | | | | | | | | 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: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* This commit was manufactured by cvs2svn to create branch 'ruby_1_8'.(no author)2005-03-101-0/+68
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8134 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/branches/ruby_1_8@8131 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_ssl.c (ossl_start_ssl, ossl_ssl_write): callgotoyuzo2005-03-092-3/+3
| | | | | | | | | rb_sys_fail if errno isn't 0. [ruby-dev:25831] * ext/openssl/lib/openssl/cipher.rb: fix typo. [ruby-dev:24285] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8130 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/branches/ruby_1_8@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/branches/ruby_1_8@8124 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c: document from Sam Robertsmatz2005-03-081-0/+85
| | | | | | | | | | | <sroberts@uniserve.com> for getsockopt and setsockopt is merged. [ruby-doc:824] * eval.c (block_pass): should not push unique number if a block is not an orphan. [ruby-dev:25808] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8121 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/branches/ruby_1_8@8120 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* This commit was manufactured by cvs2svn to create branch 'ruby_1_8'.(no author)2005-03-081-0/+463
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8118 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.rb: workaround for some of 4.4BSD-Lite derived OSs.usa2005-03-081-0/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8115 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/nkf/nkf-utf8/nkf.c: follow nkf 1.66naruse2005-03-071-8/+19
| | | | | | | fixed: [ruby-dev:25828] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8111 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* bugfix for typealias() in import.rb.ttate2005-03-071-2/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8108 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_ssl.c (ossl_start_ssl, ossl_ssl_read,gotoyuzo2005-03-074-74/+107
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ossl_ssl_write): - need to set errno on Win32 platform. - should call rb_sys_fail instead of rasing SSLError if SSL_ERROR_SYSCALL occured. - should wait for that 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/lib/openssl/buffering.rb (Buffering#initialize): should set @eof and @rbuffer. (Buffering#fill_rbuff): should rescue Errno::EAGAIN. (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#each): fix typo. suggested by Brian Ollenberger. (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/lib/openssl/ssl.rb: set non-blocking flag to the underlying IO. * 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/branches/ruby_1_8@8104 b2dd03c8-39d4-4d8f-98ff-823fe69b080e