Commit Graph

2226 Commits

Author SHA1 Message Date
Just van Rossum c97eefc3c9 first checkin for CoreGraphics 2001-12-13 13:15:28 +00:00
Just van Rossum d16199aade fixed typo in my email address 2001-12-13 12:58:09 +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 3f4651ec9c re-checkin as AppleSingle 2001-12-13 12:54:36 +00:00
Jack Jansen 6c3145985f Shut up gcc warning. 2001-12-12 22:51:39 +00:00
Jack Jansen 3339fc94b3 Updated for 2.2 release. 2001-12-12 22:44:59 +00:00
Just van Rossum aa6e83f2e9 added CarbonEvents 2001-12-12 22:42:37 +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
Just van Rossum cddfc8736f Added proper error checking in event callback handler 2001-12-12 21:48:00 +00:00
Jack Jansen ff3a69c4bc Ready for 2.2 distribution. 2001-12-12 21:40:38 +00:00
Just van Rossum f8d6473782 Exposed quite a few more calls. 2001-12-12 20:48:53 +00:00
Just van Rossum c3baa0eff7 Fixed to the extend that it now builds in CW6, and actually works
a little.
2001-12-11 21:52:02 +00:00
Jack Jansen 9493455c2a Updated for hfsplus module, new gusi libs. 2001-12-11 15:08:52 +00:00
Just van Rossum 14666cc04f Added __members__ to FInfo object. 2001-12-11 14:04:12 +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
Jack Jansen b2fb202bc2 Updated, and converted line-endings to unix-style (oops:-) 2001-12-09 23:17:38 +00:00
Jack Jansen edeea04bfd Mods to make WASTE module compile and link for MachoPython. Not tested
any further, yet.
2001-12-09 23:08:54 +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
Just van Rossum 1f1e7270cf OSX tweak. 2001-12-08 10:37:40 +00:00
Just van Rossum 59d5a9b5b7 Don't do App.DrawThemeListBoxFrame() upon activate: it starts
looking worse and worse if you deactivate/activate the window
a few times. I don't know how to fix this properly, but I'm beginning
to think that it's almost impossible to support the Appearance
manager properly due to the way W works. Time for W2?...
2001-12-08 09:51:41 +00:00
Jack Jansen 2a42c3a8d3 Not being able to copy PythonCore to the system-folder is not a fatal error, on OSX the user may not have permission to do so. Also give a more informative message in this case.
Fixes bug 475253.
2001-12-07 16:07:04 +00:00
Jack Jansen 101de912d3 Replace sprintf() with PyOS_snprintf(). 2001-12-05 23:27:58 +00:00
Jack Jansen a7594db5bc Link more modules with weak import, and add CarbonAccessors.o to all relevant PowerPC toolbox modules. This, in combination with recent IDE mods, makes the IDE work again under MacOS 8.1. 2001-12-05 22:46:23 +00:00
Jack Jansen 9145be4310 Define NDEBUG if Py_DEBUG isn't defined. 2001-12-05 22:44:45 +00:00
Jack Jansen b6b6c6c33f Patch by Jason Harper to allow IDE to work again under MacOS 8.1. Plus appearance support for Wlist frames and focussing. Plus commented-out appearance support for the same for Wtext, which still needs some work. 2001-12-04 13:30:29 +00:00
Just van Rossum 2009aa66b4 removed some dead code. 2001-12-03 19:27:38 +00:00
Just van Rossum cee949f945 Removed old and broken AE-based browser controller, use webbrowser.py
instead. This fixes bug #488420.
2001-12-03 18:11:36 +00:00
Jack Jansen 20ffa0e5bc A system() lookalike that sends commands to ToolServer, by Daniel Brotsky. The semantics aren't enough like system() to add this to the main Lib folder, but it is pretty useful nonetheless for selected people. 2001-12-03 00:11:35 +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
Just van Rossum f376ef0996 a whole bunch of OSX tweaks 2001-11-18 14:12:43 +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
Jack Jansen 439eaa9f74 Fixed various problems with command-dot handling (some very old):
- Don't scan for cmd-. unless in the foreground
- Scan before switching out to other processes, not after
- don't scan if SchedParams.check_interrupt is false (!)
  - But: do scan if we're blocked on I/O

One problem remains: in the last case KeyboardInterrupt is raised
too late.
2001-11-10 00:41:43 +00:00
Jack Jansen 5cc6d6e58e Changed names, added bridge functions to macfs.fsref objects and
generally did things to get it working.
2001-11-06 15:57:59 +00:00
Jack Jansen 2bf52daedd Added an error message when using FSRef objects on platforms that don't
support them.
2001-11-06 15:57:26 +00:00
Jack Jansen df222d2691 Added hfsplusapi module. 2001-11-06 15:56:56 +00:00
Jack Jansen 6952177dba Added longlong routines. 2001-11-06 15:55:23 +00:00
Jack Jansen f122d366bf Enabled WITH_LONG_LONG. No reason it was disabled, it has been supported by the Metrowerks compiler for quite some time. 2001-11-06 12:11:05 +00:00
Jack Jansen ae2df93814 Removed unused variable. 2001-11-06 12:10:05 +00:00
Jack Jansen 24aa3cea07 First couple of fixes to make it compile with Universal 3.3.2. 2001-11-06 12:06:39 +00:00
Jack Jansen e9b2a0597e HFS+ API contributed by Nitin Ganatra. This checkin is identical to what he sent me, except for the namechange (fmgr->hfsplus). 2001-11-06 11:10:13 +00:00
Jack Jansen 9c2b514014 Correctly builds the C module now. 2001-11-05 16:21:45 +00:00
Jack Jansen bd00884415 First tweaks to allow MacPython to be compiled with
Universal Headers 3.4
2001-11-05 16:16:39 +00:00
Jack Jansen 34cbe718d4 Fixed broken newlines and changed module name. Still untested. 2001-11-05 16:15:45 +00:00
Jack Jansen e8cbb9f1e6 Regenerated with CF accessors. 2001-11-05 16:14:33 +00:00
Jack Jansen 52e9045da6 Carbon Event Manager module donated by Donovan Preston. Checked in as I received them (except for namechange), these will not work as-is, that'll be fixed in a later checkin. 2001-11-05 14:44:23 +00:00
Jack Jansen 537a69fe66 Make the CoreFoundation object _New and _Convert routines available to other modules. Idea by Donovan Preston, implementaion by me. 2001-11-05 14:39:22 +00:00
Jack Jansen 80c85d80c4 MacPython -vv equivalent printed incorrect filenames, fixed. Also
removed some outdated code.
2001-11-05 14:36:32 +00:00
Just van Rossum 3b5074b0fb added acces to the cellSize field, rewrote setattr code 2001-11-05 11:12:12 +00:00
Just van Rossum b26fbc6447 Rewritten the List Definition for the traceback window in Python,
which makes it work under Carbon. Next stop: the object browser.
2001-11-05 08:51:24 +00:00
Just van Rossum dd4830ac1d More List Manager interfacing:
- CreateCustomList(): write LDEF's in Python! (carbon + classic)
- list.LGetCellDataLocation()

(Jack: what's with this _WIN32/pywintoolbox.h stuff?)
2001-11-05 08:27:57 +00:00
Just van Rossum 6b45b1ee52 macdinking 2001-11-02 22:55:15 +00:00
Just van Rossum 2dd4d1600a use 32bit APIs for control values, refactor slightly 2001-11-02 22:51:42 +00:00
Just van Rossum a73f78b6ec use proper APIs for activate/deactivate 2001-11-02 21:12:52 +00:00
Just van Rossum 9ae6f894b0 wintertime blues 2001-11-02 19:30:49 +00:00
Just van Rossum 2d564fdc06 removed import display hackery 2001-11-02 19:30:21 +00:00
Just van Rossum f7f9388061 some support for syntax coloring, disabled for now 2001-11-02 19:24:41 +00:00
Just van Rossum 3160d95a73 changed the default font 2001-11-02 19:22:55 +00:00
Just van Rossum 01c9805b8d fixed a non-Carbon Carbon import 2001-11-02 19:21:34 +00:00
Just van Rossum 64350b4610 - rearranged some imports
- removed default button drawing code: this doesn't work well
  under OSX. Needs to be replaced by SetWindowDefaultButton()
  calls, once we have those.
2001-11-02 19:17:16 +00:00
Just van Rossum 2e9e71fea6 rearranged some imports 2001-11-02 19:09:34 +00:00
Jack Jansen 95837f1973 We always install the Sioux menubar, in stead of only when no menubar
was installed previously. This fixes bug #476904, but I'm not 100%
sure it doesn't break anything else. But if it does I'll notice tomorrow
when I try to build GRiNS:-)
2001-11-01 23:17:35 +00:00
Jack Jansen 01a9462787 Under MachO-Python unconditionally import macfsn. 2001-11-01 14:00:19 +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
Just van Rossum ab57c7dcfc Moved macfsn hackery from macmain.c to macfsmodule.c so it loads
on demand instead of at startup.
2001-10-31 22:55:08 +00:00
Just van Rossum 05a56b87bb call the correct base method (found due to better inheritance checking in 2.2) 2001-10-31 12:55:07 +00:00
Jack Jansen d17f4bd6c8 Regenerated 2001-10-31 11:41:25 +00:00
Just van Rossum fb57c435aa Added structseq.c 2001-10-31 10:27:19 +00:00
Jack Jansen 1a29ed7415 Added Donovan Preston and reformatted to 80-char lines. 2001-10-31 10:13:52 +00:00
Jack Jansen 5ded1bf5c7 Mod by Donovan Preston to allow MacPython to live in a Python.app bundle and understand the __main__.py convention used there for applets. This gives us applets that work on both OS9 and OSX! (Although "applet" may not be the correct word for something that is going to be multimegabyte:-).
But: the code is currently disabled, as it requires CodeWarrior 7 and I'm still using 6.
2001-10-30 22:48:36 +00:00
Jack Jansen e4df3fd90d Files used for MacPython 2.2b1 distribution. 2001-10-30 22:42:45 +00:00
Jack Jansen f0a2ac9d5b Moved PythonScript to unsupported at Bill Bedford's request. It'll go
away completely next release, unless someone complains.
2001-10-26 12:55:39 +00:00
Jack Jansen e674ca737d Added various tidbits. 2001-10-25 22:26:00 +00:00
Jack Jansen e54968a11a Some escaped newlines had spaces between the backslash and the newline. Also slightly changed the comment on xstat(). 2001-10-23 22:28:23 +00:00
Jack Jansen 9ca14ec7cc New URL for Joe Strouts example page. 2001-10-23 22:27:17 +00:00
Jack Jansen 6f1da007b9 Added _hotshot. 2001-10-23 22:23:44 +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 5d528b787e Tweaks for MacPython 2.2b1 2001-10-23 22:22:09 +00:00
Jack Jansen 8626aeb1ce Tweaks for MacPython 2.2b1. 2001-10-23 22:18:10 +00:00
Guido van Rossum 98bf58f1c6 SF patch #462296: Add attributes to os.stat results; by Nick Mathewson.
This is a big one, touching lots of files.  Some of the platforms
aren't tested yet.  Briefly, this changes the return value of the
os/posix functions stat(), fstat(), statvfs(), fstatvfs(), and the
time functions localtime(), gmtime(), and strptime() from tuples into
pseudo-sequences.  When accessed as a sequence, they behave exactly as
before.  But they also have attributes like st_mtime or tm_year.  The
stat return value, moreover, has a few platform-specific attributes
that are not available through the sequence interface (because
everybody expects the sequence to have a fixed length, these couldn't
be added there).  If your platform's struct stat doesn't define
st_blksize, st_blocks or st_rdev, they won't be accessible from Python
either.

(Still missing is a documentation update.)
2001-10-18 20:34:25 +00:00
Jack Jansen b088dd4a26 Some of the lesser used targets still used FMADD/FMSUB instructions. Fixed. 2001-10-10 21:59:08 +00:00
Jack Jansen e67dab3d3f Updated, and added a very terse description of PyMac_SetConsoleHandler(). 2001-10-09 23:14:06 +00:00
Jack Jansen 893b0ab988 Fixed the embedding demo to correctly show the use of
overriding the console writer.
2001-10-09 23:09:00 +00:00
Jack Jansen a0472f73e6 Mods by Alexandre Parenteau to allow embedding programs to disable the MacPython console window completely, and optionally route console output (and input) to routines provided by the embedding app.
Things don't fully work yet, but at least it doesn't break anything.
2001-10-08 15:35:38 +00:00
Jack Jansen 509ad42470 Brought up to date with the current state of affairs. 2001-10-08 15:32:17 +00:00
Jack Jansen b58f1c0c03 Added declarations for PyMac_SetConsoleHandler, PyMan_DUmmyReadHandler
and PyMac_DummyWriteHandler.
2001-10-08 13:16:39 +00:00
Jack Jansen 144d387c85 Added weakrefobject.c and regenerated .exp files. 2001-10-08 13:01:05 +00:00
Just van Rossum c72d4cddc9 Fixed old bug (caused by careless Carbonizing) that noone noticed until
this week (apparently me and Bob Heeter at more or less the same time).
2001-09-24 17:29:09 +00:00
Jack Jansen 998a40a6d4 Mods by Donovan Preston (with changes by me to make them "go with the flow")
that will detect an __main__.py or __rawmain__.py in the application bundle.
This file is then exectued as the main script. We now have applets in
MachO Python!!!

The difference between __main__ and __rawmain__ is that the former gets a
complete simulated argv (so you can drop files on the applet and the script
sees them in sys.argv) while the latter skips the argv simulation and the
<option>key dialog. This keeps the AppleEvent that started the app intact,
as well as the funny "-psn_xxxx" argv[1] argument, so the script can do
with these what it wants.
2001-09-11 13:08:10 +00:00
Jack Jansen 0b60772ee9 - Removed the . in the extensions.
- Allow any file to be dropped on the interpreter (for file args).
2001-09-11 13:01:07 +00:00
Jack Jansen be67f8a5bf removed debug print. 2001-09-11 13:00:16 +00:00
Jack Jansen 408c16fad0 Added a note about making sure the Lac/Lib directory is in sys.path. 2001-09-11 11:30:02 +00:00
Jack Jansen 6438e1d280 Failing to import macfsn is not a fatal error. 2001-09-11 11:29:31 +00:00
Jack Jansen cf0319326a Implemented PyMac_GetFullPathname for MacPython. 2001-09-11 09:22:19 +00:00
Jack Jansen 697842f58c Replaced PyMac_FullPath by PyMac_FullPathname, which has an extra 'length'
parameter for the return string (as unix pathnames are not limited
by the 255 char pstring limit).
Implemented the function for MachO-Python, where it returns unix pathnames.
2001-09-10 22:00:39 +00:00
Jack Jansen c6249e9fef Superseded by Python 2.2.vct. 2001-09-10 21:03:06 +00:00
Jack Jansen c432cba3f2 Install the dialog resources into the application bundle. The EasyDialogs
selftest now works.
2001-09-09 00:36:52 +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 f7e571432a Final tweaks for 2.2a3 distribution. 2001-09-08 21:38:26 +00:00
Jack Jansen 02646fe6d3 Oops, this file is very outdated. Removed. 2001-09-08 13:57:16 +00:00
Jack Jansen 71707f3bb8 Patch by Mark Day to allow from __future__ imports. Looks harmless
enough, but may have side-effects because it preallocates a single
codeop.Compiler() to compile all statements the user enters.

Just: please review and retract/modify if necessary.
2001-09-07 10:11:31 +00:00
Jack Jansen 0511b764d1 Minimal instructions for using the Makefile here. Also a clear
statement that this is a proof-of-concept meant for people to
experiment with, nothing more.
2001-09-06 16:36:42 +00:00
Jack Jansen 638e5e39cf Added targets to install the application, and to install mac-additions
in Python.
2001-09-06 16:33:57 +00:00
Jack Jansen 75ed167527 Rudimentary makefile for building the executable to go into a
fullblown OSX application. It is starting to work, but building
the application bundle is still handwork, and we need a minimal
readme file too.
2001-09-05 22:09:50 +00:00
Jack Jansen dff7770b7f Changes to make these work under OSX as the main program for a
fullblown drag and drop application. To my surprise it is starting
to work already: Python actually executes a script dropped on it.

To be done:
- Make sure this still works in MacPython
- Don't lose argv[0] in the process
- Applet support
2001-09-05 22:07:52 +00:00
Jack Jansen b30e106633 Python is a Shell, not a Viewer. 2001-09-05 22:04:25 +00:00
Jack Jansen 044d95e9f7 A few more gcc warnings bite the dust. 2001-09-05 15:44:37 +00:00
Jack Jansen fd064863eb Shut up many more gcc warnings. 2001-09-05 10:31:52 +00:00
Jack Jansen f894f6f4e9 Added prototypes to shut gcc -Wstrict-prototypes up. 2001-09-04 22:29:31 +00:00
Jack Jansen 9642ecad06 Shut up a few more gcc warnings. 2001-09-04 22:25:47 +00:00
Jack Jansen 1767f93603 Added prototypes to silence gcc strict-prototype warnings.
Fixed a few missing return values.
2001-09-04 22:20:39 +00:00
Jack Jansen 06d2e1af35 Regenerated without default int return types. 2001-09-04 22:19:18 +00:00
Jack Jansen f9114239e7 Added pythonpath.r to the developer distribution. It's
useful to people extending Python. Suggested by
Alexandre Parenteau.
2001-09-04 22:15:05 +00:00
Jack Jansen f6af601dd4 Template for an OSX PythonInterpreter application. 2001-09-04 21:28:03 +00:00
Jack Jansen d043ab6503 Photoshop sources for icon files. Not pretty, but hey! I'm not an
artist (and a certain artist didn't jump in, yet).
2001-09-04 21:25:36 +00:00
Jack Jansen 13b54a9da3 Added the last few missing files, and put everything in the right packages.
Tested, too:-)
2001-09-02 14:48:32 +00:00
Jack Jansen 6114297c87 Silly typos. 2001-09-02 00:09:35 +00:00
Jack Jansen 569ba10610 Don't call PyMac_HandleEvent in unix-Python 2001-09-02 00:08:16 +00:00
Jack Jansen 38c4dd4d53 Regenerated, mainly for new GC routines. 2001-09-01 23:42:11 +00:00
Jack Jansen b18ced2909 xx.prj has been replaced by xx.mcp. 2001-09-01 23:40:19 +00:00
Jack Jansen fabd00fa91 Added glue routine for PyMac_BuildFSSpec, PyMac_GetFSRef and PyMac_BuildFSRef.
Moved the declarations to pymactoolbox.h.
2001-09-01 23:39:58 +00:00
Jack Jansen 62d24a0f50 Don't call PyMac_HandleEvent if we're in unix-Python. 2001-09-01 23:38:50 +00:00
Jack Jansen e9fb3d6db3 Include Carbon/Carbon.h if we're on OSX. 2001-09-01 23:38:13 +00:00
Jack Jansen 0de279b9cd Updated the Popt resources for the applets to the newest version. 2001-09-01 23:37:28 +00:00
Jack Jansen ff5d8aaa28 Added preferences/startup options for division warning
and accepting unix-style newlines on input.

Also (finally) added a startup option to get -vv behaviour.

Moved __convert_to_newlines to main.c because that's easier with the newline option.
2001-09-01 22:37:54 +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 7561d9ead9 Added all the new files in the right packages and file groups (I think, untested). 2001-08-30 22:10:10 +00:00
Jack Jansen 1da6eb091a Superseded by the (generated) xx.mcp. 2001-08-30 21:29:57 +00:00
Jack Jansen ba0ba411d1 Case mismatch in "import Types". Apparently nobody has looked at this for a looooong time. Reported by Chris Smith. 2001-08-30 21:22:10 +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 34eaf86e95 Started on the 2.2a2 installer 2001-08-30 13:26:53 +00:00
Jack Jansen 7c10008917 Added xx and xxsubtype modules, for completeness and because xxsubtype is used by the test suite. 2001-08-29 22:08:06 +00:00
Jack Jansen 028f2d5d89 Started on release notes and readme for 2.2a2. 2001-08-29 22:04:08 +00:00
Jack Jansen 3070ee6b37 Experimental feature: allow \n as well as \r as newline for text files, by breaking in to the lowlevel I/O system. Can be disabled by defining WITHOUT_UNIX_NEWLINES. 2001-08-27 23:16:34 +00:00
Jack Jansen e7d8322630 exceptions was missing from the module list. Added. 2001-08-27 22:50:41 +00:00
Jack Jansen 3c06b9a7d4 Use the new macresource module to open the accompanying resource file (if needed). 2001-08-27 21:41:23 +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 8f2b13efce These have long outlived there usefulness, in my opinion. Moved to Unsupported. 2001-08-27 21:17:44 +00:00
Jack Jansen de1d4957c0 Added Dean Draayer to the thank you list. 2001-08-27 15:30:48 +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 206bd57355 When we're freezing to sourcecode and one of the modules is a dynamic module that is in a package we freeze that module at toplevel (outside any package). Not optimal, but there is little more we can do as config.c has no way to specify a builtin module has to be dumped into a package. 2001-08-27 13:59:35 +00:00
Jack Jansen 60aa4ccdc0 Updated to the current state of affairs. 2001-08-27 13:58:21 +00:00
Jack Jansen 1c2a2b71e1 Added targets for building the Carbon and Classic interpreter if you don't want to go through fullbuild.py. 2001-08-27 13:57:43 +00:00
Jack Jansen dc4d925be9 - A forgotten "from Carbon".
- Made the "killed unknown window" code dependent on a global var,
  so you can easily turn the behaviour off for IDE debugging.
2001-08-27 10:55:41 +00:00
Jack Jansen 4d3052acb0 A few forgotten "from Carbon"s. 2001-08-27 10:54:55 +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 75a2f85593 Last renamed module that wasn't removed yet. 2001-08-24 09:17:15 +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 25a5bd7708 Renamed. 2001-08-23 14:11:10 +00:00
Jack Jansen 50ecb0ad83 Renamed the Mac toolbox modules to have an initial _ in their name. 2001-08-23 14:02:09 +00:00
Jack Jansen 77105a960b The MacOS toolbox modules have acquired an _ in front of their name. Normal usage is through a wrapper module (without underscore) which lives in the Carbon package. 2001-08-23 13:51:46 +00:00
Jack Jansen 404e0b7c1e These long dead files somehow got revived. Killed them (but for how
long? :-).
2001-08-21 10:51:47 +00:00
Jack Jansen 0e53685d10 This file has been dead for aeons. I have no idea how it suddenly
surfaced again.
2001-08-21 10:49:11 +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 7586b049ba Various toolbox modules were generated in lib-dynload accidentally
in stead of in Carbon. Fixed.
2001-08-20 15:31:56 +00:00
Jack Jansen d0688ebc10 Oops, this file shouldn't have been removed. 2001-08-20 10:20:27 +00:00
Jack Jansen 914f9e926d The destination folder is now :Lib:lib-dynload 2001-08-19 22:32:57 +00:00
Jack Jansen f60edf861c PATCHLEVEL is outdated, use PY_VERSION. 2001-08-19 22:32:27 +00:00
Jack Jansen ad251c7516 Step 1 in packaging the toolbox modules and making MacPython more
like normal Python. toolbox modules are now in the Carbon package
in :Mac:Lib, with a workaround flat namespace in :Mac:Lib:lib-compat.
Other dynamic modules are in :Lib:lib-dynload. :Mac:Lib:lib-toolbox and
:Mac:Plugins are gone.
2001-08-19 22:30:31 +00:00
Jack Jansen d39c246a4c Dynamic modules are now put in :Lib:lib-dynload by default. For the toolbox modules this is overridden to put them in :Mac:Lib:Carbon. 2001-08-19 22:29: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 42b1539e98 Step 1 in packaging the toolbox modules and making MacPython more
like normal Python. toolbox modules are now in the Carbon package
in :Mac:Lib, with a workaround flat namespace in :Mac:Lib:lib-compat.
Other dynamic modules are in :Lib:lib-dynload. :Mac:Lib:lib-toolbox and
:Mac:Plugins are gone.
2001-08-19 22:02:56 +00:00
Jack Jansen 106fceacb2 Temporarily disabled the import hook. It breaks with the package-based
Carbon and its workaround.
2001-08-19 22:00:20 +00:00
Jack Jansen 13dca1d50f Got rid of all the plugin xml files: they are generated, and
they were only in the repository for people building MacPython from
CVS (the .cmp project files are in a MacPython source
distribution). The process to regenerate them is now easier (and
documented!) so these shouldn't be needed anymore.

And eventually they should all be built by setup.py anyway.
2001-08-19 20:28:39 +00:00
Jack Jansen e791a6421f If genpluginprojects is called from fullbuild we set the Python source directory to be the same as fullbuild uses (in stead of using the default sys.prefix). This fixes an issue Mark Day raised that you can't use fullbuild with one Python installation to build another one. 2001-08-16 20:39:17 +00:00
Just van Rossum 7a401795db Long time overdue: change sys.path defaults so that people will
have to do "from PIL import Image" instead of "import Image".
2001-08-16 15:16:19 +00:00
Jack Jansen 1690409243 Updated to the current state of things (long overdue). 2001-08-16 14:10:56 +00:00
Jack Jansen 686a4a6d0f Removed expat from the access paths, it isn't needed. 2001-08-16 14:10:08 +00:00
Jack Jansen ce3016a142 Merged release21-maint changes. 2001-08-12 00:11:15 +00:00
Jack Jansen d7b568ac4d test_glob found a nasty bug in GUSI opendir(): it will not fail when called on files, but in stead open the parent directory! We now explicitly test for the argument being a directory and simulate ENOTDIR otherwise. 2001-08-11 23:18:55 +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 09379da7de Regenerated. 2001-08-10 12:17:04 +00:00
Jack Jansen 0cdba05815 Changed reference to config.h to pyconfig.h. 2001-08-10 10:01:05 +00:00
Jack Jansen ab04653715 Resource files for OSX Python.framework. Incomplete, and they should probably
eventually be generated so version numbers and such are automatically
correct, but they do the job for now.
2001-08-08 22:00:26 +00:00
Jack Jansen 4795fccd66 Adapted for pymactoolbox.c and changed externals elsewhere. 2001-08-08 15:29:22 +00:00
Jack Jansen deefbe5666 - Don't return mac-style pathnames in unix-Python.
- Fixed up a lot more prototypes (gcc also wants them on static routines)
- Fixed various other gcc warnings.
2001-08-08 13:46:49 +00:00
Jack Jansen 94bebc0381 Split macglue.c into two: a new mactoolboxglue.c (in ./Python)
with functionality needed for both unix-Python and MacPython and a
new smaller ./Mac/Python/macglue.c which contains MacPython stuff only.

pymactoolbox.h has moved to ./Include from ./Mac/Include and now also
contains the relevant stuff from macglue.h.

The net effect of this is that the ./Mac subdirectory is not needed
anymore for building the unix-Python core on MacOSX (it is needed
for building the extension modules).
2001-08-08 13:17:31 +00:00
Jack Jansen c4dcb63019 Brought up-to-date. 2001-08-07 15:34:47 +00:00
Jack Jansen b760923b20 Got rid of 68k-Mac and other outdated ifdefs. 2001-08-07 15:30:23 +00:00
Jack Jansen 71c5b02859 Got rid of mactcp cruft, added Mlte and CF modules. 2001-08-07 15:29:17 +00:00
Jack Jansen b927285c03 Removed unused variable. 2001-08-07 15:28:52 +00:00
Jack Jansen cf68425b12 Yet another project. 2001-08-07 15:26:26 +00:00
Jack Jansen 596e18a666 Got rid of (hopefully) the last 68k Mac-related ifdefs and various other cruft. 2001-08-07 15:14:53 +00:00
Jack Jansen 8d319d4f8f Removed outdated stuff. 2001-08-07 15:12:04 +00:00
Jack Jansen 179e085113 Project files for the new plugin modules, plus a few that hadn't been added yet but should have been. 2001-08-07 14:21:56 +00:00
Jack Jansen 67992b7732 Bit another bullet: all toolbox modules are now in dynamically loaded modules. Everything still seems to work, but the ConfigurePythonXXX on initial install may still need work. 2001-08-07 13:53:25 +00:00
Jack Jansen 59c14e2254 Bit the bullet and enabled garbage collection (finally).
Also updated pyconfig.h to the current state of pyconfig.h.in.
2001-08-07 12:33:32 +00:00
Jack Jansen 4590049228 Oops, arg type for the glue routine was wrong. 2001-08-06 15:32:30 +00:00
Just van Rossum e6e745fc49 Show the MacPython IDE version in the interactive banner. 2001-08-06 11:12:18 +00:00