Commit Graph

210 Commits

Author SHA1 Message Date
Guido van Rossum ed233a5696 Changes for new UNIX-specific built-in module 'select' and new header for
interfaces to variants of select() system call, "myselect.h".  This includes
adding fileno() methods to files, sockets and stdwin.
1992-06-23 09:07:03 +00:00
Guido van Rossum 710e1df585 Some UNIX types want the exact size of the address structure 1992-06-12 10:39:36 +00:00
Guido van Rossum dfd6e46779 Fix for SEQUENT by Jaap Vermeulen 1992-06-12 10:39:22 +00:00
Guido van Rossum aad5344fc1 Fix bug in ulaw2lin for 4-byte values 1992-06-05 15:11:56 +00:00
Guido van Rossum 0e69587dc0 Added {get,set}sockopt(). allowbroadcast is now obsolete. 1992-06-05 15:11:30 +00:00
Guido van Rossum 3dd8c9895e fixed bugs in generic_setattr (returned NULL instead of
-1 for errors)
1992-06-03 17:07:49 +00:00
Guido van Rossum f0476350b8 Added 1992 to copyright notice 1992-06-03 17:07:06 +00:00
Guido van Rossum 2c4be64f20 added readscaled() function. 1992-06-03 17:06:36 +00:00
Guido van Rossum 9c52e0ff32 Initial revision 1992-06-03 17:06:14 +00:00
Guido van Rossum c888bf7cae append the default path to $PYTHONPATH; ignore empty $PYTHONPATH.
default DATE is now 3 Jun 1992
1992-06-03 17:05:13 +00:00
Guido van Rossum b66efa0d75 Initial revision 1992-06-01 16:01:24 +00:00
Guido van Rossum 5773798e50 Mark's name is Callow, not Callows 1992-05-15 11:06:29 +00:00
Guido van Rossum 178969df92 Added support for CD module 1992-05-15 11:06:12 +00:00
Guido van Rossum 86d2568e16 Initial revision 1992-05-15 11:05:54 +00:00
Guido van Rossum 46003ff66a Added gete?[gu]id functions 1992-05-15 11:05:24 +00:00
Guido van Rossum c3c7ac8ba7 Wanneer er geen disk in de speler zit falen sommige routines. De
exceptie heeft nu in dat geval als argument "no disc in player", behalve
wanneer de bibliotheek routine errno zet.  In dat laatste geval wordt
(nog steeds) err_errno() gebruikt.

Wanneer een routine uit de bibliotheek faalt wordt nu altijd een IOError
gegenereerd.  Een RuntimeError treedt alleen op bij verkeerde argumenten.
1992-05-06 09:48:30 +00:00
Guido van Rossum cbcdff7fcf Don't use \ for continuation lines; minor changes. 1992-05-06 09:47:10 +00:00
Guido van Rossum ece6efe5d1 Return more structured data in some cases 1992-04-15 15:56:11 +00:00
Guido van Rossum 16b8f3047f Initial revision 1992-04-13 18:22:53 +00:00
Guido van Rossum 2ee12f4090 Use mkvalue() instead of painfully constructing values 1992-04-13 15:54:35 +00:00
Guido van Rossum d9f5733a92 change the date to say >= 6 Apr 1992 1992-04-08 11:17:17 +00:00
Guido van Rossum 336b591e55 in form_dealloc, only hide the form if it's visible 1992-04-08 11:16:25 +00:00
Guido van Rossum 7cdf5eb5b9 Don't use NULL as 0 int! 1992-04-06 12:34:45 +00:00
Guido van Rossum bab9d03855 Copyright for 1992 added 1992-04-05 14:26:55 +00:00
Guido van Rossum f1644a54ad Don't define DO_TIMES (now in posixmodule.c) 1992-04-05 14:25:41 +00:00
Guido van Rossum 22db57e4a2 Added times() (from time) 1992-04-05 14:25:30 +00:00
Guido van Rossum 5113f5fd34 Copyright for 1992 added 1992-04-05 14:20:22 +00:00
Guido van Rossum df840d911f lint 1992-03-27 17:29:44 +00:00
Guido van Rossum 4f1691d0d5 Remove redundant vars 1992-03-27 17:26:25 +00:00
Guido van Rossum 9abc539846 Lint fluff 1992-03-27 17:24:37 +00:00
Guido van Rossum 50e61dc259 Check empty argument lists.
Lint fixes (and include <unistd.h>)
1992-03-27 17:22:31 +00:00
Guido van Rossum 2762f250eb Initialized sigsave to shut lint up 1992-03-27 17:22:13 +00:00
Guido van Rossum d15b73353f Lint fixes. 1992-03-27 17:22:00 +00:00
Guido van Rossum 2bac4d3368 Added forms_(de)activate_all_forms functions; minor lay-out fixes. 1992-03-27 17:20:21 +00:00
Guido van Rossum cd8077603a Got rid of display_form() (same as show_form()). 1992-03-24 13:32:06 +00:00
Guido van Rossum 3e94197a52 Improved error handling. 1992-03-23 18:21:32 +00:00
Guido van Rossum b3a0e4c842 Implemented show_choice(); moved items around a little bit. 1992-03-23 18:20:54 +00:00
Guido van Rossum 27aaa6daa9 Add interface to times(2). 1992-03-12 17:33:14 +00:00
Guido van Rossum aa9de679b5 Initial revision 1992-03-04 16:40:03 +00:00
Guido van Rossum 444db07d3c Get rid of RuntimeError. 1992-02-26 15:26:56 +00:00
Guido van Rossum 06a6702dc8 Addef gflush 1992-02-26 15:19:45 +00:00
Guido van Rossum c39de5fe61 Added uname. Made lstat/readlink/symlink unconditional (the latter
two raise posix.error if symlinks aren't supported).
1992-02-05 11:15:54 +00:00
Guido van Rossum 3c8ba7a1ea Fixed getargs() call in setfont.
Improved setwincursor() to allow None to explicitly turn the cursor off.
1992-02-05 11:15:00 +00:00
Guido van Rossum ef0a00ec0c Use getargs() function. 1992-01-27 16:51:30 +00:00
Guido van Rossum 9c16d7fbac Cal get*Str*arg() instead of get*str*arg(), until the code is fixed. 1992-01-27 16:49:54 +00:00
Guido van Rossum 9db23a8c5f Change prototypes decision. 1992-01-27 16:48:48 +00:00
Guido van Rossum 3b1a57a4a0 Ported to THINK C. 1992-01-27 16:47:46 +00:00
Guido van Rossum d577c0ca90 Fix range error (doc and impl of re_search disagreed!)
Use getargs() function.
Drop re_string from re object.
1992-01-27 16:46:19 +00:00
Guido van Rossum fc58e58cb7 Use getargs() function. 1992-01-27 16:45:55 +00:00
Guido van Rossum 521f81ca26 Retract the rage bugfix, but change the range assertion. 1992-01-26 18:23:48 +00:00
Guido van Rossum b7e5160838 Add method to call wsetactive(win). 1992-01-26 18:13:18 +00:00
Guido van Rossum 2d78590183 Make "range" one smaller (discrepancy between doc and source for regex.c!). 1992-01-26 18:12:41 +00:00
Guido van Rossum 5f21dd106f #ifdef'ed an unreachable line out. 1992-01-19 16:49:14 +00:00
Guido van Rossum b674c3bba5 Initial revision 1992-01-19 16:32:47 +00:00
Guido van Rossum 1cab95c14d Use Tatu Ylonen's copyleft-free reimplementation of
GNU regular expressions
1992-01-19 16:31:57 +00:00
Guido van Rossum 450ed49a89 Change versions.
Save argv[0] in global argv0.
1992-01-19 16:27:42 +00:00
Guido van Rossum 77b4604eaf Added close method for menus.
Check for closed objects in getattr (not perfect, but better).
1992-01-14 18:41:24 +00:00
Guido van Rossum 2d709b1608 Get rid of AMOEBA deps; add declaration of fmod() if __STDC__ is not defined. 1992-01-14 18:37:27 +00:00
Guido van Rossum 2817875b2e Converted to use == equality check syntax. 1992-01-12 17:18:12 +00:00
Guido van Rossum b824fc6773 'regs' is a read-only data member, not a function. 1992-01-01 14:52:16 +00:00
Guido van Rossum 9b4e1b36f9 Auto include patchlevel in version.
Replace regexp by regex.
1991-12-30 01:43:49 +00:00
Guido van Rossum 6f4c43d4fd Initial revision 1991-12-30 01:42:57 +00:00
Guido van Rossum 0e8e872ebf Raise KeyError instead of RuntimeError when a uid or name (etc) is not found. 1991-12-24 13:28:38 +00:00
Guido van Rossum bbf9434337 Change errors into new StdwinError. 1991-12-16 15:44:53 +00:00
Guido van Rossum 8832b62101 Improve error handling. 1991-12-16 15:44:24 +00:00
Guido van Rossum 0f1b8063b5 Be vague about default date. 1991-12-16 15:42:11 +00:00
Guido van Rossum 75f8968ee7 Hide forms before discarding them. 1991-12-16 13:06:13 +00:00
Guido van Rossum aa011411fb Automatically insert the date. 1991-12-16 13:05:20 +00:00
Guido van Rossum 87e7ea72a6 Use new exceptions. 1991-12-10 14:00:03 +00:00
Guido van Rossum ddc0d3e066 Support for FORMS 2.0. 1991-12-10 13:56:42 +00:00
Guido van Rossum 9f462af3af Added global 'version' variable.
Print version and copyright when called interactively.
1991-12-10 13:54:12 +00:00
Guido van Rossum 0bb1a51925 AIX fix. 1991-11-27 14:55:18 +00:00
Guido van Rossum 3c28474ea2 Enclosed method lists in braces.
Added close methods to various object types.
1991-11-27 14:54:54 +00:00
Guido van Rossum d97f048ae8 Fixed duplicate use of OFF macro. 1991-11-19 20:26:28 +00:00
Guido van Rossum 98d5433852 Added PROTO macro where needed. 1991-11-12 15:44:14 +00:00
Guido van Rossum 32db5e391b Finally added form attributes. 1991-11-12 15:43:18 +00:00
Guido van Rossum 6d0b5a7880 Improved RGB --> grayscale conversion.
Changed error reporting somewhat.
1991-11-12 15:41:00 +00:00
Guido van Rossum 56a5afc7ea Support JPEG option. 1991-11-12 15:40:36 +00:00
Guido van Rossum d18ad58349 Added frexp, ldexp, modf, fmod. 1991-10-24 14:57:21 +00:00
Guido van Rossum 1242f1da67 Added a little comment 1991-10-20 20:28:02 +00:00
Guido van Rossum 85f5076962 Added __dict__ attributes all over the place. 1991-10-20 20:22:50 +00:00
Guido van Rossum e0e5edcb6e Added allowbroadcast() 1991-10-20 20:22:28 +00:00
Guido van Rossum 2df7bcca97 Done a little bit about garbage collection.
Made some routines a little bit more robust.
1991-10-20 20:18:26 +00:00
Guido van Rossum d26d9ed2ec Added lrect{read,write} and pixmode().
Also added functions (un)packrect, not in GL but needed for tv...
Commented out all the functions that cause error messages.
1991-10-20 20:13:40 +00:00
Guido van Rossum c0aab89d96 Added some error checks. 1991-10-20 20:10:46 +00:00
Guido van Rossum 4f5eafb0cf Return window ID of form (later should use attr list liek objects). 1991-09-13 15:32:37 +00:00
Guido van Rossum 8db0307399 Call (*func), not ALgetparams! 1991-09-13 15:31:47 +00:00
Guido van Rossum 54ba21bd76 Make Socktype global so old and new compilers will like it. 1991-09-10 14:57:12 +00:00
Guido van Rossum b988c33d5a getlonglongargs --> getlonglongarg
Fixed type error in argument of newopenfileobject.
1991-09-10 14:56:48 +00:00
Guido van Rossum 188f832ae6 Added module 'al' (SGI audio library). 1991-09-10 14:55:08 +00:00
Guido van Rossum b3a5b9bc4a Added queryparams, get/setparams.
Free config object used to get sample width.
1991-09-10 14:54:05 +00:00
Guido van Rossum e3db862e5b Initial revision 1991-09-09 23:33:34 +00:00
Guido van Rossum b316515289 Changed some interfaces after error reports from Liberte.
Added altgetmatrix (better but incompatible).
1991-08-16 08:59:21 +00:00
Guido van Rossum 3fecef73d9 Added initfl() call when USE_FL is define. 1991-08-16 08:58:56 +00:00
Guido van Rossum 670690e2aa Reflect changed file name in comments. 1991-08-16 08:57:40 +00:00
Guido van Rossum abe5835b4f Fixed almost all list errors. 1991-08-08 12:34:44 +00:00
Guido van Rossum 0374711fb3 Lots of cosmetic changes.
Lots of small bugfixes (lint!).
Made bgn_group and end_group form methods instead of top-level functions.
1991-08-08 12:10:01 +00:00
Guido van Rossum 75cc8980e8 Adde get_mouse and find_first/find_last (by robertl) 1991-08-08 12:07:45 +00:00
Guido van Rossum c7df79e47d Initial revision 1991-08-07 11:32:58 +00:00
Guido van Rossum 00c567ce6f All mac compilers now use 1904 as the Epoch... 1991-07-27 23:09:30 +00:00