Just van Rossum
7ec7c8ad66
fixed several event handling buglets, added command Q support, added a new module doc string, some formatting nits. (jvr)
2000-03-27 16:22:53 +00:00
Just van Rossum
158ce4247e
realcgitest.py: added import MacOS, it now works again. Removed NetPresenz reference.
...
cgitest.cgi.rsrc: disable argv emulation; this is essential for the first time the cgi applet starts up
2000-03-26 10:12:26 +00:00
Jack Jansen
deb6373fff
Data of type Point is passed by value, not by reference.
2000-03-22 15:35:24 +00:00
Jack Jansen
a27e9fb19f
Added UserPane callbacks for HitTest and Tracking. Doesn't fully work yet.
2000-03-21 23:03:02 +00:00
Jack Jansen
1a7d5b12c0
Added a GetControlRect() method to controls which returns the bounding rectangle. To my surprise this call is missing from the C API...
2000-03-21 16:25:23 +00:00
Jack Jansen
abc411bac8
Started on support for callbacks for UserPane controls. Unfinished and untested.
2000-03-20 16:09:09 +00:00
Jack Jansen
c59996e6b1
Added a method GetMediaNextInterestingTimeOnly, which is like GetMediaNextInterestingTime without asking for the duration (which is, according to qt docs, expensive).
2000-03-17 16:49:59 +00:00
Jack Jansen
def77e5346
AETransactionID was mistakenly defined as a short (it is a long). Fixed.
2000-03-14 23:29:08 +00:00
Jack Jansen
add03b62fd
Handles were never disposed. Added an AutoDispose(onoff) method to control this.
...
Also added a Handle() function which is like Resource() but has auto-dispose on by default.
2000-03-08 16:58:15 +00:00
Jack Jansen
34d11f0670
Fixed multi-arg appends.
2000-03-07 23:40:13 +00:00
Jack Jansen
6f3fceb8d8
Allow None as TimeBase value in TimeValue records (becomes NULL in C structure,
...
used for delta-t values by quicktime).
2000-03-06 16:34:49 +00:00
Jack Jansen
1b7a70fa52
Fixed parameters to a few time and timebase calls: InOut parameters were
...
inadvertantly seen as out-only.
2000-03-03 17:06:13 +00:00
Jack Jansen
6dc8ce9108
Added PutPixMapBytes() and GetPixMapBytes() functions that allow getting at
...
pixmap data.
Added an as_GrafPort() method to be able to use a GWorld as argument to
routines that expect a GrafPort.
2000-03-03 16:03:06 +00:00
Jack Jansen
484be6152f
Added methods getdata() and putdata() to obtain the data in a bitmap.
2000-03-03 16:01:11 +00:00
Jack Jansen
98b286c217
A module to parse/generate MediaDescription handles as used by QuickTime. Only
...
generic, video and audio implemented for now.
2000-03-02 16:11:36 +00:00
Jack Jansen
957d07a159
Added FreeMem, MaxBlock and CompactMem calls. The values returned by these are lower bounds in the Python case (as malloc doesn't return memory to the heap) but they can be used to decide when to give low-memory warnings.
2000-02-21 11:07:37 +00:00
Jack Jansen
dae108c6d8
And added a note about needing two "cvs update"s.
2000-02-11 23:17:14 +00:00
Jack Jansen
90cf4917de
Explained that you have to checkout the Mac portion of Python in a separate
...
folder and then move it to the Python hierarchy.
2000-02-11 23:14:46 +00:00
Jack Jansen
8574378ad4
In AskYesNoCancel() treat the "yes" and "no" buttons the same way as the cancel
...
button (i.e. an empty label hides the button).
2000-02-10 16:15:53 +00:00
Jack Jansen
4377a1a2c5
Big oops: macfs has always been using a private exception but calling it mac.error.
...
It now uses MacOS.Error (the OSErr valued error) and advertises that too. This
fix shouldn't break anything, I guess.
2000-01-24 10:37:59 +00:00
Jack Jansen
0475104787
Hmm, the project wasn't a 5.3 file, despite the log msg. Now it is.
2000-01-24 10:21:07 +00:00
Jack Jansen
6448c35248
Build the Nav module too.
2000-01-24 10:15:59 +00:00
Jack Jansen
3d7575406f
If there's an error in an fsspec argument raise MacOS.Error, not ValueError.
2000-01-24 09:56:06 +00:00
Jack Jansen
fca049d952
Made all textfields in message and question boxes minimal height and invisible, and use AutoSizeDialog() and ShowWindow() before doing interaction.
2000-01-18 13:36:02 +00:00
Jack Jansen
5c6634c807
- Actually _implemented_ SetFolder()
...
- Fixed StandardPutFile: prompt, default
- Check explicitly for userCanceledErr, pass other Nav.error exceptions through.
2000-01-13 16:26:35 +00:00
Jack Jansen
2c6cf97255
Handling of defaultLocation argument was wrong, causing a crash when used. Fixed.
2000-01-13 16:24:32 +00:00
Jack Jansen
3d6163ad2d
List objects obtained through as_List(resource) are not auto-disposed upon
...
Python object freeing.
2000-01-13 16:23:39 +00:00
Jack Jansen
8242c9e4c4
Get/set sys.path initializer in new appearance way.
2000-01-13 16:22:12 +00:00
Jack Jansen
d08833ff1d
Two constants were missing.
2000-01-07 14:55:40 +00:00
Jack Jansen
205b435c50
Added initializer routine optionally to be used as PEF fragment initialization routine, which allows us to get at our own resource fork even if some shared library init routine opens other resource files.
2000-01-07 14:53:31 +00:00
Jack Jansen
bb05b2520d
CW Pro 5.3 projects.
2000-01-01 23:20:39 +00:00
Jack Jansen
f7ac1d32f0
Nasty error: handle parameters are passed by _address_ to SetControlData.
1999-12-29 12:37:22 +00:00
Jack Jansen
1c252bfe39
Renamed USE_MAC_DYNAMIC_LOADING to HAVE_DYNAMIC_LOADING
1999-12-29 12:33:52 +00:00
Jack Jansen
e721f3ddd7
Modified for new dll import source organisation by Greg.
1999-12-24 13:41:31 +00:00
Jack Jansen
c9b1e90cc8
Modified for appearance.
1999-12-24 13:39:23 +00:00
Jack Jansen
b9247d37ba
Oops, forgot & in ParseTuple argument in ControlGetDataHandle.
1999-12-23 23:06:07 +00:00
Just van Rossum
6dc2b57c73
skip CVS folders when building the Scripts menu -- jvr
1999-12-23 21:50:26 +00:00
Just van Rossum
71017e5b6a
updated copyright string
1999-12-23 21:49:44 +00:00
Just van Rossum
24073eaf2b
changed the "method find" algorithm so the function/class/method popup menu also works with space-indented source files -- jvr
1999-12-23 15:46:57 +00:00
Jack Jansen
b06007a3ba
Added a reference to oldPICTbrowse.py.
1999-12-23 14:45:41 +00:00
Jack Jansen
3b23ed9ba6
Converted to Appearance and using a List control in stead of manually creating the List and putting it in a useritem. The old version is in oldPICTbrowse, for documentary purposes.
1999-12-23 14:45:02 +00:00
Jack Jansen
6a6db0724c
Partially converted to Appearance, the dialog still has the old ugly layout and
...
interaction.
1999-12-23 14:34:07 +00:00
Jack Jansen
d2bf68fdb9
Converted to Appearance.
1999-12-23 14:33:20 +00:00
Jack Jansen
a1a0fef2ea
Unified handle-conversion scheme to
...
handle = Ctl.as_Resource(ctl)
ctl = Ctl.as_Control(handle)
and similarly for List, Menu, TE. The old handle.as_Control() methods are
still there for backward compatability.
1999-12-23 14:32:06 +00:00
Jack Jansen
e9c69bc53e
Support keys that have a Handle as parameter, by using the new GetControlDataHandle and SetControlDataHandle methods.
1999-12-19 00:06:52 +00:00
Jack Jansen
1f9249cea9
Added {Get,Set}ControlDataHandle methods. These are {Get,Set}ControlData for
...
keys that expect a Handle, and have a ResObj as parameter.
1999-12-19 00:05:50 +00:00
Jack Jansen
54b9ce1c4f
StandardFile compatability routines. For the time being calling macfsn._install()
...
will install these in macfs (if Navigation is available).
1999-12-18 16:57:33 +00:00
Jack Jansen
97e0ae25aa
Increase applet minimal memory size by a megabyte.
1999-12-18 16:56:16 +00:00
Jack Jansen
77abc43486
Added a line about passing None as eventProc to the docstring to get movable
...
dialogs.
1999-12-17 23:01:44 +00:00
Jack Jansen
cd3d7ccd4f
PyMac_BuildOptStr255 and PyMac_BuildFSSpec added to exports.
1999-12-17 23:00:49 +00:00