]> granicus.if.org Git - python/log
python
28 years agoToss Q 3.10 on posix.listdir on NeXT. Add revived vpApp.
Guido van Rossum [Tue, 8 Oct 1996 17:18:30 +0000 (17:18 +0000)]
Toss Q 3.10 on posix.listdir on NeXT.  Add revived vpApp.

28 years agoToss the outdated QuickRef.
Guido van Rossum [Tue, 8 Oct 1996 17:16:02 +0000 (17:16 +0000)]
Toss the outdated QuickRef.

28 years agoAdd waitflag to down_sema().
Guido van Rossum [Tue, 8 Oct 1996 14:21:49 +0000 (14:21 +0000)]
Add waitflag to down_sema().

28 years agoCheck for NULL pointer returned from localtime()/gmtime().
Guido van Rossum [Tue, 8 Oct 1996 14:19:52 +0000 (14:19 +0000)]
Check for NULL pointer returned from localtime()/gmtime().

28 years agoSpeedup of makeresult() by keeping a filler of (-1, -1) around.
Guido van Rossum [Tue, 8 Oct 1996 14:18:42 +0000 (14:18 +0000)]
Speedup of makeresult() by keeping a filler of (-1, -1) around.

28 years agoSjoerd's thread changes (including down_sema typo fix).
Guido van Rossum [Tue, 8 Oct 1996 14:17:53 +0000 (14:17 +0000)]
Sjoerd's thread changes (including down_sema typo fix).
Note: waitflag not supported on NT.

28 years agoRemove RCS crud... Sigh...
Guido van Rossum [Tue, 8 Oct 1996 14:15:25 +0000 (14:15 +0000)]
Remove RCS crud...  Sigh...

28 years agoRemoved RCS crud from official Python release version.
Guido van Rossum [Tue, 8 Oct 1996 14:14:49 +0000 (14:14 +0000)]
Removed RCS crud from official Python release version.

28 years agoThe usual... Sigh...
Guido van Rossum [Tue, 8 Oct 1996 14:13:43 +0000 (14:13 +0000)]
The usual...  Sigh...

28 years agoRemoved debugging print statement
Guido van Rossum [Tue, 8 Oct 1996 14:10:51 +0000 (14:10 +0000)]
Removed debugging print statement

28 years agoSimple test module for strop.
Guido van Rossum [Tue, 8 Oct 1996 14:07:56 +0000 (14:07 +0000)]
Simple test module for strop.

28 years agoChange to always call list.append with a single argument.
Guido van Rossum [Tue, 8 Oct 1996 14:07:21 +0000 (14:07 +0000)]
Change to always call list.append with a single argument.
This does not mean I still support this code!!!

28 years agoChanges to always call list.append with a single argument.
Guido van Rossum [Tue, 8 Oct 1996 14:06:35 +0000 (14:06 +0000)]
Changes to always call list.append with a single argument.

28 years agoChange to always call list.append with a single argument.
Guido van Rossum [Tue, 8 Oct 1996 14:06:17 +0000 (14:06 +0000)]
Change to always call list.append with a single argument.

28 years agoCreate img modules for cfm68k too.
Jack Jansen [Tue, 8 Oct 1996 09:25:02 +0000 (09:25 +0000)]
Create img modules for cfm68k too.

28 years agoSet the __file__ attribute of the imported module in both versions of
Guido van Rossum [Mon, 7 Oct 1996 23:41:54 +0000 (23:41 +0000)]
Set the __file__ attribute of the imported module in both versions of
load_module(), to mimick the behavior of imp more closely.

28 years agoAdd provisions to set the (to be documented!) instance variable
Guido van Rossum [Mon, 7 Oct 1996 21:29:49 +0000 (21:29 +0000)]
Add provisions to set the (to be documented!) instance variable
'writer' of the NullFormatter to the writter passed in, or to a
NullWriter if none (or None) is passed in.

28 years agoCompromise on test in find_class(): a user-defined function is okay,
Guido van Rossum [Mon, 7 Oct 1996 14:34:20 +0000 (14:34 +0000)]
Compromise on test in find_class(): a user-defined function is okay,
but a built-in function is not.

28 years ago(Tkinter.py): Improve application basename determination to make .py and
Fred Drake [Sun, 6 Oct 1996 17:55:20 +0000 (17:55 +0000)]
(Tkinter.py):  Improve application basename determination to make .py and
.pyc extensions completely equivelent when locating the "profile"
which should be read on startup.

28 years agoAdded getparamnames() to Message class -- return a list of all
Guido van Rossum [Fri, 4 Oct 1996 20:14:02 +0000 (20:14 +0000)]
Added getparamnames() to Message class -- return a list of all
parameters of the content-type header.

28 years agoDon't auto-install on import. This slows down apps that use
Guido van Rossum [Fri, 4 Oct 1996 19:57:11 +0000 (19:57 +0000)]
Don't auto-install on import.  This slows down apps that use
some of our modules for special purposes (e.g. rexec).

28 years ago(Tkinter.py): Fixed dumb typo in Misc.tk_setPalette().
Fred Drake [Fri, 4 Oct 1996 19:23:04 +0000 (19:23 +0000)]
(Tkinter.py):  Fixed dumb typo in Misc.tk_setPalette().

28 years agoUse mac_image (from cmif stuff)
Jack Jansen [Fri, 4 Oct 1996 15:22:37 +0000 (15:22 +0000)]
Use mac_image (from cmif stuff)
Fixed off-by-four error
Keep data around so it won't get reclaimed

28 years agoFixed progressbar cleanup
Jack Jansen [Fri, 4 Oct 1996 15:21:00 +0000 (15:21 +0000)]
Fixed progressbar cleanup

28 years agoReplace all uses of strncmp (in split, find, rfind) with memcmp, so
Guido van Rossum [Fri, 4 Oct 1996 13:39:37 +0000 (13:39 +0000)]
Replace all uses of strncmp (in split, find, rfind) with memcmp, so
embedded \0 in the delimiter is handled properly.  Thanks to Sjoerd
for suggesting this.

28 years agoDon't mix stdout/stderr.
Guido van Rossum [Wed, 2 Oct 1996 14:57:28 +0000 (14:57 +0000)]
Don't mix stdout/stderr.

28 years agoFixed object-handler-install bug
Jack Jansen [Tue, 1 Oct 1996 11:41:14 +0000 (11:41 +0000)]
Fixed object-handler-install bug

28 years agoFixed bug in object-handler install arg handling
Jack Jansen [Tue, 1 Oct 1996 10:48:45 +0000 (10:48 +0000)]
Fixed bug in object-handler install arg handling

28 years agoFixed very nasty null-dereferencing bug in DisposeControl/destroy
Jack Jansen [Tue, 1 Oct 1996 10:46:46 +0000 (10:46 +0000)]
Fixed very nasty null-dereferencing bug in DisposeControl/destroy
object.

28 years agoAdd main program similar to pdb.
Guido van Rossum [Tue, 1 Oct 1996 02:55:54 +0000 (02:55 +0000)]
Add main program similar to pdb.

28 years ago(py-process-filter): Make sure current-buffer is restored, even in the
Barry Warsaw [Mon, 30 Sep 1996 23:00:40 +0000 (23:00 +0000)]
(py-process-filter): Make sure current-buffer is restored, even in the
event of error.  Can't use new Emacs primitive save-current-buffer, so
use unwind-protect instead.

28 years agoAlways open file objects in binary mode.
Guido van Rossum [Mon, 30 Sep 1996 22:02:50 +0000 (22:02 +0000)]
Always open file objects in binary mode.

28 years agoFix subtle bug detected by Jim F.
Guido van Rossum [Mon, 30 Sep 1996 22:00:50 +0000 (22:00 +0000)]
Fix subtle bug detected by Jim F.

28 years agoDon't die if an ok file method (e.g. fileno) doesn't exist.
Guido van Rossum [Mon, 30 Sep 1996 18:50:44 +0000 (18:50 +0000)]
Don't die if an ok file method (e.g. fileno) doesn't exist.

28 years agoAdded DebugStr method to drop into low-level debugger
Jack Jansen [Mon, 30 Sep 1996 14:43:22 +0000 (14:43 +0000)]
Added DebugStr method to drop into low-level debugger

28 years agoAdded VCHECK compile time option that fills allocated and freed blocks
Jack Jansen [Mon, 30 Sep 1996 14:42:28 +0000 (14:42 +0000)]
Added VCHECK compile time option that fills allocated and freed blocks
with garbage.

28 years agoProtect '&' signs with '\' in description of PyNumber_Coerce.
Guido van Rossum [Fri, 27 Sep 1996 17:28:03 +0000 (17:28 +0000)]
Protect '&' signs with '\' in description of PyNumber_Coerce.

28 years agoNits corrected by Fred
Guido van Rossum [Fri, 27 Sep 1996 17:11:24 +0000 (17:11 +0000)]
Nits corrected by Fred

28 years ago(Tkinter.py): Many revisions for Tk 4.X: Added clipboard support, updated
Fred Drake [Fri, 27 Sep 1996 14:06:54 +0000 (14:06 +0000)]
(Tkinter.py):  Many revisions for Tk 4.X:  Added clipboard support, updated
selection interface, handle the -displayof option intelligently in
many places.  Added "wm colormapwindows" and "winfo colormapfull"
support.  Removed "focus default" and "focus none" method: these are
not in Tk 4.X.

28 years ago(Canvas.py): Added definition of CanvasItem.cget() as suggested by
Fred Drake [Thu, 26 Sep 1996 20:21:26 +0000 (20:21 +0000)]
(Canvas.py):  Added definition of CanvasItem.cget() as suggested by
Nils Fischbeck.

28 years ago- Simplified inheritance structure (still not good enough)
Jack Jansen [Thu, 26 Sep 1996 16:26:05 +0000 (16:26 +0000)]
- Simplified inheritance structure (still not good enough)
- Added menubar in stead of buttons
- (optionally) switch menubar back and forth to facilitate debugging
  FrameWork applications
- Handle "Open Document" appleevent
- Fixed click in grow-box location
- Allow a new debug session after previous one has finished

28 years agoMenu callbacks can be strings, in which case they will be looked up in
Jack Jansen [Thu, 26 Sep 1996 16:17:08 +0000 (16:17 +0000)]
Menu callbacks can be strings, in which case they will be looked up in
the top window.
The menubar is redrawn in the event loop in stead of for every change.

28 years ago1. Correct typo in FileWrapper.close() (fix by AMK).
Guido van Rossum [Wed, 25 Sep 1996 18:47:39 +0000 (18:47 +0000)]
1. Correct typo in FileWrapper.close() (fix by AMK).
2. New trusted built-in modules cmath, errno, operator, parser.
3. Corrected bogus s_apply() -- the new one actually works (reported by AMK).

28 years agoFixed PM debugging
Jack Jansen [Wed, 25 Sep 1996 14:09:35 +0000 (14:09 +0000)]
Fixed PM debugging
Added different arrow-icons for running/calling/returning/exception

28 years agoDisabled splash screen, added ShowMessage
Jack Jansen [Wed, 25 Sep 1996 14:08:40 +0000 (14:08 +0000)]
Disabled splash screen, added ShowMessage

28 years agoThe Window Independent Tracer (which will probably move elsewhere once
Jack Jansen [Tue, 24 Sep 1996 15:35:50 +0000 (15:35 +0000)]
The Window Independent Tracer (which will probably move elsewhere once
it is truly window-independent:-)

28 years agoChanged about box to come up invisibly (so we can move it to the right
Jack Jansen [Mon, 23 Sep 1996 15:52:48 +0000 (15:52 +0000)]
Changed about box to come up invisibly (so we can move it to the right
location without flashing).

28 years agoAbout boxes should be at 20% of screen height, not halfway
Jack Jansen [Mon, 23 Sep 1996 15:51:06 +0000 (15:51 +0000)]
About boxes should be at 20% of screen height, not halfway

28 years agoAdded dialog-centering code to splash()
Jack Jansen [Mon, 23 Sep 1996 15:49:43 +0000 (15:49 +0000)]
Added dialog-centering code to splash()

28 years agoAdded support for GetDialogWindow and other accessor functions
Jack Jansen [Mon, 23 Sep 1996 15:48:46 +0000 (15:48 +0000)]
Added support for GetDialogWindow and other accessor functions

28 years agoFinally *tested* effect of fg and bg yield values (and changed them:-)
Jack Jansen [Sun, 22 Sep 1996 22:15:20 +0000 (22:15 +0000)]
Finally *tested* effect of fg and bg yield values (and changed them:-)

28 years agoChanged default background yield time to 1 tick
Jack Jansen [Sun, 22 Sep 1996 22:14:30 +0000 (22:14 +0000)]
Changed default background yield time to 1 tick

28 years agoUse auto-start functionality of aetools.TalkTo and aetools.Error for
Jack Jansen [Fri, 20 Sep 1996 15:30:52 +0000 (15:30 +0000)]
Use auto-start functionality of aetools.TalkTo and aetools.Error for
server-generated errors.

28 years agoraise aetools.Error in stead of MacOS.Error on server-generated errors
Jack Jansen [Fri, 20 Sep 1996 15:29:59 +0000 (15:29 +0000)]
raise aetools.Error in stead of MacOS.Error on server-generated errors

28 years agoRegenerated to use aetools.Error in stead of MacOS.Error.
Jack Jansen [Fri, 20 Sep 1996 15:29:08 +0000 (15:29 +0000)]
Regenerated to use aetools.Error in stead of MacOS.Error.

28 years ago- Added optional "start" argument to TalkTo initialializer, which
Jack Jansen [Fri, 20 Sep 1996 15:28:28 +0000 (15:28 +0000)]
- Added optional "start" argument to TalkTo initialializer, which
  starts the app (if needed).
- Added aetools.Error, which is returned in case of server-generated
  errors (better than MacOS.Error, which was raised previously)

28 years agoConvenience routines: wrappers around some of the scriptable finder
Jack Jansen [Fri, 20 Sep 1996 15:26:20 +0000 (15:26 +0000)]
Convenience routines: wrappers around some of the scriptable finder
functionality.

28 years agoAdded macfs.FindApplication() to find application FSSpec given signature.
Jack Jansen [Fri, 20 Sep 1996 15:25:16 +0000 (15:25 +0000)]
Added macfs.FindApplication() to find application FSSpec given signature.

28 years ago- Regenerated suites
Jack Jansen [Fri, 20 Sep 1996 15:22:47 +0000 (15:22 +0000)]
- Regenerated suites
- Use (and document) "start" argument to TalkTo initializer

28 years agoCreated Finder 7.0 AE interface and a test program that uses the
Jack Jansen [Thu, 19 Sep 1996 10:49:53 +0000 (10:49 +0000)]
Created Finder 7.0 AE interface and a test program that uses the
finder to launch an application.

28 years agoRevamped test case and updated doc string.
Guido van Rossum [Tue, 17 Sep 1996 21:33:15 +0000 (21:33 +0000)]
Revamped test case and updated doc string.

28 years agoAdded line number to most compile-time error messages.
Guido van Rossum [Tue, 17 Sep 1996 14:32:04 +0000 (14:32 +0000)]
Added line number to most compile-time error messages.

28 years agoCalling Application._quit() is now preferred over raising self.
Jack Jansen [Tue, 17 Sep 1996 12:39:12 +0000 (12:39 +0000)]
Calling Application._quit() is now preferred over raising self.

28 years agoAdded _quit() method similar to FrameWork in stead of setting
Jack Jansen [Tue, 17 Sep 1996 12:36:35 +0000 (12:36 +0000)]
Added _quit() method similar to FrameWork in stead of setting
self.quitting by hand.

28 years ago- Use a flag (self.quitting) as preferred method of exiting mainloop
Jack Jansen [Tue, 17 Sep 1996 12:35:43 +0000 (12:35 +0000)]
- Use a flag (self.quitting) as preferred method of exiting mainloop
- Added optional "nomenubar" argument to Application.__init__

28 years agoAdded macostools.touch() calls to inform the finder of our changes.
Jack Jansen [Sun, 15 Sep 1996 22:13:59 +0000 (22:13 +0000)]
Added macostools.touch() calls to inform the finder of our changes.

28 years ago- Optionally copy file times for copy/copytree (default on)
Jack Jansen [Sun, 15 Sep 1996 22:13:26 +0000 (22:13 +0000)]
- Optionally copy file times for copy/copytree (default on)
- Added touch(file) routine to tell the finder a files icon or
  something has changed (*finally* found out how to do this)

28 years agoFixed macos.splash to actually *draw* the splash box:-)
Jack Jansen [Sun, 15 Sep 1996 22:12:00 +0000 (22:12 +0000)]
Fixed macos.splash to actually *draw* the splash box:-)

28 years agoAdded [GS]etDates methods to get and set creation, modification and
Jack Jansen [Sun, 15 Sep 1996 22:11:25 +0000 (22:11 +0000)]
Added [GS]etDates methods to get and set creation, modification and
backup times.

28 years ago(texi2html.py): Use "if __name__ == '__main__':" test. Adjust indentation
Fred Drake [Fri, 13 Sep 1996 14:44:34 +0000 (14:44 +0000)]
(texi2html.py):  Use "if __name__ == '__main__':" test.  Adjust indentation
to 4 spaces per level (no longer 8).

(Makefile):  Use .pyc versions of partparse.py and texi2html.py to generate
converted documentation formats.  This reduces the startup costs;
probably doesn't affect anyone but me in reality, but helps when
working on the docs.

28 years agoExplicitly call rl_initialize().
Guido van Rossum [Fri, 13 Sep 1996 04:09:26 +0000 (04:09 +0000)]
Explicitly call rl_initialize().
Set rl_readline_name to python.
Move extern decls to more logical point.

28 years agoOops... Need to clear c_error before calling c_quot().
Guido van Rossum [Thu, 12 Sep 1996 21:02:02 +0000 (21:02 +0000)]
Oops...  Need to clear c_error before calling c_quot().

28 years agoProperly(?) implemented remainder and divmod (Tim Hochberg)
Guido van Rossum [Thu, 12 Sep 1996 20:56:18 +0000 (20:56 +0000)]
Properly(?) implemented remainder and divmod (Tim Hochberg)

28 years agoShow names of locals in disco (Ka-Ping Yee)
Guido van Rossum [Thu, 12 Sep 1996 17:39:36 +0000 (17:39 +0000)]
Show names of locals in disco (Ka-Ping Yee)

28 years agoAdded editline fix
Guido van Rossum [Thu, 12 Sep 1996 17:29:33 +0000 (17:29 +0000)]
Added editline fix

28 years ago(Demo/parser/FILES, Demo/parser/Makefile, Demo/parser/parser.tex,
Fred Drake [Thu, 12 Sep 1996 12:59:25 +0000 (12:59 +0000)]
(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.

28 years agoNote obsolescence
Guido van Rossum [Wed, 11 Sep 1996 23:34:32 +0000 (23:34 +0000)]
Note obsolescence

28 years agoRationalize MS #ifdefs
Guido van Rossum [Wed, 11 Sep 1996 23:31:42 +0000 (23:31 +0000)]
Rationalize MS #ifdefs

28 years agoCorrect typo: return -1 for error, not 0
Guido van Rossum [Wed, 11 Sep 1996 23:31:23 +0000 (23:31 +0000)]
Correct typo: return -1 for error, not 0

28 years agoCorrect typo: return -1 for error, not NULL
Guido van Rossum [Wed, 11 Sep 1996 23:31:07 +0000 (23:31 +0000)]
Correct typo: return -1 for error, not NULL

28 years agoAdd text of argument to errors for atoi(), atol(), atof().
Guido van Rossum [Wed, 11 Sep 1996 23:30:42 +0000 (23:30 +0000)]
Add text of argument to errors for atoi(), atol(), atof().

28 years agoForce O_BINARY in flags if defined, for e.g. Microsoft platforms.
Guido van Rossum [Wed, 11 Sep 1996 23:22:25 +0000 (23:22 +0000)]
Force O_BINARY in flags if defined, for e.g. Microsoft platforms.

28 years agoDynamically initialize ob_type field, for Windows DLL
Guido van Rossum [Wed, 11 Sep 1996 23:18:43 +0000 (23:18 +0000)]
Dynamically initialize ob_type field, for Windows DLL

28 years agoAdded lockf() call
Guido van Rossum [Wed, 11 Sep 1996 23:17:20 +0000 (23:17 +0000)]
Added lockf() call

28 years agoAdded Setup.local feature; make shared libs readonly
Guido van Rossum [Wed, 11 Sep 1996 23:13:07 +0000 (23:13 +0000)]
Added Setup.local feature; make shared libs readonly

28 years agoRationalized MS ifdefs
Guido van Rossum [Wed, 11 Sep 1996 23:12:24 +0000 (23:12 +0000)]
Rationalized MS ifdefs

28 years agoRaise exception instead of dropping imag part for conversion to int,
Guido van Rossum [Wed, 11 Sep 1996 22:54:37 +0000 (22:54 +0000)]
Raise exception instead of dropping imag part for conversion to int,
long, float.

Raise exception instead of dumping core for remainder and divmod.

28 years agoMore detailed error message about exception in __del__
Guido van Rossum [Wed, 11 Sep 1996 22:51:57 +0000 (22:51 +0000)]
More detailed error message about exception in __del__

28 years agoCorrect typo in setattr: return -1 for error, not NULL
Guido van Rossum [Wed, 11 Sep 1996 22:51:25 +0000 (22:51 +0000)]
Correct typo in setattr: return -1 for error, not NULL

28 years ago(parsermodule.c): Fixed sloppy typo: '==' -> '='
Fred Drake [Wed, 11 Sep 1996 21:58:26 +0000 (21:58 +0000)]
(parsermodule.c):  Fixed sloppy typo:  '==' -> '='

28 years ago(libparser.tex): Revised parser module documentation; improved logical
Fred Drake [Wed, 11 Sep 1996 21:57:40 +0000 (21:57 +0000)]
(libparser.tex):  Revised parser module documentation; improved logical
organization.

28 years agoMore performance and layout improvements by Fred
Guido van Rossum [Wed, 11 Sep 1996 21:30:40 +0000 (21:30 +0000)]
More performance and layout improvements by Fred

28 years agoAdded long getopt docs; by Fred
Guido van Rossum [Wed, 11 Sep 1996 21:26:29 +0000 (21:26 +0000)]
Added long getopt docs; by Fred

28 years agoMultiply by 1000003 instead of 3 in string hach
Guido van Rossum [Wed, 11 Sep 1996 20:22:48 +0000 (20:22 +0000)]
Multiply by 1000003 instead of 3 in string hach

28 years agoGet rid of bogus MSC_VER undef of CHECK()
Guido van Rossum [Wed, 11 Sep 1996 20:21:41 +0000 (20:21 +0000)]
Get rid of bogus MSC_VER undef of CHECK()

28 years agoRationalized PC compiler defines: require MS_WINDOWS or __BORLANDC__
Guido van Rossum [Wed, 11 Sep 1996 20:20:58 +0000 (20:20 +0000)]
Rationalized PC compiler defines: require MS_WINDOWS or __BORLANDC__
or __WATCOMC__.  Add ALTSEP for PC filesystems.

28 years agoLayout and cleanup by Fred
Guido van Rossum [Wed, 11 Sep 1996 19:43:52 +0000 (19:43 +0000)]
Layout and cleanup by Fred

28 years agoAnother batch...
Guido van Rossum [Wed, 11 Sep 1996 19:07:45 +0000 (19:07 +0000)]
Another batch...

28 years agoRewrite sections on GUI and DOS/Windows, various other small edits,
Guido van Rossum [Wed, 11 Sep 1996 15:43:13 +0000 (15:43 +0000)]
Rewrite sections on GUI and DOS/Windows, various other small edits,
added 1996 copyright, $Revision$.

28 years agoImplement lower by calling lower, not lift.
Guido van Rossum [Wed, 11 Sep 1996 14:25:41 +0000 (14:25 +0000)]
Implement lower by calling lower, not lift.