Commit graph

4289 commits

Author SHA1 Message Date
Paul Beckingham
5aeb35663b A3t
- ::getFilterExpression now has a simplified implementation.  Sure, it
  returns bad filters, but that will change.
2014-05-20 18:29:05 -04:00
Paul Beckingham
2cd0494221 A3t
- ::findAttributeModifier now creates sub nodes.
2014-05-20 18:26:32 -04:00
Paul Beckingham
6c6c3df104 A3t
- ::findIDSequence now creates sub nodes.
2014-05-20 18:25:47 -04:00
Paul Beckingham
81614dda84 A3t
- ::findUUIDList now creates sub nodes.
2014-05-20 18:24:58 -04:00
Paul Beckingham
5f6230da3a A3t
- ::findTag now creates sub nodes.
2014-05-20 18:24:21 -04:00
Paul Beckingham
922b80a5be A3t
- ::findPattern now creates sub nodes.
2014-05-20 18:23:25 -04:00
Paul Beckingham
623b1619df Dates
- Converted atoi to strtol, and added the missing include.
2014-05-20 18:01:35 -04:00
Paul Beckingham
d9e1607f05 Eval
- Attempts named source resolution as part of primitive parsing.
2014-05-19 22:06:58 -04:00
Paul Beckingham
52edc9b7cf Dates
- Easter needs time set to 0:00:00.
2014-05-19 22:06:11 -04:00
Paul Beckingham
23f6840b95 Dates
- Supports '21st' as a date.  Theoretically.
2014-05-19 22:02:08 -04:00
Paul Beckingham
05fbdd594e CmdEdit
- Now diplays an unmodifiable 'modified' attribute.
2014-05-19 20:16:25 -04:00
Paul Beckingham
c9f6a4b9df Unit Tests
- Added Variant::operator_partial unit tests, based initially on
  ::operator==.
2014-05-19 20:15:32 -04:00
Paul Beckingham
592b3bdcb9 Eval
- Connected operator '=' to Variant::operator_partial.
2014-05-19 20:13:35 -04:00
Paul Beckingham
c74d45b15a Variant
- Added ::operator_partial.
2014-05-19 20:12:38 -04:00
Paul Beckingham
5513a0c843 Hooks
- Updated method comments.
2014-05-18 16:10:36 -04:00
Paul Beckingham
e7af475a2e Path/Directory
- Uses proper macros for st_mode inspection (thanks to Wim Schuermann).
2014-05-18 12:18:35 -04:00
Paul Beckingham
550d592abe CmdDiagnostics
- Now shows sizeof (time_t) in bits.
2014-05-17 22:16:55 -04:00
Paul Beckingham
14bfbb80b3 Merge pull request #3 in TM/task from ~UNODE/task:2.4.0 to 2.4.0
* commit '08c11da702':
  Testing
  Testing
  Testing certificates
  Unittesting basemodule
2014-05-18 01:35:10 +00:00
Renato Alves
08c11da702 Testing
Expose location of taskd.log and taskd.pid
2014-05-17 22:05:30 +01:00
Renato Alves
29d5de1154 Testing
Add a class to manage one or more taskd servers running on the same
machine.
2014-05-17 21:44:51 +01:00
Renato Alves
1d85416692 Testing certificates
Add certificates for use with taskd and task
2014-05-17 21:44:51 +01:00
Renato Alves
f54494d45a Unittesting basemodule
merge_streams was not having the desired effect
2014-05-17 21:44:51 +01:00
Paul Beckingham
f6607168ad Path
- Now uses 'lstat' instead of 'stat' to determine whether a path is
  a symlink. This doesn't work either.
2014-05-17 14:28:35 -04:00
Paul Beckingham
924182e12c Diagnostics
- Now displays all installed hook scripts, with executable/symlink status.
2014-05-17 14:25:02 -04:00
Paul Beckingham
92010eeb2c Path
- Implemented Path::is_link, although it doesn't work.  Why?
2014-05-17 14:21:19 -04:00
Paul Beckingham
0ffc95e312 Hooks
- Added Hooks::list method to provide a list of known hooks.
2014-05-17 14:20:46 -04:00
Paul Beckingham
e660f61cd2 Hooks
- Added 'Hooks' section to diagnostics command output.
2014-05-17 14:20:08 -04:00
Paul Beckingham
2897005e25 Documentation
- Updated developer docs.
2014-05-17 13:52:01 -04:00
Paul Beckingham
db37b0d4ed Hooks
- Corrected comment in sample hook script.
2014-05-17 11:41:32 -04:00
Paul Beckingham
11058396c8 Hooks
- Cleaned up せxample hooks, with clearer inline documentation.
2014-05-17 11:16:32 -04:00
Paul Beckingham
de34095eb5 Merge branch 'hooks' into 2.4.0 2014-05-16 19:02:53 -04:00
Paul Beckingham
9248f1569f Hooks
- Corrected check for trivial input.
2014-05-14 22:47:12 -04:00
Paul Beckingham
d70c8eef5c Hooks
- ::onLaunch now conforms to design.
2014-05-14 22:39:56 -04:00
Paul Beckingham
3010ac667b Hooks
- ::onAdd now conforms to design.
2014-05-14 22:39:35 -04:00
Paul Beckingham
0d2bc00527 Hooks
- ::onExit now comforms to design.
2014-05-14 22:10:40 -04:00
Paul Beckingham
b1c0e67581 Hooks
- ::onModify now conforms to design.
2014-05-14 21:44:22 -04:00
Paul Beckingham
0b6e94280e Hooks
- Debug diagnostics now include exit status of hook script.
2014-05-14 21:43:03 -04:00
Paul Beckingham
3f2df5a3b6 Hooks
- Added example hook scripts.
2014-05-14 20:10:37 -04:00
Paul Beckingham
8c36392fb0 Hooks
- Added diagnostics for debugging.
2014-05-14 17:47:28 -04:00
Paul Beckingham
c86853fd03 Hooks
- Added helper method ::scripts to filter by event and accessibility.
2014-05-14 17:45:42 -04:00
Paul Beckingham
dee6f3a713 Hooks
- Implemented ::onModify.
2014-05-14 00:11:13 -04:00
Paul Beckingham
0bb3be73da Hooks
- Implemented ::onAdd.
2014-05-14 00:05:47 -04:00
Paul Beckingham
8f14d83955 Hooks
- Implemented ::onExit.
2014-05-14 00:05:22 -04:00
Paul Beckingham
398bec3dbe Hooks
- Implemented ::onLaunch.
2014-05-14 00:04:51 -04:00
Paul Beckingham
ad1dc807ea Context
- Added special integer catch handler for hook terminations.
2014-05-14 00:03:56 -04:00
Paul Beckingham
d30fb54a62 Hooks
- Implemented ::execute to run a command, feed it input, read it's output and
  return the exit status.
2014-05-14 00:03:02 -04:00
Paul Beckingham
68436d0d50 TDB2
- Integrated hooks to TF2::add_task and TF2::modify_task.
2014-05-13 22:06:19 -04:00
Paul Beckingham
631e4176c7 Hooks
- Added ::onAdd.
2014-05-13 22:04:35 -04:00
Paul Beckingham
2f5435c50f Hooks
- Added ::onModify.
- Stubbed out functionality in all three hook methods.
2014-05-13 21:49:56 -04:00
Paul Beckingham
ff52a2ab59 Hooks
- Defined the interface for ::onLaunch and ::onExit.
2014-05-13 18:58:57 -04:00