1. 17 Oct, 2019 2 commits
    • Robert Sprowson's avatar
      Const-ify toolboxlib · 8b41f5b9
      Robert Sprowson authored
      Get the pointer type right for those things that are really const (generally, these are the <gadget>_set_<thing> methods), to benefit from tighter type checking, and to avoid having to add needless casts back to the non-const type.
      * Update the heading blocks for the exported headers to refer to RISC OS generically rather than Archimedes and Risc PC specifically
      * Backfill into the defs those methods that have been added by hand over the years
      * Correct the type for toolbox_template_lookup() which returns an ObjectTemplateHeader pointer
      * Remove redundant defs/sliderold
      * Add missing library entries for stringset_set_font and actionbutton_set_font, both of which appear in the headers and User Interface Toolbox manual but had no supporting implementation
      * Embedded __version symbols are taken from VersionNum
      
      As the generated C files now have licence prefixes of various vintages, the updated sources were generated with !MethodGen then the differences merged by hand.
      Tested in an IOMDHAL ROM build (so the Toolbox modules themselves build), and a Disc build (where there are several Toolbox applications). The exported headers are self consistent, because these are included by ToolboxLib itself, and hence checked by the compiler.
      
      Version 1.17. Tagged as 'ToolboxLib-1_17'
      8b41f5b9
    • Robert Sprowson's avatar
      Updates to !MethodGen · d856180e
      Robert Sprowson authored
      Blow some cobwebs off !MethodGen
      * Fix bug whereby once a regs_set had been enabled it wasn't possible to remove it (for example, 3 regs to 2 regs) as the RegisterSet_rN bitfield was never cleared.
      * Remove a trailing space from the "Description :" line to reduce diffs with CVS/Git
      * Minor edits to cater for C99's stricter checking
      * Remove redundant call to __kernel_register_slotextend() which flex_init() does itself
      
      Binary rebuilt with cc 5.78 in the Disc environment.
      d856180e
  2. 09 Sep, 2018 1 commit
  3. 23 Mar, 2018 1 commit
    • Robert Sprowson's avatar
      Add defines for extra ActionButton flags · f2bec2fb
      Robert Sprowson authored
      The Window module supports opening at pointer or at centre (both in the template definition, and via Set|GetClickShow. Add defines to reflect this.
      
      Version 0.27. Tagged as 'Libs-0_27'
      f2bec2fb
  4. 02 Mar, 2018 1 commit
    • Robert Sprowson's avatar
      Finalisation fix, docs & header improvment · 41559c37
      Robert Sprowson authored
      The error check on eventlib finalisation was reversed in sense, so no error returned before resetting the id_block and mask values.
      Clarify eventlib's use of malloc() in its docs for reduced head scratching.
      Add missing const qualifier to wimp_report_error() prototype.
      
      Add some stripdepnd's so cleaning also restores the makefiles.
      
      Version 0.26. Tagged as 'Libs-0_26'
      41559c37
  5. 26 Feb, 2016 1 commit
  6. 15 May, 2015 1 commit
  7. 28 Apr, 2014 1 commit
  8. 16 Jan, 2013 1 commit
  9. 11 Feb, 2012 1 commit
    • Robert Sprowson's avatar
      Added missing Wimp SWIs to wimp.h · 0b7e9ec0
      Robert Sprowson authored
      Added missing HelpEnable message to wimp.h
      Changed a hardwired '1' for the default event__mask to use symbolic name
      instead.
      
      Version 0.22. Tagged as 'Libs-0_22'
      0b7e9ec0
  10. 04 Feb, 2012 1 commit
    • Jeffrey Lee's avatar
      Fix slider_set_bounds, slider_get_bounds parameter order · 005a1936
      Jeffrey Lee authored
      Detail:
        toolboxlib/h/gadgets, toolboxlib/sources/slider/c/getbound, toolbloxlib/sources/slider/c/setbound - The slider_set_bounds and slider_get_bounds functions were passing the upper and lower bounds to the toolbox SWIs in the wrong order, causing the bounds to be inverted.
        By swapping the order in which the parameters are passed to the SWIs, and swapping the order of the parameters in the function declarations, the parameters are now passed through in the correct order, without breaking any existing code.
        Additionally, the parameter order of the functions now matches the register order of the underlying SWIs.
      Admin:
        Tested briefly
      
      
      Version 0.21. Tagged as 'Libs-0_21'
      005a1936
  11. 26 Jun, 2009 1 commit
    • Ben Avison's avatar
      Added install rule · 05825939
      Ben Avison authored
      Admin:
        This is only intended for use when building the disc image for the C/C++ CD.
      
      Version 0.20. Tagged as 'Libs-0_20'
      05825939
  12. 11 Jun, 2009 1 commit
    • Ben Avison's avatar
      #include file pathnames changed · 187f9ace
      Ben Avison authored
      Detail:
        Uses suffixed file extensions for compatiblity with both Norcroft and GCC.
      Admin:
        Supplied by Peter Naulls, tested at ROOL
      
      Version 0.19. Not tagged
      187f9ace
  13. 24 Apr, 2008 1 commit
    • Ben Avison's avatar
      Build fixes · eccbac2d
      Ben Avison authored
      Detail:
        Stripped dynamic dependencies from toolboxlib.AutoGenMfS - these should
        never have gone into CVS
        Added directory creation rules to toolboxlib.Makefile so that component
        will build when checked out on a revision or branch tag
      Admin:
        Tested in a build
      
      Version 0.19. Tagged as 'Libs-0_19'
      eccbac2d
  14. 19 Oct, 2007 1 commit
  15. 18 Oct, 2007 2 commits
    • Andrew Hodgkinson's avatar
      Add return parameter to flex_init. · c48b4992
      Andrew Hodgkinson authored
      Detail:
        Area number returned if dynamic areas are used. Required by Browse.
      Admin:
        A long standing modification that has been waiting to go into CVS for
        a long time. Tested on Iyonix,  prototype Batch Two build environment.
      c48b4992
    • Andrew Hodgkinson's avatar
      Don't rely on Makatic3 or Every2. · 7101a139
      Andrew Hodgkinson authored
      Detail:
        Toolbox core library toolboxlib used Dr Smith's Toolkit components to
        build. This is not releasable as part of the shared source initiative.
        Statically defined equivalents have been provided instead, with notes
        describing how to go back to the toolkit's dynamic equivalents.
      Admin:
        Tested on Iyonix under prototype Batch Two build environment.
      7101a139
  16. 02 Dec, 2003 2 commits
  17. 26 Feb, 2003 1 commit
  18. 24 May, 2002 1 commit
    • John Beranek's avatar
      Fixed function declaration in wimplib.h · 9d1e1275
      John Beranek authored
      Detail:
      
      * cc 5.45 fell over a function declaration in wimplib.h (wimp_slot_size)
       where the same parameter name was used more than once. This fix removes
       the name conflicts.
      
      Admin:
        Built DebugLib toolbox test harness with cc 5.45 to test this.
      
      
      Version 0.17. Tagged as 'Libs-0_17'
      9d1e1275
  19. 18 Feb, 2002 1 commit
    • Ben Avison's avatar
      Added a finalisation function to EventLib. · ffdec63b
      Ben Avison authored
      Detail:
        Page 144 of the C/C++ manual says:
        "Events and message handlers are both held in application space. Application
        tasks therefore do not need to remove them on quitting, nor need they
        deregister them."
        However, this is not helpful for module tasks, where the list heads and
        other static variables are in the RMA, and therefore hold invalid values
        when re-entering the Desktop.
        To fix this, there is now a function event_finalise() which will remove
        all handlers and reinitialise all statics.
      Admin:
        Builds, but not yet tested.
      
      Version 0.16. Tagged as 'Libs-0_16'
      ffdec63b
  20. 23 Mar, 2001 1 commit
  21. 21 Jul, 2000 1 commit
    • Stewart Brodie's avatar
      Removed conflicting VersionNum file from eventlib directory. · 5824b11f
      Stewart Brodie authored
        Version number exported.
      Detail:
        The tag validity checks are being defeated by the VersionNum file
          in the eventlib directory.  This is now removed, and the assembler
          fragment pulls in (the new) VersionASM from the parent directory.
        Top-level makefile now exports a LibVersion file.
        !MkClean scripts removed dynamic dependencies from Makefiles.
        Dynamic dependencies removed from existing Makefiles.
      Admin:
        Built.
      
      Version 0.14. Tagged as 'Libs-0_14'
      5824b11f
  22. 20 Jul, 2000 2 commits
    • Steve Revill's avatar
      Previous check-in missed a header file. · 4abefdfe
      Steve Revill authored
      Detail:
        Libs-0_12 was changed to stop the 'wimp' header for screwing-up the
        definition of various service calls. Sadly, there is another copy
        of the self-same, broken, header file in the 'toolboxlib.h'
        directory. I've changed this to match the changes Andrew made in
        the previous check-in to 'h.wimp'.
      Admin:
        To be tested in STB-400 ROM build 19
      
      Version 0.13. Tagged as 'Libs-0_13'
      4abefdfe
    • Steve Revill's avatar
      Previous check-in missed a header file. · 51368711
      Steve Revill authored
      Detail:
        Libs-0_12 was changed to stop the 'wimp' header for screwing-up the
        definition of various service calls. Sadly, there is another copy
        of the self-same, broken, header file in the 'toolboxlib.h'
        directory. I've changed this to match the changes Andrew made in
        the previous check-in to 'h.wimp'.
      Admin:
        To be tested in STB ROM build 19
      
      Version 0.13. Tagged as 'Libs-0_13'
      51368711
  23. 21 Jun, 2000 1 commit
    • Andrew Hodgkinson's avatar
      Couldn't use wimp.h and Global/Services.h together. · faa9ec11
      Andrew Hodgkinson authored
      Detail:
        wimp.h defines various service calls, but does this unconditionally,
        defines them without brackets and uses upper case hex digits. Thus,
        using both headers gave lots of "differing redefinition" errors. Made
        the wimp.h definitions match Services.h, and wrapped the wimp.h copies
        in #ifndef Service_Memory.
      Admin:
        Ensured that source files including both headers now build.
      
      Version 0.12. Tagged as 'Libs-0_12'
      faa9ec11
  24. 04 May, 2000 1 commit
  25. 29 Nov, 1999 1 commit
  26. 17 Nov, 1999 1 commit
    • Stewart Brodie's avatar
      32-bit build capability added. · 47ec55a0
      Stewart Brodie authored
      Detail:
        Assembler veneers pull in macros to perform subroutine returns which
          controls whether flags are restored or not.
      Admin:
        Output compared to previous version to establish no change for APCS-R
          builds.  APCS-32 output inspected manually to verify correctness.
      
      Version 0.09. Tagged as 'Libs-0_09'
      47ec55a0
  27. 10 Sep, 1999 1 commit
  28. 18 Jun, 1999 1 commit
  29. 17 Jun, 1999 1 commit
  30. 13 May, 1999 1 commit
  31. 30 Mar, 1999 1 commit
  32. 26 Mar, 1999 1 commit
  33. 16 Feb, 1999 2 commits
  34. 18 Jan, 1999 1 commit
    • Stewart Brodie's avatar
      Updated ToolboxObjectDeletedEvent structure to hold class and client handle. · 36ab4942
      Stewart Brodie authored
      Detail:
        Currently, there is no way of ascertaining the client handle that used to
          belong to a deleted object.  Thus applications cannot rely on this event
          to close down any associated data structures referenced via the client
          handle.  This event now provides the client handle and the class ID of
          the deleted object if (hdr.flags & ToolboxObjectDeleted_ExtendedInformation)
          is non-zero in the event header.
      Admin:
        Required by Toolbox-1_46 and later.
      
      Version 0.02. Tagged as 'Libs-0_02'
      36ab4942
  35. 29 Oct, 1998 1 commit