Commit graph

4475 commits

Author SHA1 Message Date
Paul Beckingham
744f0f55ac Unit Tests
- Removed obsolete references to 'synch.key'.
2014-05-31 11:53:17 -04:00
Paul Beckingham
6514bdfc4d TW-28, TW-271, TW-277, TW-752, TW-1265
- TW-1265 cannot add UDA with underscore (thanks to Jakub Wilk).
- Added unit tests for TW-1265.
- Added ChangeLog and AUTHOR entries for other fixed issues.
2014-05-31 11:11:53 -04:00
Paul Beckingham
4694cfe0fe Variant
- Added specialized handling for 'priority' attributes when compared using the
  <, <=, > or >= operators.
2014-05-31 10:02:50 -04:00
Paul Beckingham
ba8c007ace Filter
- When a filter resolves an identifier through a DOM reference, it records
  the source. In other words, when 'priority' is resolved to 'H', the source
  reference ('priority') is stored in the variant. This is because different
  data attributes behave differently when compared.
2014-05-31 10:01:00 -04:00
Paul Beckingham
3bc44681a5 Variant
- A variant now contains a source reference, which indicates where it came
  from.  This is used to determine whether 'H' is a priority or just a word.
2014-05-31 09:59:18 -04:00
Paul Beckingham
6bcb9e4bf3 Parser
- Plain words found in filters are now upgraded to search terms.
2014-05-31 08:50:52 -04:00
Paul Beckingham
6ccca32434 Unit Tests
- Downgraded bash constructs to sh, reducing the requirements from bash to sh.
2014-05-30 21:39:55 -04:00
Paul Beckingham
87dcbd556e Recurrence
- Task::validate and getNextRecurrence needed to consider both Duration and
  ISO8601p.
2014-05-30 21:29:42 -04:00
Paul Beckingham
6d5d93d753 Task
- Added diagnostics for date assignments. Only duration assignment diagnostics
  were present.
2014-05-30 18:14:33 -04:00
Paul Beckingham
f2a8e22866 Unit Tests
- Uses full duration names '9months' rather than abbreviations '9mo'.
  This is in anticipation of reduced flexibility.
2014-05-30 18:13:33 -04:00
Paul Beckingham
9f6e37fa06 Portability
- Reordered includes to allow build on FreeBSD (thanks to Pietro Cerutti).
2014-05-30 15:25:34 -04:00
Paul Beckingham
688dcb6cd3 Filter
- Fixed ::pendingOnly, which now has a clearly-defined set of rules.
2014-05-30 00:39:38 -04:00
Paul Beckingham
da95c16da9 Unit Tests
- Modified a test that relies on an obsolete message.
2014-05-29 23:17:02 -04:00
Paul Beckingham
5baa999459 Build
- Added missing define for FreeBSD.
2014-05-29 20:21:34 -04:00
Paul Beckingham
46d1f2c679 Build
- Added missing include for FreeBSD.
2014-05-29 20:05:29 -04:00
Paul Beckingham
3e34679f4a Build
- Added missing include for FreeBSD.
2014-05-29 19:39:30 -04:00
Paul Beckingham
592a3bb60f Lexer
- Lexer now makes a speculative legacy dateformat parse whenever it encounters
  a decimal digit.  This assumes that rc.dateformat begins with a numeric date
  element, which is a restriction, but not a big one.
2014-05-29 18:09:11 -04:00
Paul Beckingham
79576819c3 Date
- Added the ability to suppres ISO (fixed) and epoch date parsing.
2014-05-29 18:06:52 -04:00
Paul Beckingham
52eaf3f9c2 Variant
- Can now convert type_string to type_date via legacy dateformat, provided
  that Context transmits the format.
2014-05-29 00:43:39 -04:00
Paul Beckingham
f585f31d69 OldDuration
- Removed obsolete OldDuration object, replaced by Duration.
2014-05-28 23:59:16 -04:00
Paul Beckingham
9693a724f2 CmdEdit
- Converted from OldDuration to Duration.
2014-05-28 23:55:20 -04:00
Paul Beckingham
e73d19152e ColScheduled
- Converted from OldDuration to Duration.
2014-05-28 23:51:49 -04:00
Paul Beckingham
05be2c2fc4 ColDate
- Converted from OldDuration to Duration.
2014-05-28 23:50:32 -04:00
Paul Beckingham
f36ffd91e3 ColDue
- Converted from OldDuration to Duration.
2014-05-28 23:49:32 -04:00
Paul Beckingham
5ee040f3a3 CmdBurndown
- Converted from OldDuration to Duration.
2014-05-28 23:48:35 -04:00
Paul Beckingham
3302707768 CmdSummary
- Converted from OldDuration to Duration.
2014-05-28 23:47:14 -04:00
Paul Beckingham
0fba1957c2 CmdInfo
- Converted from OldDuration to Duration.
2014-05-28 23:46:09 -04:00
Paul Beckingham
c103f22513 ColRecur
- Converted from OldDuration to Duration.
2014-05-28 23:43:48 -04:00
Paul Beckingham
ea2efe4c93 ColUDA
- Converted from OldDuration to Duration.
2014-05-28 23:42:54 -04:00
Paul Beckingham
9412f685dd CmdStats
- Converted from OldDuration to Duration.
2014-05-28 23:42:03 -04:00
Paul Beckingham
0238d36143 feedback
- Converted from OldDuration to Duration.
2014-05-28 23:40:09 -04:00
Paul Beckingham
07282d2343 Duration
- Missing include.
2014-05-28 23:36:59 -04:00
Paul Beckingham
117ade1609 Duration
- Duration inherits all of OldDuration's formatting capabilities.
- ::formatISO adds support for ISO8601 desginated period type.
2014-05-28 23:28:56 -04:00
Paul Beckingham
29d3fa9c55 sort
- Converted from OldDuration to Duration.
2014-05-28 22:43:24 -04:00
Paul Beckingham
965284875c Duration
- Migrated methods and unit tests from OldDuration to Duration.
2014-05-28 22:41:29 -04:00
Paul Beckingham
f77074785b recur
- Converted from OldDuration to Duration.
2014-05-28 22:23:40 -04:00
Paul Beckingham
9c5222be8f Task
- Converted from OldDuration to Duration.
2014-05-28 21:03:59 -04:00
Paul Beckingham
dead140c74 Code Cleanup
- Removed unnecessary includes.
- Added comment for Date integration.
2014-05-28 21:03:03 -04:00
Paul Beckingham
dbbbeb102e Date
- Uses a simpler contructor.
2014-05-28 20:59:30 -04:00
Paul Beckingham
67d42b5241 CmdTags
- Uses the correct filter.
2014-05-27 22:43:58 -04:00
Paul Beckingham
50bfb6881a Context
- Captures argv[0] for us in the shadow command.
2014-05-27 21:23:33 -04:00
Paul Beckingham
ebca8e1282 Parser
- Made 'plain args' diagnostics debug-only.
2014-05-27 16:31:55 -04:00
Paul Beckingham
84b95ce06d Unit Tests
- Corrected assumptions in a unit test about the circumstances of file creation.
2014-05-27 16:14:32 -04:00
Paul Beckingham
c5cf4de4a0 Parser
- Multiple -- terminators are considered to be a single terminator followed
  by words that are not terminators. There can be only one!
2014-05-27 15:50:59 -04:00
Paul Beckingham
7f56187748 Variant
- The partial match operator now expects length(left) > length(right).
2014-05-27 15:33:58 -04:00
Paul Beckingham
ef412d0588 CmdAnnotate
- Now specifies that text modifications are required.
2014-05-27 00:50:18 -04:00
Paul Beckingham
4ff9550580 Unit Tests
- Removed unnecessary quotes.
2014-05-27 00:45:28 -04:00
Paul Beckingham
c39285b61c Task
- Renamed 'mods_required' argument to the more accurate 'text_required' in the
  ::modify method.
2014-05-27 00:37:31 -04:00
Paul Beckingham
f3bc606344 Cmd{Add,Append,Log,Prepend}
- The commands specify that description changes are required.
2014-05-27 00:35:52 -04:00
Paul Beckingham
b4539a9df9 Task
- ::modify now assumes that it is not mandatory that there be a non-trivial set
  of changes.  This can be overridden.
2014-05-27 00:34:48 -04:00