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: Kevin W. <kw...@co...> - 2015-07-23 02:32:36
|
I have just released aem 1.0, a lightweight mechanism for Tcl/Tk applications on Mac OS X to respond to Apple Events This package allows Tcl/Tk applications on Mac OS X to respond to arbitrary Apple Events, the Mac's system-level application IPC protocol. The Apple Events mechanism allows Mac applications to script other applications using the AppleScript language--to query them for data, execute commands, and similar functions--in a manner similar to COM scripting on Windows and shell scripting on Unix. The package differs from an older Apple Events package, TclAE (http://tclae.sourceforge.net/), which is a thin wrapper over tne entire Apple Event framework and is more low-level and complex. The aem package only provides a way for a Tcl application to respond to Apple Event queries sent to it by other processes, i.e. to make a Tcl application scriptable via AppleScript. The aem package defines only a single command, aem::installeventhandler, which takes three parameters: an event class, an event ID, and a Tcl command. The event class and event ID are arbitrary four-character codes that are registered with the operating system via the installeventhandler command, and the Tcl command is the internal Tcl command that is executed when the application receives an Apple Event. Conceptually, the event class can be viewed as the application or developer's signature, while the event ID corresponds to specific commands it may execute. The package can be downloaded from http://fossil.codebykevin.com/fossil.cgi/tk-components/timeline as part of the tk-components suite; see instructions there on how to download the library. It is released under Tcl's BSD-style license. Thanks, Kevin -- Kevin Walzer Code by Kevin/Mobile Code by Kevin http://www.codebykevin.com http://www.wtmobilesoftware.com |
From: Kevin W. <kw...@co...> - 2015-07-14 11:09:08
|
On 7/14/15 6:32 AM, Andy Colebourne wrote: > > I’ve been using Togl for a long time but with the newer OS X systems, > it seems that I can no longer use it. > > Has anyone made a new Togl that works with the recent Tcl/TK and OSX? > > Failing that – any suggestions on how I can get a OpenGL window inside > my Tcl/Tk application would be most gratefully received. > > Andy > > www.ac3d.org <http://www.ac3d.org> > > The Togl developers keep a Cocoa fork of Togl here: http://plato.cgl.ucsf.edu/trac/chimera/browser/trunk/foreign/Togl If you use UCSF Chimera you will see it works fine. Guess they have not gotten around to releasing it formally. Kevin -- Kevin Walzer Code by Kevin/Mobile Code by Kevin http://www.codebykevin.com http://www.wtmobilesoftware.com |
From: Andy C. <an...@ac...> - 2015-07-14 10:51:15
|
I've been using Togl for a long time but with the newer OS X systems, it seems that I can no longer use it. Has anyone made a new Togl that works with the recent Tcl/TK and OSX? Failing that - any suggestions on how I can get a OpenGL window inside my Tcl/Tk application would be most gratefully received. Andy www.ac3d.org |
From: Kevin W. <kw...@co...> - 2015-06-19 11:05:28
|
On 6/19/15 4:07 AM, Christopher Sean Morrison wrote: > In all, exciting progress! Thank you to everyone for their efforts > that made this possible. Lovely! Glad to see the changes are working out for you. Kevin -- Kevin Walzer Code by Kevin/Mobile Code by Kevin http://www.codebykevin.com http://www.wtmobilesoftware.com |
From: Christopher S. M. <br...@ma...> - 2015-06-19 08:07:39
|
Hi All, I just thought to share some progress made just a couple hours ago, shown in the included screenshot URL. What you’re looking at there is a nearly fully-functional MGED — which is BRL-CAD’s primary production GUI — running natively on Mac OS X without X11 for the first time. It’s using the latest AquaTk build that was provided recently. http://brlcad.org/tmp/aqua_mged.png The last time this was attempted with our most complex application was several years ago and it was an unstable minefield of issues. There are still a few issues to sort out (not shown), but in all this is phenomenally awesome. For some perspective of just how involved this was to achieve (as the screenshot seems misleadingly simple), MGED is a complex application that embeds Tcl via the C API for its main run loop. It utilizes a slew of Tcl/Tk extensions, loads over 100k lines of application logic in Tcl/Tk/Itcl/Itk/Iwidgets, and heavily calls into Tcl from C for nearly all processing, event handling, logging, I/O, etc. Both the large red window and the smaller rendering window actually have graphics contexts implemented via Tk C API with the larger one providing a custom interactive 3D environment using Tk Pixmap and the smaller displaying an asynchronous incrementally rendered (ray traced) 2D image using Tk_PhotoImageBlock. There’s also dozens of complex/custom dialogs, windows, and other elements not shown. In all, exciting progress! Thank you to everyone for their efforts that made this possible. Cheers! Sean |
From: <and...@ac...> - 2015-06-09 04:24:19
|
Hello tcl-mac, fyi ... 22nd Annual Tcl/Tk Conference (Tcl'2015) http://www.tcl.tk/community/tcl2015/ October 19 - 23, 2015 Comfort Suites Manassas 7350 Williamson Blvd, 20109 Manassas, Virginia, USA Important Dates: [[ Attention! Registration is open! Please have a look at http://www.tcl.tk/community/tcl2015/register.html ]] Abstracts and proposals due August 24, 2015 Notification to authors August 31, 2015 WIP and BOF reservations open July 27, 2015 Author materials due September 28, 2015 Tutorials Start October 19, 2015 Conference starts October 21, 2015 Email Contact: tcl...@go... Submission of Summaries Tcl/Tk 2015 will be held in Manassas, Virginia, USA from October 19, 2015 to October 23, 2015. The program committee is asking for papers and presentation proposals from anyone using or developing with Tcl/Tk (and extensions). Past conferences have seen submissions covering a wide variety of topics including: * Scientific and engineering applications * Industrial controls * Distributed applications and Network Managment * Object oriented extensions to Tcl/Tk * New widgets for Tk * Simulation and application steering with Tcl/Tk * Tcl/Tk-centric operating environments * Tcl/Tk on small and embedded devices * Medical applications and visualization * Use of different programming paradigms in Tcl/Tk and proposals for new directions. * New areas of exploration for the Tcl/Tk language Submissions should consist of an abstract of about 100 words and a summary of not more than two pages, and should be sent as plain text to tcl...@go... no later than August 24, 2015. Authors of accepted abstracts will have until September 28, 2015 to submit their final paper for the inclusion in the conference proceedings. The proceedings will be made available on digital media, so extra materials such as presentation slides, code examples, code for extensions etc. are encouraged. Printed proceedings will be produced as an on-demand book at lulu.com The authors will have 30 minutes to present their paper at the conference. The program committee will review and evaluate papers according to the following criteria: * Quantity and quality of novel content * Relevance and interest to the Tcl/Tk community * Suitability of content for presentation at the conference Proposals may report on commercial or non-commercial systems, but those with only blatant marketing content will not be accepted. Application and experience papers need to strike a balance between background on the application domain and the relevance of Tcl/Tk to the application. Application and experience papers should clearly explain how the application or experience illustrates a novel use of Tcl/Tk, and what lessons the Tcl/Tk community can derive from the application or experience to apply to their own development efforts. Papers accompanied by non-disclosure agreements will be returned to the author(s) unread. All submissions are held in the highest confidentiality prior to publication in the Proceedings, both as a matter of policy and in accord with the U. S. Copyright Act of 1976. The primary author for each accepted paper will receive registration to the Technical Sessions portion of the conference at a reduced rate. Other Forms of Participation The program committee also welcomes proposals for panel discussions of up to 90 minutes. Proposals should include a list of confirmed panelists, a title and format, and a panel description with position statements from each panelist. Panels should have no more than four speakers, including the panel moderator, and should allow time for substantial interaction with attendees. Panels are not presentations of related research papers. Slots for Works-in-Progress (WIP) presentations and Birds-of-a-Feather sessions (BOFs) are available on a first-come, first-served basis starting in July 27, 2015. Specific instructions for reserving WIP and BOF time slots will be provided in the registration information available in July 27, 2015. Some WIP and BOF time slots will be held open for on-site reservation. All attendees with an interesting work in progress should consider reserving a WIP slot. Registration Information More information on the conference is available the conference Web site (http://www.tcl.tk/community/tcl2015/) and will be published on various Tcl/Tk-related information channels. To keep in touch with news regarding the conference and Tcl events in general, subscribe to the tcl-announce list. See: http://code.activestate.com/lists/tcl-announce to subscribe to the tcl-announce mailing list. Conference Committee * Andreas Kupries ActiveState Inc * Arjen Markus Deltares * Brian Griffin Mentor Graphics * Clif Flynt Noumena Corp * Cynthia Lilagan National Museum of Health & Medicine, Chicago * Donal Fellows University of Manchester * Gerald Lester KnG Consulting LLC * Jeff Hobbs ActiveState Inc * Joe Mistachkin Mistachkin Systems * Kevin Kenny GE Global Research Center * Larry Virden * Mike Doyle National Museum of Health & Medicine, Chicago * Ronald Fox CAEN Technologies NSCL @ Michigan State University * Steve Landers Digital Smarties * Steve Redler, IV SR Technology Contact Information tcl...@go... Tcl'2015 would like to thank those who are sponsoring the conference: * ActiveState Inc * Buonacorsi Foundation * Mentor Graphics * Noumena Corp * SR Technology * Tcl Community Association |
From: Kevin W. <kw...@co...> - 2015-05-31 02:17:04
|
On 5/30/15 5:16 PM, Trevor Williams wrote: > Here�s a test script. If the script works correctly, the image should > be green �C� shape with blue on the inside of the C shape and white on > the outside. If the script fails, image will not contain any blue on > the inside of the C. I am only seeing this issue on the Mac (version > 8.5.18). It appears to work with 8.5.8 but broken in 8.5.9. I > verified that at least 8.5.15 on a Kubuntu 15.04 system appears to > render the graphic properly. There does appear to be a difference in how it renders under Mac native and under X11. Not sure when I'll have time to investigate further. --Kevin -- Kevin Walzer Code by Kevin/Mobile Code by Kevin http://www.codebykevin.com http://www.wtmobilesoftware.com |
From: Trevor W. <pha...@me...> - 2015-05-30 21:17:00
|
Here’s a test script. If the script works correctly, the image should be green ‘C’ shape with blue on the inside of the C shape and white on the outside. If the script fails, image will not contain any blue on the inside of the C. I am only seeing this issue on the Mac (version 8.5.18). It appears to work with 8.5.8 but broken in 8.5.9. I verified that at least 8.5.15 on a Kubuntu 15.04 system appears to render the graphic properly. set data "#define left_width 8\n#define left_height 20\nstatic char left_bits\[\] = {\n0xc0, 0xf0, 0x38, 0x0c, 0x06, 0x06, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x06, 0x06, 0x0c, 0x38, 0xf0, 0xc0};" set mask "#define left_mask_width 8\n#define left_mask_height 20\nstatic char left_mask_bits\[\] = {\n0xff, 0xff, 0x3f, 0x0f, 0x07, 0x07, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x07, 0x07, 0x0f, 0x3f, 0xff, 0xff};" set img [image create bitmap -data $data -maskdata $mask -foreground green -background white] pack [label .l -image $img -borderwidth 0 -background blue] Thanks, Trevor > On May 30, 2015, at 9:56 AM, Kevin Walzer <kw...@co...> wrote: > > Trevor, > > There is nothing to go on here to reproduce the issue. Can you please post a sample script that illustrates what you see? Also, is this a Mac-specific issue, or visible on other platforms as well? > > Kevin > > On 5/30/15 1:23 AM, pha...@ic... <mailto:pha...@ic...> wrote: >> I have noticed that bitmask image support appears to be broken in regards to the -maskdata option. According to the documentation, any bit in the data that is cleared should be transparent, but this doesn't seem to be the case. >> >> >> >> Thanks, >> Trevor >> > > -- > Kevin Walzer > Code by Kevin/Mobile Code by Kevin > http://www.codebykevin.com <http://www.codebykevin.com/> > http://www.wtmobilesoftware.com <http://www.wtmobilesoftware.com/> > ------------------------------------------------------------------------------ > _______________________________________________ > Tcl-mac mailing list > tc...@li... > https://lists.sourceforge.net/lists/listinfo/tcl-mac |
From: Kevin W. <kw...@co...> - 2015-05-30 14:56:45
|
Trevor, There is nothing to go on here to reproduce the issue. Can you please post a sample script that illustrates what you see? Also, is this a Mac-specific issue, or visible on other platforms as well? Kevin On 5/30/15 1:23 AM, pha...@ic... wrote: > I have noticed that bitmask image support appears to be broken in > regards to the -maskdata option. According to the documentation, any > bit in the data that is cleared should be transparent, but this > doesn't seem to be the case. > > > Thanks, > Trevor > -- Kevin Walzer Code by Kevin/Mobile Code by Kevin http://www.codebykevin.com http://www.wtmobilesoftware.com |
From: <pha...@ic...> - 2015-05-30 05:23:26
|
I have noticed that bitmask image support appears to be broken in regards to the -maskdata option. According to the documentation, any bit in the data that is cleared should be transparent, but this doesn't seem to be the case. Thanks, Trevor |
From: Damon C. <da...@tc...> - 2015-05-04 17:45:33
|
Ok, this was my misunderstanding then. The docs say this for ::tk::mac::OpenDocument: If a proc of this name is defined it is the default Apple Event handler for kAEOpenDocuments, “odoc”, the Apple Event sent when your application is asked to open one or more documents (e.g., by drag & drop onto the app or by opening a document of a type associated to the app). The proc should take as arguments paths to the files to be opened, like so: It was the “by drag & drop onto the app” that got me. Damon > On May 3, 2015, at 9:35 AM, Kevan Hashemi <ha...@br...> wrote: > >> If the behavior you are looking for is to have the app respond when you drag the file to the app window... > > I misunderstood as well. Apologies. I was thinking only of dragging the file onto the Finder icon, not the app window. > > -- > Kevan Hashemi, Electrical Engineer > Physics Department, Brandeis University > http://alignment.hep.brandeis.edu/ |
From: Kevan H. <ha...@br...> - 2015-05-03 14:35:47
|
> If the behavior you are looking for is to have the app respond when you > drag the file to the app window... I misunderstood as well. Apologies. I was thinking only of dragging the file onto the Finder icon, not the app window. -- Kevan Hashemi, Electrical Engineer Physics Department, Brandeis University http://alignment.hep.brandeis.edu/ |
From: Kevin W. <kw...@co...> - 2015-05-03 01:07:59
|
On 5/2/15 8:00 PM, Damon Courtney wrote: > I’m pretty sure FileMorph works because you’re including tkdnd. That was my next move, but I was hoping there was some Tk magic based on the documentation. Looks like I need tkdnd, which is fine, I must have just misinterpreted the docs. If the behavior you are looking for is to have the app respond when you drag the file to the app window, you are correct--that is tkdnd. I understood you to be asking about dropping the file on the app icon in Finder (not Dock), sorry if I misunderstood. --Kevin -- Kevin Walzer Code by Kevin/Mobile Code by Kevin http://www.codebykevin.com http://www.wtmobilesoftware.com |
From: Damon C. <da...@tc...> - 2015-05-02 23:43:22
|
> Have you defined a tk::mac::OpenDocument procedure? That's what handles the open event. Yes, I have it defined. That’s how I can get it to open files with “Open With…” from the Finder. > By the way, none of this has anything to do with Cocoa--it's basic Apple Events, which Tk has supported since the dark ages. That’s what I figured, but I just couldn’t figure out what I was doing wrong. Oh, well, I’ve bugged everyone enough. I’ll figure it out or just move on without the extra feature. Damon |
From: Kevin W. <kw...@co...> - 2015-05-02 23:08:05
|
On 5/2/15 5:50 PM, Damon Courtney wrote: > Just more information. Even the base Wish.app defines .tcl as an extension it accepts, and I can�t drop a .tcl file onto it. I also went back and built 8.5.18 and tried, and it�s not working there either. > > This is all on Yosemite, by the way. > > Damon > > Have you defined a tk::mac::OpenDocument procedure? That's what handles the open event. By the way, none of this has anything to do with Cocoa--it's basic Apple Events, which Tk has supported since the dark ages. --Kevin -- Kevin Walzer Code by Kevin/Mobile Code by Kevin http://www.codebykevin.com http://www.wtmobilesoftware.com |
From: Damon C. <da...@tc...> - 2015-05-02 21:50:33
|
Just more information. Even the base Wish.app defines .tcl as an extension it accepts, and I can’t drop a .tcl file onto it. I also went back and built 8.5.18 and tried, and it’s not working there either. This is all on Yosemite, by the way. Damon > On May 2, 2015, at 1:51 PM, Damon Courtney <da...@tc...> wrote: > >> In my Info.plist I have the following lines, embedded in the larger xml structure, to say it will try to open anything. >> >> <key>CFBundleTypeExtensions</key> >> <array><string>*</string></array> >> >> The operating system appears to have some memory of previous values for the CFBundleTypeExtension, however, so that when I change it from "*" to "yyy" it still lets me open "txt" files. I seem to recall having to re-start the finder to get the changes to be accepted. > > I thought that was all I had to do. In my case I’m using .epub files, but I used a bunch of different combinations to try and find the right magic string, and I still can’t get anything to drop. If I right-click the file, I can Open it with my app (it shows up in the list registered for the .epub file extension). But I still can’t just drop a file on the running app. > > I’m still looking at it though. :) > > Damon |
From: Damon C. <da...@tc...> - 2015-05-02 18:51:26
|
> In my Info.plist I have the following lines, embedded in the larger xml structure, to say it will try to open anything. > > <key>CFBundleTypeExtensions</key> > <array><string>*</string></array> > > The operating system appears to have some memory of previous values for the CFBundleTypeExtension, however, so that when I change it from "*" to "yyy" it still lets me open "txt" files. I seem to recall having to re-start the finder to get the changes to be accepted. I thought that was all I had to do. In my case I’m using .epub files, but I used a bunch of different combinations to try and find the right magic string, and I still can’t get anything to drop. If I right-click the file, I can Open it with my app (it shows up in the list registered for the .epub file extension). But I still can’t just drop a file on the running app. I’m still looking at it though. :) Damon |
From: Kevan H. <ha...@br...> - 2015-05-02 18:25:59
|
Dear Damon, > I tweaked the Info.plist file, and I’m pretty sure it’s right. In my Info.plist I have the following lines, embedded in the larger xml structure, to say it will try to open anything. <key>CFBundleTypeExtensions</key> <array><string>*</string></array> The operating system appears to have some memory of previous values for the CFBundleTypeExtension, however, so that when I change it from "*" to "yyy" it still lets me open "txt" files. I seem to recall having to re-start the finder to get the changes to be accepted. > I have it working just fine in an a couple of my apps. Here is an example open document procedure declaration. proc tk::mac::OpenDocument {args} { puts "$args" } I believe these are the only two steps I had to take with a Wish shell compiled with "make embedded" from 8.5.8 sources, and I can open documents by dropping on the icon in MacOS 10.7.5. I want to re-compile and make sure a clean application with these two steps will work, but I'm having some technical problems with the compile (don't have /Developer/Tools/Rez) so will be delayed. Yours, Kevan -- Kevan Hashemi, Electrical Engineer Physics Department, Brandeis University http://alignment.hep.brandeis.edu/ |
From: Damon C. <da...@tc...> - 2015-05-02 14:19:11
|
So, just as a test, I stole FileMorph’s Info.plist file and dropped it into mine and just replaced the executable name to call my own. So, presumably, all the filetype declarations and everything else are exactly the same. I know I can drop files into FileMorph, and it works. But even with the same Info.plist file, I can’t drop them onto my app. What version of Wish does FileMorph ship with? Could this be related to the new Tk Cocoa? I know it’s tiring answering seemingly stupid questions, but I’m just trying to figure this out. Damon > On May 2, 2015, at 9:13 AM, Damon Courtney <da...@tc...> wrote: > > I see that FileMorph works, so it’s got to be something in my Info.plist that’s not allowing it. I just can’t figure out what it is. I can’t determine the magic voodoo incantation to make my app accept a given filetype. :) > > I guess I’ll keep plugging away at it. Thanks for the help. > > Damon > > >> On May 1, 2015, at 6:55 PM, Kevin Walzer <kw...@co...> wrote: >> >> On 5/1/15 5:17 PM, Damon Courtney wrote: >>> You can drop files on the Dock icon, and that works, but the docs indicate that you can drop files onto the application itself. That’s not what I’m seeing, so I was curious if someone had this working. >> I have it working just fine in an a couple of my apps. >> >> --Kevin >> >> -- >> Kevin Walzer >> Code by Kevin/Mobile Code by Kevin >> http://www.codebykevin.com >> http://www.wtmobilesoftware.com >> > |
From: Damon C. <da...@tc...> - 2015-05-02 14:13:32
|
I see that FileMorph works, so it’s got to be something in my Info.plist that’s not allowing it. I just can’t figure out what it is. I can’t determine the magic voodoo incantation to make my app accept a given filetype. :) I guess I’ll keep plugging away at it. Thanks for the help. Damon > On May 1, 2015, at 6:55 PM, Kevin Walzer <kw...@co...> wrote: > > On 5/1/15 5:17 PM, Damon Courtney wrote: >> You can drop files on the Dock icon, and that works, but the docs indicate that you can drop files onto the application itself. That’s not what I’m seeing, so I was curious if someone had this working. > I have it working just fine in an a couple of my apps. > > --Kevin > > -- > Kevin Walzer > Code by Kevin/Mobile Code by Kevin > http://www.codebykevin.com > http://www.wtmobilesoftware.com > |
From: Kevin W. <kw...@co...> - 2015-05-01 23:55:44
|
On 5/1/15 5:17 PM, Damon Courtney wrote: > You can drop files on the Dock icon, and that works, but the docs indicate that you can drop files onto the application itself. That’s not what I’m seeing, so I was curious if someone had this working. I have it working just fine in an a couple of my apps. --Kevin -- Kevin Walzer Code by Kevin/Mobile Code by Kevin http://www.codebykevin.com http://www.wtmobilesoftware.com |
From: Damon C. <da...@tc...> - 2015-05-01 21:17:17
|
You can drop files on the Dock icon, and that works, but the docs indicate that you can drop files onto the application itself. That’s not what I’m seeing, so I was curious if someone had this working. Damon > On May 1, 2015, at 4:10 PM, Damon Courtney <da...@tc...> wrote: > > I tweaked the Info.plist file, and I’m pretty sure it’s right. > > Does this work for anyone? Does anyone have this working? > > >> On May 1, 2015, at 3:25 PM, Kevin Walzer <kw...@co...> wrote: >> >> You may need to read Apple's docs about configuring the info.plist file to identify the document types your app can handle. Without that the open event is ignored. >> >> >>> On May 1, 2015, at 4:15 PM, Damon Courtney <da...@tc...> wrote: >>> >>> I had already read through your tutorial, but it didn’t have what I needed. The ‘make embedded’ is what I was looking for. :) >>> >>> Now, for another one. I’ve created the ::tk::mac::OpenDocument proc in my app, and it opens files properly when I right-click and open with the application, but my app is not responding to drag-and-drop events. I can’t drop a file on the app, and the Tk docs seem to imply that you can. >>> >>> Does that still work? I’m using the latest Tk tip, so I should be using the new Cocoa stuff (though I’m not sure how I would know). >>> >>> Damon >>> >>> >>>> On Apr 30, 2015, at 8:21 PM, Kevin Walzer <kw...@co...> wrote: >>>> >>>> On 4/30/15 4:46 PM, Damon Courtney wrote: >>>>> So, once you have a build from source, how do you build a standalone .app on the Mac? build/tk/ contains all the necessary pieces, but I’m not sure where they should all go. It would seem that the frameworks need to inside the .app bundle, but Wish.app itself is a symlink into Tk.framework. >>>>> >>>>> Seems there’s a lot of recursion here, and I’m not sure how to unravel this snake. :) >>>> Here's a general tutorial on prepping an app bundle: >>>> >>>> http://opensource.codebykevin.com/tutorial.html >>>> >>>> To build a standalone version of Wish with the frameworks embedded, see http://wiki.tcl.tk/12987. You'll need to scroll down the page and look for "embedded." >>>> >>>> Hope that helps, >>>> Kevin >>>> >>>> -- >>>> Kevin Walzer >>>> Code by Kevin/Mobile Code by Kevin >>>> http://www.codebykevin.com >>>> http://www.wtmobilesoftware.com >>> > |
From: Damon C. <da...@tc...> - 2015-05-01 21:11:01
|
I tweaked the Info.plist file, and I’m pretty sure it’s right. Does this work for anyone? Does anyone have this working? > On May 1, 2015, at 3:25 PM, Kevin Walzer <kw...@co...> wrote: > > You may need to read Apple's docs about configuring the info.plist file to identify the document types your app can handle. Without that the open event is ignored. > > >> On May 1, 2015, at 4:15 PM, Damon Courtney <da...@tc...> wrote: >> >> I had already read through your tutorial, but it didn’t have what I needed. The ‘make embedded’ is what I was looking for. :) >> >> Now, for another one. I’ve created the ::tk::mac::OpenDocument proc in my app, and it opens files properly when I right-click and open with the application, but my app is not responding to drag-and-drop events. I can’t drop a file on the app, and the Tk docs seem to imply that you can. >> >> Does that still work? I’m using the latest Tk tip, so I should be using the new Cocoa stuff (though I’m not sure how I would know). >> >> Damon >> >> >>> On Apr 30, 2015, at 8:21 PM, Kevin Walzer <kw...@co...> wrote: >>> >>> On 4/30/15 4:46 PM, Damon Courtney wrote: >>>> So, once you have a build from source, how do you build a standalone .app on the Mac? build/tk/ contains all the necessary pieces, but I’m not sure where they should all go. It would seem that the frameworks need to inside the .app bundle, but Wish.app itself is a symlink into Tk.framework. >>>> >>>> Seems there’s a lot of recursion here, and I’m not sure how to unravel this snake. :) >>> Here's a general tutorial on prepping an app bundle: >>> >>> http://opensource.codebykevin.com/tutorial.html >>> >>> To build a standalone version of Wish with the frameworks embedded, see http://wiki.tcl.tk/12987. You'll need to scroll down the page and look for "embedded." >>> >>> Hope that helps, >>> Kevin >>> >>> -- >>> Kevin Walzer >>> Code by Kevin/Mobile Code by Kevin >>> http://www.codebykevin.com >>> http://www.wtmobilesoftware.com >> |
From: Kevin W. <kw...@co...> - 2015-05-01 20:25:15
|
You may need to read Apple's docs about configuring the info.plist file to identify the document types your app can handle. Without that the open event is ignored. > On May 1, 2015, at 4:15 PM, Damon Courtney <da...@tc...> wrote: > > I had already read through your tutorial, but it didn’t have what I needed. The ‘make embedded’ is what I was looking for. :) > > Now, for another one. I’ve created the ::tk::mac::OpenDocument proc in my app, and it opens files properly when I right-click and open with the application, but my app is not responding to drag-and-drop events. I can’t drop a file on the app, and the Tk docs seem to imply that you can. > > Does that still work? I’m using the latest Tk tip, so I should be using the new Cocoa stuff (though I’m not sure how I would know). > > Damon > > >> On Apr 30, 2015, at 8:21 PM, Kevin Walzer <kw...@co...> wrote: >> >> On 4/30/15 4:46 PM, Damon Courtney wrote: >>> So, once you have a build from source, how do you build a standalone .app on the Mac? build/tk/ contains all the necessary pieces, but I’m not sure where they should all go. It would seem that the frameworks need to inside the .app bundle, but Wish.app itself is a symlink into Tk.framework. >>> >>> Seems there’s a lot of recursion here, and I’m not sure how to unravel this snake. :) >> Here's a general tutorial on prepping an app bundle: >> >> http://opensource.codebykevin.com/tutorial.html >> >> To build a standalone version of Wish with the frameworks embedded, see http://wiki.tcl.tk/12987. You'll need to scroll down the page and look for "embedded." >> >> Hope that helps, >> Kevin >> >> -- >> Kevin Walzer >> Code by Kevin/Mobile Code by Kevin >> http://www.codebykevin.com >> http://www.wtmobilesoftware.com > |
From: Damon C. <da...@tc...> - 2015-05-01 20:15:36
|
I had already read through your tutorial, but it didn’t have what I needed. The ‘make embedded’ is what I was looking for. :) Now, for another one. I’ve created the ::tk::mac::OpenDocument proc in my app, and it opens files properly when I right-click and open with the application, but my app is not responding to drag-and-drop events. I can’t drop a file on the app, and the Tk docs seem to imply that you can. Does that still work? I’m using the latest Tk tip, so I should be using the new Cocoa stuff (though I’m not sure how I would know). Damon > On Apr 30, 2015, at 8:21 PM, Kevin Walzer <kw...@co...> wrote: > > On 4/30/15 4:46 PM, Damon Courtney wrote: >> So, once you have a build from source, how do you build a standalone .app on the Mac? build/tk/ contains all the necessary pieces, but I’m not sure where they should all go. It would seem that the frameworks need to inside the .app bundle, but Wish.app itself is a symlink into Tk.framework. >> >> Seems there’s a lot of recursion here, and I’m not sure how to unravel this snake. :) >> >> > Here's a general tutorial on prepping an app bundle: > > http://opensource.codebykevin.com/tutorial.html > > To build a standalone version of Wish with the frameworks embedded, see http://wiki.tcl.tk/12987. You'll need to scroll down the page and look for "embedded." > > Hope that helps, > Kevin > > -- > Kevin Walzer > Code by Kevin/Mobile Code by Kevin > http://www.codebykevin.com > http://www.wtmobilesoftware.com > |