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
3ee199e0cd
added WE_KEY detail format to stdwinmodule.c.
1992-06-30 12:48:26 +00:00
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
2ee12f4090
Use mkvalue() instead of painfully constructing values
1992-04-13 15:54:35 +00:00
Guido van Rossum
bab9d03855
Copyright for 1992 added
1992-04-05 14:26:55 +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
fc58e58cb7
Use getargs() function.
1992-01-27 16:45:55 +00:00
Guido van Rossum
b7e5160838
Add method to call wsetactive(win).
1992-01-26 18:13:18 +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
bbf9434337
Change errors into new StdwinError.
1991-12-16 15:44:53 +00:00
Guido van Rossum
87e7ea72a6
Use new exceptions.
1991-12-10 14:00:03 +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
85f5076962
Added __dict__ attributes all over the place.
1991-10-20 20:22:50 +00:00
Guido van Rossum
8dcbbac15a
Added getxwindowin() method
1991-07-27 21:42:24 +00:00
Guido van Rossum
d783a46d73
printobject now returns an error code
1991-06-07 22:35:42 +00:00
Guido van Rossum
246b9d8258
Don't suppress wsetfont("");
...
Don't report WE_MENU events with None as menu pointer;
Added stdwin.getactie() function;
Moved code to turn WINDOW* into windowobject* to a separate function.
1991-06-03 10:55:14 +00:00
Guido van Rossum
4b9cf8eed9
Added text.setactive and text.setview.
...
Moved some functions around.
1991-05-28 21:57:04 +00:00
Guido van Rossum
a2a181a6a3
Added xor functions.
...
Hide/show focus hacks around tedraw are no longer needed.
1991-05-14 12:09:25 +00:00
Guido van Rossum
541c8c0b2e
Added many new functions
1991-05-05 20:13:41 +00:00
Guido van Rossum
27201069c0
Add filled drawing methods and polygon methods.
...
Sort some method lists.
Increase max #menus, and give more reasonable error message
if exceeded.
Remove window setfont method.
1991-04-16 08:43:03 +00:00
Guido van Rossum
db46c0e4f8
Fix window.setfont() to call drawing_setfont internally.
1991-04-04 17:26:32 +00:00
Guido van Rossum
50429a1d2c
More flexible font setting (mainly for the Mac).
1991-04-04 15:24:07 +00:00
Guido van Rossum
0c2290bd53
Added font, color and default scroll bars interfaces.
1991-04-03 19:12:14 +00:00
Guido van Rossum
bf109736d9
Return value of drawing_generic was ignored! Foo!
1991-03-06 13:14:12 +00:00
Guido van Rossum
f70e43a073
Added copyright notice.
1991-02-19 12:39:46 +00:00
Guido van Rossum
2d14e21382
Call winit() here instead of in main initialization.
1991-02-19 12:26:49 +00:00
Guido van Rossum
33f1770ed8
Add getdefwinpos, getdefwinsize;
...
and improve mouse clipping for textedit blocks.
1991-02-13 23:19:39 +00:00
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
3f5da24ea3
"Compiling" version
1990-12-20 15:06:42 +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
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
85a5fbbdfe
Initial revision
1990-10-14 12:07:46 +00:00