Commit Graph

1308 Commits

Author SHA1 Message Date
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 09abc8e7df Ignore ,v files too 1993-06-05 18:03:30 +00:00
Guido van Rossum 061ec39b07 Initial revision 1993-06-05 18:02:52 +00:00
Guido van Rossum e6dc0ca122 Initial revision 1993-06-03 14:39:09 +00:00
Guido van Rossum 17ed1ae163 * toaiff.py: import whatsound instead of sndhdr
* sndhdr.py: renamed to whatsound.py; use new aifc module for AIFF/AIFC
* ftplib.py: added close() (closes without sending QUIT command)
* aifc.py: documented close()
1993-06-01 13:21:04 +00:00
Jack Jansen f3f753132a Changed setpf so it understands old-style packfactors 1993-06-01 12:04:08 +00:00
Guido van Rossum 18c9a4f8ea * socketmodule.c: fix long-standing bug in recvfrom() -- addrlen
wasn't initialized.
1993-05-25 12:16:29 +00:00
Jack Jansen 66338ec1b7 New class syntax 1993-05-25 10:40:23 +00:00
Guido van Rossum eb6b33a837 * classobject.c: in instance_getattr, don't make a method out of a
function found as instance data.
* socketmodule.c: added 'flags' argument sendto/recvfrom, rewrite
  argument parsing in send/recv.
* More changes related to access (terminology change: owner instead of
  class; allow any object as owner; local/global variables are owned
  by their dictionary, only class/instance data is owned by the class;
  "from...import *" now only imports objects with public access; etc.)
1993-05-25 09:38:27 +00:00
Guido van Rossum 23301a9467 * lib1.tex: documented dict.items() and dict.values()
* ref3.tex: documented new __init__ and __del__ special methods of
  class instances.
1993-05-24 14:19:37 +00:00
Guido van Rossum d316607732 * ftplib.py: added abort() command (sends oob data).
* Several modules: change "class C(): ..." to "class C: ...".
* flp.py: support for frozen forms.
* Added string.find() which is like index but returns -1 if not found
1993-05-24 14:16:22 +00:00
Guido van Rossum b3f7258f14 * Lots of small changes related to access.
* Added "access *: ...", made access work for class methods.
* Introduced subclass check: make sure that when calling
  ClassName.methodname(instance, ...), the instance is an instance of
  ClassName or of a subclass thereof (this might break some old code!)
1993-05-21 19:56:10 +00:00
Guido van Rossum 81daa32c15 Access checks now work, at least for instance data (not for methods
yet).  The class is now passed to eval_code and stored in the current
frame.  It is also stored in instance method objects.  An "unbound"
instance method is now returned when a function is retrieved through
"classname.funcname", which when called passes the class to eval_code.
1993-05-20 14:24:46 +00:00
Guido van Rossum 25831652fd Several changes in one:
(1) dictionaries/mappings now have attributes values() and items() as
well as keys(); at the C level, use the new function mappinggetnext()
to iterate over a dictionary.

(2) "class C(): ..." is now illegal; you must write "class C: ...".

(3) Class objects now know their own name (finally!); and minor
improvements to the way how classes, functions and methods are
represented as strings.

(4) Added an "access" statement and semantics.  (This is still
experimental -- as long as you don't use the keyword 'access' nothing
should be changed.)
1993-05-19 14:50:45 +00:00
Guido van Rossum 687dd13bfe New posix functions open, close, dup, dup2, lseek, read, write, fstat, pipe.
Improved some comments and defaults in the Makefile.
1993-05-17 08:34:16 +00:00
Guido van Rossum 02cf582e73 Added cwd() 1993-05-17 08:00:02 +00:00
Guido van Rossum 605b127ff3 Jack's VCR control module 1993-05-12 12:35:44 +00:00
Guido van Rossum a849b834f1 * selectmodule.c: fix (another!) two memory leaks -- this time in list2set
* tokenizer.[ch]: allow continuation without \ inside () [] {}.
1993-05-12 11:35:44 +00:00
Guido van Rossum b2c6556fb0 Lots of small changes collected over months... 1993-05-12 08:53:36 +00:00
Guido van Rossum 6ac258d381 * pythonrun.c: Print exception type+arg *after* stack trace instead of
before it.
* ceval.c, object.c: moved testbool() to object.c (now extern visible)
* stringobject.c: fix bugs in and rationalize string resize in formatstring()
* tokenizer.[ch]: fix non-working code for lines longer than BUFSIZ
1993-05-12 08:24:20 +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 acbe8da4f8 (I suggest a recompile after getting this, the ceval.c bugfix may be crucial!)
* Makefile: removed superfluous AR=ar, fixed misleading comment.
* ceval.c: fixed debugging code; save/restore errors in locals_2_fast.
* intrcheck.c: for SunOS etc., turn off syscall resumption.
* regexpr.h: bump number of registers to 100.
1993-04-15 15:33:52 +00:00
Guido van Rossum 8a0c3456c2 Fix bug in class instance hash (forgot to clear error condition). 1993-04-08 12:56:19 +00:00
Guido van Rossum 9575a44575 * Microscopic corrections to make things compile on the Cray APP.
* Removed one use of $> in Makefile and warned about others.
  Added configurable lines in Makefile to change CC and AR.
1993-04-07 14:06:14 +00:00
Guido van Rossum f56e3db1dd Support for frozen scripts; added -i option. 1993-04-01 20:59:32 +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 8379ed5f02 Updated because of new opcodes introduced for "fast" local variables. 1993-03-30 19:13:03 +00:00
Guido van Rossum 5b7221849e * Fixed some subtleties with fastlocals. You can no longer access
f_fastlocals in a traceback object (this is a core dump hazard
  if there are <nil> entries), but instead eval_code() merges the fast
  locals back into the locals dictionary if it looks like the local
  variables will be retained.  Also, the merge routines save
  exceptions since this is sometimes needed (alas!).

* Added id() to bltinmodule.c, which returns an object's address
  (identity).  Useful to walk arbitrary data structures containing
  cycles.

* Added compile() to bltinmodule.c and compile_string() to
  pythonrun.[ch]: support to exec/eval arbitrary code objects.  The
  code that defaults globals and locals is moved from run_node in
  pythonrun.c (which is now identical to eval_node) to eval_code in
  ceval.c.  [XXX For elegance a clean-up session is necessary.]
1993-03-30 17:46:03 +00:00
Guido van Rossum 8b17d6bd89 Changes to speed up local variables enormously, by avoiding dictionary
lookup (opcode.h, ceval.[ch], compile.c, frameobject.[ch],
pythonrun.c, import.c).  The .pyc MAGIC number is changed again.
Added get_menu_text to flmodule.
1993-03-30 13:18:41 +00:00
Guido van Rossum 0023078a0b Added whatis command (third try -- filesystem was full, rcs lock failed) 1993-03-29 11:39:45 +00:00
Guido van Rossum e7113b6b3d * Fix bug in tzparse.py for DST timezone
* Added whatis command to pdb.py
* new module GET.py (GL definitions from <gl/get.h>)
* rect.py: is_empty takes a rect as argument, not two points.
* Added tests for builtin round() [XXX not yet complete!]
1993-03-29 11:30:50 +00:00
Sjoerd Mullender 04321d1e47 Use type(xxx) in stead of except TypeError. 1993-03-29 10:50:29 +00:00
Sjoerd Mullender 8562c4cee6 Added some error checking. 1993-03-29 10:49:59 +00:00