Guido van Rossum
9e3f335bea
VFile: added new formats 'jpeg' and 'jpeggrey'. Decompression is done
...
using module 'jpeg' by the Displayer class. (Unfortunately it's too
slow for real time.) Print file size in printinfo() method.
Vinfo: added -t option (terse -- one line per file) and usage message.
Vtime: use BasicV{in,out}File classes -- the minimum needed.
Vmkjpeg, Vunjpeg: new utilities for jpeg (de)compression.
1992-09-29 13:40:47 +00:00
Guido van Rossum
3165fe6a56
Modified most (but not yet all) I/O to always go through sys.stdout or
...
sys.stderr or sys.stdin, and to work with any object as long as it has
a write() (respectively readline()) methods. Some functions that took
a FILE* argument now take an object* argument.
1992-09-25 21:59:05 +00:00
Guido van Rossum
3a40ae4ef3
New shell script Addmodule.sh makes it easier to add a new optional
...
module by editing Makefile and config.c in all the right places.
Used it to add most modules currently known. Added markers to help
the script to Makefile and config.c.
1992-09-25 21:54:05 +00:00
Sjoerd Mullender
7c4eb40a1a
Changed an ifdef from IRIX_405 to CDsetcallback.
1992-09-25 11:15:58 +00:00
Sjoerd Mullender
37f17b726c
Fixed the last known bugs.
1992-09-25 10:28:20 +00:00
Guido van Rossum
f8848acca3
Added resizevideo() interface to LiveVideoIn and rationalized size
...
adjustments (somewhat). Adapted Vsend to use it.
1992-09-24 16:55:31 +00:00
Guido van Rossum
d65f45da26
Added resizevideo() interface to LiveVideoIn and rationalized size
...
adjustments (somewhat). Adapted Vsend to use it.
1992-09-24 16:53:51 +00:00
Guido van Rossum
cfb6bb2a30
Changed the init() interface of LiveVideoOut to read out the window
...
size automatically -- the video is always centered. Added
resizevideo() and reshapewindow() interfaces. Documented all methods.
Changed Vsend/Vreceive to use the new interface. Allow window
resizing by the user in Vreceive.
1992-09-24 16:03:56 +00:00
Guido van Rossum
691e59bcb7
Python equivalent of <netinet/in.h> (SGI specific, hence not in python/lib).
1992-09-24 15:02:46 +00:00
Guido van Rossum
7b47c79a4c
Added options to Vsend and Vreceive; moved common defaults to senddefs.
...
Optimized LiveVideoIn quite a bit; removed print stmt from LiveVideoOut.
1992-09-24 15:01:37 +00:00
Guido van Rossum
67b4895291
Added multicast to Vsend and Vreceive. Updated README. Rediced queue
...
size to 1 in LiveVideoIn.
1992-09-24 12:54:35 +00:00
Sjoerd Mullender
46927bac96
Defined exception cd.error which is used for errors other than
...
TypeError, MemoryError and such.
1992-09-24 10:48:40 +00:00
Sjoerd Mullender
e7daaa3a01
New module "CL" (Compression Library) for Irix 4.0.5 and higher.
1992-09-24 10:40:03 +00:00
Sjoerd Mullender
d53a4f3d14
New built-in module "cl" (Compression Library). Only for Irix 4.0.5
...
and higher. Made a few improvements to previous version.
1992-09-24 10:37:39 +00:00
Guido van Rossum
2b65c03603
*** empty log message ***
1992-09-24 10:34:25 +00:00
Guido van Rossum
7814c10233
Better way of deducing mcast group bytes.
1992-09-24 10:33:40 +00:00
Guido van Rossum
c8833d4ad3
Add -b option and sleep shorter.
1992-09-24 10:33:16 +00:00
Guido van Rossum
590177bc88
open() now raises IOError, not RuntimeError!
1992-09-24 09:14:44 +00:00
Sjoerd Mullender
c431549e21
New built-in module cl, the Compression Library.
1992-09-23 14:53:00 +00:00
Guido van Rossum
ba06615c9f
New modules LiveVideo{In,Out} (interfaces will change!).
...
New programs V{send,receive} to send/receive video over UDP.
Comment typo changed in Vaddcache.
1992-09-22 17:23:17 +00:00
Guido van Rossum
42e07afe3d
Vrec.py: sv now raises sv.error instead of RuntimeError.
...
VFile.py: support for showing partial frames.
1992-09-22 15:01:43 +00:00
Guido van Rossum
66122d2dae
__oct__ and __hex__
1992-09-20 21:43:47 +00:00
Guido van Rossum
7a461e5aaf
New module regsub contains sub(), gsub() and split() as in nawk.
...
string.splitfields(s, '') now returns [s] as split() in nawk.
Added _exit to exported functions of os.
1992-09-20 21:41:09 +00:00
Guido van Rossum
7066dd75c5
* Makefile: added IMGFILE; moved some stuff around.
...
* 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.
1992-09-17 17:54:56 +00:00
Guido van Rossum
c2670a000b
posix: added setpgrp() and, if sgi, setsid() and setpgid(pid, pgid)
1992-09-13 20:07:29 +00:00
Guido van Rossum
1899c2e055
Made builtins int(), long(), float(), oct() and hex() more generic.
1992-09-12 11:09:23 +00:00
Guido van Rossum
5c85062e1c
Makefile uses $> more often; cgen supports filename argument; added
...
lower, upper and swapcase to strop; cosmetics.
1992-09-11 23:55:51 +00:00
Sjoerd Mullender
d10d8291f1
Added C++ support in thread.h; don't use signals if not strictly
...
necessary, and when they are, use SIGKILL; when compiled with -DDEBUG,
only print debug messages when "THREADDEBUG" is set in the environment.
1992-09-11 15:19:27 +00:00
Guido van Rossum
0aead9f1ba
Allow broadcast using setsockopt()
1992-09-08 21:20:12 +00:00
Guido van Rossum
4fab6a5b0b
Initial revision
1992-09-08 21:19:55 +00:00
Guido van Rossum
00c5ad6eeb
Added mcast demo
...
.,
1992-09-08 21:19:46 +00:00
Guido van Rossum
5c1797ac23
Utility to add a cached index to an existing movie file.
1992-09-08 15:17:02 +00:00
Guido van Rossum
269b2a2eb7
VFile: The Entry-Indigo trick doesn't work on 4.0.1 hosts.
...
VFile: RandomVinFile can now write the cache to the file.
Vinfo: use the cached index if present and print a message whether it's there.
1992-09-08 15:04:01 +00:00
Guido van Rossum
3577113d83
Added post_mortem() and pm() interfaces to pdb and wdb.
...
Added colorsys.py (color system conversions).
SV.py: new version for new svideo.h (Sjoerd).
DEVICE.py: added VIDEO event type.
1992-09-08 11:59:04 +00:00
Guido van Rossum
7b3c8a1422
Added hint about changing the prompt in $PYTHONSTARTUP
1992-09-08 09:20:13 +00:00
Guido van Rossum
aee087946d
Made struct a standard built-in module; added string args to {set,get}sockopt;
...
added gl.gversion().
1992-09-08 09:05:33 +00:00
Guido van Rossum
4526f379bc
Fixed "clear()" and added "clearto(r, g, b)".
...
Added class RandomVinFile which supports random access and warming the cache.
Added eofseen and errorseen methods to BasicVinFile.
Use RGB mode for rgb8 data on entry level Indigo.
Minor cosmetic changes.
1992-09-07 15:28:57 +00:00
Guido van Rossum
2de9b68fea
Clear the window when receiving a REDRAW event and not playing
1992-09-07 15:11:30 +00:00
Guido van Rossum
00ffea3615
Use vin/vout.clear() instead of gl.clear()
1992-09-07 15:09:31 +00:00
Guido van Rossum
87b74730c3
New module 'colorsys' implements conversions between different color systems.
1992-09-07 09:41:48 +00:00
Guido van Rossum
e1783324ab
Adapted the world to the new VFile.py. Fixed bugs in Vplay.py:
...
missing -n in help(), bogus frame skipping; and added patch for
weird time jumps. Removed colorsys.py (now in std library).
Fixed "sys.write" error in vcopy.py. Restructured README.
1992-09-07 09:35:23 +00:00
Guido van Rossum
4045c2fa5b
Almost completely rewritten for cleaner code.
1992-09-07 09:24:17 +00:00
Guido van Rossum
32517f9427
Remove PAL dependencies; add -w option (initial window width);
...
add stepunit(8, 6) call.
1992-09-04 13:26:59 +00:00
Guido van Rossum
94472a0374
classobject.c moduleobject.c stdwinmodule.c xxobject.c:
...
raise AttributeError, not KeyError, when attribute deletion fails.
sunaudiodevmodule.c: check for deletion before calling setmember.
1992-09-04 09:45:18 +00:00
Guido van Rossum
9a4e3fc56a
Changed references to /usr/local into /usr/local/bin.
...
Documented $PYTHONSTARTUP
1992-09-03 21:27:55 +00:00
Guido van Rossum
2dff991f6b
Give code objects a more useful representation.
1992-09-03 20:50:59 +00:00
Guido van Rossum
97f0277208
Restructured (yet again) to treat all modules more alike.
1992-09-03 20:49:55 +00:00
Guido van Rossum
cf7448bfa0
Correct debug printing code
1992-09-03 20:46:37 +00:00
Guido van Rossum
3702284d2a
Correct spelling in function name
1992-09-03 20:46:06 +00:00
Guido van Rossum
888d205fff
Print warnings to stderr and correct spelling
1992-09-03 20:45:24 +00:00