Commit Graph

297 Commits

Author SHA1 Message Date
Jack Jansen ed24cd2cf7 DialogWindows now have a self.dlg in addition to self.wid. 2001-02-14 17:07:04 +00:00
Jack Jansen 3ff82a3a4c The new touched() was far too expensive. Re-enabled the old one, the ae-based one is available as touched_ae(). Have to read up on the subject of telling the finder about changes. 2001-02-14 17:06:32 +00:00
Jack Jansen 26d813e42c Got rid of full pathnames in "generated from" comments, so that these files are the same no mater which machine they've been generated on. 2001-02-12 16:09:44 +00:00
Jack Jansen 8a38714ba0 Bit the bullet and added a private GUSISIOUX for Python. This makes the delayconsole and keepopen code neater. Also tells Sioux to behave better with events, and handles cmd-. during print better. The pythonpreferences have also changed due to this. 2001-02-11 01:08:04 +00:00
Jack Jansen 7e31f68bf1 Replaced touched(), which no longer seems to work under os9, with something using an appleevent to the finder. More expensive, but at least it works:-) 2001-02-09 15:58:34 +00:00
Jack Jansen 34f83b3f56 Added a few constants. 2001-02-09 15:57:53 +00:00
Jack Jansen 784c611053 Dialogs and there windows were still confused in some spots. Fixed. 2001-02-09 15:57:01 +00:00
Jack Jansen def0d8da5a Get rid of from ... import * 2001-02-09 15:56:19 +00:00
Jack Jansen 01a2d9e281 Use FSpCreateResFile() in stead of CreateResFile().
Don't call OpenDeskAcc() and AppendResMenu() on Carbon.
2001-01-29 15:32:00 +00:00
Jack Jansen afd0aa680a Replace {Enable,Disable,Check}Item with their carbon-compatible equivalents {Enable,Disable,Check}MenuItem. 2001-01-29 13:29:47 +00:00
Jack Jansen 5a8115c94b Ported the icglue module to carbon. 2001-01-29 13:27:46 +00:00
Jack Jansen 4a4adf4293 Recognize {compiler} and {project} prefixes to pathnames and output the correct XML. 2001-01-24 16:04:50 +00:00
Jack Jansen b51362163a Removed extraneous references to Modules:TE 2001-01-23 23:19:13 +00:00
Jack Jansen 6abe676538 Various settings were unconditionally set. Allow them to be overridden in the settings dict. 2001-01-23 22:35:22 +00:00
Jack Jansen 50f6f6f621 If the template is not specified it depends on the current execution model (classic ppc or carbon). 2001-01-23 22:34:50 +00:00
Jack Jansen 6ecf14639d Added a template for Carbon plugin projects. 2001-01-23 22:33:31 +00:00
Jack Jansen a106f82e4e Moved files from template to template-ppc, as this is the template for classic PPC projects. 2001-01-23 22:33:01 +00:00
Jack Jansen 842818422b Use &# escape for non-ascii chars. 2001-01-23 20:56:25 +00:00
Jack Jansen 7302340436 Sigh... First test before committing. InvalWindowRect and friends are window object methods. Fixed. 2001-01-23 14:58:20 +00:00
Jack Jansen d829e9e8e3 Replaced InvalRect and friends with the Carbon-compliant InvalWindowRect. 2001-01-23 14:34:49 +00:00
Jack Jansen af4c942b8a Better test for skipping project creation: the project file should also exist and be newer than the xml file, and the .exp should exist. 2001-01-22 15:38:40 +00:00
Jack Jansen 441dea5f32 It's SetControlData_Handle, not SetControl_DataHandle. 2001-01-22 14:49:28 +00:00
Jack Jansen d6389956cb Don't generate project if the XML file already exists and is identical to what we've generated. Overridable with a "force" argument to mkproject(). 2001-01-21 22:23:13 +00:00
Jack Jansen e7bfc915da Carbon defines {Get,Set}ControlDataHandle, so unfortunately our variants on {Get,Set}ControlData have gotten an underscore: GetControlData_Handle, etc. 2001-01-09 22:22:58 +00:00
Jack Jansen a9e3db354d Carbon defines {Get,Set}ControlDataHandle, so unfortunately our variants on {Get,Set}ControlData have gotten an underscore: GetControlData_Handle, etc. This is an incompatible change:-( 2001-01-09 22:10:16 +00:00
Jack Jansen b55e5f1b62 Fixed a few declarations. 2001-01-03 16:44:27 +00:00
Jack Jansen e396c04832 struct.pack wants H for unsigned shorts, not h. 2001-01-03 11:14:12 +00:00
Jack Jansen 5a95e42841 Updated for new universal headers (oops... this was loooong due). 2001-01-01 22:58:20 +00:00
Jack Jansen 620e914266 Blacklisted a few constants with funny definitions (and they're not important anyway: backward compatible error numbers). 2000-12-19 21:33:51 +00:00
Jack Jansen 6fe608c840 Regenerated from Universal Headers 3.3.2 2000-12-12 22:08:00 +00:00
Jack Jansen 177fa8c25e Put all AE constants into AppleEvents.py 2000-12-12 22:06:53 +00:00
Jack Jansen 0eba959ed3 Added an extraexportsymbols option, to allow (you guessed it:-) extra export symbols to be specified. 2000-12-03 22:39:09 +00:00
Jack Jansen aee9d6b73e Allow recursive searh entries by ending the pathname in ":*". 2000-12-03 22:38:34 +00:00
Jack Jansen cb9b1ebe6c Don't generate SYM files by default. 2000-12-03 22:37:32 +00:00
Jack Jansen cb54be869c Added support for adding libraries.
Added support for project-relative and absolute path names in the search path entries.
2000-11-26 23:02:38 +00:00
Jack Jansen 707e964734 Added MathLib and InterfaceLib. Added Python:Include so #include "package/file.h" works. Moved bits around so now at least Numeric with Distutils builds and instals. 2000-11-19 21:53:15 +00:00
Jack Jansen 6f484cb25a Close the project after building it, so that building umpteen projects doesn't keep all the projects open. 2000-11-19 21:51:06 +00:00
Jack Jansen 185f42d917 struct.pack has become picky about h (short) and H (unsigned short). 2000-10-22 21:59:23 +00:00
Jack Jansen 62e3843ca7 Removed try/except TypeError around calling the ae handler function, it masksprogrammer errors and obfuscates the stacktrace. Suggested by Tattoo Mabonzo K. 2000-10-19 20:49:12 +00:00
Jack Jansen 749023695e Use MacOS.OutputSeen() on menuselections: it treats a menu selection in the same way as input to stdin (i.e. as an ack of the output that went before). This makes the CGI tools work nicely for Quit. 2000-10-19 20:32:35 +00:00
Jack Jansen fd9925af56 Use MacOS.OutputSeen() on menuselections. Removed KeepConsole code again. This solution is better: it treats a menu selection in the same way as input to stdin (i.e. as an ack of the output that went before). 2000-10-19 20:31:51 +00:00
Jack Jansen f2bd9ee357 Use MacOS.KeepConsole to always exit if the program calls FrameWork._quit(). Overridable with a class variable keepconsole. 2000-10-12 21:25:37 +00:00
Jack Jansen 55a0bde290 Handle the ****/**** appleevent wildcard when called as a main program, so that it becomes a handy debugging tool (BuildApplet, copy aete resource, apply applescript to it). 2000-09-24 22:00:11 +00:00
Jack Jansen 486f138224 Added a workaround for shortcomings in the OSA support: there can be class/property conflicts and passing classes as arguments doesn't work. The package now seems to work. 2000-09-24 21:56:43 +00:00
Jack Jansen 4a751580ca mkcwproject now works, but for one thing: the import of the XML document as a project through AppleEvents. 2000-09-22 23:54:07 +00:00
Jack Jansen 9a8df7db6b Test files for mkcwproject 2000-09-22 23:28:40 +00:00
Jack Jansen 07642c3689 More bits and pieces of project generation. 2000-09-22 23:26:55 +00:00
Jack Jansen 4a5eb967b8 Keepconsole is now a 4-way option: never/errorexit/unseen output/always. Default is "unseen output". Upped the Popt version number. 2000-09-22 21:50:11 +00:00
Jack Jansen fdd2269fcc Allow lists of files/fsspecs as the source for copy() and move(). By
Bill Bedford, slightly edited by me.
2000-09-22 12:17:14 +00:00
Jack Jansen 0bb0a90b20 Various tweaks and bugfixes to GetArgv. It now appears good enough for Distutils. 2000-09-21 22:01:08 +00:00