nagai
a727cf52cc
* ext/tk/lib/tk.rb: add Tk.errorInfo and Tk.errorCode
...
* ext/tk/lib/tkextlib/bwidget.rb: bug fix
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7006 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-06 16:08:45 +00:00
nagai
fdc662cc20
* ext/tk/lib/tk/image.rb: bug fix
...
* ext/tk/lib/tk/optiondb.rb: support definition of command resources on widgets
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6993 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-04 03:56:00 +00:00
matz
6f9dcadf6e
* string.c (rb_str_sum): check was done with false pointer.
...
[ruby-dev:24383]
* string.c (rb_str_sum): string may be altered. [ruby-dev:24381]
* eval.c (rb_f_eval): defer pointer retrieval to prevent unsafe
sourcefile string modification. [ruby-dev:24373]
* io.c (io_read): block string buffer modification during
rb_io_fread() by freezing it temporarily. [ruby-dev:24366]
* io.c (rb_io_s_popen): mode argument may be altered.
[ruby-dev:24375]
* file.c (rb_file_s_basename): ext argument may be altered.
[ruby-dev:24377]
* enum.c (enum_sort_by): use NODE instead of 2 element arrays.
[ruby-dev:24378]
* string.c (rb_str_chomp_bang): StringValue() may change the
receiver. [ruby-dev:24371]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6979 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-02 03:50:53 +00:00
nagai
d57bbd48f8
* ext/tk/lib/tk/grid.rb: revive TkGrid.grid
...
* ext/tk/lib/tk/pack.rb: revive TkPack.pack
* ext/tk/lib/tk/place.rb: revive TkPlace.place
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6975 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-01 02:27:03 +00:00
nagai
ffb051a4ec
* ext/tcltklib/tcltklib.c (ip_init): bug fix
...
* ext/tk/tkutil.c (get_eval_string_core): accept a Regexp object
* ext/tk/lib/multi-tk.rb: fix bug on 'exit' operation
* ext/tk/lib/tk/text.rb: 'tksearch' accepts a Regexp object as a
matting pattern argument
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6973 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-09-29 15:54:32 +00:00
ttate
f5df3fcb1e
merged from HEAD.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6968 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-09-27 15:29:28 +00:00
matz
de5a85496a
* array.c (rb_ary_equal): element size might change during
...
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-18 06:56:38 +00:00
nagai
a9dc36c94f
* ext/tk/lib/multi-tk.rb: improve exit operation
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6918 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-09-17 07:09:28 +00:00
nagai
5e11639266
* ext/tcltklib/tcltklib.c: fix SEGV when (thread_)vwait or (thread_)tkwait
...
* 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-17 06:05:33 +00:00
nagai
c350977341
* ext/tk/lib/tkoptdb-safeTk.rb: fix a bug depend on the changes of MultiTkIp
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6911 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-09-15 11:24:22 +00:00
nagai
72a8e9ff8c
* ext/tk/lib/multi-tk.rb: MultiTkIp#eval_string was en-bugged by the
...
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 14:59:04 +00:00
nagai
e02f79dfe9
* ext/tcltklib/tcltklib.c: fix SEGV
...
* 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-14 08:01:55 +00:00
eban
a86bc610dc
* ext/zlib/zlib.c: backported from HEAD.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6903 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-09-13 15:16:10 +00:00
nagai
d5188667bc
* ext/tk/lib/multi-tk.rb: MultiTkIp.new_master and new_slave accept
...
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-13 07:25:02 +00:00
nagai
3464b6c755
* ext/tcltklib/tcltklib.c: improve control of preserv/release tcltkip
...
* 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-12 16:05:59 +00:00
nagai
a821833bb3
* ext/tcltklib/tcltklib.c: add TclTkIp#allow_ruby_exit? and allow_ruby_exit=
...
* 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-11 17:45:53 +00:00
ocean
3dc173c1e9
* ext/tcltklib/tcltklib.c (lib_merge_tklist): fix suspicious
...
pointer conversion.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6881 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-09-10 11:22:31 +00:00
nagai
a4273db675
* ext/tcltklib/tcltklib.c (ip_init): change flag value for setting 'argv' 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-09 05:03:21 +00:00
nobu
7b1be71bf0
* ext/stringio/stringio.c (strio_write): zero fill a gap if exsts.
...
[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 09:44:46 +00:00
nagai
4350f22000
* ext/tcltklib/tcltklib.c (ip_init): cannot create a IP at level 4
...
* 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-08 06:23:41 +00:00
ocean
a586290841
* ext/tk/lib/tk/menu.rb(TkOptionMenubutton#insert): call correct method
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6862 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-09-06 02:10:15 +00:00
nagai
c5f07b3cbc
* ext/tk/lib/tk.rb: Tk.after makes TkCore::INTERP.tk_cmd_tbl grow [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-03 02:33:08 +00:00
nagai
b609f925a3
* ext/tcltklib/tcltklib.c: fix typo [ruby-talk:111266]
...
* 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 17:17:20 +00:00
nobu
798287493e
* ext/extmk.rb: already built-in libraries satisfy dependencies.
...
[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-02 16:54:53 +00:00
ocean
47f3d6efbb
* ext/tk/lib/tk/spinbox.rb: fix typo
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6845 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-09-01 12:27:43 +00:00
ocean
fa92ef32b7
* ext/tk/tkutil.c (cbsubst_init): fix memory leak
...
* 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 09:24:36 +00:00
nagai
177fdc1f59
* ext/tcltklib/tcltklib.c (ip_delete): when a tcltkip is deleted, destroy 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 07:09:49 +00:00
nagai
c8fa16c815
* ext/tcltklib/tcltklib.c (del_root): fix SEGV
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6840 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-08-31 03:32:33 +00:00
nagai
bf5fde05a1
* ext/tk/lib/multi-tk.rb: 'restart' method accepts arguments
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6837 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-08-30 13:42:19 +00:00
nagai
5272c137f5
* ext/tcltklib/tcltklib.c: compile error on bcc32 [ruby-dev:24081]
...
* 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-29 05:12:00 +00:00
gotoyuzo
4e5fbd0b8a
* ext/openssl/ossl_x509attr.c (ossl_x509attr_initialize): d2i
...
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-24 00:09:47 +00:00
gotoyuzo
c0309bdb02
* ext/openssl/ossl_ssl.c (ossl_ssl_read):
...
- 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-23 05:06:17 +00:00
nobu
006a0fb61b
* ext/tcltklib/extconf.rb (find_tcl, find_tk): find stub library.
...
* 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-20 21:42:21 +00:00
nagai
87fb86bbb3
* ext/tk/lib/tk.rb: Fail to treat a hash value of 'font' option.
...
* 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-19 07:43:54 +00:00
why
e1f2cdb6a5
* ext/syck/token.c: re2c no longer compiled with bit vectors. caused
...
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 20:54:40 +00:00
eban
ff9782cfc9
* ext/tcltklib/stubs.c (ruby_tcltk_stubs): need to call
...
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-18 08:14:54 +00:00
why
7096955908
* lib/implicit.c: added sexagecimal float#base60.
...
* 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-07 15:40:47 +00:00
akr
64b5aa53e2
* ext/zlib/zlib.c: Zlib::GzipReader#read(0) returns "" instead of nil.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6739 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-08-06 16:01:02 +00:00
nagai
ecb66fb4f3
* ext/tk/lib/tk/namespace.rb: bug fix
...
* 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-03 04:49:20 +00:00
nagai
a1f90c18c1
* ext/tk/lib/msgcat.rb (set_translation): bug fix (fail to set
...
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-08-02 09:06:18 +00:00
why
a2523332ce
* lib/yaml.rb (YAML::load_file, YAML::parse_file): added.
...
* 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 20:38:41 +00:00
nagai
d6f13c158d
* ext/tcltklib/tcltklib.c(lib_fromUTF8_core): raise ArgumentError when
...
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-30 07:13:55 +00:00
nagai
421a9d0919
* ext/tk/lib/tkextlib/pkg_checker.rb: improve the check process
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6718 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-29 03:09:38 +00:00
nagai
39c094c12f
* ext/tk/lib/validate.rb: accept a Method object for the validatecommand option
...
* 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 08:29:53 +00:00
nagai
2d464611a8
* for backward compatibility (see [ruby-talk:107510], [ruby-talk:107647])
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6711 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-28 05:58:49 +00:00
eban
dfee36e555
* ext/tk/MANIFEST: added
...
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-24 12:34:54 +00:00
nagai
f30049f4ab
* add TclX extension support (partially)
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-23 06:31:57 +00:00
nagai
5f06ad0e20
* TkMsgCatalog.callback: bug fix (wrong number of argument)
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6671 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-18 07:17:00 +00:00
nagai
adfc588257
* ext/tk/lib/tk/variable.rb: TkVariable#ref returns a TkVariable object
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6663 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-17 14:57:33 +00:00
nagai
82e7aedf25
* rename files to avoid application (cvs and so on) troubles
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6654 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-16 13:58:43 +00:00