Jack Jansen
65300f17c3
Regenerated.
...
Bugfix candidate.
2002-04-24 09:13:24 +00:00
Jack Jansen
95df3fd159
Second part of fix for #493826 : regenerated suite modules so errn exists but == 0 doesn't signal an error.
...
Bugfix candidate.
2002-04-23 21:08:54 +00:00
Jack Jansen
7aace7a2dc
Regenerated to include Internet Config error strings.
...
Bugfix candidate.
2002-04-22 11:45:46 +00:00
Jack Jansen
68c7e26dc9
Get rid of backward compatibility modules. Do this fairly early in the 2.3 cycle so we don't shoot ourselves in the foot later.
2002-04-11 21:03:37 +00:00
Jack Jansen
e7f776af3d
Suite to talk to the OSX Terminal application.
2002-03-30 23:46:16 +00:00
Jack Jansen
ad5dcafac4
Got rid of obsolete way to get at various toolbox types.
2002-03-30 23:44:58 +00:00
Jack Jansen
9aa8fd0b7d
Handle .icns and .plist files for applets.
...
Also, for now (until we learn to parse .plist files) we make a special case
for the IDE, setting the creator to "Pide".
2002-03-29 23:44:37 +00:00
Jack Jansen
b2e33fe285
Implemented buildtools for MachoPython .app bundles. The API is compatible
...
enough that IDE and BuildApplet can create applets, yeah!
2002-03-29 21:21:28 +00:00
Jack Jansen
32f782c03c
Don't attempt to create a dummy fsspec if the user cancelled out, just
...
return None.
For now, if the user asks for TEXT files files without type are also
accepted. But it is time to phase out StandardGetFile and friends, really.
2002-03-29 21:19:37 +00:00
Jack Jansen
d21c9f48fa
Re-raise the Res.Error if the file doesn't exist.
2002-03-29 21:17:57 +00:00
Jack Jansen
5053b70da0
If the file has no resource fork first check to see whether it's a
...
datafork-based resource file before trying to decode it as AppleSingle.
2002-03-29 14:29:35 +00:00
Jack Jansen
695b33b02a
Removed debug.
2002-03-29 14:28:09 +00:00
Jack Jansen
562baabb61
Added an open_pathname() method which opens a resource file by pathname,
...
possibly converting from AppleSingle.
2002-03-21 22:38:32 +00:00
Just van Rossum
a2168eceb0
mkalias() now also works for folders. Fixes bug #515830 .
2002-03-10 19:28:02 +00:00
Jack Jansen
5bb8f78d97
Added support for unicode strings (utxt).
2002-02-05 21:24:47 +00:00
Just van Rossum
4014401c6c
Added minimal support for floating windows.
2002-02-04 12:52:44 +00:00
Jack Jansen
c8febecd3c
Rename the routine to start the target running _start(), with a compatibility
...
routine start() calling it.
Some suites declare an event start(), which obscures this method, which
causes the class initializer to fail when called with start=1.
Based on bug report and fix suggestion by Jacob Kaplan-Moss.
2002-01-23 22:46:30 +00:00
Jack Jansen
368875c2d3
Regenerated to take advantage of new _builtinSuites package.
2002-01-22 23:22:32 +00:00
Jack Jansen
d50c66b1e5
A "magic" suite that is the base suite for StdSuites. This solves a problem with the required events open/openapp/reopen/print/quit officially being part of Required but being defined (by Apple) in Standard.
...
Most of the code and ideas contributed by Michael j. Barber.
2002-01-22 23:20:12 +00:00
Jack Jansen
eafff4c248
Get rid of fsspec type initializer, it wasn't used anyway.
2002-01-21 23:02:03 +00:00
Jack Jansen
a4adacbd7e
Changes by Donovan Preston (and a few minor ones by me) to make IDE run under
...
MachoPython. Mainly making sure we don't call routines that don't exist.
2002-01-21 23:01:24 +00:00
Jack Jansen
32d1a3b1c9
Fixed to work under MachoPython, doing the expected unpacking for applesingle files. The IDE still doesn't work, though, because it uses :-style pathnames.
2002-01-13 23:18:00 +00:00
Jack Jansen
a22a7b7a06
UH 3.4 checkin that I had forgotten about.
2002-01-04 16:01:23 +00:00
Jack Jansen
3bac5ca11a
Some of the new routines are carbon-only.
2002-01-04 16:00:27 +00:00
Jack Jansen
75401a0214
Updated for CW7
2001-12-14 22:53:16 +00:00
Jack Jansen
81feb6c201
Add default values for options in the class init routine, not in the convenience wrapper function: distutils uses the class directly. Fixes bug #492665 .
2001-12-14 14:31:15 +00:00
Just van Rossum
c97eefc3c9
first checkin for CoreGraphics
2001-12-13 13:15:28 +00:00
Just van Rossum
d9c9b57e29
Don't barf when an AppleEvent was not handled. It's ok to ignore.
2001-12-13 12:57:11 +00:00
Just van Rossum
e0b9fdca0d
Updated for Universal Headers 3.4.
2001-12-12 22:40:27 +00:00
Just van Rossum
485d92e127
Support files for CarbonEvents
2001-12-12 22:39:52 +00:00
Jack Jansen
52306a780b
The new menu initialization code would also add the SIOUX menus if a (frozen) Python program had installed its own menubar previously. We now guard against this, with a bit of a hack: FrameWork uses the same Menu ID as Sioux, and the init code checks that the text in the menu is "About SIOUX" before replacing it.
2001-12-10 16:08:14 +00:00
Guido van Rossum
146483964e
Patch supplied by Burton Radons for his own SF bug #487390 : Modifying
...
type.__module__ behavior.
This adds the module name and a dot in front of the type name in every
type object initializer, except for built-in types (and those that
already had this). Note that it touches lots of Mac modules -- I have
no way to test these but the changes look right. Apologies if they're
not. This also touches the weakref docs, which contains a sample type
object initializer. It also touches the mmap test output, because the
mmap type's repr is included in that output. It touches object.h to
put the correct description in a comment.
2001-12-08 18:02:58 +00:00
Jack Jansen
b3be216b41
Merged changes made on r22b2-branch between r22b2 and r22b2-mac (the
...
changes from start of branch upto r22b2 were already merged, of course).
2001-11-30 14:16:36 +00:00
Jack Jansen
c252e6304e
Add the MSL C library to the set of standard libraries
...
linked against. Most, but not all, of it is included in
PythonCore, but extensions may want to use some of
the routines not included. Fixes a bug reported by
Tom Loredo.
2001-11-10 23:21:55 +00:00
Just van Rossum
67050d2d64
Workaround for odd problem on my machine: without this I get a traceback
...
if I hit enter instead of return upon file selection.
2001-10-31 22:58:23 +00:00
Jack Jansen
a43ad368ba
quit() wasn't included in the suite. This is a quick manual patch to add it.
2001-10-23 22:23:02 +00:00
Jack Jansen
eb30843ea4
Don't call MacOS.SchedParams() in MachO, it doesn't exist.
2001-09-09 00:36:01 +00:00
Jack Jansen
a48d4eaddf
Minimal module to decode AppleSingle files (the way resource files are
...
stored in the CVS repository). It can either decode resource/data forks
in the standard Mac way or decode only the resource fork but store
the result in the data fork (the MacOSX preferred way). Finder info
and all other stuff is ignored.
2001-09-09 00:35:19 +00:00
Jack Jansen
a5ffeb69ab
Added preferences/startup options for division warning
...
and accepting unix-style newlines on input.
2001-09-01 22:36:29 +00:00
Jack Jansen
b214c36d0a
We should look in the directory containing the module, not in the module itself, when we're looking for the resource file.
2001-08-30 21:19:42 +00:00
Jack Jansen
a5d7da528b
need() now returns the refno of the resource file opened, or None if the
...
specified resource was already available and no file was opened.
2001-08-27 21:37:45 +00:00
Jack Jansen
de3226f7f9
Module to help other modules locate their resources. It currently knows about
...
resources in applets and separate OS9 style resource files, but it will
eventually also be thought the hoops to jump through on OSX/MachO.
2001-08-27 21:21:07 +00:00
Jack Jansen
911e87de6f
Patch by Dean Draayer: support for indeterminate progress bars. You
...
get these by specifying maxval=0, which is now also the default.
Untested.
2001-08-27 15:24:07 +00:00
Jack Jansen
5a6fdcd371
Import the MacOS toolbox modules from the Carbon package.
2001-08-25 12:15:04 +00:00
Jack Jansen
6dba6bc0a2
Step 2 in putting the MacOS toolbox modules in a package: issue a DepracationWarning in the compatibility modules.
2001-08-25 11:53:43 +00:00
Jack Jansen
cf144b0e9e
Wrapper modules underound the toolbox modules, which now have an _ prepended.
2001-08-23 14:13:06 +00:00
Jack Jansen
a0f4369f5a
Oops, these compatibility modules were missing. Which went unnoticed because their companions had been put in the wrong place.
2001-08-20 15:35:57 +00:00
Jack Jansen
edb17c971f
Compatibility modules. lib-compat is on the default sys.path for MacPython 2.2, and each of these modules imports * from its namesake in the Carbon package.
2001-08-19 22:28:32 +00:00
Jack Jansen
63f6b4984b
Moved to either :Mac:Lib (WASTEconst and files that weren't generated) or to the Carbon package.
2001-08-19 22:20:55 +00:00
Jack Jansen
ab98ae9b4e
The modules with toolbox constants.
2001-08-19 22:13:00 +00:00
Jack Jansen
06eb422a37
Carbon is now a package encapsulating all the toolbox modules. Carbon is not
...
the best of names right now (because QuickTime, for instance, is part of
its own framekwork in OSX terminology, and because all these modules also
work on pre-Carbon MacOS) but in a year or so it will be:-).
2001-08-19 22:07:59 +00:00
Jack Jansen
52caac1c55
Moved here form lib-toolbox, for lack of a better place to go.
2001-08-19 22:05:33 +00:00
Jack Jansen
d0fc42f439
Moved here from lib-toolbox, where they should never have been in the first place (all the other stuff there wa generated with bgen).
2001-08-19 22:05:06 +00:00
Jack Jansen
b5982221bb
Before asking the finder to start the application (if start=1 is specified), check that it isn't incidentally running already.
2001-08-11 22:29:18 +00:00
Jack Jansen
fb513a20b5
Got rid of the activate() so codewarrior doesn't come to front. It isn't needed, and without it you can get work done while building the projects:-)
2001-08-11 22:28:11 +00:00
Jack Jansen
af86470e85
Added a note about the various tests here.
2001-08-11 21:13:19 +00:00
Just van Rossum
f3456912e4
use the proper prefix file under Carbon
2001-08-11 10:07:23 +00:00
Jack Jansen
446b3b2d58
ICFindConfigFile isn't needed, and it's gone under carbon.
2001-08-03 14:12:36 +00:00
Jack Jansen
83e6ae9b12
EasyDialogs has a working version of this.
2001-08-03 14:10:54 +00:00
Jack Jansen
7f9a63ca4c
These stopped working a long time ago, and they're not worth fixing.
2001-08-03 14:10:27 +00:00
Jack Jansen
5150edd979
Obsolete, EasyDialogs has the same code (but working:-).
2001-08-03 14:09:33 +00:00
Jack Jansen
dffae32172
Obsolete: uses old applescript support.
2001-08-03 14:07:52 +00:00
Jack Jansen
b4c975a367
Obsolete, uses the old non-package-based applescript suite support.
2001-08-03 14:06:17 +00:00
Jack Jansen
7a9f9557db
This "test" showed an obsolete way to get scrolled lists in dialogs. Removed.
2001-08-03 14:05:29 +00:00
Jack Jansen
4369b00c71
This "test" showed an obsolete way to get scrolled lists in dialogs. Removed.
2001-08-03 14:02:07 +00:00
Jack Jansen
54ad7f56a2
Removed: it doesn't work anymore, and it wasn't all that useful anyway. The FrameWork testcode shows similar functionality.
2001-08-03 13:58:16 +00:00
Jack Jansen
3a22c8657c
Obsolete, superseded by :Mac:Demo:imgbrowse and friends.
2001-08-03 13:56:12 +00:00
Jack Jansen
ba24ace0fb
Obsolete, superseded by :Mac:Demo:TE
2001-08-03 13:53:50 +00:00
Jack Jansen
5291fb1e09
Obsolete, superseded by :Mac:Demo:waste
2001-08-03 13:53:17 +00:00
Jack Jansen
1cd95229a2
Obsolete, removed.
2001-08-03 13:49:52 +00:00
Jack Jansen
cbed91b4db
Merging appropriate 2.1.1 fixes back into the main trunk.
2001-08-03 13:31:36 +00:00
Jack Jansen
8d2f3d66ee
ProgressBar crashed when you tried to drag it. Fixed. Thanks go to Alfonso Baciero.
2001-07-27 09:21:28 +00:00
Jack Jansen
5bb6ff926b
Changed findertools.move() to move() in movetotrash.
2001-07-24 11:37:23 +00:00
Jack Jansen
e1608529d1
The constants for MLTE.
2001-07-14 13:59:47 +00:00
Just van Rossum
639a740e50
Fixed typo in doc string.
2001-06-26 06:57:12 +00:00
Jack Jansen
6f84ed5afc
Fixed macroman<->latin1 conversion. Some chars don't
...
exist in latin1, but at least the roundtrip results in the
same macroman characters.
2001-05-17 12:45:13 +00:00
Jack Jansen
c1218bc014
Files for 2.1 distribution.
2001-04-25 22:11:24 +00:00
Jack Jansen
43935128a4
Finally merged morefindertools into findertools.
2001-04-07 12:53:45 +00:00
Jack Jansen
3f4c173d5c
Oops, ISO translation was off. Fixed.
2001-03-27 21:32:34 +00:00
Jack Jansen
5c82d13e1f
FindFolder argument is a short, not an unsigned short.
...
Added kLocalDomain and friends.
2001-03-15 14:39:37 +00:00
Jack Jansen
6b498de165
Handle the apple menu differently under Carbon.
2001-03-15 14:39:03 +00:00
Jack Jansen
e5c9474f0f
Default waittime in the eventloop is now None. At low level it will then be set to GetCaretTime().
2001-03-08 23:10:37 +00:00
Jack Jansen
c1463c9870
macostools.copy() now has an optional forcetype flag, which sets the filetype. This is used by various tools to set the type to APPL when copying interpreter template files (Atmp filetype).
2001-03-06 22:46:25 +00:00
Jack Jansen
5dd7362295
Hide the ProgressBar before raising KeyboardInterrupt. Not doing so resulted in a hang on Carbon.
2001-02-23 22:18:27 +00:00
Jack Jansen
a4f8e58058
Allow selecting a template in findtemplate(), so Classic programs can build Carbon applets and vice-versa.
2001-02-17 23:30:19 +00:00
Jack Jansen
ed24cd2cf7
DialogWindows now have a self.dlg in addition to self.wid.
2001-02-14 17:07:04 +00:00
Jack Jansen
3ff82a3a4c
The new touched() was far too expensive. Re-enabled the old one, the ae-based one is available as touched_ae(). Have to read up on the subject of telling the finder about changes.
2001-02-14 17:06:32 +00:00
Jack Jansen
26d813e42c
Got rid of full pathnames in "generated from" comments, so that these files are the same no mater which machine they've been generated on.
2001-02-12 16:09:44 +00:00
Jack Jansen
8a38714ba0
Bit the bullet and added a private GUSISIOUX for Python. This makes the delayconsole and keepopen code neater. Also tells Sioux to behave better with events, and handles cmd-. during print better. The pythonpreferences have also changed due to this.
2001-02-11 01:08:04 +00:00
Jack Jansen
7e31f68bf1
Replaced touched(), which no longer seems to work under os9, with something using an appleevent to the finder. More expensive, but at least it works:-)
2001-02-09 15:58:34 +00:00
Jack Jansen
34f83b3f56
Added a few constants.
2001-02-09 15:57:53 +00:00
Jack Jansen
784c611053
Dialogs and there windows were still confused in some spots. Fixed.
2001-02-09 15:57:01 +00:00
Jack Jansen
def0d8da5a
Get rid of from ... import *
2001-02-09 15:56:19 +00:00
Jack Jansen
01a2d9e281
Use FSpCreateResFile() in stead of CreateResFile().
...
Don't call OpenDeskAcc() and AppendResMenu() on Carbon.
2001-01-29 15:32:00 +00:00
Jack Jansen
afd0aa680a
Replace {Enable,Disable,Check}Item with their carbon-compatible equivalents {Enable,Disable,Check}MenuItem.
2001-01-29 13:29:47 +00:00
Jack Jansen
5a8115c94b
Ported the icglue module to carbon.
2001-01-29 13:27:46 +00:00
Jack Jansen
4a4adf4293
Recognize {compiler} and {project} prefixes to pathnames and output the correct XML.
2001-01-24 16:04:50 +00:00
Jack Jansen
b51362163a
Removed extraneous references to Modules:TE
2001-01-23 23:19:13 +00:00
Jack Jansen
6abe676538
Various settings were unconditionally set. Allow them to be overridden in the settings dict.
2001-01-23 22:35:22 +00:00
Jack Jansen
50f6f6f621
If the template is not specified it depends on the current execution model (classic ppc or carbon).
2001-01-23 22:34:50 +00:00