summaryrefslogtreecommitdiffstats
path: root/Mac
Commit message (Collapse)AuthorAgeFilesLines
* Merged the MacPython thanks list into the general acknowledgements.Jack Jansen2002-08-191-10/+2
| | | | There's really no point in a separate list of thank-you notes.
* Refuse to run if the last bit of the destination path contains a # character.Jack Jansen2002-08-181-1/+4
| | | | | | | | | | | 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.
* Regenerated with PyDoc_STR() around docstrings.Jack Jansen2002-08-1623-2151/+2151
|
* Fixed the bugs in the constant definitions, and in the code to testJack Jansen2002-08-154-10/+14
| | | | | | 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".
* After generating the Python file with definitions try to run it, soJack Jansen2002-08-1527-0/+54
| | | | we catch errors during the build process in stead of later during runtime.
* Try to cater for a source tree checked out with MacCVS in stead ofJack Jansen2002-08-151-6/+36
| | | | | unix cvs. In this case the resource files are actual resource files in stead of AppleSingle encoded files.
* Updated for the current state of affairs.Jack Jansen2002-08-121-20/+27
|
* - Precompile py files in Mac subtree after installingJack Jansen2002-08-091-28/+34
| | | | | - Pre-cache .rsrc files in Mac subtree after installing - Fixed nameclash in Make variables
* - Check not only that cache file exists, but also that it is newer thanJack Jansen2002-08-091-4/+7
| | | | | the applesingle file. - Added optional verbose option for cachersrc tool.
* Tool to pre-created cached .rsrc.df.rsrc files in the Lib directories,Jack Jansen2002-08-091-0/+45
| | | | similar to compileall.py.
* Obsolete now that there's a python implementation of strptime in theJack Jansen2002-08-091-250/+0
| | | | standard lib.
* Patch by Russel Owen: if we have command line arguments zap pyc filesJack Jansen2002-08-091-12/+15
| | | | in the directories given.
* Depracated some non-carbon modules.Jack Jansen2002-08-093-0/+1013
|
* This file should have gone long ago.Jack Jansen2002-08-091-18/+0
|
* By popular demand the frameworkinstall target now installs everything:Jack Jansen2002-08-091-17/+21
| | | | | | | | | 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.
* Use hex escape for non-ascii chars, now that the parser wants that.Jack Jansen2002-08-081-13/+13
| | | | | Good thing, too: some of the characters had been mangled by OS9->CVS->OSX roundtrips.
* Regenerated with OSA class inheritance and fix for non-ascii chars.Jack Jansen2002-08-0742-818/+2217
|
* Fixed incorrect logic in determining whether we should initializeJack Jansen2002-08-071-2/+1
| | | | the classes' attribute list.
* - If an OSA identifier is a Python reserved word we now append an _Jack Jansen2002-08-071-8/+10
| | | | | | 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.
* Don't be over-enthusiastic with the ascii() calls: we don't need it ifJack Jansen2002-08-071-19/+19
| | | | the result passes through backticks.
* Donovan Preston's patch #538395, with some mods by me.Jack Jansen2002-08-074-50/+183
| | | | | | | | | | | | 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.
* Quote the arguments, they may contain strings.Jack Jansen2002-08-071-1/+1
|
* Patch #567296 by Pim Buurman, slightly modified by me so it can be disabledJack Jansen2002-08-061-2/+24
| | | | | | 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.
* Wrapper around _IBCarbon.Jack Jansen2002-08-061-0/+1
|
* Patch by Ronald Oussoren: if there's a .lproj in the extras list alsoJack Jansen2002-08-051-1/+10
| | | | | check whether it contains a .nib, and do the Cocoa song and dance if it does.
* In copy() don't try to obtain an FSSpec until we know the destinationJack Jansen2002-08-051-6/+12
| | | | exists. Partial fix for #585923.
* Better output for errors, and some progress reports.Jack Jansen2002-08-051-1/+12
| | | | Handle the two modules with non-standard scanner module names.
* Fixed the last two bgen-based modules to be buildable on OSX.Jack Jansen2002-08-052-5/+6
|
* Enable building of Carbon toolbox modules with unix-Python.Jack Jansen2002-08-0526-58/+26
|
* Got rid of staticforward.Jack Jansen2002-08-054-11/+11
|
* This can now run under unix-Python too. You have to pass the folderJack Jansen2002-08-051-2/+6
| | | | to search on the command line in that case.
* Moved bgenlocations to the Mac/Lib directory. Not perfect, but better thanJack Jansen2002-08-051-0/+61
| | | | | | | 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.
* Renamed Py_Main to PyMac_Main as it has a different signature than the ↵Jack Jansen2002-08-051-4/+4
| | | | "normal" Py_Main, and that signature has appeared in a .h file.
* Added _IBCarbon module.Jack Jansen2002-08-054-0/+5
|
* The definitions for IBCarbonRuntime.hJack Jansen2002-08-041-0/+5
|
* Updated to something that works on my system, and regenerated module.Jack Jansen2002-08-042-12/+7
|
* Donovan Preston's interface to IBCarbon, allowing you to use InterfaceJack Jansen2002-08-043-0/+342
| | | | | | | | 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!
* Mkdirs() failed when provided with unix pathnames. Fixed.Jack Jansen2002-08-031-1/+1
|
* Added an icon for .pyw files.Jack Jansen2002-08-022-0/+15
|
* An icon for .pyw files. Yes, it's lousy, I know....Jack Jansen2002-08-021-0/+0
|
* Build the IDE last, as it may fail because of waste missing.Jack Jansen2002-08-021-1/+1
|
* Added a lot more information on framework builds, the various .app's,Jack Jansen2002-08-021-2/+87
| | | | etc. Still not enough, probably, but better than what we had.
* Updated for the new path to Python.app.Jack Jansen2002-08-021-1/+1
|
* When building the IDE check that waste is available, to forestallJack Jansen2002-08-021-0/+5
| | | | surprises later (the IDE won't work without waste).
* Also create BuildApplet. It's useful enough as a standalone application.Jack Jansen2002-08-021-1/+6
|
* Hmm, in some cases we don't seem to get our scriptname in argv[0].Jack Jansen2002-08-021-2/+13
| | | | Cater for that by working from sys.executable.
* Final step in making applets first-class citizens: if the applet wantsJack Jansen2002-08-022-0/+56
| | | | | | | | | argv emulation (i.e. if the end user drops files and folders on the applets these will show up in sys.argv) BuildApplet will add the required code to the applet bundle, in __rawmain__.pyc. This code is compiled from appletrawmain.py, it creates sys.argv, cleans up most of the mess and executes either __main__.py or __main__.pyc.
* Oops, the -psn stuff is in argv[1], of course.Jack Jansen2002-08-021-2/+2
|
* Added one call to Py_Main(), for OSX framework builds only, that will get theJack Jansen2002-08-022-43/+24
| | | | | | | | | | | | | actual script to run in case we are running from an applet. If we are indeed running an applet we skip the normal option processing leaving it all to the applet code. This allows us to get use the normal python binary in the Python.app bundle, giving us all the normal command line options through PythonLauncher while still allowing Python.app to be used as the template for building applets. Consequently, pythonforbundle is gone, and Mac/Python/macmain.c isn't used on OSX anymore.
* Got rid of a couple of OS9-isms.Jack Jansen2002-08-021-3/+8
|