Commit Graph

724 Commits

Author SHA1 Message Date
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
Jack Jansen ab7fcdd770 Added splash method (to quickly display splash screen without first
having to load a zillion extension modules)
1996-05-20 11:32:00 +00:00
Jack Jansen 9d640a3d84 Added waste 1996-05-20 11:31:13 +00:00
Jack Jansen 25241d9978 Fixed callback handling on 68K machines. 1996-05-20 11:30:45 +00:00
Jack Jansen 12fe9fb18e re-binhexed for 1.3.3 distribution 1996-05-20 11:30:09 +00:00
Jack Jansen ee21706f18 Added waste and _tkinter modules 1996-05-20 11:29:41 +00:00
Jack Jansen 4f0456d95d Recreated tkpython.rsrc, upped version number 1996-05-20 11:29:09 +00:00
Jack Jansen 5fb54324cd Added USE_WASTE define 1996-05-20 11:28:32 +00:00
Jack Jansen 1b63b27c78 Fixed up for 1.3.3 distribution, removed various old (and nuused)
project files.
1996-05-20 11:27:38 +00:00
Jack Jansen 4915c99248 Export OptResObj_{New,Convert} 1996-05-20 11:24:18 +00:00
Jack Jansen 86a853ff77 Changed for 1.3.3 distribution 1996-05-20 11:22:41 +00:00
Jack Jansen 3355be3f35 Added _id attribute to GrafPort objects (real id of grafport, numeric) 1996-05-08 15:33:20 +00:00
Jack Jansen d9585c936b Fixed reference to cr/lf problems 1996-05-07 15:28:20 +00:00
Jack Jansen 1df16d095e A version of swed that can import html files. Also demonstrates
implementing object handlers in Python.
1996-05-07 15:25:36 +00:00
Jack Jansen 42bc4b245a Added call to initialize standard (i.e. implemented in C) embedded
object handlers
1996-05-07 15:24:55 +00:00
Jack Jansen 756522f426 Added support for callbacks (for embedded objects) 1996-05-07 15:24:01 +00:00
Jack Jansen 0f6dc5b888 Added MenuItem methods setstyle(), seticon(), setmark() 1996-04-23 16:18:33 +00:00
Jack Jansen 782405fb78 Extension to wed that handles styles, fonts and sizes 1996-04-23 16:17:54 +00:00
Jack Jansen 8ae8e4f963 Made style and soup handles optional 1996-04-23 16:17:08 +00:00
Jack Jansen efe8c9c746 An interface to the WASTE textedit replacement library. 1996-04-19 16:03:58 +00:00
Jack Jansen f2331de3ae Keep .exp files in cvs tree 1996-04-19 16:03:08 +00:00
Jack Jansen b4c93811cb Copy .exp files to mwerks project directory too. 1996-04-19 16:02:20 +00:00
Jack Jansen 3ba03b291f An example of waste 1996-04-19 16:01:31 +00:00
Jack Jansen c4eec9fce1 - Confine window moves to screen boundaries
- Added windowbounds() function to help programmer with staggering
  windows
- Added event parameter to idle routine
- Added settext(label) method to menu entries
- Erase/invalidate only visRgn in stead of everything
- Correctly handle clicks in inactive ControlWindows
1996-04-19 16:00:28 +00:00
Jack Jansen 2cc41604c7 Minimal waste test program, modified from ttedit. 1996-04-19 15:57:52 +00:00
Jack Jansen 08365425f6 Added documentation on FrameWork, TextEdit and Waste
Updated minor things in the other documents (pathnames, etc)
1996-04-19 15:56:08 +00:00
Jack Jansen 8444507faf Use FrameWork.windowbounds(), fixed idle routine 1996-04-19 15:54:47 +00:00
Jack Jansen dce32a93d3 Idle callback is now supplied with the null event causing it. 1996-04-19 15:54:04 +00:00