summaryrefslogtreecommitdiffstats
path: root/ext
Commit message (Collapse)AuthorAgeFilesLines
* * 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
* * ext/tk/tkutil.c: remove the some codes which depend on thenagai2005-03-061-57/+1
| | | | | | | | defference between Ruby1.8 and 1.9, because st.c on Ruby1.9 was changed. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8095 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tcltklib/tcltklib.c: fail to call TclTkLib.mainloop when $SAFE==4nagai2005-03-061-0/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8092 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/branches/ruby_1_8@8082 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/branches/ruby_1_8@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/branches/ruby_1_8@8075 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/parsers/parse_c.rb (RDoc::C_Parser#do_includes): replacenobu2005-03-042-12/+33
| | | | | | | | | | | also locally defined modules. * ext/iconv/iconv.c: backport Iconv::InvalidEncoding from CVS HEAD. * ext/strscan/strscan.c: moved misplaced rdoc. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8070 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tcltklib/tcltklib.c (ip_rbUpdateCommand, ip_rb_threadUpdateCommand):nagai2005-03-041-2/+2
| | | | | | | get rid of warnings with Tcl/Tk 8.3 or former (backport from CVS HEAD). git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8066 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/nkf/nkf-utf8/nkf.c: follow nkf 1.63naruse2005-03-031-1/+8
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8063 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/nkf/nkf-utf8/nkf.c: follow nkf 1.62naruse2005-03-031-147/+511
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8062 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb (parse_args): add DESTDIR only when not directednobu2005-03-021-1/+8
| | | | | | | already. fixed: [ruby-dev:25781] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8053 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tcltklib/tcltklib.c (lib_eventloop_core): fix typonagai2005-03-021-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8052 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tcltklib/tcltklib.c: enforce thread-check and exception-handling tonagai2005-03-0216-667/+2957
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | avoid SEGV trouble. [KNOWN BUG] When supports pthread and running multiple Tk interpreters, an interrupt signal causes SEGV frequently. That may be a trouble of Ruby's signal handler. * ext/tk/tkutil/tkutil.c; fix a bug on converting a SJIS string array to a Tcl's list string. * ext/tk/tcltklib.c: wrap Tcl's original "namespace" command to protect from namespace crash. * ext/tk/lib/multi-tk.rb: enforce exception-handling. * ext/tk/lib/multi-tk.rb: catch IRB_EXIT to work on irb. * ext/tk/lib/tk.rb: ditto. * ext/tk/tcltklib.c: add TclTkLib.mainloop_thread? * ext/tk/lib/multi-tk.rb: (bug fix) callback returns a value. * ext/tk/lib/tk/canvas.rb (delete): bug fix when multiple arguments. * ext/tk/lib/clock.rb: fix 'no method error'. * ext/tk/lib/clock.rb (self.clicks): accept a Symbol argument. * ext/tk/lib/variable.rb: be able to set default_value_type; :numeric, :bool, :string, :symbol, :list, :numlist or nil (default; same to :string). If set a type, TkVariable#value returns a value of the type. * ext/tk/lib/tkextlib/tclx/tclx.rb: add Tk::TclX.signal to warn the risk of using TclX extension's 'signal' command. * ext/tk/sample/irbtk.rb: irb with Ruby/Tk. * ext/tk/sample/demos-*/anilabel.rb: bug fix on 'show code' * ext/tk/sample/demos-*/aniwave.rb: new Ruby/Tk animation demo. * ext/tk/sample/demos-*/pendulum.rb: ditto. * ext/tk/sample/demos-*/goldberg.rb: ditto. * ext/tk/sample/demos-*/widget: add entries of animation demos. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8048 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* This commit was manufactured by cvs2svn to create branch 'ruby_1_8'.(no author)2005-03-028-0/+4654
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8047 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * exception error messages updated. [ruby-core:04497]matz2005-02-2811-80/+80
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8035 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c (Init_socket): add bunch of Socketmatz2005-02-281-0/+252
| | | | | | | | constants. Patch from Sam Roberts <sroberts@uniserve.com>. [ruby-core:04409] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8033 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * {bcc32,win32,wince}/Makefile.sub (config.h): add fcntl.usa2005-02-211-7/+45
| | | | | | | | | | | | | | * win32/win32.[ch] (fcntl): ditto. * win32/win32.c (rb_w32_connect): support nonblocking mode. * ext/socket/socket.c (wait_connectable, ruby_connect): support nonblocking connect on various platforms. all changes are backported from CVS HEAD. [ruby-core:3154], [ruby-core:4364]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8005 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/bigdecimal/sample/linear.rb: resolve LoadError.ocean2005-02-183-40/+2
| | | | | | | | | | * ext/bigdecimal/sample/nlsolve.rb: ditto. * ext/bigdecimal/lib/bigdecimal/nlsolve.rb: removed because this file is sample script and same file exists in ext/bigdecimal/sample. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7996 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bigdecimal/newton.rb: resolve LoadError.ocean2005-02-182-3/+3
| | | | | | | * bigdecimal/nlsolve.rb: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7994 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/tkutil.c: Follow the change of st.c (st_foreach)nagai2005-02-161-44/+46
| | | | | | | | | [ruby-list:40623]. Sometimes mis-convert from a Ruby's Array of SJIS Strings, which includes some kind of SJIS characters, to a Tcl's UTF8 list string. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7978 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * cancel [ruby-dev:25699], which is for 1.9.matz2005-02-161-6/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7975 b2dd03c8-39d4-4d8f-98ff-823fe69b080e