a_matsuda
7a9f701692
* ext/tk/lib/tk/canvas.rb: [DOC] Fix typo (s/paramter/parameter/)
...
* ext/tk/lib/tk/text.rb: Ditto.
* ext/tk/lib/tkextlib/blt/component.rb: Ditto.
* ext/tk/lib/tkextlib/blt/tree.rb: Ditto.
* ext/tk/lib/tkextlib/blt/treeview.rb: Ditto.
* ext/tk/lib/tkextlib/iwidgets/scrolledcanvas.rb: Ditto.
* lib/xmlrpc/server.rb: Ditto.
[ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44049 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-07 10:27:27 +00:00
nagai
07c15e8b10
* ext/tk/extconf.rb: show the reason of why ignore tclConfig.sh/tkConfig.sh.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43925 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-11-30 02:46:47 +00:00
nagai
b72256f91c
* ext/tk/lib/tkextlib/tktable/tktable.rb: fix bug on arguments for Proc object.
...
* ext/tk/sample/scrollframe.rb: forgot a Module definition.
* ext/tk/extconf.rb: check unsupported version of tclConfig.sh/tkConfig.sh. It is because current Ruby/Tk doesn't support Tcl/Tk8.6.
* ext/tk/extconf.rb: change search step of Tcl/Tk libraries.
* ext/tk/lib/tk/namespace.rb: instance_exec() cannot accept a script string.
* ext/tk/lib/tk/msgcat.rb: bug fix on treating encodings. Now, ext/tk/sample/tkmsgcat-load_rb*.rb will work.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43923 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-11-29 15:44:25 +00:00
nobu
3976eb12ff
mkmf.rb: fix framework option
...
* lib/mkmf.rb (have_framework): should append framework options to
$LIBS, not $LDFLAGS. the former is propagated to exts.mk when
enable-static-linked-ext.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43277 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-10-14 02:07:51 +00:00
nagai
0d5ec8a346
* ext/tk/extconf.rb: Don't add "-ltk -ltcl" for MacOSX frameworks, because they may link improper libraries.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42372 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-04 01:31:39 +00:00
nagai
e31da2df7e
* ext/tk/extconf.rb: Default search_versions are set 8.5 and 8.4 only. At present, Tcl/Tk8.6 is not supported.
...
* ext/tk/extconf.rb: Fix typo. [ruby-core:56084] [Bug #8656 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42059 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-07-19 04:43:16 +00:00
nobu
c2b7ae980e
tkutil.c: prevent temporary objects from GC
...
* ext/tk/tkutil/tkutil.c: use rb_sprintf(), rb_id2str(), and
rb_intern_str() instead of rb_intern() and RSTRING_PTR() with
RB_GC_GUARD(), to prevent temporary objects from GC.
[ruby-core:39000] [Bug #5199 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41351 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-06-17 07:59:55 +00:00
nagai
c58dc63686
* ext/tk/extconf.rb: support s390x (Thanks to bkabrda) [ruby-trunk - Bug #5465 ]
...
* ext/tk/extconf.rb: apply [Backport87 - Backport #5048 ]
* ext/tk/lib/tk/canvas.rb, ext/tk/sample/demos-{en,jp}/{tree.rb,widget}: fix bug (Thanks to zzak) [ruby-trunk - Bug #8319 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41347 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-06-17 05:21:16 +00:00
shugo
1f828497d1
* safe.c (rb_set_safe_level, safe_setter): raise an ArgumentError
...
when $SAFE is set to 4. $SAFE=4 is now obsolete.
[ruby-core:55222] [Feature #8468 ]
* object.c (rb_obj_untrusted, rb_obj_untrust, rb_obj_trust):
Kernel#untrusted?, untrust, and trust are now deprecated.
Their behavior is same as tainted?, taint, and untaint,
respectively.
* include/ruby/ruby.h (OBJ_UNTRUSTED, OBJ_UNTRUST): OBJ_UNTRUSTED()
and OBJ_UNTRUST() are aliases of OBJ_TAINTED() and OBJ_TAINT(),
respectively.
* array.c, class.c, debug.c, dir.c, encoding.c, error.c, eval.c,
ext/curses/curses.c, ext/dbm/dbm.c, ext/dl/cfunc.c,
ext/dl/cptr.c, ext/dl/dl.c, ext/etc/etc.c, ext/fiddle/fiddle.c,
ext/fiddle/pointer.c, ext/gdbm/gdbm.c, ext/readline/readline.c,
ext/sdbm/init.c, ext/socket/ancdata.c, ext/socket/basicsocket.c,
ext/socket/socket.c, ext/socket/udpsocket.c,
ext/stringio/stringio.c, ext/syslog/syslog.c, ext/tk/tcltklib.c,
ext/win32ole/win32ole.c, file.c, gc.c, hash.c, io.c, iseq.c,
load.c, marshal.c, object.c, proc.c, process.c, random.c, re.c,
safe.c, string.c, thread.c, transcode.c, variable.c,
vm_insnhelper.c, vm_method.c, vm_trace.c: remove code for
$SAFE=4.
* test/dl/test_dl2.rb, test/erb/test_erb.rb,
test/readline/test_readline.rb,
test/readline/test_readline_history.rb, test/ruby/test_alias.rb,
test/ruby/test_array.rb, test/ruby/test_dir.rb,
test/ruby/test_encoding.rb, test/ruby/test_env.rb,
test/ruby/test_eval.rb, test/ruby/test_exception.rb,
test/ruby/test_file_exhaustive.rb, test/ruby/test_hash.rb,
test/ruby/test_io.rb, test/ruby/test_method.rb,
test/ruby/test_module.rb, test/ruby/test_object.rb,
test/ruby/test_pack.rb, test/ruby/test_rand.rb,
test/ruby/test_regexp.rb, test/ruby/test_settracefunc.rb,
test/ruby/test_struct.rb, test/ruby/test_thread.rb,
test/ruby/test_time.rb: remove tests for $SAFE=4.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41259 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-06-12 14:20:51 +00:00
nobu
462804fce4
suppress warnings
...
* ext/-test-/postponed_job/postponed_job.c (pjob_register),
(pjob_call_direct): none void function.
* ext/-test-/tracepoint/tracepoint.c (tracepoint_track_objspace_events):
adjust type to get rid of implicit cast.
* ext/objspace/object_tracing.c (newobj_i): ditto.
* ext/tk/tkutil/tkutil.c (tk_conv_args): adjust type against
RHASH_SIZE().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40965 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-27 16:48:15 +00:00
kazu
c54733e120
fix typos inspired by r40825
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40829 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-19 14:50:47 +00:00
nobu
b4795cdbba
* remove trailing spaces.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40826 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-19 03:11:09 +00:00
ktsj
edb98f8b91
fix typos. Patch by k_takata.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40825 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-19 03:10:21 +00:00
nagai
df9991fe2b
* ext/tk/MANUAL_tcltklib.ja, ext/tk/old-README.tcltklib.ja: rename from *.jp to *.ja
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40524 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-04-29 18:33:28 +00:00
nagai
fb5d3a0afc
* ext/tk/MANUAL_tcltklib.jp: rename from ext/tk/MANUAL_tcltklib.eucj [ruby-trunk - Bug #8084 ]
...
* ext/tk/old-README.tcltklib.jp: rename from ext/tk/old-README.tcltklib.eucj
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40519 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-04-29 00:20:56 +00:00
zzak
c262fda9eb
Typo by @windwiny [Fixes GH-295]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40435 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-04-24 05:01:59 +00:00
nobu
f25e55cb87
tcltklib.c: rb_thread_alive_p macro
...
* ext/tk/tcltklib.c (rb_thread_alive_p): turn into a macro, so that
same code is generated.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39986 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-28 13:11:00 +00:00
nobu
bb6a7778fe
tcltklib.c: suppress warnings
...
* ext/tk/tcltklib.c (lib_eventloop_core, lib_thread_callback),
(ip_rbUpdateCommand, ip_rb_threadUpdateCommand, lib_toUTF8_core),
(ip_invoke_core): remove unused variables.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39975 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-28 04:50:15 +00:00
nobu
78598ebf51
ext/tk/tcltklib.c: adjust nesting
...
* ext/tk/extconf.rb: check for rb_thread_alive_p and
rb_thread_check_trap_pending.
* ext/tk/tcltklib.c (rb_thread_alive_p, rb_thread_check_trap_pending):
define substitutions if not available.
* ext/tk/tcltklib.c (lib_eventloop_core, lib_eventloop_ensure),
(lib_thread_callback, ip_rbUpdateCommand, ip_rbVwaitCommand),
(ip_rbTkWaitCommand, call_queue_handler, eval_queue_handler),
(invoke_queue_handler): adjust nesting.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39974 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-28 04:50:12 +00:00
kazu
b1f2460f8d
fix typos
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39745 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-13 10:50:21 +00:00
nobu
a5ddc2e196
extconf.rb: have_header
...
* ext/tk/extconf.rb (find_tcltk_header): use have_header instead of
try_cpp, which is incredibly slow with VC.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38760 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-10 07:47:20 +00:00
nobu
ee26f5ec25
tkutil.c: NIL_P
...
* ext/tk/tkutil/tkutil.c (tk_symbolkey2str, ary2list, ary2list2): do
not assume NIL_P() to be parenthesized always.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38498 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-20 09:28:35 +00:00
nobu
d0d68df7d0
mkmf.rb: fix splitting options with an argument
...
* ext/extmk.rb (extmake), lib/mkmf.rb (have_framework): fix splitting
options with an argument, not using NUL as special character.
[ruby-core:47447] [Bug #6987 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36918 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-09-06 16:21:57 +00:00
nobu
af6c038b23
remove trailing spaces.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36895 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-09-04 00:57:31 +00:00
nobu
5a03c25690
mkmf.rb: hack for -framework
...
* lib/mkmf.rb (have_framework): get rid of separating -framework
option and its argument and dealing with the argument as a library
or an object name. if $LDFLAGS were an array...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36437 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-07-18 07:17:43 +00:00
kosaki
3e1d8aab17
* dln.c: Simplify and make consistent an ifdef for Mac OS X.
...
* ext/socket/rubysocket.h: ditto.
* ext/tk/stubs.c: ditto.
* io.c: ditto.
* process.c: ditto.
* signal.c: ditto.
* vm_dump.c: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36346 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-07-09 15:52:49 +00:00
nobu
03570f8091
ext/extmk.rb: workaround for -framework option
...
* ext/extmk.rb (extmake): assume non-option words are arguments.
workaround for -framework option.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35731 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-20 15:58:03 +00:00
nobu
0a7aada5d1
fix static-linked-ext
...
* ext/tk/extconf.rb: add -l options to $libs not $LDFLAGS, to be
passed to EXTLIBS in exts.mk.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35671 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-17 01:55:00 +00:00
nobu
58e7c45fc7
fix static-linked-ext
...
* lib/mkmf.rb (MakeMakefile#have_framework): combine -framework option
and its argument with an equal sign not to be separated in merge_libs.
* ext/tk/extconf.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35669 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-17 01:37:08 +00:00
drbrain
da39d32f60
* encoding.c (rb_enc_codepoint_len): Use UNREACHABLE to avoid "control
...
reaches end of non-void function" warnings. [ruby-trunk - Bug #6066 ]
* re.c (name_to_backref_number): ditto.
* object.c (rb_Float): ditto.
* io.c (io_readpartial): ditto.
* io.c (io_read_nonblock): ditto.
* pack.c (rb_uv_to_utf8): ditto.
* proc.c (rb_method_entry_arity): ditto.
* vm_method.c (rb_f_notimplement): ditto.
* struct.c (rb_struct_aset_id): ditto.
* class.c (rb_scan_args): ditto.
* process.c (rlimit_resource_type): ditto.
* process.c (rlimit_resource_value): ditto.
* process.c (p_uid_switch): ditto.
* process.c (p_gid_switch): ditto.
* ext/digest/digest.c (rb_digest_instance_update): ditto.
* ext/digest/digest.c (rb_digest_instance_finish): ditto.
* ext/digest/digest.c (rb_digest_instance_reset): ditto.
* ext/digest/digest.c (rb_digest_instance_block_length): ditto.
* ext/bigdecimal/bigdecimal.c (BigDecimalCmp): ditto.
* ext/dl/handle.c (rb_dlhandle_close): ditto.
* ext/tk/tcltklib.c (pending_exception_check0): ditto.
* ext/tk/tcltklib.c (pending_exception_check1): ditto.
* ext/tk/tcltklib.c (ip_cancel_eval_core): ditto.
* ext/tk/tcltklib.c (lib_get_reltype_name): ditto.
* ext/tk/tcltklib.c (create_dummy_encoding_for_tk_core): ditto.
* ext/tk/tkutil/tkutil.c (tk_hash_kv): ditto.
* ext/openssl/ossl_ssl.c (ossl_ssl_session_reused): ditto.
* ext/openssl/ossl_pkey_ec.c (ossl_ec_key_dsa_verify_asn1): ditto.
* ext/openssl/ossl_pkey_ec.c (ossl_ec_point_is_at_infinit): ditto.
* ext/openssl/ossl_pkey_ec.c (ossl_ec_point_is_on_curve): ditto.
* ext/fiddle/conversions.c (generic_to_value): ditto.
* ext/socket/raddrinfo.c (rsock_io_socket_addrinfo): ditto.
* ext/socket/socket.c (sock_s_getnameinfo): ditto.
* ext/ripper/eventids2.c (ripper_token2eventid): ditto.
* cont.c (return_fiber): ditto.
* dmydln.c (dln_load): ditto.
* vm_insnhelper.c (vm_search_normal_superclass): ditto.
* bignum.c (big_fdiv): ditto.
* marshal.c (r_symlink): ditto.
* marshal.c (r_symbol): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35321 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-13 23:45:37 +00:00
nobu
a73d958c33
* st.c: add st_foreach_check for fixing iteration over packed table
...
and st_delete_safe. patched by Sokolov Yura at
https://github.com/ruby/ruby/pull/84
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34963 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-03-10 14:52:19 +00:00
nobu
ef05fbd0fb
* ext/tk/tcltklib.c (eventloop_sleep): unused.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33861 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-27 06:22:00 +00:00
nobu
aa347ba042
* ext/tk/tkutil/tkutil.c (cbsubst_info): fix shorten-64-to-32 warnings.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33800 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-20 14:19:04 +00:00
nobu
22dcc88584
* ext/tk/tkutil/tkutil.c: fix shorten-64-to-32 warnings.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33798 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-20 14:02:02 +00:00
nobu
ebe0280253
* ext/tk/tcltklib.c (rb_thread_critical): fix type.
...
* ext/tk/tcltklib.c (eventloop_sleep, lib_eventloop_core): int is
enough for micro seconds. may need to check overflow in the
setter though.
* ext/tk/tcltklib.c (RSTRING_LENINT): check overflow if necessary.
* ext/tk/tcltklib.c (RbTk_ALLOC_N): wrapper for ckalloc() which
takes an int.
* ext/tk/tcltklib.c (ip_ruby_cmd_receiver_get, tcltklib_compile_info):
get rid overflow.
* ext/tk/tcltklib.c (tcltklib_compile_info): constified.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33674 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-08 14:26:51 +00:00
ktsj
c3749b6a6d
* ext/pathname/lib/pathname.rb, ext/tk/lib/multi-tk.rb,
...
ext/tk/sample/demos-en/widget, lib/benchmark.rb, lib/irb/cmd/fork.rb,
lib/mkmf.rb, lib/net/ftp.rb, lib/net/smtp.rb, lib/open3.rb,
lib/pstore.rb, lib/rexml/element.rb, lib/rexml/light/node.rb,
lib/rinda/tuplespace.rb, lib/rss/maker/base.rb,
lib/rss/maker/entry.rb, lib/scanf.rb, lib/set.rb, lib/shell.rb,
lib/shell/command-processor.rb, lib/shell/process-controller.rb,
lib/shell/system-command.rb, lib/uri/common.rb: remove unused block
arguments to avoid creating Proc objects.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33638 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-05 07:37:47 +00:00
ktsj
b062e60805
* ext/tk/MANUAL_tcltklib.eng: fix typo.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33514 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-10-23 09:22:59 +00:00
ayumin
965dba4faa
* ext/tk/MANUAL_tcltklib.eng: fix typo. [ruby-dev:44683] [Bug #5471 ]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33511 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-10-23 07:39:56 +00:00
kosaki
20ae79b0c2
* include/ruby/defines.h: remove NextStep, OpenStep, Rhapsody
...
support. Last activity of their OSs are 7 years ago.
* configure.in: ditto.
* dir.c: ditto.
* ext/tk/extconf.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33337 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-26 00:19:03 +00:00
ayumin
2fecb27eb4
Merge branch 'tk_utf8' into trunk
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33271 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-14 17:25:37 +00:00
naruse
dd6911a8c8
* ext/tk/lib/tk/wm.rb (Tk::Wm.command): Add the missing receiver
...
before calling epath. patched by flori
aa9474d32e
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32871 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-08-06 15:44:06 +00:00
eban
d7ccf5e1cc
* ex/tk/extconf.rb: support for the latest ActiveTcl with mingw.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32287 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-29 14:11:19 +00:00
nobu
0d5ed3d2ad
* suppress compile warnings.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32153 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-17 22:33:59 +00:00
nagai
dfcc89576d
* ext/tk/tcltklib.c (lib_eventloop_core): revert the last change (it's
...
the part for ruby_1_8), and use rb_thread_check_ints() when RUBY_VM
is defined.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32096 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-14 20:20:59 +00:00
nagai
483efa1fda
* ext/tk/extconf.rb: fails on Mac OS X [Ruby 1.9 - Bug #4853 ]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32023 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-12 07:22:41 +00:00
kosaki
7eed90933c
* ext/tk/tcltklib.c (lib_eventloop_core): replace CHECK_INTS with
...
rb_thread_check_ints(). Because current code can't be compiled.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31986 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-10 14:24:02 +00:00
nobu
5b3bf854f7
* ext/tk/extconf.rb: use $defs not $CPPFLAGS to get rid of
...
command line escape issues on Windows. fixed #4835 .
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31947 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-07 04:37:08 +00:00
nagai
f6554c200b
* ext/tk/config_list.in: add new options for tcltklib.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31924 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-05 08:23:43 +00:00
nagai
358624d582
* ext/tk/tcltklib.c: reduce CPU power required by an eventloop.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31900 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-01 22:57:35 +00:00
nagai
eeccb5935b
* ext/tk/extconf.rb: fix for uninitialized global variables. [Ruby 1.9 - Bug #4811 ]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31894 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-01 15:46:31 +00:00
nagai
542190ce58
* ext/tk/lib/tk.rb: hang-up at exit before calling Tk.mainloop.
...
* ext/tk/lib/tk/extconf.rb: cannot make on MinGW [Ruby 1.9 - Bug #4141 ].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31742 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-26 23:36:33 +00:00
nagai
3ca633b890
* ext/tk/lib/tk.rb: fail to start Tk.mainloop (exit immediately) on some environment (reported on [ruby-talk:381444]).
...
* ext/tk/lib/tk/canvas.rb: support creating a canvas item object from an item ID number.
* ext/tk/lib/tk/image.rb: import documents which are pull-requested. [Ruby 1.9 - Feature #4595 ]
* ext/tk/lib/tk/extconf.rb: search directories for 64bit library (e.g. /usr/lib64), add some new configure options (see README.tcltklib), and bug fix.
* ext/tk/lib/tk/README.tcltklib: modify docs for some new configure options.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31717 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-23 22:37:44 +00:00
nobu
0d6d23b25d
* ext: remove trailing spaces.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31689 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-22 09:26:02 +00:00
nobu
3a47cf3395
* remove trailing spaces.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-15 11:55:52 +00:00
nagai
30b7855f75
* ext/tk/lib/multi-tk.rb: infinite loop on method_missing at loading.
...
[ruby-dev:42716] [Ruby 1.9-Bug#4129]
* ext/tk/lib/multi-tk.rb: when no eventloop is running, ruby freezes at exit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30169 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-10 20:58:10 +00:00
nagai
b0993426bb
* ext/tk/stubs.c: fix [Bug #3771 ] "VC++ can't make ext/tk with enabling
...
stubs". Thanks, Akio Tajima [ruby-dev:42159].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29151 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-31 08:34:56 +00:00
nagai
bb897dc79a
* ext/tk/tcltklib.c: add codes for Ruby/Tk-Kit which depends on recent
...
versions of kitgen for Tclkit (ready to use Mk4tcl or Vqtcl). And
support working on a file tree extracted from a VFS dataset on
Ruby/Tk-Kit. It's still experimental, because ext/tk/extconf.rb
can't make a Makefile for Ruby/Tk-Kit.
* ext/tk/lib/tk.rb: add comment about TclTkLib::WINDOWING_SYSTEM.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29087 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-24 17:24:13 +00:00
nobu
c53664c84d
.cvsignore: have not been used already. [Bug #3468 ]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28898 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-07 05:43:21 +00:00
nagai
bc8e650735
* ext/tk/extconf.rb: use TK_XINCLUDES on tkConfig.sh when not empty,
...
even if MacOS X Aqua version [ruby-dev:41883].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28793 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-29 22:54:01 +00:00
nagai
ed02f66eca
* ext/tk/lib/tk.rb: fix typo and race condition.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28131 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-02 16:24:29 +00:00
nagai
d369a50c2b
* ext/tk/extconf.rb: use tclConfig.sh/tkConfig.sh when frameworks
...
are enabled on MacOS X.
* ext/tk/stubs.c: dirty hack for frameworks and stubs on MacOS X.
* ext/tk/lib/tk.rb: stop creating a dummy Tcl/Tk interpreter.
And hide a root window before starting eventloop. (for ruby 1.9)
* ext/tk/tcltklib.c: add codes to support Ruby/Tk-Kit (Rubykit).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28111 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-31 14:50:39 +00:00
nagai
3c80aa56de
* ext/tk/extconf.rb: [ruby-def:41334] [Bug #3307 ] invalid result on searching tcl.h/tk.h. Thanks, Masaya Tarui.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27904 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-19 14:45:03 +00:00
nobu
69310faab2
* ext/tk/extconf.rb (get_tclConfig_dirs): glob with EXEEXT.
...
* ext/tk/extconf.rb (search_tclConfig): fixed typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27652 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-07 00:16:19 +00:00
nagai
cc9333b840
* ext/tk/extconf.rb: search directories on PATH, only if containing
...
tclsh or wish command (probably right fix for [ruby-core:30010]).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27649 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-06 21:47:37 +00:00
nagai
690e065bf8
* ext/tk/extconf.rb: revert. enbugged by last commit.
...
([ruby-dev:41133], [ruby-dev:41134], [ruby-core:30010])
* ext/tk/README.tcltklib: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27627 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-05 10:08:16 +00:00
nagai
5d639de5d3
* ext/tk/extconf.rb: better support for MinGW environment.
...
* ext/tk/README.tcltklib: add info of --with-tcltk-drive for Windows.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27562 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-30 06:41:01 +00:00
nobu
3e8d63059d
* ext/**/*.[ch]: removed trailing spaces.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27439 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-22 08:16:09 +00:00
nobu
977267c2e0
* ext/**/*.[ch]: removed trailing spaces.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27437 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-22 08:04:13 +00:00
nagai
9e415266a8
* ext/tk/extconf.rb: fix [ruby-core:28901] [Bug #2997 ]. Thanks, Michael Graff.
...
* ext/tk/tcltklib.c: use xfree() for memories allocated by ALLOC().
* ext/tk/tkutil/tkutil.c: ditto.
* ext/tk/lib/tkextlib/version.rb: forgot updating.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27055 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-25 19:55:32 +00:00
nagai
fd684f1082
* ext/tk/extconf.rb: fix [Bug #2840 ] Tk doesn't built in mingw.
...
* ext/tk/lib/tk.rb: forgot updating RELEASE_DATE at last commit.
* ext/tk/tkutil/tkutil.c: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26901 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-13 01:07:23 +00:00
nobu
de850442f2
* ext/tk/extconf.rb: log() is built-in in some compilers and needs
...
proper declaration.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-11 21:49:02 +00:00
nagai
023a34526b
* ext/tk/tkutil/tkutil.c: fix SEGV on TkUtil::CallbackSubst._setup_subst_table.
...
* ext/tk/lib/tk.rb: [ruby1.9] fix freeze at exit.
* ext/tk/lib/tk.rb: [POTENTIAL INCOMPATIBLE] return NoMethodError
for TkWindow#to_ary and to_str.
* ext/tk/lib/tkextlib/tcllib/plotchart.rb: wrong arguments.
* ext/tk/sampel/tkballoonhelp.rb: fail to support TkEntry widgets.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26530 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-31 22:50:43 +00:00
nagai
d71eab14fb
* ext/tk/lib/tk/variable.rb (TkVariable::coerce): fix bug on a numeric value.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25760 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-13 19:11:32 +00:00
nagai
cbad6bc357
* ext/tk/lib/tk/variable.rb: TkVariable#*(other) and /(other) have a
...
bug on handling of the "other" value.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25754 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-13 18:36:38 +00:00
nagai
aacc33649a
* ext/tk/lib/tk/variable.rb: add TkVariable#+@ and -@ method.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25513 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-27 12:22:42 +00:00
nagai
226c12d4e9
* ext/tk/tcltklib.c: mistake on operation. sorry.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25502 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-26 23:21:18 +00:00
nagai
435f18f513
* ext/tk/tcltklib.c,stubs.c: remove errors or warnings when compiled
...
with old ruby 1.8.x.
* ext/tk/tkutil/tkutil.c: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25497 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-26 22:40:22 +00:00
nagai
dc28ce1b0b
* ext/tk/lib/remote-tk.rb: typo fixed.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25488 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-26 04:26:57 +00:00
nagai
ba3abf209d
* ext/tk/variable.rb: bug fix. additional trace definition changes the
...
option of first trace definition.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25320 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-13 09:55:55 +00:00
nagai
cb732bbbdc
* ext/tk/lib/tk/canvas.rb: *** POTENTIALLY INCOMPATIBLE ***
...
'tags' option of a TkcItem object gives a list of TkcTag objects.
* ext/tk/lib/tkextlib/vu/dial.rb: fix logical bug.
* ext/tk/lib/tk/canvas.rb, ext/tk/lib/tkextlib/blt/component.rb:
lack of support for methodcall_optkeys.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25238 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-05 21:29:32 +00:00
nagai
85b326ac42
* ext/tk/lib/tk/variable.rb: add TkVariable#to_hash,to_proc,to_int,to_str,to_ary
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25218 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-03 20:39:54 +00:00
nagai
979ac967a9
* ext/tk/extconf.rb (search_tclConfig): last change isn't enough. fixed it.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24484 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-09 12:24:55 +00:00
nagai
833b354578
* ext/tk/extconf.rb (search_tclConfig): fix logic bug.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24431 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-06 16:07:11 +00:00
nagai
4293a98596
* ext/tk/lib/tcltklib.c: fix trouble on old-style C function
...
declarations [ruby-core:22871].
* ext/tk/lib/tcltklib.c: (ruby_1_8) fix warning about RUBY_RELEASE_DATE
* ext/tk/lib/tk/multi-tk.rb: kill zombie threads.
* ext/tk/lib/tk/fontchooser.rb: fix typo and support OptionObj.
* ext/tk/lib/tk/canvas.rb, ext/tk/lib/tk/virtevent.rb,
ext/tk/lib/tk/image.rb, , ext/tk/lib/tk/timer.rb: create unnecessary array.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24377 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-03 19:01:03 +00:00
nagai
8e7e28f15c
* ext/tk/lib/extconf.rb: bug fix and ignore invalid Tcl/Tk libraries.
...
* ext/tk/lib/config_list.in: bug fix and add a new option.
* ext/tk/lib/README.tcltklib: update for a new option.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-27 19:40:43 +00:00
nagai
dac591d01b
* ext/tk/extconf.rb: should not create "config_list" in a $srcdir.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24256 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-23 08:28:49 +00:00
nagai
924e2fcefa
* ext/tk/lib/tk.rb: fail to create a widget object for an unknown wiget path.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24184 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-17 22:57:10 +00:00
nagai
556232734e
* ext/tk/lib/tk.rb,ext/tk/lib/tk/grid.rb: Bug fix on grid_slaves().
...
Extend usage pattern of grid_column()/grid_row().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24180 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-17 22:09:14 +00:00
nagai
31060fb11b
* ext/tk/extconf.rb,ext/tk/config_list.in: ignore paths which includes
...
white space characters on Windows.[ruby-dev:38794]
* ext/tk/lib/tk.rb: works on Cygwin (limitation:: Tk.mainloop works on
the main thread only).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24154 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-16 14:34:09 +00:00
nagai
3272d17d0c
* ext/tk/extconf.rb: --with-{tcl,tk}-dir doesn't work.[ruby-dev:38782]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24111 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-14 21:29:49 +00:00
nagai
ed58635229
* ext/tk/lib/multi-tk.rb: Long-term-callback support isn't stable yet.
...
So, disable the feature and waiting for improvement in the future.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24100 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-14 00:28:31 +00:00
nagai
2b94358ac4
* ext/tk/lib/tk/menuspec.rb: commit miss on my last commitment.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24097 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-13 23:11:34 +00:00
nagai
ed6ce8b43b
* ext/tk/extconf.rb: New strategy for searching Tcl/Tk libraries.
...
* ext/tk/*: Support new features of Tcl/Tk8.6b1 and minor bug fixes.
( [KNOWN BUG] Ruby/Tk on Ruby 1.9 will not work on Cygwin. )
* ext/tk/*: Unify sources between Ruby 1.8 & 1.9.
Improve default_widget_set handling.
* ext/tk/*: Multi-TkInterpreter (multi-tk.rb) works on Ruby 1.8 & 1.9.
( [KNOWN BUG] On Ruby 1.8, join to a long term Thread on Tk
callbacks may freeze. On Ruby 1.9, cannot create a second
master interpreter (creating slaves are OK); supported master
interpreter is the default master interpreter only. )
* ext/tk/lib/tkextlib/*: Update supported versions of Tk extensions.
Tcllib 1.8/Tklib 0.4.1 ==> Tcllib 1.11.1/Tklib 0.5
BWidgets 1.7 ==> BWidgets 1.8
TkTable 2.9 ==> TkTable 2.10
TkTreeCtrl 2005-12-02 ==> TkTreeCtrl 2.2.9
Tile 0.8.0/8.5.1 ==> Tile 0.8.3/8.6b1
IncrTcl 2005-02-14 ==> IncrTcl 2008-12-15
TclX 2005-02-07 ==> TclX 2008-12-15
Trofs 0.4.3 ==> Trofs 0.4.4
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24063 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-12 23:08:32 +00:00
nobu
3f405a7688
* ext/tk/tcltklib.c (get_obj_from_str): suppressed a warning.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24033 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-11 05:49:22 +00:00
matz
b10617c3d1
* sample/drb/dhasenc.rb: add magic comment for encoding.
...
* sample/mine.rb: ditto.
* ext/tk/sample/tcltklib/sample1.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23439 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-16 02:00:42 +00:00
nagai
0e61068c2b
* ext/tk/sample/tkcombobox.rb: fix conflict with autoload definition
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-26 00:45:17 +00:00
nobu
f86cd0d4c2
* ext/tk/tcltklib.c (eventloop_sleep, lib_eventloop_core),
...
(lib_watchdog_core): tv_usec is not time_t.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22980 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-16 07:37:24 +00:00
nobu
287a34ae0d
* {ext,lib,test}/**/*.rb: removed trailing spaces.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-06 03:56:38 +00:00
knu
df0f575e1d
Fix grammos regarding the verb "refer".
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22196 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-10 08:55:40 +00:00
nobu
186f7fe9cf
properties.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21811 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-27 22:22:34 +00:00