summaryrefslogtreecommitdiffstats
path: root/Modules/stdwinmodule.c
Commit message (Collapse)AuthorAgeFilesLines
* * stdwinmodule.c: various new commands: setwin{pos,size},Guido van Rossum1993-02-081-0/+275
| | | | | | | | | | listfontnames, bitmap ops. * listobject.c: use mkvalue() when possible; avoid weird error when calling append() without args. * modsupport.c: new feature in getargs(): if the format string contains a semicolor the string after that is used as the error message instead of "bad argument list (format %s)" when there's an error.
* * Added Fixcprt.py: script to fix copyright message.Guido van Rossum1993-01-261-1/+9
| | | | | | | | | | | * various modules: added 1993 to copyright. * thread.c: added copyright notice. * ceval.c: minor change to error message for "+" * stdwinmodule.c: check for error from wfetchcolor * config.c: MS-DOS fixes (define PYTHONPATH, use DELIM, use osdefs.h) * Add declaration of inittab to import.h * sysmodule.c: added sys.builtin_module_names * xxmodule.c, xxobject.c: fix minor errors
* Added separate main program for the Mac: macmain.cGuido van Rossum1993-01-211-4/+12
| | | | | | | | | | | | | | | | | | | | | stdwinmodule.c: wsetfont can now return an error Makefile: add CL_USE and CL_LIB*S; config.c: move CL part around New things in imgfile; also in Makefile. longobject.c: fix comparison of negative long ints... [REAL BUG!] marshal.c: add dumps() and loads() to read/write strings timemodule.c: make sure there's always a floatsleep() posixmodule.c: rationalize struct returned by times() Makefile: add test target, disable imgfile by default thread.c: Improved coexistance with dl module (sjoerd) stdwinmodule.c: Change include stdwin.h if macintosh rotormodule.c: added missing last argument to RTR_?_region calls confic.c: merged with configmac.c, added 1993 to copyright message fileobject.c: int compared to NULL in writestring(); change fopenRF ifdef timemodule.c: simplify times() using mkvalue; include myselect.h earlier (for sequent). posixmodule: for sequent, include unistd.h instead of explicit extern definitions and don't define rename() Makefile: change misleading/wrong MD5 comments
* * Makefile: added IMGFILE; moved some stuff around.Guido van Rossum1992-09-171-13/+1
| | | | | | | | * flmodule.c: added some missing functions; changed readonly flags of some data members based upon FORMS documentation. * listobject.c: fixed int/long arg lint bug (bites PC compilers). * several: removed redundant print methods (repr is good enough). * posixmodule.c: added (still experimental) process group functions.
* classobject.c moduleobject.c stdwinmodule.c xxobject.c:Guido van Rossum1992-09-041-6/+21
| | | | | raise AttributeError, not KeyError, when attribute deletion fails. sunaudiodevmodule.c: check for deletion before calling setmember.
* * Makefile: cosmeticsGuido van Rossum1992-08-051-1/+35
| | | | | | | | | | | | | | | | | | | | | | | | | * 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
* added WE_KEY detail format to stdwinmodule.c.Guido van Rossum1992-06-301-0/+6
|
* Changes for new UNIX-specific built-in module 'select' and new header forGuido van Rossum1992-06-231-0/+16
| | | | | interfaces to variants of select() system call, "myselect.h". This includes adding fileno() methods to files, sockets and stdwin.
* Use mkvalue() instead of painfully constructing valuesGuido van Rossum1992-04-131-80/+12
|
* Copyright for 1992 addedGuido van Rossum1992-04-051-1/+1
|
* Fixed getargs() call in setfont.Guido van Rossum1992-02-051-6/+10
| | | | Improved setwincursor() to allow None to explicitly turn the cursor off.
* Use getargs() function.Guido van Rossum1992-01-271-153/+123
|
* Add method to call wsetactive(win).Guido van Rossum1992-01-261-0/+13
|
* Added close method for menus.Guido van Rossum1992-01-141-8/+45
| | | | Check for closed objects in getattr (not perfect, but better).
* Change errors into new StdwinError.Guido van Rossum1991-12-161-11/+11
|
* Use new exceptions.Guido van Rossum1991-12-101-8/+9
|
* Enclosed method lists in braces.Guido van Rossum1991-11-271-24/+82
| | | | Added close methods to various object types.
* Added __dict__ attributes all over the place.Guido van Rossum1991-10-201-18/+36
|
* Added getxwindowin() methodGuido van Rossum1991-07-271-0/+14
|
* printobject now returns an error codeGuido van Rossum1991-06-071-1/+2
|
* Don't suppress wsetfont("");Guido van Rossum1991-06-031-28/+47
| | | | | | 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.
* Added text.setactive and text.setview.Guido van Rossum1991-05-281-5/+37
| | | | Moved some functions around.
* Added xor functions.Guido van Rossum1991-05-141-9/+46
| | | | Hide/show focus hacks around tedraw are no longer needed.
* Added many new functionsGuido van Rossum1991-05-051-10/+71
|
* Add filled drawing methods and polygon methods.Guido van Rossum1991-04-161-26/+118
| | | | | | | Sort some method lists. Increase max #menus, and give more reasonable error message if exceeded. Remove window setfont method.
* Fix window.setfont() to call drawing_setfont internally.Guido van Rossum1991-04-041-6/+3
|
* More flexible font setting (mainly for the Mac).Guido van Rossum1991-04-041-4/+47
|
* Added font, color and default scroll bars interfaces.Guido van Rossum1991-04-031-1/+141
|
* Return value of drawing_generic was ignored! Foo!Guido van Rossum1991-03-061-7/+7
|
* Added copyright notice.Guido van Rossum1991-02-191-0/+24
|
* Call winit() here instead of in main initialization.Guido van Rossum1991-02-191-10/+16
|
* Add getdefwinpos, getdefwinsize;Guido van Rossum1991-02-131-3/+35
| | | | and improve mouse clipping for textedit blocks.
* Added pollevent(); returns None if no event available.Guido van Rossum1991-01-161-8/+38
| | | | Don't throw away key events with no window.
* "Compiling" versionGuido van Rossum1990-12-201-13/+2
|
* Turn close commands into WE_CLOSE events.Guido van Rossum1990-11-061-13/+7
| | | | Remove (broken) compatibility hacks from cutbuffer interface.
* Added w.setwincursor(), selection, and new cut buffer interface.Guido van Rossum1990-10-301-5/+103
|
* Change set/getcutbuffer to use the new stdwin interface.Guido van Rossum1990-10-301-4/+8
| | | | This makes it possible to cut/paste strings wuth embedded null bytes.
* Initial revisionGuido van Rossum1990-10-141-0/+1520