Commit graph

1410 commits

Author SHA1 Message Date
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
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
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
887e419ed4 Rules: Corrected errno values 2016-11-05 11:42:40 -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
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
Paul Beckingham
dcc6fc8810 TI-34: Make timew more user-friendly by adding --help and default output
- Thanks to Felix Wolfsteller.
2016-08-16 16:42:01 -04:00
Paul Beckingham
a37e4746ad TI-34: Make timew more user-friendly by adding --help and default output
- Thanks to Felix Wolfsteller.
2016-08-12 08:10:32 -04:00
Paul Beckingham
4c0a212c3c Rules: Added minimal theme colors 2016-08-08 22:56:27 -04:00
Paul Beckingham
eb50862c1e WWW-12: yesterday tag not recognised
- Thanks to Michel Crucifix.
2016-08-06 18:09:46 -04:00
Paul Beckingham
935145eb9b Rules: Typo 2016-08-05 17:41:09 -04:00
Paul Beckingham
64cf3fad76 CmdHelp: Added extension list to the 'help' command 2016-08-05 17:40:33 -04:00
Paul Beckingham
d9baff6547 Database: No longer segments open intervals across data files 2016-08-03 19:41:09 -04:00
Paul Beckingham
04fc87aa38 libshared: Upgraded to 577c22e4c78dbcb9b0bc605d54650e791f3ff4ba 2016-08-01 20:49:07 -04:00