0
0
mirror of https://github.com/python/cpython.git synced 2024-12-01 11:15:56 +01:00
Commit Graph

1856 Commits

Author SHA1 Message Date
Guido van Rossum
639b8b8d9a Misc changes by Steen 1994-07-06 09:27:00 +00:00
Guido van Rossum
e20864d6c2 * kill.py: Don't use the exec Tcl command. 1994-07-06 09:26:20 +00:00
Guido van Rossum
2dcf529b55 Tue Jul 5 13:22:45 1994 (lumholt@login.dkuug.dk)
* Setup.in: moreButtons Tk extension support (again).

	* mklibapp: $1 is now the path to the Tk extension source
	directory.  The default is /usr/local/src/tcl.

	* kill.py: Don't use the exec Tcl command.

	* Tkinter.py
	(Misc.bind_all): Bug fix; extra graves.
	(Misc.tk_strictMotif): Return the value.
	(mainloop, getint, getdouble, getboolean): New functions.
	(_cnfmerge): Flatten cnfs.

Wed Jun 29 22:01:17 1994  Steen Lumholt  (lumholt@login.dkuug.dk)

	* Tkinter.py:
	(Tk.destroy): master is always None; so don't del.  Found by
	Tommy Burnette, solution from Guido van Rossum.
	(Misc.selection_get): Missing return.  Found by Richard Neitzel.
	(Misc._options, Widget.config, Canvas._create):  If cnf is a tuple
	or list then merge the contents.  Suggested by Matthew Conway.
1994-07-06 09:23:20 +00:00
Guido van Rossum
cd3c0425e1 ... 1994-07-04 22:15:27 +00:00
Guido van Rossum
7c395db298 * Lib/urllib.py: implemented new quoting rules; added splituser,
splitpasswd, splitattr, splitvalue; new ftp syntax (user:passwd,
cwd to each subdir, type={a,i,d})
1994-07-04 22:14:49 +00:00
Guido van Rossum
bd84b04f64 Mon Jul 4 12:42:04 1994 Guido van Rossum (guido@voorn.cwi.nl)
* Tkinter.py (Misc.bind_all): fix typo (name shouldn't be quoted).

Wed Jun 29 10:02:21 1994  Guido van Rossum  (guido@voorn.cwi.nl)

	* Tkinter.py (Misc.selection_get): add 'return'
	(Tk.destroy): self.master is always None
1994-07-04 10:48:25 +00:00
Guido van Rossum
526beed88d New module, formats traceback just like the C code does 1994-07-01 15:36:46 +00:00
Guido van Rossum
32d8ba4b08 * Makefile.in (Makefile): add dependency on config.status
* configure.in: support --with-gcc[=value], --without-gcc
* configure.in, acconfig.h, config.h.in: check for clock_t
1994-07-01 15:28:52 +00:00
Guido van Rossum
6dc31a1740 configure: libtermcap hack; ChangeLog: the usual... 1994-06-29 09:11:20 +00:00
Guido van Rossum
50df381f44 Initial revision 1994-06-28 13:52:31 +00:00
Guido van Rossum
0b0804be77 Lots of new stuff 1994-06-28 13:48:26 +00:00
Guido van Rossum
9beb9327df wait_{variable,window,visibility}
register = _register
1994-06-27 23:15:31 +00:00
Guido van Rossum
c93e13d734 Replace <MacHeaders> by specific required header files 1994-06-27 15:25:12 +00:00
Guido van Rossum
170c2e108f Change include path for unixemu headers; rename access to access_ 1994-06-27 15:24:53 +00:00
Guido van Rossum
f713247ed7 Initial revision 1994-06-27 08:00:16 +00:00
Guido van Rossum
7687522309 * tkintermodule.c (Tkapp_New): Remove #ifdef WITH_APPINIT.
* 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:59:42 +00:00
Guido van Rossum
535cf0cbe2 Redo these changes:
(Menu.index): return int or None, not string
	(Widget.__getitem__): use splitlist, not split
1994-06-27 07:55:59 +00:00
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