Commit Graph

380 Commits

Author SHA1 Message Date
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