Commit graph

67 commits

Author SHA1 Message Date
Jeremy Hylton
938ace69a0 staticforward bites the dust.
The staticforward define was needed to support certain broken C
compilers (notably SCO ODT 3.0, perhaps early AIX as well) botched the
static keyword when it was used with a forward declaration of a static
initialized structure.  Standard C allows the forward declaration with
static, and we've decided to stop catering to broken C compilers.  (In
fact, we expect that the compilers are all fixed eight years later.)

I'm leaving staticforward and statichere defined in object.h as
static.  This is only for backwards compatibility with C extensions
that might still use it.

XXX I haven't updated the documentation.
2002-07-17 16:30:39 +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
5a6fdcd371 Import the MacOS toolbox modules from the Carbon package. 2001-08-25 12:15:04 +00:00
Jack Jansen
af86470e85 Added a note about the various tests here. 2001-08-11 21:13:19 +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
c1218bc014 Files for 2.1 distribution. 2001-04-25 22:11:24 +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
7302340436 Sigh... First test before committing. InvalWindowRect and friends are window object methods. Fixed. 2001-01-23 14:58:20 +00:00
Jack Jansen
d829e9e8e3 Replaced InvalRect and friends with the Carbon-compliant InvalWindowRect. 2001-01-23 14:34:49 +00:00
Jack Jansen
4a751580ca mkcwproject now works, but for one thing: the import of the XML document as a project through AppleEvents. 2000-09-22 23:54:07 +00:00
Jack Jansen
9a8df7db6b Test files for mkcwproject 2000-09-22 23:28:40 +00:00
Jack Jansen
d13c385462 Replaced OpenResFile calls with FSpOpenResFile calls (which are carbon-compatible). 2000-06-20 21:59:25 +00:00
Jack Jansen
4d56ecf690 Minimal test of Dlg.SetControlData by Corran Webster: draw a default
ring around a button. Mainly here so I can transfer it home:-)
1999-12-09 15:36:36 +00:00
Jack Jansen
1de2a92791 Initial minimal test program: print information on anything dropped onto Python
window.
1999-06-21 16:19:43 +00:00
Jack Jansen
f25813ac6c Re-committed as AppleSingle 1999-01-29 12:06:21 +00:00
Jack Jansen
b736a87703 Project files converted for CW Pro 4. And the daylight savings time switch seems to have "modified" the resource files (but nothing has changed there). 1998-11-01 22:11:33 +00:00
Jack Jansen
fb37f89b81 Replaced all remaining BinHex files with their binary counterparts. 1998-08-20 15:03:49 +00:00
Jack Jansen
e632380b55 Dunno, rebinhexed? 1997-09-08 13:26:55 +00:00
Jack Jansen
7fb76e0f8a Replaced MacOS.EnableAppswitch by MacOS.SchedParams 1997-06-12 10:49:56 +00:00
Jack Jansen
cb2554effa Still not a real test, but at least it runs again 1997-04-03 14:45:28 +00:00
Jack Jansen
4b76ba3280 High-level interface to Internet Config
(and readability fix to icgluetest.py)
1997-01-09 16:26:23 +00:00
Jack Jansen
3beb3363d4 Minimal test of icglue module 1997-01-07 16:17:44 +00:00
Jack Jansen
0d1069e42f Finally *tested* effect of fg and bg yield values (and changed them:-) 1996-09-22 22:15:20 +00:00
Jack Jansen
35bfd3f9d7 Created Finder 7.0 AE interface and a test program that uses the
finder to launch an application.
1996-09-19 10:49:53 +00:00
Jack Jansen
bbe2ae168c Re-binhexed 1996-08-20 16:18:42 +00:00
Jack Jansen
8431733c07 Allow only one selection (this tests settability of selFlags) 1996-07-26 16:04:29 +00:00
Jack Jansen
2cc41604c7 Minimal waste test program, modified from ttedit. 1996-04-19 15:57:52 +00:00
Jack Jansen
e353215bf7 Added ScrolledWindow (a window with one or two scrollbars) 1996-04-12 16:24:44 +00:00
Jack Jansen
c9c0dd3420 Fixed ttedit to actually work
Fixed minor update bug in tlist
1996-04-11 15:40:32 +00:00
Jack Jansen
0b690db57a Added region argument to various ...Update calls.
Also, some rsrc files got rebinhexed (sigh)
1996-04-10 14:49:41 +00:00
Jack Jansen
fcdf4378ac TextEdit sample code (not yet complete) 1996-04-10 14:43:17 +00:00
Jack Jansen
94a71aba52 re-binhexed 1996-03-20 16:25:52 +00:00
Jack Jansen
ef51d1351c Removed addpack calls 1996-03-20 16:24:56 +00:00
Jack Jansen
bb653772f5 Oops... I Inadvertently lost their cvs files... 1996-03-18 14:21:15 +00:00
Jack Jansen
1a06e1d6ba Binhexer fixed 1996-03-18 13:34:25 +00:00
Jack Jansen
29c612111b A different binhexer, apparently:-( 1996-01-02 12:15:45 +00:00
Jack Jansen
b696b252b3 Added missing newline 1995-12-21 15:38:14 +00:00
Jack Jansen
b996856d12 Component mgr support 1995-11-30 15:03:09 +00:00
Jack Jansen
8961847e18 Modeless dialog test 1995-08-31 13:42:35 +00:00