Jack Jansen
804fdc80f9
Use dialog auto-placement whenever appropriate.
1998-04-27 15:12:13 +00:00
Jack Jansen
7a32fa1551
Fixes by Just:
...
- Upped version number in about dialog
- Use auto-positioning of dialogs (a sys7 feature I had never heard
of, _very_ useful).
1998-04-27 15:10:43 +00:00
Jack Jansen
29bfea9b76
Argument type for SetPort was wrong (WindowPtr in stead of GrafPtr).
1998-04-27 15:09:36 +00:00
Jack Jansen
2d7850f9ef
Added FOUR_CHAR_CODE define
1998-04-27 15:09:02 +00:00
Jack Jansen
aa70234c6b
New versions from Just.
1998-04-27 15:08:39 +00:00
Jack Jansen
d38dc64a8d
Regenerated with FOUR_CHAR_CODE defined
1998-04-27 15:07:43 +00:00
Jack Jansen
cf70b8422f
Mention the Mac:Contrib folder
1998-04-27 15:07:20 +00:00
Jack Jansen
5073b376fb
Added Just's printing demo code.
1998-04-27 15:06:50 +00:00
Jack Jansen
7b7a2c2e11
Added new folder types
1998-04-24 10:42:01 +00:00
Jack Jansen
0ec0e63928
Added FOUR_CHAR_CODE define
1998-04-24 10:41:38 +00:00
Jack Jansen
e180d99280
Grmpf, a lot more routines have gotten a "Mac" prefix for their
...
declaration, probably so the universal headers are useable on
windows/unix too. Have to think of a more definite workaround later,
for now we manually declare the old names in the *edit.py files.
1998-04-24 10:28:20 +00:00
Jack Jansen
41dc72fa1f
Regenerated with FOUR_CHAR_CODE defined
1998-04-23 13:23:12 +00:00
Jack Jansen
b2006395b7
Added support for the horribly complex TimeRecord, so we can position
...
movies, etc. TimeBase objects have also been slightly modified for
this (for instance: the DisposeTimeBase call shouldn't be done in the
__del__ routine, the timebase might belong to someone else).
1998-04-23 13:22:44 +00:00
Jack Jansen
7f725e4061
SetPort was missing, and the defs file needs the FOUR_CHAR_CODE define.
1998-04-23 13:21:09 +00:00
Jack Jansen
bbf4be2c2f
Incorrect argument for PyMacBuildwide()
1998-04-23 13:20:17 +00:00
Jack Jansen
031a68fe5f
CW Pro 3 FC8 projects. Checked in because of ColorPicker and Printing
...
modules, mainly.
1998-04-21 15:30:36 +00:00
Jack Jansen
955a2f5328
If there's no comment for an error we use the symbolic name as the
...
error message. Not really fantastic, but "reqAborted" is better than
"MacOS error -1105" at least.
1998-04-21 15:27:45 +00:00
Jack Jansen
cf89f6fc7d
Removed unused import of addpack
1998-04-21 15:26:26 +00:00
Jack Jansen
bca57e60c0
Moved some code around: occasionally the SetCreatorFileType didn't
...
work because the finder got there first (at leats, that's what I think
happened).
1998-04-21 15:25:57 +00:00
Jack Jansen
66691ba748
Updated for Python 1.5.1: version number, preference filename, etc
1998-04-21 15:25:12 +00:00
Jack Jansen
d58cd630eb
Added PyMac_{Get,Build}wide. These should support python longints at
...
some point in the future.
1998-04-21 15:24:39 +00:00
Jack Jansen
1c4e614627
Re-generated from new (3.1) universal headers
1998-04-21 15:23:55 +00:00
Jack Jansen
02facaf90a
Added ColorPicker and Printing modules, donated by Just. In config.c
...
they're dependent on the WITH_TOOLBOX define.
1998-04-21 15:23:02 +00:00
Jack Jansen
4e126636a2
Regenerated from new (3.1) universal headers
1998-04-21 15:21:52 +00:00
Jack Jansen
36659fef2a
Re-generated with slightly more intelligent script
1998-04-21 15:21:21 +00:00
Jack Jansen
0dca75229b
Add (temporary) PyMac_{Build,Get}wide
1998-04-21 15:20:50 +00:00
Jack Jansen
4f2936e368
Add HAVE_MKTIME
1998-04-21 15:20:20 +00:00
Jack Jansen
0c4d947eac
Replaced addpack by handcrafted code to find the bgen stuff.
1998-04-17 14:07:56 +00:00
Jack Jansen
b36b83011a
Removed reop
1998-04-17 14:06:47 +00:00
Jack Jansen
b8fd1f18ab
Tabnanny fixes
1998-04-15 14:35:16 +00:00
Jack Jansen
c84cb9511b
Added declarations for mac{set,get}filetype
1998-04-15 14:12:45 +00:00
Jack Jansen
8fa02d934c
Added Sndihooks
1998-04-15 14:09:19 +00:00
Jack Jansen
75c5ef978b
Module with hooks for sound input
1998-04-15 14:08:51 +00:00
Jack Jansen
a239a92e10
Reindented some of the C code
1998-04-15 14:08:28 +00:00
Jack Jansen
df3c6ab416
Last projects before 1.5.1
1998-04-15 14:07:13 +00:00
Jack Jansen
ae3407a01b
Added Sndihooks module
1998-04-15 14:06:17 +00:00
Jack Jansen
1301f2bc18
__file__ now sometimes refers to the .pyc file
1998-03-02 16:57:01 +00:00
Jack Jansen
a4f0309282
Added WEGetTabSize and WESetTabSize, at Just's request
1998-03-02 16:56:18 +00:00
Jack Jansen
52b38b795b
Support for sound input added. The interface is even worse than the
...
sound-output interface, so this needs a Python wrapper shortly.
1998-02-25 15:47:51 +00:00
Jack Jansen
e742a82067
Regenerated because of confusion with Style/StyleParameter and
...
Char/CharParameter
1998-02-25 15:46:50 +00:00
Jack Jansen
d6b6d88505
Regerated: Style and StyleParameter are different beasts
1998-02-25 15:45:21 +00:00
Jack Jansen
bfb77a07cb
Oops, this wasn't checked in yet: part of the AE structure for the new
...
universal headers.
1998-02-25 15:44:38 +00:00
Jack Jansen
0e4033a680
Module to use Mac serial port as a communication link
1998-02-25 15:43:57 +00:00
Jack Jansen
0aa9782d17
Helper routines to create standalone Python applications.
1998-02-25 15:42:48 +00:00
Jack Jansen
f7d8f45414
Hack to get at string buffer address changed
1998-02-25 15:42:03 +00:00
Jack Jansen
0db61d163d
Helper file for version-checking
1998-02-25 15:41:24 +00:00
Jack Jansen
a2139fef94
Added (minimal) documentation on how to build standalone applications
...
with Python.
Updated various things (versions of libraries used, urls).
1998-02-25 15:40:35 +00:00
Jack Jansen
ff170fbbb5
Default button on main window wasn't set correctly
1998-02-20 16:08:47 +00:00
Jack Jansen
73c804a3cd
Added some debug prints (if enabled by setting DEBUG)
1998-02-20 16:08:19 +00:00
Jack Jansen
8554e302a5
BuildApplet will now also update old applets
1998-02-20 16:06:56 +00:00
Jack Jansen
ebe914af7a
Current ("1.5b4") projects, with new UH toolbox modules and such
1998-02-20 16:05:24 +00:00
Jack Jansen
5e302dbfdf
USE_PRECOMPILED_HEADERS renamed to MSL_USE_PRECOMPILED_HEADERS
1998-02-20 16:04:01 +00:00
Jack Jansen
efaada75e4
- Universal Headers 3 mods
...
- Started on menubar-restore code (but it still doesn't work 100%)
1998-02-20 16:03:15 +00:00
Jack Jansen
21f96872f2
Regenerated from Universal Headers 3.0.1. Some new calls are
...
blacklisted, because they are not available in classic 68k programs,
and bgen doesn't have a way to put #ifdef/#endif in the generated
code. For now we only implement calls that work on all three models.
1998-02-20 16:02:09 +00:00
Jack Jansen
cbe6a53d1f
Fixed double-dispose of splash() dialog
1998-02-20 15:59:59 +00:00
Jack Jansen
2369a98eb9
Updated for Waste 1.3
1998-02-20 15:57:30 +00:00
Jack Jansen
40bd770690
Add fstat() if using GUSI
1998-02-20 15:56:19 +00:00
Jack Jansen
c2952bcbb2
Universal Headers 3
1998-02-20 15:55:53 +00:00
Jack Jansen
1b5b37f616
Updated to Universal Headers 3 constant names
1998-02-20 15:55:30 +00:00
Jack Jansen
5e58bcdb7a
Regenerated from Universal Headers 3.0.1 (which are changed
...
substantially from previous releases)
1998-02-20 15:54:44 +00:00
Jack Jansen
7c2fddf423
Updated to Waste 1.3
1998-02-20 15:53:58 +00:00
Jack Jansen
7b56aad2e1
Break circular reference on menus upon cleanup
1998-02-20 15:51:39 +00:00
Jack Jansen
64da169f43
Added CHECK_IMPORT_CASE
...
Added HAVE_HYPOT, except for 68k (where you get 10-byte-float hypot,
sigh...)
1998-02-20 15:50:23 +00:00
Jack Jansen
dee6d02736
Removed incorrect weMonoStyled from initialization
1998-02-20 15:48:57 +00:00
Jack Jansen
0188172559
Fixed bug in explanation of how to run test.autotest, and warned for
...
out-of-memory condition
1998-02-20 15:46:35 +00:00
Jack Jansen
20989e834d
Mods by Bill Bedford
...
- Use internal version of finder class so we don't drag in finder
tools
- error -1704 also ignored during arg unpack
- Use Scriptable Text Editor for example
1998-01-16 14:40:10 +00:00
Jack Jansen
5b0533d9ca
Addition by Bill Bedford: Ordinal and NOrdinal classes so we can
...
implement "every", etc.
1998-01-16 14:38:10 +00:00
Jack Jansen
ae4300f8fb
Updated embed demo, and put a note in the html file that you need a
...
source or development distribution to try it.
1998-01-06 16:50:44 +00:00
Jack Jansen
6b02ac2321
I give in. Now Tk is also using resources just above 128, so Python
...
now uses only 228-256, leaving 128-228 free for others. This mod
affects prefs files, libraries and almost everything else, so I've
upped my local Python to 1.5b4 to remain sane.
1998-01-06 16:48:49 +00:00
Jack Jansen
ecbc1cc320
Release notes and readme for 1.5b3
1998-01-06 12:13:16 +00:00
Jack Jansen
e86d2870c4
Loading defaults for gusi/sys.path didn't work for applets. Fixed.
1998-01-06 12:11:48 +00:00
Jack Jansen
a23a4621a0
Balloon help definitions
1998-01-06 12:09:53 +00:00
Jack Jansen
d9d2968de1
Added cPickle and cStringIO
1998-01-06 12:08:49 +00:00
Jack Jansen
a5e2ece757
- Tk 8.0p2 script resources
...
- New folder names in sys.path initialisation
- Version number, preffilename upped
1998-01-06 12:08:20 +00:00
Jack Jansen
416a1c8ece
Projects for 1.5b3
1998-01-06 12:03:51 +00:00
Jack Jansen
44a8931caf
Upped tcl/tk instructions for 8.0p2
1997-12-23 22:56:25 +00:00
Jack Jansen
0e680b7608
Moved toolbox to lib-toolbox, Sjoerd-style.
1997-12-18 17:50:29 +00:00
Jack Jansen
3802039cff
Moved scripting to lib-scripting (did it the Sjoerd-way this time)
1997-12-18 17:47:12 +00:00
Jack Jansen
04d5c5827a
Updated (but still not up to date)
1997-10-10 15:50:37 +00:00
Jack Jansen
666ff8c299
Build balloon help for EditPythonPrefs
1997-10-10 15:50:00 +00:00
Jack Jansen
bb748622f6
Fixup sys.path to be able to find macostools
1997-10-10 15:49:36 +00:00
Jack Jansen
188db7f343
1.5a4 relnotes
1997-10-10 15:48:57 +00:00
Jack Jansen
ef90af0711
Projects used for 1.5a4
1997-10-10 15:48:01 +00:00
Jack Jansen
9b2681b355
1.5a3 relnotes (1.5a4 to follow later)
1997-10-08 15:35:17 +00:00
Jack Jansen
0b7269589c
Updated for 1.5a4
1997-10-08 15:34:42 +00:00
Jack Jansen
bbaf37c03e
Added pcre module
1997-10-08 15:34:03 +00:00
Jack Jansen
213649023c
Bug fix for fast module location
1997-10-08 15:32:46 +00:00
Jack Jansen
f774c41dfe
Upped version to 1.5a4, changed sys.path initialization to match new
...
directory structure.
1997-10-08 15:31:47 +00:00
Jack Jansen
a7a89ebdbe
Implemented nositepython and oldexceptions flags
1997-10-07 21:48:57 +00:00
Jack Jansen
c73f83c8d9
Fixed for new "import dir.module" semantics. Needs accompanying fix in
...
import.c (yes Guido, I'll send it tomorrow)
1997-10-07 21:48:31 +00:00
Jack Jansen
55e3927f58
New exception interface
1997-10-07 21:47:25 +00:00
Jack Jansen
a755e68df6
Export type objects to Python
1997-09-20 17:40:22 +00:00
Jack Jansen
b95901ec2e
Implemented balloon help for EditPythonPrefs
1997-09-09 13:58:19 +00:00
Jack Jansen
80b5329f76
Added Help module
1997-09-09 13:57:59 +00:00
Jack Jansen
675cda0787
Added a button to increment buildno, so it doesn't happen
...
automatically all the time.
1997-09-09 13:57:15 +00:00
Jack Jansen
37b4b49962
Added balloon help for options dialog.
...
Added Help module.
Checked in PythonCore.prj.hqx (which had somehow slipped through until
now)
1997-09-09 13:56:34 +00:00
Jack Jansen
01cfe36c3a
Added no-site-python and old-exceptions preferences.
...
Implemented balloon help for options dialog.
1997-09-09 13:54:25 +00:00
Jack Jansen
36b983c2c2
Added old-exception and no-site-python options and balloon help
1997-09-09 13:53:21 +00:00
Jack Jansen
bf2f6021c5
Added interface to the Balloon Help Manager
1997-09-09 13:52:47 +00:00
Jack Jansen
6954e34324
Added old-exceptions and no-site-python preferences and upped version
...
to 4.
1997-09-09 13:51:17 +00:00
Jack Jansen
c6bb281c50
Added old-exceptions and no-site-python options and upped preference
...
version to 4.
Added balloon-help item to options dialog.
1997-09-09 13:50:40 +00:00
Jack Jansen
e632380b55
Dunno, rebinhexed?
1997-09-08 13:26:55 +00:00
Jack Jansen
8a99a8aa89
Preferences is a general module to get (and set) preferences in
...
resource files with various inheritence rules, parsers, etc.
pythonprefs uses this to create a single uniform interface to all
relevant python preferences.
1997-09-08 13:26:36 +00:00
Jack Jansen
447e01b04e
Preference resource now has a version number
1997-09-08 13:24:54 +00:00
Jack Jansen
222c34edc6
Moved the include of macbuildno.h to getbuildinfo.c. Putting it here
...
resulted in full recompilation every time.
1997-09-08 13:24:23 +00:00
Jack Jansen
2e871e4f09
Added SysBeep
1997-09-08 13:23:19 +00:00
Jack Jansen
5b3c9717c4
The preference resource now has a version number
1997-09-08 13:22:49 +00:00
Jack Jansen
ac62569fd0
sys.prefix and sys.exec_prefix are now set correctly.
1997-09-08 13:22:22 +00:00
Jack Jansen
80cf5a8c4c
The python preference resource now has a version number, and
...
"optimize" has replaced "don't print".
1997-09-08 13:21:37 +00:00
Jack Jansen
3b3a287d12
Major overhaul: this is now little more than a user interface, the
...
preference handling code is in modules pythonprefs and preferences.
This should finally make it easier for someone (Just?) to write a
decent interface to preference setting, and it'll allow setting
initial sys.path and such from ConfigurePython.
1997-09-08 13:19:42 +00:00
Jack Jansen
d0240837fc
Run NumPy installer, if present.
...
Added a couple of splash screens to show what we're doing
1997-09-08 13:16:29 +00:00
Jack Jansen
2d30840b92
Define BUILDNO in macbuildno.h (incremented by fullbuild)
1997-09-01 15:39:07 +00:00
Jack Jansen
68a0ee0a87
Can't remember...
1997-09-01 15:38:24 +00:00
Jack Jansen
898ac1bb46
Added GetTicks() here, so profiling can use a decent timer
1997-09-01 15:38:12 +00:00
Jack Jansen
faad995380
Fullbuild now maintains BUILDNO for mac builds
1997-09-01 15:37:07 +00:00
Jack Jansen
04fb06f320
Names changed
1997-09-01 15:36:42 +00:00
Jack Jansen
09dcff793f
Put all prints inside "if verbose:"
1997-08-27 14:11:15 +00:00
Jack Jansen
ebacc2edff
Removed debug print
1997-08-27 14:10:49 +00:00
Jack Jansen
82bfde9382
Modified for CW Pro projects and new filenames
1997-08-27 14:10:29 +00:00
Jack Jansen
8505ef8c6c
Added #include <WETabs.h>, which had somehow gone missing
1997-08-27 14:09:25 +00:00
Jack Jansen
3412c5d0fb
Modified for installer and new names of various applets. Also cleaned
...
up anything else I saw.
1997-08-27 14:08:22 +00:00
Jack Jansen
9ffa432972
Modified for new scripting support
1997-08-27 14:07:37 +00:00
Jack Jansen
21b5d605d8
Moved suites to their own folder
1997-08-27 13:49:18 +00:00
Jack Jansen
26726fe523
Replaced by ReadMe
1997-08-26 13:27:22 +00:00
Jack Jansen
83cab722f9
Adapted from ReadMeOrSuffer for the new installer
1997-08-26 13:25:06 +00:00
Jack Jansen
0c96887d35
Handle systemclicks ourselves, in stead of passing them to Sioux. This
...
fixes (or masks?) a bug with Python becoming unreactive during
time.sleep() if you have already switched applications before.
1997-08-26 13:20:34 +00:00
Jack Jansen
d0417ecce5
Removed support_print docs.
1997-08-19 14:01:35 +00:00
Jack Jansen
3261719848
Docs on new tcl/tk, new build tree layout
1997-08-19 14:01:16 +00:00
Jack Jansen
f10786baca
Very sketchy preliminary docs on new applescripting functionality.
1997-08-19 14:00:56 +00:00
Jack Jansen
97de10cacf
Added reop
1997-08-19 13:59:59 +00:00
Jack Jansen
78c3cc4f0c
MkPluginAliases now knows about fat PythonCore (and all resource files
...
got binhexed again)
1997-08-19 13:58:57 +00:00
Jack Jansen
03a00a8081
PythonCore is now a fat shared library, the plugin modules aren't fat,
...
unfortunately, this turned out to be too difficult.
Plugins.prj now builds all plugin modules, and all the
interdependencies between the projects are correct. One exception:
plugins don't attempt to build PythonCore (PythonFAT and PythonApplet do).
1997-08-19 13:58:00 +00:00
Jack Jansen
f2e917e8e5
Regenerated
1997-08-15 14:38:59 +00:00
Jack Jansen
8f0fab78ce
Added support for WCTabHandle, AuxWinHandle, PixPatHandle: no reason
...
for blacklisting them.
1997-08-15 14:38:05 +00:00
Jack Jansen
eaf3c9bed7
Added #include <string.h> for memcpy()
1997-08-15 14:36:45 +00:00
Jack Jansen
69b43ed5bc
Added support for GDHandle, CTabHandle, ITabHandle and CCrsrHandle: no
...
reason they were blacklisted, we can handle them as generic Handles.
1997-08-15 14:35:54 +00:00
Jack Jansen
c7fefed32c
Added GetAuxiliaryControlRecord and SetControlColor, there was no good
...
reason they were excluded.
1997-08-15 14:32:18 +00:00
Jack Jansen
f69633e4a1
Made AEDesc_{New,Convert} global
1997-08-15 14:31:13 +00:00
Jack Jansen
48f662de92
mkalias() now has an optional third parameter to create relative
...
aliases (Just)
1997-08-08 15:00:59 +00:00
Jack Jansen
756a69fa0d
- Added classes to support class/property generation by gensuitemodule
...
- Fixed Property class: selector is a 'type', not an 'enum'
1997-08-08 15:00:03 +00:00
Jack Jansen
a8441ded7a
Added (dummy) PyOS_FiniInterrupts
1997-08-08 14:57:37 +00:00
Jack Jansen
7330b39a41
Adapted for 1.5a3: Py_SupressPrintingFlag is gone, and
...
Py_SetProgramName replaces Py_GetProgramName
1997-08-08 14:56:41 +00:00
Jack Jansen
4be0ce3bc6
New version number, new tk resources, new error numbers, new GUSI
1997-08-08 14:55:03 +00:00
Jack Jansen
12f318a6fc
Don't define ENOENT when compiling with MSL
1997-08-08 14:53:16 +00:00
Jack Jansen
04df97cdd8
CW11 projects replaced by CW Pro 1 projects, and all cfm68k/ppc
...
projects unified (as much as possible: PythonCore is still separate).
1997-08-08 14:51:57 +00:00
Jack Jansen
e3fa8747fa
Modified for CW Pro 1 projects. Convention used: .mu files are old
...
project files, which have to be cleaned up before checking in, .prj
files are CW Pro 1 projects (which are always clean). Prj files are
still binhexed, even though they only have a data fork (and, hence,
could be checked in in binary mode).
1997-08-08 14:51:54 +00:00
Jack Jansen
6654422407
Generate class, property and comparison code (finally!). The resulting
...
code isn't ideal yet: xxx.Window(1).Paragraph(3).font will only work
if all the classes and properties are declared in the same suite, but
at least font(Paragraph(3, Window(1))) always works.
1997-08-08 14:49:02 +00:00
Jack Jansen
5e0625762e
Final set of CW11 projects, before switch to CW Pro 1.
1997-07-28 13:04:22 +00:00
Jack Jansen
50ea91976b
Mods for user mainloop event handling
1997-06-20 16:25:00 +00:00
Jack Jansen
d080eddf8e
Added dopendingevents call
...
Added asyncevents call to enable asynchronous event handling
1997-06-20 16:24:24 +00:00
Jack Jansen
3f5aef7fef
Allow specifying own resources for all dialogs
...
Allow changing labels on yesnocancel dialog
1997-06-20 16:23:37 +00:00
Jack Jansen
1b3904b998
Module to buffer stdout/stderr until stdin is read. Useful for
...
windowing programs, together with option to keep console window closed
until needed.
1997-06-20 16:22:07 +00:00
Jack Jansen
0b34dd51b5
Regenerated
1997-06-20 16:20:03 +00:00
Jack Jansen
883765eb71
added SetEventHandler
1997-06-20 16:19:38 +00:00
Jack Jansen
3757523f1e
Adapted to new event handling. It is now also possible to abort out of
...
an AESend with command-. (unless specifically disabled, of course).
1997-06-20 16:19:14 +00:00
Jack Jansen
36ed506f09
Added PyMac_SetEventHandler which allows you to replace complete event
...
handling in inner loop with python code. Also move (previously
machine independent) PyErr_CheckSignals here, so we can propagate
exceptions in event handling code.
1997-06-20 16:18:15 +00:00
Jack Jansen
d993648ef6
Added NewAliasMinimalFromFullPath(), and allow alias.Resolve() to return
...
an FSSpec to a non-existing file.
1997-06-16 14:31:38 +00:00
Jack Jansen
eda78634a4
Make imports faster on the Mac, by
...
- Remembering whether sys.path components refer to files or folders,
- Using mac-specific code to check for file existence, in stead of trying
to fopen() each possible file.
These mods need an accompanying mod to import.c.
1997-06-12 15:29:46 +00:00
Jack Jansen
0130f0fb8f
Added prototype for PyMac_RestoreMenuBar
1997-06-12 10:51:39 +00:00
Jack Jansen
3368cb7763
Replaced MacOS.EnableAppSwitch with MacOS.SchedParams
1997-06-12 10:51:18 +00:00
Jack Jansen
d3b06a871f
Added optional preload arg to some routines (which creates reloaded
...
resources when set)
1997-06-12 10:50:47 +00:00
Jack Jansen
7fb76e0f8a
Replaced MacOS.EnableAppswitch by MacOS.SchedParams
1997-06-12 10:49:56 +00:00
Jack Jansen
caa7c46ac4
- Restore SIOUX menubar just before exiting, if the console window is kept
...
open (so the user can quit with cmd-Q, print, etc)
- Removed a few unused routines
1997-06-12 10:49:13 +00:00
Jack Jansen
ca0f88d887
Added zlib
1997-06-03 15:30:39 +00:00
Jack Jansen
175f1c8007
Added USE_ZLIB to nonshared config files
1997-06-03 15:30:12 +00:00
Jack Jansen
120a105823
Removed SetScheduleTimes
...
Added SchedParams
Added docstrings for most routines
1997-06-03 15:29:41 +00:00
Jack Jansen
e68a61c95b
Added zlib (optional on USE_ZLIB)
1997-06-03 15:28:52 +00:00
Jack Jansen
e3ae0dfeb7
Removed old scheduler parameterizing calls and replaced with something
...
a bit easier to use and understand
1997-06-03 15:28:29 +00:00
Jack Jansen
4a79a4b0a9
Removed SetScheduleTimes and PyMac_DoYieldEnabled
...
Added [GS]etSchedParams
Added parameter to PyMac_HandleEvent (safe to run python code at this point)
Removed various cruft
1997-06-03 15:27:31 +00:00
Jack Jansen
8d1ac0225c
Documented (slightly) the USE_CACHE_ALIGNED define, for the standalone
...
distribution
1997-05-29 14:57:45 +00:00
Jack Jansen
e66b8c8543
Updated for 1.5a2 distribution
1997-05-29 14:57:07 +00:00
Jack Jansen
219e2e2bb3
Projects for 1.5a2 distritbuion
1997-05-29 14:57:04 +00:00
Jack Jansen
baa6d551ed
Version number and such for 1.5a2 distribution
1997-05-29 14:56:25 +00:00
Jack Jansen
7701fd9af2
Changed release note structure:
...
- Relnotes contains current release notes
- HISTORY contains all old release notes
1997-05-28 12:01:14 +00:00
Jack Jansen
001aa86d34
Added a range of resource numbers reserved for Bruce
1997-05-28 11:54:43 +00:00
Jack Jansen
549e0ff752
Removed references to StdClib and PLStringFuncs, rebuilt everything
1997-05-23 15:41:54 +00:00
Jack Jansen
6f69c504f1
Nothing important
1997-05-23 15:41:15 +00:00
Jack Jansen
525819017e
Changed version string and preferences filename to 1.5a2.
1997-05-23 15:37:54 +00:00
Jack Jansen
a07dd0fdd1
Renamed
1997-05-23 15:36:53 +00:00
Jack Jansen
e8b9b9f15b
Added keys() and mapping interface to shared-library objects, allowing
...
iteration over all symbols exported
1997-05-23 15:36:13 +00:00
Jack Jansen
a39f1b0ce2
- Added Py_GetProgramFullPath
...
- Added PyMac_StopGUSISpin and have it called at exit time (fixes crash
when exiting with sockets open)
- Added PLstr... funcs needed by gusi: those provided by StdCLib are
broken under cfm68k
1997-05-23 15:35:14 +00:00
Jack Jansen
570e4b7ad1
Added PyMac_StopGUSISpin
1997-05-23 15:33:20 +00:00
Jack Jansen
8766dfd9e8
Regenreated for MSL
1997-05-15 11:18:32 +00:00
Jack Jansen
b83b46d2c6
MSL errno.h has moved some errors around, and doesn't document
...
them in comments, so we do that ourselves.
1997-05-15 11:18:13 +00:00
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
Jack Jansen
02dee9b1a9
Added _tkinter modules in Image extension
1997-01-31 16:13:26 +00:00
Jack Jansen
19a14b6635
Image libraries moved and small things
1997-01-31 16:11:43 +00:00
Jack Jansen
f5c20575cb
Renamed
1997-01-30 15:48:07 +00:00
Jack Jansen
22023f4b77
Added imgpng
1997-01-30 15:47:08 +00:00
Jack Jansen
6ad8d13fe2
"ported" Guido's embedding demo to the mac, and wrote some minimal
...
notes on embedding on the mac.
1997-01-15 16:53:37 +00:00
Jack Jansen
52ac037249
Added PyMac_Initialize() routine, to be used by embedding programs (in
...
stead of standard Py_Initialize(), which it calls).
1997-01-15 15:49:08 +00:00
Jack Jansen
8dc797d1f8
Return preferences of unknown type as opaque data
1997-01-10 15:25:47 +00:00
Jack Jansen
466be801fd
Minor fix to get non-gusi python to compile again
1997-01-10 15:25:06 +00:00
Jack Jansen
8dc8a6e4be
Mac-specific version of getmtime (for non-GUSI Python, which needs
...
different include files)
1997-01-10 15:24:19 +00:00
Jack Jansen
4b76ba3280
High-level interface to Internet Config
...
(and readability fix to icgluetest.py)
1997-01-09 16:26:23 +00:00
Jack Jansen
52e87f3773
Added icglue modules and (optionally) NumPy and PIL extensions
1997-01-07 16:24:18 +00:00
Jack Jansen
b28efe669c
- Added optional profiling support
...
- Added Internet Config interface
- Use different ports of zlib and libpng
1997-01-07 16:22:39 +00:00
Jack Jansen
8c6932136c
Added profiler initialization/finalization code (if __profile__ is defined)
1997-01-07 16:19:42 +00:00
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