summaryrefslogtreecommitdiffstats
path: root/Modules/flmodule.c
Commit message (Collapse)AuthorAgeFilesLines
* Keep gcc -Wall happy.Guido van Rossum1997-04-291-25/+0
|
* Renamed, but untested.Roger E. Masse1997-01-031-765/+780
|
* New permission notice, includes CNRI.Guido van Rossum1996-10-251-13/+20
|
* Correct typo: return -1 for error, not NULLGuido van Rossum1996-09-111-1/+1
|
* Added 1995 to copyright message.Guido van Rossum1995-01-041-2/+2
| | | | | Setup.in: clarified Tk comments somewhat. structmodule.c: use memcpy() instead of double precision assignment.
* Merge alpha100 branch back to main trunkGuido van Rossum1994-08-011-136/+136
|
* One NULL should have been 0.Sjoerd Mullender1994-01-031-1/+1
|
* forms_set_event_call_back: argument of None resets event callback to NULL.Guido van Rossum1993-07-261-0/+2
|
* * Makefile: added all: and default: targets.Guido van Rossum1993-07-051-122/+83
| | | | | | | | | | | | * many files: made some functions static; removed "extern int errno;". * frozenmain.c: fixed bugs introduced on 24 June... * flmodule.c: remove 1.5 bw compat hacks, add new functions in 2.2a (and some old functions that were omitted). * timemodule.c: added MSDOS floatsleep version . * pgenmain.c: changed exit() to goaway() and added defn of goaway(). * intrcheck.c: add hack (to UNIX only) so interrupting 3 times will exit from a hanging program. The second interrupt prints a message explaining this to the user.
* * Added gmtime/localtime/mktime and SYSV timezone globals to timemodule.c.Guido van Rossum1993-06-171-6/+6
| | | | | | | | | | Added $(SYSDEF) to its build rule in Makefile. * cgensupport.[ch], modsupport.[ch]: removed some old stuff. Also changed files that still used it... And made several things static that weren't but should have been... And other minor cleanups... * listobject.[ch]: add external interfaces {set,get}listslice * socketmodule.c: fix bugs in new send() argument parsing. * sunaudiodevmodule.c: added flush() and close().
* Changes to speed up local variables enormously, by avoiding dictionaryGuido van Rossum1993-03-301-0/+9
| | | | | | lookup (opcode.h, ceval.[ch], compile.c, frameobject.[ch], pythonrun.c, import.c). The .pyc MAGIC number is changed again. Added get_menu_text to flmodule.
* * Changed many files to use mkvalue() instead of newtupleobject().Guido van Rossum1993-03-161-55/+15
| | | | | | | | | | * Fixcprt.py: added [-y file] option, do only files younger than file. * modsupport.[ch]: added vmkvalue(). * intobject.c: use mkvalue(). * stringobject.c: added "formatstring"; renamed string* to string_*; ceval.c: call formatstring for string % value. * longobject.c: close memory leak in divmod. * parsetok.c: set result node to NULL when returning an error.
* * bltinmodule.c: added built-in function cmp(a, b)Guido van Rossum1992-10-181-4/+3
| | | | | | | | | | | | | | | * flmodule.c: added {do,check}_only_forms to fl's list of functions; and don't print a message when an unknown object is returned. * pythonrun.c: catch SIGHUP and SIGTERM to do essential cleanup. * Made jpegmodule.c smaller by using getargs() and mkvalue() consistently. * Increased parser stack size to 500 in parser.h. * Implemented custom allocation of stack frames to frameobject.c and added dynamic stack overflow checks (value stack only) to ceval.c. (There seems to be a bug left: sometimes stack traces don't make sense.)
* * Makefile: added IMGFILE; moved some stuff around.Guido van Rossum1992-09-171-12/+75
| | | | | | | | * 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.
* Use getargs() everywhere now. Standardize lay-out yet more (an ongoingGuido van Rossum1992-09-031-196/+248
| | | | | project :-). Change object administration: objects are removed from the list of known objects as soon as their form is destroyed.
* Modified to allow other threads to run in a multithreaded environment.Jack Jansen1992-08-131-1/+27
|
* * Makefile: cosmeticsGuido van Rossum1992-08-051-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | * 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
* fixed bugs in generic_setattr (returned NULL instead ofGuido van Rossum1992-06-031-2/+2
| | | | -1 for errors)
* in form_dealloc, only hide the form if it's visibleGuido van Rossum1992-04-081-1/+2
|
* Copyright for 1992 addedGuido van Rossum1992-04-051-1/+1
|
* Added forms_(de)activate_all_forms functions; minor lay-out fixes.Guido van Rossum1992-03-271-18/+40
|
* Got rid of display_form() (same as show_form()).Guido van Rossum1992-03-241-15/+0
|
* Implemented show_choice(); moved items around a little bit.Guido van Rossum1992-03-231-9/+47
|
* Use getargs() function.Guido van Rossum1992-01-271-184/+41
|
* Hide forms before discarding them.Guido van Rossum1991-12-161-0/+1
|
* Support for FORMS 2.0.Guido van Rossum1991-12-101-33/+170
|
* Fixed duplicate use of OFF macro.Guido van Rossum1991-11-191-0/+6
|
* Finally added form attributes.Guido van Rossum1991-11-121-5/+38
|
* Done a little bit about garbage collection.Guido van Rossum1991-10-201-103/+218
| | | | Made some routines a little bit more robust.
* Return window ID of form (later should use attr list liek objects).Guido van Rossum1991-09-131-0/+2
|
* Fixed almost all list errors.Guido van Rossum1991-08-081-16/+20
|
* Lots of cosmetic changes.Guido van Rossum1991-08-081-310/+325
| | | | | Lots of small bugfixes (lint!). Made bgn_group and end_group form methods instead of top-level functions.
* Adde get_mouse and find_first/find_last (by robertl)Guido van Rossum1991-08-081-0/+72
|
* Initial revisionGuido van Rossum1991-08-071-0/+2177