1. 21 Dec, 2014 1 commit
    • Robert Sprowson's avatar
      Escape some dollars, sort out value of NULL · dbf8b9c4
      Robert Sprowson authored
      Change $ => $$ to reduce substitution warnings.
      Be consistent about NULL (being 0) not -1, otherwise the total memory bar vanishes on systems with >= 2GB of RAM.
      
      Version 1.43. Tagged as 'Switcher-1_43'
      dbf8b9c4
  2. 22 Jul, 2014 1 commit
    • Jeffrey Lee's avatar
      Treat memory sizes as unsigned · 92303eae
      Jeffrey Lee authored
      Detail:
        s/Switcher - Treat memory sizes as unsigned values. We don't deal with negative sizes, so there's no reason to be using signed arithmetic.
      Admin:
        Tested on BB-xM
      
      
      Version 1.42. Tagged as 'Switcher-1_42'
      92303eae
  3. 17 Nov, 2012 1 commit
    • Ben Avison's avatar
      Fix interactive help on iconbar menu · 7c360ff6
      Ben Avison authored
      Detail:
        There were actually two problems:
        * No account was taken of the fact that the menu item indexes were different
          in the shortened menu.
        * The static variable "menu_userblk" was needed for decoding help messages,
          but its initialisation in the icon bar menu case was accidentally chopped
          out along with the code that customised the third menu item (the one that
          said "Task display" on the icon bar menu and says "Task '<taskname>'" on
          the task display menu). This bug does not seem to have been reproducible
          on all platforms due to the nature of uninitialised variables.
      Admin:
        Tested on Raspberry Pi. Joint work by Willi Theiss and Ben Avison.
      
      Version 1.41. Tagged as 'Switcher-1_41'
      7c360ff6
  4. 31 Oct, 2012 1 commit
    • Steve Revill's avatar
      Work-around for bug introduced in 1.39. · bfb57fdf
      Steve Revill authored
      Data abort from interactive help on Switcher menu items has been
      clobbered by disabling menu item help in s.Switcher (see FIXME).
      This needs sorting out properly when time permits.
      
      Version 1.40. Tagged as 'Switcher-1_40'
      bfb57fdf
  5. 12 Sep, 2012 1 commit
    • Ben Avison's avatar
      Applied some polish ahead of the Raspberry Pi release · a3488144
      Ben Avison authored
      Detail:
        * Simplified the icon bar menu (all the old options are still available
          from the menu on the "task display" window).
        * Fixed the heroes list code - it looks like this broke when the ROM moved
          to a top-bit-set address, and nobody bothered fixing it until now.
        * Made the code to reset the machine manually conditional on NoARMv3,
          since all ARMv3+ machines have OSes that implement OS_Reset. This makes
          the module build cleanly for all current ROM builds.
      Admin:
        Tested in a Raspberry Pi build
      
      Version 1.39. Tagged as 'Switcher-1_39'
      a3488144
  6. 12 Aug, 2012 1 commit
  7. 29 Jul, 2012 1 commit
    • Robert Sprowson's avatar
      Add support for 'PostDesk' shutdown scripts · 2ad3fd32
      Robert Sprowson authored
      Useful for small clearup activities on each shutdown. As we're trying to shut down the range of things looked for is very small compared with the PreDesk directory: no sprites, no apps (or directories), no utilities, no BASIC, no modules. Keep it simple and fast!
      * If Choices:Boot.PostDesk is present, any obey files within it are obey'd
      * Swap false/true to {FALSE} and {TRUE}
      * TaskManager_Shutdown flag bit 7 can skip the shutdown scripts
      * Simplified evaluation of Boot$OSVersion
      * Changed pre RISC OS 3.50 reset to actually do a reset rather than just reenter the desktop
      * Shared a few constant strings
      
      Version 1.37. Tagged as 'Switcher-1_37'
      2ad3fd32
  8. 28 Jul, 2012 1 commit
    • Robert Sprowson's avatar
      Add flag bits 5 and 6 to TaskManager_Shutdown · 46fe0819
      Robert Sprowson authored
      * Two new error messages for invalid shutdown flag combinations
      * Removed shutdown_swi poll(byte)word support, when ProvideStartTask is switched out the code now uses misc_pollbyte
      * New flag soft_poweroff to save having to keep calling OS_ReadSysInfo
      * Use definitions from HighFSI, OsWords, OsBytes, Variables
      * Proginfo icon numbers defined
      * Permanently enabled TrueMemorySize switched code
      * Add a note that the error base is bogus for this module
      
      Version 1.36. Tagged as 'Switcher-1_36'
      46fe0819
  9. 02 Jan, 2012 1 commit
    • Robert Sprowson's avatar
      Copyright date update. · b84bafd8
      Robert Sprowson authored
      Nonsensical range of dates (?!?) changed to start date like all other
      applications, since copyright applies from a given date *onwards* which
      in the UK is 70 years.
      b84bafd8
  10. 27 Nov, 2011 1 commit
  11. 13 Oct, 2011 1 commit
  12. 21 Sep, 2011 1 commit
  13. 04 Aug, 2011 1 commit
    • Jeffrey Lee's avatar
      Update to use OSRSI6 header · ac939d4c
      Jeffrey Lee authored
      Detail:
        s/Switcher - Updated to use OSRSI6 header for OS_ReadSysInfo 6 item code instead of a magic number
      Admin:
        Tested on rev A2 BB-xM
      
      
      Version 1.32. Not tagged
      ac939d4c
  14. 04 Feb, 2011 1 commit
    • Steve Revill's avatar
      Modified the main window to open at a sensible position and size. · bfef1780
      Steve Revill authored
      The main window now opens centred on screen and as large as it can without
      being too big (i.e. still leave some of the screen free around it).
      
      Also tweaked the open_centre function to calculate the correct amount (was
      one pixel out!).
      
      Version 1.32. Tagged as 'Switcher-1_32'
      bfef1780
  15. 21 Nov, 2010 1 commit
    • Jeffrey Lee's avatar
      Fix reinitramfsfiler logic · 60b0d7fd
      Jeffrey Lee authored
      Detail:
        s/Switcher - My previous checkin broke the reinitramfsfiler logic, causing the StartFiler service call to not be sent when it should have been.
      Admin:
        Tested properly this time; RAM disc creation/resizing/destruction works properly now.
      
      
      Version 1.31. Tagged as 'Switcher-1_31'
      60b0d7fd
  16. 14 Nov, 2010 1 commit
    • Jeffrey Lee's avatar
      Fix occasional alignment exceptions on ARMv6+ · 0bcae231
      Jeffrey Lee authored
      Detail:
        s/Switcher - As described in bug #256, sometimes the Switcher will crash if the task display window is open while launching Edit. The cause was that single_resize was not checking for the case that dragBar==-1 or dragBar==-2, resulting in an alignment fault when attempting to load icb_taskage from the icon block.
        Also fixed reinitramfsfiler to cope with the possibility of dragBar being a top bit set pointer.
      Admin:
        Tested on BB-xM rev A3.
        Fixes bug #256.
      
      
      Version 1.30. Tagged as 'Switcher-1_30'
      0bcae231
  17. 19 Jan, 2010 1 commit
  18. 18 Jan, 2010 1 commit
  19. 16 Feb, 2006 1 commit
  20. 15 Sep, 2005 2 commits
  21. 21 Jun, 2004 1 commit
  22. 05 Jan, 2004 1 commit
  23. 21 Feb, 2003 1 commit
  24. 11 Jan, 2003 1 commit
  25. 28 Nov, 2002 1 commit
  26. 22 Nov, 2002 1 commit
    • Robert Sprowson's avatar
      Addition of "Configure" to the menu. · d6cd9ec2
      Robert Sprowson authored
      This entry will be greyed out if on starting there is nothing in
      Boot$OSVersion,otherwise it will choose where it looks for configure
      based on whether it is >=350 much like the DeskRun obey file did.
      Resources updated to match.
      
      Version 1.22. Tagged as 'Switcher-1_22'
      d6cd9ec2
  27. 07 Nov, 2002 1 commit
    • Kevin Bracey's avatar
      Moved dynamic areas section up above system section. · c98692ab
      Kevin Bracey authored
      Improved some redraws.
      Added new areas to make the total display add up (requires new Kernel to get
      correct figures).
      Fixed dragging to get nicer numbers.
      Fixed 4K "negative bar" plotting problem.
      
      Version 1.21. Tagged as 'Switcher-1_21'
      c98692ab
  28. 01 Nov, 2002 1 commit
    • Ben Avison's avatar
      Fixed restarting of desktop Exit - the code was already there to use R2... · 1c4b13c6
      Ben Avison authored
      Fixed restarting of desktop Exit - the code was already there to use R2 returned from Wimp_Poll to determine if a SC-F12 was sent from a task or not, but an overcomplicated Wimp_Poll subroutine was acidentally preserving
      
      R2 over the SWI, so this never worked!
      Also fixed the templates so the save box looks okay with 3D windows enabled.
      Removed the Ursula version because it contains no useful differences and the
      build process will work fine without it.
      
      Version 1.20. Tagged as 'Switcher-1_20'
      1c4b13c6
  29. 26 Oct, 2002 1 commit
    • Robert Sprowson's avatar
      Switcher hypenates the date it gets from OS_Byte 0 · 8faaa5d0
      Robert Sprowson authored
      Where the OS reports it supports it,power off is performed by calling
      OS_Reset with a magic word in R0 rather than peeking IOMD directly.
      Templates altered to wordwrap the "shutdown" and "powrdown" boxes for users
      with non Homerton font.
      CTRL-SH-F12 followed by CTRL-SH-F12 cancels any pending 5s power off
      callback which would otherwise have been very annoying!
      Info box font is noted from the templates file rather than being hardwired
      Iconbar icon name changed to "taskmanager" to allow reuse of "switcher".
      
      Version 1.19. Tagged as 'Switcher-1_19'
      8faaa5d0
  30. 10 May, 2001 1 commit
  31. 16 Mar, 2001 1 commit
  32. 01 Mar, 2001 1 commit
    • Simon Forrest's avatar
      * Removed dependency on obsolete STB flag. · 18dab87c
      Simon Forrest authored
      Detail:
      
        * No longer relies on the STB flag; instead utilises "Hdr:UserIF.<UserIF>"
          to provide the Embedded_UI flag.
      
          Desktop builds include support for Hotkeys and provide the iconbar icon;
          Embedded builds do not.
      
      Admin:
      
        * Built and tested on Lazarus 32-bit build.  Code is binary identical to
          previous versions that relied on the STB flag in both the Desktop and
          Embedded variants.
      
        * Requires HdrSrc 1.17 or later.
      
      Version 1.16. Tagged as 'Switcher-1_16'
      18dab87c
  33. 08 Jan, 2001 1 commit
    • Stewart Brodie's avatar
      Fixed directory structure to aid BBE and use of standard macros. · fe833bcd
      Stewart Brodie authored
      Detail:
        Ursula builds had been missing their correct resources due to the
          weird structure of this module.  A proper Resources.${USERIF}.${LOCALE}
          structure has been imposed which fixes this, and makes the BBE resource
          export work as required.
      Admin:
        Tested briefly.
        Required by BBE builds.
      
      Version 1.15. Tagged as 'Switcher-1_15'
      fe833bcd
  34. 25 Apr, 2000 1 commit
  35. 14 Apr, 2000 1 commit
    • Andrew Hodgkinson's avatar
      Trivial bug fix. · 23d0b9d8
      Andrew Hodgkinson authored
      Detail:
        *Help Desktop_TaskManager printed the main help message twice instead of
        the help followed by the syntax owing to a one character typo. Fixed.
      Admin:
        Not tested.
      
      Version 1.13. Tagged as 'Switcher-1_13'
      23d0b9d8
  36. 09 Mar, 2000 1 commit
  37. 09 Nov, 1999 1 commit
    • Neil Bingham's avatar
      Added Ursula Resources · 4bdb6084
      Neil Bingham authored
      Detail:
        Added Resources/UK/Ursula.  Changed Makefile check for
        Resources.<Locale>.<UserIF>.<filename>.  If present export it rather
        than Resources.<Locale>.<filename>.
      Admin:
        Tested on ONC2UK builds (previous behaviour preserved) and Ursula.
      
      Version 1.11. Tagged as 'Switcher-1_11'
      4bdb6084
  38. 06 Sep, 1999 1 commit
    • Kevin Bracey's avatar
      Ursula branch merged. · 7c295fc5
      Kevin Bracey authored
      Doesn't attempt to use OS_DynamicArea 6 and 7 unless the symbol
      OSD6and7Kernel has been defined - so when someone adds these to the trunk
      Kernel, define that symbol in Hdr:RISCOS.
      
      Version 1.10. Tagged as 'Switcher-1_10'
      7c295fc5
  39. 05 Aug, 1999 1 commit