Commit Graph

108915 Commits

Author SHA1 Message Date
Guido van Rossum e8e7cf49c5 Added pollevent(); returns None if no event available.
Don't throw away key events with no window.
1991-01-16 14:06:18 +00:00
Guido van Rossum 875eb7d9c2 Mac version now looks ahead in event queue instead of eating events.
Much better!
1991-01-16 14:04:51 +00:00
Guido van Rossum d9bf55d0d0 Initial revision 1991-01-11 16:35:08 +00:00
Guido van Rossum 94726d55c1 Changed bogus ref to textobject into xxobject. 1991-01-02 15:12:51 +00:00
Guido van Rossum 320a5ccbdc Fixed a bit (still no warranties). 1991-01-02 15:11:48 +00:00
Guido van Rossum 59b3590711 Think C 4.0 fixes a bug in 3.0 that we programmed around. 1991-01-02 13:51:41 +00:00
Guido van Rossum 6607f449be Add backward compatibility with -s.
Add initregexp() call.
1991-01-02 13:50:48 +00:00
Guido van Rossum 65a9620fa2 Initial revision 1991-01-01 18:17:49 +00:00
Guido van Rossum 762c39e9d2 Initial revision 1991-01-01 18:11:14 +00:00
Guido van Rossum b5e05e95c3 Added explanatory comments. 1991-01-01 18:10:40 +00:00
Guido van Rossum 67c9b8cdad Adapted to new cutbuffer interface. 1990-12-26 15:40:31 +00:00
Guido van Rossum 217a5fa3c3 Initial revision 1990-12-26 15:40:07 +00:00
Guido van Rossum 66a07c07a5 Fix bugf in index -- last char would not be checked. 1990-12-26 15:39:06 +00:00
Guido van Rossum a4ddbd885e Use stdwinevents instead of stdwinsupport. 1990-12-26 15:37:05 +00:00
Guido van Rossum fc8e0d980f Compensate stdwin bug 1990-12-26 15:34:48 +00:00
Guido van Rossum ee11583f00 *** empty log message *** 1990-12-26 15:34:34 +00:00
Guido van Rossum a1ec5fea86 Unimportant changes. 1990-12-26 15:33:35 +00:00
Guido van Rossum debbe041e6 Comment changes. 1990-12-26 15:33:00 +00:00
Guido van Rossum b156d7259b Changes for THINK C 4.0. 1990-12-20 23:13:00 +00:00
Guido van Rossum 73531a3bae Return -1 for errors. 1990-12-20 23:12:40 +00:00
Guido van Rossum 6c4f4a92ac Changes for THINK C 4.0.
Don't call inittime() and initmath(), let config_*.c decide about those.
1990-12-20 23:11:33 +00:00
Guido van Rossum 706eea8a06 Changess for THINK C 4.0. 1990-12-20 23:11:02 +00:00
Guido van Rossum 801f473a4c Add <errno.h>. 1990-12-20 23:09:14 +00:00
Guido van Rossum c211ee4b13 Added <errno.h> 1990-12-20 23:06:26 +00:00
Guido van Rossum f22120ab74 Changed include of <errno.h> 1990-12-20 23:05:40 +00:00
Guido van Rossum aec7855227 Initial revision 1990-12-20 23:03:58 +00:00
Guido van Rossum 40d0b7e904 Change div() into divide(); div() is a Standard C function. 1990-12-20 23:03:11 +00:00
Guido van Rossum d05c4b2a7c Include <string.h> instead of "string.h". 1990-12-20 23:02:42 +00:00
Guido van Rossum 3f5da24ea3 "Compiling" version 1990-12-20 15:06:42 +00:00
Guido van Rossum 226d79eb4a Changed interface (no nodes but code). 1990-11-18 17:44:34 +00:00
Guido van Rossum 846e431372 Function objects no longer contain a parse tree node, but intermediate
code.
1990-11-18 17:44:06 +00:00
Guido van Rossum 5b3138bec0 Empty all modules' symbol tables, so most circular references are
cleared up.
(A function definition references its module's symbol table but
the symbol table of course references the function...)
1990-11-18 17:41:40 +00:00
Guido van Rossum 392ab32859 Fix wrong #ifdef. 1990-11-18 17:41:19 +00:00
Guido van Rossum c6aa9e90ad Some extra DECREFs. 1990-11-18 17:40:32 +00:00
Guido van Rossum 840bcf11a8 Set parse tree in parser data structure to NULL when returning
a valid parse tree to caller, so caller must free the tree.
1990-11-18 17:39:41 +00:00
Guido van Rossum 99f02d43f3 Free parse tree when deleting parser. 1990-11-18 17:38:42 +00:00
Guido van Rossum f1270274e2 Added opcodes for classes. 1990-11-18 17:38:15 +00:00
Guido van Rossum cc398d1cbb Added prototype for new function freenode(). 1990-11-18 17:37:25 +00:00
Guido van Rossum 03a24cd47b Add function to free an entire parse tree. 1990-11-18 17:37:06 +00:00
Guido van Rossum eb38d2411c DECREF pi and e after inserting in symbol table. 1990-11-18 17:36:45 +00:00
Guido van Rossum 3304975647 Add extra DECREF. 1990-11-18 17:36:26 +00:00
Guido van Rossum d6f3bc2aae Compile class definitions.
Document and fix code generation for try statements.
Use two bytes for all arguments.
Avoid duplicate entries in lists of constants and names.
1990-11-18 17:35:03 +00:00
Guido van Rossum e9736fc8a1 Free parse tree after compiling.
Added support for class definitions.
Reorganized main interpreter loop to fetch op and arg once at the head.
Use two bytes for arguments (see ceval.c).
1990-11-18 17:33:06 +00:00
Guido van Rossum 921842f2c2 Fixed resizestring() to work if reference tracing is turned on.
The realloc() call would move the list head without fixing the
pointers to in the the chain of allocated objects...
1990-11-18 17:30:23 +00:00
Guido van Rossum da0c6bdfe3 Moved configuration-dependent initializations (etc.) to config_*.c 1990-11-18 17:28:24 +00:00
Guido van Rossum 10dc2e8097 Initial revision 1990-11-18 17:27:39 +00:00
Guido van Rossum d5b70f5bac Add UNREF macro if not tracing refs (see UNREF function in object.c). 1990-11-18 17:27:10 +00:00
Guido van Rossum a769172f6a Increment line number for continuation lines. 1990-11-09 15:08:39 +00:00
Guido van Rossum f1ac403c4d Reformulated err_badarg error message. 1990-11-09 15:05:53 +00:00
Guido van Rossum 124967ca8c Turn close commands into WE_CLOSE events.
Remove (broken) compatibility hacks from cutbuffer interface.
1990-11-06 15:17:35 +00:00