Commit Graph

8384 Commits

Author SHA1 Message Date
Guido van Rossum
5c069fd4b1 Generate the clear() method manually (calling __GLclear(), another
name for clear()). This fixes the name clash with curses.
(Jack)
1998-04-28 16:09:16 +00:00
Guido van Rossum
239a218bac Type casts, and added a strdup() declaration for the Mac.
(Jack)
1998-04-28 16:08:19 +00:00
Guido van Rossum
9b00dfae75 If USE_STACKCHECK is defined use PyOS_CheckStack() in the repr and str
routines. This catches a slightly different set of crashes than the
recursive-repr fix.
(Jack)
1998-04-28 16:06:54 +00:00
Guido van Rossum
f2044e1a71 Enable ftruncate() on the Mac.
(Jack)
1998-04-28 16:05:59 +00:00
Guido van Rossum
92f01c54d4 accept * in return value type and convert it to _ptr after the
typename, as in argument types.
(Jack)
1998-04-28 16:04:50 +00:00
Guido van Rossum
db9a7b9ef6 Style and StyleParameter are two different types.
(Jack)
1998-04-28 16:04:26 +00:00
Guido van Rossum
8b3c30c0eb class ByAddressType, a simple Type but passed by address even on
input.
(Jack)
1998-04-28 16:04:12 +00:00
Guido van Rossum
57a0661cb8 On the Mac, create the Temporary Items folder if it does not exist yet.
(Jack)
1998-04-28 16:03:34 +00:00
Guido van Rossum
9c93a69335 Put quotes around the filename, so spaces in filenames work.
(Jack)
1998-04-28 16:03:03 +00:00
Guido van Rossum
50cc04ee03 Mac CodeWarrior has faulty declaration for hypot, which we hide with a
#define.
(Jack)
1998-04-28 16:02:29 +00:00
Guido van Rossum
53117ae82a typo in error message (fname vs. file).
(Jack)
1998-04-28 16:01:13 +00:00
Guido van Rossum
b86ba124ea Support byte-swapped dbhash (bsddb) files. Found by Ben Sayer. 1998-04-28 15:41:03 +00:00
Guido van Rossum
2aefe8d7c0 Document changed semantics -- open() now guesses the db type and error
is now a tuple of various and sundry exceptions.
1998-04-28 15:29:26 +00:00
Guido van Rossum
fc1f64d90d Oops, I had 'n' and 'c' mixed up in my mind. Get rid of the comment
that wonders what the difference is and explain them properly.
1998-04-28 15:23:09 +00:00
Guido van Rossum
a5c0998242 Inspired by Ben Sayer, rewritten the code and some of the comments to
be more intelligent when the database already exists (use the module
for the existing file, according to whichdb).  Noted in the doc
strings that there doesn't seem to be a different between 'c' and 'n'.
1998-04-28 15:19:34 +00:00
Fred Drake
f8d50bfdb0 Hook in the calendar and popen2 sections. 1998-04-28 14:29:27 +00:00
Fred Drake
1c127e74af calendar module section for the library reference, by Drew Csillag. 1998-04-28 14:28:57 +00:00
Fred Drake
6afad3792d popen2 section for the library reference, contributed by Drew Csillag, with
some reorganization.
1998-04-28 14:28:15 +00:00
Fred Drake
2a1cc3e171 Use of \key and \kbd were isolated to one instance each in this file;
normalize to \kbd to allow removal of \key from the document class.
1998-04-28 13:38:54 +00:00
Guido van Rossum
82e6a8f80d Quicksort retuned by Tim Peters. 1998-04-28 13:17:56 +00:00
Guido van Rossum
bee64533d6 Use a try-except so that the pickle file is written even when we die
because of an unexpected exception.
1998-04-27 19:35:15 +00:00
Guido van Rossum
e86271af72 When setting the event structure fields, don't die when the widget
name is not registered; simply use the string.  This happens for
tear-off widgets (e.g. if you've registered enter/leave events for the
menu).
1998-04-27 19:32:59 +00:00
Guido van Rossum
1f41f846a3 Instead of calling mktime(), which has all sorts of unwanted side
effects, simply zero out the struct tm buffer before using it; this
should take care of the BSD folks' concern just as well.
1998-04-27 19:04:26 +00:00
Guido van Rossum
d30dc0a55e Clear the error condition set by ftell(). 1998-04-27 19:01:08 +00:00
Guido van Rossum
0eae8fba81 Feeble attempt at making urlopen more robust -- don't call splituser()
when splithost() returned no useable host, to avoid calling
splituser() on None.
1998-04-27 15:19:17 +00:00
Jack Jansen
d0ddb66c84 Updated for 1.5.1 1998-04-27 15:14:36 +00:00
Jack Jansen
804fdc80f9 Use dialog auto-placement whenever appropriate. 1998-04-27 15:12:13 +00:00
Jack Jansen
7a32fa1551 Fixes by Just:
- Upped version number in about dialog
- Use auto-positioning of dialogs (a sys7 feature I had never heard
  of, _very_ useful).
1998-04-27 15:10:43 +00:00
Jack Jansen
29bfea9b76 Argument type for SetPort was wrong (WindowPtr in stead of GrafPtr). 1998-04-27 15:09:36 +00:00
Jack Jansen
2d7850f9ef Added FOUR_CHAR_CODE define 1998-04-27 15:09:02 +00:00
Jack Jansen
aa70234c6b New versions from Just. 1998-04-27 15:08:39 +00:00
Jack Jansen
d38dc64a8d Regenerated with FOUR_CHAR_CODE defined 1998-04-27 15:07:43 +00:00
Jack Jansen
cf70b8422f Mention the Mac:Contrib folder 1998-04-27 15:07:20 +00:00
Jack Jansen
5073b376fb Added Just's printing demo code. 1998-04-27 15:06:50 +00:00
Fred Drake
4f31694d37 Document transfercmd(), ntransfercmd(), delete(), rmd(), size().
Thanks to Timothy Wild <twild@clear.net.nz> for catching the omission of
delete().
1998-04-27 14:54:06 +00:00
Fred Drake
9291d271fb parse150(): Simplify RE used to parse the message a little, taking advantage
of using re instead of regex.
1998-04-27 14:39:44 +00:00
Guido van Rossum
8c8e814992 Add link to Anthony Baxter's enhanced version. 1998-04-27 14:14:41 +00:00
Fred Drake
23916e78d0 clean target: Remove intermediate files from creation of outline in PDF. 1998-04-25 04:15:56 +00:00
Fred Drake
724473fbe5 Load the options from the pypaper.sty file before setting up the "base class"
for the manual documents.
1998-04-25 04:12:17 +00:00
Fred Drake
b4929a794e Paper size / font size configuration file.
This is separated so I can build A4 and US Letter sizes without having to
edit files.

Anyone who downloads the source package can also simply edit this file,
which is a lot shorter than the manual.cls file, and easier to find the
appropriate line.
1998-04-25 04:11:27 +00:00
Fred Drake
8805354bbc Simplify how some options get propogated. 1998-04-24 21:57:12 +00:00
Fred Drake
3af9f2514f Added libpoplib.tex to dependencies for the library reference.
Some mods to allow PS to be generated when the current dir is *not* Doc;
to help out with generating A4 versions.
1998-04-24 21:07:22 +00:00
Fred Drake
a468404dda Added a section for the poplib module, contributed by Drew Csillag. 1998-04-24 20:49:02 +00:00
Fred Drake
e28fb67c2c Add entry for poplib. 1998-04-24 20:08:28 +00:00
Guido van Rossum
446898ff4a Use hex() when outputting the various checksums so the test output is the
same on 32 and 64 bit machines.
1998-04-24 18:31:28 +00:00
Guido van Rossum
a937d14898 Fred's right -- we need PyList_SET_ITEM(). 1998-04-24 18:22:02 +00:00
Jack Jansen
7b7a2c2e11 Added new folder types 1998-04-24 10:42:01 +00:00
Jack Jansen
0ec0e63928 Added FOUR_CHAR_CODE define 1998-04-24 10:41:38 +00:00
Jack Jansen
e180d99280 Grmpf, a lot more routines have gotten a "Mac" prefix for their
declaration, probably so the universal headers are useable on
windows/unix too. Have to think of a more definite workaround later,
for now we manually declare the old names in the *edit.py files.
1998-04-24 10:28:20 +00:00
Barry Warsaw
6a508aef7d Use the (new) standard script #! line
Convert to re module; remove all references to regexp and regsub

Added support for the new texinfo @url{} and @email{} commands
1998-04-23 22:59:33 +00:00