summaryrefslogtreecommitdiffstats
path: root/Mac
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* - Slightly better error message in case of syntax errors in the script.Jack Jansen2002-08-021-3/+5
| | | | | - The applet .rsrc file should be called python.rsrc, it is not based on the applet name.
* - Remove -psn-xxxx argument added by the Finder.Jack Jansen2002-08-021-1/+4
| | | | - "Open Document" appleevent is "odoc", not "open".
* Construct a sys.argv from the initial AppleEvent sent by the finderJack Jansen2002-08-021-0/+111
| | | | | | during startup of a program. This module will replace the C code in macgetargv.c so we can get rid of the special macmain.c for OSX Python.app.
* Slightly better error message in case of missing resources.Jack Jansen2002-08-021-5/+5
|
* Python.app is now a hidden application, deep in the framework. It willJack Jansen2002-08-012-32/+31
| | | | | | | be invoked by PythonLauncher when needed. Also changed the names of various variables in the Makefile to match what the main Makefile has.
* Python.app no longer advertises that it can handle .py and .pyc files,Jack Jansen2002-08-013-32/+0
| | | | PythonLauncher.app has taken that responsibility over.
* Only show the UI for selecting options if the ALT key was depressed whileJack Jansen2002-08-011-18/+7
| | | | dragging or double-clicking the script.
* - Install into /Applications/Python in stead of into /Applications.Jack Jansen2002-07-311-8/+23
| | | | - Build PythonLauncher.app and PythonIDE.app as well as Python.app.
* Install into /Applications/Python in stead of into /Applications.Jack Jansen2002-07-311-3/+2
|
* Implemented starting Python in a terminal window. The implementation isn'tJack Jansen2002-07-315-6/+177
| | | | optimal, especially if Terminal wasn't running yet, but it works.
* First stab at the launcher application. This will be run when the userJack Jansen2002-07-2924-0/+1413
| | | | | | | | | | | | | | | | | doubleclicks a .py, .pyw or .pyc file. It runs the file by invoking the relevant interpreter (either the command line Python in a terminal window or a Python.app for GUI-based scripts). Interpreter to use and the options to pass are settable through preferences. If PythonLauncher wasn't running it does its thing for one script and exits. If it was manually started before a dialog is presented where the user can set the options to use, etc. To be done: - option-drag/doubleclick should always open the interactive dialog - Terminal-window isn't done yet - Should be reimplemented in Python, but pyobjc isn't part of the core. - Various menu entries should be disabled.
* Added a __contains__ method.Jack Jansen2002-07-261-0/+3
|
* Fixed potential refcount problems with interned strings, adapted comments, ↵Jack Jansen2002-07-221-6/+16
| | | | added a bit more trace output if verbose > 1.
* Finally found out why te cf project sometimes worked and someimes didn't. ↵Jack Jansen2002-07-221-1/+1
| | | | Fixed it.
* staticforward bites the dust.Jeremy Hylton2002-07-1715-37/+37
| | | | | | | | | | | | | | | The staticforward define was needed to support certain broken C compilers (notably SCO ODT 3.0, perhaps early AIX as well) botched the static keyword when it was used with a forward declaration of a static initialized structure. Standard C allows the forward declaration with static, and we've decided to stop catering to broken C compilers. (In fact, we expect that the compilers are all fixed eight years later.) I'm leaving staticforward and statichere defined in object.h as static. This is only for backwards compatibility with C extensions that might still use it. XXX I haven't updated the documentation.
* fixed wrong classic MacOS pathname assumptionJust van Rossum2002-07-121-1/+1
|
* minor fixes, removed obsolete warningJust van Rossum2002-07-121-10/+3
|
* Got rid of symlink target, and in stead have "make dontinstallmacsubtree"Jack Jansen2002-07-081-8/+8
| | | | | | which uses a .pth file to add the Mac/Lib from your source tree to sys.path. Also put the Python version number in a variable.Killed by signal 2.
* Define WITH_PYMALLOC as 1Jack Jansen2002-07-081-1/+1
|
* - Got rid if WITH_CYCLE_GCJack Jansen2002-07-073-19/+6
| | | | | - Cleaned up Python banner string, so the normal build for MacPython 2.3 will have a short banner.
* Started on support for using standard setup.py to build at leastJack Jansen2002-06-271-43/+66
| | | | the "standard" modules. Unfinished, but shouldn't harm anything.
* Disabled non-carbon builds (for the moment still optional) and madeJack Jansen2002-06-262-20/+27
| | | | these scripts work with the new precompiled headers.