Jack Jansen
4f2d89f1f8
Interface to Apple Help Viewer.
2002-08-28 21:16:53 +00:00
Jack Jansen
fd372aa8e9
Don't build ConfigurePythonCarbon and ConfigurePythonClassic any longer,
...
classic Python is gone.
2002-08-22 23:37:00 +00:00
Jack Jansen
5fd945895e
For MacPython-OS9 verbose is the default.
2002-08-22 23:36:11 +00:00
Jack Jansen
d59f8d0691
Interface to Apple Help Manager.
2002-08-22 23:31:37 +00:00
Jack Jansen
f34a8bced2
Moved CoreFoundation type support to bgen/macsupport.
2002-08-22 23:30:49 +00:00
Jack Jansen
286e838f22
Added PyDoc_STR's.
2002-08-22 23:29:45 +00:00
Jack Jansen
0281512b87
Merged the MacPython thanks list into the general acknowledgements.
...
There's really no point in a separate list of thank-you notes.
2002-08-19 13:17:39 +00:00
Jack Jansen
58ba80a6a6
Refuse to run if the last bit of the destination path contains a # character.
...
This is a silly workaround for a rather serious bug in MacOSX: if you take
a long filename and convert it to an FSSpec the fsspec gets a magic
cooky (containing a #, indeed). If you then massage the extension of this
fsspec and convert back to a pathname you may end up referring to the
same file. This could destroy your sourcefile. The problem only occcurs
in MacPython-OS9, not MacPython-OSX (I think).
Closes bug #505562 .
2002-08-18 21:57:09 +00:00
Jack Jansen
49931887d7
Regenerated with PyDoc_STR() around docstrings.
2002-08-16 09:09:31 +00:00
Jack Jansen
7ca993ed37
Fixed the bugs in the constant definitions, and in the code to test
...
them.
The FutureWarnings are still there, until a way has been found to
say "I know what I'm doing here when I say 0xff000000".
2002-08-15 22:05:58 +00:00
Jack Jansen
87eea88b5a
After generating the Python file with definitions try to run it, so
...
we catch errors during the build process in stead of later during runtime.
2002-08-15 21:48:16 +00:00
Jack Jansen
81204152d4
Try to cater for a source tree checked out with MacCVS in stead of
...
unix cvs. In this case the resource files are actual resource files
in stead of AppleSingle encoded files.
2002-08-15 21:31:18 +00:00
Jack Jansen
7a1703d8cb
Updated for the current state of affairs.
2002-08-12 20:46:18 +00:00
Jack Jansen
45c8e92728
- Precompile py files in Mac subtree after installing
...
- Pre-cache .rsrc files in Mac subtree after installing
- Fixed nameclash in Make variables
2002-08-09 14:15:46 +00:00
Jack Jansen
ccd8e8d741
- Check not only that cache file exists, but also that it is newer than
...
the applesingle file.
- Added optional verbose option for cachersrc tool.
2002-08-09 13:44:03 +00:00
Jack Jansen
b8da8d7761
Tool to pre-created cached .rsrc.df.rsrc files in the Lib directories,
...
similar to compileall.py.
2002-08-09 13:42:55 +00:00
Jack Jansen
d77f93ad81
Obsolete now that there's a python implementation of strptime in the
...
standard lib.
2002-08-09 10:22:11 +00:00
Jack Jansen
f1148f0bb3
Patch by Russel Owen: if we have command line arguments zap pyc files
...
in the directories given.
2002-08-09 10:17:28 +00:00
Jack Jansen
a70ab8cd4f
Depracated some non-carbon modules.
2002-08-09 09:03:31 +00:00
Jack Jansen
9536bcbfd8
This file should have gone long ago.
2002-08-09 09:02:01 +00:00
Jack Jansen
cb4321eb17
By popular demand the frameworkinstall target now installs everything:
...
the framework, the MacOSX apps and the unix tools.
Most of the hard work is done by Mac/OSX/Makefile.
Also, it should now be possible to install in a different directory,
such as /tmp/dist/Library/Frameworks, for building binary installers.
The fink crowd wanted this.
2002-08-09 00:18:21 +00:00
Jack Jansen
617e2305ee
Use hex escape for non-ascii chars, now that the parser wants that.
...
Good thing, too: some of the characters had been mangled by OS9->CVS->OSX
roundtrips.
2002-08-08 21:16:56 +00:00
Jack Jansen
295105f3aa
Regenerated with OSA class inheritance and fix for non-ascii chars.
2002-08-07 15:53:42 +00:00
Jack Jansen
7ff034b65b
Fixed incorrect logic in determining whether we should initialize
...
the classes' attribute list.
2002-08-07 15:52:44 +00:00
Jack Jansen
21f675826e
- If an OSA identifier is a Python reserved word we now append an _
...
in stead of prepending it, which messes up "import * from".
- A few ascii()s added again.
- Changed the getbaseclasses a little, but it still isn't perfect.
2002-08-07 15:44:53 +00:00
Jack Jansen
2f7f8c4a64
Don't be over-enthusiastic with the ascii() calls: we don't need it if
...
the result passes through backticks.
2002-08-07 15:05:42 +00:00
Jack Jansen
8b77767094
Donovan Preston's patch #538395 , with some mods by me.
...
This patch makes inheritance for OSA classes work. The implementation is a
bit convoluted, but I don't immedeately see a simpler way of doing it.
I added calls to ascii() everywhere we output strings that may contain
non-ascii characters (Python has gotten very picky since the encoding
patch:-).
I also removed Donovan's different way of opening resource files: I don't
seem to need it.
2002-08-07 14:49:00 +00:00
Jack Jansen
b2bb87300b
Quote the arguments, they may contain strings.
2002-08-07 14:05:58 +00:00
Jack Jansen
9c5b61b21b
Patch #567296 by Pim Buurman, slightly modified by me so it can be disabled
...
at compile time: use PBGetCatInfoSync() to get FInfo data in stead of
GetFInfo. The latter doesn't work for folders. The former does, at
least on OSX, and insofar the info makes sense for a folder.
2002-08-06 12:59:44 +00:00
Jack Jansen
137d8c5667
Wrapper around _IBCarbon.
2002-08-06 09:32:57 +00:00
Jack Jansen
94caa78ebf
Patch by Ronald Oussoren: if there's a .lproj in the extras list also
...
check whether it contains a .nib, and do the Cocoa song and dance if
it does.
2002-08-05 22:06:29 +00:00
Jack Jansen
0a9d7559e8
In copy() don't try to obtain an FSSpec until we know the destination
...
exists. Partial fix for #585923 .
2002-08-05 21:53:57 +00:00
Jack Jansen
20417bcd18
Better output for errors, and some progress reports.
...
Handle the two modules with non-standard scanner module names.
2002-08-05 21:14:16 +00:00
Jack Jansen
c4ff194bdd
Fixed the last two bgen-based modules to be buildable on OSX.
2002-08-05 21:13:07 +00:00
Jack Jansen
aaebdd6a02
Enable building of Carbon toolbox modules with unix-Python.
2002-08-05 15:39:30 +00:00
Jack Jansen
ff8dec7427
Got rid of staticforward.
2002-08-05 15:36:57 +00:00
Jack Jansen
a4741ffe63
This can now run under unix-Python too. You have to pass the folder
...
to search on the command line in that case.
2002-08-05 15:33:44 +00:00
Jack Jansen
6573f31874
Moved bgenlocations to the Mac/Lib directory. Not perfect, but better than
...
where it was: it is really a configuration file, not a normal module.
By moving it into Mac/Lib we can now also store the location of bgen
itself in there, which is needed because bgen isn't installed.
2002-08-05 14:56:04 +00:00
Jack Jansen
ace9d955b0
Renamed Py_Main to PyMac_Main as it has a different signature than the "normal" Py_Main, and that signature has appeared in a .h file.
2002-08-05 14:13:31 +00:00
Jack Jansen
3bd3fedeca
Added _IBCarbon module.
2002-08-05 14:12:24 +00:00
Jack Jansen
83f5c38403
The definitions for IBCarbonRuntime.h
2002-08-04 22:03:36 +00:00
Jack Jansen
acbaefd796
Updated to something that works on my system, and regenerated module.
2002-08-04 21:59:37 +00:00
Jack Jansen
0c069924e5
Donovan Preston's interface to IBCarbon, allowing you to use Interface
...
Builder carbon NIB files from Python. As-is, I may need to twiddle a few
things as he donated this long ago.
Donovan is now one of the four people in the world who know how to drive
bgen!
2002-08-04 21:34:24 +00:00
Jack Jansen
d64845dbbe
Mkdirs() failed when provided with unix pathnames. Fixed.
2002-08-03 20:49:10 +00:00
Jack Jansen
0e0a479821
Added an icon for .pyw files.
2002-08-02 22:32:41 +00:00
Jack Jansen
2f8816fda6
An icon for .pyw files. Yes, it's lousy, I know....
2002-08-02 22:18:05 +00:00
Jack Jansen
940dc922c0
Build the IDE last, as it may fail because of waste missing.
2002-08-02 21:46:40 +00:00
Jack Jansen
0fdaee7419
Added a lot more information on framework builds, the various .app's,
...
etc. Still not enough, probably, but better than what we had.
2002-08-02 21:45:27 +00:00
Jack Jansen
337f85d34f
Updated for the new path to Python.app.
2002-08-02 21:05:16 +00:00
Jack Jansen
f80798b1ca
When building the IDE check that waste is available, to forestall
...
surprises later (the IDE won't work without waste).
2002-08-02 21:04:46 +00:00