Guido van Rossum
42a69c8425
real dialogs for warnings etc., copy applet.rsrc template too
1995-02-20 23:44:14 +00:00
Guido van Rossum
f45b53b13c
replace %#s with portable solution
1995-02-20 23:43:29 +00:00
Guido van Rossum
4cbb0e3a2d
applet to run any script
1995-02-20 23:42:50 +00:00
Guido van Rossum
156380e382
added shared library glue
1995-02-20 23:42:10 +00:00
Guido van Rossum
bcf3b56ea7
also set cur dir for standard get/put file
1995-02-20 23:41:35 +00:00
Jack Jansen
86b4049b87
Some more modules temp excluded in mwerks, and a comment fix.
1995-02-20 15:57:12 +00:00
Jack Jansen
3ec804af85
- Added PyMac_GetDirectory call which asks the user to select a
...
directory.
- No __main__ resource found message is now a dialog
- Fixes wrt stdio window handling in applets.
NB: these fixes require a new resource file.
1995-02-20 15:56:10 +00:00
Jack Jansen
77b5828cf0
Always set type to APPL
1995-02-20 15:49:27 +00:00
Jack Jansen
b2f6a7ec00
Minor bug fix
1995-02-20 15:46:10 +00:00
Jack Jansen
81f51c74ea
Added GetDirectory() method
1995-02-20 15:45:25 +00:00
Guido van Rossum
6fc5aecd53
ported back to Think C
1995-02-19 23:32:59 +00:00
Guido van Rossum
9784295b15
another round... ported to __SC__
1995-02-19 15:59:49 +00:00
Guido van Rossum
8c89a6fdc7
use PyMac_GetArgv (in macgetargv.c) for applet inits
1995-02-19 15:52:17 +00:00
Guido van Rossum
dbfb282d2c
get argc/argv from AppleEvents
1995-02-19 15:51:30 +00:00
Guido van Rossum
40d94e05b7
added copyright header
1995-02-19 15:51:11 +00:00
Guido van Rossum
d1ef5962d2
explicitly init flags in methodlist
1995-02-19 15:50:35 +00:00
Guido van Rossum
e71d853fc9
hacks for atoi/strtod in __SC__
1995-02-19 15:49:39 +00:00
Guido van Rossum
57128fd367
accept file arguments and loop over files
1995-02-19 15:49:17 +00:00
Guido van Rossum
23c0150b14
The Makefile
1995-02-19 15:47:04 +00:00
Guido van Rossum
6a0fb6e217
fancier version copies template file
1995-02-18 15:05:39 +00:00
Guido van Rossum
a6da03fbbe
newer stuff
1995-02-18 15:04:52 +00:00
Guido van Rossum
00effaf688
asdded applet info
1995-02-18 15:04:26 +00:00
Guido van Rossum
1f5c6007fe
different MPW notes
1995-02-18 15:02:22 +00:00
Guido van Rossum
9fed183f22
cfm 68k support
1995-02-18 15:02:02 +00:00
Guido van Rossum
c3d1c8e9fc
added applet initialization;
...
fewer restrictions on loading modules from resources (+ fix!);
macstrerror -> MacOS_StrError
1995-02-18 15:01:31 +00:00
Guido van Rossum
f71a9a9c6e
macstrerror -> MacOS-StrError; added applet and cfm-68k support
1995-02-18 14:59:48 +00:00
Guido van Rossum
99d20f618c
added imp; forget ctb and math for __SC__ (for now)
1995-02-18 14:58:54 +00:00
Guido van Rossum
eabdbff717
put #undefs insize comments; rationalize MPW support
1995-02-18 14:56:51 +00:00
Guido van Rossum
e5df962958
moved most of it to macglue.c
1995-02-18 14:56:09 +00:00
Guido van Rossum
1b2fe8e62b
new Makefile and everything
1995-02-17 14:49:28 +00:00
Guido van Rossum
2d54692fcc
completely redone
1995-02-17 14:28:39 +00:00
Guido van Rossum
930b36b349
main program for applets
1995-02-17 14:24:53 +00:00
Guido van Rossum
5bc76cdaab
add casts for __SC__
1995-02-17 14:24:11 +00:00
Guido van Rossum
8318f2fb8f
add __SC__ ifdef
1995-02-17 14:23:51 +00:00
Jack Jansen
74162f311f
Added support for loading pyc code from a resource.
1995-02-15 22:58:33 +00:00
Guido van Rossum
3075b326c4
different #ifdefs
1995-02-14 09:48:02 +00:00
Guido van Rossum
872eeebf6d
completed aete decoded now that I have the docs
1995-02-14 09:47:42 +00:00
Guido van Rossum
becdbec806
ported to Think C
1995-02-14 01:27:24 +00:00
Jack Jansen
26a9f7467f
Some of Guido's bgen modules aren't think-only anymore
1995-02-13 22:47:02 +00:00
Jack Jansen
6cfab2346c
Changed PyMac_GetPythonDir to use a preferences file to store the
...
alias resource. Also added a few comments.
1995-02-13 22:46:00 +00:00
Jack Jansen
fc0ff42034
Open library resource file read-only
1995-02-13 22:43:38 +00:00
Guido van Rossum
5693412892
malloc debug only on ppc
1995-02-13 16:19:04 +00:00
Guido van Rossum
e9f29bf4ca
remove unused vars
1995-02-13 16:18:02 +00:00
Guido van Rossum
cc9bc8f824
null-terminate the error string in macstrerror
1995-02-13 16:17:03 +00:00
Guido van Rossum
e6c884cadb
added QuickDraw
1995-02-13 16:16:22 +00:00
Guido van Rossum
b95ff40e29
adapted to 1.2
1995-02-13 16:15:31 +00:00
Jack Jansen
c889b760d7
Added RawFSSpec and RawAlias methods which turn their string arguments
...
into fsspec and alias objects.
1995-02-13 12:00:46 +00:00
Jack Jansen
7467ce3eea
Startup code for applications using the python shared
...
library. Modified because the startup code has to work together with
the runtime support in the shared library.
1995-02-13 11:41:40 +00:00
Jack Jansen
2e4679db8e
Glue for the python shared library: an init routine that remembers
...
where we're loaded from and PyMac_AddLibResources() which adds that
file to the resource file list.
1995-02-13 11:39:17 +00:00
Jack Jansen
c6647c6079
Mwerks header files for shared python and the applet template
1995-02-13 11:37:31 +00:00