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
Jack Jansen
a5bca579fd
PyMac_GetFSSpec must be called via the dylib glue code on OSX.
2001-08-03 15:39:27 +00:00
Jack Jansen
3988358b4d
If we use frameworks we should include CoreServices/CoreServices.h, not the
...
old-style CoreFoundation.h.
2001-08-03 15:36:23 +00:00
Jack Jansen
03b33effc7
TXNTSMCheck isn't available under Mach-O Carbon.
2001-08-03 15:34:29 +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
ddafd2b0c7
(Finally) converted to new-style args.
...
Added an optional (and ignored) 3d parameter to open() to make the signature compatible with posixmodule.
Added the various O_ constants (by stealing the code from posixmodule).
test_fileinput now passes.
2001-08-03 13:07:19 +00:00
Jack Jansen
2d713d1006
Added descrobject.c and mysnprintf.c
2001-08-03 13:05:57 +00:00
Jack Jansen
66298f10df
Regenerated for new description stuff.
2001-08-03 13:05:18 +00:00
Jack Jansen
b4a7db7736
config.h renamed to pyconfig.h
2001-07-27 09:22:03 +00:00