Jack Jansen
1df628ddce
Partial fix for string handling. Null byte TBD.
2002-05-08 15:29:33 +00:00
Jack Jansen
5ad6f7a3a9
More support for bridging between Python and CoreFoundation objects. Still untested.
2002-05-07 23:00:03 +00:00
Jack Jansen
cb376460b7
Added pycfbridge.c
2002-05-07 22:59:06 +00:00
Jack Jansen
0627c3e371
Added enumobject.c
2002-05-07 21:42:08 +00:00
Jack Jansen
ead4c80ac2
Fixed a mistake on my part when regenerating: removed a bogus import of Applscript_Suite.
...
Bugfix candidate (I'll move it over myself).
2002-05-07 20:16:20 +00:00
Jack Jansen
efaffae8f6
First steps towards a generalized converter of Python object
...
hierarchies to CoreFoundation object hierarchies and vice versa.
2002-05-05 21:48:12 +00:00
Jack Jansen
65300f17c3
Regenerated.
...
Bugfix candidate.
2002-04-24 09:13:24 +00:00
Jack Jansen
033b79c483
Regenerated.
2002-04-23 22:46:01 +00:00
Jack Jansen
95df3fd159
Second part of fix for #493826 : regenerated suite modules so errn exists but == 0 doesn't signal an error.
...
Bugfix candidate.
2002-04-23 21:08:54 +00:00
Jack Jansen
18983536dc
First part of fix for #493826 : if 'errn' key exists in return value this doesn't necesarily signal an error, only if the value is non-zero it does. This
...
does not correspond with my reading of the documentation, but the OSX Finder can return 'errn'=0, and it knows better than me:-)
Bugfix candidate.
2002-04-23 21:03:21 +00:00
Jack Jansen
656b735af9
Backport of 1.6.4.2.2.3 from release22-maint branch.
2002-04-23 19:59:03 +00:00
Jack Jansen
d92b7a01c5
Updated URL.
2002-04-23 19:56:20 +00:00
Jack Jansen
601b2fddf2
Backport of select parts of release22-maint (up to 1.38.4.2.2.3).
2002-04-23 19:50:53 +00:00
Jack Jansen
ca80002694
Added Christopher Smith.
2002-04-22 13:56:25 +00:00
Jack Jansen
c6d2a20bc6
Removed note on test_time failing.
...
Bugfix candidate.
2002-04-22 11:46:16 +00:00
Jack Jansen
7aace7a2dc
Regenerated to include Internet Config error strings.
...
Bugfix candidate.
2002-04-22 11:45:46 +00:00
Jack Jansen
117dbdf4b4
Added an optional file with MacErrors.h extensions: IC errors aren't in there.
...
Bugfix candidate.
2002-04-22 11:44:26 +00:00
Jack Jansen
a258324a3d
Enable universal newline support for MacPython.
2002-04-14 22:13:35 +00:00
Jack Jansen
7b8c7546eb
Mass checkin of universal newline support.
...
Highlights: import and friends will understand any of \r, \n and \r\n
as end of line. Python file input will do the same if you use mode 'U'.
Everything can be disabled by configuring with --without-universal-newlines.
See PEP278 for details.
2002-04-14 20:12:41 +00:00
Jack Jansen
68c7e26dc9
Get rid of backward compatibility modules. Do this fairly early in the 2.3 cycle so we don't shoot ourselves in the foot later.
2002-04-11 21:03:37 +00:00
Jack Jansen
85705e73b1
Got rid of obsolete defines.
2002-04-11 20:56:15 +00:00
Jack Jansen
786681ac60
Got rid of obsolete appearance flag.
2002-04-11 20:56:13 +00:00
Jack Jansen
cc8258d827
Added boolobject.c
2002-04-11 20:54:58 +00:00
Jack Jansen
5159f1da7d
Got rid of ifdefs for long-obsolete GUSI versions and other lurkers.
2002-04-11 20:53:03 +00:00
Jack Jansen
32baa2c8d2
These are long obsolete. Get rid of them.
2002-04-11 20:50:39 +00:00
Jack Jansen
b19444feca
Got rid of ifdefs for long-obsolete GUSI versions and other stuff that is now standard (appearance, interned strings)
2002-04-11 20:48:25 +00:00
Jack Jansen
8ab04b4d65
Got rid of ifdefs for long-obsolete GUSI versions.
2002-04-11 20:46:23 +00:00
Jack Jansen
e9c0358bf4
e macresource.need() to open the W resource file in the application init
...
code (if it isn't open already).
PythonIDE still opens the resource file "manually" because it also uses
presence of the CURS resource to determine whether it needs to adjust
sys.path.
2002-04-03 21:52:10 +00:00
Jack Jansen
8f3078b3f0
Got the example program to work in MachoPython.
2002-04-03 21:28:02 +00:00
Jack Jansen
ff773eba36
Added a "run with commandline Python" flag. Works in MachoPython, should work
...
in OSX MacPython (untested), and should be disabled/removed in OS9 (but
that doesn't happen yet).
2002-03-31 22:01:33 +00:00
Jack Jansen
e7f776af3d
Suite to talk to the OSX Terminal application.
2002-03-30 23:46:16 +00:00
Jack Jansen
ad5dcafac4
Got rid of obsolete way to get at various toolbox types.
2002-03-30 23:44:58 +00:00
Jack Jansen
77afbc0b3b
Add Mac/Lib/lib-scriptpackages to sys.path too.
2002-03-30 23:43:36 +00:00
Jack Jansen
4092606d6b
Modified to allow it to run in MachoPython in a reasonable way. It still
...
needs a decent commandline interface, though.
2002-03-30 23:43:04 +00:00
Jack Jansen
61ef790907
Auxiliary files used by BuildApplet for MachoPython.
2002-03-29 23:48:55 +00:00
Jack Jansen
8134976fee
Auxiliary files for building the IDE applet. Running the IDE through
...
BuildApplet for MachoPython now seems to do the right thing, yeah!
2002-03-29 23:46:34 +00:00
Jack Jansen
9aa8fd0b7d
Handle .icns and .plist files for applets.
...
Also, for now (until we learn to parse .plist files) we make a special case
for the IDE, setting the creator to "Pide".
2002-03-29 23:44:37 +00:00
Jack Jansen
96f9e0864a
Missed one version number.
2002-03-29 23:43:21 +00:00
Jack Jansen
bdcb1c4597
First stab at an icon for the IDE.
2002-03-29 22:28:32 +00:00
Just van Rossum
ca3d307271
repair damage: canceling the "save options" dialog now works again.
2002-03-29 21:48:42 +00:00
Just van Rossum
8bb61c8d4c
repair damage: now works again as a CFM app.
2002-03-29 21:47:56 +00:00
Jack Jansen
9a38947fba
Completely revamped newline handling. PyEdit is now newline-preserving
...
(if a single newline convention is used in the sourcefile), and the
"save options" has a newline style radio button.
The creator radio button also has the new choices PythonW and None.
Just: just shout (and revert) if you don't agree.
2002-03-29 21:26:04 +00:00
Jack Jansen
e0ba087d44
Allow file without filetype as long as they end in ".py".
...
Added a -D flag (can really only be specified on OSX commandline) to not
revector sys.stderr, for debugging the IDE itself. Not sure whether
this should stay.
2002-03-29 21:23:47 +00:00
Jack Jansen
b2e33fe285
Implemented buildtools for MachoPython .app bundles. The API is compatible
...
enough that IDE and BuildApplet can create applets, yeah!
2002-03-29 21:21:28 +00:00
Jack Jansen
32f782c03c
Don't attempt to create a dummy fsspec if the user cancelled out, just
...
return None.
For now, if the user asks for TEXT files files without type are also
accepted. But it is time to phase out StandardGetFile and friends, really.
2002-03-29 21:19:37 +00:00
Jack Jansen
d21c9f48fa
Re-raise the Res.Error if the file doesn't exist.
2002-03-29 21:17:57 +00:00
Jack Jansen
2cce33f3bd
Added -Wno-long-double
2002-03-29 21:17:14 +00:00
Jack Jansen
c5fa303e78
Changed visible name (in dock, menubar) of the interpreter to PythonW.
...
Changed version numbers and copyright.
2002-03-29 21:16:41 +00:00
Jack Jansen
3cef721b61
Allow .pyc files as applets as well as .py files. .py files have
...
priority, for safety reasons.
2002-03-29 14:43:50 +00:00
Jack Jansen
5053b70da0
If the file has no resource fork first check to see whether it's a
...
datafork-based resource file before trying to decode it as AppleSingle.
2002-03-29 14:29:35 +00:00
Jack Jansen
695b33b02a
Removed debug.
2002-03-29 14:28:09 +00:00
Jack Jansen
0035fb27f4
In MachoPython print "Pythonw" in banner to distinguish from command-line
...
python.
Removed debug output.
2002-03-29 14:27:06 +00:00
Jack Jansen
0cd0e656ef
Added target "installunixprograms" which installs python and pythonw in
...
/usr/local/bin (referring to the framework-based interpreter and Python.app).
Added target symlinkmacsubtree to aid in debugging.
2002-03-29 14:18:18 +00:00
Jack Jansen
ab10ce6c6b
Shell script that invokes Python.app from the command line. Called pythonw
...
because of similarity to the same program on Windows.
2002-03-29 14:15:22 +00:00
Just van Rossum
4e6d13cebf
Make object browser work in OSX (by rewriting the old browser
...
LDEF in Python). If at all possible, this should go into 2.2.1.
2002-03-26 12:06:11 +00:00
Jack Jansen
a516a59caa
Include obmalloc.c in the build.
2002-03-25 15:43:37 +00:00
Jack Jansen
714d7268d5
Weaklink most toolbox modules, improving backward compatibility. Modules will no longer fail to load if a single routine is missing on the curent OS version, in stead calling the missing routine will raise an exception.
...
Should finally fix 531398. 2.2.1 candidate.
2002-03-25 00:32:17 +00:00
Jack Jansen
9d79990ac7
Weaklink most toolbox modules, improving backward compatibility. Modules will no longer fail to load if a single routine is missing on the curent OS version, in stead calling the missing routine will raise an exception.
...
Should finally fix 531398. 2.2.1 candidate.
Also blacklisted some constants with definitions that were not Python-compatible.
2002-03-24 23:04:18 +00:00
Jack Jansen
5ee24ae98d
Weaklink most toolbox modules, improving backward compatibility. Modules will no longer fail to load if a single routine is missing on the curent OS version, in stead calling the missing routine will raise an exception.
...
Should finally fix 531398. 2.2.1 candidate.
2002-03-24 22:59:16 +00:00
Jack Jansen
150ed6113c
Generate with weaklink stubs, so missing routines (on MacOS 8.6 and earlier)
...
don't cause import failure.
Fixes 531398, 2.2.1 candidate.
2002-03-22 14:16:39 +00:00
Jack Jansen
9051e0e577
- Weaklink InterfaceLib in _Res module
...
- forgot to pass libraryflags and stdlibraryflags on to ppc/carbon
project generation.
First half of fix to 531398.
2002-03-22 14:15:07 +00:00
Jack Jansen
562baabb61
Added an open_pathname() method which opens a resource file by pathname,
...
possibly converting from AppleSingle.
2002-03-21 22:38:32 +00:00
Jack Jansen
b9e6661206
For reasons I don't fully understand we sometimes get unexpected events
...
in MachoPython. As we don't have MacOS.HandleEvent() we drop these on
the floor (with a print).
2002-03-21 22:36:57 +00:00
Jack Jansen
0e5a733887
Solve sync() signature conflict differently: manually return 0 if
...
we have GUSI's void sync().
2002-03-21 21:09:36 +00:00
Jack Jansen
99286f96ac
New checkin to convert from BinHex to AppleSingle encoding.
2002-03-21 20:18:32 +00:00
Jack Jansen
ca9a4a6e17
Lurking bug found by patch for 531291: FSSpecs should be passed to
...
Py_BuildValue by address, not by value.
2.2.1 candidate.
2002-03-18 15:41:32 +00:00
Jack Jansen
cb6cf13261
Some of the newer routines return an OSErr, like most toolbox calls, in stead of depending on ResError(). Second half of fix for #531291 .
...
2.2.1 candidate.
2002-03-18 15:31:08 +00:00
Jack Jansen
a1e5da91d5
Applet icon.
2002-03-16 00:34:03 +00:00
Jack Jansen
86c4d64751
Modifed for new included expat.
2002-03-14 23:14:43 +00:00
Jack Jansen
648c8920bd
Updated for new included expat and new waste.
2002-03-14 23:13:33 +00:00
Just van Rossum
a2168eceb0
mkalias() now also works for folders. Fixes bug #515830 .
2002-03-10 19:28:02 +00:00
Jack Jansen
3014ce94ba
CGStubLib wasn't weak-linked, fixed. 221 candidate.
2002-03-05 22:43:50 +00:00
Just van Rossum
dd989e1ce7
Added ClipCGContextToRegion() from Quickdraw.h.
2002-03-04 10:31:32 +00:00
Just van Rossum
38b504e9e3
Added support for SyncCGContextOriginWithPort().
2002-03-02 10:20:44 +00:00
Jack Jansen
5ae815af99
Some buffers needed to be unsigned char, not char.
2002-02-26 21:36:19 +00:00
Jack Jansen
6a60915843
Don't blacklist ModalFilterUPP but always pass it as NULL. This enables the record routines to be generated.
2002-02-05 22:35:36 +00:00
Jack Jansen
e62ceac7d4
Added SndRecord and (classic only) SndRecordToFile.
2002-02-05 22:34:35 +00:00
Jack Jansen
5bb8f78d97
Added support for unicode strings (utxt).
2002-02-05 21:24:47 +00:00
Just van Rossum
4014401c6c
Added minimal support for floating windows.
2002-02-04 12:52:44 +00:00
Just van Rossum
bf0a9084c5
Don't append quit menu when on OSX, it is special and automatic there.
2002-02-04 12:48:06 +00:00
Just van Rossum
4e7203855e
Flush screen buffer upon console.flush() and output.flush().
...
This fixes bug #511992 .
2002-02-04 11:53:53 +00:00
Jack Jansen
c7dd34b5e7
Added a note about compiler warnings.
2002-01-30 10:42:59 +00:00
Jack Jansen
fea155370e
Use full paths for Rez and DeRez, which may not be on $PATH. Fixes bug
...
#509074 .
2002-01-27 20:05:20 +00:00
Jack Jansen
402dd6e255
Added contributors.
2002-01-25 16:13:38 +00:00
Jack Jansen
9051ad1bf2
Some modifications and clarifications (by me) to Michael's mods.
2002-01-25 15:28:39 +00:00
Jack Jansen
c7a7d2d4e8
Rewritten, clarified, corrected and cleaned up by Michael J. Barber.
2002-01-25 15:06:19 +00:00
Jack Jansen
b2ecc2c6c8
Get rid of keyword list and use keyword.iskeyword() function (which I wasn't aware of previously).
2002-01-24 22:44:07 +00:00
Jack Jansen
bdd6e705ae
"yield" is also a keyword. Spotted by Neal Norwitz.
2002-01-24 12:36:51 +00:00
Jack Jansen
8b0ee24e22
(Much) better list of Python keywords, supplied by Michael J. Barber.
2002-01-23 22:49:48 +00:00
Jack Jansen
c8febecd3c
Rename the routine to start the target running _start(), with a compatibility
...
routine start() calling it.
Some suites declare an event start(), which obscures this method, which
causes the class initializer to fail when called with start=1.
Based on bug report and fix suggestion by Jacob Kaplan-Moss.
2002-01-23 22:46:30 +00:00
Jack Jansen
685d46fee1
Newer names for various error include files.
2002-01-22 23:25:12 +00:00
Jack Jansen
a618c3fcfe
Build _tkinter for Carbon too.
2002-01-22 23:24:41 +00:00
Jack Jansen
7ebcbf5cf9
Identify() enum values. This was changed in 1.14, but I don't think it is a good idea.
2002-01-22 23:24:03 +00:00
Jack Jansen
368875c2d3
Regenerated to take advantage of new _builtinSuites package.
2002-01-22 23:22:32 +00:00
Jack Jansen
d50c66b1e5
A "magic" suite that is the base suite for StdSuites. This solves a problem with the required events open/openapp/reopen/print/quit officially being part of Required but being defined (by Apple) in Standard.
...
Most of the code and ideas contributed by Michael j. Barber.
2002-01-22 23:20:12 +00:00
Jack Jansen
eafff4c248
Get rid of fsspec type initializer, it wasn't used anyway.
2002-01-21 23:02:03 +00:00
Jack Jansen
a4adacbd7e
Changes by Donovan Preston (and a few minor ones by me) to make IDE run under
...
MachoPython. Mainly making sure we don't call routines that don't exist.
2002-01-21 23:01:24 +00:00
Jack Jansen
815d2bf067
Changes by Donovan Preston (and a few minor ones by me) to make IDE run under
...
MachoPython. Mainly making sure we don't call routines that don't exist
and representing pathnames in a os.separator-neutral format.
These shouldn't interfere too much with Just's work on the next generation IDE,
I hope.
2002-01-21 23:00:52 +00:00
Jack Jansen
c71efe0116
Also install the Tools directory on "make installmacsubtree".
2002-01-21 22:51:55 +00:00
Jack Jansen
ba4fe77fba
Added as_pathname() method to FSRef objects.
2002-01-18 16:13:15 +00:00
Jack Jansen
109f0945e4
Added a note that you have to add Mac/Lib to sys.path after doing
...
a "make installmacsubtree".
2002-01-18 16:12:27 +00:00
Jack Jansen
fdc8d758ad
Include errors.rsrc in the Python.app resource file, so the error strings
...
are available in MacOS API exceptions.
2002-01-15 23:20:40 +00:00
Jack Jansen
32d1a3b1c9
Fixed to work under MachoPython, doing the expected unpacking for applesingle files. The IDE still doesn't work, though, because it uses :-style pathnames.
2002-01-13 23:18:00 +00:00
Jack Jansen
d48b10621e
In MachoPython expect Unix-style pathnames for both FSSpec and FSRef initializers. TBD: Do the reverse for MacPython, and also handle as_pathname().
2002-01-13 23:16:32 +00:00
Jack Jansen
51e77e1324
Regenerated from UH 3.4. Candidate for 2.2.1.
2002-01-13 22:59:49 +00:00
Jack Jansen
8aa498774d
Removed references to download of Waste.
2002-01-11 12:41:01 +00:00
Jack Jansen
4a667c724a
CodeWarrior includes Waste and Internet Config nowadays, obviating the need for separate downloads.
2002-01-11 12:39:03 +00:00
Jack Jansen
8f54f2a3f3
Internet Config is now part of official Apple interfaces, so use the new
...
headers and libraries.
2002-01-11 12:38:08 +00:00
Jack Jansen
b99e521319
- Updated to Waste 2.0.
...
- Use waste included with CW in stead of separate package.
2002-01-11 12:37:15 +00:00
Jack Jansen
00638bd4f9
Don't call PyMac_OutputSeen if we have a custom console. Fix by Alexandre Parenteau.
2002-01-11 10:24:23 +00:00
Jack Jansen
f706b1c807
Updated for CW7 and Tcl/Tk 8.3.4.
2002-01-10 00:07:00 +00:00
Jack Jansen
6c6b079185
Added the modules I missed first time around. Still not good enough, though: bgerror does a "package require msgcat" and I don't see a way to put packages into resources. Off to the mactcl list for help...
2002-01-10 00:05:54 +00:00
Just van Rossum
4b367359b5
Fixed TrackMouseRegion() argument: ioWasInRgn is an in/out parameter.
2002-01-09 18:54:16 +00:00
Jack Jansen
e0b1e6af58
Updated for CW7 and Tcl/Tk 8.3.4. Also added a few other things
...
that were changed but not yet reflected in this document.
2002-01-08 23:03:45 +00:00
Jack Jansen
850bbcdf76
Upgraded _tkinter to Tcl/Tk 8.3.4.
2002-01-08 22:11:51 +00:00
Just van Rossum
ec0107f023
Today's Carbon Toolbox addition: CarbonEvt.TrackMouseLocation() and friends.
2002-01-08 11:49:31 +00:00
Just van Rossum
ca3b2ffbb9
Today's Carbon Toolbox addition: QDTextBounds()
2002-01-07 14:15:02 +00:00
Just van Rossum
6253a114a7
Added support for DrawThemeButton() and friends.
2002-01-06 23:03:39 +00:00
Just van Rossum
8a107fbfed
Whoops, it's late -- generated output now matches what's checked in...
2002-01-05 23:44:33 +00:00
Just van Rossum
eae95044ae
Q&D support for ThemeDrawingState objects.
2002-01-05 23:37:19 +00:00
Just van Rossum
c4cf27e8e0
- added support for UserPaneKeyDownProc and UserPaneFocusProc
...
- clear error after failing PyArg_Parse()
2002-01-04 19:45:15 +00:00
Jack Jansen
a22a7b7a06
UH 3.4 checkin that I had forgotten about.
2002-01-04 16:01:23 +00:00
Jack Jansen
3bac5ca11a
Some of the new routines are carbon-only.
2002-01-04 16:00:27 +00:00
Just van Rossum
7d1d396134
Callback error handling improvements:
...
- print traceback
- don't use fprintf()
- clear exception (implied by PyErr_Print())
2002-01-04 14:39:29 +00:00
Just van Rossum
3e584aaa2a
Ugh, by all means, _do_ report exceptions somehow ;-)
2002-01-04 13:49:36 +00:00
Just van Rossum
43c2de230d
fixed SetEventParameter() signature: removed unneccesary length arg.
2002-01-03 20:45:47 +00:00
Just van Rossum
8edfc542f0
The output MenuRef of GetMenuItemHierarchicalMenu() may be NULL.
2002-01-03 12:16:18 +00:00
Jack Jansen
4b517854d0
In MachoPython, don't simulate argc/argv unless we have argc=1 and argv[1]
...
starts with "-psn_". This means the drag-and-drop continues to work as
expected, but we can now also do
/Applications/Python.app/Contents/MacOS/python script.py
from the command line, which is a lot easier with debugging. Pressing <option>
at this point also has the expected effect of opening the options dialog!
2002-01-02 22:53:38 +00:00
Just van Rossum
4f6fe52424
- Added DrawThemeTextBox()
...
- fixed GetThemeTextDimensions(): it has an in/out Point arg, not just out.
2002-01-02 15:11:44 +00:00
Just van Rossum
1ca65c0738
rectified copy/paste oversight in comment
2002-01-02 14:59:03 +00:00
Just van Rossum
ca3cff30ec
- Added support for optional MenuObj arguments
...
- Added a bunch of calls as functions with an optional
MenuObj first argument. The same calls already
exist as methods, but then the first arg isn't
optional... The method versions could go as far as I'm
concerned. Jack?
2002-01-02 14:48:36 +00:00
Jack Jansen
69ac361cb5
Added some support for unicode arguments.
2002-01-01 22:43:13 +00:00
Jack Jansen
65293680aa
Use the Carbon scrap manager interface if the old interface isn't available.
2001-12-31 15:08:04 +00:00
Jack Jansen
9cf00dd551
Updated to optionally use Carbon Scrap manager.
2001-12-31 15:02:56 +00:00
Jack Jansen
ad8381a8f0
Use the Carbon scrap manager interface if the old interface isn't available.
2001-12-31 14:53:05 +00:00
Jack Jansen
420ed40344
Added support for the Carbon scrap manager (finally).
2001-12-31 14:52:03 +00:00
Just van Rossum
7633593683
Oops, forgot to mark CreateScrollBarControl and CreateSliderControl
...
as Carbon-only
2001-12-31 09:50:32 +00:00
Just van Rossum
20a03d1c9a
made radio button labels readable under OSX
2001-12-31 08:58:44 +00:00
Just van Rossum
bdb9d487b2
half-hearted stab at supported the 2.2 object model better.
2001-12-31 08:57:57 +00:00
Just van Rossum
31a4c22cee
added support for live feedback in scrollbars
2001-12-31 08:56:52 +00:00
Just van Rossum
cae6da632a
- added support for ControlActionProcs, exposing the following calls:
...
- ctl.SetControlAction()
- CreateScrollBarControl()
- CreateSliderControl()
- print traceback when callbacks fail
2001-12-30 21:25:26 +00:00
Jack Jansen
b9526515b7
Merging changes from release22-branch.
2001-12-27 23:01:18 +00:00
Just van Rossum
226275f780
Modified version of patch #496882 : echo SimpleStdin readline()
...
input to stdout.
2001-12-27 10:29:07 +00:00
Jack Jansen
6bc62c4951
Applying r22c1 branch mods back to the trunk.
2001-12-20 20:41:45 +00:00
Just van Rossum
7eb48e3283
Moved a bunch of routines from "blacklisted" to "graylisted", as they _are_
...
available in OSX (mach-o) but not in CarbonLib (neither on OSX or OS9).
2001-12-18 20:15:27 +00:00
Jack Jansen
620a7667eb
Updated to Universal Headers 3.4
2001-12-18 15:39:38 +00:00
Just van Rossum
f30c3ad0d9
Added missing docstring
2001-12-18 12:53:47 +00:00
Just van Rossum
66d78bf2a0
Added support for tab controls and initial (incomplete) support
...
for DataBrowser controls.
2001-12-18 12:47:47 +00:00
Just van Rossum
820867662b
Patch #494553 by Donovan Preston: initial implementation
...
for GetEventParameter().
2001-12-18 12:35:57 +00:00
Jack Jansen
086f7c3890
There's a new include file AEInteraction.h which contains AESend and friends.
2001-12-17 11:47:27 +00:00
Jack Jansen
ec982e2739
TickCount moved to a different header file. We manually added it back in here, for conveninece.
2001-12-17 11:46:50 +00:00
Jack Jansen
2168e9d602
Adapted for Universal Headers 3.4
2001-12-16 20:18:40 +00:00
Jack Jansen
6943444664
Finally CW7 allows me to replace the continually-in-need-of-updating exports files with one 6-line anti-export-file. Yeah! (Thanks Alex, for reminding me:-)
2001-12-15 00:23:35 +00:00
Just van Rossum
2c39115240
Made event callbacks more rubust: keep an actual reference to the
...
python callback, and do RemoveEventHandler() upon deallocation.
2001-12-14 23:16:04 +00:00
Jack Jansen
9635f33e5b
Quick patch to allow building with Universal Headers 3.4.
2001-12-14 23:03:07 +00:00
Jack Jansen
1b8bd94f73
The import of the scanner can also fail, cater for that.
2001-12-14 23:01:34 +00:00
Jack Jansen
28f14012d7
We have strdup(), but not its prototype:-(
2001-12-14 22:58:11 +00:00
Jack Jansen
031b779d43
Use getcwd(), not silly old getwd().
2001-12-14 22:57:34 +00:00
Jack Jansen
75401a0214
Updated for CW7
2001-12-14 22:53:16 +00:00
Jack Jansen
84937719a9
Updated to CodeWarrior Pro 7.
2001-12-14 22:50:26 +00:00
Jack Jansen
615e2505f0
Many of the new calls are Carbon-only. Flagged them as such.
2001-12-14 22:47:19 +00:00
Jack Jansen
81feb6c201
Add default values for options in the class init routine, not in the convenience wrapper function: distutils uses the class directly. Fixes bug #492665 .
2001-12-14 14:31:15 +00:00
Just van Rossum
7ec1c85d7a
- "manage" controls created by CreateXxxXxxControl() functions.
...
- FindControlUnderMouse() returns an existing control, not a new one.
2001-12-13 21:24:37 +00:00
Just van Rossum
0441dbff16
OSX workaround: don't crash if the extentions folder can't be found.
...
Not sure how to properly solve this.
2001-12-13 17:11:21 +00:00
Just van Rossum
4f6c05857f
include the proper header for Mach-O
2001-12-13 13:40:04 +00:00
Just van Rossum
663dd79861
added CoreGraphics to build list
2001-12-13 13:22:46 +00:00
Just van Rossum
11ccf3c1f0
added non-support for CoreGraphics...
2001-12-13 13:21:38 +00:00
Just van Rossum
d7fdba3d4d
project file for CoreGraphics
2001-12-13 13:20:00 +00:00
Just van Rossum
79e71f73e7
second CoreGraphics batch
2001-12-13 13:17:20 +00:00
Just van Rossum
c97eefc3c9
first checkin for CoreGraphics
2001-12-13 13:15:28 +00:00
Just van Rossum
d16199aade
fixed typo in my email address
2001-12-13 12:58:09 +00:00
Just van Rossum
d9c9b57e29
Don't barf when an AppleEvent was not handled. It's ok to ignore.
2001-12-13 12:57:11 +00:00
Just van Rossum
3f4651ec9c
re-checkin as AppleSingle
2001-12-13 12:54:36 +00:00
Jack Jansen
6c3145985f
Shut up gcc warning.
2001-12-12 22:51:39 +00:00
Jack Jansen
3339fc94b3
Updated for 2.2 release.
2001-12-12 22:44:59 +00:00
Just van Rossum
aa6e83f2e9
added CarbonEvents
2001-12-12 22:42:37 +00:00
Just van Rossum
e0b9fdca0d
Updated for Universal Headers 3.4.
2001-12-12 22:40:27 +00:00
Just van Rossum
485d92e127
Support files for CarbonEvents
2001-12-12 22:39:52 +00:00
Just van Rossum
cddfc8736f
Added proper error checking in event callback handler
2001-12-12 21:48:00 +00:00
Jack Jansen
ff3a69c4bc
Ready for 2.2 distribution.
2001-12-12 21:40:38 +00:00
Just van Rossum
f8d6473782
Exposed quite a few more calls.
2001-12-12 20:48:53 +00:00
Just van Rossum
c3baa0eff7
Fixed to the extend that it now builds in CW6, and actually works
...
a little.
2001-12-11 21:52:02 +00:00
Jack Jansen
9493455c2a
Updated for hfsplus module, new gusi libs.
2001-12-11 15:08:52 +00:00
Just van Rossum
14666cc04f
Added __members__ to FInfo object.
2001-12-11 14:04:12 +00:00
Jack Jansen
52306a780b
The new menu initialization code would also add the SIOUX menus if a (frozen) Python program had installed its own menubar previously. We now guard against this, with a bit of a hack: FrameWork uses the same Menu ID as Sioux, and the init code checks that the text in the menu is "About SIOUX" before replacing it.
2001-12-10 16:08:14 +00:00
Jack Jansen
b2fb202bc2
Updated, and converted line-endings to unix-style (oops:-)
2001-12-09 23:17:38 +00:00
Jack Jansen
edeea04bfd
Mods to make WASTE module compile and link for MachoPython. Not tested
...
any further, yet.
2001-12-09 23:08:54 +00:00
Guido van Rossum
146483964e
Patch supplied by Burton Radons for his own SF bug #487390 : Modifying
...
type.__module__ behavior.
This adds the module name and a dot in front of the type name in every
type object initializer, except for built-in types (and those that
already had this). Note that it touches lots of Mac modules -- I have
no way to test these but the changes look right. Apologies if they're
not. This also touches the weakref docs, which contains a sample type
object initializer. It also touches the mmap test output, because the
mmap type's repr is included in that output. It touches object.h to
put the correct description in a comment.
2001-12-08 18:02:58 +00:00
Just van Rossum
1f1e7270cf
OSX tweak.
2001-12-08 10:37:40 +00:00
Just van Rossum
59d5a9b5b7
Don't do App.DrawThemeListBoxFrame() upon activate: it starts
...
looking worse and worse if you deactivate/activate the window
a few times. I don't know how to fix this properly, but I'm beginning
to think that it's almost impossible to support the Appearance
manager properly due to the way W works. Time for W2?...
2001-12-08 09:51:41 +00:00
Jack Jansen
2a42c3a8d3
Not being able to copy PythonCore to the system-folder is not a fatal error, on OSX the user may not have permission to do so. Also give a more informative message in this case.
...
Fixes bug 475253.
2001-12-07 16:07:04 +00:00
Jack Jansen
101de912d3
Replace sprintf() with PyOS_snprintf().
2001-12-05 23:27:58 +00:00
Jack Jansen
a7594db5bc
Link more modules with weak import, and add CarbonAccessors.o to all relevant PowerPC toolbox modules. This, in combination with recent IDE mods, makes the IDE work again under MacOS 8.1.
2001-12-05 22:46:23 +00:00
Jack Jansen
9145be4310
Define NDEBUG if Py_DEBUG isn't defined.
2001-12-05 22:44:45 +00:00
Jack Jansen
b6b6c6c33f
Patch by Jason Harper to allow IDE to work again under MacOS 8.1. Plus appearance support for Wlist frames and focussing. Plus commented-out appearance support for the same for Wtext, which still needs some work.
2001-12-04 13:30:29 +00:00
Just van Rossum
2009aa66b4
removed some dead code.
2001-12-03 19:27:38 +00:00
Just van Rossum
cee949f945
Removed old and broken AE-based browser controller, use webbrowser.py
...
instead. This fixes bug #488420 .
2001-12-03 18:11:36 +00:00
Jack Jansen
20ffa0e5bc
A system() lookalike that sends commands to ToolServer, by Daniel Brotsky. The semantics aren't enough like system() to add this to the main Lib folder, but it is pretty useful nonetheless for selected people.
2001-12-03 00:11:35 +00:00
Jack Jansen
b3be216b41
Merged changes made on r22b2-branch between r22b2 and r22b2-mac (the
...
changes from start of branch upto r22b2 were already merged, of course).
2001-11-30 14:16:36 +00:00
Just van Rossum
f376ef0996
a whole bunch of OSX tweaks
2001-11-18 14:12:43 +00:00