Commit graph

2157 commits

Author SHA1 Message Date
Paul Beckingham
c557174172 Tests: Adjusted tests based on error message change 2017-02-25 13:17:15 -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
Paul Beckingham
1ed8d8e07c Tests: Added test for TI-58 2017-02-23 16:25:35 -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
Paul Beckingham
c7cf7d7b46 Docs: Updated compiler version, docs 2017-02-15 07:53:16 -05:00
Thomas Lauf
8ad54f9bfd TI-40: totals.py extension script fails with an error
- Improve totals.py extension script:
- Fix display issue if tags are shorter than string 'Totals'
- Fix issue when totals.py is called on empty database
- Add tests: test_totals.t
2017-02-14 23:33:02 +01:00
Paul Beckingham
3fe704ce80 TI-39: Bogus command line option causes segfault
- Thanks to Jan Stolarek, Thomas Lauf.
2017-02-14 08:00:06 -05: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
Thomas Lauf
90c3620dc9 tests: Remove superfluous spaces at the end of python docstring 2017-02-11 21:48:23 +01:00
Federico Hernandez
d15e99fe35 Added weekday hints 2017-02-10 00:17:51 +01:00
Paul Beckingham
f6ef46d822 Docs: Updated ChangeLog 2017-02-09 09:00:10 -05: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
Thomas Lauf
403b1c6f5e TI-27: Add tests for continue with ids
- verify "continue @1 @2" returns error
- verify "continue @N" returns error if @N does not exist
- verify "continue @N" copies specified interval
- verify "continue @N" stops active time tracking
2017-02-05 23:28:30 +01:00
Paul Beckingham
2e10962d4e CmdHelp: Typos 2017-02-01 07:54:01 -05:00
Thomas Lauf
f49e15e1a9 TI-62: TimeWarrior should not ignore invalid command
- Add test "call 'timew' without active time tracking"
- Add test "call 'timew' with active time tracking"
- Add test "call a non-existing TimeWarrior command"
2017-01-28 21:51:17 -05:00
Paul Beckingham
ac4ecbecad TI-61: Typo in exclusion.t.cpp
- Thanks to Thomas Lauf.
2017-01-25 21:35:38 -05:00
Paul Beckingham
538fc6c6ea TI-49: new theme files aren't installed
- Thanks to Richard Brown.
2017-01-16 21:35:08 -05:00
Tomas Babej
d830d8fcff docs: Document the 'resize' command in the man page 2017-01-09 18:34:06 -05:00
Tomas Babej
50f42a84df tests: Add basic tests for the 'resize' command 2017-01-09 18:33:22 -05:00
Tomas Babej
fac6b03df2 commands: Add preliminary version of 'resize' command 2017-01-09 18:33:14 -05:00
Paul Beckingham
2f0b00b721 CmdDiagnostics: Updated to libshared cppCompliance call 2017-01-08 14:12:37 -05:00
Paul Beckingham
6b2b3aa328 libshared: Updated to bfb0e90e0c94918b86dd16d8b0e05a74bab8fb75 2017-01-08 14:12:13 -05:00
Paul Beckingham
1d88ec386f util: Migrated osName to libshared 2017-01-08 11:43:16 -05:00
Paul Beckingham
dd46cfd461 libshared: Updated to aff911bd080a05e5e12a240e13adb27f435b5bb2 2017-01-08 11:42:08 -05:00
Paul Beckingham
1091cc2085 Copyright update 2017-01-01 12:45:32 -05:00
Paul Beckingham
b2c4013180 Tests: Removed TASKD_USE_PATH 2016-11-22 10:23:03 -05:00
Paul Beckingham
6d147cc99a Tests: Set sys.stdout as utf8 2016-11-21 22:39:54 -05:00
Paul Beckingham
29d155afd7 Extensions: Migrated to libshared Timer 2016-11-19 14:07:21 -05:00
Paul Beckingham
3758d74c56 timew: Migrated to libshared Timer 2016-11-19 14:07:05 -05:00
Paul Beckingham
7033db3f83 libshared: Updated to ce5c3414de56a2d1390893bbdc46e7116c38cd90 2016-11-19 14:06:48 -05:00
Paul Beckingham
268d6cf682 Holidays: Refreshed en-US for both 2016, 2017 2016-11-06 08:21:32 -05:00
Paul Beckingham
6ccbf141de TI-52: The 'refresh' scripts overwrites previous years data
- Thanks to m8r.
2016-11-06 08:20:47 -05:00
Paul Beckingham
ccfa91e572 Holidays: Updated to include 2017 2016-11-05 11:57:50 -04:00
Paul Beckingham
db53745181 TI-51: in the taskwarrior hook, deleting a task doesn't stop the watch
- Thanks to Mattia Rizzolo.
2016-11-05 11:57:15 -04:00
Paul Beckingham
887e419ed4 Rules: Corrected errno values 2016-11-05 11:42:40 -04:00
Paul Beckingham
af7f949db7 Tests: Bad test description 2016-11-05 11:41:49 -04:00
Jelle van der Waa
8f74cdeff3 TI-39: Bogs command line option segfaults
num_lines is set to zero when the conversion fails which segfaults later
when num_lines is used to create the Composite vector. Set the default
value for num_lines to 1 to resolve the issue of bad input segfaulting.
2016-11-05 11:36:06 -04:00
Paul Beckingham
2eeb374aba Rules: Added conversion failure detection 2016-11-05 11:35:13 -04:00
Jelle van der Waa
c33a3a9d9a Add defaultValue argument to Rules::getInteger
The defaultValue can be used for callers who do not want 0 to be
returned when conversion fails since strtoimax returns 0 when the
conversion fails.
2016-11-05 11:29:52 -04:00
Paul Beckingham
6557814909 Ext: Taskwarrior project handling
- Taskwarrior projects are now used as-is as tags, and also split on the '.' to
  represent project hierarchy as separate tags.
- Thanks to Josh Proehl.
2016-10-04 00:27:20 -04:00
Paul Beckingham
067643c64a Tests: Fixed quiet tests after TI-47 2016-09-23 19:48:28 -04:00
Paul Beckingham
88960d5bee Tests: Fixed clock tests after TI-47 2016-09-23 19:47:18 -04:00
Paul Beckingham
77ec509cff TI-47: first call successfully creates new database but returns exit status 1
- Thanks to Georg Sauthoff.
2016-09-23 19:37:16 -04:00
Paul Beckingham
28e1dffec5 Build: REmoved compiler warning 2016-09-09 22:33:15 -04:00
Federico Hernandez
5dc3469954 Bumped date in documentation 2016-09-09 23:14:13 +02:00
Paul Beckingham
e61a5d29ff Docs: Added TIMEWARRIORDB mention 2016-09-06 22:38:52 -04:00
Paul Beckingham
d5a47b9ab7 Docs: Added missing man page link
- Thanks to David Patrick.
2016-09-05 21:04:04 -04:00
Paul Beckingham
bb122b5758 Tests: Added TI-39 test 2016-09-05 14:30:08 -04:00
Paul Beckingham
c51735998c Docs: Removed old reference to support forums 2016-09-05 08:52:49 -04:00
Paul Beckingham
42efb0c042 TI-42: refresh holiday script throws an error on nb-NO locale
- Thanks to Jelle van der Waa.
2016-09-03 15:32:54 -04:00