Commit Graph

757 Commits

Author SHA1 Message Date
Jack Jansen
af647ddc52 Use ProgressBar to show progress in stead of print 1997-05-13 15:42:26 +00:00
Jack Jansen
450ae9f352 Don't free the MacOS_Splash() dialog twice... 1997-05-13 15:41:48 +00:00
Jack Jansen
48c5527c78 Add a few more BringToFont calls 1997-05-13 15:41:07 +00:00
Jack Jansen
79b5bb488e Export a few more New/Convert routines, on Just's request 1997-05-13 11:28:03 +00:00
Jack Jansen
141f9a0f8a Regenrated from CW11 IDE 1997-05-13 11:27:19 +00:00
Jack Jansen
1d63d8c829 Fixes to progress bar by SDM, modified by Jack:
- Window has a titlebar, and title() changes it
- The label is changed with label()
- The window is now movable-modal
- Cancel is now called Stop, and works.
1997-05-12 15:44:14 +00:00
Jack Jansen
8b4c98783d - toolboxmodules built first (others depend on it)
- Changed name of fat interpreter to PythonFAT (Python conflicted with toplevel
  folder of the same name, unfortunately)
1997-05-07 15:52:12 +00:00
Jack Jansen
c512be0bb2 Sometimes tried to modify a tuple. Fixed. 1997-05-07 15:50:56 +00:00
Jack Jansen
73d203fb43 Version upped to 1.5a1 1997-05-07 15:49:51 +00:00
Jack Jansen
3edc476b12 Included new MSL error numbers 1997-05-07 15:49:38 +00:00
Jack Jansen
e44545fc0b Workaround for bug in MSL and CWGUSI interaction that stopped the
"don't close window on exit" feature to work.
1997-05-07 15:48:54 +00:00
Jack Jansen
3089b7eead - Various names in CodeFragments.h have changed
- a dummy main program was added, so we can use the standard MW MSL
  runtime library for main programs (in stead of rolling our own, as we
  did previously).
1997-05-07 15:48:01 +00:00
Jack Jansen
eeccca9bdc - Changed the m# format for PyArg_ParseTuple back to s#
- c2pstr has moved to a different include file
1997-05-07 15:46:31 +00:00
Jack Jansen
d1d242ec84 c2pstr has moved to a different include file 1997-05-07 15:45:01 +00:00
Jack Jansen
b764eeda56 c2pstring has moved to a different include file 1997-05-07 15:44:31 +00:00
Jack Jansen
1473af76a2 Updated for building with MSL libraries 1997-05-07 15:43:38 +00:00
Jack Jansen
2fe3a371b2 Updated for (optional) use of MSL libraries 1997-05-07 15:42:50 +00:00
Jack Jansen
a176485bb7 Updated to use MSL libraries 1997-05-07 15:41:31 +00:00
Jack Jansen
0f00c5e2dc - Use cfmfile to (finally) implement building fat Pythons
- Turned the 10 or so yes/no questions into a single dialog
1997-05-06 16:15:32 +00:00
Jack Jansen
c70c350f5d Module to merge 'cfrg' resources (to create fat ppc/cfm68k programs
and shared libraries).
1997-05-06 16:14:34 +00:00
Jack Jansen
1836a62016 NewMovieFromFile has extra parameter and return value 1997-04-09 15:54:54 +00:00
Jack Jansen
e0cf87b20d Enabled resID input/output parameter to NewMovieFromFile. This changes
the Python interface, unfortunately.
Added a few calls that were blacklisted for no apparent reason.
1997-04-09 15:53:46 +00:00
Jack Jansen
64639202ba (Optional) MSL compatability 1997-04-08 15:28:05 +00:00
Jack Jansen
184c16031e DisposPtr -> DisposePtr 1997-04-08 15:27:29 +00:00
Jack Jansen
08c3be35c3 Changed the few old routine names still used to the new ones
Started working on MSL support
1997-04-08 15:27:00 +00:00
Jack Jansen
85ae4a82ac Changed [SG]etCRefCon to [SG]etControlReference 1997-04-08 15:26:03 +00:00
Jack Jansen
54956722e5 Modified for (optional) use of MSL 1997-04-08 15:24:58 +00:00
Jack Jansen
9e1be97ddf Fixed for compiling without OLDROUTINENAMES and OLDROUTINELOCATIONS 1997-04-08 15:24:17 +00:00
Jack Jansen
f73bab7f96 Added an attribute string_id_to_buffer, which gives the offset you
have to add to the id() of a string to get the address of the
data. This is a horrible and error-prone hack, but unfortunately it is
one that is needed for playing audio and crearing pixmaps. Having the
constant here is at least marginally better than the previous practice
of having the constant 16 all over the place...
1997-04-03 14:51:03 +00:00
Jack Jansen
377df98005 - Most errors are *not* OSErr style, so raise better exceptions (with
textual messages)
- Plugged a memory leak or two
1997-04-03 14:48:04 +00:00
Jack Jansen
cb2554effa Still not a real test, but at least it runs again 1997-04-03 14:45:28 +00:00
Jack Jansen
1801aad5dc Use MacOS.string_id_to_buffer for id() to buffer address hack 1997-04-03 14:44:41 +00:00
Jack Jansen
4240b610f3 Use MacOS.string_id_to_buffer for the hack to convert string id() to
buffer address.
1997-04-03 14:44:07 +00:00
Jack Jansen
827eecd290 Converted to CW11. 1997-02-24 14:03:45 +00:00
Jack Jansen
666212d429 Make cache-alignment work always (in stead of 50% of the time:-) 1997-02-24 14:00:52 +00:00
Jack Jansen
c587301e2e - Changed GestaltEqu.h to Gestalt.h
- Changed FragLoader.h to CodeFragments.h
- Removed Desk.h
1997-02-24 13:59:38 +00:00
Jack Jansen
4a8c54e6d9 - Changed GestaltEqu.h to Gestalt.h
- Changed FragLoader.h to CodeFragments.h
- Removed Desk.h
- Regenerated bgen modules from new universal headers
- Changed some of the s# in PyArg_ParseTuple to m# (unfortunately:
  this should have been a different commit)
1997-02-24 13:56:59 +00:00
Jack Jansen
6a528149db Re-generated from new (CW11) universal headers 1997-02-24 13:52:56 +00:00
Jack Jansen
eea9ab723d Rebuilt everything with Guido's new sources, added a few modules here
and there, etc. These projects are still CW10.
1997-02-20 15:28:31 +00:00
Jack Jansen
ab786562b0 Added calldll module 1997-02-20 15:27:44 +00:00
Jack Jansen
0040b4704e - Put USE_MAC_DYNAMIC_LOADING beack here in stead of auto-enabling it
in importdl.c (I had just one crash too many with a static python
  importing a dynamic module)
- On powerpc, enable USE_CACHE_ALIGNED with a linesize of 32 bytes.
1997-02-20 15:25:49 +00:00
Jack Jansen
7e94404081 Only go into eventloop/interrupt check 10 times per second 1997-02-20 15:23:18 +00:00
Jack Jansen
4f27a55e80 Comments around identifier after #endif 1997-02-20 15:22:17 +00:00
Jack Jansen
c1cd2ca999 Added operator, errno and soundex modules. 1997-02-20 15:20:46 +00:00
Jack Jansen
e0e1f1a25d Redid arg/return handling (still not as I would like it to be, though). 1997-02-20 15:18:32 +00:00
Jack Jansen
b3928d2ffd An initial stab at calling random C routines from Python 1997-02-17 16:56:56 +00:00
Jack Jansen
ce7fc98d86 Initial stab at calling C routines from python dynamically 1997-02-17 16:56:14 +00:00
Jack Jansen
3c2871e1df The USE_CACHE_ALIGNING define now has a value: the number of *words*
in a cacheline.
1997-02-03 15:06:45 +00:00
Jack Jansen
b4ef4c6d4c Optionally (on USE_CACHE_ALIGN) extend overhead structure to align
returned addresses on 16-byte cacheline boundary.
1997-02-01 23:44:50 +00:00
Jack Jansen
42218ce33c Added/updated copyright notices
(and the &*^$%@ resource files got binhexed again, sigh)
1997-01-31 16:15:11 +00:00