Richard Frith-Macdonald
|
9934bbbdf2
|
Rewrite launching to make the LaunchInfo instances control most of the work and to use individual timers for each instance with the aim of simplifying launch and shutdown logic and alarms
|
2020-06-24 13:26:31 +01:00 |
|
Richard Frith-Macdonald
|
9382195eb6
|
Add -ecUpdateRegisteredDefaults
|
2020-05-18 12:34:43 +01:00 |
|
Richard Frith-Macdonald
|
6d73abdd40
|
attempt to make restart of a process more reliable in the case where it stopped
responding to the Command server for a while.
|
2020-04-04 11:03:26 +01:00 |
|
Richard Frith-Macdonald
|
fc3dcb37b4
|
fixup incorrect copy
|
2020-03-23 13:40:51 +00:00 |
|
Richard Frith-Macdonald
|
69e3ccd27e
|
Add config sharing for cooperating processes
|
2020-03-23 13:35:58 +00:00 |
|
Richard Frith-Macdonald
|
85dfbfa006
|
deprecate old error/alert methods
|
2020-01-27 15:27:57 +00:00 |
|
Richard Frith-Macdonald
|
1a8d6f6195
|
improve reporting of debug status
|
2019-10-05 15:43:58 +01:00 |
|
Richard Frith-Macdonald
|
c872e2dabc
|
fix typo
|
2019-08-11 13:39:02 +01:00 |
|
Richard Frith-Macdonald
|
0491c5df00
|
nother alarm setting for memory
|
2019-08-11 13:35:10 +01:00 |
|
Richard Frith-Macdonald
|
e908f86e25
|
improve memory usage reporting etc
|
2019-08-10 10:19:16 +01:00 |
|
Richard Frith-Macdonald
|
e308fccddc
|
Report whether we are quitting in status
|
2019-08-09 12:34:58 +01:00 |
|
Richard Frith-Macdonald
|
8cd2ff9fab
|
more shutdown tweaks (better control over time allowed)
|
2019-07-15 10:10:05 +01:00 |
|
Richard Frith-Macdonald
|
76077a56a4
|
Improve clean shutdown
|
2019-07-15 09:30:40 +01:00 |
|
Richard Frith-Macdonald
|
8a27be3872
|
Twaek for improved flexiblity when shutting down
|
2019-07-12 10:56:04 +01:00 |
|
Richard Frith-Macdonald
|
b3e7848177
|
fixup for nil return value
|
2019-07-05 16:55:23 +01:00 |
|
Richard Frith-Macdonald
|
0e92bea5e0
|
Make ecConfigurationError: use varargs
|
2019-07-05 15:53:39 +01:00 |
|
Richard Frith-Macdonald
|
a3300b57e6
|
cmment out unneccessary log
|
2019-06-27 13:46:21 +01:00 |
|
Richard Frith-Macdonald
|
3ab558d078
|
remove excess logging
|
2019-06-05 17:25:16 +01:00 |
|
Richard Frith-Macdonald
|
8f9eb1c4f3
|
Use Total memory type by default
|
2019-06-01 15:52:07 +01:00 |
|
Richard Frith-Macdonald
|
242f60f7f1
|
ensure memType is set
|
2019-06-01 15:49:13 +01:00 |
|
Richard Frith-Macdonald
|
e3c8059dea
|
improve logging
|
2019-06-01 15:44:32 +01:00 |
|
Richard Frith-Macdonald
|
80bafed48f
|
fix logic inversion
|
2019-06-01 15:35:53 +01:00 |
|
Richard Frith-Macdonald
|
5530cc207d
|
Control type of memory tracked
|
2019-06-01 15:28:21 +01:00 |
|
Richard Frith-Macdonald
|
8ee4d54ea1
|
improvements for Command startup
|
2019-05-31 17:33:53 +01:00 |
|
Richard Frith-Macdonald
|
25bd79af54
|
tweak wording of help
|
2019-05-28 16:17:03 +01:00 |
|
Richard Frith-Macdonald
|
526f2072ea
|
Minor tweaks to exception APIs and documentation
|
2019-05-28 10:16:54 +01:00 |
|
Richard Frith-Macdonald
|
15c78de782
|
Convenience macros
|
2019-05-27 22:35:47 +01:00 |
|
Richard Frith-Macdonald
|
a5740eeefb
|
new exception logging APIs
|
2019-05-27 17:37:18 +01:00 |
|
Richard Frith-Macdonald
|
b58abf9185
|
add option to show current overrides
|
2019-05-27 16:38:47 +01:00 |
|
Richard Frith-Macdonald
|
6db334d23b
|
missed from commit
|
2019-05-27 16:24:23 +01:00 |
|
Richard Frith-Macdonald
|
4b9284a8d6
|
add option to suppress debug output
|
2019-03-14 14:32:59 +00:00 |
|
Richard Frith-Macdonald
|
e5da849c29
|
Revert "debug logging suppression option added"
This reverts commit 496e66bcbf .
|
2019-03-14 14:29:58 +00:00 |
|
Richard Frith-Macdonald
|
496e66bcbf
|
debug logging suppression option added
|
2019-03-02 08:12:24 +00:00 |
|
Richard Frith-Macdonald
|
6d4a8e0ef0
|
Partial implementation of KillDebugOutput option
|
2019-03-01 13:00:09 +00:00 |
|
Richard Frith-Macdonald
|
5dd11178b0
|
Speed up realaunch
|
2019-02-11 16:17:16 +00:00 |
|
Richard Frith-Macdonald
|
06ae55eb80
|
fix printf for --help
|
2018-11-23 11:40:55 +00:00 |
|
Wolfgang Lux
|
b4cb9b683c
|
Call ecAwaken only after registration at the name server was successful
|
2018-11-09 16:27:54 +01:00 |
|
Richard Frith-Macdonald
|
6e4138d769
|
Fixes for prompts/error messages with master encryption key.
|
2018-10-24 11:28:27 +01:00 |
|
Richard Frith-Macdonald
|
ce9f465c86
|
Make sure we log the whole text of any configuration error (using NSLog())
before truncating it (if necessary) to create an alarm.
|
2018-08-28 11:50:47 +01:00 |
|
Richard Frith-Macdonald
|
6693ee6330
|
logging tweaks
|
2018-07-30 21:26:41 +01:00 |
|
Richard Frith-Macdonald
|
3dd3b165eb
|
Improve graceful shutdown API
|
2018-06-24 15:37:35 +01:00 |
|
Richard Frith-Macdonald
|
afd1a03822
|
Improve restart help/audit logs
|
2018-06-12 15:23:12 +01:00 |
|
Richard Frith-Macdonald
|
4b02a4089e
|
improve restart command to perform prompt restarts
|
2018-06-12 12:46:35 +01:00 |
|
Richard Frith-Macdonald
|
4205f7c074
|
Don't display contents of EcControlKey
|
2018-03-03 18:36:01 +00:00 |
|
Richard Frith-Macdonald
|
5967901af8
|
Improve key entry code
|
2018-03-02 11:04:25 +00:00 |
|
Richard Frith-Macdonald
|
a732e99ee4
|
Fix type cases for printf and improve defaults listing
|
2018-01-19 09:50:43 +00:00 |
|
Richard Frith-Macdonald
|
b3398cf76b
|
Report possible leakage as percent of previous total memory usage
|
2018-01-12 14:58:30 +00:00 |
|
Richard Frith-Macdonald
|
6821c5996d
|
alert on shutdown
|
2018-01-12 05:27:34 +00:00 |
|
Richard Frith-Macdonald
|
7c54120ae0
|
Add restart functionality
|
2018-01-05 09:47:26 +00:00 |
|
Richard Frith-Macdonald
|
fd43457c20
|
Improve slightly misleading audit messages
|
2018-01-04 14:14:14 +00:00 |
|
Richard Frith-Macdonald
|
be4b4a7fc5
|
Fixup for when cmdQuit: has been overridden
|
2018-01-04 13:32:42 +00:00 |
|
Richard Frith-Macdonald
|
c2983d4c3b
|
Ignore config changes during shutdown
|
2018-01-04 11:30:24 +00:00 |
|
Richard Frith-Macdonald
|
1d05222942
|
Improvements to handling config updates
|
2018-01-04 11:23:29 +00:00 |
|
Richard Frith-Macdonald
|
c4343bec32
|
Improve quitting for subclassing
|
2017-11-03 07:17:41 +00:00 |
|
Richard Frith-Macdonald
|
eb3d3c1713
|
Restructure quitting
|
2017-11-02 16:16:21 +00:00 |
|
Richard Frith-Macdonald
|
264348de14
|
fallback for checking duration of quit
|
2017-11-02 10:14:30 +00:00 |
|
Richard Frith-Macdonald
|
92e1ccb3fb
|
Expose new quit functionality
|
2017-11-02 10:06:34 +00:00 |
|
Richard Frith-Macdonald
|
1562c18843
|
Another fix for nightly archiving, plus rewrite of quit handling to ensure
that a quitting process aborts in three minutes if something goes wrong.
|
2017-11-02 09:19:57 +00:00 |
|
Richard Frith-Macdonald
|
f95f3df7b2
|
Fix location of archive
|
2017-11-01 12:06:23 +00:00 |
|
Richard Frith-Macdonald
|
f2a526dc3e
|
Record startup duration
|
2017-10-26 15:12:33 +01:00 |
|
Richard Frith-Macdonald
|
142d4bda51
|
fixup setting flag
|
2017-09-20 08:43:01 +01:00 |
|
Richard Frith-Macdonald
|
4ccc8de355
|
tweak
|
2017-09-19 13:52:15 +01:00 |
|
Richard Frith-Macdonald
|
76a091d78e
|
debug archiving fix
|
2017-09-18 09:36:48 +01:00 |
|
Wolfgang Lux
|
b67741078b
|
Fix bug where archiving was no longer run every day
|
2017-08-09 14:34:00 +02:00 |
|
Richard Frith-Macdonald
|
a6a6a78658
|
autorelease fixup to have pool when awakening process
|
2017-07-27 14:42:29 +01:00 |
|
Richard Frith-Macdonald
|
5be033b2f9
|
Add method to return the process lock
|
2017-07-26 15:15:41 +01:00 |
|
Richard Frith-Macdonald
|
c828a0edfc
|
improve shutdown logging and archiving of debug logs to correct date
|
2017-07-13 10:25:33 +01:00 |
|
Richard Frith-Macdonald
|
4820767b98
|
Improve startup/shutdown logging
|
2017-07-13 10:10:13 +01:00 |
|
Richard Frith-Macdonald
|
6ebcc87429
|
in help list commands in alphabetical order
|
2017-07-11 09:32:59 +01:00 |
|
Richard Frith-Macdonald
|
6385e3b8b3
|
new day, hour, minute etc on startup
|
2017-07-06 16:51:34 +01:00 |
|
Richard Frith-Macdonald
|
974811f604
|
More changes to make startup configuration easier to handle in a robust manner
|
2017-06-23 15:18:21 +01:00 |
|
Richard Frith-Macdonald
|
00ab926033
|
Move startup audit log earlier so it should be at the start of the log file
|
2017-06-23 14:13:54 +01:00 |
|
Richard Frith-Macdonald
|
91f43e226d
|
Also -ecDidAwaken
|
2017-06-23 13:37:34 +01:00 |
|
Richard Frith-Macdonald
|
de977d7356
|
Add ecAwaken method
|
2017-06-23 12:51:34 +01:00 |
|
Richard Frith-Macdonald
|
e5a71bdc73
|
Move startup of the regular timer into ecRun so that it won't occur until
after initialisation and registration of the DO connection name.
|
2017-06-23 12:01:03 +01:00 |
|
Richard Frith-Macdonald
|
291b295089
|
Fix bug in archiving and simplify code
|
2017-06-23 11:26:17 +01:00 |
|
Richard Frith-MacDonald
|
b4c1c3c320
|
fixup for adding a new debug mode
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/ec/trunk@40506 72102866-910b-0410-8b05-ffd578937521
|
2017-05-16 11:43:29 +00:00 |
|
Richard Frith-MacDonald
|
382b598637
|
delay after exception to avoid excessively frequent alerts
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/ec/trunk@40498 72102866-910b-0410-8b05-ffd578937521
|
2017-05-09 16:07:51 +00:00 |
|
Richard Frith-MacDonald
|
ba46103952
|
Fix for runaway loop if limitDateForMode: returns nil
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/ec/trunk@40242 72102866-910b-0410-8b05-ffd578937521
|
2016-11-29 14:14:05 +00:00 |
|
Richard Frith-MacDonald
|
8072c7d08f
|
Fix logging error spotted by Wolfgang.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/ec/trunk@39777 72102866-910b-0410-8b05-ffd578937521
|
2016-05-18 14:09:29 +00:00 |
|
Richard Frith-MacDonald
|
4269da5e8a
|
raise exception for alte registration.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/ec/trunk@39691 72102866-910b-0410-8b05-ffd578937521
|
2016-04-24 11:30:22 +00:00 |
|
Richard Frith-MacDonald
|
ab862f11af
|
Improve messages
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/ec/trunk@39598 72102866-910b-0410-8b05-ffd578937521
|
2016-03-24 08:50:16 +00:00 |
|
Richard Frith-MacDonald
|
e68a6ac7b7
|
make error message more verbose
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/ec/trunk@39563 72102866-910b-0410-8b05-ffd578937521
|
2016-03-18 09:26:18 +00:00 |
|
Richard Frith-MacDonald
|
98018371fb
|
tweak
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/ec/trunk@39429 72102866-910b-0410-8b05-ffd578937521
|
2016-02-29 15:01:24 +00:00 |
|
Richard Frith-MacDonald
|
0d89abc092
|
clarify slightly
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/ec/trunk@39428 72102866-910b-0410-8b05-ffd578937521
|
2016-02-29 14:55:50 +00:00 |
|
Richard Frith-MacDonald
|
414472dca2
|
beter reporting of bad defaults write/set
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/ec/trunk@39238 72102866-910b-0410-8b05-ffd578937521
|
2015-12-18 15:27:24 +00:00 |
|
Richard Frith-MacDonald
|
0e37c50ee8
|
update to make memory recording be on by default
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/ec/trunk@39182 72102866-910b-0410-8b05-ffd578937521
|
2015-11-18 17:41:07 +00:00 |
|
Richard Frith-MacDonald
|
648cf18fe6
|
Allow default registration to specify a fallback value
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/ec/trunk@39181 72102866-910b-0410-8b05-ffd578937521
|
2015-11-18 17:28:59 +00:00 |
|
Richard Frith-MacDonald
|
d387a9da8d
|
Improve defaults reporting.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/ec/trunk@39180 72102866-910b-0410-8b05-ffd578937521
|
2015-11-18 16:16:10 +00:00 |
|
Richard Frith-MacDonald
|
e90f85e4ec
|
tweak
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/ec/trunk@39178 72102866-910b-0410-8b05-ffd578937521
|
2015-11-18 12:46:57 +00:00 |
|
Richard Frith-MacDonald
|
ade61255d1
|
Fix error in last mod.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/ec/trunk@39177 72102866-910b-0410-8b05-ffd578937521
|
2015-11-18 12:41:42 +00:00 |
|
Richard Frith-MacDonald
|
4d6eb93eb8
|
tweak
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/ec/trunk@39176 72102866-910b-0410-8b05-ffd578937521
|
2015-11-18 11:42:21 +00:00 |
|
Richard Frith-MacDonald
|
1f8f656b8b
|
Diagnostics for alarms
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/ec/trunk@39175 72102866-910b-0410-8b05-ffd578937521
|
2015-11-18 11:25:49 +00:00 |
|
Niels Grewe
|
69a9bcaf56
|
Fix argument validation when writing/reading defaults
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/ec/trunk@39174 72102866-910b-0410-8b05-ffd578937521
|
2015-11-18 11:07:08 +00:00 |
|
Richard Frith-MacDonald
|
ec51ee9577
|
improve message when reading default value
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/ec/trunk@39173 72102866-910b-0410-8b05-ffd578937521
|
2015-11-18 10:43:24 +00:00 |
|
Richard Frith-MacDonald
|
22bb719878
|
warn about timeout limits
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/ec/trunk@39107 72102866-910b-0410-8b05-ffd578937521
|
2015-10-30 11:02:26 +00:00 |
|
Richard Frith-MacDonald
|
29b0f887a3
|
allow an interval of up to 300
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/ec/trunk@39106 72102866-910b-0410-8b05-ffd578937521
|
2015-10-29 12:06:38 +00:00 |
|
Richard Frith-MacDonald
|
d44f67f74d
|
fixup declaration of cmdQuit: to be oneway
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/ec/trunk@39068 72102866-910b-0410-8b05-ffd578937521
|
2015-10-15 07:09:52 +00:00 |
|
Richard Frith-MacDonald
|
b45d3bc076
|
tweak to allow old code to link with this release
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/ec/trunk@39066 72102866-910b-0410-8b05-ffd578937521
|
2015-10-14 11:30:35 +00:00 |
|
Richard Frith-MacDonald
|
4ce12c8d08
|
improve defaults handling
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/ec/trunk@39065 72102866-910b-0410-8b05-ffd578937521
|
2015-10-14 11:25:48 +00:00 |
|