Commit Graph

378 Commits

Author SHA1 Message Date
Guido van Rossum 5505d56f08 Fixed 'propagate' method 1994-12-30 17:16:35 +00:00
Sjoerd Mullender 4359860517 Let extensions start at the last period after the last slash in the
name.
1994-12-14 15:29:17 +00:00
Guido van Rossum a558e37eb4 improved prompt format 1994-11-10 22:27:35 +00:00
Guido van Rossum e23b62f288 more complete tests of built-in functions 1994-11-10 22:25:26 +00:00
Guido van Rossum 780044f27a added option interface 1994-10-20 22:02:27 +00:00
Guido van Rossum 971dc53f0e fix bug in poly.minus 1994-10-20 22:02:03 +00:00
Guido van Rossum e5e73b96e1 initial commit 1994-10-09 23:03:12 +00:00
Guido van Rossum 74233b34e1 fix buffer size 1994-10-09 22:34:40 +00:00
Guido van Rossum ca9321e6d0 Import posixpath for freeze script 1994-10-05 15:17:55 +00:00
Sjoerd Mullender ebea896e20 Ignore empty markers. 1994-10-03 10:21:06 +00:00
Guido van Rossum adc940eabf Cosmetic changes 1994-09-29 10:04:43 +00:00
Guido van Rossum fa59e83813 Fix bug if tmpcache is None 1994-09-21 11:36:19 +00:00
Guido van Rossum e174c1500f audiodev.py: Mac port.
Audio_mac.py: Mac specific class for audiodev.py.
aifc.py: open files for reading/writing in binary mode ('rb', 'wb').
1994-09-16 10:55:53 +00:00
Guido van Rossum 14a6e3d5e8 * Lib/whrandom.py: if seed is (0,0,0), initialize from current
time; default seed's arguments to (0,0,0)
1994-09-14 13:33:57 +00:00
Guido van Rossum 73b20df99e Added TERMIOS module 1994-09-12 10:39:08 +00:00
Guido van Rossum 23cb2a83a5 New tty/pty modules by Steen; new urlparser. 1994-09-12 10:36:35 +00:00
Guido van Rossum 853474194f mhlib.py: delay opening of sequences file so we don't overwrite it when
putsequences is called with a bad argument
rfc822.py: better handling of dates with no or bad timezones
uu.py: contributed by Lance -- uu{en,de}code
1994-09-09 11:10:15 +00:00
Sjoerd Mullender e202c38d76 Can now also give a hashed ID to Cddb. 1994-09-06 16:19:03 +00:00
Sjoerd Mullender 1f05754640 Added support for ADPCM compression. 1994-09-06 16:17:51 +00:00
Guido van Rossum f023ab0471 Dialog.py: d.num should be numeric, not string
Tkinter.py: on destroy(), remove self from master's dict of children
1994-08-30 12:13:44 +00:00
Guido van Rossum 3bb5448767 New way of generating .pyc files, thanks to Sjoerd.
urllib.py: '+' is not always safe (even though the RFC says so :-( )
whrandom.py: throw away top bits of time to avoid overflow on Mac
(where times can be negative)
1994-08-29 10:52:58 +00:00
Guido van Rossum 7aeb4b9ce8 * Lib/linecache.py: don't crash on empty filename
* Lib/macpath.py: don't return trailing colon for dirname()
	(XXX won't do for volume names -- but otherwise glob(':*:*.py')
	loops forever)
	* Lib/traceback.py: print SyntaxError correctly
	* Lib/stat.py: moved to posixstat.py; added macstat.py which has
	the constants for the Mac; and created new stat.py which includes
	the right one
	* Lib/urllib.py: fix caching bug (by disabling the cache)
1994-08-23 13:32:20 +00:00
Guido van Rossum 9e1e149a5f * Lib/sgi/flp.py: fix caching bug (always write the whole file to
the cache!)
1994-08-23 13:29:21 +00:00
Guido van Rossum 710c352d05 * Lib/string.py: find/rfind is now the main implementation and
index/rindex is a wrapper that raises index_error (which is now
	always ValueError)
1994-08-17 13:16:11 +00:00
Guido van Rossum a28f2dc321 do fake "import posix" for freeze.py script 1994-08-17 12:33:28 +00:00
Guido van Rossum 3f9a6ec9e6 * Lib/rfc822.py: fix two bugs: error in readheaders interpreting
regex.match() result, and wrong logic in getfirstmatchingheader()
	when the same header occurs twice consecutively
1994-08-12 13:16:50 +00:00
Guido van Rossum dc1cdca10b Test set for new pow() function 1994-08-12 13:14:22 +00:00
Guido van Rossum ef8f88101a Add Widget.unbind and {Canvas,Text}.tag_unbind.
In Widget.__init__, call config only if cnf not empty.
1994-08-08 12:47:33 +00:00
Guido van Rossum d7b19488d7 Use new packing and 'name' in cnf dict 1994-08-03 08:08:26 +00:00
Guido van Rossum b6775db241 Merge alpha100 branch back to main trunk 1994-08-01 11:34:53 +00:00
Guido van Rossum 2979b01ff8 Merge changes 1994-08-01 11:18:30 +00:00
Guido van Rossum 5f47e5752a * Lib/mhlib.py (removefromallsequences): call putsequences with
proper argument

	* Lib/{bdb,cmd,pdb}.py: Mods by Rickard Westman: No longer barfs
	on lambda:s (outputs "<lambda>" as the function name); "a(rgs)" in
	pdb now works; help messages added to pdb (lifted from pdb.doc).
	Also, "h pdb" calls pdb.help().  cmd.do_help() displays topics on
	a nicer way (I think).  Also, topics for which there is a help_
	method, but no do_method (like "pdb" above) are displayed in a
	special way.  My own mod: fix break on function to also support
	methods.
1994-07-14 14:01:00 +00:00
Guido van Rossum 27b77a4367 read various startup files in Tcl and Python based upon className and
baseName.
1994-07-12 15:52:32 +00:00
Guido van Rossum 5e0c25bbf1 Fix bug in At() (Steen) 1994-07-12 09:04:41 +00:00
Guido van Rossum 69170c5d79 Make Pack.newinfo() return a dict 1994-07-11 15:21:31 +00:00
Guido van Rossum 97aeca1527 Added _exit and register as Tcl command exit. Micro lay-out fix. 1994-07-07 13:12:12 +00:00
Guido van Rossum 460b6bb192 Totally changed, now it is actually derived from Text
(This breaks something in MimeViewer.py, don't know what yet)
1994-07-06 21:54:39 +00:00
Guido van Rossum 5113569151 tag_remove: add tagName to tk call 1994-07-06 21:16:58 +00:00
Guido van Rossum 5179236a41 Added bind and tag_config methods; minor lay-out change 1994-07-06 21:15:27 +00:00
Guido van Rossum 2a39031006 Remove garbage '+ ' and reformat tag_delete function budy 1994-07-06 10:20:11 +00:00
Guido van Rossum a3cd357771 * ScrolledText.py: added some more methods of Text (This should
really be done differently, e.g. by deriving from the Text class.)
1994-07-06 09:28:21 +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 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 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 f713247ed7 Initial revision 1994-06-27 08:00:16 +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