Commit Graph

620 Commits

Author SHA1 Message Date
Jack Jansen 0e06e7e7d5 About boxes should be at 20% of screen height, not halfway 1996-09-23 15:51:06 +00:00
Jack Jansen 04df9d5ad4 Added dialog-centering code to splash() 1996-09-23 15:49:43 +00:00
Jack Jansen d96cb5088a Added support for GetDialogWindow and other accessor functions 1996-09-23 15:48:46 +00:00
Jack Jansen 0d1069e42f Finally *tested* effect of fg and bg yield values (and changed them:-) 1996-09-22 22:15:20 +00:00
Jack Jansen d617c57dce Changed default background yield time to 1 tick 1996-09-22 22:14:30 +00:00
Jack Jansen b9e5e14158 Use auto-start functionality of aetools.TalkTo and aetools.Error for
server-generated errors.
1996-09-20 15:30:52 +00:00
Jack Jansen 977fbf271e raise aetools.Error in stead of MacOS.Error on server-generated errors 1996-09-20 15:29:59 +00:00
Jack Jansen 433a48ef36 Regenerated to use aetools.Error in stead of MacOS.Error. 1996-09-20 15:29:08 +00:00
Jack Jansen c46f56e35f - Added optional "start" argument to TalkTo initialializer, which
starts the app (if needed).
- Added aetools.Error, which is returned in case of server-generated
  errors (better than MacOS.Error, which was raised previously)
1996-09-20 15:28:28 +00:00
Jack Jansen 0585d41198 Convenience routines: wrappers around some of the scriptable finder
functionality.
1996-09-20 15:26:20 +00:00
Jack Jansen 924ca855da Added macfs.FindApplication() to find application FSSpec given signature. 1996-09-20 15:25:16 +00:00
Jack Jansen bdf03a0072 - Regenerated suites
- Use (and document) "start" argument to TalkTo initializer
1996-09-20 15:22:47 +00:00
Jack Jansen 35bfd3f9d7 Created Finder 7.0 AE interface and a test program that uses the
finder to launch an application.
1996-09-19 10:49:53 +00:00
Jack Jansen ef5cd05c3d Calling Application._quit() is now preferred over raising self. 1996-09-17 12:39:12 +00:00
Jack Jansen 4cb945454a Added _quit() method similar to FrameWork in stead of setting
self.quitting by hand.
1996-09-17 12:36:35 +00:00
Jack Jansen 647535d390 - Use a flag (self.quitting) as preferred method of exiting mainloop
- Added optional "nomenubar" argument to Application.__init__
1996-09-17 12:35:43 +00:00
Jack Jansen 29a3355ab9 Added macostools.touch() calls to inform the finder of our changes. 1996-09-15 22:13:59 +00:00
Jack Jansen 57d53a90d9 - Optionally copy file times for copy/copytree (default on)
- Added touch(file) routine to tell the finder a files icon or
  something has changed (*finally* found out how to do this)
1996-09-15 22:13:26 +00:00
Jack Jansen df34cf1206 Fixed macos.splash to actually *draw* the splash box:-) 1996-09-15 22:12:00 +00:00
Jack Jansen 0bdf979af7 Added [GS]etDates methods to get and set creation, modification and
backup times.
1996-09-15 22:11:25 +00:00
Jack Jansen daed771fbb Py_GetProgramName turns out not to be obsolete (used by _tkinter). 1996-09-09 14:48:05 +00:00
Jack Jansen ffb170ee37 PPC companion to Python68KSmall. 1996-09-09 14:47:04 +00:00
Jack Jansen 4bc0566a7c It turns out that Py_GetProgramName is used after all... 1996-09-09 14:45:55 +00:00
Jack Jansen 1247a4612b Fixed to use appletbundle in stead of bundle resource file 1996-09-09 14:45:07 +00:00
Jack Jansen d9877c1869 Code to add shlib resource fork was not enabled, also made project
layout more similar to ppc project layout
1996-09-09 14:44:26 +00:00
Jack Jansen e1c3f36cc4 Documented preliminary CGI applet. 1996-09-09 01:48:40 +00:00
Jack Jansen 09da209ce4 Added ref to cgi.html 1996-09-09 01:48:03 +00:00
Jack Jansen 5a1a175170 Example CGI applet 1996-09-09 01:47:24 +00:00
Jack Jansen f4c4f9e9e1 (preliminary) framework for scriptable applications 1996-09-09 01:46:11 +00:00
Jack Jansen f428c9e317 Turned off debugging output 1996-09-09 01:45:25 +00:00
Jack Jansen 16e99c06aa Added note about modified gusi 1996-09-07 17:11:26 +00:00
Jack Jansen 7d5f9e847a - Put all options in a struct
- Unified initialization code for interpreter and applet
- Implemented new options to skip AE-processing for argc/argv and for
  disabling interactive option setting
1996-09-07 17:09:31 +00:00
Jack Jansen 6d653ab1b6 Got rid of toollibs, moved some libraries around 1996-09-07 17:06:49 +00:00
Jack Jansen 0890857adf Removed faulty gusi resource 1996-09-07 17:06:12 +00:00
Jack Jansen 10496eb571 Added handling for new options, fixed applet option setting 1996-09-07 17:01:47 +00:00
Jack Jansen 6c4e987443 Allow editing selected bits of the GUSI preferences (creator, type and
delayed-sioux-window flag).
1996-09-06 22:25:34 +00:00
Jack Jansen ca3cddd4a2 Removed duplicate gusi pref from bundle
Added "Delay sioux window" to template for gusi resource
1996-09-06 22:22:15 +00:00
Jack Jansen 3f7d2b4319 - Rationalized override preferences support, by remembering
application resource fork RefNum and looking there only
- Added support for loading gusi prefs from Preferences file (needs
  modified GUSI, but Matthias promised he'd incorporate the fixes in
  the next release)
1996-09-06 22:21:07 +00:00
Jack Jansen 3d228879fe macglue: added PyMac_AppRefNum
pythonresources: elaborated comment on preferences, added new options
1996-09-06 22:18:40 +00:00
Jack Jansen 3469e997b4 Python about box implemented. Slightly convoluted, since (a) we have
to override an internal sioux routine and (b) we have to override the
"about sioux" menuitem after sioux has created its menus.
1996-09-06 00:30:45 +00:00
Jack Jansen ac4d869433 Completely redone. mkestrres now parses errno.h and Errors.h files
(which have the descriptions of the errors in comments) and
generates errors.txt, macerrors.py and errors.rsrc
1996-09-05 15:22:16 +00:00
Jack Jansen 6c3d35aeb9 Regenerated, now also includes errno values plus explanations 1996-09-05 15:20:27 +00:00
Jack Jansen f12e7093d5 Check that our override pythonpath is actually coming from the
application, not from some system extension that happens to use the
same resource id.
1996-09-05 15:19:24 +00:00
Jack Jansen b9bf6e2dde Removed unused vars 1996-09-05 15:17:57 +00:00
Jack Jansen 4a5be817da Symbolic names for all error codes from Errors.h and errno.h 1996-09-05 15:17:01 +00:00
Jack Jansen 22fa64249c Added a note that redirecting stdin/stdout does not work due to gusi bug. 1996-09-05 15:15:59 +00:00
Jack Jansen f6865f77d4 - Fixed PyMac_DoYield:
- Update lastyield correctly
  - Do event handling if PyMac_YieldEnabled > 0 (previous cmd-. fix
    broke this)
- Use our own GUSISpin routine: fixes crash when exiting with sockets
  open and keeps windows, etc reacting consistently when waiting for
  accepts(), etc.
1996-09-04 15:24:59 +00:00
Jack Jansen e3c90a4232 Merged Guido's mkaliases and Jack's MkPluginAliases 1996-08-28 14:19:53 +00:00
Jack Jansen 86288976b6 Completely revamped: it now uses separate instruction files per
distribution. Also, the user interface has been cleaned up a bit.
1996-08-28 14:18:58 +00:00
Jack Jansen a662cf401a Removed RunLibScript from build 1996-08-28 14:17:35 +00:00