Commit Graph

904 Commits

Author SHA1 Message Date
Guido van Rossum 5fae9e8b86 nannified 1998-09-14 17:51:14 +00:00
Guido van Rossum 4117e5428b nannified 1998-09-14 16:44:15 +00:00
Guido van Rossum dcd038ff84 nannified. 1998-09-14 15:34:45 +00:00
Guido van Rossum 7ca9a1a466 Fix a bug where comparison of a rational with a float failed because
the difference got converted to float.
Put brackets around the string representation of (non-integer)
rationals.
(Sjoerd Mullender.)
1998-09-09 14:07:06 +00:00
Guido van Rossum 482e82a0f6 Corrected some spelling and one technical error. 1998-08-10 13:18:11 +00:00
Guido van Rossum a9ca42daf0 Vladimir Marangozov's explanatory message. 1998-08-10 01:56:14 +00:00
Guido van Rossum d895749b61 New warnings to the uninitiated reader. 1998-08-10 01:54:40 +00:00
Guido van Rossum 98c92c83a5 Show how to do switchable panels. 1998-07-15 14:58:05 +00:00
Guido van Rossum 7e0e9555b7 Get rid of the lock; it's no longer needed. 1998-06-30 17:01:06 +00:00
Guido van Rossum 5542449875 Remove the doc string -- it doesn't tell the truth. 1998-05-29 20:08:35 +00:00
Guido van Rossum 0da45c4089 New demo -- Perl style regular expression matching.
Slightly more featureful than regexdemo.py.
1998-05-29 19:57:47 +00:00
Guido van Rossum 7e7912f2ca Protect all uses of the random generator with a lock.
Particles break out of their loop when the main loop exits.
1998-05-28 23:02:33 +00:00
Guido van Rossum 3d3a52aa3a An example of a multi-threaded Tkinter program. 1998-05-28 22:52:01 +00:00
Guido van Rossum f638d1c9dd Fix some comments; move 'import random' to top. 1998-05-26 21:43:44 +00:00
Guido van Rossum 6c3a2cbc52 whrandom -> random 1998-05-20 17:13:01 +00:00
Guido van Rossum 29892d848c Use whrandom instead of rand.
Run 500 steps instead of forever.
1998-05-19 21:16:10 +00:00
Guido van Rossum 8c8e814992 Add link to Anthony Baxter's enhanced version. 1998-04-27 14:14:41 +00:00
Guido van Rossum bd8341eeeb Catch exceptions in final self.destroy() call. 1998-04-10 19:17:41 +00:00
Guido van Rossum 5d97ebf2ac Got rid of redundant copy of telnetlib.py 1998-04-06 14:35:27 +00:00
Guido van Rossum 07af9a7ddd Add a sleep(0.00001) call to make sure all threads run. 1998-03-26 20:09:16 +00:00
Guido van Rossum 2e6938f167 Fix bug in islocked() -- it would always return 0. 1998-03-17 21:28:21 +00:00
Guido van Rossum 36123aae0b Removed condition.py -- it was just sync.py without
the mrsw lock and without 'condition' allocating a lock by default
1998-02-14 03:11:38 +00:00
Guido van Rossum 44f5c75f43 Add Piet van Oostrum's name to the comments. 1998-01-29 04:04:04 +00:00
Guido van Rossum dd918a990a Add simple Unix socket example by Piet van Oostrum. 1998-01-28 16:54:00 +00:00
Fred Drake 5b8b8cd6c0 Fixed typo reported by Grzegorz Makarewicz <mak@mikroplan.com.pl>. 1998-01-28 14:59:48 +00:00
Guido van Rossum 25f1722dd7 Paint demo by Dave Mitchell. There's clearly a demand for such a
demo, so here it is.
1998-01-26 16:47:30 +00:00
Guido van Rossum 48b805c07c SO_REUSEPORT should be SO_REUSEADDR.
I found this in a mail of two and a half years ago from Yusuf Goolamabbas.
1998-01-15 22:36:13 +00:00
Guido van Rossum 81e84c95c5 Just for fun, add a static module, "xyzzy" -- show that calling its
initxyzzy() works.
1997-12-25 04:51:41 +00:00
Guido van Rossum 643f8f62b4 Add setsockopt...SO_REUSEADDR to avoid stupid waiting when killing and
restarting the server.
1997-12-25 04:48:51 +00:00
Guido van Rossum ba179051aa Fix the way the version number is gotten out of the RCS revision. 1997-12-09 19:39:12 +00:00
Guido van Rossum 1a24bb53d5 Fix the test for pow() -- no more TypeErrors are raised! 1997-12-09 19:38:39 +00:00
Guido van Rossum c37eb56f96 Forgot to use &lt;/&gt; for some example output. 1997-12-05 16:18:45 +00:00
Guido van Rossum 682fbe55e5 Remove hyperlink to time-sensitive Python release info. 1997-11-25 15:33:44 +00:00
Guido van Rossum 37885c27c0 Trivial change in prompt label suggested by Case Roole. 1997-11-24 17:49:13 +00:00
Guido van Rossum 46a0bb4c3c Typo discovered by Case Roole. 1997-10-07 14:37:58 +00:00
Guido van Rossum d6449a2b11 Be more careful with closing fd's 0,1,2. 1997-10-07 14:37:31 +00:00
Guido van Rossum ef31b240ea Add note about condition.py. 1997-10-07 14:37:00 +00:00
Guido van Rossum 5edcf34fac Change bind() to tag_bind() so it works again. 1997-09-24 13:39:51 +00:00
Guido van Rossum a2f626ff58 Patch by Case Roole <cjr@bound.xs4all.nl> to fail with a more
explanatory message when the manual directories aren't found.
(I have to say I'm surprised that it actually still works!)
1997-09-15 15:39:11 +00:00
Guido van Rossum 626a8d034c Added hint to skip the heavy stuff on first reading. 1997-09-11 23:01:04 +00:00
Guido van Rossum 7ade6da866 As Paul Prescod pointed out, metaprogramming is really something
different (programs that write programs).  We are dealing with
metaclasses here.  So change the words slightly.
1997-09-11 22:54:49 +00:00
Guido van Rossum 7b877a9278 Some nits, added a whole section on what you could do with
metaclasses, and acks.
1997-09-08 02:20:57 +00:00
Guido van Rossum 0cdb887676 Completed first draft. 1997-08-26 00:08:51 +00:00
Guido van Rossum 1fb071cc64 Checkpoint. 1997-08-25 21:36:44 +00:00
Guido van Rossum 27e4aa3168 Arbitrary point checkpoint commit. Take no notice. 1997-08-25 15:37:59 +00:00
Guido van Rossum bff110f3f1 Examples of metaprogramming in pure Python. 1997-08-23 21:14:37 +00:00
Guido van Rossum 21c5c8fa5b Correct off-by-two-pixels error. 1997-08-22 20:56:07 +00:00
Guido van Rossum aa61505fd2 Use a counter instead of a Boolean to check for initialized; n calls
to Py_Initialize will be undone by n calls to Py_Uninitialize.
1997-08-20 22:40:18 +00:00
Guido van Rossum dac444703d Add try-finally around main loop. 1997-08-14 19:49:27 +00:00
Guido van Rossum 20abb4e6b4 Added (commented-out) defs for use with the build tree instead of the
installed version.
1997-08-14 19:48:42 +00:00
Guido van Rossum c46d22e52e Print ps (process status) for us when starting a new thread.
Even less shuffling of stdout (only at start of new interpreter).

Interact properly with new interpreter initialization conventions
(must use Py_Initialize/Py_Finalize *and*
Py_NewInterpreter/Py_EndInterpreter).

Probably more minor changes.
1997-08-02 02:02:22 +00:00
Guido van Rossum 630924f190 Use Py_NewInterpreter() and friends. Remove saving/restoring of std files. 1997-07-25 20:59:55 +00:00
Guido van Rossum 661aebcbde New test for generic Makefile.pre.in 1997-07-19 23:14:13 +00:00
Guido van Rossum a955967a5b Added description of the extend subdirectory. 1997-07-19 23:13:10 +00:00
Guido van Rossum a88446aa4a Some improvements, e.g. -L/depot/... is not needed. 1997-07-19 21:34:11 +00:00
Guido van Rossum e0c6901369 Added leading comment and security check. 1997-07-19 21:33:10 +00:00
Guido van Rossum 42ded89c08 Reformulate security check using getsockname(). 1997-07-19 21:29:28 +00:00
Guido van Rossum eca991df27 Change security policy -- only accept requests from current host. 1997-07-19 21:13:53 +00:00
Guido van Rossum d1bef00f66 Removed old signature. 1997-07-19 21:02:32 +00:00
Guido van Rossum 14b0e700a0 Updated description for embed; added pysvr. 1997-07-19 21:02:08 +00:00
Guido van Rossum 5c8b991175 New example of threaded embedding 1997-07-19 21:00:47 +00:00
Guido van Rossum 6e614e3d2a Updated the Makefile to work with the new build strategy. 1997-07-19 20:58:50 +00:00
Guido van Rossum fe97656631 Hide .fdc files here. 1997-05-28 16:14:48 +00:00
Guido van Rossum 5416a0d97c Checking in zlib demo. 1997-05-28 16:13:21 +00:00
Guido van Rossum 0609f191bc A completely new Rat.py by Sjoerd. 1997-05-13 19:25:57 +00:00
Fred Drake b2c02de9cb Removed pprint.py.
Removed pprint.py from the README; it's now in the standard lib.
1997-04-16 04:47:57 +00:00
Fred Drake b5d20393b1 Always use spaces for indentation.
Added pformat() function:  formats object to a string representation with
	no trailing newline; returns the string.
1997-04-15 14:15:23 +00:00
Guido van Rossum 9a8cb84072 Checked in some new Tk demos that I wrote a while ago. 1997-04-03 00:04:51 +00:00
Guido van Rossum b5846d7600 A different winning animation. 1996-12-30 16:45:14 +00:00
Guido van Rossum a0dc1c4a61 Actually, *this* fixes the last bug. 1996-12-30 02:37:07 +00:00
Guido van Rossum 1b2b53a25d Considerably restructured. This fixes the one remaining bug. 1996-12-30 02:20:29 +00:00
Guido van Rossum 8de9f894e1 Solitaire game, like the one that comes with Windows. 1996-12-29 20:15:32 +00:00
Guido van Rossum f06ee5fa07 /usr/local/bin/python -> /usr/bin/env python 1996-11-27 19:52:01 +00:00
Guido van Rossum 58a7856961 Pass self as master to Entry() widget constructor. 1996-11-27 19:47:42 +00:00
Guido van Rossum c153d12738 Got rid of almost totally obsolete Demo/www subdir. 1996-10-11 14:49:19 +00:00
Fred Drake 3f3691e12f (Demo/parser/FILES, Demo/parser/Makefile, Demo/parser/parser.tex,
Demo/parser/texipre.dat):
	Clean up support files for stand-alone documentation formatting,
	make sure copyright statement is consistent with the copyright.
1996-09-12 12:59:25 +00:00
Guido van Rossum 8206fb9c4c Final set of changes by Fred before 1.4beta3 1996-08-26 00:33:29 +00:00
Guido van Rossum a4ddb238bc update -- Undo is now entry 1 1996-08-21 20:13:08 +00:00
Guido van Rossum 4ec060ad28 unicast pendant for broadcast.py 1996-08-21 20:11:55 +00:00
Guido van Rossum 16d27e3b14 Demos for Fred's parser module 1996-08-21 16:28:53 +00:00
Guido van Rossum bf66c64ffb Added note about standard library module xdrlib.py 1996-08-19 22:24:21 +00:00
Guido van Rossum 2108a50465 Remove comment "SGI only" 1996-07-30 19:07:18 +00:00
Guido van Rossum 3df1d1b89f Simplified and rationalized. 1996-07-30 19:06:36 +00:00
Guido van Rossum c163ae5237 mac utility 1996-07-30 19:05:56 +00:00
Guido van Rossum db9c054f60 turn a pile of RCS files into a ChangeLog file 1996-07-30 19:05:41 +00:00
Guido van Rossum ef253701a6 print MX record 1996-07-30 19:04:18 +00:00
Guido van Rossum 29b1606951 Adapted to CNRI 1996-07-30 19:02:52 +00:00
Guido van Rossum 72ba616066 Added note about Python's support of complex numbers.
Added exp(z).
1996-07-30 19:02:01 +00:00
Guido van Rossum 89cb67bb64 Updated for Python 1.4 1996-07-30 18:57:18 +00:00
Fred Drake 4dd0bf92e6 (rmt.py): Updated to "modern" python coding conventions, somewhat. Keyword
arguments and explicit calls to .pack() are used; no more dictionaries
	are being passed to Tkinter constructors.  Otherwise, the example is
	unchanged.  (The app isn't implemented as a Python object.)
1996-07-23 17:47:21 +00:00
Guido van Rossum 7a1c7918e0 add mac compatibility 1996-07-21 02:09:54 +00:00
Guido van Rossum faefe4cb60 Fix typos (need to use tag_bind, not bind). 1996-05-24 18:40:46 +00:00
Guido van Rossum e71c5a7585 Removed broken tst.py 1996-04-26 20:53:30 +00:00
Jack Jansen 10d0f8fc40 Renamed module tkinter to _tkinter 1995-10-23 14:36:05 +00:00
Guido van Rossum 5e6a3564b0 undo opaque=fopaque changes; make test script more flexible 1995-10-11 18:54:15 +00:00
Guido van Rossum 81a07ceddc idraw on top of an image 1995-10-11 18:27:23 +00:00
Guido van Rossum 447ae53eab fix for 4.0 1995-10-08 00:41:25 +00:00
Guido van Rossum c0c01f79c6 more elegant way to treat exit status 1995-10-07 20:48:17 +00:00
Guido van Rossum a176f585c4 add "-r revisions" flag to log flags 1995-10-07 20:47:35 +00:00
Guido van Rossum 7bde92b65c added log option; cleanup afterwards 1995-10-07 19:47:26 +00:00
Guido van Rossum bffda89914 change log() to return the string instead of printing it 1995-10-07 19:46:08 +00:00
Guido van Rossum 83d6bbf597 search for keyfile in sys.path as last resort; reword exception 1995-10-07 19:35:07 +00:00
Guido van Rossum 5a6ad8fb71 flush before reading response from socket 1995-10-07 19:27:20 +00:00
Guido van Rossum 11bb1743b6 mac robustness: use os.path.join 1995-10-07 19:26:06 +00:00
Guido van Rossum f6d69289a3 mac robustness: default timezone, unlink target before rename 1995-10-07 19:25:25 +00:00
Guido van Rossum ee3de2a8b5 small fixes 1995-10-04 18:39:03 +00:00
Guido van Rossum 502d96021b incompletely converted to Tk 4.0 1995-09-07 19:59:22 +00:00
Guido van Rossum c27e04228c adapted to Tk 4.0 and CNRI man page locations 1995-09-07 19:47:46 +00:00
Guido van Rossum 69428f1fb3 improve fonts; Tk 4.0 aware 1995-09-07 19:46:43 +00:00
Guido van Rossum bbf817557f simplified no Tk() sets _default_root 1995-09-07 19:45:52 +00:00
Guido van Rossum 55618efad9 use $DISPLAY 1995-09-07 19:44:48 +00:00
Guido van Rossum c66394d049 Initial revision 1995-09-07 19:42:57 +00:00
Guido van Rossum ff99a72f53 change obsolete isfile to isvalid; add lock and unlock commands 1995-07-18 18:40:41 +00:00
Guido van Rossum ec9ea611d2 remove comment about obsolete variable 1995-07-18 18:35:17 +00:00
Guido van Rossum a79f5a3256 implemented 'add' command and commit for added files 1995-07-18 18:34:34 +00:00
Sjoerd Mullender 9f02331d80 Ignore a few more names when comparing directories. 1995-07-10 11:58:31 +00:00
Guido van Rossum 464f62b6c0 added support for -L flag (local operation) 1995-06-23 22:41:34 +00:00
Guido van Rossum 2ba1b4c5f2 add -L option 1995-06-23 22:40:59 +00:00
Guido van Rossum bab4725401 delete file after checkin 1995-06-23 22:37:53 +00:00
Guido van Rossum 903afd0441 add bug comment 1995-06-23 22:33:57 +00:00
Guido van Rossum c503c97f1a restructured index somewhat 1995-06-23 22:11:18 +00:00
Guido van Rossum ab75eb244e rewritten using rcslib.py 1995-06-23 22:07:17 +00:00
Guido van Rossum 40de53c3bd use the new rcslib 1995-06-23 22:05:39 +00:00
Guido van Rossum 8608ab65e3 initial checkin 1995-06-23 22:03:28 +00:00
Guido van Rossum 72974f35fb define RCSProxyClient here instead of in RCSProxy.py 1995-06-23 21:59:12 +00:00
Guido van Rossum 802c437a95 rewritten and documented 1995-06-23 21:58:18 +00:00
Guido van Rossum 79ed32d553 barry's contributions 1995-06-23 14:40:06 +00:00
Guido van Rossum 6ea3f92109 added notes about security 1995-06-21 02:19:55 +00:00
Guido van Rossum 54175f7cbe import string; add 129.6.64 to security 1995-06-21 02:10:32 +00:00
Guido van Rossum f3d39abb25 add security 1995-06-21 02:09:20 +00:00
Guido van Rossum 541df3e99e bugfixes 1995-06-21 02:08:55 +00:00
Guido van Rossum d1972af22a update -R; diff -r<rev>; send mail on commit 1995-06-21 01:02:06 +00:00
Guido van Rossum 29cd62b343 add doc for extra field 1995-06-21 01:00:46 +00:00
Guido van Rossum 45babef8c2 security stuff added 1995-06-21 01:00:17 +00:00
Guido van Rossum 37a291180c placeholder for security measures 1995-06-21 00:55:59 +00:00
Guido van Rossum 2f7ef91a5e eremoved should be edeleted, tests for lseen/rseen should be lsum/rsum 1995-05-01 20:22:01 +00:00
Guido van Rossum ec8cfd4089 largely rewritten FileClass and RCVS 1995-05-01 20:06:44 +00:00
Guido van Rossum 1c653bd6be moved proxy; added __cmp__(); made proxy optional for getremote() 1995-05-01 20:06:06 +00:00
Guido van Rossum 6c1504629f extensive description of what's here 1995-04-28 22:28:39 +00:00
Guido van Rossum 8b5e0fa862 added setentry() and use it in commit so CVS/Entries gets updated 1995-04-28 21:48:16 +00:00
Guido van Rossum eea4d9e85d moved package to standard place 1995-04-28 21:21:21 +00:00
Guido van Rossum 3d761b5548 addpack 1995-04-28 20:40:47 +00:00
Guido van Rossum 2d2a60e29b only diff differing files
add PostUsageMessage
1995-04-28 19:24:50 +00:00
Guido van Rossum 177df7d7c9 get default directory from CVS/Repository 1995-04-28 19:23:13 +00:00
Guido van Rossum 330e884082 add diff command; add remove() function 1995-04-28 17:56:32 +00:00
Guido van Rossum bafc14da68 implemented commit 1995-04-28 15:41:51 +00:00
Guido van Rossum d22f59fd5d missed setting eseen and extra when restoring an entry 1995-04-28 15:37:22 +00:00
Guido van Rossum ba244688c6 Handled new and delete properly 1995-04-28 15:33:03 +00:00
Guido van Rossum 6bb4a51daa implemented action() now, plus some bug fixes 1995-04-28 15:26:37 +00:00
Guido van Rossum b07d729c2d correct call to unparse, should be putentry now 1995-04-28 15:25:44 +00:00
Guido van Rossum 81be17bdae report() needs to report enew and edeleted 1995-04-28 14:33:08 +00:00
Guido van Rossum ae21ced5da Added some more machinery -- still not finished 1995-04-28 14:32:26 +00:00
Guido van Rossum 8bcd301cc6 Initial revision 1995-04-28 14:31:36 +00:00
Guido van Rossum e1220ff0b8 testing 1995-04-28 13:12:35 +00:00
Guido van Rossum c218a7e7ea rewritten out of frustration (not yet finished) 1995-04-27 23:33:43 +00:00
Guido van Rossum 78016d8630 renamed to CommandFrameWork
added ready() message
added PostUsageMessage
1995-04-27 23:32:47 +00:00
Guido van Rossum 318b80d097 Initial revision 1995-04-27 23:00:17 +00:00
Guido van Rossum 729529b1e5 Initial revision 1995-04-27 21:29:02 +00:00
Guido van Rossum deb627c06e test -> main 1995-04-27 21:28:53 +00:00
Guido van Rossum 547e8d8c0f if __name__ etc
print filename when asking log message
1995-04-27 21:28:20 +00:00
Guido van Rossum 00bbf09e1a largely rewritten, out of frustration 1995-04-27 21:24:16 +00:00
Guido van Rossum 68abf54d71 got rid of debug prints 1995-04-27 19:02:18 +00:00
Guido van Rossum 9aeee75c59 added Entry.dump() method 1995-04-27 19:01:37 +00:00
Guido van Rossum 4d4ee8bdb0 major update 1995-04-27 18:07:20 +00:00
Guido van Rossum 097c55ad75 accept more invalid dates
when reading sums file, ignore files not in entries
1995-04-27 18:07:07 +00:00
Guido van Rossum c51237cd70 dunno 1995-04-27 18:05:36 +00:00
Guido van Rossum bec818a14f first remote commit test!!! 1995-04-26 22:57:12 +00:00
Guido van Rossum 5f07b84796 Initial revision 1995-04-26 22:57:11 +00:00
Guido van Rossum 5dd52d37eb commit -- why not 1995-04-10 11:47:11 +00:00
Guido van Rossum 5b98ac5b14 added hello world 1995-04-10 11:46:37 +00:00
Guido van Rossum 4e620374b8 added rpython 1995-04-10 11:46:03 +00:00
Guido van Rossum 3beff4164b add pointer to ../ibrowse 1995-04-10 11:44:16 +00:00
Guido van Rossum 9e712fdd17 remove ref to howard subdirectory 1995-04-10 11:41:30 +00:00
Guido van Rossum 07a272d9de commit -- why not 1995-04-10 11:40:52 +00:00
Guido van Rossum 21bc15b73d commit -- why not... 1995-04-10 11:40:26 +00:00
Sjoerd Mullender f1bb334950 Use variables from module cd instead of CD. 1995-04-06 14:46:31 +00:00
Guido van Rossum a075feba1e changed treatment of local time 1995-04-04 15:25:32 +00:00
Guido van Rossum 3caad8c291 adapted to new naming; clarify comments somewhat 1995-03-28 09:22:53 +00:00
Guido van Rossum 795a48cd4e cope with class exceptions 1995-03-22 12:17:10 +00:00
Guido van Rossum ee6310a4de moved some stuff to Tools; added some descriptions 1995-03-22 12:16:35 +00:00
Guido van Rossum 50d5e8a23a no longer need to include IN.py or SOCKET.py 1995-03-04 22:57:56 +00:00
Guido van Rossum 09b39fad8c moved lots of stuff to Tools/scripts 1995-03-02 16:00:55 +00:00
Guido van Rossum 38862dfe22 new example that Matt posted to comp.lang.python 1995-02-13 14:23:38 +00:00
Guido van Rossum 4f9181ee0b improve treatment of multi-line replies, ignore empty lines 1995-01-12 12:42:09 +00:00
Guido van Rossum 1134991fb1 typo 1995-01-12 12:41:20 +00:00
Guido van Rossum ee24811042 Invent Message-ID header if none is present 1995-01-12 12:40:48 +00:00
Guido van Rossum 630112ed04 demonstrate shell in a Tk window 1995-01-10 17:08:10 +00:00
Guido van Rossum b8fe9b3fc8 menu-simple.py: fixed lay-out
bind-with-multiple-calls-per-event-type.py: new, or forgot to add earlier
1995-01-10 17:07:40 +00:00
Guido van Rossum d0c063361f Improved explanation of what's here 1995-01-10 17:06:50 +00:00
Guido van Rossum dfa70a9fbc initial checkin of www Tk examples 1995-01-10 17:05:37 +00:00
Guido van Rossum 06ed202ef4 sys.stderr(...) should be sys.stderr.write(), of course 1995-01-04 19:18:59 +00:00
Sjoerd Mullender 31b7727bad Ported the editor to X. The GL version won't work.
This version needs Jack's img module and Sjoerd's new and improved (?)
X extensions for Python.

The last GL version is still available using the CVS tag "gl-editor".
1994-12-21 15:46:26 +00:00
Guido van Rossum 4450bab750 update pathnames 1994-10-11 14:57:03 +00:00
Guido van Rossum 2e61103c0b adapted to new overloading scheme 1994-10-09 22:36:28 +00:00
Guido van Rossum 705d517e3f initial checkin 1994-10-08 19:30:50 +00:00
Guido van Rossum 3dc44aba71 add debug, use waitpid 1994-10-08 19:24:02 +00:00
Guido van Rossum 82268e078d initial checkin 1994-10-08 19:17:34 +00:00
Guido van Rossum 00d59746f6 fix bind arg 1994-10-08 19:13:48 +00:00
Guido van Rossum 37f142d1d1 add setdefscrollbars call 1994-10-08 19:09:41 +00:00
Guido van Rossum 6910f42d23 new version by Tim 1994-10-08 19:07:57 +00:00
Guido van Rossum 81a12bceb6 totally redone for new overloading scheme 1994-10-08 18:56:41 +00:00
Guido van Rossum 33325f439d Vgeneric -- used in frozen version 1994-10-07 11:05:50 +00:00
Guido van Rossum 05fc9cea5d print gl variables 1994-10-07 10:33:04 +00:00
Guido van Rossum fa78560d6e test cache 1994-10-07 10:28:40 +00:00
Guido van Rossum fc146cb9e0 init -> __init__ 1994-10-07 10:25:49 +00:00
Guido van Rossum 50519c6190 micro changes 1994-10-07 10:23:49 +00:00
Guido van Rossum 46e4b07a81 moved my examples to subdir guido 1994-10-07 09:57:59 +00:00
Guido van Rossum 35820f77e4 Matt's examples 1994-10-07 09:55:26 +00:00
Guido van Rossum 884657af49 Added Matt's examples 1994-10-07 09:50:55 +00:00
Guido van Rossum ac97fd7fc8 Micro portability changes 1994-10-06 15:50:49 +00:00
Guido van Rossum 07c9645413 Get rid of freeze (now its own directory).
Added some new demos.  Fixed a few others.
1994-10-03 16:45:35 +00:00
Guido van Rossum 524f146c01 Added mboxconvert.py 1994-09-05 11:51:33 +00:00
Guido van Rossum 275b0a44d5 Description of what's here 1994-08-30 12:07:58 +00:00
Guido van Rossum 5622ef3cbb Moved mpzpi.py to scripts subdirectory 1994-08-19 15:09:21 +00:00
Guido van Rossum 4040ed018e Add test for mpz module 1994-08-19 15:09:02 +00:00
Guido van Rossum 386a554fad Added pathfix 1994-08-19 15:03:41 +00:00
Guido van Rossum 9af22a037f newslist.py: Added search for .newslistrc.py;
pindent.py: use /usr/local/bin/python;
pathfix.py: new script to fix #! lines in a group of scripts.
1994-08-19 15:02:57 +00:00
Guido van Rossum fba65fe134 Tree displaying class 1994-08-08 12:48:36 +00:00
Guido van Rossum 3d0df46fff AttrDialog.py: some structural changes
listtree.py: "Print" -> "List" in description
1994-08-03 08:10:35 +00:00
Guido van Rossum 78b0c82535 Made refile work -- basically set exportselection to 0 for list of
folders, then fix minor bugs and remove debug print statement.  Also
needs a fix to mhlib.py
1994-07-13 16:53:32 +00:00
Guido van Rossum 74f2565e7c Added comment about need of OO style 1994-07-13 13:08:01 +00:00
Guido van Rossum e7e8d1e15c Change remote operation -- display the widget tree in a listbox and
open relevant dialogs on double click
1994-07-13 12:56:10 +00:00
Guido van Rossum 3284abe754 Initial revision 1994-07-13 12:54:42 +00:00
Guido van Rossum 50f437c968 Added names to demo widgets; added RemoteWidgetDialog. 1994-07-12 16:37:21 +00:00
Guido van Rossum 3e4f182f4c Added names to all widgets 1994-07-12 16:35:35 +00:00
Guido van Rossum 28bb652887 correct typo 1994-07-12 15:55:43 +00:00
Guido van Rossum b78e03c23d Complete redesign for more code sharing.
Added readonly options, used for .class field.
1994-07-12 15:53:26 +00:00
Guido van Rossum c618ed9868 Use disabled state to enforce read-only state (bit painful since it means
switching states each time we insert some text but has to be done this way
since else class bindings might allow editing...)
1994-07-12 09:00:42 +00:00
Guido van Rossum 3e395be1ee Initial revision 1994-07-12 08:58:25 +00:00
Guido van Rossum 36ea0e760e Add menu to change directories -- also generalize acceptable names from *.n
into *.[ln123456789]
1994-07-11 13:15:05 +00:00
Guido van Rossum 0f650f4107 Use guido's Python 1994-07-08 15:11:08 +00:00
Guido van Rossum 18886ab24f Initial revision 1994-07-08 15:08:55 +00:00
Guido van Rossum 119749b7d7 Adapted to new async ManPage interface (kill, busy);
Added case sensitive searching;
Added explicit buttons for man page display and search (in addition to
<Return> and double clicking in the listbox)
1994-07-08 14:28:38 +00:00
Guido van Rossum 7d5e4217ef Rewritten somewhat again, distinguished between internal and external
methods (internal ones start with '_'), asynchronous transfers are now
killed synchronously (i.e. after t.kill(), t.busy() is false immediately).
1994-07-08 14:15:05 +00:00
Guido van Rossum 9755b26fa9 Always insert at 'end' 1994-07-08 09:17:26 +00:00
Guido van Rossum fdfa2b5136 parsefile() now calls self.update() while filling the buffer,
so you can read the top of the man page while the rest is being parsed
1994-07-08 09:14:54 +00:00
Guido van Rossum 72cb020b19 Don't use self.text -- it's self now! 1994-07-06 21:53:18 +00:00
Guido van Rossum f09b770f68 Initial revision 1994-07-06 21:17:21 +00:00
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 50df381f44 Initial revision 1994-06-28 13:52:31 +00:00
Guido van Rossum f713247ed7 Initial revision 1994-06-27 08:00:16 +00:00
Guido van Rossum e7571856f3 Fix initial fill color of square
.,
1994-06-20 11:36:09 +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 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
Jack Jansen 26c86abb4b Fixed faulty apply call 1994-06-07 14:44:02 +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 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 846c3224a8 Added semaphores; fix event.wait(). 1994-05-17 08:34:33 +00:00
Guido van Rossum 48a69b70b2 Initial revision 1994-05-16 09:35:22 +00:00
Guido van Rossum 9f2a5b0f66 Added bug.py and condition.py 1994-05-16 09:35:01 +00:00
Guido van Rossum 655f600b58 Don't use thread.exit_prog(); set a global variable to stop other
thread
1994-05-16 09:34:05 +00:00
Guido van Rossum dc3c53cf8d Don't use thread.exit_prog; let child die if EOF read 1994-05-16 09:30:26 +00:00
Guido van Rossum 3ac5b00d40 Fixed for stricter argument matching rules 1994-05-16 09:26:24 +00:00
Guido van Rossum bc9231a3f6 Added pindent.py 1994-05-15 18:14:24 +00:00
Guido van Rossum 1ced40f380 Added ifdef.py 1994-05-09 14:52:33 +00:00
Guido van Rossum 70dc86f52a Initial revision 1994-05-03 14:15:01 +00:00
Guido van Rossum d15a155681 added Generator.py 1994-05-03 14:14:49 +00:00
Guido van Rossum a873fcecdf Jaap V's changes plus a few of my own -- now it seems to work. 1994-04-14 19:35:47 +00:00
Guido van Rossum b5f2714e94 listen(0) -> listen(1) for Solaris 2 1994-02-28 09:31:19 +00:00
Guido van Rossum 749908b9b6 listen(0) -> listen(1) 1994-02-28 09:25:38 +00:00
Guido van Rossum ea6f6ed80c Change listen(0) to listen(1) for Solaris 2 sockets 1994-02-28 09:25:06 +00:00
Guido van Rossum 9f14863053 Added descriptions of lutz, mpzpi.py and stoffel 1994-02-22 12:48:21 +00:00
Guido van Rossum e69d3fec87 Use time.time() instead of time.millitimer() 1994-02-17 12:36:58 +00:00
Guido van Rossum 44fa566927 correct spelling error 1994-02-07 13:46:11 +00:00
Guido van Rossum f8ae54d10c Initial revision 1994-02-07 13:45:27 +00:00
Guido van Rossum 46f1ca8fe5 added unbirthday.py 1994-02-07 13:44:59 +00:00
Guido van Rossum 62326f2108 builtin -> __builtin__ 1994-01-26 16:04:38 +00:00
Guido van Rossum 6dfccb34c2 Remove unused import of builtin 1994-01-26 16:03:50 +00:00
Guido van Rossum 381f65c057 Removed www (now in Demo2), added embed (formerly one level higher up) 1994-01-18 13:35:31 +00:00
Guido van Rossum 4600566285 os.exec -> os.execv 1994-01-12 14:05:27 +00:00
Guido van Rossum a635b9a6ff remove references to /ufs/guido/bin/sgi/python 1994-01-07 11:43:11 +00:00
Guido van Rossum 8425b79c54 Add fixheader.py 1994-01-07 11:38:28 +00:00
Guido van Rossum e024873397 Added ftpstats.py 1994-01-07 10:56:05 +00:00
Guido van Rossum 032d39461b Minor output format change 1994-01-07 10:55:55 +00:00
Guido van Rossum 4e8aef842c Initial revision 1994-01-07 10:53:41 +00:00
Guido van Rossum afee3eb347 Initial revision 1994-01-04 23:24:38 +00:00
Guido van Rossum 424e4da9f3 Rot out all uses of time.milli*(). 1993-12-28 21:36:50 +00:00
Guido van Rossum 0efafb39da Rot out all uses of time.milli*().
Slightly improve debug output.
1993-12-28 21:36:18 +00:00
Guido van Rossum 605909dc9d Rot out all uses of time.milli*().
Also change command line options to use seconds for all times.
1993-12-28 21:28:31 +00:00
Guido van Rossum ca1c876d43 Use freeze_form instead of freeze_object 1993-12-28 21:27:23 +00:00
Sjoerd Mullender c6d846a5d5 And another init incompatibility bites the dust. 1993-12-22 12:40:20 +00:00
Sjoerd Mullender d6b9ce961e Fixed use of aifc module. 1993-12-22 11:44:49 +00:00
Guido van Rossum 21a3ff9d5d Uniformly replaced init() functions by __init__() constructors.
A few simple things seem to work, I haven't tested it thouroughly
though...
1993-12-17 15:11:41 +00:00
Guido van Rossum 96b608cf6d *** empty log message *** 1993-12-17 14:57:24 +00:00
Guido van Rossum 1b789f9fe0 Initial revision 1993-12-17 14:45:06 +00:00
Guido van Rossum f82fef0f59 *** empty log message *** 1993-12-17 14:45:06 +00:00
Guido van Rossum d55f4d1a76 *** empty log message *** 1993-12-17 14:39:12 +00:00
Guido van Rossum 9e80d6f125 *** empty log message *** 1993-12-17 14:32:26 +00:00
Guido van Rossum 7565b93414 *** empty log message *** 1993-12-17 14:23:52 +00:00
Guido van Rossum 6930b3d18d Initial revision 1993-12-14 10:08:02 +00:00
Guido van Rossum 74901d589d Restructured main loop. Etc. 1993-11-01 14:50:59 +00:00
Guido van Rossum e36f735616 Major rewrite with new read_* interfaces 1993-11-01 14:49:37 +00:00
Guido van Rossum 0b26a19a4f Fix bug in backup inside esc sequence. 1993-11-01 14:49:04 +00:00
Guido van Rossum b71f879baf Changed redraw policy. 1993-11-01 14:48:37 +00:00
Guido van Rossum 0a2fa75a9c Added Dates.py and Rev.py 1993-10-30 12:39:49 +00:00
Guido van Rossum 102ababef9 Initial revision 1993-10-30 12:38:16 +00:00
Guido van Rossum becec31f17 Fix bug and use __init__ 1993-10-30 12:38:16 +00:00
Guido van Rossum 74b3f8a9e3 Initial revision 1993-10-28 09:53:13 +00:00
Guido van Rossum ed49c5e3f8 *** empty log message *** 1993-10-27 09:29:01 +00:00
Guido van Rossum f1bbf9c308 Add coercions 1993-10-27 09:28:23 +00:00
Guido van Rossum b6957e434f Initial revision 1993-10-27 09:27:13 +00:00
Guido van Rossum 546185075c Fix reference to undefined 'memsize' in calcnframes(). 1993-10-26 10:23:14 +00:00
Sjoerd Mullender f9b7201bb8 * Added support for X window interface.
* Moviechannel now uses colormap mode on 8-bit XS Indigo's instead of
  converting the image to RGB32.
* Compression Library support is dependent on USE_CL compile-time flag.
1993-10-12 12:55:27 +00:00
Jack Jansen 72d73649ff - VFile: moved decompression code to VideoParams (so it is also
useable via VinFile).
- Vcopy: now allows decompression of 'compress' movies.
1993-09-28 16:46:15 +00:00
Jack Jansen dbf71b7b4b Added ability to edit compressed movies. 1993-09-28 15:29:18 +00:00
Jack Jansen 264117295e Sanity check for compress files. 1993-09-28 15:28:44 +00:00
Jack Jansen bab2ca3eb1 Added autoedit and cancel commands, removed debug output 1993-09-28 15:28:10 +00:00
Sjoerd Mullender f993d28794 Don't import gl if not needed.
Fixed a typo.
1993-09-27 12:50:06 +00:00
Jack Jansen 78991fd042 VFile - Added support for creating compression lib movies
Vb, VbForm - Compression lib movie support
	     Save settings in ~/.Vb_init
1993-07-23 11:59:25 +00:00
Jack Jansen f1cda9100d This module can now be used asynchronously. Also, some commands
have been added.
1993-07-19 16:13:33 +00:00
Jack Jansen 827cc19be1 Interface to vcr index files (as created by vcrindex program) 1993-07-19 16:13:04 +00:00
Guido van Rossum 697e7abbc8 Use module aifc instead of module aiff. 1993-07-10 12:11:56 +00:00
Guido van Rossum 6a0e2282c3 Added fixps, fixcid. 1993-06-14 08:47:54 +00:00
Guido van Rossum 43df862c7f Mostly cosmetics, e.g. change window titles so icon titles are better,
size window back to last size when going from 24bits to 8bits mode, etc.
1993-06-11 15:48:39 +00:00
Guido van Rossum 2055ee8480 Keep top left corner of window where it was when resizing.
Keep aspect and max size of window at all times.
Remove (now unnecessary) sleep(0.1) in vcr capture code.
Add messages when initializing VCR.
Remove old comments.
1993-06-11 14:13:13 +00:00
Guido van Rossum 2939a4cf1a Fixed another place where set_rgbmode() should be called.
Separated out colormap installation (for override by Glx widget).
1993-06-10 14:42:03 +00:00
Guido van Rossum f6d8032697 Impor VCR at the top. Change the way audio is recorded subtly. 1993-06-10 13:40:51 +00:00
Guido van Rossum fa04170682 VCR.py: Use unix files instead of stdio files for tty communication,
because of buffering.  Also added several new commands (Jack).
VFile.py: Made setting of RGB or colormap mode separate methods,
	so they can be overridden (e.g. when using the Glx.draw widget
	the way to change the mode is totally different).
1993-06-10 13:32:32 +00:00
Jack Jansen 672754a488 Added 24 bit RGB capture
Added JPEG capture
Added multiple-speed VCR sync and single-step VCR sync
VCR sync recorded movies get correct timestamps
Added (still non-functional) 24-bit picture scaling
1993-06-08 12:52:41 +00:00
Jack Jansen 34d12de03d Grab a 24-bit image off the StarterVideo 1993-06-08 12:48:44 +00:00
Jack Jansen 35173716e5 Added jpeg grabber 1993-06-08 12:47:20 +00:00
Jack Jansen a1e1f73e2f Newss class style 1993-06-08 12:47:06 +00:00
Guido van Rossum db392b9b29 Small imporvements, added mpz and md5 to list of modules,
changed library list somewhat.  CLOSE FILE "tmpconfig.c" AFTER WRITING!
1993-06-05 18:03:53 +00:00
Guido van Rossum 061ec39b07 Initial revision 1993-06-05 18:02:52 +00:00
Jack Jansen f3f753132a Changed setpf so it understands old-style packfactors 1993-06-01 12:04:08 +00:00
Jack Jansen 66338ec1b7 New class syntax 1993-05-25 10:40:23 +00:00
Guido van Rossum 605b127ff3 Jack's VCR control module 1993-05-12 12:35:44 +00:00
Guido van Rossum ad4fcd49fc Implemented VCR capture using forward slow instead of stepping.
Also added a 'rate' field to specify the capture rate in this case.
1993-05-11 18:36:54 +00:00
Guido van Rossum c17c84fbe3 Disconnect from VCR when switching modes.
Wait for VCR ready and set VCR mode to DNR when initializing VCR.
Fix type error in getfloat().
1993-05-10 15:45:49 +00:00
Guido van Rossum 9f42f4fe43 Added single frame capturing.
Added VCR synchronized capturing.
Added audio capturing (for continuous mode only).
Lots of internal and external improvements.
1993-05-10 15:07:20 +00:00
Guido van Rossum 71ba5d96f9 Revived the old aplay tool which can play synchronous audio and video... 1993-05-10 14:56:32 +00:00
Guido van Rossum c5a14331a0 Moved stop button again; default form position next to video window. 1993-05-07 11:20:07 +00:00
Guido van Rossum bc6d3c37d1 All combinations of video format and capture mode (cont/burst) now
work.  Reorganized a lot of the code, still not satisfied...
1993-05-07 09:37:42 +00:00
Guido van Rossum e17c6c355a Use groups to show/hide "Stop capture" button.
Made mono capture work.
Don't support rgb24 capture (the code for this doesn't exist in Vrec either!).
1993-05-06 16:27:25 +00:00
Guido van Rossum b7e3cc12e1 New program: Video Bag Of Tricks. Will eventually replace Vrec and
Vrecb.  Has a user interface dialog to set options etc.
1993-05-06 16:06:44 +00:00
Guido van Rossum 41ffccbba7 *** empty log message *** 1993-04-01 20:50:35 +00:00
Guido van Rossum 9db0c1f7c7 Added freeze.py, methfix.py 1993-04-01 20:50:12 +00:00
Guido van Rossum 0d5eb7e409 bin/python 1993-04-01 20:47:28 +00:00
Guido van Rossum d5c57e1624 Microfixes 1993-04-01 20:46:40 +00:00
Guido van Rossum 5146ea3a0a Initial revision 1993-04-01 20:45:45 +00:00
Guido van Rossum aff9470d23 Fixed watch cursor origin 1993-03-17 12:11:47 +00:00
Sjoerd Mullender 7bbceea6a9 Added support for "compress" type video files. This uses the
Compression Library to decompress the images.
1993-03-17 12:09:29 +00:00
Guido van Rossum f48b419a07 Fix syntax error (sorry!) 1993-03-02 12:16:56 +00:00
Guido van Rossum 2d413788ca Remove debug print statement 1993-03-02 12:09:18 +00:00
Guido van Rossum 0caf46b6cc VFile: fix c0bits etc. after setformat; Vrec.py: use setformat; rm Makefile. 1993-03-02 12:07:34 +00:00
Guido van Rossum 85f7bd5251 Vrec.py, Vrecb.py:
- call v.SetParam() after v.BindGLWindow()
	 - turn of dithering in mono/grey mode
	 - use prefposition to place the top left corner at (150, 150)
	   (so that the video remains visible during recording)
	 - default width is 256
Vcopy.py: correct typos; more verbose output.
OldVcopy.py: new name for Jack's old grabbing Vcopy.py.
Vstat.py: print values of all video parameters.
1993-02-25 16:10:16 +00:00