Commit Graph

751 Commits

Author SHA1 Message Date
Jack Jansen 84872293dd Get preference file name from a resource.
Changed for 1.8.0 CWGUSI release
1996-10-22 15:33:02 +00:00
Jack Jansen d09deac2da Also put aliases to PythonCore{PPC,CFM68K} in the extensions folder 1996-10-22 15:32:06 +00:00
Jack Jansen 2d359bf212 Updated the instructions for the 1.4 release 1996-10-22 15:29:58 +00:00
Jack Jansen e272303dc1 Added a note about incorrect "PythonCore not found" message
Added a few comments on preference file handling.
1996-10-22 15:29:15 +00:00
Jack Jansen 061ac50ec9 Added a note about PythonApplet name 1996-10-22 15:27:56 +00:00
Jack Jansen baffd68a19 Version upped to 1.4, removed some unused dialogs, added STR resource
with preference filename.
1996-10-22 15:26:48 +00:00
Jack Jansen 83c74dfa2a - Get preference filename from a resource
- Create the file if it doesn't exist and don't be fussy about it
1996-10-22 15:25:42 +00:00
Jack Jansen d081b13c0d Added resource for preference file name 1996-10-22 15:24:21 +00:00
Jack Jansen f8c684d32c Ported to CW10 1996-10-16 15:30:24 +00:00
Jack Jansen 319f1a25fc Added a warning about gusi cfm68k "far data" 1996-10-16 15:28:30 +00:00
Jack Jansen 6d1356e9a6 Changed Types to types. 1996-10-15 16:32:07 +00:00
Jack Jansen 59b912adf5 Fixed xstat to again include resroucefork size, creator, type. Obtain
thru macstat(), but other values via stat() (so os.stat() and
os.xstat() agree).
1996-10-15 16:13:33 +00:00
Jack Jansen 3a4b3b0132 Fixed flashing in ProgressBar update. 1996-10-15 16:11:50 +00:00
Jack Jansen a58d89eec4 'documented' resource-number useage of EditPythonPrefs 1996-10-11 13:19:52 +00:00
Jack Jansen 145c92dfb5 Moved resources to 510/511: the numbers above 512 gave problems when
editing preferences in applets with their own dialogs
1996-10-11 11:30:26 +00:00
Jack Jansen 0eb8837560 Prepared for Tk windowing implementation 1996-10-09 09:38:46 +00:00
Jack Jansen b96aeafdc3 tweaked some of the positions of interface elements. 1996-10-09 09:38:06 +00:00
Jack Jansen 3c7739a754 Create img modules for cfm68k too. 1996-10-08 09:25:02 +00:00
Jack Jansen 6f1ee20501 Use mac_image (from cmif stuff)
Fixed off-by-four error
Keep data around so it won't get reclaimed
1996-10-04 15:22:37 +00:00
Jack Jansen 30fe363fd8 Fixed progressbar cleanup 1996-10-04 15:21:00 +00:00
Jack Jansen 7df3606f0d Fixed object-handler-install bug 1996-10-01 11:41:14 +00:00
Jack Jansen 9f2ff9124c Fixed bug in object-handler install arg handling 1996-10-01 10:48:45 +00:00
Jack Jansen cfb60ee1e8 Fixed very nasty null-dereferencing bug in DisposeControl/destroy
object.
1996-10-01 10:46:46 +00:00
Jack Jansen eb76b8484d Added DebugStr method to drop into low-level debugger 1996-09-30 14:43:22 +00:00
Jack Jansen 05cf7e040b Added VCHECK compile time option that fills allocated and freed blocks
with garbage.
1996-09-30 14:42:28 +00:00
Jack Jansen a1560cfb29 - Simplified inheritance structure (still not good enough)
- Added menubar in stead of buttons
- (optionally) switch menubar back and forth to facilitate debugging
  FrameWork applications
- Handle "Open Document" appleevent
- Fixed click in grow-box location
- Allow a new debug session after previous one has finished
1996-09-26 16:26:05 +00:00
Jack Jansen b1667ef782 Menu callbacks can be strings, in which case they will be looked up in
the top window.
The menubar is redrawn in the event loop in stead of for every change.
1996-09-26 16:17:08 +00:00
Jack Jansen 13bfbe77d6 Fixed PM debugging
Added different arrow-icons for running/calling/returning/exception
1996-09-25 14:09:35 +00:00
Jack Jansen 5c30388861 Disabled splash screen, added ShowMessage 1996-09-25 14:08:40 +00:00
Jack Jansen 4892ab7f79 The Window Independent Tracer (which will probably move elsewhere once
it is truly window-independent:-)
1996-09-24 15:35:50 +00:00
Jack Jansen f5b31c94a2 Changed about box to come up invisibly (so we can move it to the right
location without flashing).
1996-09-23 15:52:48 +00:00
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
Jack Jansen 055782a15e Removed silly dialog 1996-08-28 14:16:39 +00:00
Jack Jansen 0a3a74c071 Projects for 1.4b3 distribution: debugging off, optimizations on, etc. 1996-08-28 14:14:09 +00:00
Jack Jansen 4ecc8c2b03 "Small" 68K interpreter, without waste, img and tkinter 1996-08-28 14:11:43 +00:00
Jack Jansen a82b045e8d Version upped 1996-08-28 13:53:54 +00:00
Jack Jansen 4634130aad Added setwatchcursor() and setarrowcursor() functions 1996-08-28 13:53:07 +00:00
Jack Jansen a1293dae7b Updated for 1.4b3 1996-08-28 13:51:11 +00:00
Jack Jansen a78d76dcaf Added note that these instruction are for a full source distribution,
not a mac source distribution
1996-08-28 13:50:21 +00:00
Jack Jansen 057971528d Fixed names of vairous plugins to build, added a couple and added
possibility to create standalone pythons and fat pythons (the latter
not functional yet).
1996-08-23 15:52:56 +00:00
Jack Jansen f57df795ad - MWRuntimeStatic{arch} are static versions of MW shared runtime
libraries
- Except for the above the whole library architecture conforms to MW
  documentation.
- PythonCorePPC also uses .exp file now
- Static pythons have full complement of modules
- cfm versions of all possible plugins created (not tested)
1996-08-23 15:51:48 +00:00
Jack Jansen bc17d299cc Turn on USE_TK and MAC_TCL by default 1996-08-23 15:46:12 +00:00
Jack Jansen 5bd85d93c4 Always call __initialize(), also on PPC 1996-08-23 15:45:26 +00:00
Jack Jansen 27b10eced7 - Added cfm68k instructions
- Changed names of various things
- Explain how to recreate .exp files.
1996-08-23 15:44:18 +00:00
Jack Jansen 25b361fc14 Adapted for cfm68k, new names and split off of qt. 1996-08-20 16:35:30 +00:00
Jack Jansen e420178ba6 Rationalized header files:
- mwerks_nonshared_config.h for standalone pythons
- mwerks_shared_config.h for shared pythons (PythonCore, app and
  applet)
- mwerks_plugin_config.h for plugins
Only the _tkinter plugin uses a customized header.

Old config files have gone to the "old" directory, for the time being.
1996-08-20 16:34:01 +00:00
Jack Jansen 4b2c386777 - Gave PPC shared libraries (and projects) .ppc in their name
- Created CFM68K projects (not all tested yet!!)
- Moved quicktime to its own module
- Modified the README file to (approximately) resemble reality
1996-08-20 16:27:19 +00:00
Jack Jansen 7bbd1a5327 Added void before main 1996-08-20 16:21:06 +00:00
Jack Jansen 16ff8728d8 - Renamed USE_BGEN to USE_TOOLBOX
- Moved Qt and Cm out of toolbox into private library (so people
  without QuickTime can install PPC Python)
1996-08-20 16:20:31 +00:00
Jack Jansen bbe2ae168c Re-binhexed 1996-08-20 16:18:42 +00:00
Jack Jansen bf05d4cd6f Fixed command-. handling
Added hacks for GetEventQueue (so you don't have to edit Events.h)
1996-08-19 15:11:45 +00:00
Jack Jansen a06f13dc78 Fixed to work for ppc and cfm68k 1996-08-19 15:10:50 +00:00
Jack Jansen 7e124ea86a Guido:
- define USE_CHECKSTACK
- Comment on defines used
1996-08-19 11:38:54 +00:00
Jack Jansen 499a8afd0f Removed debug printf 1996-08-19 11:38:03 +00:00
Jack Jansen 3bc6fe636a Removed obsolete cfm68k ifdef (Guido) 1996-08-19 11:37:32 +00:00
Jack Jansen 007fa82581 Include config.h 1996-08-19 11:36:59 +00:00
Jack Jansen cfadbd40e1 Guido:
- new SpinCursor (replacing Jack's almost-identical one)
- use GetEventQueue in stead of GetEvQHdr
1996-08-19 11:36:25 +00:00
Jack Jansen 76ceece75a Guido: added some void's to declarations 1996-08-19 11:18:24 +00:00
Jack Jansen 9ff06cea7f Guido: changed __sinit to __initialize for CFM68K. 1996-08-19 11:17:33 +00:00
Jack Jansen cb7f3fc72c Fixes by Guido: HAVE_CONFIG_H, USE_STACKCHECK and
USE_MAC_DYNAMIC_LOADING are no longer needed. Also, WASTE and IMG
removed in some places.
1996-08-19 11:16:32 +00:00
Jack Jansen 32b27f11c1 No USE_MACSPEECH for CFM68K (the interface library appears to be missing) 1996-08-19 11:02:13 +00:00
Jack Jansen 7ac70afed1 Dummy SpinCursor() if __CFM68K__ is defined 1996-08-19 11:01:05 +00:00
Jack Jansen e5649c75f0 Removed {Set,Get}SoundVol (old calls not supported by cfm68k) 1996-08-19 10:59:44 +00:00
Jack Jansen ee8662febd Fixed viewrect/destrect calculation 1996-08-19 10:58:37 +00:00
Jack Jansen c442d43ab9 Changed to use 8-byte doubles. Also re-enabled optimizations, 68020
codegen.
1996-08-07 14:54:48 +00:00
Jack Jansen 3638935bcd Moved build.html to building.html 1996-08-07 13:19:16 +00:00
Jack Jansen 4c1e56c742 Changed instructions for new releases of cwgusi, waste and tcl/tk,
moved some urls around, reformatted.
1996-08-06 16:16:20 +00:00
Jack Jansen 3d159f09a6 New releases of CWGUSI, Waste and Tcl/Tk. 1996-08-06 16:08:45 +00:00
Jack Jansen bb708ae12c Updated for new tcl/tk release 1996-08-06 16:07:17 +00:00
Jack Jansen 3ca6eddb12 GUSI mkdir() lost its dummy second arg 1996-08-06 16:06:31 +00:00
Jack Jansen eb1284be97 New waste release 1996-08-06 16:05:24 +00:00
Jack Jansen 2268af5873 Upgraded to Waste 1.2f 1996-08-06 16:04:22 +00:00
Jack Jansen 6aadd26419 rebinhexed 1996-08-05 15:40:37 +00:00
Jack Jansen 8f2d802a9e Build instructions for source distribution that were somehow never
checked in.
Modified: removed stdwin references, added note on tcl memory allocation.
1996-08-05 15:34:45 +00:00
Jack Jansen bbe04d0f9f Removed references to mactcp, macdnr and stdwin modules
Rebinhexed resource files
1996-08-02 15:22:26 +00:00
Jack Jansen 402030fbff 1.4b2 projects 1996-08-02 15:20:08 +00:00
Jack Jansen 4f1fe327c2 Upped version number, rebinhexed everything 1996-08-02 15:17:32 +00:00
Jack Jansen 1d2f863e51 Guido's 1.4b2 fixes: Py_GetProgramName, Py_GetPrefix and Py_GetExecPrefix. 1996-08-02 15:16:16 +00:00
Jack Jansen d84e7aaf00 Regenerated 1996-08-02 11:24:34 +00:00
Jack Jansen 84c21a803e Regenerated from CW9 includes (only QuickDraw really got a few new values) 1996-08-02 11:22:55 +00:00
Jack Jansen 70463665d3 PyMac_BuildNumVersion added 1996-08-02 11:21:03 +00:00
Jack Jansen e5b7b850f7 CW9 1996-08-01 15:37:24 +00:00
Jack Jansen 880e6eb409 Removed debug output 1996-08-01 15:30:33 +00:00
Jack Jansen a6d78c44a7 Removed unused var 1996-08-01 15:27:18 +00:00
Jack Jansen 5674e4ec17 NumVersion stuff has changed 1996-08-01 15:26:05 +00:00
Jack Jansen d1f06313f6 - Minimum stacksize is now 8K for PPC, 4K for 68K
- Added PyMac_BuildNumVersion
1996-08-01 15:23:54 +00:00
Jack Jansen 8431733c07 Allow only one selection (this tests settability of selFlags) 1996-07-26 16:04:29 +00:00
Jack Jansen 16038ee18e Regenerated 1996-07-26 16:03:49 +00:00
Jack Jansen 6451cff2c3 Added access to selFlags and listFlags members (both read and write) 1996-07-26 16:03:16 +00:00
Jack Jansen ded835c7f5 Mods by Just:
- Better staggering of windows
- Windows have zoombox by default, and zooming works
- DrawControls->UpdateControls
- Better scrollbar show/hide
1996-07-26 14:01:07 +00:00
Jack Jansen d99d283383 Added SetFolder method which sets Standard File initial folder 1996-07-22 15:26:01 +00:00
Jack Jansen 1ed9529a68 Added PyOS_CheckStack() function which returns -1 when we are running
low on stackspace.
1996-07-22 15:25:10 +00:00
Jack Jansen 98bfad75ac Added USE_STACKCHECK define 1996-07-22 15:23:58 +00:00
Jack Jansen 024a387f89 - Added a file dialog example
- Added pointers to library documentation
1996-07-18 16:07:05 +00:00
Jack Jansen a547dcaff0 Old names changed to Py_GetCopyright, etc. 1996-07-10 15:48:25 +00:00
Jack Jansen 84d0bfcbe0 inittab is a "struct _inittab". 1996-07-10 15:47:19 +00:00
Jack Jansen 5220d020b9 Given a module/pathname file created by findmodulefiles compile all
needed modules and create a file full of PYC resources.
1996-07-10 13:19:08 +00:00
Jack Jansen eaa1959c07 Use py_resource module 1996-05-31 13:02:52 +00:00
Jack Jansen 0acb7f7a57 Module to handle PYC resources 1996-05-31 13:02:21 +00:00
Jack Jansen 31dd5c083b PyMac_GetFixed() didn't return 1 on success 1996-05-31 13:01:39 +00:00
Jack Jansen 4122216739 Modified for 1.3.3 distribution 1996-05-20 11:32:49 +00:00