Commit Graph

193 Commits

Author SHA1 Message Date
Jack Jansen 0d3be0aa55 Class around PixMap objects that allows more python-like access. By Joe Strout. 1999-04-13 11:45:46 +00:00
Jack Jansen 81da9f146c Remove all owner resources from template, and if no owner resource contained in
applet-specific rsrc file we add a "Pyta" owner resource. Owner resources have both id=0 and name="Owner resource" (is this always true?).
1999-03-17 22:57:55 +00:00
Jack Jansen a4e6ae6667 Offscreen bitmap support, first stab. PixMaps are still treated as ordinary
handles, not fullblown python objects, and UpdateGWorld returns a new GWorld
object in stead of modifying the existing one.
1999-03-07 23:11:21 +00:00
Jack Jansen 57ed139c22 Added App module (appearance manager interface). 1999-03-04 23:00:11 +00:00
Jack Jansen cf2efc67d9 Uncommented AskYesNoCancel docstring (how did it get commented in the first place?) 1999-02-25 22:05:45 +00:00
Jack Jansen 208c15ab85 Added optional arguments to dialogs to allow setting of button titles. 1999-02-16 16:06:39 +00:00
Just van Rossum cdcc0f0c3c AskPassword(): added reference to the module doc string; added support for autoKey events. --jvr 1999-02-15 00:04:05 +00:00
Jack Jansen 3b8052685c (finally) unified the interpreter and the applet as Just suggested ages ago. The
resulting program is called PythonInterpreter.
1999-02-14 23:12:06 +00:00
Jack Jansen b92268aa3f Added AskPassword() with same interface as AskString. By Steve Majewski with some mods by me (SchedParams call, default value). Selects are still impossible, though, and the cursor doesn't blink. 1999-02-10 22:38:44 +00:00
Jack Jansen 49fc666033 Use typeFloat for all floating point values. The previously used
typeExtended was a Think-ism that must have stopped working years and
years ago without anyone noticing.
1999-02-10 09:51:35 +00:00
Just van Rossum 26a69db4c7 put the preferences file in a folder called "Python" inside the prefs folder, just like the IDE does -- jvr 1999-02-02 15:49:03 +00:00
Just van Rossum 874f87b546 set 'preload' attribute for __main__ PYC resource -- jvr 1999-01-30 22:31:26 +00:00
Just van Rossum 1cea8047d8 skip 'vers' resource when copying resources from templeate -- jvr 1999-01-30 21:20:10 +00:00
Jack Jansen f25813ac6c Re-committed as AppleSingle 1999-01-29 12:06:21 +00:00
Just van Rossum 5763e07ea3 cleaned up ugly hack related to activate events and suspend/resume -- jvr 1999-01-27 14:22:11 +00:00
Jack Jansen 90c3c164e0 In unpackevent, get the direct object (----) before asking for missed parameters.
The documentation is unclear on this, but the old implementation caused problems
with Default Folder.
1999-01-22 13:23:12 +00:00
Jack Jansen d61f92bab3 Select the whole default input field in AskString (Joe Strout) 1999-01-22 13:14:06 +00:00
Jack Jansen a0fcd25800 Don't qualify local symbols with aetools... 1999-01-21 13:34:26 +00:00
Jack Jansen d9f5a39ef3 Manually added definitions for normal, bold, etc. These are in MacTypes (of all
places) which isn't worth bgenning.
1999-01-21 13:31:30 +00:00
Jack Jansen b736a87703 Project files converted for CW Pro 4. And the daylight savings time switch seems to have "modified" the resource files (but nothing has changed there). 1998-11-01 22:11:33 +00:00
Jack Jansen 260400f3f5 Removed debug print 1998-10-21 13:41:03 +00:00
Jack Jansen 341d1fe18e For submenus remember the parent and parent index, so we can grey out our
entry if the menu is disabled. This does create a circular reference, so cleanup
becomes more important.
1998-10-15 15:29:16 +00:00
Jack Jansen 0e0d3e7c2b Set kAECanInteract and kAECanSwitchLayer flags for the finder interactions. 1998-10-15 14:02:54 +00:00
Jack Jansen deff89c8be Replaced fprintf(stderr,...) with PySys_WriteStderr(...) where appropriate. 1998-10-12 20:53:15 +00:00
Jack Jansen d5af7bd489 Truncate messages if they are longer than 255 characters. Note that this is
not really a good solution for default input strings...
1998-09-28 10:37:08 +00:00
Jack Jansen fb37f89b81 Replaced all remaining BinHex files with their binary counterparts. 1998-08-20 15:03:49 +00:00
Jack Jansen b93f52158b Support for freezing packages (Just). 1998-08-18 12:23:11 +00:00
Jack Jansen 813c997b76 Common code for BuildApplet, BuildApplication and fullbuild (Just) 1998-07-31 09:42:35 +00:00
Jack Jansen 87440e44d8 Extended replacement for scripts:cfmfile.py (Just) 1998-07-31 09:41:59 +00:00
Jack Jansen 871fad2641 Added has_key() method to IC object.
Removed a debug print.
1998-07-31 09:39:28 +00:00
Jack Jansen 5c44027d8a Added a delete() method to menu entries. Only the last entry of a menu
can be deleted, but that's good enough for things like a "Windows"
menu with the dynamic list of open windows at the end of the menu.
1998-07-13 13:41:02 +00:00
Jack Jansen a5a49818aa Convert \n to \r in strings that are displayed in the dialogs. 1998-07-01 15:47:44 +00:00
Jack Jansen 41e825a8f4 For ControlWindow there is a new method do_rawcontrolhit(), which gets
control before TrackControl is called. The default implementation
calls TrackControl and then do_controlhit().

For ScrolledWindow, do_rawcontrol passes a tracker function to
TrackControl if the mouse is in one of the arrows or grey areas, and
the tracker handles scrolling. For the thumb part nothing has changed.
1998-05-28 14:22:48 +00:00
Jack Jansen bb6193c553 Added a PopupMenu class. 1998-05-06 15:33:09 +00:00
Jack Jansen d38dc64a8d Regenerated with FOUR_CHAR_CODE defined 1998-04-27 15:07:43 +00:00
Jack Jansen 7b7a2c2e11 Added new folder types 1998-04-24 10:42:01 +00:00
Jack Jansen 0ec0e63928 Added FOUR_CHAR_CODE define 1998-04-24 10:41:38 +00:00
Jack Jansen 41dc72fa1f Regenerated with FOUR_CHAR_CODE defined 1998-04-23 13:23:12 +00:00
Jack Jansen 4e126636a2 Regenerated from new (3.1) universal headers 1998-04-21 15:21:52 +00:00
Jack Jansen 36659fef2a Re-generated with slightly more intelligent script 1998-04-21 15:21:21 +00:00
Jack Jansen b8fd1f18ab Tabnanny fixes 1998-04-15 14:35:16 +00:00
Jack Jansen 1301f2bc18 __file__ now sometimes refers to the .pyc file 1998-03-02 16:57:01 +00:00
Jack Jansen bfb77a07cb Oops, this wasn't checked in yet: part of the AE structure for the new
universal headers.
1998-02-25 15:44:38 +00:00
Jack Jansen 0e4033a680 Module to use Mac serial port as a communication link 1998-02-25 15:43:57 +00:00
Jack Jansen 0aa9782d17 Helper routines to create standalone Python applications. 1998-02-25 15:42:48 +00:00
Jack Jansen f7d8f45414 Hack to get at string buffer address changed 1998-02-25 15:42:03 +00:00
Jack Jansen 5e58bcdb7a Regenerated from Universal Headers 3.0.1 (which are changed
substantially from previous releases)
1998-02-20 15:54:44 +00:00
Jack Jansen 7c2fddf423 Updated to Waste 1.3 1998-02-20 15:53:58 +00:00
Jack Jansen 7b56aad2e1 Break circular reference on menus upon cleanup 1998-02-20 15:51:39 +00:00
Jack Jansen 20989e834d Mods by Bill Bedford
- Use internal version of finder class so we don't drag in finder
  tools
- error -1704 also ignored during arg unpack
- Use Scriptable Text Editor for example
1998-01-16 14:40:10 +00:00