Commit graph

2415 commits

Author SHA1 Message Date
Thomas Lauf
d11a73d1d7 Try to fix install of tzdata 2019-01-06 22:54:36 +01:00
Thomas Lauf
a5ae4d03cc Move install of python-dateutil to ubuntu docker-config 2019-01-06 22:25:40 +01:00
Thomas Lauf
8bdea9337a Add install of python-dateutil to travis.yml 2019-01-06 22:09:33 +01:00
Tomas Babej
92a8029598 tests: Fix version printout 2019-01-06 21:03:43 +01:00
Tomas Babej
d12922d345 tests: Remove stale submodule directory gtest-tap-listener 2019-01-06 21:03:43 +01:00
Tomas Babej
8252dfc306 tests: Remove stale 'googletest' submodule 2019-01-06 21:03:43 +01:00
Tomas Babej
bdb98553fb tests: Implement Travis-based Multi-OS CI service
This commit implements (after the example of taskwarrior) a Travis-based
multi-OS continuous integration service, that tests on a variety of
Linux-based hosts and Mac OS X.
2019-01-06 21:03:43 +01:00
Thomas Lauf
37a3aa0ccf Rework markdown
- One line per sentence
- Use '#' instead of underline to mark headings
- Consistent indentation
2018-12-21 12:48:22 +01:00
Thomas Lauf
5b073d3390 Update Authors 2018-12-17 19:57:19 +01:00
Thomas Lauf
2e7ed5076a Add TagInfoDatabase.t to .gitignore 2018-12-07 14:02:03 +01:00
Thomas Lauf
2026296bf5 Update AUTHORS, ChangeLog
- Fix copyright dates
2018-12-06 21:08:30 +01:00
Thomas Lauf
9598f01fcf Remove accidentially added files from repository 2018-12-06 13:36:17 +01:00
Shaun Ruffell
c416b48612 doc: Add manpage for modify command. 2018-11-30 22:27:08 +01:00
Shaun Ruffell
ceca4c817e #131: Introduce 'modify' to adjust historical records to fixed date/time.
This change introduces a new command that, like lengthen, move, resize, and
shorten, is intended to move and/or resize a record, but instead of taking an
interval, will take an absolute date/time.

This command is useful because it removes the need for the user to calculate
the time intervals to shorten / lengthen a record by. For example, if the user
accidentally forgot to stop tracking an interval before starting a new one,
but new they stopped working at a specific time, it is easy to simply modify
the end time of the interval that they had forgotten to stop.
2018-11-30 22:27:08 +01:00
Shaun Ruffell
0a766bb86f Make Range destructor virtual.
This quiets the following compiler warning:

   warning: destructor called on non-final 'Interval' that has virtual functions but non-virtual destructor
2018-11-30 22:27:08 +01:00
Thomas Lauf
c598f2bd66 Add lower bounds check for DOM tag reference
- Closes #189
2018-11-25 12:24:30 +01:00
Thomas Lauf
067a475614 libshared: Updated to 230c63bd385b2a5a6ee5eb431df54b0c5c229b4d
- Closes #139
2018-11-04 19:25:03 +01:00
Thomas Lauf
72cfe7b4d8 Allow for closed intervals with start date in the future
- open intervals still have to start before now (move check to CmdStart)
- Closes #62
- Closes #142
2018-10-19 14:07:19 +02:00
Thomas Lauf
81bfbf4ae8 Add quotes to expected annotations in interval.t 2018-10-18 08:20:35 +02:00
Thomas Lauf
72acde371e Quote annotation in serialization to prevent splitting by lexer
Closes #183
2018-10-15 16:02:05 +02:00
Thomas Lauf
481a445a86 Add test for undoing 'timew annotate' 2018-10-12 08:01:13 +02:00
Thomas Lauf
4218580a27 Update ChangeLog 2018-10-10 22:23:07 +02:00
Thomas Lauf
3678c2cdc3 Add hint :annotations to display annotation column in summary (default: hidden) 2018-10-10 22:10:01 +02:00
Thomas Lauf
a35b9d6660 Add annotation column to summary 2018-10-10 21:38:57 +02:00
Thomas Lauf
fc1761e700 Fix behaviour when 'timew annotate' is called without annotation string 2018-10-10 20:42:01 +02:00
Thomas Lauf
0e43feed3c Add tests for 'timew annotate' 2018-10-10 20:42:01 +02:00
Thomas Lauf
63bb079f5e Update CmdHelp with help about 'timew annotate' 2018-10-10 15:50:11 +02:00
Thomas Lauf
3e867fbde3 Add man page for command 'annotate' 2018-10-09 17:01:03 +02:00
Thomas Lauf
58e7cec118 Added first version of command 'annotate'
Closes #68
Closes #77
2018-10-09 17:00:36 +02:00
Thomas Lauf
0077768843 Add annotations to intervals 2018-10-08 21:42:25 +02:00
Thomas Lauf
59f44e7ff2 Small refactoring
- use const and reference in fromJson
- reformat code
2018-10-08 21:42:25 +02:00
Thomas Lauf
b64f6f7568 Add round-trip tests 2018-10-08 21:42:25 +02:00
Thomas Lauf
043fea04e9 Fix case when JSON does not contain a start date 2018-10-08 21:42:25 +02:00
Thomas Lauf
af8cd7eb40 Refactor setRange 2018-10-08 21:42:25 +02:00
Thomas Lauf
1a24c49507 Extract creation of intervals into IntervalFactory 2018-10-08 21:42:25 +02:00
Thomas Lauf
8008cd8312 Add an example for undo to man page 2018-10-04 08:42:59 +02:00
Thomas Lauf
64fd98a2bd Add help and man page for command 'undo' 2018-09-27 22:02:15 +02:00
Thomas Lauf
1000a315ca Add examples for timew-cancel 2018-09-19 07:31:26 +02:00
Thomas Lauf
6236dc13de Add some line-breaks 2018-09-19 07:31:26 +02:00
Thomas Lauf
091449c423 Fix copyright statement 2018-09-19 07:31:26 +02:00
Thomas Lauf
f3f06ac016 Add command listing 2018-09-19 07:31:26 +02:00
Thomas Lauf
96b74946c2 Add OPTIONS section
- Rename section SUBCOMMANDS to "TIMEWARRIOR COMMANDS"
2018-09-19 07:31:26 +02:00
Thomas Lauf
836b9d24e7 Improve timew SYNOPSIS 2018-09-19 07:31:26 +02:00
Thomas Lauf
98efcef2df One sentence, one line. Replace empty lines with null requests 2018-09-19 07:31:26 +02:00
Thomas Lauf
a03de8c348 Align "SEE ALSO" sections 2018-09-19 07:31:26 +02:00
Thomas Lauf
f53c6c4412 Add EXAMPLES section 2018-09-19 07:31:26 +02:00
Thomas Lauf
81056986ab Remove empty lines at end of file 2018-09-19 07:31:26 +02:00
Thomas Lauf
bf9d4d3d68 Add "SEE ALSO" section 2018-09-19 07:31:26 +02:00
Thomas Lauf
e048d63d15 Put each sentence into separate line 2018-09-19 07:31:26 +02:00
Thomas Lauf
e36f658f37 Remove old command syntax description 2018-09-19 07:31:26 +02:00