home *** CD-ROM | disk | FTP | other *** search
/ RISC DISC 1 / RISC_DISC_1.iso / pd_share / code / desklib / Docs / Updates < prev   
Encoding:
Text File  |  1994-05-29  |  28.0 KB  |  688 lines

  1. Updates between DeskLib versions:
  2.  
  3. 2.10 (June 1994) -------------------------------------------------------------
  4. MOVED
  5.   I've moved !TestApp into the new Examples directory
  6.  
  7.  
  8. AMENDED
  9.   My contact addresses mysteriously changed, coincidentally at the same time
  10.   as I moved to England and started working at Computer Concepts.
  11.   See the end of 'AboutDL' for my new addresses.
  12.  
  13.   Doc.Blanks.Makefile
  14.     Updated this for the new make system (I missed it the last time around)
  15.  
  16.   Core
  17.     BOOL is now an unsigned rather than signed int, to allow 1-bit BOOL
  18.     bitfields.
  19.  
  20.   Coord
  21.     Changed to new help-comment format comments
  22.  
  23.   Dialog
  24.     A couple of bugfixes to the dialogue code
  25.  
  26.   Event
  27.     Fixed bug in NULL event handling (NULL events were not included in
  28.     event_ANY claims, but were in included in event_ANY releases, so were
  29.     often disabled when they should not have been).
  30.     event_ANY now definitely does NOT include NULL events, 'cos they're special
  31.  
  32.     **** IMPORTANT ****
  33.     Claims of events for any window (with event_ANY) are now added to the
  34.     HEAD of the event list rather than the TAIL. This means that you can add
  35.     a temporary event OVERRIDE to a window - the old system meant that you
  36.     could only intercept events that were not otherwise already processed
  37.     by the window.
  38.  
  39.   File
  40.     Fixed File_Delete (to save registers v1, v2 over the SWI call)
  41.  
  42.   Icon
  43.     Icon_GetText has been slightly modified so it won't blow up if you have
  44.     an indirected icon which does not contain text or a sprite. It now also
  45.     terminates the string at the first control character discovered, rather
  46.     than expecting the string to be zero terminated
  47.  
  48.     Icon_SetText, Icon_printf, Icon_SetTextRJ, Icon_SetInteger, Icon_SetDouble
  49.     now all ensure that when setting the text in an icon containing the caret,
  50.     the caret is not left in the wrong place
  51.  
  52.   Handler
  53.     Minor change (all functions now include handler.h)
  54.  
  55.   Misc
  56.     All strong handling functions have moved to the new 'Str' sublibrary
  57.  
  58.   Mem
  59.     Mem_MidExtend now returns TRUE if you ask it to extend by 0 bytes, so
  60.     you shouldn't have to special-case this case any more.
  61.  
  62.     Several serious bugs ironed out of Mem_Compact
  63.  
  64.   Menu
  65.     Small changes to NewMenu.c to calculate MenuWidths better, and not
  66.     indirect menu items if they are exactly 12 characters long.
  67.  
  68.   StringCR.h
  69.     All definitions from this file are now in the new 'Str.h' header.
  70.     StringCR.h remains for backwards compatability.
  71.  
  72.   Template
  73.     Fixed rampant bug in template ClearAll and Delete (trying to free memory
  74.     that wasn't malloc'd!)
  75.     ClearAll also now releases any fonts that were in use by the discarded
  76.     templates.
  77.     Template loading now truly appends templates to the current list rather
  78.     than destroying the old list.
  79.  
  80.   Window
  81.     Window.h now includes a prototype for Window_BringToFront
  82.     Added open_CENTEREDUNDERPOINTER open mode for Window_Show
  83.     Window_Delete now also releases all EventMsg claims
  84.     Window_Create now returns 0 if it fails
  85.  
  86. ADDED
  87.   Added Erik de Kort's small OpenDirH program to !DeskLib, so now double-
  88.   clicking !DeskLib opens the headers without obscuring the icon bar.
  89.   (RISC OS 3 only. If you haven't got RO3, upgrade)
  90.  
  91.   Added Docs.HelpCommnt and Blanks.HelpCommnt.*
  92.   This describes how to generate machine-readable comments in your sources
  93.   that can be compiled with Tim Browse's up-coming help compiler. The help
  94.   will then become an on-line hyperlinked database (StrongHelp or WordWorks
  95.   HyperView) rather than scrappy bits of text spread over hundreds of
  96.   header files.
  97.  
  98.   ColourTrans
  99.     Added veneer for ColourNumberForMode SWI
  100.  
  101.   Coord
  102.     Added RectUnion
  103.  
  104.   Core.h
  105.     Added UNUSED_ARG, MIN, MAX, and OSCLI macros
  106.  
  107.   Dialog
  108.     Addition of Hide and ShowAt functions
  109.  
  110.   Drag sublibrary
  111.     This simplifies dragging by providing a central handler system, into which
  112.     you can plug handlers specific to each drag when the drag is started.
  113.     These handlers are automatically discarded when the drag completes.
  114.     This addition includes the Event handlers DragNULL & DragFinish, and
  115.     the stuff in the Drag sublibrary (Drag_Initialise, Drag_SetHandlers)
  116.     See Drag.h for details.
  117.  
  118.   File
  119.     Added File_Date and File_SetType
  120.  
  121.   GFX
  122.     Added GFX_GCOL macro
  123.  
  124.   Handler_HatchRedraw.
  125.     This redraws a hatch pattern across a window. Useful when developing a
  126.     program but haven't written a redraw handler, so you can see that
  127.     something is happening.
  128.  
  129.   Hourglass
  130.     The hourglass swi veneer macros (in hourglass.h) have now been replaced
  131.     by proper SWI veneer functions.
  132.  
  133.   Icon
  134.     Icon.SetCol, two small functions to set the foreground and background
  135.     colours of a (non-outline-font) icon.
  136.  
  137.     Icon_SetTextRJ; similar to SetText, but right-justifies the text in the
  138.     icon string buffer (i.e. if the string is too long, it is truncated at
  139.     the beginning rather than at the end)
  140.  
  141.     Addition of the following code files by Tim Browse:
  142.       BarIconUse
  143.       FileIcon
  144.       GetBgCol
  145.       GetFgCol
  146.       GetTextPtr
  147.       ScreenPos
  148.       SelectGroup
  149.       ShadeGroup
  150.  
  151.   Kbd
  152.     Added GetModifiers function, which reads the up/down state of modifier
  153.     keys (Alt, Ctrl, Shift)
  154.  
  155.   KernelSWIs
  156.     Added this sublibrary, which provides veneers for OS_Byte and OS_Word
  157.  
  158.   Mem
  159.     Added Mem.CheckHeap, a function for debugging which checks the
  160.     integrity of the heap.
  161.  
  162.   Menu
  163.     Menu.GetText: A function that returns a pointer to a menu item text buffer
  164.  
  165.     Menu.GetFlags: A function to read a menu item's flags
  166.  
  167.     Menu.Warn: A function that registers a message_MENUWARN handler with
  168.     EventMsg, and sets a menu item's flags to make it produce such a message.
  169.  
  170.     Menu.RemItem: A function to remove an item from an existing menu structure
  171.  
  172.   Module
  173.     A new sublibrary supporting the OS_Module SWI.
  174.     Currently provides OS_Module Claim and Free functions
  175.  
  176.   PDriver
  177.     PDriver.h now has a more constants defined, tidier comments, & RO3 support
  178.  
  179.   Save
  180.     A save-as window handler sublibrary
  181.  
  182.   Serial
  183.     Veneers and handlers for accessing the serial port - see Serial.h
  184.  
  185.   Sprite
  186.     A whole heap of new veneers, plus Sprite_LoadFile
  187.  
  188.   Str
  189.     New String sublibrary. This includes all the 'StringCR' stuff, plus
  190.     some new ANSI-like string handlers, plue LeafName (returns the leaf
  191.     name from a full RISC OS pathname string) and other functions such
  192.     as decoding hexadecimal strings, etc. See Str.h for details.
  193.  
  194.   Template
  195.     Added Template_UseSprites function; Call this before using templates
  196.     to make them use sprites from a user sprite area instead of the
  197.     WIMP sprite pool
  198.  
  199.   Time
  200.     Added SWI veneers for time conversions ConvertDateAndTime and
  201.     ConvertStandardDateAndTime.
  202.  
  203.   WAssert
  204.     A new sublibrary providing a WIMP (Wimp_ReportError) based assertion
  205.     system (Used while developing a program to check if certain conditions
  206.     that should be met in your code actually ARE being met in your code).
  207.     See WAssert.h for details of its use.
  208.  
  209.   Wimp
  210.     Added mouse button value constants (button_SELECT etc) to Wimp.h
  211.  
  212.  
  213.  
  214. 2.05 (inadvertently released ?) ----------------------------------------------
  215.  
  216. ADDED
  217.   Kbd
  218.     Kbd_GET, an OS_ReadC veneer, similar to BASIC's GET command - returns the
  219.     ASCII code of the next keypress in the keyboard buffer (or waits for
  220.     the user to press a key if the buffer is empty)
  221.  
  222. AMENDED
  223.   DragASprite
  224.     DragASprite_DragIcon now works properly under RISC OS 2 as well as 3.
  225.     It turned out the parent bounding box maximum was being set to &FFFFFFFF
  226.     (-1) instead of &7fffffff (the maximum possible positive integer).
  227.     Under RO3 this didn't matter, but RO2 then put the drag box offscreen
  228.     (i.e. it worked fine except the dragbox was 'invisble'!
  229.  
  230.   PDriver.h
  231.     The prototype for EnumerateJobs was missing its argument!
  232.  
  233.   Window
  234.     Window.c.ParentName fixed (was copying only 8 characters of the name
  235.     instead of 12 (wimp_MAXNAME)).
  236.  
  237.  
  238. 2.04 (July 1993) -------------------------------------------------------------
  239.  
  240. Updated the !DeskLib !Run file - now uses Filer_CloseDir on the header dir.
  241. before trying to open it, so that it is now never lost off-screen.
  242.  
  243. Added Wimp_ReportErrorR, which returns the flags to you indicating which
  244. button (OK/Cancel) on the Wimp_ReportError dialogue was clicked by the user.
  245. (source in WimpSWIs.s.Wimp40R). See WimpSWIs.h
  246.  
  247. Added Wimp_Poll3 and Wimp_PollIdle3.
  248.  
  249.  
  250. 2.03 (July 1993) -------------------------------------------------------------
  251.  
  252. Important - Please note that Event_ and Wimp.h now support more RISC OS 3
  253. functionality. Specifically, Wimp_Initialise has a new parameter (message
  254. list) on the end - to re-link with this version of the library, you will need
  255. to upgrade any Wimp_Initialise calls in your code (add a NULL onto the end of
  256. the list of parameters to Wimp_Initialise). You can of course take this
  257. opportunity to upgrade your code to use the new features the RISC OS 3
  258. makes available. Note that you'll also need to use LibFile to re-make the
  259. WimpLib if you use it separately.
  260.  
  261. Along similar lines, you can now call Event_Initialise3() in place of
  262. Event_Initialise to do a proper RISC OS 3 Wimp_Initialise, passing in a
  263. list of accepted messages, etc. Event_Initialise provides the same (RISC OS 2)
  264. functionality as before.
  265.  
  266.  
  267. MISCELLANEOUS modifications
  268.   Modified the Libraries.!MakeDLib obey file. Each sublibrary is now compiled
  269.   by invoking an alias 'DLibMake', which makes the file shorter and more
  270.   readable, and also allows you to more easily modify the way in which
  271.   sublibraries are compiled.
  272.  
  273.   Modified the Clean obey files - they now won't abort if a file is missing.
  274.  
  275.   Modified the Makefiles to make everything tidier.
  276.   Now, in the obey file Libraries.!MakeDLib, you can set 3 amu variables:
  277.     x_cflags - c compiler extra flags
  278.     x_aflags - objasm extra flags
  279.     do       - What to do to create the sublibrary
  280.  
  281.   This allows you to do some important things:
  282.     x_cflags=-Ff
  283.       This is the new default, which reduces the library code size by about 5%.
  284.       However, when debugging, you may like to recompile the library with the
  285.       'f' removed, so that you can find the names of the functions being
  286.       called as you debug.
  287.  
  288.     do="Create $@ 1"
  289.       This will minimise disc space used by the library (by creating 1-byte
  290.       'sublibraries' instead of compiling them properly - the file is needed
  291.       so amu knows the sublibrary is up to date)
  292.  
  293.     do="LibFile -c -o $@ @.o.*"
  294.       This will create each sublibrary - you can then use the sublibrary files
  295.       to link with instead of the main DeskLib library (eg WimpLib is quite
  296.       handy on its own, and is only 18kB rather than DeskLib's >100kB, a very
  297.       useful thing if you're developing of floppies!)
  298.  
  299.  
  300.   Updated the TestApp- now does the following extra things:
  301.     * Uses outline fonts, and gets them right if you change screen modes
  302.     * Changes the window title if you click the menu item 'Change title'
  303.       when you brought the menu up from a window (else that item is shaded)
  304.  
  305.  
  306. BUGS which have been fixed:
  307.   Font
  308.     Fixed a major set of bugs due to a small and harmless-looking typo in the
  309.     Font sublibrary - most of the font calls would return a non-zero value
  310.     if no error occurred, and a zero value if an error occurred (i.e. the
  311.     opposite of what they should have been doing: MOVVS r0, #0 instead of
  312.     MOVVC r0, #0)
  313.     This affects most font calls, but you'll only notice a difference if you
  314.     check the returned error - the SWIs worked fine, but returned incorrect
  315.     error-return-values - all other return values were unaffected.
  316.  
  317.   ColourTrans, DragASprite
  318.     Similar problems were also removed from the assembler veneers for the
  319.     ColourTrans, DragASprite, and PopUp sublibraries - namely that the return
  320.     values were not consistent with the definitions given in the headers.
  321.     I'll keep a closer eye on this in future!
  322.  
  323.   Icon
  324.     Icon_BarIcon, Icon_GetText, Icon_Set(Integer/Double/Text), Icon_printf
  325.     previously did not correctly terminate strings correctly if they were too
  326.     long to fit in the icon.
  327.     Icon_BarIcon now uses sprite_MAXNAME rather than wimp_MAXNAME for copying
  328.     the sprite name (though these constants are both 12, so there is no
  329.     effective difference)
  330.  
  331.   Menu
  332.     No longer trashes your machine with indirected menu items (Menu_New)
  333.  
  334.   PopUps
  335.     'bugs' removed from the PopUp.h header file's example code segments
  336.     SWI veneers fixed up - they didn't quite correspond to the prototypes
  337.     given in the headers.
  338.  
  339.   Template_Clone
  340.     Now terminates copied strings properly.
  341.  
  342.  
  343. MODIFICATIONS
  344.   Error
  345.     Upgraded OtherSrc.c.Error and Error.h to new code submitted by P.Colmer.
  346.     Now Error_Report and Error_ReportFatal (and "Internal" versions of these)
  347.     take variable arguments - they can still be used exactly as before, but
  348.     you can now include any 'printf' style arguments to save having to
  349.     pre-assemble a string to pass in.
  350.  
  351.   Event
  352.     Upgraded Event_Initialise to call the new function Event_Initialise3
  353.     with a required WIMP version of 200 (RISC OS 2 WIMP), to add support
  354.     for RISC OS 3, and the new non-zero-pollword events.
  355.  
  356.   Resource
  357.     This has now been moved from Misc to its own (Resource) sublibrary.
  358.     Also added replacement call for Resource_Initialise,
  359.     Resource_InitialisePath, which allows you to use DeskLib functions
  360.     to load Templates, messages, etc. from a path ("AppName:Templates")
  361.     rather than a directory ("<AppName$Dir>.Templates") - useful for adding
  362.     support for internationalisation.
  363.  
  364.   Template
  365.     Added support into Template_Clone for a new 'maxtitlesize' value of
  366.     template_TITLEMIN (-1) which will allocate as much room for the title
  367.     as declared in the template definition.
  368.  
  369.     Added support for outline fonts into Template loading.
  370.     (See the end of Template.h for details of the new calls)
  371.  
  372.   Template, Handler, Window
  373.     Added code to fix any windows/templates you are using which contain icons
  374.     using outline fonts whenever a mode change necessitates it (On some mode
  375.     changes outline fonts will otherwise become the wrong size as the font
  376.     manager doesn't re-cache them).
  377.  
  378.     This functionality required addition of:
  379.     Font.c.LoseAll         Lose all fonts in a Template_Load style font
  380.                            usage array
  381.     Handler.c.ModeChange   Replacement for old ModeChange handler - does the
  382.                            same as before, but if you are using outline fonts
  383.                            (you have called Template_UseOutlineFonts()) it
  384.                            fixes all your fonts if necessary. Note that this
  385.                            only works on templates loaded with Template_ calls
  386.                            and windows opened with Window_ calls.
  387.     Template.c.UseOutFont  Function to call BEFORE Template_LoadFile to set up
  388.                            a font usage array and exit-handler to lose any fonts
  389.                            you were using.
  390.     Window.c.ModeChange    Function to call to fix outline fonts in all windows
  391.                            and templates. Called by Handler_ModeChange()
  392.  
  393.     Appropriate changes have been made to the relevant header files.
  394.  
  395.   Wimp SWI veneers
  396.     WimpSWIs.s.Wimp01 (Wimp_Initialise) has now been modified to support
  397.     the new RISC OS 3 parameter (the message list). This call is still
  398.     RISC OS 2 compatible, but those of you calling Wimp_Initialise directly
  399.     will need to add a NULL onto the end of your initialise call, e.g.
  400.       Wimp_Initialise(&version, "MyTask", &taskhandle);
  401.     will become:
  402.       Wimp_Initialise(&version, "MyTask", &taskhandle, NULL);
  403.  
  404.   Window
  405.     As well as the additions mentioned in the bit above,
  406.     changes have also been made to the internal window information structure
  407.     as used by the Window.c files. (The window template name is now
  408.     WIMP_MAXNAME+1 characters long (13) rather than 9 characters long)
  409.  
  410.  
  411.  
  412. ADDITIONS
  413.   Event
  414.     Added Event_Initialise3() to Event.c.Event. This more or less replaces
  415.     Event_Initialise with a new call that will initialise the RISC OS 3 WIMP
  416.     and allow you to pass in the list of desired messages. You should not use
  417.     Event_Initialise with WIMP version numbers greater than 200 - use
  418.     Initialise3 instead. [If you desire RISC OS 2 compatability, you MUST
  419.     call Event_Initialise]
  420.     This also allows the support for non-zero pollword events now available
  421.     under RISC OS 3. Thanks to P.Colmer.
  422.  
  423.   File
  424.     Added File sublibrary, which gives calls for opening, closing, reading and
  425.     writing (bytes, words, words with endian-conversion, chunks),
  426.     getting/setting the file position, and misc operations (reading file size,
  427.     deleting a file, checking if a file exists). These are all veneers for
  428.     OS_File/GBPB/BGet SWIs, and may be preferable to stdio functions in some
  429.     circumstances, as they are faster than stdio calls, and also are easier
  430.     to use in conjunction with other systems that work with RISC OS file
  431.     handles (rather than C's (FILE *))
  432.  
  433.     Added some test code for File_ calls to TestApp. This test code can be
  434.     found in "!TestApp.Test c" - you can add it back into the test app if you
  435.     feel keen to try it out! It also might be of use as an example of use of
  436.     the file calls, though they're pretty simple!
  437.  
  438.   GFX
  439.     Added GFX_VDU (and alias VDU), an OS_WriteC veneer
  440.  
  441.   Mem
  442.     Added Mem_MoveAnchor, which allows you to move the anchor for a memory
  443.     chunk into another variable. Very convenient in some circumstances
  444.     (i.e. I had an anchor in an array, and wanted to allocate a new chunk,
  445.      and some time later replace the old chunk with it in the array - this is
  446.      now possible by simply moving the anchors for the two blocks into new
  447.      storage locations as appropriate)
  448.  
  449.   PopUps
  450.     Added Docs.ModuleNote.PopUps which gives a bit more help and example code
  451.     on using PopUp windows from DeskLib C code.
  452.  
  453.   Sprite
  454.     Added 3 new Sprite functions - a veneer for SpriteOp 62 (read save area
  455.     size) and functions to return the size (in bytes) of a sprite, given its
  456.     vital parameters, and the size of a sprite needed to fill a window's icon.
  457.     Thanks to Tom Kirby-Green for this submission.
  458.  
  459.   Wimp.h
  460.     Wimp.h has been upgraded: icon_flags now include a third struct in
  461.     the union which allows you to directly access the font handle with
  462.     icon.font.handle instead of having to mask it out of icon.value
  463.  
  464.     Wimp.h now has extra support for RISC OS 3, relating mainly to wimp
  465.     pollwords and non-zero pollword events. Some new event mask bit
  466.     definitions have been added.
  467.  
  468.   Window
  469.     Added Window.c.SetTitle, which allows you to set the text of a window title
  470.     and update the correct bit of the screen, even when using odd sized
  471.     toolsprites, etc. (And better than win_settitle because it doesn't crash if
  472.     the icon is non-indirected, it bothers to terminate the string if it had
  473.     to truncate it to make it fit, and it doesn't try to force redraw part of
  474.     the screen if the window isn't actually OPEN!)
  475.  
  476.     Also added Window_ModeChange, as described above (Modifications to
  477.     Template)
  478.  
  479.  
  480. 2.01 (May 1993) --------------------------------------------------------------
  481. Apologies to all DeskLib users out there for the long (1 year) delay between
  482. releases, and for all the bugs and missing bits in the library. This delay
  483. was caused by my thesis and other things taking too much of my time. I hope
  484. that I will be able to continue DeskLib updates at a more reasonable pace
  485. in the future... I have jumped from version 1.04 to version 2.00 to reflect
  486. the reasonably large update, to stress the newness of this version, and
  487. to make you feel as if something must have been done between this and the
  488. last release! ;-)
  489.  
  490. Note that although DeskLib is now supporting RISC OS 3 functions, it is still
  491. RISC OS 2 compatible. Also, some things (such as Wimp_Initialise under RISC
  492. OS 3) have not yet been implemented, mainly due to a total lack of any
  493. documentation on the subject. This will hopefully change for the better in
  494. the not too distant future...)
  495.  
  496. Apologies to anyone who needs to adjust their code because of changes to the
  497. library headers. These changes were deemed necessary for one or more of the
  498. following reasons in each case:
  499.   * To make it work!
  500.   * To remove unnecessary incompatabilities with compilers other than Desktop C
  501.   * (as a side effect) To improve consistency/readability
  502.  
  503. You can, of course, stick with the old definitions in the headers if you
  504. prefer them. Most people I know have their own random perturbations of the
  505. original header files anyway!
  506.  
  507.  
  508.   Additions
  509.     Added sublibraries:
  510.       ColTrans       Assembler interfaces to 4 ColourTrans SWIs
  511.  
  512.       DragASpr       3 Routines for using DragASprite
  513.                      I especially direct your attention to
  514.                      DragASprite_DragIcon() which is excellent!
  515.                      (c.f. macro "Icon_StartSolidDrag" defined in icon.h)
  516.                      
  517.       Filter         Assembler interfaces to RISC OS 3 FilterManager SWIs
  518.  
  519.       Font           Assembler interfaces to 23 Font SWIs
  520.  
  521.       Kbd            Assembler function to check if a key (e.g  SHIFT, CTRL)
  522.                      is currently depressed. (No function yet to cheer it
  523.                      up if it is, though ;-)
  524.  
  525.       Menu           Simple menu creation and manipulation functions along
  526.                      similar lines to those in RISC OS lib. (A proper menu
  527.                      template system is planned in conjunction with Glazier
  528.                      for the future, but I needed to fill this gap NOW!)
  529.  
  530.       Mem            'flex'-like dynamic memory manager for multitasking
  531.                      applications. However, 'better' than flex, as it
  532.                      compacts its heap much more efficiently than the
  533.                      equivalent operation from flex (you call the Mem_Compact
  534.                      function just before Wimp_Poll). It also guarantees
  535.                      that blocks will not move around to a much higher degree
  536.                      than flex does, giving you more freedom.
  537.  
  538.       Sound          Routine to sound a system beep (VDU 7!)
  539.  
  540.     Added functions to:
  541.       GFX            Added GFX_Write0() and GFX_WriteN()
  542.  
  543.       Icon           Added Icon_SetSelect(), Icon_SetShade(), and
  544.                      Icon_DisposeIndData()
  545.  
  546.       Misc           Added Dispatch(), a generic function dispatcher, and
  547.                      new stringcr functions (strcmpcr, strcatcr, strcpycr)
  548.  
  549.       Sprite         Added 6 new SWI veneers
  550.  
  551.     Added more definitions to:
  552.       KeyCodes.h
  553.  
  554.   Subtractions
  555.     The REDRAW (3-d icon border redraw) code has been discontinued because:
  556.       a) RISC OS 3.10 includes this feature for you, and
  557.       b) DeskLib actively supports RISC OS 3.10 onwards and no longer has
  558.          any sympathy for people without it! (though all non-RISC-OS-3
  559.          specific portions of it still work fine with RO2, this cannot be
  560.          guaranteed for the future)
  561.      For this reason, Icon_Select3d, Icon_Deselect3d, and Handler_Redraw3d
  562.      have also been removed.
  563.      If you have code which uses any of the above, then either copy them
  564.      forward from your old DeskLib or convert your program to use RISC OS
  565.      3.10 borders!
  566.  
  567.  
  568.   BugFixes/Modifications
  569.     Generally:
  570.       Touched up the docs. PLEASE NOTE my change of email address!
  571.  
  572.       Rewrote all the makefiles. Now much smaller, tidier, and easier to both
  573.       understand and maintain, as well as more informative during Makes.
  574.       Redirected LibFile through a 'via' file (!Objects).
  575.       (It's wonderful what you can find out by reading the manual ;-)
  576.  
  577.       Moved "Template.c.strlencr" to "Misc.c.strlencr" (see strlencr.h, below)
  578.  
  579.       Slightly improved some of the Docs and quickrefs.
  580.  
  581.     Coord:
  582.       Fixed some stunningly obvious and totally wrong prototypes and
  583.       #defines in Coord.h, particularly the Coord_YTo... macros.
  584.  
  585.     GFX:
  586.       Most GFX commands have been converted to more efficient assembler
  587.       versions. The header reflects slight changes (e.g. GFX calls now no
  588.       longer return os_errors).
  589.       Fixed a harmless bug in GFX_CLG.
  590.       Made some GFX macros in GFX.h a bit nicer to read
  591.       Fixed GFX_Circle and GFX_CircleFill (used to use x+r instead of r!)
  592.  
  593.     Handler.ClickOK.c:
  594.       Now doesn't do anything if icon clicked with MENU.
  595.  
  596.     Icon:
  597.       BarIcon.c fixed to take icon size from the sprite correctly
  598.       Macro Icon_StartSolidDrag added as an alias for DragASprite_DragIcon
  599.       SetDouble modified to correctly fill in the right number of decimal
  600.       places.
  601.       SetCaret will now refuse to place the caret into a shaded icon.
  602.  
  603.     LinkList.h:
  604.       InitItem macros added - now use Init() to init an anchor and InitItem()
  605.       to init an item, which will make it easier to replace the workings of
  606.       the list manager seamlessly.
  607.       Also modified these macros so that they will function corrrectly in the
  608.       following code:
  609.         if (whatever)
  610.           LinkList_InitItem(blah);
  611.       Redefined LinkList_{Next|Previous}Item() to make them nicer to use -
  612.       instead of using LinkList_NextItem(&thing.header), you can now use
  613.       LinkList_NextItem(&thing); (note that both syntaxes are fine now)
  614.       The Makefile for ListLib now also includes ListLength.c
  615.  
  616.     Misc Resource.c:
  617.       Now adds terminator to string after strncat to ensure that the string
  618.       is terminated if you supply too long a name.
  619.  
  620.       **** Important
  621.       strlencr has been moved into the Misc sublibrary.
  622.       strlencr() has been modified to make it functionally equivalent to
  623.       the ANSI function strlen() - that is, it now returns a value 1 LESS
  624.       than it did under 1.04 (i.e. it doesn't include the terminator any more)
  625.       All routines within DeskLib which use this function have been modified
  626.       accordingly.
  627.  
  628.     Sprite:
  629.       Sprite.h tidied up, and parameter types slightly modified. 'sprite' and
  630.       'sprite_area' pointer typedefs fixed (previously used old names for the
  631.       definitions, so were totally incorrect)
  632.  
  633.     strlencr.h
  634.       This has been renamed to 'stringcr.h', and now includes more than one
  635.       cr-terminated string handling function. (Correspondingly, a slight
  636.       modification of Template.h.TemplDefs to #include this new header)
  637.  
  638.     Wimp.h:
  639.       window_ICONBAR changed from -1 to -2
  640.       message_destinee changed to a 'typedef int' instead of a union
  641.  
  642.       window_block structure used to use shorts for minwidth and minheight.
  643.       This has been changed to minsize.x and minsize.y (both for consistency
  644.       and compatability with the Risc Developments compiler)
  645.  
  646.       window_flags structure modified to use the normal DeskLib form for
  647.       flag-words (flag.value plus flag.data.*)
  648.  
  649.       iconvalid_BORDERTYPE changed from 'B' to 'R' (RISC OS 3, 3.10 onwards)
  650.  
  651.       Added definitions for message_WINDOWINFO (used for iconisation)
  652.       and message_MENUSDELETED (warning when a menu is closed)
  653.  
  654.       Added windowcol_XXXX defines to make accessing a window's colours
  655.       easier (i.e. window->colour[windowcol_WORKBACK] = colour_RED)
  656.  
  657.       Added colour_TRANSPARENT (= 255)
  658.  
  659.       Added message_menuwarn structure definition
  660.  
  661.     WimpSWIS:
  662.       Several function prototypes changed. Some were prototyped as accepting
  663.       a union which contained either a data set or a 'value' int. Unfortunately
  664.       the compiler baulks at this, so these have been changed to 'int's. This
  665.       now means that you need to pass in 'whatever.value' to these functions.
  666.  
  667.       Added Wimp_CommandWindow prototype, which somehow got missed out
  668.       last time!
  669.       Wimp_DeleteWindow fixed (now actually deletes the window! Wow!) 
  670.  
  671.     Window:
  672.       GetInfo.c: '&block' changed to '&block[0]'
  673.       Show.c:    Showing a window with open_NEARLAST now modified to open
  674.                  the very first such window centered. Also, only windows
  675.                  opened with NEARLAST will now affect the position of
  676.                  succeeding NEARLAST windows.
  677.  
  678.     Template.Clone.c
  679.       Modified to use the new form of strlencr()
  680.  
  681.  
  682. 1.04 31/05/92 ----------------------------------------------------------------
  683.   BugFixes/Modifications:
  684.     A minus changed to a plus in Coord_Convert routine (should now work!)
  685.     Extra fields added to the menu_flagword struct
  686.     Incorrect definitions of message_Data(Load/Save/SaveAck) fixed
  687.       -replaced incorrect "wimp_box" with "wimp_point"
  688.