Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | [Bug 1945073]: Demo square.tcl cannot run; need package tktest |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | core-8-4-branch |
Files: | files | file ages | folders |
SHA1: |
43a8cf526d404a639cf316736be75e4b |
User & Date: | jan.nijtmans 2011-11-22 16:53:14 |
Context
2011-12-22
| ||
18:39 | 3235256 - Keep menu entry IDs out of system values. Thanks Colin McDonald. check-in: 45ce45eb user: dgp tags: core-8-4-branch | |
2011-11-22
| ||
17:07 | [Bug 1945073]: Demo square.tcl cannot run; need package tktest check-in: 8ef7384b user: jan.nijtmans tags: core-8-5-branch | |
16:53 | [Bug 1945073]: Demo square.tcl cannot run; need package tktest check-in: 43a8cf52 user: jan.nijtmans tags: core-8-4-branch | |
2011-11-17
| ||
21:16 | Fix the escaping of leading dots in lines that start with a widget name, so that nroff doesn't mistake it as a non-existing macro and skips the entire line check-in: e5f64795 user: jan.nijtmans tags: core-8-4-branch | |
Changes
Changes to ChangeLog.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | 2011-11-17 Jan Nijtmans <[email protected]> * doc/pack.n: Fix the escaping of leading dots in lines that start with a widget name, so that nroff doesn't mistake it as a non-existing macro and skips the entire line. 2011-11-17 Alexandre Ferrieux <[email protected]> * generic/tkCanvas.c: [Bug 3437816]: Missing TCL_ERROR return in [canvas lower]. 2011-10-11 Jan Nijtmans <[email protected]> * generic/tk.h: Add dummy user_data field to XVirtualEvent, for improved upwards compatibility with Tk 8.5. 2011-09-26 Jan Nijtmans <[email protected]> | > > > > > > > > > > > > | | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | 2011-11-22 Jan Nijtmans <[email protected]> * doc/wish.1: Use the same shebang comment everywhere. * library/demos/hello * library/demos/rmt * library/demos/square * library/demos/tcolor * library/demos/timer * library/demos/widget * unix/Makefile.in: [Bug 1945073]: Demo square.tcl * win/Makefile.in: cannot run; need package tktest 2011-11-17 Jan Nijtmans <[email protected]> * doc/pack.n: Fix the escaping of leading dots in lines that start with a widget name, so that nroff doesn't mistake it as a non-existing macro and skips the entire line. 2011-11-17 Alexandre Ferrieux <[email protected]> * generic/tkCanvas.c: [Bug 3437816]: Missing TCL_ERROR return in [canvas lower]. 2011-10-11 Jan Nijtmans <[email protected]> * generic/tk.h: Add dummy user_data field to XVirtualEvent, for improved upwards compatibility with Tk 8.5. 2011-09-26 Jan Nijtmans <[email protected]> * win/rules.vc: Support Visual Studio 11 2011-09-06 Jan Nijtmans <[email protected]> * unix/tcl.m4: Add --disable-rpath option to configure * unix/configure: script (backported from Tcl 8.5) 2011-08-30 Jan Nijtmans <[email protected]> |
︙ | ︙ |
Changes to doc/wish.1.
︙ | ︙ | |||
143 144 145 146 147 148 149 | can be accessed with a short file name. .PP An even better approach is to start your script files with the following three lines: .CS \fB#!/bin/sh # the next line restarts using wish \e | | | 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 | can be accessed with a short file name. .PP An even better approach is to start your script files with the following three lines: .CS \fB#!/bin/sh # the next line restarts using wish \e exec wish "$0" ${1+"$@"}\fR .CE This approach has three advantages over the approach in the previous paragraph. First, the location of the \fBwish\fR binary doesn't have to be hard-wired into the script: it can be anywhere in your shell search path. Second, it gets around the 30-character file name limit in the previous approach. Third, this approach will work even if \fBwish\fR is |
︙ | ︙ |
Changes to library/demos/hello.
1 2 | #!/bin/sh # the next line restarts using wish \ | | | 1 2 3 4 5 6 7 8 9 10 | #!/bin/sh # the next line restarts using wish \ exec wish "$0" ${1+"$@"} # hello -- # Simple Tk script to create a button that prints "Hello, world". # Click on the button to terminate the program. # # The first line below creates the button, and the second line # asks the packer to shrink-wrap the application's main window |
︙ | ︙ |
Changes to library/demos/rmt.
1 2 | #!/bin/sh # the next line restarts using wish \ | | | 1 2 3 4 5 6 7 8 9 10 | #!/bin/sh # the next line restarts using wish \ exec wish "$0" ${1+"$@"} # rmt -- # This script implements a simple remote-control mechanism for # Tk applications. It allows you to select an application and # then type commands to that application. wm title . "Tk Remote Controller" |
︙ | ︙ |
Changes to library/demos/square.
1 2 | #!/bin/sh # the next line restarts using wish \ | | | 1 2 3 4 5 6 7 8 9 10 | #!/bin/sh # the next line restarts using wish \ exec wish "$0" ${1+"$@"} # square -- # This script generates a demo application containing only a "square" # widget. It's only usable in the "tktest" application or if Tk has # been compiled with tkSquare.c. This demo arranges the following # bindings for the widget: # |
︙ | ︙ |
Changes to library/demos/tcolor.
1 2 | #!/bin/sh # the next line restarts using wish \ | | | 1 2 3 4 5 6 7 8 9 10 | #!/bin/sh # the next line restarts using wish \ exec wish "$0" ${1+"$@"} # tcolor -- # This script implements a simple color editor, where you can # create colors using either the RGB, HSB, or CYM color spaces # and apply the color to existing applications. wm title . "Color Editor" |
︙ | ︙ |
Changes to library/demos/timer.
1 2 | #!/bin/sh # the next line restarts using wish \ | | | 1 2 3 4 5 6 7 8 9 10 | #!/bin/sh # the next line restarts using wish \ exec wish "$0" ${1+"$@"} # timer -- # This script generates a counter with start and stop buttons. label .counter -text 0.00 -relief raised -width 10 -padx 2m -pady 1m button .start -text Start -command { if {$stopped} { |
︙ | ︙ |
Changes to library/demos/widget.
1 2 | #!/bin/sh # the next line restarts using wish \ | | | 1 2 3 4 5 6 7 8 9 10 | #!/bin/sh # the next line restarts using wish \ exec wish "$0" ${1+"$@"} # widget -- # This script demonstrates the various widgets provided by Tk, # along with many of the features of the Tk toolkit. This file # only contains code to generate the main window for the # application, which invokes individual demonstrations. The # code for the actual demonstrations is contained in separate |
︙ | ︙ |
Changes to unix/Makefile.in.
︙ | ︙ | |||
720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 | if [ -f $$i ] ; then \ sed -e '3 s|exec wish|exec wish$(VERSION)|' \ $$i > $(SCRIPT_INSTALL_DIR)/demos/`basename $$i`; \ fi; \ done; @for i in $(DEMOPROGS); \ do \ chmod 755 $(SCRIPT_INSTALL_DIR)/demos/$$i; \ done; @echo "Installing demo images"; @for i in $(TOP_DIR)/library/demos/images/*; \ do \ if [ -f $$i ] ; then \ $(INSTALL_DATA) $$i $(SCRIPT_INSTALL_DIR)/demos/images; \ fi; \ | > > > > | 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 | if [ -f $$i ] ; then \ sed -e '3 s|exec wish|exec wish$(VERSION)|' \ $$i > $(SCRIPT_INSTALL_DIR)/demos/`basename $$i`; \ fi; \ done; @for i in $(DEMOPROGS); \ do \ if test $$i = "square"; then \ rm -f $(SCRIPT_INSTALL_DIR)/demos/$$i; \ else \ chmod 755 $(SCRIPT_INSTALL_DIR)/demos/$$i; \ fi; \ done; @echo "Installing demo images"; @for i in $(TOP_DIR)/library/demos/images/*; \ do \ if [ -f $$i ] ; then \ $(INSTALL_DATA) $$i $(SCRIPT_INSTALL_DIR)/demos/images; \ fi; \ |
︙ | ︙ |
Changes to win/Makefile.in.
︙ | ︙ | |||
496 497 498 499 500 501 502 | else true; \ fi; \ done; @echo "Installing demos to $(SCRIPT_INSTALL_DIR)/demos/"; @for i in $(ROOT_DIR)/library/demos/*; \ do \ if [ -f $$i ] ; then \ | | > > > > | 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 | else true; \ fi; \ done; @echo "Installing demos to $(SCRIPT_INSTALL_DIR)/demos/"; @for i in $(ROOT_DIR)/library/demos/*; \ do \ if [ -f $$i ] ; then \ sed -e '3 s|exec wish|exec wish$(VER)|' \ $$i > $(SCRIPT_INSTALL_DIR)/demos/`basename $$i`; \ fi; \ done; @for i in $(DEMOPROGS); \ do \ if test $$i = "square"; then \ rm -f $(SCRIPT_INSTALL_DIR)/demos/$$i; \ else \ chmod 755 $(SCRIPT_INSTALL_DIR)/demos/$$i; \ fi; \ done; @echo "Installing demo images"; @for i in $(ROOT_DIR)/library/demos/images/*; \ do \ if [ -f $$i ] ; then \ $(INSTALL_DATA) $$i $(SCRIPT_INSTALL_DIR)/demos/images; \ fi; \ |
︙ | ︙ |