Jack Jansen
8ce72f50b5
Low-level interface to Internet Config (to be augmented by nice Python
...
wrapper shortly)
1997-01-07 16:18:32 +00:00
Jack Jansen
3beb3363d4
Minimal test of icglue module
1997-01-07 16:17:44 +00:00
Jack Jansen
f3dd5aab2f
- CWGUSI has moved
...
- Changed instructions for Tcl 7.6/Tk 4.2
1996-12-23 17:29:51 +00:00
Jack Jansen
a742d117db
Added a chapter on using OSAXen
1996-12-23 17:28:53 +00:00
Jack Jansen
a83caa0331
Added range of resource-ids for twit.
1996-12-23 17:23:23 +00:00
Jack Jansen
c75e1d052b
Added Application.cleanup method which asks all windows to close
...
themselves and returns true if they did.
1996-12-23 17:22:40 +00:00
Jack Jansen
81aa0e2888
Added gdbm (if USE_GDBM defined)
1996-12-23 17:21:20 +00:00
Jack Jansen
b280e2bac2
Moved resources around to forestall conflicts with debuggee
1996-12-23 17:11:00 +00:00
Jack Jansen
3097463ef9
Added gdbm
1996-12-23 17:09:51 +00:00
Jack Jansen
83b17e8045
Added gdbm plugins, changed jpeg library to v6, various minor changes
1996-12-23 17:00:31 +00:00
Jack Jansen
e1d325fb40
Added gdbm plugins
1996-12-23 16:56:19 +00:00
Jack Jansen
8bd7c56459
If sys.argv is empty ask for input file and output folder
1996-12-23 16:54:51 +00:00
Jack Jansen
3d919c4d5b
Added reference to pdf documentation and bbpy, correctly explained
...
difference between aetools.Error and MacOS.Error for appletscript
programs.
1996-11-20 15:40:42 +00:00
Jack Jansen
0fb1d82698
Added reference to pdf documentation and bbpy, correctly explained
...
difference between aetools.Error and MacOS.Error for appletscript
programs.
1996-11-20 15:13:24 +00:00
Jack Jansen
e1d8c9bade
Fixed FSSpec->pathname code to add colon if the fsspec points to a disk.
1996-11-20 14:58:27 +00:00
Jack Jansen
56c3c7632e
Fixed bundle to allow any object (file, folder, disk) to be dropped on
...
an applet.
1996-11-20 14:57:27 +00:00
Jack Jansen
a918b8c4f6
Fixed to allow sys.path initializer to be longer than 255 chars.
1996-11-20 14:55:26 +00:00
Jack Jansen
d8597858a9
Add twit "home" location to sys.path (so you can put the applet on the
...
desktop)
1996-11-11 15:40:45 +00:00
Jack Jansen
115c1144ea
Changed project segment structure to (more-or-less) match directory
...
structure.
1996-11-09 19:12:03 +00:00
Jack Jansen
abc2db7b68
Updated (which should have been done before the 1.4 distribution).
1996-11-09 18:48:49 +00:00
Jack Jansen
6c11f7444c
Added PyMac_GetFullPath(), PyMac_ApplicationPath and PyMac_ApplicationFSSpec
1996-11-09 18:48:06 +00:00
Jack Jansen
84fb1fab1f
Got rid of nfullpath()
1996-11-09 18:46:57 +00:00
Jack Jansen
26ee1260a2
Got rid of nfullpath in favor of PyMac_GetFullPath (which was pretty
...
much identical anyway).
Initialize PyMac_ApplicationPath and PyMac_ApplicationFSSpec to point
to the current application.
1996-11-09 18:45:18 +00:00
Jack Jansen
8096daad4f
When loading a PYC resource check whether the filename is the
...
application, and if so take a shortcut. This should speedup loading
PYC resources when running off a CDROM quite a bit.
1996-11-09 18:43:44 +00:00
Jack Jansen
6c06590305
More sensible default sys.path
1996-11-09 18:42:13 +00:00
Jack Jansen
297d7dd2c9
Keep the folder structure in Mac:mwerks:projects similar to the
...
toplevel build folder structure.
1996-11-09 18:36:00 +00:00
Jack Jansen
612db8f679
Removed addpack calls
1996-11-09 18:34:30 +00:00
Jack Jansen
7b6aa0a78c
Removed old project file, als restructured projects directory to
...
reflect build directory structure (the latter done by hand)
1996-11-09 18:29:30 +00:00
Jack Jansen
5265ae4c6d
Probably just binhexed again...
1996-10-23 15:53:32 +00:00
Jack Jansen
230ad2cb8b
Different default location for distribution templates
1996-10-23 15:52:56 +00:00
Jack Jansen
c42c0b76c6
Only copy project files from build* and plugins to the projects
...
folder, leave other projects where they are
1996-10-23 15:52:16 +00:00
Jack Jansen
d2034c1a63
Build imgmodules.cfm68k too
1996-10-23 15:51:35 +00:00
Jack Jansen
3a9b3b5943
Added USE_MALLOC_DEBUG (disabled)
1996-10-23 15:50:26 +00:00
Jack Jansen
05d9836462
Project files for 1.4 release
1996-10-23 15:49:36 +00:00
Jack Jansen
46ed276bc3
Malloc debugging now flagged with USE_MALLOC_DEBUG
1996-10-23 15:46:57 +00:00
Jack Jansen
6b9e56012a
Updated to cw10
1996-10-23 15:46:25 +00:00
Jack Jansen
d6fccdffdc
Fixed gusi preferences
1996-10-23 15:45:36 +00:00
Jack Jansen
a1255e0c4e
removed unused var
1996-10-23 15:44:27 +00:00
Jack Jansen
176f3a9339
Added support for tab hooks
1996-10-23 15:43:46 +00:00
Jack Jansen
b7e82c1c0c
Raise a more intellegible error in the case of missing keyword args
1996-10-23 15:43:04 +00:00
Jack Jansen
ae178eaea6
Added HAVE_STRFTIME
1996-10-23 15:42:01 +00:00
Jack Jansen
70e413dee0
Added a note on swed and htmled examples, added tab support, fixed typo
1996-10-23 15:40:48 +00:00
Jack Jansen
92ca16c335
Modified to work together with BBPy
...
Re-enabled splash screen
1996-10-23 15:38:26 +00:00
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