Commit Graph

36633 Commits

Author SHA1 Message Date
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
Guido van Rossum
2e44967104 Initial revision 1990-11-05 19:44:36 +00:00
Guido van Rossum
0c89ec778d *** empty log message *** 1990-11-05 19:44:31 +00:00
Guido van Rossum
c8564cde04 Be more careful with negative reference counts. 1990-11-02 17:51:56 +00:00
Guido van Rossum
3d54f2d3d9 Added provision for THINK C which doesn't have sys_nerrors or sys_errlist. 1990-11-02 17:51:17 +00:00
Guido van Rossum
6923e134fc Moved prototyes for fmod and pow, and don't use them for THINK C. 1990-11-02 17:50:43 +00:00
Guido van Rossum
f5401bd49e Added prototype for strerror. 1990-11-02 17:50:28 +00:00
Guido van Rossum
bd3edc8dc3 Removed redundant prototype for err_nomem().
Added check for negative refcnt in DELREF.
1990-11-02 17:49:51 +00:00
Guido van Rossum
be5ea23374 Added new event types and selection types. 1990-10-31 11:26:01 +00:00
Guido van Rossum
468c448bcc Added S_IMODE() to strip the file type (S_IFMT) from a mode. 1990-10-31 11:25:23 +00:00
Guido van Rossum
36ddc9e318 Initial revision 1990-10-31 11:24:22 +00:00
Guido van Rossum
6acc1b539a Changed resizing functionality. 1990-10-31 11:21:56 +00:00
Guido van Rossum
e15607f3f9 removed resizing functionality. 1990-10-31 11:17:34 +00:00
Guido van Rossum
fc9af02697 Separated out resizing functionality. 1990-10-31 11:16:43 +00:00
Guido van Rossum
5b10f454f7 Added w.setwincursor(), selection, and new cut buffer interface. 1990-10-30 16:01:48 +00:00
Guido van Rossum
01769f083f Change set/getcutbuffer to use the new stdwin interface.
This makes it possible to cut/paste strings wuth embedded null bytes.
1990-10-30 13:39:00 +00:00
Guido van Rossum
7f77e2d4f8 Added prototype to declaration of strerror(). 1990-10-30 13:34:38 +00:00
Guido van Rossum
14da580104 Added prototype for sortlist(). 1990-10-30 13:32:39 +00:00
Guido van Rossum
84c76f52af Added external interface to sort a list. 1990-10-30 13:32:20 +00:00
Guido van Rossum
726749cc5b Added some prototypes. 1990-10-30 13:30:32 +00:00
Guido van Rossum
6990c943a0 Added getdictkeys() prototype. 1990-10-30 13:27:43 +00:00
Guido van Rossum
3ccb6172f8 removed dir statement. Function arguments may now be tests. 1990-10-26 15:01:05 +00:00
Guido van Rossum
0558a205a3 Added getmodulename() public interface. 1990-10-26 15:00:11 +00:00
Guido van Rossum
738d4ddf81 Take out duplication of code in initmodule(). 1990-10-26 14:59:30 +00:00
Guido van Rossum
ed97f6aa04 Added prototype for reload_module. 1990-10-26 14:59:11 +00:00
Guido van Rossum
8d15b5d036 Added reload() functionality. 1990-10-26 14:58:58 +00:00
Guido van Rossum
abbda16f58 Fix zero division checks: return if it occurs! 1990-10-26 14:58:41 +00:00
Guido van Rossum
dd5c7be568 Reads of zero should be legal! 1990-10-26 14:58:11 +00:00
Guido van Rossum
17e66f6d87 Added intobject.h and tupleobject.h includes. 1990-10-26 14:53:07 +00:00
Guido van Rossum
67d3d1348b Removed reference to minmax. 1990-10-26 14:49:24 +00:00
Guido van Rossum
c93fdeb43d Re3moved reference to minmax. 1990-10-26 14:49:08 +00:00
Guido van Rossum
124eb94270 Fix bug in rect.intersect(): empty rects beyond the first were
ignored instead of making the outcome empty...
1990-10-26 13:44:32 +00:00
Guido van Rossum
e1f069ec98 Initial revision 1990-10-25 18:51:42 +00:00