Commit Graph

20 Commits

Author SHA1 Message Date
Guido van Rossum aa7ca2dc1a Use getargs() everywhere now. Standardize lay-out yet more (an ongoing
project :-).  Change object administration: objects are removed from the
list of known objects as soon as their form is destroyed.
1992-09-03 20:37:02 +00:00
Jack Jansen 743db36cd2 Modified to allow other threads to run in a multithreaded environment. 1992-08-13 14:13:11 +00:00
Guido van Rossum ff4949eeee * Makefile: cosmetics
* socketmodule.c: get rid of makepair(); fix makesocketaddr to fix
  broken recvfrom()
* socketmodule: get rid of getStrarg()
* ceval.h: move eval_code() to new file eval.h, so compile.h is no
  longer needed.
* ceval.c: move thread comments to ceval.h; always make save/restore
  thread functions available (for dynloaded modules)
* cdmodule.c, listobject.c: don't include compile.h
* flmodule.c: include ceval.h
* import.c: include eval.h instead of ceval.h
* cgen.py: add forground(); noport(); winopen(""); to initgl().
* bltinmodule.c, socketmodule.c, fileobject.c, posixmodule.c,
  selectmodule.c:
  adapt to threads (add BGN/END SAVE macros)
* stdwinmodule.c: adapt to threads and use a special stdwin lock.
* pythonmain.c: don't include getpythonpath().
* pythonrun.c: use BGN/END SAVE instead of direct calls; also more
  BGN/END SAVE calls etc.
* thread.c: bigger stack size for sun; change exit() to _exit()
* threadmodule.c: use BGN/END SAVE macros where possible
* timemodule.c: adapt better to threads; use BGN/END SAVE; add
  longsleep internal function if BSD_TIME; cosmetics
1992-08-05 19:58:53 +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 336b591e55 in form_dealloc, only hide the form if it's visible 1992-04-08 11:16:25 +00:00
Guido van Rossum bab9d03855 Copyright for 1992 added 1992-04-05 14:26:55 +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 b3a0e4c842 Implemented show_choice(); moved items around a little bit. 1992-03-23 18:20:54 +00:00
Guido van Rossum fc58e58cb7 Use getargs() function. 1992-01-27 16:45:55 +00:00
Guido van Rossum 75f8968ee7 Hide forms before discarding them. 1991-12-16 13:06:13 +00:00
Guido van Rossum ddc0d3e066 Support for FORMS 2.0. 1991-12-10 13:56:42 +00:00
Guido van Rossum d97f048ae8 Fixed duplicate use of OFF macro. 1991-11-19 20:26:28 +00:00
Guido van Rossum 32db5e391b Finally added form attributes. 1991-11-12 15:43:18 +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 4f5eafb0cf Return window ID of form (later should use attr list liek objects). 1991-09-13 15:32:37 +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