summaryrefslogtreecommitdiff
path: root/ext
AgeCommit message (Collapse)Author
2004-09-27merged from HEAD.ttate
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6968 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-09-18* array.c (rb_ary_equal): element size might change duringmatz
comparison. [ruby-dev:24254] * array.c (rb_ary_diff): ditto. [ruby-dev:24274] * array.c (rb_ary_select): ditto. [ruby-dev:24278] * array.c (rb_ary_delete): ditto. [ruby-dev:24283] * array.c (rb_ary_rindex): ditto. [ruby-dev:24275] * array.c (rb_ary_initialize): element size might change during initializing block. [ruby-dev:24284] * dir.c (dir_s_chdir): avoid memory leak and unnecessary chdir to the original directory when exception has caused in changing direcotry or within block. thanks to Johan Holmberg <holmberg@iar.se> [ruby-core:03446] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6922 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-09-17* ext/tk/lib/multi-tk.rb: improve exit operationnagai
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6918 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-09-17* ext/tcltklib/tcltklib.c: fix SEGV when (thread_)vwait or (thread_)tkwaitnagai
* ext/tk/lib/tk.rb: add alias wait_window to wait_destroy * ext/tk/lib/multi-tk.rb: support calling 'mainloop' on slave interpreters (however, the 'real' eventloop must be run on the Default Master IP) * ext/tk/lib/remote-tk.rb: follow the changes of ext/tk/lib/multi-tk.rb * ext/tk/sample/remote-ip_sample2.rb: ditto * ext/tk/sample/tkoptdb-safeTk.rb: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6916 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-09-15* ext/tk/lib/tkoptdb-safeTk.rb: fix a bug depend on the changes of MultiTkIpnagai
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6911 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-09-14* ext/tk/lib/multi-tk.rb: MultiTkIp#eval_string was en-bugged by thenagai
previous changes. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-09-14* ext/tcltklib/tcltklib.c: fix SEGVnagai
* ext/tk/lib/multi-tk.rb: improve safe-level handling of argument proc * ext/tk/sample/multi-ip_sample.rb: rename of old 'safe-tk.rb' * ext/tk/sample/safe-tk.rb: new sample script git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6905 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-09-13* ext/zlib/zlib.c: backported from HEAD.eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6903 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-09-13* ext/tk/lib/multi-tk.rb: MultiTkIp.new_master and new_slave acceptnagai
safe-level value argument git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6899 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-09-12* ext/tcltklib/tcltklib.c: improve control of preserv/release tcltkipnagai
* ext/tcltklib/tcltklib.c: store original 'exit' command * ext/tk/tkutil.c: fix(?) SEGV git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6890 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-09-11* ext/tcltklib/tcltklib.c: add TclTkIp#allow_ruby_exit? and allow_ruby_exit=nagai
* ext/tk/lib/multi-tk.rb: ditto. * ext/tk/lib/remote-tk.rb: ditto. * ext/tcltklib/MANUAL.euc: ditto. * ext/tcltklib/MANUAL.eng: ditto. * ext/tcltklib/tcltklib.c: fix some reasons of SEGV * ext/tk/tkutil.c: ditto. * ext/tk/lib/multi-tk.rb: ditto. * ext/tk/lib/tk/timer.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6884 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-09-10* ext/tcltklib/tcltklib.c (lib_merge_tklist): fix suspiciousocean
pointer conversion. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6881 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-09-09* ext/tcltklib/tcltklib.c (ip_init): change flag value for setting 'argv' ↵nagai
and 'argv0' variable * ext/tk/lib/remote-tk.rb: follow changes of multi-tk.rb git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6876 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-09-08* ext/stringio/stringio.c (strio_write): zero fill a gap if exsts.nobu
[ruby-dev:24190] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6873 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-09-08* ext/tcltklib/tcltklib.c (ip_init): cannot create a IP at level 4nagai
* ext/tk/lib/multi-tk.rb: improve 'exit' operation, security check, and error treatment * ext/tk/lib/multi-tk.rb: allow a trusted slave IP to create slave IPs. * ext/tk/lib/tk/listbox.rb: add TkListbox#value, value=, clear, and erase * ext/tk/lib/tk/text.rb: add TkText#clear and erase git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6871 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-09-06* ext/tk/lib/tk/menu.rb(TkOptionMenubutton#insert): call correct methodocean
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6862 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-09-03* ext/tk/lib/tk.rb: Tk.after makes TkCore::INTERP.tk_cmd_tbl grow ↵nagai
[ruby-dev:24207] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6853 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-09-02* ext/tcltklib/tcltklib.c: fix typo [ruby-talk:111266]nagai
* ext/tk/lib/tk/text.rb: fix typo * ext/tk/lib/multi-tk.rb: improve safe-level treatment on slave IPs git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6852 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-09-02* ext/extmk.rb: already built-in libraries satisfy dependencies.nobu
[ruby-dev:24028] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6850 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-09-01* ext/tk/lib/tk/spinbox.rb: fix typoocean
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6845 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-08-31* ext/tk/tkutil.c (cbsubst_init): fix memory leakocean
* ext/tk/tkutil.c (cbsubst_get_all_subst_keys): fix SEGV git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6843 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-08-31* ext/tcltklib/tcltklib.c (ip_delete): when a tcltkip is deleted, destroy ↵nagai
its root widget git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6842 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-08-31* ext/tcltklib/tcltklib.c (del_root): fix SEGVnagai
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6840 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-08-30* ext/tk/lib/multi-tk.rb: 'restart' method accepts argumentsnagai
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6837 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-08-29* ext/tcltklib/tcltklib.c: compile error on bcc32 [ruby-dev:24081]nagai
* ext/tk/lib/multi-tk.rb: MultiTkIp#eval_string does not work git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6830 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-08-24* ext/openssl/ossl_x509attr.c (ossl_x509attr_initialize): d2igotoyuzo
functions may replace the pointer indicated by the first argument. * ext/openssl/ossl_x509ext.c (ossl_x509ext_initialize): ditto. * ext/openssl/ossl_x509name.c (ossl_x509name_initialize): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6811 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-08-23* ext/openssl/ossl_ssl.c (ossl_ssl_read):gotoyuzo
- should return an empty string if specified length to read is 0. - should check for pending data and wait for fd before reading. - call underlying IO's sysread if SSL session is not started. [ruby-dev:24072], [ruby-dev:24075] * ext/openssl/ossl_ssl.c (ossl_ssl_write): - call underlying IO's syswrite if SSL session is not started. * ext/openssl/ossl_ssl.c (ossl_ssl_pending): new method OpenSSL::SSL#pending. * ext/openssl/lib/openssl/buffering.rb: should not use select. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6809 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-08-20* ext/tcltklib/extconf.rb (find_tcl, find_tk): find stub library.nobu
* lib/mkmf.rb (arg_config, with_config): deal with '-' and '_' uniformly. [ruby-dev:24118] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6802 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-08-19* ext/tk/lib/tk.rb: Fail to treat a hash value of 'font' option.nagai
* ext/tk/lib/tk.rb: bindinfo cannot return '%' substiturion infomation. * ext/tk/lib/menu.rb: typo bug. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6795 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-08-18* ext/syck/token.c: re2c no longer compiled with bit vectors. causedwhy
problems for non-ascii characters. [ruby-core:03280] * ext/syck/implicit.c: ditto. * ext/syck/bytecode.c: ditto. * lib/yaml/baseemitter.rb: folding now handles double-quoted strings, fixed problem with extra line feeds at end of folding, whitespace opening scalar blocks. * lib/yaml/rubytypes.rb: subtelties in handling strings with non-printable characters and odd whitespace patterns. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6789 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-08-18* ext/tcltklib/stubs.c (ruby_tcltk_stubs): need to calleban
Tcl_FindExecutable() for Tcl/Tk 8.4. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6785 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-08-07* lib/implicit.c: added sexagecimal float#base60.why
* ext/syck/rubyext.c (yaml_org_handler): ditto. * lib/token.c: indentation absolutely ignored when processing flow collections. plain scalars are trimmed if indentation follows in an ambiguous flow collection. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6742 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-08-06* ext/zlib/zlib.c: Zlib::GzipReader#read(0) returns "" instead of nil.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6739 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-08-03* ext/tk/lib/tk/namespace.rb: bug fixnagai
* ext/tk/lib/tkextlib/treectrl/tktreectrl.rb: add Tk::TreeCtrl.loupe git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6736 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-08-02* ext/tk/lib/msgcat.rb (set_translation): bug fix (fail to setnagai
trans_str to the same as src_str when trans_str is not given.) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6734 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-30* lib/yaml.rb (YAML::load_file, YAML::parse_file): added.why
* lib/yaml/rubytypes.rb: exceptions were using an older YAML.object_maker. [ruby-core:03080] * ext/syck/token.c (sycklex_yaml_utf8): using newline_len to handline CR-LFs. "\000" was showing up on folded blocks which stopped at EOF. * ext/syck/token.c: re2c compiled with bit vectors now. * ext/syck/implicit.c: ditto. * ext/syck/bytecode.c: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6726 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-30* ext/tcltklib/tcltklib.c(lib_fromUTF8_core): raise ArgumentError whennagai
the unknown encoding name is given. * ext/tcltklib/tcltklib.c(lib_toUTF8_core): ditto. * ext/tk/lib/tk.rb(Tk::Encoding.encoding_convertfrom): bug fix. * ext/tk/lib/tk.rb(Tk::Encoding.encoding_convertto): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6721 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-29* ext/tk/lib/tkextlib/pkg_checker.rb: improve the check processnagai
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6718 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-28* ext/tk/lib/validate.rb: accept a Method object for the validatecommand optionnagai
* ext/tk/lib/tkextlib/winico.rb: add winico extension support git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6713 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-28* for backward compatibility (see [ruby-talk:107510], [ruby-talk:107647])nagai
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6711 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-24* ext/tk/MANIFEST: addedeban
lib/tkextlib/tclx.rb lib/tkextlib/tclx/setup.rb lib/tkextlib/tclx/tclx.rb git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6695 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-23* add TclX extension support (partially)nagai
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-18* TkMsgCatalog.callback: bug fix (wrong number of argument)nagai
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6671 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-17* ext/tk/lib/tk/variable.rb: TkVariable#ref returns a TkVariable objectnagai
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6663 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-16* rename files to avoid application (cvs and so on) troublesnagai
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6654 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-16* ext/tk/lib/tk.rb(module TkObjecct): extend TkCore modulenagai
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6643 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-15* ext/readline/extconf.rb: added dir_config for curses, ncurses,shugo
termcap. (backported from HEAD) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6641 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-15* ext/tk/sample/tkextlib/tktable/spreadsheet.rb: add a new samplenagai
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6633 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-15ext/socket/socket.c (s_recvfrom): remove C++ style comment.eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6631 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-15* ext/tk/, ext/tcltklib/: bug fixnagai
* ext/tk/lib/tk.rb: better operation for SIGINT when processing callbacks. * ext/tk/lib/tk/msgcat.rb: ditto. * ext/tk/lib/tk/variable.rb: ditto. * ext/tk/lib/tk/timer.rb: ditto. * ext/tk/lib/tk/validation.rb: add Tk::ValidateConfigure.__def_validcmd() to define validatecommand methods easier * ext/tk/lib/tk.rb (_genobj_for_tkwidget): support autoload Tk ext classes * ext/tk/lib/tk/canvas.rb and so on: remove the parent widget type check for items (e.g. canvas items; depends on the class) to avoid some troubles on Tk extension widget class definition. * ext/tk/lib/tkextlib/: add Iwidget and TkTable extension support * ext/tk/sample/tkextlib/: add samples of Iwidget and TkTable git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6630 b2dd03c8-39d4-4d8f-98ff-823fe69b080e