home *** CD-ROM | disk | FTP | other *** search
/ Garbo / Garbo.cdr / mac / progrmng / transklc.sit / TSHistory.c.bin / TSHistory.c
Encoding:
Text File  |  1989-02-08  |  5.2 KB  |  95 lines  |  [TEXT/KAHL]

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