Jack Jansen
aca44e2771
Added a File->Generate OSA Suite command.
2003-03-31 15:11:14 +00:00
Jack Jansen
71ad9fb74f
Added 1-page introductions to creating GUIs in Python and the OSA
...
interface.
2003-03-31 15:10:46 +00:00
Fred Drake
007fadd59d
Fix symbol in grammar; this should fix some hyperlinking in the HTML
...
version.
2003-03-31 14:53:03 +00:00
Jack Jansen
fc71026c8a
Subclasses of ObjectSpecifier can now be packed and unpacked. This allows
...
you to say something like "talker.count(want=Address_Book.people)" in
stead of having to manually create the aetypes.Type(Address_Book.people.want)
OSA type.
2003-03-31 13:32:59 +00:00
Jack Jansen
397e914209
In TalkTo.send(), check that we have access to the window manager,
...
and initialize the event loop (if not done previously) to work around
a bug (IMHO) in MacOSX 10.2.
2003-03-31 13:29:32 +00:00
Jack Jansen
1fff697f8a
Lib/plat-mac/lib-scriptpackages/SystemEvents added.
2003-03-31 09:39:54 +00:00
Jack Jansen
068a1e208f
Regenerated again, now clases are sorted by code, and with synonyms after
...
the primary name.
2003-03-30 22:41:53 +00:00
Jack Jansen
2dc16f2a1e
Classes have to be sorted by code, not name, and synonyms have to
...
be sorted after the main name, otherwise filling of properties and
elements messes up.
Sorting is always more difficult than expected:-)
2003-03-30 22:39:39 +00:00
Neal Norwitz
ddb4f62650
SF patch #667548 , Add some audio constants by Michael Pruett
...
Also remove a few unused variables. Built on IRIX 6.5.
2003-03-30 21:49:18 +00:00
Neal Norwitz
1ac3e39913
Get build working with pre-C99 compilers
2003-03-30 20:51:29 +00:00
Barry Warsaw
1a99cf045d
Bump to version 2.5.1
2003-03-30 20:47:48 +00:00
Barry Warsaw
9c505ae3da
test_whitespace_eater_unicode_2(): Test case for SF bug #710498 .
2003-03-30 20:47:22 +00:00
Barry Warsaw
ba1548a736
__unicode__(): Fix the logic for calculating whether to add a
...
separating space or not between encoded chunks. Closes SF bug
#710498 .
2003-03-30 20:46:47 +00:00
Neal Norwitz
742dde4ddd
SF patch #706338 , Fix a few broken links in pydoc by Greg Chapman
2003-03-30 20:31:34 +00:00
Martin v. Löwis
f26d63b3e1
Patch #650412 : Check whether the address of flock and getpagesize
...
can be taken, and use _SC_PAGE_SIZE if getpagesize is not available.
2003-03-30 17:23:49 +00:00
Martin v. Löwis
852ba7eb2a
Patch #672053 : Return a result from Py_Main, instead of exiting.
2003-03-30 17:09:58 +00:00
Martin v. Löwis
e98922fb80
Patch #695250 : Suppress COPYRIGHT if site.py is not read. Fixes #672614 .
...
Will backport to 2.2.
2003-03-30 17:00:39 +00:00
Martin v. Löwis
24b8881f61
Patch #701395 : Correct documentation of PyUnicode_Splitlines.
2003-03-30 16:40:42 +00:00
Martin v. Löwis
12a7f96aec
Patch #712124 : Remove obsolete comment.
2003-03-30 16:28:26 +00:00
Martin v. Löwis
103d6e7a3c
Support '' as the argument for the setlocale emulation. Fixes #678259 .
2003-03-30 15:42:13 +00:00
Martin v. Löwis
45ec95d4d8
Use soname option when building a shared libpython. Fixes #701823 .
2003-03-30 15:37:33 +00:00
Martin v. Löwis
3163a3b4b2
Patch #545300 : Support marked sections.
2003-03-30 14:25:40 +00:00
Martin v. Löwis
a965649386
Wrap thread stuff in WITH_THREAD. Fixes #704641 .
2003-03-30 08:44:58 +00:00
Martin v. Löwis
52ae6f67d9
Fake bool API for Python 2.2.
2003-03-30 08:26:04 +00:00
Skip Montanaro
89feabc7f5
The socket module now always uses the _socketobject wrapper class, even on
...
platforms which have dup(2). The makefile() method is built directly on top
of the socket without duplicating the file descriptor, allowing timeouts to
work properly. Includes a new test case (urllibnet) which requires the
network resource.
Closes bug 707074.
2003-03-30 04:54:24 +00:00
Jack Jansen
a942b9931c
Moved gensuitemodule from Mac/scripts to Lib/plat-mac. Documentation
...
remains to be done.
2003-03-29 23:04:01 +00:00
Jack Jansen
1269be5f4a
- Added an is_scriptable method to test applications for having
...
a scripting dictionary. Made up by me, not guaranteed to be correct
(and, indeed, Internet Explorer does not seem to play by the book).
- Added the interactive main program as a separate routine, so it
can be called from the IDE later. Also made it less interactive by
default: only the input app and output package folder are asked for.
2003-03-29 22:54:00 +00:00
Jack Jansen
150753cb22
The test for setpgrp having two arguments didn't actually test anything.
...
For reasons unknown this suddenly started to matter (since Martin's 1.396
checkin? But why?), at least on MacOSX. Added a real test similar to the
getpgrp argument test.
2003-03-29 22:07:47 +00:00
Neal Norwitz
7035c98c5c
Move Mac/Windows specific expected skips from each platform list
...
to the ExpectedSkips class. Add test_scriptpackages to Mac only list.
Add test_unicode_file to Windows only list.
2003-03-29 22:01:17 +00:00
Martin v. Löwis
b9a0f91218
Rename LONG_LONG to PY_LONG_LONG. Fixes #710285 .
2003-03-29 10:06:18 +00:00
Martin v. Löwis
043bbc7da3
Patch #707701 : Expect '??' in event fields. Fixes #698517 .
...
Will backport to 2.2.
2003-03-29 09:47:21 +00:00
Jack Jansen
694570efcf
Regenerated with the new way to get terminology (through AppleEvents),
...
which sometimes seems to result in different terminology. It does
seem to be mostly compatible, though.
2003-03-29 00:13:17 +00:00
Jack Jansen
0fc192a9cd
- Prefer using events (in stead of poking around in resource files) to
...
get terminology resources. Unfortunately there doesn't seem to be any
application I can ask for the basic StdSuites terminology (?).
- Prefer OSX-native versions of applications over OS9 versions.
2003-03-29 00:11:32 +00:00
Jack Jansen
8307e028b2
Sometimes a class is used as a base class of itself. Obviously there's
...
something I don't understand, but for now ignore this.
Output the file name such that it cannot contain non-ascii characters.
2003-03-29 00:08:24 +00:00
Jack Jansen
d6ab153e5a
On OSX the finder will return from an open() event before the application
...
has actually entered its event loop. As a stopgap, allow for a 10 second
grace period.
2003-03-28 23:42:37 +00:00
Jack Jansen
d4885f87fa
Sigh: didn't catch all lists that needed to be sorted. Regenerated again.
2003-03-28 23:38:00 +00:00
Jack Jansen
00c348328b
Sigh: didn't catch all lists that needed to be sorted.
2003-03-28 23:37:05 +00:00
Skip Montanaro
9ddac3e166
make nt altsep forward slash - closes bug 709428
...
backport candidate
2003-03-28 22:23:24 +00:00
Jack Jansen
7377bec6ae
Regenerated (from resource files) with sorting version of gensuitemodule.
...
This is a first step towards regenerating the modules with newer, MacOSX,
versions of these programs, and using the programmatic interface to
get at the terminology in stead of poking in resource files.
2003-03-28 22:07:22 +00:00
Jack Jansen
03b9c91aff
- Sort various lists (list of events, OSA-classes, etc) before generating
...
code. This makes it a lot easier to compare the generated code for two
different versions of the suite.
- Various tweaks to the code to generate suites without looking at resource
files manually.
2003-03-28 22:04:22 +00:00
Jack Jansen
c2a7f22216
Minimal test suite of the generated packages in plat-mac/lib-scriptpackages.
...
At the moment does little more than testing that the modules import
correctly and some classes can be instantiated.
2003-03-28 22:01:41 +00:00
Martin v. Löwis
a9d71420a6
Disable _XOPEN_SOURCE for Solaris 2.6. Fixes #690317 .
2003-03-28 18:43:31 +00:00
Martin v. Löwis
4daacb1a82
Add test for setpgrp. Fixes #690317 .
2003-03-28 18:37:01 +00:00
Ka-Ping Yee
bd379e9627
PyWeakref_GetObject returns None (not NULL) when the referent is gone.
2003-03-28 18:07:16 +00:00
Ka-Ping Yee
d9e213eeca
Hide private names beginning with _ (but don't hide __special__ names).
...
Clean up section headings; make the bars on the left less fat.
Adjust the display of properties slightly.
Don't show stuff inherited from the base 'object' type.
2003-03-28 16:35:51 +00:00
Ka-Ping Yee
b38bbbd387
Make module lookup a little more robust (certain kinds of fiddling to
...
sys.modules previously produced an exception).
2003-03-28 16:29:50 +00:00
Ka-Ping Yee
e9638ccadb
Move testing code into "if __name__ == '__main__'" so it's not run on import.
2003-03-28 16:28:48 +00:00
Raymond Hettinger
5b75c38cc9
Factored out test for absolute jumps.
2003-03-28 12:05:00 +00:00
Gregory P. Smith
6e5c1792d9
4.1.5
2003-03-27 17:25:10 +00:00
Gregory P. Smith
fe11d3e0d4
Adds support for the DBEnv->set_timeout() method.
2003-03-27 17:23:29 +00:00