summaryrefslogtreecommitdiffstats
path: root/Mac
Commit message (Collapse)AuthorAgeFilesLines
* - Added a function MoviesTask, which is the same as the method butJack Jansen1998-07-222-3/+29
| | | | | with a null movie (giving time to all active movies) - Made the graphics world parameter to SetMovieGWorld optional.
* Remove the MOOV filetype from the StandardGetFile call, so we can alsoJack Jansen1998-07-221-1/+1
| | | | open MPEG files, etc.
* Added a delete() method to menu entries. Only the last entry of a menuJack Jansen1998-07-131-1/+14
| | | | | can be deleted, but that's good enough for things like a "Windows" menu with the dynamic list of open windows at the end of the menu.
* Added prototypes for the code resource routines, and for PstringJack Jansen1998-07-132-1/+4
| | | | (which was missing, for some reason).
* If the preference filename resource is empty don't try to open orJack Jansen1998-07-131-4/+13
| | | | | | create the preferences file. This is so that frozen programs don't interfere with an existing Python installation, or leave turds in the Preferences folder.
* All import-related code has moved to macimport.c.Jack Jansen1998-07-132-224/+416
| | | | | | | | | There's also new support for importing code fragments: if a file on sys.path contains a PYD resource with resourcename equal to the name of the module to be imported this PYD resource should contain a (pascal) string with the name of a code fragment to load. This allows freezing Python programs without access to source or a development environment.
* Added macimport.c to various filesJack Jansen1998-07-1314-5028/+5127
|
* Add an empty PYTHONPREFSFILE STR resource, so frozen applicationsJack Jansen1998-07-131-81/+82
| | | | don't try to open/create the preferences file.
* Added a function SetUserItemHandler: this takes a function(dialog,Jack Jansen1998-07-102-0/+110
| | | | | | item) as parameter and returns a handle suitable for passing to SetDialogItem as a user-item redraw routine. Note that you can only make one of these, for now.
* Disable malloc debug in frozen programs.Jack Jansen1998-07-011-1/+1
|
* The init routine for MacOS had a non-standard name. Changed toJack Jansen1998-07-012-3/+3
| | | | initMacOS().
* Convert \n to \r in strings that are displayed in the dialogs.Jack Jansen1998-07-011-8/+19
|
* Added build.macfreeze to the "special" folders.Jack Jansen1998-06-261-1/+1
|
* Config file for frozen binaries.Jack Jansen1998-06-261-4/+32
|
* Initial documentation on freezing.Jack Jansen1998-06-263-6/+134
|
* Template project, bundle file and config.c file for frozen applications.Jack Jansen1998-06-263-0/+1311
|
* A well-known example for freeze.Jack Jansen1998-06-261-0/+5
|
* Mac version of freeze. Uses standard freeze modules where it can,Jack Jansen1998-06-2610-0/+557
| | | | | | | | | augmenting them here and there. For now, it works more-or-less similar to unix/windows freeze, generating a config.c file, but storing modules in PYC resources. A template project is also copied. The hooks are in place to freeze by merging shared libraries so you can freeze without a C compiler/linker, but this does not work yet.
* Print message when we load a PYC resource, if verbose import flag is on.Jack Jansen1998-06-261-0/+3
|
* Added {Get,Set}PopupData calls to get at the data for popup menu controls.Jack Jansen1998-06-192-0/+85
|
* For ControlWindow there is a new method do_rawcontrolhit(), which getsJack Jansen1998-05-281-14/+36
| | | | | | | | | control before TrackControl is called. The default implementation calls TrackControl and then do_controlhit(). For ScrolledWindow, do_rawcontrol passes a tracker function to TrackControl if the mouse is in one of the arrows or grey areas, and the tracker handles scrolling. For the thumb part nothing has changed.
* Allow an (optional) tracking function (or -1) to be specified toJack Jansen1998-05-283-41/+166
| | | | | TrackControl. TrackControl is now manually generated (too much work to explain this to bgen).
* An applet with Popt and GUSI preferences but without alis resourceJack Jansen1998-05-071-2/+3
| | | | | didn't work, because the resource file chain was incomplete when we tried to open the preference file. Fixed.
* Added a PopupMenu class.Jack Jansen1998-05-061-4/+26
|
* Version for 1.5.1Jack Jansen1998-05-061-1/+1
|
* Final projects for 1.5.1Jack Jansen1998-05-069-1052/+953
|
* Mods by JustJack Jansen1998-05-061-5/+5
|
* Updated for 1.5.1Jack Jansen1998-04-275-56/+76
|
* Use dialog auto-placement whenever appropriate.Jack Jansen1998-04-278-343/+345
|
* Fixes by Just:Jack Jansen1998-04-271-420/+302
| | | | | | - Upped version number in about dialog - Use auto-positioning of dialogs (a sys7 feature I had never heard of, _very_ useful).
* Argument type for SetPort was wrong (WindowPtr in stead of GrafPtr).Jack Jansen1998-04-272-4/+4
|
* Added FOUR_CHAR_CODE defineJack Jansen1998-04-271-0/+4
|
* New versions from Just.Jack Jansen1998-04-272-9/+5
|
* Regenerated with FOUR_CHAR_CODE definedJack Jansen1998-04-271-0/+1
|
* Mention the Mac:Contrib folderJack Jansen1998-04-271-4/+9
|
* Added Just's printing demo code.Jack Jansen1998-04-272-1/+99
|
* Added new folder typesJack Jansen1998-04-241-0/+62
|
* Added FOUR_CHAR_CODE defineJack Jansen1998-04-241-0/+1
|
* Grmpf, a lot more routines have gotten a "Mac" prefix for theirJack Jansen1998-04-249-8/+956
| | | | | | declaration, probably so the universal headers are useable on windows/unix too. Have to think of a more definite workaround later, for now we manually declare the old names in the *edit.py files.
* Regenerated with FOUR_CHAR_CODE definedJack Jansen1998-04-231-0/+2
|
* Added support for the horribly complex TimeRecord, so we can positionJack Jansen1998-04-233-9/+431
| | | | | | movies, etc. TimeBase objects have also been slightly modified for this (for instance: the DisposeTimeBase call shouldn't be done in the __del__ routine, the timebase might belong to someone else).
* SetPort was missing, and the defs file needs the FOUR_CHAR_CODE define.Jack Jansen1998-04-234-21/+39
|
* Incorrect argument for PyMacBuildwide()Jack Jansen1998-04-232-6/+6
|
* CW Pro 3 FC8 projects. Checked in because of ColorPicker and PrintingJack Jansen1998-04-2126-7435/+9287
| | | | modules, mainly.
* If there's no comment for an error we use the symbolic name as theJack Jansen1998-04-212-43/+528
| | | | | error message. Not really fantastic, but "reqAborted" is better than "MacOS error -1105" at least.
* Removed unused import of addpackJack Jansen1998-04-211-1/+0
|
* Moved some code around: occasionally the SetCreatorFileType didn'tJack Jansen1998-04-211-8/+10
| | | | | work because the finder got there first (at leats, that's what I think happened).
* Updated for Python 1.5.1: version number, preference filename, etcJack Jansen1998-04-213-694/+1063
|
* Added PyMac_{Get,Build}wide. These should support python longints atJack Jansen1998-04-211-0/+23
| | | | some point in the future.
* Re-generated from new (3.1) universal headersJack Jansen1998-04-2113-198/+1679
|