Commit Graph

237 Commits

Author SHA1 Message Date
Jack Jansen 2eda24475c Enums we cannot find are set to None, and enumsubst understands this (no substitution done). This is need for what I think are bugs in the Finder aete resources (some events use unknown enums). 2000-08-20 19:42:52 +00:00
Jack Jansen f58bbbe139 Finder suite. 2000-08-20 19:29:03 +00:00
Jack Jansen 4ef58af9a7 Regenerated with fixes to gensuitemodule. 2000-08-20 19:28:27 +00:00
Jack Jansen 5119a0bc2b Package with suites for talking to CodeWarrior. 2000-08-17 22:16:11 +00:00
Jack Jansen 47ff247e4b Package with suites for talking to netscape. 2000-08-17 22:15:41 +00:00
Jack Jansen ff792c2688 The package with standard suites. These are used separately and as base classes for other suite packages (StdSuite is slightly magical, in that it is the gensuitemodule default base package). 2000-08-17 22:14:57 +00:00
Jack Jansen ab48e905b5 Don't call BringToFront() on the dialog object, but call GetDialogWindow() to get a window object. 2000-07-24 14:07:15 +00:00
Jack Jansen 8d929aee49 All relevant toolbox modules have now been carbonized. 2000-06-21 22:07:06 +00:00
Jack Jansen d13c385462 Replaced OpenResFile calls with FSpOpenResFile calls (which are carbon-compatible). 2000-06-20 21:59:25 +00:00
Jack Jansen e79dc76f53 Made the core toolbox modules carbon-compatible using the new greylist feature of bgen: non-carbon methods are still included in non-carbon MacPython. The issue of backward compatibility of Python code is still open.
Macmodule and macosmodule have also been carbonified. Some functionality is still missing there.
2000-06-02 21:35:07 +00:00
Jack Jansen 317b2a6d59 Import this to replace open() by an extended version that uses
Internet Config to set creator/type based on the extension. Donated by
Oliver Steele.
2000-05-09 08:38:20 +00:00
Jack Jansen 0c6d037cc5 Removed string-exception preference, added tabcheck and NavService preference, upped version number. 2000-05-05 23:11:14 +00:00
Jack Jansen 1fdadcd42c Auto-install on import, if NavServices is available. Unless a "no navservices" flag is set Python automagically imports this module so code that uses macfs.xxxGetFile will get NavServices dialogs. 2000-05-05 23:10:58 +00:00
Jack Jansen 301f3f6baa Added accessor for kControlListBoxDoubleClickPart 2000-05-04 15:43:00 +00:00
Jack Jansen 316778860f Fix by Dan Green and Corran Webster to support LongDateTime
values. Untested by me.
2000-04-18 14:08:31 +00:00
Jack Jansen e31d3d66aa Return a handle in stead of a resource. 2000-04-07 09:08:37 +00:00
Just van Rossum f51872733c Added getaboutmenutext() method. (jvr) 2000-03-28 13:57:34 +00:00
Just van Rossum 0c3baaf19c my previous patch didn't give enough events to SIOUX, this one fixes that (jvr) 2000-03-27 17:13:32 +00:00
Just van Rossum 7ec7c8ad66 fixed several event handling buglets, added command Q support, added a new module doc string, some formatting nits. (jvr) 2000-03-27 16:22:53 +00:00
Jack Jansen 34d11f0670 Fixed multi-arg appends. 2000-03-07 23:40:13 +00:00
Jack Jansen 98b286c217 A module to parse/generate MediaDescription handles as used by QuickTime. Only
generic, video and audio implemented for now.
2000-03-02 16:11:36 +00:00
Jack Jansen 8574378ad4 In AskYesNoCancel() treat the "yes" and "no" buttons the same way as the cancel
button (i.e. an empty label hides the button).
2000-02-10 16:15:53 +00:00
Jack Jansen fca049d952 Made all textfields in message and question boxes minimal height and invisible, and use AutoSizeDialog() and ShowWindow() before doing interaction. 2000-01-18 13:36:02 +00:00
Jack Jansen 5c6634c807 - Actually _implemented_ SetFolder()
- Fixed StandardPutFile: prompt, default
- Check explicitly for userCanceledErr, pass other Nav.error exceptions through.
2000-01-13 16:26:35 +00:00
Jack Jansen d08833ff1d Two constants were missing. 2000-01-07 14:55:40 +00:00
Jack Jansen e9c69bc53e Support keys that have a Handle as parameter, by using the new GetControlDataHandle and SetControlDataHandle methods. 1999-12-19 00:06:52 +00:00
Jack Jansen 54b9ce1c4f StandardFile compatability routines. For the time being calling macfsn._install()
will install these in macfs (if Navigation is available).
1999-12-18 16:57:33 +00:00
Jack Jansen c15e43a2da Fixed menu glyph stuff.
Use MenuEvent in stead of MenuKey.
1999-12-15 15:45:23 +00:00
Just van Rossum 1a5eb04d47 Fixed buglet in Application.do_suspendresume(), it took the wrong flag to determine suspend/resume -- jvr 1999-12-15 14:55:16 +00:00
Jack Jansen 13681b73b5 If a menu shortcut is a tuple in stead of a char it is a tuple (modifierkeys, char [, glyph]). 1999-12-14 15:45:53 +00:00
Jack Jansen 1836dbe22d Regenerated now that bgen can handle a few more constructs in constant definitions. 1999-12-14 15:44:53 +00:00
Jack Jansen 60429e055e Fixed the password dialog to use a password control. 1999-12-13 16:07:01 +00:00
Jack Jansen a4deef82d5 C-style comments removed (again).
AE stuff got some extra definitions (don't know why these weren't checked in).
1999-12-13 16:05:47 +00:00
Jack Jansen 30f2080475 Methods {Get,Set}ControlData that know about data types passed for the various
4-char codes. The table which maps codes to datatypes is still pretty empty,
I'll fill it as I need entries (or maybe someone wants to spend a nice day filling it?).
1999-12-13 16:04:48 +00:00
Jack Jansen cc38688889 Updated Message, question, YNC and progress dialogs for Appearance. Password
remains to be done, and maybe we should convert everything to movablemodal too
and make things like question look nicer.
1999-12-12 22:57:51 +00:00
Jack Jansen a05ac607d7 Regenerated with CW Pro 5.2, which has MacOS 8.6 and Appearance 1.1 support. 1999-12-12 21:41:51 +00:00
Jack Jansen a6107f75c1 Regenerated, and manually massaged (sigh): there can now be comments after enum defs, and bgen doesn't understand this yet. 1999-12-09 22:51:01 +00:00
Jack Jansen 4d56ecf690 Minimal test of Dlg.SetControlData by Corran Webster: draw a default
ring around a button. Mainly here so I can transfer it home:-)
1999-12-09 15:36:36 +00:00
Jack Jansen b70699bcc5 Set the finder "is shared" bit, by request of Joe Strout. It seems this allows multiple simultaneous copies to be run from a server, and Applets shouldn't
write their datafork so it appears safe.
1999-12-03 23:38:05 +00:00
Jack Jansen 0c3e4b6ca1 Default schedparams set to (0,0): no event-intervention by Python mainloop. This
was always meant to be the default, and the new example-2 was pretty critical
of this.
1999-12-03 16:08:50 +00:00
Jack Jansen 58fa818c08 Changes to ProgressBar:
- Don't crash if max=0
- set() now has an optional max parameter, to set the maximum value.
1999-11-05 15:53:10 +00:00
Jack Jansen 231fffe1d4 AskString always set the dialog id to 257. Fixed. 1999-10-05 08:54:17 +00:00
Jack Jansen cab9476330 Drag manager constants. 1999-06-23 09:09:46 +00:00
Jack Jansen 1de2a92791 Initial minimal test program: print information on anything dropped onto Python
window.
1999-06-21 16:19:43 +00:00
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