Commit 3c7a139d authored by Steve Revill's avatar Steve Revill
Browse files

Many changes and improvements to Alarm.

Detail:
  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
  again.
 
  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
  iconbar.
 
  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.
 
Admin:
  Tested on RiscPC RO402, RiscPC RO606, Underemulation on RO311 + universal
  boot & nested window manager.
Notes:
  Changes by James Lampard.

Version 2.76. Tagged as 'Alarm-2_76'
parent 7e5d1c12
......@@ -13,6 +13,5 @@ Set Alarm$Path <Alarm$Dir>.
Set File$Type_AE9 Alarms
Set Alias$@RunType_AE9 Run <Obey$Dir> %%0
|
WimpSlot -min 112k -max 112k
WimpSlot -min 96k -max 96k
WimpSlot -min 104k -max 104k
Run Alarm:!RunImage %*0
TaskID:Alarm
AlarmID:Inserted by awk script during build
TZSwtch:Switch between %0 and %1 automatically:
Unexp:Unexpected error :- %0 (%1)
OptSav:<Choices$Write>.Boot.Predesk.Alarm
#Error message stuff
Unexp:An unexpected error has occured: %0 (%1). Do you wish to quit?
Fatal:A fatal error has occured: %0 (%1)
ErrBut:Quit
BNF:Corrupt %0 block not freed
BNE:Corrupt %0 block not extended
ODD1:Block %0: %1
`C:currently selected
`a:allows you to
`c:that the computer will
`d:defer by a number of
`r:set the repeat interval to
# *************** These strings end with spaces
# if using messages mode in zap, these will be stripped on
# saving.
`C:currently selected
`a:allows you to
`c:that the computer will
`d:defer by a number of
`r:set the repeat interval to
# *************** End of section
`s:the selected alarm
`2:beyond the year 2247
......@@ -19,6 +28,11 @@ Time01:%Z12:%MI %AM
Time02:%W3, %ZDY%ST
Time03:%MO
Time04:%CE%YR
Time10:%Z24
Time11:%MI
Time12:%ZDY
Time13:%Z12 %AM
Time14:%W3
FN1:Selection
FN2:Alarms
......@@ -130,13 +144,16 @@ SHlpGA:Click \s for alarms to beep continuously.
SHlpGB:Click \s for alarms to stop beeping after the number of seconds specified.
SHlpHA:\Sremove this day from the working week.
SHlpHB:\Sadd this day to the working week.
SHlpIA:\Ssave the chosen settings.|MClose the \w if you don't want to change !Alarm's setup.
HelpA3:\T`Ctime at which the alarm will go off.
SHlpIA:\Ssave and use the chosen settings and close the window.|M\Ato do this but leave the window open.
SHlpIB:\Sclose the window, without changing Alarm's configuration.
HelpA3:\T`Chour at which the alarm will go off.
HelpA4:\T`Cminute at which the alarm will go off.
HelpA5:\T`C12 hour time at which the alarm will go off.
HelpA6:\Smake the alarm urgent.
HelpA7:\Smake the alarm non-urgent.
HelpA9:\T`Cdate at which the alarm will go off.
HelpB4:\T`Cmonth at which the alarm will go off.
HelpB5:\T`Cday of the week at which the alarm will go off.
HelpB7:\T`Cyear at which the alarm will go off.
HelpB8:\Sposition the caret.|MUse the cursor keys to move the caret.
HelpB9:\Sposition the caret.|MUse the cursor keys to move the caret or press Return to set the alarm.
......@@ -165,12 +182,18 @@ HelpF5:\T`Cday for the alarm to repeat on.
HelpF6:\T`Cnumber of months that should pass between alarms.
HelpF7:\Smake this a normal repeating alarm.
HelpD3:\Sset the alarm to the values you have selected.|MClose the \w if you don't want to set the alarm.
HelpG1:Year difference.
HelpG2:Day difference.
HelpG3:Hour difference.
HelpG4:Minute difference.
HelpD7:\Supdate the alarm settings.|MClose the \w if you don't want to update the alarm settings.
HelpD3:\Sset the alarm to the values you have chosen.
HelpD7:\Supdate the alarm settings.
HelpIB:\Sto close the window without setting an alarm.
HelpIC:\Sto close the window without changing the alarm.
ClockA1:\T`Creplacement time for the computer's clock.
ClockA2:\Sset the computer's clock to the date and time selected.|MClose the \w if you don't want to change the computer's clock.
ClockA2:\Sset the computer's clock to the date and time selected.
ClockA3:\T`Creplacement date for the computer's clock.
ClockA4:\T`Creplacement month for the computer's clock.
ClockA5:\T`Creplacement year for the computer's clock.
......@@ -186,12 +209,22 @@ ClockB6:\Sdecrease the year.
ClockB7:\Sincrease the year.
ClockB8:\Sswitch to British Summer Time.
ClockB9:\Sswitch to Greenwich Mean Time.
ClockIB:\Sto close the window without changing the computer's clock.
ClockQ3:\T`Creplacement hour for the computer's clock.
ClockQ4:\T`Creplacement minute for the computer's clock.
ClockQ5:\T`Creplacement day of the week for the computer's clock.
ClockQ6:\T`Creplacement 12 hour time for the computer's clock.
FindA1:\T`Ctime for the alarm search.
FindA2:\Stry to find an alarm at or after this date & time.|MClose the \w if you don't want to find an alarm.
FindA2:\Stry to find an alarm at or after this date & time.
FindA3:\T`Cdate for the alarm search.
FindA4:\T`Cmonth for the alarm search.
FindA5:\T`Cyear for the alarm search.
FindIB:\Sto close the window if you don't want to find an alarm.
FindQ3:\T`Chour for the alarm search.
FindQ4:\T`Cminute for the alarm search.
FindQ5:\T`Cday of the week for the alarm search.
FindQ6:\T`C12 hour time for the alarm search.
MnuAL1:\Saccept the current alarm.
MnuAL2:\Scancel the current alarm.
......@@ -214,7 +247,7 @@ MnuFI4:\Gyou aren't unsetting or changing an alarm.
MnuFI5:\Gyou are currently setting the clock.
MnuMM1:\Rsee information about Alarm.
MnuMM3:\Sdisplay the alarm browser.
MnuMM4:\Schange Alarm's setup.
MnuMM4:\Schange Alarm's configuration.
MnuMM5:\Sset the computer's clock.
MnuMM6:\Squit Alarm.
MnuMM7:\Gyou are currently finding an alarm.
......@@ -224,7 +257,7 @@ MenuAL:#Alarm,Accept alarm,Cancel alarm,Defer alarm
MenuD1:#How many?,$
MenuD2:#Defer alarm,Minutes,Hours,Days,Weeks,Months,Years
MenuFI:#Alarm,Previous alarm,Next alarm,Find alarm
MenuMM:#Alarm,Info,Alarms...,Setup...,Set clock...,Quit
MenuMM:#Alarm,Info,Alarms...,Choices...,Set clock...,Quit
Drg01:This box `asave data in a file, or transfer it to another application.
Drg02:Click here to save the data with the current filename. If it is not a full pathname, you must drag the icon to a directory first.
......@@ -302,3 +335,8 @@ MR9:ninth
MR10:tenth
MR11:eleventh
MR12:twelfth
Fix00:Save
Fix01:Set
Fix10:Cancel
Fix11:Accept
......@@ -11,13 +11,13 @@
GBLS Module_HelpVersion
GBLS Module_ComponentName
GBLS Module_ComponentPath
Module_MajorVersion SETS "2.75"
Module_Version SETA 275
Module_MajorVersion SETS "2.76"
Module_Version SETA 276
Module_MinorVersion SETS ""
Module_Date SETS "22 Jan 2007"
Module_ApplicationDate SETS "22-Jan-07"
Module_Date SETS "22 Feb 2008"
Module_ApplicationDate SETS "22-Feb-08"
Module_ComponentName SETS "Alarm"
Module_ComponentPath SETS "RiscOS/Sources/Apps/Alarm"
Module_FullVersion SETS "2.75"
Module_HelpVersion SETS "2.75 (22 Jan 2007)"
Module_ComponentPath SETS "castle/RiscOS/Sources/Apps/Alarm"
Module_FullVersion SETS "2.76"
Module_HelpVersion SETS "2.76 (22 Feb 2008)"
END
/* (2.75)
/* (2.76)
*
* This file is automatically maintained by srccommit, do not edit manually.
* Last processed by srccommit version: 1.2.
*
*/
#define Module_MajorVersion_CMHG 2.75
#define Module_MajorVersion_CMHG 2.76
#define Module_MinorVersion_CMHG
#define Module_Date_CMHG 22 Jan 2007
#define Module_Date_CMHG 22 Feb 2008
#define Module_MajorVersion "2.75"
#define Module_Version 275
#define Module_MajorVersion "2.76"
#define Module_Version 276
#define Module_MinorVersion ""
#define Module_Date "22 Jan 2007"
#define Module_Date "22 Feb 2008"
#define Module_ApplicationDate "22-Jan-07"
#define Module_ApplicationDate "22-Feb-08"
#define Module_ComponentName "Alarm"
#define Module_ComponentPath "RiscOS/Sources/Apps/Alarm"
#define Module_ComponentPath "castle/RiscOS/Sources/Apps/Alarm"
#define Module_FullVersion "2.75"
#define Module_HelpVersion "2.75 (22 Jan 2007)"
#define Module_LibraryVersionInfo "2:75"
#define Module_FullVersion "2.76"
#define Module_HelpVersion "2.76 (22 Feb 2008)"
#define Module_LibraryVersionInfo "2:76"
No preview for this file type
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment