Commit graph

1783 commits

Author SHA1 Message Date
Paul Beckingham
c1dd9df929 validate: Uses helper function to find overlaps 2017-05-28 11:31:16 -04:00
Paul Beckingham
7c8c1df46f helper: Added overlap helper function 2017-05-28 11:18:20 -04:00
Paul Beckingham
d87a529d08 data: Added better error when an attempt is made to track a future interval 2017-05-28 09:43:37 -04:00
Paul Beckingham
60ce6cef25 Data: Using a single date instance, so that direct comparisons work 2017-05-28 09:33:28 -04:00
Paul Beckingham
66b88d6c7e timew: Added timeRelative feature shut-off 2017-05-21 12:59:26 -04:00
Paul Beckingham
bbb8bcc1ed Validate: Rearranged code to elimiante warning 2017-05-21 12:58:47 -04:00
Paul Beckingham
39a33b8f03 libshared: Upgraded to 198dcd368501076fe31b22d828ae72066d0e6291 2017-05-21 12:41:55 -04:00
Thomas Lauf
b619b2b574 docs: Fix internal documentation for continue command 2017-04-14 11:48:27 +02:00
Thomas Lauf
735fb10e41 docs: Update documentation for continue command 2017-04-13 23:55:12 +02:00
Paul Beckingham
b714abfc37 Code Cleanup: Test commit 2017-04-12 17:13:56 -04:00
Paul Beckingham
2bee90fd79 Code Cleanup: Test commit 2017-04-12 17:13:34 -04:00
Paul Beckingham
3111f0dd7c Code Cleanup: Test commit 2017-04-12 17:11:39 -04:00
Thomas Lauf
7244259740 TI-62: TimeWarrior should not ignore invalid command
- Rule: If there is no command found, the command line has to be empty.
  Otherwise we assume a mistyped or unknown command has been issued.
  Take the first word from the command line and complain about it.
2017-04-11 07:10:43 +02:00
Paul Beckingham
f65c672b73 CmdLengthen: Test commit 2017-04-10 23:54:25 -04:00
Paul Beckingham
754b08fc64 Data: Removed debugging code 2017-04-09 16:40:34 -04:00
Paul Beckingham
7cc8618c80 Rules: Added support for the platform-dependent behavior of strtoimax 2017-04-08 13:38:11 -04:00
Thomas Lauf
9b0f8e8c15 TI-68: Let commands convert synthetic intervals before modifying them
- command 'lengthen'
- command 'move'
- command 'shorten'
- command 'tag'
- command 'untag'
2017-04-08 14:51:55 +02:00
Thomas Lauf
52853db6bd TI-68: Apply exclusions to open intervals only 2017-04-08 14:51:55 +02:00
Thomas Lauf
a5dc0cd385 TI-27: Continue tracking by ID
- Make command 'continue' process ids
- Fix test: immediate start stop creates empty intervals?
2017-04-06 22:46:52 +02:00
Thomas Lauf
ad67539f94 TI-58: Fix bug 'Delete command is not always deleting'
- Update database before deleting sythetic intervals
- Make Exclusion::ranges work with open interval
2017-04-05 22:53:53 +02:00
Thomas Lauf
98218c4b75 validate: Fix typo 2017-04-05 22:47:34 +02:00
Paul Beckingham
c283c9d2c4 TI-70: Timew starts a new interval even if a current interval contains the same set of tags
- Thanks to Thomas Babej.
2017-04-04 18:43:33 -04:00
Paul Beckingham
8aef6fcab5 libshared: Updated to f1a3cd6bfabfb083fe3c26f580a15c0d60a92ee9 2017-04-01 14:46:03 -04:00
Thomas Lauf
182cd5b0b4 TI-67: Assign ids to intervals after flattening but before filtering 2017-03-25 15:26:29 +01:00
Paul Beckingham
40e95ca65b data: getTracked now detects synthetic intervals 2017-03-19 15:37:07 -04:00
Paul Beckingham
d535ffb4e5 Range: Implemented ::operator!= 2017-03-19 15:36:34 -04:00
Paul Beckingham
96202f3a24 libshared: Updated to f2ac7ef9cc9f33f634f9aacd65ca9c1f828f50e3 2017-03-19 15:07:43 -04:00
Paul Beckingham
61b9667df8 Interval: Added synthetic indicator to ::dump 2017-03-19 15:07:06 -04:00
Paul Beckingham
0da2fb7d4b libshared: Updated to 05fd157c0a95f9bf55ad5dcbdc8bd2920a6bb5c0 2017-03-19 09:27:38 -04:00
Paul Beckingham
e0e86b2b44 libshared: Updated to 6f0900d86743405f24d52f9eafe6c8e941d40ec3 2017-03-15 11:59:03 -04:00
Paul Beckingham
e295d328bc libshared: Updated to 24290115e46dbcaab00da156aa1fd8188925ff8f 2017-03-14 20:22:00 -04:00
Thomas Lauf
cef51697ee TI-29: Fix issue "timew config can't add new value"
- Add code to enter a new value for a config which is defined by Rules.cpp
  but not found in the configuration file.
2017-03-09 20:41:20 +01:00
Paul Beckingham
f01cdbcf7f CmdHelp: Updated named date list 2017-03-08 08:16:43 -05:00
Paul Beckingham
63da0dee1f helper: Corrected use of obsolete date names 2017-03-08 08:10:08 -05:00
Paul Beckingham
3000dceca5 CmdChart: Corrected use of obsolete date names 2017-03-08 08:08:43 -05:00
Paul Beckingham
b012bf6fec libshared: Updated to cbe3fd84a8950a42ed271a0dd8e7c4e1564b1333
- This update has many Datetime impovements, and may cause some regressions.
  Updates include:
    * All date names are now standardized with Taskwarrior
    * There is sopd, sod and sond (previous, current and next) start of day
    * There is s and e representing start and end
    * There is d, w, ww, m, q and y, which is unchanged
2017-03-08 08:05:09 -05:00
Paul Beckingham
a63dd9eb6e libshared: Updated to 5bd493494fe2b1f0ab208e1edb4854316eeb5423 2017-03-06 23:55:12 -05:00
Paul Beckingham
9051e41af5 libshared: Updated to 0dbe6c2818d4dc99f5d0089d6afb1559ed05ebf7 2017-03-04 19:18:31 -05:00
Paul Beckingham
308417bf24 Cleanup: Greater use of const 2017-02-25 15:24:40 -05:00
Paul Beckingham
2dd14c0b4c Cleanup: Greater use of const 2017-02-25 15:20:18 -05:00
Paul Beckingham
addb89e13d CmdChart: Config defaults make the rules defaults redundant
- Do not need both
2017-02-25 15:15:51 -05:00
Paul Beckingham
42ba7ac92c helper: Parentheses added for readabiliy 2017-02-25 15:13:52 -05:00
Paul Beckingham
57bc4d71c8 TI-65: The 'tags' command should support a filter 2017-02-25 15:07:18 -05:00
Paul Beckingham
d60af9bab2 Extensions: Typo 2017-02-25 14:36:49 -05:00
Paul Beckingham
848c6e33fc CmdChart: Default value handling
- Added default value ('15') for 'rules.<type>.cell'.
- Corrected EINVAL and ERANGE handling inside Rule::getInteger.
- Made the error message for the above more specific.
- Added the '> 0' constraint to the man page.
2017-02-25 13:00:20 -05:00
Thomas Lauf
58f07d0266 TI-46: Display error in visual reports (day,week,month)
- Fix calculation of end_mins
- Add tests
2017-02-18 23:04:44 +01:00
Thomas Lauf
c944aebacc TI-39: Bogus command line option causes segfault
- Return error message for invalid values in CmdChart
- Add tests (partially moved from cli.t)
2017-02-13 20:58:37 +01:00
Federico Hernandez
d15e99fe35 Added weekday hints 2017-02-10 00:17:51 +01:00
Thomas Lauf
e505129d5c TI-64: Command 'stop' with date before current interval's start date causes segfault
- Show error message if stop date is before current interval's start date
- Add test for this use case
2017-02-09 08:58:22 -05:00
Paul Beckingham
2e10962d4e CmdHelp: Typos 2017-02-01 07:54:01 -05:00