]> granicus.if.org Git - python/log
python
29 years agoNon-trivial DL_IMPORT must now be defined in config.h.
Guido van Rossum [Wed, 22 May 1996 16:37:29 +0000 (16:37 +0000)]
Non-trivial DL_IMPORT must now be defined in config.h.
Include <stdlib.h>.
Include several more Python header files, including new pydebug.h.

29 years agoUse new names for debug macros. Don't include pythonrun.h.
Guido van Rossum [Wed, 22 May 1996 16:35:33 +0000 (16:35 +0000)]
Use new names for debug macros.  Don't include pythonrun.h.

29 years agoTRACE_REFS -> Py_TRACE_REFS.
Guido van Rossum [Wed, 22 May 1996 16:34:47 +0000 (16:34 +0000)]
TRACE_REFS -> Py_TRACE_REFS.
Added disgusting hack to force loading of abstract.o.

29 years agoAdded some visual enhancements of debugging ifdefs.
Guido van Rossum [Wed, 22 May 1996 16:33:22 +0000 (16:33 +0000)]
Added some visual enhancements of debugging ifdefs.
Added PyNumber_Coerce decl.

29 years agoRemoved TRACE_REFS and REF_DEBUG b/w compat hacks -- they don't work.
Guido van Rossum [Wed, 22 May 1996 16:30:09 +0000 (16:30 +0000)]
Removed TRACE_REFS and REF_DEBUG b/w compat hacks -- they don't work.
Added defs for getbuiltindict, getbuiltinmod (bltinmodule.c).

29 years agoPlug memory leak in the previous fix :-(
Guido van Rossum [Tue, 21 May 1996 23:44:17 +0000 (23:44 +0000)]
Plug memory leak in the previous fix :-(

29 years agoFix obscure bug in string%mapping where the mapping creates its items
Guido van Rossum [Tue, 21 May 1996 22:44:20 +0000 (22:44 +0000)]
Fix obscure bug in string%mapping where the mapping creates its items
on the fly -- there was an unsafe DECREF.  Actually save some lines of
code by using abstract.c:PyObject_GetItem().

29 years agomore changes copied from Grail
Guido van Rossum [Tue, 21 May 1996 20:30:07 +0000 (20:30 +0000)]
more changes copied from Grail

29 years agoModified for 1.3.3 distribution
Jack Jansen [Mon, 20 May 1996 11:32:49 +0000 (11:32 +0000)]
Modified for 1.3.3 distribution

29 years agoAdded splash method (to quickly display splash screen without first
Jack Jansen [Mon, 20 May 1996 11:32:00 +0000 (11:32 +0000)]
Added splash method (to quickly display splash screen without first
having to load a zillion extension modules)

29 years agoAdded waste
Jack Jansen [Mon, 20 May 1996 11:31:13 +0000 (11:31 +0000)]
Added waste

29 years agoFixed callback handling on 68K machines.
Jack Jansen [Mon, 20 May 1996 11:30:45 +0000 (11:30 +0000)]
Fixed callback handling on 68K machines.

29 years agore-binhexed for 1.3.3 distribution
Jack Jansen [Mon, 20 May 1996 11:30:09 +0000 (11:30 +0000)]
re-binhexed for 1.3.3 distribution

29 years agoAdded waste and _tkinter modules
Jack Jansen [Mon, 20 May 1996 11:29:41 +0000 (11:29 +0000)]
Added waste and _tkinter modules

29 years agoRecreated tkpython.rsrc, upped version number
Jack Jansen [Mon, 20 May 1996 11:29:09 +0000 (11:29 +0000)]
Recreated tkpython.rsrc, upped version number

29 years agoAdded USE_WASTE define
Jack Jansen [Mon, 20 May 1996 11:28:32 +0000 (11:28 +0000)]
Added USE_WASTE define

29 years agoFixed up for 1.3.3 distribution, removed various old (and nuused)
Jack Jansen [Mon, 20 May 1996 11:27:38 +0000 (11:27 +0000)]
Fixed up for 1.3.3 distribution, removed various old (and nuused)
project files.

29 years agoExport OptResObj_{New,Convert}
Jack Jansen [Mon, 20 May 1996 11:24:18 +0000 (11:24 +0000)]
Export OptResObj_{New,Convert}

29 years agoChanged for 1.3.3 distribution
Jack Jansen [Mon, 20 May 1996 11:22:41 +0000 (11:22 +0000)]
Changed for 1.3.3 distribution

29 years agoRemember source filename as <module>.__file__.
Guido van Rossum [Thu, 16 May 1996 20:43:40 +0000 (20:43 +0000)]
Remember source filename as <module>.__file__.

29 years agoMade Place.info == Pack.info
Guido van Rossum [Thu, 16 May 1996 17:53:48 +0000 (17:53 +0000)]
Made Place.info == Pack.info

29 years agoYet another mini fix to pack/grid info.
Guido van Rossum [Thu, 16 May 1996 17:50:07 +0000 (17:50 +0000)]
Yet another mini fix to pack/grid info.

29 years agoPatch from the net for 4.1 file handler changes.
Guido van Rossum [Thu, 16 May 1996 17:17:31 +0000 (17:17 +0000)]
Patch from the net for 4.1 file handler changes.

29 years agoAdd __sinit() call according to Jack.
Guido van Rossum [Thu, 16 May 1996 17:14:03 +0000 (17:14 +0000)]
Add __sinit() call according to Jack.

29 years agoSome more changes from the net... Typos, 4.0/4.1 issues, new tkButtonInvoke().
Guido van Rossum [Thu, 16 May 1996 17:11:27 +0000 (17:11 +0000)]
Some more changes from the net...  Typos, 4.0/4.1 issues, new tkButtonInvoke().

29 years agoResync with Grail's Tkinter.py.
Guido van Rossum [Thu, 16 May 1996 16:00:19 +0000 (16:00 +0000)]
Resync with Grail's Tkinter.py.

29 years agoSet the base for atoi() and atol() to 0, since we're reading Python
Guido van Rossum [Wed, 15 May 1996 22:49:57 +0000 (22:49 +0000)]
Set the base for atoi() and atol() to 0, since we're reading Python
numbers here, and so that atol() doesn't barf on the trailing 'L'.
Add a test case involving a long integer.

29 years agoAdded __name__ attribute to class instance method objects.
Guido van Rossum [Tue, 14 May 1996 21:54:20 +0000 (21:54 +0000)]
Added __name__ attribute to class instance method objects.
Removed im_doc attribute; __name__ and __doc__ are now handled by
special casing in instancemethodgetattr().  This saves a few bytes and
INCREF/DECREF calls per i.m. object allocation/deallocation.

29 years agoAdded _id attribute to GrafPort objects (real id of grafport, numeric)
Jack Jansen [Wed, 8 May 1996 15:33:20 +0000 (15:33 +0000)]
Added _id attribute to GrafPort objects (real id of grafport, numeric)

29 years agoFixed reference to cr/lf problems
Jack Jansen [Tue, 7 May 1996 15:28:20 +0000 (15:28 +0000)]
Fixed reference to cr/lf problems

29 years agoA version of swed that can import html files. Also demonstrates
Jack Jansen [Tue, 7 May 1996 15:25:36 +0000 (15:25 +0000)]
A version of swed that can import html files. Also demonstrates
implementing object handlers in Python.

29 years agoAdded call to initialize standard (i.e. implemented in C) embedded
Jack Jansen [Tue, 7 May 1996 15:24:55 +0000 (15:24 +0000)]
Added call to initialize standard (i.e. implemented in C) embedded
object handlers

29 years agoAdded support for callbacks (for embedded objects)
Jack Jansen [Tue, 7 May 1996 15:24:01 +0000 (15:24 +0000)]
Added support for callbacks (for embedded objects)

29 years agoRemoved some spurios biindex calls.
Guido van Rossum [Thu, 2 May 1996 15:28:53 +0000 (15:28 +0000)]
Removed some spurios biindex calls.
Added description of file.truncate().
Added warning to write() about buffering.

29 years agoAdded warning about behavior of open mode 'a' (or 'a+').
Guido van Rossum [Thu, 2 May 1996 15:16:59 +0000 (15:16 +0000)]
Added warning about behavior of open mode 'a' (or 'a+').

29 years agoRemoved broken tst.py
Guido van Rossum [Fri, 26 Apr 1996 20:53:30 +0000 (20:53 +0000)]
Removed broken tst.py

29 years agoAdded MenuItem methods setstyle(), seticon(), setmark()
Jack Jansen [Tue, 23 Apr 1996 16:18:33 +0000 (16:18 +0000)]
Added MenuItem methods setstyle(), seticon(), setmark()

29 years agoExtension to wed that handles styles, fonts and sizes
Jack Jansen [Tue, 23 Apr 1996 16:17:54 +0000 (16:17 +0000)]
Extension to wed that handles styles, fonts and sizes

29 years agoMade style and soup handles optional
Jack Jansen [Tue, 23 Apr 1996 16:17:08 +0000 (16:17 +0000)]
Made style and soup handles optional

29 years agoAn interface to the WASTE textedit replacement library.
Jack Jansen [Fri, 19 Apr 1996 16:03:58 +0000 (16:03 +0000)]
An interface to the WASTE textedit replacement library.

29 years agoKeep .exp files in cvs tree
Jack Jansen [Fri, 19 Apr 1996 16:03:08 +0000 (16:03 +0000)]
Keep .exp files in cvs tree

29 years agoCopy .exp files to mwerks project directory too.
Jack Jansen [Fri, 19 Apr 1996 16:02:20 +0000 (16:02 +0000)]
Copy .exp files to mwerks project directory too.

29 years agoAn example of waste
Jack Jansen [Fri, 19 Apr 1996 16:01:31 +0000 (16:01 +0000)]
An example of waste

29 years ago- Confine window moves to screen boundaries
Jack Jansen [Fri, 19 Apr 1996 16:00:28 +0000 (16:00 +0000)]
- Confine window moves to screen boundaries
- Added windowbounds() function to help programmer with staggering
  windows
- Added event parameter to idle routine
- Added settext(label) method to menu entries
- Erase/invalidate only visRgn in stead of everything
- Correctly handle clicks in inactive ControlWindows

29 years agoMinimal waste test program, modified from ttedit.
Jack Jansen [Fri, 19 Apr 1996 15:57:52 +0000 (15:57 +0000)]
Minimal waste test program, modified from ttedit.

29 years agoAdded documentation on FrameWork, TextEdit and Waste
Jack Jansen [Fri, 19 Apr 1996 15:56:08 +0000 (15:56 +0000)]
Added documentation on FrameWork, TextEdit and Waste
Updated minor things in the other documents (pathnames, etc)

29 years agoUse FrameWork.windowbounds(), fixed idle routine
Jack Jansen [Fri, 19 Apr 1996 15:54:47 +0000 (15:54 +0000)]
Use FrameWork.windowbounds(), fixed idle routine

29 years agoIdle callback is now supplied with the null event causing it.
Jack Jansen [Fri, 19 Apr 1996 15:54:04 +0000 (15:54 +0000)]
Idle callback is now supplied with the null event causing it.

29 years agoFixed code generated for an argument of type ****
Jack Jansen [Tue, 16 Apr 1996 14:36:46 +0000 (14:36 +0000)]
Fixed code generated for an argument of type ****

29 years agoFixed ScrolledWindow to disable scrollbars if everything is visible.
Jack Jansen [Tue, 16 Apr 1996 14:35:43 +0000 (14:35 +0000)]
Fixed ScrolledWindow to disable scrollbars if everything is visible.

29 years agoAdded correct handling of cut/paste menu enabling, scroll bars
Jack Jansen [Tue, 16 Apr 1996 14:34:26 +0000 (14:34 +0000)]
Added correct handling of cut/paste menu enabling, scroll bars

29 years agoRemoved ...gen.py files from repository
Jack Jansen [Tue, 16 Apr 1996 14:33:21 +0000 (14:33 +0000)]
Removed ...gen.py files from repository

29 years agoAdded support for accessing a few more TERec members
Jack Jansen [Tue, 16 Apr 1996 14:32:01 +0000 (14:32 +0000)]
Added support for accessing a few more TERec members

29 years agoAn interface to WASTE, an all-singing-all-dancing TextEdit replacement
Jack Jansen [Tue, 16 Apr 1996 14:29:15 +0000 (14:29 +0000)]
An interface to WASTE, an all-singing-all-dancing TextEdit replacement

29 years agoAn interface to WASTE, an all-singing-all-dancing TextEdit replacement.
Jack Jansen [Tue, 16 Apr 1996 14:27:51 +0000 (14:27 +0000)]
An interface to WASTE, an all-singing-all-dancing TextEdit replacement.

29 years agoClarified working directory stuff, added some paragraphs on using
Jack Jansen [Mon, 15 Apr 1996 12:25:44 +0000 (12:25 +0000)]
Clarified working directory stuff, added some paragraphs on using
import and reload() to run scripts.

29 years agoMoved customization to bgenlocations.py module.
Guido van Rossum [Fri, 12 Apr 1996 16:39:00 +0000 (16:39 +0000)]
Moved customization to bgenlocations.py module.

29 years agoAdded missing setport call to mkdistr_ui, and added scrap to
Jack Jansen [Fri, 12 Apr 1996 16:34:58 +0000 (16:34 +0000)]
Added missing setport call to mkdistr_ui, and added scrap to
mkpluginaliases.

29 years agobgen-generators now drop the python definition file straight in the
Jack Jansen [Fri, 12 Apr 1996 16:29:23 +0000 (16:29 +0000)]
bgen-generators now drop the python definition file straight in the
Lib:toolbox folder.

29 years agoAdded scrap manager
Jack Jansen [Fri, 12 Apr 1996 16:27:54 +0000 (16:27 +0000)]
Added scrap manager

29 years agoFixed a nasty bug where FindControl could return a reference to a
Jack Jansen [Fri, 12 Apr 1996 16:26:59 +0000 (16:26 +0000)]
Fixed a nasty bug where FindControl could return a reference to a
destroyed python object.

29 years agoInterface to the scrap manager
Jack Jansen [Fri, 12 Apr 1996 16:25:30 +0000 (16:25 +0000)]
Interface to the scrap manager

29 years agoAdded ScrolledWindow (a window with one or two scrollbars)
Jack Jansen [Fri, 12 Apr 1996 16:24:44 +0000 (16:24 +0000)]
Added ScrolledWindow (a window with one or two scrollbars)

29 years agoDon't atoi() the memo key.
Guido van Rossum [Fri, 12 Apr 1996 13:36:27 +0000 (13:36 +0000)]
Don't atoi() the memo key.
Use atoi(), atol(), atof() instead of load_atomic for seed-up.

29 years agoA simple scrollbar-less single-font (but multi-window) text
Jack Jansen [Thu, 11 Apr 1996 15:41:39 +0000 (15:41 +0000)]
A simple scrollbar-less single-font (but multi-window) text
editor. More to come...

29 years agoFixed ttedit to actually work
Jack Jansen [Thu, 11 Apr 1996 15:40:32 +0000 (15:40 +0000)]
Fixed ttedit to actually work
Fixed minor update bug in tlist

29 years agoAdded enable(onoff) method to menus and menu items
Jack Jansen [Thu, 11 Apr 1996 15:39:01 +0000 (15:39 +0000)]
Added enable(onoff) method to menus and menu items

29 years agoAdded lost docs for crypt module.
Guido van Rossum [Wed, 10 Apr 1996 16:18:20 +0000 (16:18 +0000)]
Added lost docs for crypt module.

29 years agoAdded warning on memory use of tcl/tk
Jack Jansen [Wed, 10 Apr 1996 14:56:32 +0000 (14:56 +0000)]
Added warning on memory use of tcl/tk

29 years agorebinhexed
Jack Jansen [Wed, 10 Apr 1996 14:53:58 +0000 (14:53 +0000)]
rebinhexed

29 years agoAdded a region arg to update calls
Jack Jansen [Wed, 10 Apr 1996 14:53:29 +0000 (14:53 +0000)]
Added a region arg to update calls

29 years agoAdded a tutorial
Jack Jansen [Wed, 10 Apr 1996 14:52:59 +0000 (14:52 +0000)]
Added a tutorial

29 years agoAdded region arg to update calls. And binhex files rebinhexed.
Jack Jansen [Wed, 10 Apr 1996 14:52:18 +0000 (14:52 +0000)]
Added region arg to update calls. And binhex files rebinhexed.

29 years agoBinhex gif files too.
Jack Jansen [Wed, 10 Apr 1996 14:51:38 +0000 (14:51 +0000)]
Binhex gif files too.

29 years agoChanged to allow the user to do partial builds
Jack Jansen [Wed, 10 Apr 1996 14:51:14 +0000 (14:51 +0000)]
Changed to allow the user to do partial builds

29 years agoMoved a button in the message dialog. and everything got binhexed again.
Jack Jansen [Wed, 10 Apr 1996 14:50:28 +0000 (14:50 +0000)]
Moved a button in the message dialog. and everything got binhexed again.

29 years agoAdded region argument to various ...Update calls.
Jack Jansen [Wed, 10 Apr 1996 14:49:41 +0000 (14:49 +0000)]
Added region argument to various ...Update calls.
Also, some rsrc files got rebinhexed (sigh)

29 years agoReplaced various dummy updateRegions by real arguments
Jack Jansen [Wed, 10 Apr 1996 14:48:19 +0000 (14:48 +0000)]
Replaced various dummy updateRegions by real arguments

29 years agoTextEdit sample code (not yet complete)
Jack Jansen [Wed, 10 Apr 1996 14:43:17 +0000 (14:43 +0000)]
TextEdit sample code (not yet complete)

29 years agoAdded TextEdit interface
Jack Jansen [Wed, 10 Apr 1996 14:42:32 +0000 (14:42 +0000)]
Added TextEdit interface

29 years agoInterface to TextEdit toolbox
Jack Jansen [Wed, 10 Apr 1996 14:41:08 +0000 (14:41 +0000)]
Interface to TextEdit toolbox

29 years agoCreate files as temp file and move to real location only when complete.
Guido van Rossum [Tue, 9 Apr 1996 02:51:23 +0000 (02:51 +0000)]
Create files as temp file and move to real location only when complete.
Added some try-except statements around listdir and mkdir operations.

29 years agoSeparate readline initialization into new function PyOS_ReadlineInit().
Guido van Rossum [Tue, 9 Apr 1996 02:45:31 +0000 (02:45 +0000)]
Separate readline initialization into new function PyOS_ReadlineInit().
For Dave Ascher's readline extensions.

29 years agoAdd list() method, analogous to tuple().
Guido van Rossum [Tue, 9 Apr 1996 02:41:06 +0000 (02:41 +0000)]
Add list() method, analogous to tuple().

29 years agoUnder NT, interface to mysterious module registry. (Mark H.)
Guido van Rossum [Tue, 9 Apr 1996 02:39:59 +0000 (02:39 +0000)]
Under NT, interface to mysterious module registry.  (Mark H.)

29 years agoUnder NT, change "long" sharedlib extension to ".dll". (Mark H.)
Guido van Rossum [Tue, 9 Apr 1996 02:39:15 +0000 (02:39 +0000)]
Under NT, change "long" sharedlib extension to ".dll". (Mark H.)

29 years agoUnder NT, define sys.dllhandle and sys.winver (Mark H.).
Guido van Rossum [Tue, 9 Apr 1996 02:37:57 +0000 (02:37 +0000)]
Under NT, define sys.dllhandle and sys.winver (Mark H.).

29 years agoAdd'l change for NT (Mark H.).
Guido van Rossum [Tue, 9 Apr 1996 02:37:03 +0000 (02:37 +0000)]
Add'l change for NT (Mark H.).

29 years ago(py-indent-right, py-outdent-left): fixed placement of point after
Barry Warsaw [Mon, 8 Apr 1996 23:05:56 +0000 (23:05 +0000)]
(py-indent-right, py-outdent-left): fixed placement of point after
adjustments.

29 years ago(py-parse-state): make sure we don't land inside a triple-quoted
Barry Warsaw [Sat, 6 Apr 1996 00:00:19 +0000 (00:00 +0000)]
(py-parse-state): make sure we don't land inside a triple-quoted
string

29 years agoAdded resource-ids for override preferences.
Jack Jansen [Thu, 4 Apr 1996 15:39:42 +0000 (15:39 +0000)]
Added resource-ids for override preferences.

29 years agoAdded support for override preferences
Jack Jansen [Thu, 4 Apr 1996 15:39:18 +0000 (15:39 +0000)]
Added support for override preferences

29 years agoAdded support for editing override preferences in applets
Jack Jansen [Thu, 4 Apr 1996 15:38:44 +0000 (15:38 +0000)]
Added support for editing override preferences in applets

29 years agoSubtlety: ~root/a should expand to /a, not //a. Everything else unchanged.
Guido van Rossum [Tue, 2 Apr 1996 22:30:03 +0000 (22:30 +0000)]
Subtlety: ~root/a should expand to /a, not //a.  Everything else unchanged.

29 years agoUpdate reference (it's now RFC 1808); added http to list of protocols
Guido van Rossum [Fri, 29 Mar 1996 21:23:25 +0000 (21:23 +0000)]
Update reference (it's now RFC 1808); added http to list of protocols
that use parameters.

29 years agoReformatted with 4-space tab stops.
Guido van Rossum [Thu, 28 Mar 1996 18:45:04 +0000 (18:45 +0000)]
Reformatted with 4-space tab stops.

Allow '=' and '~' in unquoted attribute values.

Added overridable methods handle_starttag(tag, method, attrs) and
handle_endtag(tag, method) so subclasses can decide whether they
really want to call the method (e.g. when suppressing some portion of
the document).

Added support for a number of SGML shortcuts:

        shorthand               full notation
        <tag>...<>...           <tag>...<tag>...
        <tag>...</>             <tag>...</tag>
        <tag/.../               <tag>...</tag>
        <tag1<tag2>             <tag1><tag2>
        </tag1</tag2>           </tag1></tag2>
        </tag1<tag2>            </tag1><tag2>

This required factoring out some common actions and rationalizing the
interface to parse_endtag(), so as to make the code more readable.

Fixed syntax for &entity and &#char references so the trailing
semicolon is optional; removed explicit support for trailing period
(which was a TBL mistake in HTML 0.0).

Generalized the test program.

Tried to speed things up a little.  (More to come after the profile
results are in.)

Fix error recovery: call the end methods popped from the stack instead
of the one that triggers.  (Plus some complications because of the way
HTML extensions are handled in Grail.)

29 years ago(py-indent-right, py-outdent-left): Watch out for (mark) returning
Barry Warsaw [Mon, 25 Mar 1996 21:24:26 +0000 (21:24 +0000)]
(py-indent-right, py-outdent-left): Watch out for (mark) returning
nil.

29 years agonew binhex from Jack (much faster)
Guido van Rossum [Mon, 25 Mar 1996 18:54:33 +0000 (18:54 +0000)]
new binhex from Jack (much faster)

29 years agoDon't change Standard File folder on chdir().
Jack Jansen [Mon, 25 Mar 1996 15:46:25 +0000 (15:46 +0000)]
Don't change Standard File folder on chdir().

29 years agoReplaced non-ascii chars by backslash escapes
Jack Jansen [Mon, 25 Mar 1996 15:46:03 +0000 (15:46 +0000)]
Replaced non-ascii chars by backslash escapes