1. 18 Apr, 2020 1 commit
  2. 26 Feb, 2020 1 commit
    • Robert Sprowson's avatar
      Store choices alongside the Alarms, get out of CMOS · fed41f1c
      Robert Sprowson authored
      Per ticket #471 the ROM app's use of system variables to store their choices harks back to a time when the Choices/Choices$Write system didn't exist. Doubly so for Alarm which stores 5 of its settings in CMOS, 3 in an obey file, plus another (potentially inconsistent) set in the desktop boot file for good measure.
      Consolidate these into a single choices file, and no longer write out Alarm$Options as part of the Message_SaveDesktop Wimp message. This also frees up 7 bits of CMOS.
      Version 2.94. Tagged as 'Alarm-2_94'
  3. 17 Mar, 2018 1 commit
    • ROOL's avatar
      Ordering of the set alarm dialogue fields · db1df229
      ROOL authored
        The alarm setting dialogue read as "Thu June 2010 30 12 13" which is rather unnatural for en-gb territory, reorder it to say "Thu 30 Jun 2010 at 12 13".
        Currently, there's no API to read the preferred ordering from the territory, however the templates would need translating per territory any way so can re-order the icons as required too.
        From User Guide feedback.
      Version 2.93. Tagged as 'Alarm-2_93'
  4. 02 Dec, 2017 1 commit
    • ROOL's avatar
      Fix for 1 pixel offset error when Y sub-pixel anti-aliasing turned on · e26136b5
      ROOL authored
        Due to eigen factor rounding the Y offset calculation ended up 1 pixel too low when worked out in OS units.
        Switch to millipoints instead, including for plotting, so the sub-pixel Y offset isn't truncated.
        Based on a submission from Colin Granville, with edits.
      Version 2.92. Tagged as 'Alarm-2_92'
  5. 05 Mar, 2017 1 commit
    • ROOL's avatar
      Rename Mon-Fri back to working week · 9b0706dd
      ROOL authored
        Alarm uses Territory_ReadCalendarInformation to determine the span of the working week, so should not hard wire the western working week days.
        Found during review of Alarm's User Guide chapter.
      Version 2.91. Tagged as 'Alarm-2_91'
  6. 08 May, 2016 1 commit
  7. 22 Nov, 2015 1 commit
    • ROOL's avatar
      Clearer dialogues and a bug fix · 4f35a477
      ROOL authored
        Icons in 'setup' and 'alarm' dialogue regrouped to be clearer for the user, and rephrased UK resources to say "recurring alarm" rather than a repeating one.
        Fix bug with rollover in the alarm set from December to January.
        Submission from Alan Robertson.
      Version 2.89. Tagged as 'Alarm-2_89'
  8. 02 Jun, 2015 1 commit
    • Robert Sprowson's avatar
      Preserve DST bit when saving !Alarm settings · 03329a8e
      Robert Sprowson authored
      Alarm was reading the DST flag on startup, and saving that value whenever its own settings were saved, not accounting for the fact that they may have changed in between (eg. by reconfiguring the machine).
      Delete that logic, just preserve the DST bit across the 1 place the CMOS is written.
      Fix for ticket #409.
      Version 2.88. Tagged as 'Alarm-2_88'
  9. 03 Feb, 2015 1 commit
  10. 03 Jul, 2012 1 commit
  11. 17 Jun, 2012 4 commits
    • Robert Sprowson's avatar
      Assorted refactoring/tidy up · 100625d8
      Robert Sprowson authored
      Corrected endianness of error messages from FNerr_box
      Minor template tweaks in system font.
      Added support for EX/EY0 analogue clock which is actually readable, was defaulting to blocky EX/EY2 before.
      When Wimp_TextOp is unavailable the system font is used as a fallback.
      Gave icons variable names rather than lots of magic numbers in the code.
      Refactored use of nested windows, since the supporting routines only actually apply to 3 windows
       - a_wind% The alarm window always has the caret
       - setup% The setup window now has an invisible caret
       - warning% Never has the input focus anyway so the set/cancel buttons
      can simply be placed in the dialogue as normal and the style guide keypresses caught with the normal key handler.
      Now runs on RISC OS 3.10 again as a side effect.
      Checked the messages file for redundant help, removing those which are now in the configure plugin.
      Binary 15kB smaller!
      Version 2.86. Tagged as 'Alarm-2_86'
    • Robert Sprowson's avatar
      Disabled BST application alarm support, and manual BST setting in the setup dialogue. · a42cad60
      Robert Sprowson authored
      Trimmed a few unused variables reported by 'squish'.
      Replaced icon numbers for setup dialogue with variable names.
      Correct "Click SELECT to if" grammar from wrong escape code in help.
      Checked application alarms still work (Test/TstAppAlrm & Test/CanAppAlrm).
      Tagged as 'Alarm-2_86-pre2'
    • Robert Sprowson's avatar
      Iconbar menu now runs configure plugin to set time and date. · 0047c815
      Robert Sprowson authored
      * Alarm was the only (desktop) way to set this central system concept (time) which is out of keeping with the other system settings which are set with !Configure.
      * Removed 'Find' alarm option, it's usefulness was limited by only finding a match if the exact time of the alarm was known (to the nearest minute!), in which case just scrolling down the alarm list is simpler.
      Eliminated some never used variables as reported by 'squish' as warnings.
      Tagged as 'Alarm-2_86-pre1'
    • Robert Sprowson's avatar
      Minor style guide fixes. · 92746708
      Robert Sprowson authored
      Warning on quitting -> save button should be a default action button.
      Removed RISC OS 2 Wimp support: use of territory manager
      and ResourceFS (neither of which are in RISC OS 2) make the run time
      check for old WindowManager versions futile. For reference, RISC OS 3.10
      came with WindowManager 3.16 in ROM.
      Fix wrong help lookup on text labels in the setup dialogue due to icon block offset typo.
      Version 2.85. Tagged as 'Alarm-2_85'
  12. 31 May, 2012 1 commit
  13. 20 Mar, 2012 1 commit
  14. 05 Mar, 2012 1 commit
  15. 07 Dec, 2011 1 commit
    • Robert Sprowson's avatar
      Fix fatal error when probing for TimeSetup plugin when no BootResources, wasn't using *X*OS_File. · 02e8b325
      Robert Sprowson authored
      Simplified PROCinit_timediff and PROCtime_diff.
      Was reading from Choices$Write, made the compare of current filename with default filename case insensitive.
      Loading of Alarm:Code wasn't flushing the I cache.
      No longer reassembles the Alarm$Free variable when not needed.
      OptSav removed from messages file, simply placed in the code as its location is fixed in the boot sequence.
      Choices dialogue now says "DST starts/ends on" not "BST starts/ends on".
      Turned off the close icons on those windows that don't merit them, removed the code that did that.
      A number of things got broken in the template changes from 2.79
       * The UK translation of the 'alarm' dialogue had the wrong icon numbers, so the repeating alarm buttons didn't do the right thing
       * The set clock title erroneously said "Set alarm"
       * The cunning alignment of icons in the 'alarm' dialogue was lost so with 3D borders turned off some of the repeating alarm icons were still partly visible
       * Some of the up/down arrow pairs were spaced out differently within one window
      which were corrected in the Germany copy and propagated back to UK.
      Version 2.81. Tagged as 'Alarm-2_81'
  16. 05 Dec, 2011 1 commit
  17. 03 Dec, 2011 1 commit
  18. 18 Sep, 2011 2 commits
    • Robert Sprowson's avatar
      Delete unused file. · 574b5da7
      Robert Sprowson authored
    • Robert Sprowson's avatar
      Remove private tokenisation scheme. · ab00638d
      Robert Sprowson authored
      Dating back to the early 90's !Alarm has tried tokenising its help messages to save space using a tick mark '`'. However, post RISC OS 3.70 all help tokens get tokenised at ROM time, but this results in tokenised tokenised tokens which therefore don't get expanded.
      Also now uses centralised Awk script for substituting '_Version'.
      Fixes ticket #231.
      Version 2.80. Tagged as 'Alarm-2_80'
  19. 14 Jun, 2009 1 commit
  20. 11 Jun, 2009 1 commit
    • Ben Avison's avatar
      New templates · be1fb79c
      Ben Avison authored
        UK templates updated, Germany templates added
        Changes by Detlef Thielsch
      Version 2.79. Tagged as 'Alarm-2_79'
  21. 10 Jun, 2009 1 commit
    • Ben Avison's avatar
      Fix for dates of 1900 or earlier · 5800709a
      Ben Avison authored
        Reportedly Alarm will crash if you try to enter a time in 1900 - the
        previous limit. I can't reproduce this on RISC OS 5, so perhaps it's a
        ROL fork bug? Nevertheless, the workaround, to set the limit to 1901
        instead, is harmless.
        Change suggested by Detlef Thielsch
      Version 2.78. Tagged as 'Alarm-2_78'
  22. 31 May, 2009 1 commit
    • Peter Naulls's avatar
      Normalise include paths · 8919d794
      Peter Naulls authored
       Assembler GETs as per other changes
       Part of changes to all C modules in Apps
      Version 2.77. Not tagged
  23. 10 Sep, 2008 1 commit
    • Steve Revill's avatar
      Minor fixes to Alarm. · 8120f4a7
      Steve Revill authored
        Fix bug in FNoffscreen (should be OS_ReadMoveVariable 12 into Y%)
        Added divider sprite to dialogue windows, this helps hide the different
        background tiling caused by nesting windows.
        Set alarm window, icon 27 the 'every x number' was not big enough for three
        digits even though it can go up to 255. It has now been made bigger.
        The Y size of the font is now only read on mode/font change, reading it on
        every display can cause the text to sometimes jump.
        Tested on RiscPC RO402, RiscPC RO606
        Changes by James Lampard.
      Version 2.77. Tagged as 'Alarm-2_77'
  24. 22 Feb, 2008 1 commit
    • Steve Revill's avatar
      Many changes and improvements to Alarm. · 3c7a139d
      Steve Revill authored
        Style guide issues:
        * Fixed window menus to open at x-64,y instead of x-64,y+32
        * Pressing return in dialogue boxes causes the default button to be pressed
        * Changed 'Setup...' to 'Choices...' on iconbar menu.
        * Dialogue windows now have a Cancel button rather than a wimp close box.
        Set Alarm window changes:
        * Window redesigned.
        * Old behaviour (which was broken in 2.75) of clicking on the "Repeating
        * Alarm" icon expanding the window, has been reinstated.
        * Year, date, hour and minute icons are now directly editable.
        * New icons show the difference between the current time and the alarm you
          are setting.
        Fixed broken messages file, added a warning to hopefully stop it happening
        When the 'code' file isn't present, an error is generated; unfortunately
        this was translated via MsgTrans (the problem being the messages file
        hadn't been opened yet). This has now been fixed.
        Iconbar icon now uses desktop font, and has a fixed position on the
        The Alarm$Options settings are saved in <Choices$Write>.Boot.Predesk.Alarm,
        so the user defined format is preserved over resets.
        Extensions to the user definede format:
          ~AH Analogue hours display.
          ~AM Analogue minutes display.
          ~AS Analogue seconds display.
          ~IN Alternating ':'/'.' indicator previously used by HH:MM format.
          You can now include system variables in the string. Alarm provides
          <Alarm$Free> which is the current free memory in the computer.
        Error changes:
        * Message_DataOpen is acknowledged straight away. Which prevents the
          situation of an error occuring, the OS running another copy of Alarm
          and then generating the same error again.
        * Errors 108D4 and 108D5 are ignored, as recommended on PRM3-64
        * Error windows now use the extensions provided by RO3.5
        Choosing "Set clock..." from the iconbar menu, will run the !TimeSetup
        configure plug-in if available.
        Tested on RiscPC RO402, RiscPC RO606, Underemulation on RO311 + universal
        boot & nested window manager.
        Changes by James Lampard.
      Version 2.76. Tagged as 'Alarm-2_76'
  25. 22 Jan, 2007 1 commit
    • Steve Revill's avatar
      Minor tweaks to build and install correctly. · 7e5d1c12
      Steve Revill authored
        Some changes were required in order for this component to build and install
        correctly. These changes are required for the ROOL 'Disc' build.
        Tested in Iyonix 'Disc' build using ROOL 'BuildEnv' build environment
      Version 2.75. Tagged as 'Alarm-2_75'
  26. 09 Nov, 2004 1 commit
  27. 01 Dec, 2003 1 commit
  28. 24 Jul, 2003 1 commit
  29. 14 Nov, 2002 1 commit
  30. 30 Nov, 2000 1 commit
  31. 12 May, 2000 1 commit
    • Stewart Brodie's avatar
      Moved to srccommit. · e5c5fc6c
      Stewart Brodie authored
        Merged Ursula branch.
        32-bit compatible.
        Tested in Ursula build.
      Version 2.71. Tagged as 'Alarm-2_71'
  32. 16 Dec, 1996 1 commit
  33. 05 Nov, 1996 1 commit