1. 15 Feb, 2023 1 commit
    • Robert Sprowson's avatar
      Call memory allocation functions in matched pairs · 2869c04d
      Robert Sprowson authored
      When client modules are paired with a Toolbox that doesn't support the
      Toolbox_Memory SWI the mem functions fall back to using calloc, free, and a
      local implementation of realloc via OS_Module 13. These variants are also used
      by Toolbox itself for allocations prior to being linked into the module chain.
      
      However, the CLib now allocates extra to record private information behind the
      allocation so mem must either call calloc/free/realloc *or* OS_Module 6/7/13,
      not a mixture of the two.
      
      Since realloc from a module is broken in the CLib built into RISC OS 3.10, we opt
      to call OS_Module 6/7 to avoid needing to consider that bug.
      
      Version 0.29. Tagged as 'tboxlib-0_29'
      2869c04d
  2. 25 Jan, 2023 1 commit
    • Ben Avison's avatar
      Make all #includes relative to the including file · 5dc65503
      Ben Avison authored
      This allows <Lib$Dir>.tboxlibint to be removed from our command line include
      path. Henceforth, clients of this library also won't need to put it (or
      C:tboxlibint) in their command line include paths either. It also means that
      when building the library, only local copies of header files are used (as
      opposed to a mixture of local and exported copies, as previously).
      
      Version 0.28. Tagged as 'tboxlib-0_28'
      5dc65503
  3. 07 Jun, 2021 1 commit
  4. 09 Sep, 2018 1 commit
  5. 26 Feb, 2016 1 commit
  6. 22 Nov, 2015 1 commit
  7. 18 Aug, 2015 1 commit
    • Robert Sprowson's avatar
      Minor header file adjustments · 67c1bf07
      Robert Sprowson authored
      Everything TboxMake did can now be done with the makefiles in BuildSys.
      Header file services.h was just a proxy for Global/Services.h.
      style.h:
        Corrections to constants from the Style Guide. These two values are unused, so mainly academic.
      messages.c/objmodule.c/string32.c:
        Unused services.h removed.
      
      Version 0.24. Tagged as 'Common-0_24'
      67c1bf07
  8. 03 Jul, 2014 1 commit
  9. 10 Sep, 2013 1 commit
    • Robert Sprowson's avatar
      For RAM targets reflect change from 4.8-4.9 in TboxMake · ee8a3f75
      Robert Sprowson authored
      Resource areas now use ${TARGET} to match the other shared makefiles and the change made for the resources phase in revision 4.9.
      Should fix problem with TextGadgets RAM version, where it was naming the area after the component name.
      
      Version 0.22. Tagged as 'Common-0_22'
      ee8a3f75
  10. 30 Aug, 2013 2 commits
  11. 01 Sep, 2012 1 commit
    • Jeffrey Lee's avatar
      Generate symbols files during ROM builds · 8164cf00
      Jeffrey Lee authored
      Detail:
        TboxMake - Toolbox modules will now generate a symbols file during the ROM link phase. The file will be copied to the modules install folder, allowing it to be easily picked up by debugging tools.
      Admin:
        Tested with BCM2835, OMAP3 & Disc builds
      
      
      Version 0.20. Retagged as 'Common-0_20'
      8164cf00
  12. 03 May, 2012 1 commit
  13. 05 Feb, 2012 1 commit
    • Jeffrey Lee's avatar
      Fix toolbox modules to build from clean · 8b13a6f5
      Jeffrey Lee authored
      Detail:
        TboxMake - The ${ROM_MODULE} target had a dependency against ${C_ABSSYM}, but the shared C library only exports that file during the rom_link phase, preventing the toolbox 'rom' phases from completing properly.
        Additionally the rom_link phase in TboxMake didn't have a dependency on ${ROM_MODULE}, so any changes to the module (or previous failure to build) would prevent the rom-linked version of the module from being created or updated properly.
      Admin:
        Tested with building OMAP3Live from clean.
        ROM image built OK but untested at runtime.
      
      
      Version 0.19. Tagged as 'Common-0_19'
      8b13a6f5
  14. 04 Feb, 2012 1 commit
    • Robert Sprowson's avatar
      Change to not use RAMCModule ROMCModule. · b566a2c9
      Robert Sprowson authored
      Rather than refactor every toolbox module that uses TBoxMake, and since that already carries its own rules for resources and RAM and debug builds, it seems simpler to just create a new ROM and link target than try to use CModule shared makefile.
      Participated in a ROM build, but not functionally tested.
      
      Version 0.18. Tagged as 'Common-0_18'
      b566a2c9
  15. 14 Jan, 2012 1 commit
  16. 13 Dec, 2011 1 commit
  17. 28 Feb, 2010 1 commit
  18. 07 Oct, 2008 1 commit
  19. 02 Dec, 2003 1 commit
  20. 23 Jul, 2002 1 commit
  21. 31 May, 2001 1 commit
  22. 11 May, 2000 1 commit
  23. 05 May, 2000 1 commit
    • Stewart Brodie's avatar
      Replaced lost macro definition from last checkin. · efd329b1
      Stewart Brodie authored
      Detail:
        The rewrite of ABSSYM to use c_abssym (to avoid link errors in Window)
          got lost between my testing and the last checkin.  This version has
          it.
      Admin:
        Required by Window 1.64
      
      Version 0.10. Tagged as 'Common-0_10'
      efd329b1
  24. 04 May, 2000 1 commit
    • Stewart Brodie's avatar
      Updated common Toolbox Makefile fragment. · e2e60512
      Stewart Brodie authored
        Extra shared facilities for object modules.
        Debug support improved.
      Detail:
        New common operations for Toolbox object modules have been abstracted
          into this component in order to simplify the object modules.
        Debugging services made common to all modules and now uses DebugLib.
        Common Makefile fragment now exported with correct rules for ROM builds
          as well as RAM builds, and (new in this version), DebugLib RAM builds.
          As a result, all object modules now have debug versions available.
      Admin:
        Requires BuildSys 1.92 or later (RiscOS/BuildSys; tag BuildSys-1_92)
        Requires Library 0.41 or later (RiscOS/Library; tag Library-0_41)
        Required by any Toolbox object module dated 4th May 2000 or later.
      
      Version 0.09. Tagged as 'Common-0_09'
      e2e60512
  25. 17 Apr, 2000 1 commit
    • Stewart Brodie's avatar
      Added template Makefile · 9ec92a72
      Stewart Brodie authored
        Exports LibVersion
      Admin:
        Required by future versions of toolbox modules..
      
      Version 0.08. Tagged as 'Common-0_08'
      9ec92a72
  26. 17 Nov, 1999 2 commits
  27. 16 Nov, 1999 2 commits
    • Stewart Brodie's avatar
      Added export of assembler headers for Window and Toolbox modules. · 50603298
      Stewart Brodie authored
        C headers protect their definitions of service calls to avoid clashes
      Detail:
        Exported headers contain SWI definitions only.
        Exported C headers protect their definitions of service call symbols
          to avoid clashes with Global/Services.h (which will contain them
          all from the next source drop)
      Admin:
        Tested with the Window module.
      
      Version 0.05. Tagged as 'Common-0_05'
      50603298
    • Stewart Brodie's avatar
      Import of assembler headers which declare Toolbox SWI symbols. · cb30a819
      Stewart Brodie authored
      Detail:
        I keep finding declarations of the Toolbox SWI symbols all over the
          place.  These header files provide a single definition for the SWIs
          for the Toolbox and Window modules.
      Admin:
        Exported from Common because Libs is too awkward to modify just for
          this change (it uses Makatic).
      cb30a819
  28. 17 Mar, 1999 1 commit
  29. 23 Feb, 1999 1 commit
    • Stewart Brodie's avatar
      THICK_WRITABLE_BORDERS macro introduced to control thick borders on writable... · 71a97b54
      Stewart Brodie authored
      THICK_WRITABLE_BORDERS macro introduced to control thick borders on writable gadgets (surprisingly).
      
      Detail:
        Validation string for icons implementing writable gadgets now contains
          "Pptr_write;R5;C//0/0/0/0" if THICK_WRITABLE_BORDERS is defined.
          This should alleviate flicker on STB3.
      Admin:
        Tested briefly.
        Used by RiscOS/Sources/Toolbox/Window (tag: Window-1_59 and later)
      
      Version 0.03. Tagged as 'Common-0_03'
      71a97b54
  30. 16 Feb, 1999 1 commit
    • Stewart Brodie's avatar
      Changes to shut the compiler up. · 47e2d34c
      Stewart Brodie authored
      Detail:
        Renamed (meaningless) formal parameter "template" in function declarations.
        Renamed other variables in the C sources too.
        Stops C compiler moaning about the use of symbols reserved for C++.
      Admin:
        Required by Toolbox-1_47 and later.
      
      Version 0.02. Tagged as 'Common-0_02'
      47e2d34c
  31. 18 Jan, 1999 2 commits
    • Stewart Brodie's avatar
      Updated ToolboxObjectDeletedEvent structure to hold class and client handle. · 4dda25c2
      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 (application can check flags bit 0 to determine if
          they are valid).
      Admin:
        Required by Toolbox-1_46 and later.
      
      Version 0.01. Tagged as 'Common-0_01'
      4dda25c2
    • Stewart Brodie's avatar
      created by srccommit. · 49819f03
      Stewart Brodie authored
      49819f03
  32. 11 Jun, 1998 1 commit
  33. 17 Feb, 1998 2 commits
  34. 04 Feb, 1998 1 commit
    • Stewart Brodie's avatar
      Build process improvements: · a5fae552
      Stewart Brodie authored
        !MkRam,fd7 added to enable RAM builds of all Toolbox modules
        MakeFile tidied up and support for RAM build added
      Module now uses Toolbox memory allocation instead of calling OS_Module.
      a5fae552
  35. 15 Jan, 1998 1 commit