summaryrefslogtreecommitdiffstats
path: root/Mac/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Getting rid of support for the ancient Apple MPW compiler.Jack Jansen2003-11-191-5/+0
|
* Getting rid of support for MacOS9 and earlier. This is the first step,Jack Jansen2003-11-198-3830/+0
| | | | | and the biggest in size, but probably the easiest. Hunting through the source code comes next.
* Don't export the SPB type as "SPB", because it shadows the method SPB,Jack Jansen2003-07-241-0/+3
| | | | | which is really important. This is a stopgap measure, as only the generated C code is adapted. Fixes #776533.
* This wasn't ansified. Fixed.Jack Jansen2003-06-161-6/+2
|
* Forgot the code to initialize the glue for the new CFObj_ routines.Jack Jansen2003-05-312-4/+4
|
* Added functions CFObj_New and CFObj_Convert, general functions to convertJack Jansen2003-05-272-2/+98
| | | | between CF objects and their Python representation. Fixes 734695.
* modernized ColorPicker somewhatJust van Rossum2003-05-241-0/+4
|
* fixed typoJust van Rossum2003-05-031-2/+2
|
* Short and sweet module doing something very useful: for event loopJust van Rossum2003-05-031-0/+149
| | | | | based threads, release the GIL when the event loop goes to sleep, and acquire it again when the event loop wakes up again. OSX-only.
* Allow setting the auto dispose flag on window objects.Jack Jansen2003-04-222-3/+42
|
* Oops, 'k' is the new format code for un unchecked 32 bit quantity,Jack Jansen2003-04-171-4/+4
| | | | not 'K'.
* Converted manually written code to the new K format specifier.Jack Jansen2003-04-172-6/+6
| | | | Untested, but at least it still compiles.
* Give a better error message when a string of the wrong size isJack Jansen2003-03-212-5/+9
| | | | passed to RawBitMap.
* Adding unicode filename support to FSRefs broke things on MacOS9. "Fixed" by ↵Jack Jansen2003-03-212-2/+4
| | | | disabling unicode filenames on OS9.
* GetCreatorAndType and SetCreatorAndType have been undeprecated. Spotted byJack Jansen2003-03-191-2/+2
| | | | Just.
* Allow unicode pathnames where FSRefs are expected. Fixes 696253.Jack Jansen2003-03-112-4/+10
|
* Removed unused variableJack Jansen2003-03-071-1/+0
|
* Various tweaks by Jack because of the different module name, adaptationJack Jansen2003-03-061-43/+74
| | | | to the Python style, etc.
* Module to get OSA terminology description through the "official channels",Jack Jansen2003-03-061-0/+70
| | | | | | in stead of manually getting the AETE/AEUT resource. Donated by Donovan Preston. This is his original code (but with the filename changed) checked in for reference only.
* Mod to previous checkin: we must require ascii, not system defautl encoding,Jack Jansen2003-03-032-2/+2
| | | | | because we have no easy way to convert the python encoding string to a CF encoding parameter.
* Accept only the system default encoding when converting PythonJack Jansen2003-03-033-8/+11
| | | | strings to CF strings. Fixes 682215.
* StdFilterProc() uses InOut parameters.Jack Jansen2003-02-272-5/+14
|
* Added a linkmodel attribute, showing how Python was built. This is soJack Jansen2003-02-231-0/+13
| | | | | | | | | packages can check that extension modules are built for the right type of python. Current values can be static, framework, shared and cfm (for completeness, for MacPyton-OS9). Closes bug #691889. The reporter suggests backporting this to 2.2.3 and I think I agree.
* WASTEconst.py goes one level above the toolbox directory.Jack Jansen2003-02-211-1/+1
|
* Added a method WMAvailable(). This will return True if and only if thereJack Jansen2003-02-211-0/+43
| | | | | | | is a window manager and we can connect to it, i.e. if it is safe to try and put up windows. As a side effect the first call will make the current process frontmost.
* Added itertools module.Jack Jansen2003-02-051-0/+2
|
* Changed an edit instruction because of a changed parameter name (sigh).Jack Jansen2003-02-042-7/+10
|
* The FSAliasFile routines also have an in/out parameter.Jack Jansen2003-02-022-4/+9
|
* Added a missing INCREF in pathname().Jack Jansen2003-01-282-2/+6
|
* FSRef and EasyDialogs pathname support was pretty much broken in ↵Jack Jansen2003-01-262-2/+52
| | | | MacPython-OS9. Fixed.
* Added a convenience routine pathname() which accepts either a string, unicode,Jack Jansen2003-01-192-3/+37
| | | | FSSpec or FSRef object and returns an 8-bit pathname (utf8 encoded).
* Fixed the first two bugs in the new file dialogs (found by Just):Jack Jansen2003-01-171-10/+11
| | | | | - AskFileForSave didn't work for string return values - filterProc didn't work.
* It turns out that some calls return AEDesc records that are "borrowed",Jack Jansen2003-01-172-3/+69
| | | | | | | the AEDesc data shouldn't be disposed when the Python object is. Added a C call AEDesc_NewBorrowed() to create these objects and a Python method old=AEDesc.AutoDispose(onoff) to change auto-dispose state.
* For reasons unknown previewProc and filterProc were disabled. Enabled them.Jack Jansen2003-01-171-4/+2
|
* Implemented FSCatalogInfo structure support, and used this to implementJack Jansen2003-01-152-12/+2
| | | | FSSpec.SetDates() and GetDates(). Closes #662836.
* Implemented FSCatalogInfo.Jack Jansen2003-01-123-27/+705
|
* Started on implementing support for FSCatalogInfo. Doesn't work yet, don'tJack Jansen2003-01-092-2/+60
| | | | try it.
* Merging the various tweaks for MacPython-OS9 2.3a1 back into the trunk.Jack Jansen2003-01-081-3/+8
|
* Added zipimport and _random module.Jack Jansen2002-12-301-0/+4
|
* Second-argument alias methods were generated with a variation onJack Jansen2002-12-262-53/+53
| | | | MethodGenerator, this should be OSErrMethodGenerator.
* If you entered a pathname for a nonexisting file to a FSSpec constructorJack Jansen2002-12-252-0/+4
| | | | | on OSX then the actual error (file not found) was obscured by the error message that tried to be helpful about the allowed arguments. Fixed.
* Removed macfs, added File and Folder.Jack Jansen2002-12-241-2/+4
|
* - Various tweaks to shut up compiler warnings.Jack Jansen2002-12-2327-86/+157
| | | | | - Regenerated with the correct calls to PyType_Ready and the correct deallocator calls.
* - Various tweaks to forestall compiler warnings.Jack Jansen2002-12-232-16/+30
|
* The extension module macfs has been replaced by a pure Python version.Jack Jansen2002-12-191-1192/+0
|
* Added the last missing bits of functionality, and fixed a nasty bug where weJack Jansen2002-12-192-129/+385
| | | | could overwrite memory.
* Regenerated with inheritance-aware xxxx_Check() macros.Jack Jansen2002-12-1922-50/+50
|
* - Added rawdata initializersJack Jansen2002-12-183-124/+339
| | | | | - Added support for optional FSSpecs and FSRefs to the Alias routines. NewAlias and friends are still functions, though, not methods.
* Fixed silly typo.Jack Jansen2002-12-172-4/+9
| | | | Added comment (to myself) on what still needs to be done.
* Include Finder.h too in the list of header files to parse: the finderJack Jansen2002-12-171-1/+2
| | | | constants have tradiationally been in MACFS.py.