summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * Lots of small changes related to access.Guido van Rossum1993-05-217-48/+111
| | | | | | | * 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!)
* Access checks now work, at least for instance data (not for methodsGuido van Rossum1993-05-2014-150/+655
| | | | | | | 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.
* Several changes in one:Guido van Rossum1993-05-1921-800/+1200
| | | | | | | | | | | | | | | | (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.)
* New posix functions open, close, dup, dup2, lseek, read, write, fstat, pipe.Guido van Rossum1993-05-171-27/+233
| | | | Improved some comments and defaults in the Makefile.
* Added cwd()Guido van Rossum1993-05-171-0/+4
|
* Jack's VCR control moduleGuido van Rossum1993-05-121-0/+297
|
* * selectmodule.c: fix (another!) two memory leaks -- this time in list2setGuido van Rossum1993-05-123-2/+21
| | | | * tokenizer.[ch]: allow continuation without \ inside () [] {}.
* Lots of small changes collected over months...Guido van Rossum1993-05-127-163/+157
|
* * pythonrun.c: Print exception type+arg *after* stack trace instead ofGuido van Rossum1993-05-127-81/+95
| | | | | | | 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
* Implemented VCR capture using forward slow instead of stepping.Guido van Rossum1993-05-112-26/+83
| | | | Also added a 'rate' field to specify the capture rate in this case.
* Disconnect from VCR when switching modes.Guido van Rossum1993-05-102-6/+52
| | | | | Wait for VCR ready and set VCR mode to DNR when initializing VCR. Fix type error in getfloat().
* Added single frame capturing.Guido van Rossum1993-05-102-270/+653
| | | | | | Added VCR synchronized capturing. Added audio capturing (for continuous mode only). Lots of internal and external improvements.
* Revived the old aplay tool which can play synchronous audio and video...Guido van Rossum1993-05-101-0/+167
|
* Moved stop button again; default form position next to video window.Guido van Rossum1993-05-072-111/+172
|
* All combinations of video format and capture mode (cont/burst) nowGuido van Rossum1993-05-071-85/+201
| | | | work. Reorganized a lot of the code, still not satisfied...
* Use groups to show/hide "Stop capture" button.Guido van Rossum1993-05-062-13/+85
| | | | | Made mono capture work. Don't support rgb24 capture (the code for this doesn't exist in Vrec either!).
* New program: Video Bag Of Tricks. Will eventually replace Vrec andGuido van Rossum1993-05-062-0/+570
| | | | Vrecb. Has a user interface dialog to set options etc.
* (I suggest a recompile after getting this, the ceval.c bugfix may be crucial!)Guido van Rossum1993-04-153-6/+24
| | | | | | | * 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.
* Fix bug in class instance hash (forgot to clear error condition).Guido van Rossum1993-04-081-3/+8
|
* * Microscopic corrections to make things compile on the Cray APP.Guido van Rossum1993-04-076-4/+31
| | | | | * Removed one use of $> in Makefile and warned about others. Added configurable lines in Makefile to change CC and AR.
* Support for frozen scripts; added -i option.Guido van Rossum1993-04-016-5/+150
|
* *** empty log message ***Guido van Rossum1993-04-0116-16/+16
|
* Added freeze.py, methfix.pyGuido van Rossum1993-04-011-0/+2
|
* bin/pythonGuido van Rossum1993-04-014-4/+4
|
* MicrofixesGuido van Rossum1993-04-013-4/+5
|
* Initial revisionGuido van Rossum1993-04-011-0/+447
|
* Updated because of new opcodes introduced for "fast" local variables.Guido van Rossum1993-03-301-2/+9
|
* * Fixed some subtleties with fastlocals. You can no longer accessGuido van Rossum1993-03-305-36/+117
| | | | | | | | | | | | | | | | | | 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.]
* Changes to speed up local variables enormously, by avoiding dictionaryGuido van Rossum1993-03-309-71/+245
| | | | | | 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.
* Added whatis command (third try -- filesystem was full, rcs lock failed)Guido van Rossum1993-03-291-0/+24
|
* * Fix bug in tzparse.py for DST timezoneGuido van Rossum1993-03-297-9/+51
| | | | | | | * 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!]
* Use type(xxx) in stead of except TypeError.Sjoerd Mullender1993-03-292-108/+104
|
* Added some error checking.Sjoerd Mullender1993-03-292-2/+20
|
* * Changed all copyright messages to include 1993.Guido van Rossum1993-03-2997-246/+559
| | | | | | | | | | | | | | | | | * Stubs for faster implementation of local variables (not yet finished) * Added function name to code object. Print it for code and function objects. THIS MAKES THE .PYC FILE FORMAT INCOMPATIBLE (the version number has changed accordingly) * Print address of self for built-in methods * New internal functions getattro and setattro (getattr/setattr with string object arg) * Replaced "dictobject" with more powerful "mappingobject" * New per-type functio tp_hash to implement arbitrary object hashing, and hashobject() to interface to it * Added built-in functions hash(v) and hasattr(v, 'name') * classobject: made some functions static that accidentally weren't; added __hash__ special instance method to implement hash() * Added proper comparison for built-in methods and functions
* Generalized version of dictionaries, with compatibility hacks.Guido van Rossum1993-03-273-0/+1453
|
* Fixed watch cursor originGuido van Rossum1993-03-171-0/+1
|
* Added support for "compress" type video files. This uses theSjoerd Mullender1993-03-171-3/+26
| | | | Compression Library to decompress the images.
* Added conversion routines to sv module.Sjoerd Mullender1993-03-163-10/+259
|
* * Changed many files to use mkvalue() instead of newtupleobject().Guido van Rossum1993-03-1621-273/+503
| | | | | | | | | | * Fixcprt.py: added [-y file] option, do only files younger than file. * modsupport.[ch]: added vmkvalue(). * intobject.c: use mkvalue(). * stringobject.c: added "formatstring"; renamed string* to string_*; ceval.c: call formatstring for string % value. * longobject.c: close memory leak in divmod. * parsetok.c: set result node to NULL when returning an error.
* Fix syntax error (sorry!)Guido van Rossum1993-03-021-1/+1
|
* Remove debug print statementGuido van Rossum1993-03-021-1/+0
|
* VFile: fix c0bits etc. after setformat; Vrec.py: use setformat; rm Makefile.Guido van Rossum1993-03-022-10/+27
|
* Definitions from <gl/get.h>Guido van Rossum1993-03-012-0/+118
|
* Vrec.py, Vrecb.py:Guido van Rossum1993-02-256-12/+201
| | | | | | | | | | | - 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.
* Change Vinfo and Vaddcache to usr /ufs/guido/bin/sgi/python.Guido van Rossum1993-02-254-19/+14
| | | | | Don't force packfactor to 1 in header when writing rgb data. Small bugfixes in Vcopy.
* - Separated grabbing (which isn't used much!) from VFile.Guido van Rossum1993-02-255-306/+478
| | | | | | | | | | | | | - Renamed old Vcopy.py to OldVcopy.py, some cosmetic changes to it (is it still needed?) - Added new Vcopy.py which does everything that Vtime.py does but also format conversions, image scaling, and packfactors. - VFile: make packfactor always a tuple; introduce set and get methods for pf, format, and calculate some derived values. - Added new module GET.py to std library, use it instead of defining DM* in VFile. - Get rid of C programs (new Python programs can do all that they do and they probably don't understand the current file format anyway).
* Rewrite applypackfactor() using imageop: faster and more general;Guido van Rossum1993-02-251-27/+14
| | | | get rid of testpackfactor(): not longer necessary
* Fix typos in jpeg codeGuido van Rossum1993-02-251-4/+4
|
* Fix terse mode for printing tuple packfactor and to avoid zero divisionGuido van Rossum1993-02-251-6/+13
|
* Added audio recording to VrecbJack Jansen1993-02-241-6/+76
|