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