Commit Graph

1789 Commits

Author SHA1 Message Date
Guido van Rossum aec5dc9f67 Sun Jun 26 02:19:01 1994 Steen Lumholt (lumholt@login.dkuug.dk)
* README: Doc fix.

	* Dialog.py: tk_dialog wrapper widget.

	* Tkinter.py: (Widget) Code moved from __init__ to _setup.

Sat Jun 25 00:27:24 1994  Steen Lumholt  (lumholt@login.dkuug.dk)

	* Tkinter.py (Misc): selection_own and selection_own_get methods.
	(Misc.winfo_toplevel): Return widget.

	* kill.py: New demo.

	* Tkinter.py: tk_menuBar method moved from Menu class to
	Misc class.
	(Scrollbar.get): Bug fix; self._getints not self.tk.getints.

Fri Jun 24 17:42:16 1994  Steen Lumholt  (lumholt@login.dkuug.dk)

	* Tkinter.py
	(Variable, StringVar, IntVar, BooleanVar): New classes.

	* mklibapp: New shell script.

	* Setup.in: moreButtons Tk extension support.

	* tkintermodule.c (Tkapp_New): Remove #ifdef WITH_APPINIT.

	* appinit.c (Tcl_AppInit): New file and function.

	* Tkinter.py:
	(Button): Dummy args in tk_* methods.
	(Studbutton, Tributton): New widget by <tnb2d@cs.virginia.edu>;
	morebuttons extension.

Thu Jun 23 22:22:43 1994  Steen Lumholt  (lumholt@login.dkuug.dk)

	* tkintermodule.c (FileHandler): Make arg a tuple; bug found
	by <tnb2d@cs.virginia.edu>.  Call the Python file handler
	function with (file, mask) argument.  Fix a few of my refcnt bugs.
1994-06-27 07:55:12 +00:00
Guido van Rossum c2fb7e65de (Menu.index): return int or None, not string
(Widget.__getitem__): use splitlist, not split
1994-06-27 07:48:37 +00:00
Guido van Rossum 7152740076 lots of new changes committed again... 1994-06-23 12:45:42 +00:00
Guido van Rossum 2f600762d0 new versions derived from new acconfig.h and new configure.in 1994-06-23 12:45:20 +00:00
Guido van Rossum 0039f51e9c changed GETPGRP_HAVE_ARGS into GETPGRP_HAVE_ARG 1994-06-23 12:17:51 +00:00
Guido van Rossum 8b605eb06a documented writelines() 1994-06-23 12:14:07 +00:00
Guido van Rossum a84ec51965 clarify the meaning of address for those methods that or return addresses 1994-06-23 12:13:52 +00:00
Guido van Rossum 560131328c mhlib.py: new interface to MH folders and messages
multifile.py: added readlines() and read() methods
mimetools.py: mimetools.py: added functions to encode/decode standard MIME
	Content-transfer-encoding types (as well as uuencode)
rfc822.py: Accept lines ending in CR LF as well
1994-06-23 12:06:02 +00:00
Guido van Rossum 85d8945590 Two new generally useful modules: types defines names for all built-in types,
StringIO implements pseudo files writing into and reading from strings.
1994-06-23 11:53:27 +00:00
Guido van Rossum adb3105ec4 Companion module for new profile.py 1994-06-23 11:42:52 +00:00
Guido van Rossum bb4ba12242 * Modules/signalmodule.c: added thread compatibility (only main
thread uses signals); much improved efficiency; intrcheck()
doesn't call sigcheck() but only tests and clears the SIGINT
tripped flag.
1994-06-23 11:25:45 +00:00
Guido van Rossum 20882d5067 Split pwd in pwd and grp; added imgformat (by Jack) 1994-06-23 11:15:44 +00:00
Guido van Rossum c9422ebc2b Don't include intrcheck.h 1994-06-23 09:50:58 +00:00
Guido van Rossum 9b68fd961c * Tkinter.py
(Widget): generalized config(); added keys().
	(Canvas): added addtag_xxx and find_xxx functions; generalized
	itemconfig().
1994-06-23 07:40:14 +00:00
Guido van Rossum 08a403821d * Tkinter.py: some tidying up.
(Misc.after): arrange to call deletecommand after it is called.
	(Canvas.itemconfig): generalized to support all forms.
	(Canvas.find): returns a list of integers instead of strings.
	* Tkinter.py (Canvas._create): call _flatten earlier.
1994-06-21 11:44:21 +00:00
Guido van Rossum fea128ecf3 Reformatted using 8-space wide tabs 1994-06-20 13:42:28 +00:00
Guido van Rossum 67ef5f3fb6 * Tkinter.py (Canvas): made create_ methods return the item id;
flatten argument list to _create before passing on to tk.call;
	_do should return a value.
1994-06-20 13:39:14 +00:00
Guido van Rossum 45853db868 Added dictionary mapping names to children, and _name attribute.
Renamed tkerror to _tkerror, default_root to _default_root.
	(_substitute, _subst_prefix): move back into class Misc; added
	widget Event attribute.
	Added functions that return widgets or widget lists:
	winfo_children; focus_get; grab_current.
	(Pack.slaves, Place.slaves): return Widget objects instead of
	pathnames.
	Renamed __del__() to destroy() (because of circular refs, __del__
	won't ever be called).
	Added some names with explicit _set: focus_set, focus_default_set,
	grab_set.
	Added focus_default_none.
	(Misc._getints): use tk.splitlist() instead of tk.split(), return
	None if string empty.
1994-06-20 12:19:19 +00:00
Guido van Rossum e7571856f3 Fix initial fill color of square
.,
1994-06-20 11:36:09 +00:00
Guido van Rossum 1e9e400ba7 Added getdouble, getboolean.
Removed redundant global statements
getboolean returns None if argument is empty
AtInsert() concatenates optional arguments after 'insert'
1994-06-20 09:09:51 +00:00
Guido van Rossum df09691e7c Adapt to new Tkinter.py 1994-06-20 09:08:51 +00:00
Guido van Rossum 8d1e439b89 Moved tk.record() to record whole commands instead of lines 1994-06-20 08:13:02 +00:00
Guido van Rossum 5e8d3724fe Added getvar, getint, lower, tkraise==lift to Misc class 1994-06-20 08:12:01 +00:00
Guido van Rossum 3c1d087b19 Adapted to new Tkinter.py. 1994-06-20 08:11:36 +00:00
Guido van Rossum 1846882254 Initial revision 1994-06-20 07:49:28 +00:00
Guido van Rossum 7ce61c1388 Version 1.9 1994-06-13 15:13:56 +00:00
Guido van Rossum 0038cd9e4d Added convenience functions {complete,reformat}_{filter,string,file}.
Added usage message to test program.
1994-06-07 22:19:41 +00:00
Jack Jansen 26c86abb4b Fixed faulty apply call 1994-06-07 14:44:02 +00:00
Guido van Rossum abe173a225 Replace intrcheck() by sigcheck() in many places.
In Pythonrun, tirn off SIGPIPE and move signal handlers elsewhere.
In ceval.c, also move locals_2_fast/ fast_2_locals to frameobject.c,
replaced local variable trace by f->f_trace, got rid of unused
mergelocals() and unneeded calls to fast_2_locals, return the variable
name on "fast variable not found", AND use "__call__" method if it
exists to call an inmstance.  Whew!
1994-06-03 15:58:29 +00:00
Guido van Rossum 169b61295a Constants from <sys/wait.h> (IRIX 5 version) 1994-06-03 15:39:39 +00:00
Guido van Rossum 6299d1ee03 Speed up checking for signals and define intrcheck differently 1994-05-31 12:51:13 +00:00
Guido van Rossum c50158e70c Added stuff about indentation 1994-05-31 09:18:50 +00:00
Guido van Rossum 36a373407f Document -s option -- suppress printing of top-level expressions 1994-05-30 13:41:15 +00:00
Guido van Rossum 6f5f8ddeaf Fix waiting for children -- save ppid in pidlist as well. 1994-05-30 13:39:05 +00:00
Guido van Rossum 3962fdb25a correct typos in option parsing loop 1994-05-27 14:13:46 +00:00
Guido van Rossum e6b7979d17 Quentin's latest version 1994-05-27 13:33:17 +00:00
Guido van Rossum b25c402eda Initial revision 1994-05-27 13:32:41 +00:00
Guido van Rossum e944da8916 ceval.c: dict of local mapping is now a tuple
compile.c: lists and dictionary in code objects become tuples
import.c: bump MAGIC
thread*.[ch]: added thread_ident() function
version.c: added '++' to version number and bumped date
1994-05-23 12:43:41 +00:00
Guido van Rossum 34162a123a Added some new modules 1994-05-23 12:37:57 +00:00
Guido van Rossum b3107c3bee ACKS: added Rickard Westman
CXOPYRIGHT: removed spaces at end of some lines
1994-05-23 12:33:44 +00:00
Guido van Rossum a9df70e02b Removed some random ^D characters 1994-05-23 12:18:57 +00:00
Guido van Rossum d3b6842d9f added barrier test (by Tim Peters) 1994-05-23 12:17:36 +00:00
Guido van Rossum f3b4903a9f dospath: fix by Amrit (don't normalize glob patterns away)
ftplib: get rid of non-auto port assignment
1994-05-23 12:17:05 +00:00
Guido van Rossum f624666eb3 Generate some files automatically from system files 1994-05-23 12:15:33 +00:00
Guido van Rossum 7f61b3511c README: correct typo (lib.index)
lib.tex: include libfcntl, libposixfile
myformat.sty: add tableii environment
libfcntl.tex, libposixfile.tex: docs contributed by Jaap V
1994-05-19 09:09:50 +00:00
Guido van Rossum c762becaf5 Changes by Jaap -- added 'fileopen' method 1994-05-18 11:08:10 +00:00
Guido van Rossum 78f8dea44a New module by Jaap V 1994-05-18 11:07:44 +00:00
Guido van Rossum a6970580d1 Added optional lock parameter to condition class.
Added mrsw (multiple-reader-single-writer) lock.
1994-05-18 08:14:04 +00:00
Guido van Rossum c95f7248d6 Script to regenerate FCNTL.py, IN.py, SOCKET.py 1994-05-17 09:28:58 +00:00
Guido van Rossum 01f5f62401 Added -i option to ignore general regexps 1994-05-17 09:05:54 +00:00