home *** CD-ROM | disk | FTP | other *** search
Text File | 1989-02-08 | 5.2 KB | 95 lines | [TEXT/KAHL] |
- /*
- TSHistory.c - history of modifications to TransSkel
-
- History
- 06/13/86 Beta version. (pd)
- 08/27/86 Version number changed to 1.01.
- v1.0 DoGrow bug fixed - the port at the point of the
- InvalRect could have been anything; the fix is to set
- the port to the grown window first. This also explains
- why the kludge to DoActivate in v1.0 worked. (pd)
- 10/02/86 Version number changed to 1.02, as a result of adding
- modifications by David W. Berry (well!dwb@lll-lcc.arpa)
- for supporting window zooming. Also used his modifications
- for supporting modeless dialogs (though not in the same
- form). Dialog support can be #define'd on or off. (pd)
- 12/28/86 Version number changed to 1.03. Modified to work under
- LightspeedC v. 2.01 - took out definitions for window zooming
- stuff, as it is now supported by the compiler directly. Also
- declared DoZoom static, fixing an oversight. (pd)
- 01/18/86 Put a SetPort into DoZoom - ZoomWindow requires port to be
- set to window being zoomed. (pd)
- 02/05/86 Version number changed to 1.04. Big change: port setting
- behavior made explicit - the only persistant switch occurs
- when a window comes active. This changes underlying
- programming model (see manual for detailed discussion).
- Thanks to Duane Williams for pointing out that this should
- be done.
- Typedef'd integer/long variables to Integer, Longint to
- facilitate coversion to other C compilers. More complete
- type-casting done. LightspeedC does a lot of it automatically,
- other compilers may not. (pd - this version never released)
- 03/02/87 Fixed bug whereby clicks in drag region of non-active windows
- may not bring window to front. Seems to be due to DragWindow
- calling StillDown to see if mouse is still down. If the machine
- was busy otherwise when click occurred and mouse already up when
- DragWindow is called, the click ends up being ignored. Thanks to
- Roger Humphrey for finding this one.
-
- *** Changes implemented first by omh to Pascal Version
-
- 4/18/87 Changed Desk Accessory code so it's more tolerant of memory
- conditions for desk accessories. (omh)
- 7/12/87 Added "cache" code to GetWDHandler. Now TransSkel figures that
- an event is most likely to occur for the same window as the
- previous event. Thus the WindowPtr and WDHandle for events
- are cached and examined to avoid searching through the handler
- list. (omh)
- 7/12/87 Excised the notorious "SetPort" excess. As pointed out by
- Duane Williams, SetPort traps abounded unnecessarily in
- version 1.02. These have been eliminated now with two
- exceptions. First, the port is set when a window handler
- is installed. The justification for this is that when a
- handler is installed, it is likely that further processing
- will be done on it immediately. The application gets control
- immediately after the handler is installed anyway, so this
- behavior can be manually overridden where necessary. Second,
- when a window is activated, the port is set to it. This
- follows the model of keeping the port in sync with the active
- window. (omh)
- 7/14/87 Added grow zone function installation and MoreMasters to SkelInit,
- which now requires two parameters. The first indicates the number
- of times to call MoreMasters. The second is a ProcPtr indicating
- a user-supplied grow zone function to be called when memory problems
- occur. If nil, no grow zone function is installed. (omh)
- 7/14/87 SkelMenu, SkelWindow, and SkelDialog now return zero or non-zero
- to indicate failure or success of handler allocation. This could
- break *all* previous TransSkel applications (as will the change to
- SkelInit, above. Please see the section "How to adapt old
- TransSkel to New" in the manual for detailed specifications on
- how to convert your old programs. TransSkel becomes more memory
- conscious with these changes. The functions SkelMenu, SkelWindow,
- and SkelDialog are the only routines which actually allocate
- memory. Since they may be called at any time, knowing that you
- have enough memory becomes important. Thus, these routines return
- a value to indicate what happened. If they return zero, then
- memory allocation failed. (omh)
- 10/21/87 Added another parameter to SkelMenu: drawBar:Boolean. This tells
- SkelMenu whether to draw the menu bar after adding the Menu. This
- is done to eliminate the menus popping up one at a time. Simply
- call SkelMenu with drawBar false until the last time you call
- SkelMenu, then call it (for the last menu) with drawBar true.(omh)
- 10/26/87 Removed declarations for zoom-in and zoom-out. Added Pascal changes (above)
- to C version. (omh)
-
- 02/02/88 Merged pd's 1.04 changes with those of omh, above, to create
- release version 2.0. Fixed bug whereby cmd-key equivalents
- for menu selections would execute twice if DA window in front.
- Thanks to Don Fredkin and Julian Vrieslander for finding this
- one. (pd)
- 12/07/88 Owen releases Pascal version 2.0, shaming Paul into finally
- working on getting the last changes on the C version done.
- The world rejoices :-)
- 02/02/89 v2.01. Turned out the cmd-key bug fix wasn't, quite. One
- year later, the bug is finally (I hope) fixed. (pd)
- */