home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 488.lha / TCL_alpha2 / Releases < prev    next >
Text File  |  1991-03-09  |  6KB  |  140 lines

  1. Hackercorp - Hackercorp - Hackercorp - Hackercorp - Hackercorp - Hackercorp
  2.  
  3. Release Alpha 2
  4.     - Tcla init commands now require an argument, that being a pointer
  5.       to the interpreter into which the init command is to install
  6.       their application-specific Tcl commands.  (The Alpha release docs
  7.       warned that this was forthcoming)
  8.  
  9.     - display command now has a "draw" command for line drawing
  10.  
  11.     - display command now has a "textlength" command to determine the
  12.        length in pixels of the specified text if it were to be displayed
  13.  
  14.     - tcla documentation improved
  15.  
  16.     - window command now lets you name the window within the
  17.       Tcl environment, rather than returning a "magic" window 
  18.       name that you had to provide to subsequent window calls
  19.  
  20.     - windows are now maintained on a per-interpreter basis.
  21.       (The window and menu data, etc, is contained within
  22.        the current interpreter via the clientdata capabiklity)
  23.  
  24.     - when an interpreter exits, all windows still open within that
  25.       interpreter are closed
  26.  
  27.     - an arbitrary number of windows are now supported per interpreter.
  28.       previously only 32 windows could be opened, total
  29.  
  30.     - each window can now have its own menustrip attached, fixing a really
  31.       gross restriction in the alpha release
  32.  
  33.     - menu.c Tcla library routines were folded into window.c and menu.c
  34.       was removed.  This was essentially dictated by the desire to use
  35.       the clientdata field as a pointer to data structures for windows
  36.       and menus, we have it at window command addition time because we
  37.       allocate it then, but we won't have it handy for menu command
  38.       addition time unless we add the menu right then.
  39.  
  40.     - added "window width name" to determine current width of a window
  41.     - added "window height name" to determine current height of a window
  42.         (these do not include borders, only the drawing area)
  43.  
  44.     - added "display textwidth text" to determine width in pixels of text
  45.     - added "display fontheight" to determine height of font in pixels
  46.  
  47.     - made "display move" make 0,0 the edge of the drawing area, not
  48.       the border
  49.  
  50.     - all global data has been removed from tcla library and globals are
  51.       now accessed indirectly through clientdata references (this will
  52.       greatly ease making tcla into a shared library, plus allow multiple
  53.       interpreters in a task to use the various tcla capabilities, plus is
  54.       more consistent with tcl)
  55.  
  56.     - Tcla_AddEventLoop command lets C interfaces register a routine
  57.       name and pointer to a longword wait event mask.  When the eventloop
  58.       command is running, all event-handling C routines that that have 
  59.       been registered via Tcla_AddEventLoop have their masks checked against
  60.       the wait flags returned by Wait and, if any bits are set in both,
  61.       the event-handling routine is called.)
  62.  
  63.     - all event loop event-handling routines with Tcla for windows, menus
  64.       and interprocessor communications, etc, have been modified to use
  65.       Tcla_AddEventLoop and have had all of their routine-specific code
  66.       removed from loop.c.
  67.  
  68.     - Tcl and Tcla are now a shared library
  69.  
  70.     - print, echo, source, exec and run commands now use AmigaDOS directly
  71.       (Open, Seek, Read, Write, Close, etc.) rather than going through the 
  72.       Manx  unix-compatibility routines (open, read, write, etc).  This
  73.       allowed them to be put into the shared library
  74.  
  75.     - Added a command, 'programs', which returns the names of all other 
  76.       programs that have Tcl messages ports to the shared library
  77.  
  78.     - added a command, 'commandloop' which gives you a Tcl command loop
  79.       to the shared library
  80.  
  81.     - added a command, 'random' to get random numbers.
  82.  
  83.     - went back to having 'window open' return a handle that is required
  84.       for the other window routines, rather than having a global namespace
  85.       (it just didn't work out)
  86.  
  87.     - window messages are replied to before message action is taken, that
  88.       way if a window close occurs, etc, we won't reply to a nonexistent
  89.       port, causing guru
  90.  
  91.     - erroneous reporting of double panics when multiple tcla library
  92.       programs panic fixed -- static data was present in the panic
  93.       routine, it has been moved to the per-task TclaHeader structure.
  94.  
  95.     - panic now works
  96.  
  97.     - panic is now callable as a Tcl command for testing.  I don't see
  98.       a real application for it for which 'error' wouldn't be better,
  99.       but who knows?
  100.  
  101.     - programs using tcla.library can now supply a panic routine to be 
  102.       called in place of the panic routine Tcla calls by default if Tcla 
  103.       encounters an unrecoverable condition.  A panic routine can be
  104.       supplied to Tcl via the Tcla_PanicRoutine call.  If no routine is
  105.       specified a default routine puts up a requester, then after the
  106.       user responds follows cleanup logic described below
  107.  
  108.     - programs using tcla.library can now supply a cleanup routine to be
  109.       called in place of the Tcla cleanup routine.  This is called after
  110.       a panic.
  111.  
  112.     - programs using tcla.library can now supply a low-memory routine.
  113.       This is done through the Tcla_LowMemRoutine call.
  114.  
  115.     - random now keeps the seed on a per-task basis, so programs can
  116.       get deterministic behavior out of random (by seeding with a
  117.       constant) for testing purposes
  118.  
  119.     - added a little tcl help application
  120.  
  121.     - added font command, with options to open and close fonts, and to
  122.       get a list of fonts available on the system
  123.  
  124.     - added an option to display to select a current font for the window
  125.  
  126.     - made fontheight option of the display command use the current font
  127.       rather than the default
  128.  
  129.     - added fonstyle option to display command so Tcl programs can get
  130.       a font soft-styled to the various options
  131.  
  132.     - added code to support hit, toggle, string and integer gadgets
  133.  
  134.     - added "default" option to "display font"
  135.  
  136.  
  137. Release Alpha        2/26/90
  138.     - The Epoch
  139.  
  140.