You can subscribe to this list here.
2001 |
Jan
|
Feb
(20) |
Mar
(29) |
Apr
(10) |
May
(10) |
Jun
(7) |
Jul
(6) |
Aug
(59) |
Sep
(19) |
Oct
(55) |
Nov
(22) |
Dec
(40) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2002 |
Jan
(56) |
Feb
(71) |
Mar
(179) |
Apr
(41) |
May
(26) |
Jun
(52) |
Jul
(62) |
Aug
(19) |
Sep
(87) |
Oct
(188) |
Nov
(95) |
Dec
(30) |
2003 |
Jan
(83) |
Feb
(119) |
Mar
(174) |
Apr
(77) |
May
(85) |
Jun
(52) |
Jul
(67) |
Aug
(121) |
Sep
(147) |
Oct
(96) |
Nov
(89) |
Dec
(144) |
2004 |
Jan
(92) |
Feb
(172) |
Mar
(205) |
Apr
(201) |
May
(105) |
Jun
(42) |
Jul
(94) |
Aug
(109) |
Sep
(81) |
Oct
(59) |
Nov
(84) |
Dec
(68) |
2005 |
Jan
(56) |
Feb
(57) |
Mar
(183) |
Apr
(139) |
May
(131) |
Jun
(178) |
Jul
(62) |
Aug
(42) |
Sep
(95) |
Oct
(47) |
Nov
(73) |
Dec
(47) |
2006 |
Jan
(66) |
Feb
(31) |
Mar
(51) |
Apr
(20) |
May
(49) |
Jun
(26) |
Jul
(23) |
Aug
(65) |
Sep
(67) |
Oct
(26) |
Nov
(16) |
Dec
(8) |
2007 |
Jan
(18) |
Feb
(43) |
Mar
(43) |
Apr
(16) |
May
(33) |
Jun
(48) |
Jul
(34) |
Aug
(7) |
Sep
(9) |
Oct
(55) |
Nov
(44) |
Dec
(73) |
2008 |
Jan
(37) |
Feb
(97) |
Mar
(44) |
Apr
(33) |
May
(79) |
Jun
(11) |
Jul
(66) |
Aug
(9) |
Sep
(12) |
Oct
(6) |
Nov
(12) |
Dec
(19) |
2009 |
Jan
(12) |
Feb
(13) |
Mar
(19) |
Apr
(30) |
May
(59) |
Jun
(22) |
Jul
(11) |
Aug
(59) |
Sep
(82) |
Oct
(25) |
Nov
(51) |
Dec
(27) |
2010 |
Jan
(27) |
Feb
(8) |
Mar
(29) |
Apr
(9) |
May
(39) |
Jun
(6) |
Jul
(8) |
Aug
(22) |
Sep
(33) |
Oct
(8) |
Nov
(35) |
Dec
(9) |
2011 |
Jan
(62) |
Feb
(19) |
Mar
(31) |
Apr
(19) |
May
(1) |
Jun
(1) |
Jul
(17) |
Aug
(10) |
Sep
(14) |
Oct
(11) |
Nov
|
Dec
|
2012 |
Jan
(1) |
Feb
(11) |
Mar
|
Apr
(1) |
May
(5) |
Jun
(7) |
Jul
(22) |
Aug
(22) |
Sep
(30) |
Oct
(23) |
Nov
(19) |
Dec
|
2013 |
Jan
(6) |
Feb
(1) |
Mar
(10) |
Apr
(7) |
May
(3) |
Jun
(3) |
Jul
|
Aug
(3) |
Sep
(9) |
Oct
(14) |
Nov
(9) |
Dec
(5) |
2014 |
Jan
(13) |
Feb
(1) |
Mar
(6) |
Apr
(3) |
May
(5) |
Jun
(2) |
Jul
(20) |
Aug
(6) |
Sep
(26) |
Oct
(25) |
Nov
(20) |
Dec
(41) |
2015 |
Jan
(9) |
Feb
(35) |
Mar
(9) |
Apr
(28) |
May
(20) |
Jun
(3) |
Jul
(5) |
Aug
|
Sep
(2) |
Oct
(4) |
Nov
|
Dec
(3) |
2016 |
Jan
|
Feb
|
Mar
|
Apr
(5) |
May
(12) |
Jun
(35) |
Jul
(1) |
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
(7) |
2017 |
Jan
(28) |
Feb
(14) |
Mar
(4) |
Apr
(5) |
May
(4) |
Jun
(2) |
Jul
|
Aug
(1) |
Sep
|
Oct
(3) |
Nov
|
Dec
(8) |
2018 |
Jan
|
Feb
(1) |
Mar
(3) |
Apr
(1) |
May
(1) |
Jun
(3) |
Jul
(3) |
Aug
|
Sep
|
Oct
(1) |
Nov
(1) |
Dec
|
2019 |
Jan
|
Feb
|
Mar
|
Apr
(3) |
May
(7) |
Jun
(2) |
Jul
|
Aug
(1) |
Sep
(2) |
Oct
(3) |
Nov
(7) |
Dec
|
2020 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(4) |
Jun
|
Jul
(10) |
Aug
(3) |
Sep
|
Oct
(1) |
Nov
|
Dec
|
2021 |
Jan
|
Feb
|
Mar
(4) |
Apr
(21) |
May
(8) |
Jun
(3) |
Jul
|
Aug
|
Sep
(1) |
Oct
(10) |
Nov
|
Dec
|
2022 |
Jan
(1) |
Feb
(4) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(4) |
Sep
|
Oct
|
Nov
|
Dec
|
2023 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(5) |
Sep
|
Oct
|
Nov
|
Dec
|
2024 |
Jan
(3) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(3) |
Aug
|
Sep
(7) |
Oct
|
Nov
|
Dec
|
2025 |
Jan
(3) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Bernhard S. <Ber...@gm...> - 2011-04-07 18:16:24
|
On 02.04.2011, at 19:45, Jerry LeVan wrote: > > Unfortunately the combo box (frame ) does not receive focus ie the scroll bar > is grayed out, the window (of the combo box) does not allow resizing and the dots > in the frame are gray... > > Fortunately the *interior* of the combo box can be scrolled with the mouse and clicked on > to select an item. > > In order to dismiss the combo box I have to click in the cell being edited and do > a control-return to end the editing. > > Does anyone know of a fix? Is this an apple tcl problem or is it something a bit > deeper? ( ie does this problem go away with with active states tcl?) > > I have attached a scrollbar to the table and a couple of times the down > arrow of the scrollbar has appeared to get stuck in the 'on' state and > cause the app to eventually crash. > Jerry, I'm afraid I cannot help you with your problem. Just wanted to add that I had a similar problem with scrollbars not reacting any longer when switching between tabs of a BWidget notebook. Scrollbars here are children of a BWidget ScrollableFrame. You might want to search for "BWidget: Scrollbars on notebook tabs cease to respond" to read the whole story. Unfortunately, there was no response. Perhaps, there are not that many people using BWidgets on the Mac? Cheers, Bernhard |
From: David Z. <zol...@lr...> - 2011-04-06 15:46:19
|
Le 24 mars 2011 à 22:07, David Zolli a écrit : > Le 24 mars 2011 à 20:44, Daniel A. Steffen a écrit : > >> move the [. configure -menu .menu] to after you've added .apple, c.f. menu.n: > > Nice Daniel! It does it!! > > Now, I'ld like to understand why this menu is named 'tclsh' instead of my app name and why it use the blue feather icon instead of the one I set in the Info.plist? I still have some problems with .menu.apple when I use /System/Library/Frameworks/Tk.framework/Versions/8.5/Resources/Wish.app : 1) As I already said, it doesn't use Info.plist CFBundleName for your appname (instead, it uses the name of the file MyApp.app/Contents/MacOS/MyApp which is a copy of /System/Library/Frameworks/Tk.framework/Versions/8.5/Resources/Wish.app/Contents/MacOS/Wish). 2) "About appname" and "Quit appname" labels are not localized but always in english, which made your app rejected from AppStore when your application language is not english. Is it a Tk-Cocoa feature or a bug? Is there any known workaround for that? -- David Zolli kr...@kr... http://www.kroc.tk |
From: Jeff H. <je...@ac...> - 2011-04-06 15:04:05
|
On 2011-04-05, at 11:59 PM, <L....@su...> <L....@su...> wrote: > Is there a way for Tcl to detect whether ActiveTcl or the supplied Tcl/Tk is in use? You can determine specifically if it is ActiveTcl with 'package require ActiveTcl', which will return exact build version if it is AT (error otherwise). However, these are just general fixes for the core, so 'info patchlevel' will give you what you need. You can use a 'package require Tcl 8.5.9' check as well. > (luckily, I was also able to find a crossplatform workaround for the Mac-supplied Tk slider freeze by decreasing the amount of traced-variable checking and Tk updating needed when the slider was used, so that one's not going to need a Mac-only workaround.) Yes, I did notice that it seemed to have some aspect of event starvation going on. The slider can be tricky when tied to a very expensive update. Using a deferred update would be better (use 'set ::deferred [after 500 ...]', then after cancel deferred before scheduling again). Jeff > On 6 Apr 2011, at 06:16, Jeff Hobbs wrote: > >> This only occurs on the shipped Tcl/Tk. I did not have an issue with the latest ActiveTcl 8.6 beta (latest AT 8.5 probably works too). Just try that and change your Makefile_defs_macosx to: >> >> TCL_LIBS = -F/Library/Frameworks -framework Tcl -framework Tk >> >> Jeff >> >> On 2011-04-02, at 9:16 AM, <L....@su...> <L....@su...> wrote: >> >>> I've previously reported Mac-only Tcl/Tk problems and interface lockups, most recently due to assigning keyboard shortcuts. Here's another one, and how to reproduce it. Like previous Mac-only problems I've reported, this only happens on the Mac, not on other platforms (Ubuntu, Redhat, Cygwin). >>> >>> Environment: Stock Mac OS X 10.6.7 Snow Leopard, using the default supplied Tcl/Tk 8.5.7 unix binaries. >>> >>> Instructions to reproduce: >>> Download SaVi from http://savi.sf.net/ >>> >>> Open a terminal window. >>> Unpack with tar xvf savi-1.4.4-release.tar (Safari will have already gunzipped it) >>> Build with: >>> cd savi1.4.4 >>> make ARCH=macosx >>> >>> Once built, launch with: >>> cd savi1.4.4 >>> ./savi >>> >>> Open the coverage window from the Views menu (Views -> Global coverage...) >>> >>> Move the horizontal slider next to the elevation angle popup to the right. All controls will freeze up; back/forwards playbar at bottom will be inoperable, etc. Do ps and kill XXXX from the terminal window to remove the process. >>> >>> ...and this only happens on Mac Tk. Peachy. >>> >>> Lloyd Wood >>> L....@su... >>> http://sat-net.com/L.Wood > > > > |
From: Jasper T. <ja...@si...> - 2011-04-06 08:18:02
|
On 06/04/11 07:59, L....@su... wrote: > Is there a way for Tcl to detect whether ActiveTcl or the supplied Tcl/Tk is in use? "info patchlevel" should give you 8.5.7 for the supplied TclTk, or currently 8.5.9 for ActiveTcl --Jasper |
From: <L....@su...> - 2011-04-06 06:59:42
|
Aha - that's how to build with ActiveTcl if it's installed! Many, many thanks for that, Jeff. A note on that has gone straight into my CVS. I see ActiveTcl doesn't have the keyboard shortcut menu freeze that the default 8.5.7 does. Is there a way for Tcl to detect whether ActiveTcl or the supplied Tcl/Tk is in use? I've been detecting Mac OS version, which is fine for the shipped-with-OS Tcl, but that and other Mac-specific checks and their assumptions become moot if some version of ActiveTcl has been installed and the package has been compiled with it. A 'we're using ActiveTcl, so don't do any of that' is needed to e.g. turn keyboard shortcuts back on. (luckily, I was also able to find a crossplatform workaround for the Mac-supplied Tk slider freeze by decreasing the amount of traced-variable checking and Tk updating needed when the slider was used, so that one's not going to need a Mac-only workaround.) thanks, Lloyd Wood L....@su... http://sat-net.com/L.Wood On 6 Apr 2011, at 06:16, Jeff Hobbs wrote: > This only occurs on the shipped Tcl/Tk. I did not have an issue with the latest ActiveTcl 8.6 beta (latest AT 8.5 probably works too). Just try that and change your Makefile_defs_macosx to: > > TCL_LIBS = -F/Library/Frameworks -framework Tcl -framework Tk > > Jeff > > On 2011-04-02, at 9:16 AM, <L....@su...> <L....@su...> wrote: > >> I've previously reported Mac-only Tcl/Tk problems and interface lockups, most recently due to assigning keyboard shortcuts. Here's another one, and how to reproduce it. Like previous Mac-only problems I've reported, this only happens on the Mac, not on other platforms (Ubuntu, Redhat, Cygwin). >> >> Environment: Stock Mac OS X 10.6.7 Snow Leopard, using the default supplied Tcl/Tk 8.5.7 unix binaries. >> >> Instructions to reproduce: >> Download SaVi from http://savi.sf.net/ >> >> Open a terminal window. >> Unpack with tar xvf savi-1.4.4-release.tar (Safari will have already gunzipped it) >> Build with: >> cd savi1.4.4 >> make ARCH=macosx >> >> Once built, launch with: >> cd savi1.4.4 >> ./savi >> >> Open the coverage window from the Views menu (Views -> Global coverage...) >> >> Move the horizontal slider next to the elevation angle popup to the right. All controls will freeze up; back/forwards playbar at bottom will be inoperable, etc. Do ps and kill XXXX from the terminal window to remove the process. >> >> ...and this only happens on Mac Tk. Peachy. >> >> Lloyd Wood >> L....@su... >> http://sat-net.com/L.Wood |
From: Jeff H. <je...@ac...> - 2011-04-06 05:16:37
|
This only occurs on the shipped Tcl/Tk. I did not have an issue with the latest ActiveTcl 8.6 beta (latest AT 8.5 probably works too). Just try that and change your Makefile_defs_macosx to: TCL_LIBS = -F/Library/Frameworks -framework Tcl -framework Tk Jeff On 2011-04-02, at 9:16 AM, <L....@su...> <L....@su...> wrote: > I've previously reported Mac-only Tcl/Tk problems and interface lockups, most recently due to assigning keyboard shortcuts. Here's another one, and how to reproduce it. Like previous Mac-only problems I've reported, this only happens on the Mac, not on other platforms (Ubuntu, Redhat, Cygwin). > > Environment: Stock Mac OS X 10.6.7 Snow Leopard, using the default supplied Tcl/Tk 8.5.7 unix binaries. > > Instructions to reproduce: > Download SaVi from http://savi.sf.net/ > > Open a terminal window. > Unpack with tar xvf savi-1.4.4-release.tar (Safari will have already gunzipped it) > Build with: > cd savi1.4.4 > make ARCH=macosx > > Once built, launch with: > cd savi1.4.4 > ./savi > > Open the coverage window from the Views menu (Views -> Global coverage...) > > Move the horizontal slider next to the elevation angle popup to the right. All controls will freeze up; back/forwards playbar at bottom will be inoperable, etc. Do ps and kill XXXX from the terminal window to remove the process. > > ...and this only happens on Mac Tk. Peachy. > > Lloyd Wood > L....@su... > http://sat-net.com/L.Wood |
From: Williams T. <pha...@gm...> - 2011-04-02 21:12:43
|
Jerry, I'm not familiar with the Bwidget combobox as I personally use the Bryan Oakley combobox. Do you call the tablelist::addBWidgetComboBox ?name? command prior to creating the tablelist? That would be important to do if you currently do not. As for using #!/usr/bin/wish, I also cannot start the script from the command-line; however, if I do a 'which wish', I get a different wish -- /opt/local/bin/wish. If I specify #!/opt/local/bin/wish at the top of the file, I can launch directly from the command-line. If you are trying to make the script cross-platform compatible, you may want to avoid this line altogether and create proper shell script to handle the initial start-up -- just a thought. I haven't run across the scrollbar problem before. Do you have some example code that I can view/play around with? Thanks, Trevor Williams Jerry LeVan wrote: > Hi, > > My first Tablelist application ofxConvert.tcl is finally ( basically ) functional. > > It will parse OFX data from my bank and credit card into a Tablelist where I can > 'clean up' the data and save the result in a CSV format that I can import into > my postgresql home db. > > One of the columns in the table is critical in that the content is used as a foreign > key in the data base and consequently no 'spelling' errors can be permitted. > > I decided to use the BWidget Combo box as the editable field for this column. > > Regrettably with apples Tcl/Tk the results are ugly and not very user friendly, on > my Fedora systems the Combo box works a treat :). > > On the mac side when the cell is selected for editing the 'disclosure' item > appears in the field and clicking on it brings up the combo box list. > > Unfortunately the combo box (frame ) does not receive focus ie the scroll bar > is grayed out, the window (of the combo box) does not allow resizing and the dots > in the frame are gray... > > Fortunately the *interior* of the combo box can be scrolled with the mouse and clicked on > to select an item. > > In order to dismiss the combo box I have to click in the cell being edited and do > a control-return to end the editing. > > Does anyone know of a fix? Is this an apple tcl problem or is it something a bit > deeper? ( ie does this problem go away with with active states tcl?) > > I have attached a scrollbar to the table and a couple of times the down > arrow of the scrollbar has appeared to get stuck in the 'on' state and > cause the app to eventually crash. > > I (re)found out that a Tk script cannot be executed directly if the initial > line is #!/usr/bin/wish. > > I can start a Tk program if I use #!/usr/bin/tclsh and do a package require Tk. > Unfortunately scripts started this way appear to be rather unstable. > > Does anyone know why? ( I don't have any of the above problems if I run > the script on a Fedora 14 system.) > > Frustrated... > > Jerry > > > > > > > ------------------------------------------------------------------------------ > Create and publish websites with WebMatrix > Use the most popular FREE web apps or write code yourself; > WebMatrix provides all the features you need to develop and > publish your website. http://p.sf.net/sfu/ms-webmatrix-sf > _______________________________________________ > Tcl-mac mailing list > tc...@li... > https://lists.sourceforge.net/lists/listinfo/tcl-mac |
From: Jerry L. <jer...@gm...> - 2011-04-02 17:45:23
|
Hi, My first Tablelist application ofxConvert.tcl is finally ( basically ) functional. It will parse OFX data from my bank and credit card into a Tablelist where I can 'clean up' the data and save the result in a CSV format that I can import into my postgresql home db. One of the columns in the table is critical in that the content is used as a foreign key in the data base and consequently no 'spelling' errors can be permitted. I decided to use the BWidget Combo box as the editable field for this column. Regrettably with apples Tcl/Tk the results are ugly and not very user friendly, on my Fedora systems the Combo box works a treat :). On the mac side when the cell is selected for editing the 'disclosure' item appears in the field and clicking on it brings up the combo box list. Unfortunately the combo box (frame ) does not receive focus ie the scroll bar is grayed out, the window (of the combo box) does not allow resizing and the dots in the frame are gray... Fortunately the *interior* of the combo box can be scrolled with the mouse and clicked on to select an item. In order to dismiss the combo box I have to click in the cell being edited and do a control-return to end the editing. Does anyone know of a fix? Is this an apple tcl problem or is it something a bit deeper? ( ie does this problem go away with with active states tcl?) I have attached a scrollbar to the table and a couple of times the down arrow of the scrollbar has appeared to get stuck in the 'on' state and cause the app to eventually crash. I (re)found out that a Tk script cannot be executed directly if the initial line is #!/usr/bin/wish. I can start a Tk program if I use #!/usr/bin/tclsh and do a package require Tk. Unfortunately scripts started this way appear to be rather unstable. Does anyone know why? ( I don't have any of the above problems if I run the script on a Fedora 14 system.) Frustrated... Jerry |
From: <L....@su...> - 2011-04-02 16:16:39
|
I've previously reported Mac-only Tcl/Tk problems and interface lockups, most recently due to assigning keyboard shortcuts. Here's another one, and how to reproduce it. Like previous Mac-only problems I've reported, this only happens on the Mac, not on other platforms (Ubuntu, Redhat, Cygwin). Environment: Stock Mac OS X 10.6.7 Snow Leopard, using the default supplied Tcl/Tk 8.5.7 unix binaries. Instructions to reproduce: Download SaVi from http://savi.sf.net/ Open a terminal window. Unpack with tar xvf savi-1.4.4-release.tar (Safari will have already gunzipped it) Build with: cd savi1.4.4 make ARCH=macosx Once built, launch with: cd savi1.4.4 ./savi Open the coverage window from the Views menu (Views -> Global coverage...) Move the horizontal slider next to the elevation angle popup to the right. All controls will freeze up; back/forwards playbar at bottom will be inoperable, etc. Do ps and kill XXXX from the terminal window to remove the process. ...and this only happens on Mac Tk. Peachy. Lloyd Wood L....@su... http://sat-net.com/L.Wood |
From: Jerry L. <jer...@gm...> - 2011-03-31 13:53:18
|
Hi, I am slowly converting my Tktable based QFX (Quicken OFX) converter to use Tablelist because the cell editing is much easier... For some reason I thought that starting a program with #!/usr/bin/tclsh .... package require Tk was the same as #!/usr/bin/wish .... package require Tk There is evidently a problem with Apple's Tcl/Tk... I call this proc from a menu item to save the results from the tablelist... Below listContent is a variable that contains the contents of the tablelist. proc saveFile {} { global listContent sep set fname [tk_getSaveFile -initialdir "~" \ -defaultextension ".csv"] if { $fname != "" } { if { [ catch { set f [open $fname "w"] foreach rowlist $listContent { set line [join $rowlist $sep ] puts $f $line } close $f tk_messageBox -message "Write Completed Ok." -icon info } result ] } { tk_messageBox -message "File Save of $fname failed. Reason : $result" -type ok } } } After either of the message boxes is invoked and dismissed, the program hangs with a rainbow spinning wheel of death *if* the overall program is started with tclsh. Things work ok if the program is started with wish. ( Apple Tcl/Tk 8.5.7 ) On my Fedora 14 systems this problem does not arise... (Tcl/Tk 8.5.9) I wasted a day trying to figure out why the program kept hanging... Jerry |
From: Jerry L. <jer...@gm...> - 2011-03-30 12:09:10
|
On Mar 29, 2011, at 11:37 PM, Williams Trevor wrote: > Jerry, > > I'm not sure if anyone got back to you on this yet, but you need to add > the following option to the tablelist configuration "-width 0" to > automatically display all of the columns without resizing required. > > Trevor Williams > > Thanks Trevor, I guess I missed that option in the maze of possible options :( I was getting worried because I was getting application lockups when I manually resized the window about 20% of the time... Jerry > > Jerry LeVan wrote: >> #!/usr/bin/tclsh >> package require Tk >> package require tablelist >> >> tablelist::tablelist .t -columns { 0 date >> 0 amount right >> 0 tranid >> 0 source >> 0 memo >> 0 status >> 0 category >> } \ >> -stretch all -background white \ >> -showseparators 1 \ >> -stripebg lightgreen \ >> -listvariable listContent >> >> set tbl .t >> $tbl columnconfigure 0 -name date -editable yes -editwindow entry \ >> -sortmode dictionary >> >> $tbl columnconfigure 1 -name amount -editable yes -editwindow entry \ >> -sortmode dictionary >> >> $tbl columnconfigure 2 -name tranid -editable yes -editwindow entry \ >> -sortmode dictionary >> >> $tbl columnconfigure 3 -name source -editable yes -editwindow entry \ >> -sortmode dictionary >> >> $tbl columnconfigure 4 -name memo -editable yes -editwindow entry \ >> -sortmode dictionary >> >> $tbl columnconfigure 5 -name status -editable yes -editwindow entry \ >> -sortmode dictionary >> >> $tbl columnconfigure 6 -name category -editable yes -editwindow entry \ >> -sortmode dictionary >> >> pack .t -fill both -expand 1 -side top >> >> .t insert end {2011-03-25 -55.00 WITHD {Online Payment 10644630 To Mar} Mow * {Home Repair:Yard Work}} >> .t insert end {2011-03-25 -150.79 WITHD {Online Payment 10644157 To Int} {Dr Ko for Marijo} * Medical} >> .t insert end {2011-03-25 -7.78 WITHD {MEIJER INC 258 2013 LA R052639} Food * Groceries} >> update idletasks >> puts $listContent >> |
From: Williams T. <pha...@gm...> - 2011-03-30 03:37:14
|
Jerry, I'm not sure if anyone got back to you on this yet, but you need to add the following option to the tablelist configuration "-width 0" to automatically display all of the columns without resizing required. Trevor Williams Jerry LeVan wrote: > #!/usr/bin/tclsh > package require Tk > package require tablelist > > tablelist::tablelist .t -columns { 0 date > 0 amount right > 0 tranid > 0 source > 0 memo > 0 status > 0 category > } \ > -stretch all -background white \ > -showseparators 1 \ > -stripebg lightgreen \ > -listvariable listContent > > set tbl .t > $tbl columnconfigure 0 -name date -editable yes -editwindow entry \ > -sortmode dictionary > > $tbl columnconfigure 1 -name amount -editable yes -editwindow entry \ > -sortmode dictionary > > $tbl columnconfigure 2 -name tranid -editable yes -editwindow entry \ > -sortmode dictionary > > $tbl columnconfigure 3 -name source -editable yes -editwindow entry \ > -sortmode dictionary > > $tbl columnconfigure 4 -name memo -editable yes -editwindow entry \ > -sortmode dictionary > > $tbl columnconfigure 5 -name status -editable yes -editwindow entry \ > -sortmode dictionary > > $tbl columnconfigure 6 -name category -editable yes -editwindow entry \ > -sortmode dictionary > > pack .t -fill both -expand 1 -side top > > .t insert end {2011-03-25 -55.00 WITHD {Online Payment 10644630 To Mar} Mow * {Home Repair:Yard Work}} > .t insert end {2011-03-25 -150.79 WITHD {Online Payment 10644157 To Int} {Dr Ko for Marijo} * Medical} > .t insert end {2011-03-25 -7.78 WITHD {MEIJER INC 258 2013 LA R052639} Food * Groceries} > update idletasks > puts $listContent > |
From: Jerry L. <jer...@gm...> - 2011-03-29 23:00:15
|
Hi, I am trying to convert by Tktable based OFX to CSV converter to a program which uses Tablelist and I seem to be doing something wrong. The program below will display what I want but the initial display only shows the first two columns, the other columns are present but I have to manually enlarge the window in order to display all of the columns... . If I put the 'pack' after I add the rows the app freezes when I try to resize the window... Regrettably I am getting rather long in the tooth and stuff is falling off the end of my memory queue at an every increasing rate.... I am using Apple's Tcl/Tk and it appears that Tablelist is version 4.10. What am I doing wrong... Jerry ************** #!/usr/bin/tclsh package require Tk package require tablelist tablelist::tablelist .t -columns { 0 date 0 amount right 0 tranid 0 source 0 memo 0 status 0 category } \ -stretch all -background white \ -showseparators 1 \ -stripebg lightgreen \ -listvariable listContent set tbl .t $tbl columnconfigure 0 -name date -editable yes -editwindow entry \ -sortmode dictionary $tbl columnconfigure 1 -name amount -editable yes -editwindow entry \ -sortmode dictionary $tbl columnconfigure 2 -name tranid -editable yes -editwindow entry \ -sortmode dictionary $tbl columnconfigure 3 -name source -editable yes -editwindow entry \ -sortmode dictionary $tbl columnconfigure 4 -name memo -editable yes -editwindow entry \ -sortmode dictionary $tbl columnconfigure 5 -name status -editable yes -editwindow entry \ -sortmode dictionary $tbl columnconfigure 6 -name category -editable yes -editwindow entry \ -sortmode dictionary pack .t -fill both -expand 1 -side top .t insert end {2011-03-25 -55.00 WITHD {Online Payment 10644630 To Mar} Mow * {Home Repair:Yard Work}} .t insert end {2011-03-25 -150.79 WITHD {Online Payment 10644157 To Int} {Dr Ko for Marijo} * Medical} .t insert end {2011-03-25 -7.78 WITHD {MEIJER INC 258 2013 LA R052639} Food * Groceries} update idletasks puts $listContent ******************* |
From: David Z. <zol...@lr...> - 2011-03-28 21:14:11
|
Hi all, Good news: I finally found a way to submit successfully a starkit to App Store. :) Here is what I've done: 1) I included Kevin's appstorereceipt 1.0 package in my app 2) I wrapped my starkit with sdx for a custom interp: sdx wrap myapp.kit -interp ../../MacOS/MyApp 3) I moved this starkit in MyApp.app/Contents/Resources/Scripts/AppMain.tcl 4) I copied /System/Library/Frameworks/Tk.framework/Versions/8.5/Resources/Wish.app/Contents/MacOS/Wish in MyApp.app/Contents/MacOS/MyApp (you must rename it if you want .menu.apple displays the good app name). 5) I recorded a valid Info.plist and app.icns as explained by Apple. 6) I signed my app with command-line tool: codesign -f -s "3rd Party Mac Developer Application: Kroc" MyApp.app 7) I packaged my app with command-line tool: chmod -R 775 MyApp.app productbuild --component MyApp.app /Applications \ --sign "3rd Party Mac Developer Installer: Kroc" \ --product MyApp.app/Contents/Info.plist MyApp.pkg 8) Finally, I sent my app to itunes connect with Application Loader.app I hope this will help others to promote Tcl and starkits thru Apple's Appstore. -- David Zolli kr...@kr... http://www.kroc.tk |
From: Jeff H. <je...@ac...> - 2011-03-28 04:59:27
|
On 2011-03-26, at 6:28 PM, Jerry LeVan wrote: > One common action would be to copying a section ( not the whole cell contents) of a cell and > pasting it into an insertion point in another cell. > > It appears to me that one cannot copy ( cmd-c) a 'piece' of a cell and pasting ( cmd-v) always > seems to completely wipe out the contents of the target cell... > > Is there any way I can copy just a section of a table cell? > > Is there any way I can paste some text into a cell *at* the insertion point? There is no built-in support for this, but you could add it through extra bindings. With the 'icursor' subcommand, you can get or set the cursor position inside the cell. Since you know the value of the cell, you can then do all the other manipulation through bindings. However, more common is to place an entry or text widget for editing whenever you enter a cell, leverage those core widget features, then "commiting" the contents to the table on <Return> or similar binding. Jeff |
From: Jerry L. <jer...@gm...> - 2011-03-27 01:28:36
|
Hi, I understand that rosetta(?) won't be part of 'Lion', effectively killing the classic ppc applications, ie Quicken 2007.. In preparation for this I have written a small Tcl/Tk script that parses OFX files downloaded from my bank and credit card providers into a TkTable object. I can then save the table as a CSV file which can then imported into my Postgresql database. Unfortunately I have to do a fair amount of editing of the data in the table before it is saved as a CSV file. One common action would be to copying a section ( not the whole cell contents) of a cell and pasting it into an insertion point in another cell. It appears to me that one cannot copy ( cmd-c) a 'piece' of a cell and pasting ( cmd-v) always seems to completely wipe out the contents of the target cell... Is there any way I can copy just a section of a table cell? Is there any way I can paste some text into a cell *at* the insertion point? Thanks, Jerry |
From: Adrian R. <adr...@gm...> - 2011-03-25 06:37:11
|
On 2011/03/24, at 23:14, David Zolli wrote: > Le 24 mars 2011 à 22:07, David Zolli a écrit : > >> Now, I'ld like to understand ... why it use the blue feather icon instead of the one I set in the Info.plist? > > Just a funny thing you should try: it starts with my icon, then quickly switch to the blue feather. And when I quit, my icon reappears just before the icon start to shrink and vanish in the Dock. I've gotten this as well in my experiments w/Tk-Cocoa. |
From: David Z. <zol...@lr...> - 2011-03-24 21:14:20
|
Le 24 mars 2011 à 22:07, David Zolli a écrit : > Now, I'ld like to understand ... why it use the blue feather icon instead of the one I set in the Info.plist? Just a funny thing you should try: it starts with my icon, then quickly switch to the blue feather. And when I quit, my icon reappears just before the icon start to shrink and vanish in the Dock. -- David Zolli kr...@kr... http://www.kroc.tk |
From: David Z. <zol...@lr...> - 2011-03-24 21:07:48
|
Le 24 mars 2011 à 20:44, Daniel A. Steffen a écrit : > move the [. configure -menu .menu] to after you've added .apple, c.f. menu.n: Nice Daniel! It does it!! Now, I'ld like to understand why this menu is named 'tclsh' instead of my app name and why it use the blue feather icon instead of the one I set in the Info.plist? Of course, this Info.plist works fine with tclkit / basekit. -- David Zolli kr...@kr... http://www.kroc.tk |
From: Daniel A. S. <da...@ca...> - 2011-03-24 20:44:27
|
move the [. configure -menu .menu] to after you've added .apple, c.f. menu.n: Such a .apple menu must be present in a menu when that menu is first configured as a toplevel's menubar, otherwise a default application menu (hidden from Tk) will be inserted into the menubar at that time and subsequent addition of a .apple menu will no longer result in it becoming the Application menu. On Mar 24, 2011, at 12:15 PM, David Zolli wrote: > Le 24 mars 2011 à 19:45, Gerald W. Lester a écrit : > >> David, >> >> Can you post the exact code you used to create the image? > > Sure: > > KrocBook:~ dzolli$ /usr/bin/tclsh8.5 > % package require Tk > 8.5.7 > % menu .menu > % . configure -menu .menu > % menu .menu.apple -tearoff 0 > % .menu add cascade -label "Apple" -menu .menu.apple > % .menu.apple add command -label "About ArcCode" > > etc.. > > -- > David Zolli > kr...@kr... > http://www.kroc.tk > ------------------------------------------------------------------------------ > Enable your software for Intel(R) Active Management Technology to meet the > growing manageability and security demands of your customers. Businesses > are taking advantage of Intel(R) vPro (TM) technology - will your software > be a part of the solution? Download the Intel(R) Manageability Checker > today! http://p.sf.net/sfu/intel-dev2devmar > _______________________________________________ > Tcl-mac mailing list > tc...@li... > https://lists.sourceforge.net/lists/listinfo/tcl-mac |
From: David Z. <zol...@lr...> - 2011-03-24 19:59:35
|
Le 24 mars 2011 à 20:49, Trevor Williams a écrit : > If you remove the -label "Apple" from the "add cascade" line, what result do you get? I got an empty menu. :) http://www.casimages.com/img.php?i=110324090243116541.jpg -- David Zolli kr...@kr... http://www.kroc.tk |
From: David Z. <zol...@lr...> - 2011-03-24 19:15:15
|
Le 24 mars 2011 à 19:45, Gerald W. Lester a écrit : > David, > > Can you post the exact code you used to create the image? Sure: KrocBook:~ dzolli$ /usr/bin/tclsh8.5 % package require Tk 8.5.7 % menu .menu % . configure -menu .menu % menu .menu.apple -tearoff 0 % .menu add cascade -label "Apple" -menu .menu.apple % .menu.apple add command -label "About ArcCode" etc.. -- David Zolli kr...@kr... http://www.kroc.tk |
From: David Z. <zol...@lr...> - 2011-03-24 18:31:30
|
Le 24 mars 2011 à 18:22, Jeff Hobbs a écrit : > On 24/03/2011 10:00 AM, David Zolli wrote: >> >> >> However, I still have this problem with this "About Tcl& Tk" I can't remove from menu. :/ > > Yes you can, just add your 'About ...' to the magic .apple menu. Nope, it works with SA basekit but it doesn't in this case. When I add my 'About ..' it really adds another Apple menu in the menubar as you can see on this screenshot: http://www.casimages.com/img.php?i=110324073404648064.jpg The "About Tcl& Tk" I can't change is the one under "tclsh". -- David Zolli kr...@kr... http://www.kroc.tk |
From: Jeff H. <je...@ac...> - 2011-03-24 17:23:50
|
On 24/03/2011 10:00 AM, David Zolli wrote: > Le 24 mars 2011 à 17:33, Damon Courtney a écrit : > >> Kevin's solution so far has been to just build his own extensions to cover the shortfall in the base Tcl/Tk. You can package your own extensions fairly easily, and they don't run afoul of Apple's guidelines if they don't call into private APIs. > > Sure I can. > > In fact, I don't really understand why I should include Tcl and Tk frameworks in my app while I can just start it with a small run.sh shell script like this: > > #!/bin/sh > # Note we have to quote paths because they might contain spaces > dir=`dirname "$0"` > exec /usr/bin/tclsh8.5 "$dir/MyApp.kit" "$*" > > That's way easier to do, and as I'm using system tclsh, it should be ok for Apple reviewers. > > However, I still have this problem with this "About Tcl& Tk" I can't remove from menu. :/ Yes you can, just add your 'About ...' to the magic .apple menu. Jeff |
From: David Z. <zol...@lr...> - 2011-03-24 17:01:05
|
Le 24 mars 2011 à 17:33, Damon Courtney a écrit : > Kevin's solution so far has been to just build his own extensions to cover the shortfall in the base Tcl/Tk. You can package your own extensions fairly easily, and they don't run afoul of Apple's guidelines if they don't call into private APIs. Sure I can. In fact, I don't really understand why I should include Tcl and Tk frameworks in my app while I can just start it with a small run.sh shell script like this: #!/bin/sh # Note we have to quote paths because they might contain spaces dir=`dirname "$0"` exec /usr/bin/tclsh8.5 "$dir/MyApp.kit" "$*" That's way easier to do, and as I'm using system tclsh, it should be ok for Apple reviewers. However, I still have this problem with this "About Tcl & Tk" I can't remove from menu. :/ -- David Zolli kr...@kr... http://www.kroc.tk |