Commit graph

3607 commits

Author SHA1 Message Date
Scott Kostyshak
d6ce938c4a Code Cleanup
- Rename the class CmdStatistics to CmdStats for consistency
  because 'stats' is the command.

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2012-10-18 22:45:04 -04:00
Paul Beckingham
cda35c03d6 Sockets
- Suppports IPv4 and IPv6 task server addresses.
- Cleaned up error message when server is not available.
2012-10-14 02:10:12 -04:00
Paul Beckingham
fb427a4c6f Merge branch '2.2.0' of tasktools.org:task into 2.2.0 2012-10-13 22:20:33 -04:00
Paul Beckingham
42661312d6 Portability
- Detected birth time in struct stat.
2012-10-13 22:20:08 -04:00
Paul Beckingham
879ecf9505 Internationalization
- Fixed the mechanism used to select translations (thanks to Fidel Mato).
2012-10-13 15:32:00 -04:00
Paul Beckingham
47d94f370e Sync Feedback
- Added a detailed sync summary message, indicating what happened.
- Improved and localized the feedback messages for the sync command.
- Added color to the add/modify feedback, matching the merge command.
- Enabled the sync timer for debugging output.
2012-10-13 12:14:46 -04:00
Paul Beckingham
8fa7d135db Sync
- Provided protocol version in sync message.
- Improved feedback messages.
2012-10-10 23:34:52 -04:00
Paul Beckingham
d060bf166d Sync
- Distinguishes between new upstream tasks and deltas.
- Handles 201 (nop) code from task server.
- Removed unnecessary \r\n from messages.
- Cleaned up some of the diagnostic output.
2012-10-08 17:47:07 -04:00
Paul Beckingham
4a6b9e6104 TDB2
- Added an option to bypass backlog recording to TDB2::add and TDB2::modify.
  This is required when handling backlog data, to prevent perpetual syncing.
2012-10-08 17:45:43 -04:00
Paul Beckingham
98d9a367f3 Sync
- Corrected handling of backlog.data after a synch, using TF2::clear_tasks.
2012-10-08 17:43:14 -04:00
Paul Beckingham
c5ff24358c Feature #934
- Feature #934, supports 'reserved.lines' to indicate a multi-line prompt for
  use in conjunction with 'limit:page' (thanks to Robert Gill).
- Removed 'locale' from the taskrc.5 man page.
- Added verbosity token 'sync'.
- Fixed bug in size calculation for 'limit:page', but there is still one more.
- Corrected unit test limit.t given the above fix.
2012-10-06 15:29:00 -04:00
Paul Beckingham
9cbd729553 Sync
- Added server credential handling.
- Added server error handling.
- Added task download handling.
- Added backlog truncation and synch_key handling.
- Added display of server-side messages.
- Cleaned up NEWS file for 2.3.0.
- Removed duplicate info in diagnostics command output.
2012-10-06 14:15:51 -04:00
Paul Beckingham
27df379f1d Statistics
- Added a backlog transaction count to the statistics.
2012-10-06 12:21:32 -04:00
Paul Beckingham
8d3e340819 Sync
- Properly marked sync command as not displaying IDs, therefore no GC.
2012-10-06 10:23:29 -04:00
Paul Beckingham
936720220c Sync
- Implemented the high-level communications, still without TLS.
- Includes temporary diagnostics, and unlocalized error messages.  These will
  converge upon proper and useful error messages as the command matures.
2012-10-06 10:15:06 -04:00
Paul Beckingham
e7e34b7148 Sync
- Added a ::send method to CmdSync to perform the transfer.  Note that this
  does not yet include any TLS.
2012-10-06 09:07:30 -04:00
Paul Beckingham
5a9810a423 Diagnostics
- Added server info to the diagnostics command output.
2012-10-06 09:05:20 -04:00
Paul Beckingham
ce2f7054f7 Messaging
- Migrated taskd messaging code over, for client-side communications.
2012-10-06 09:03:27 -04:00
Paul Beckingham
b5e90f08d8 Sockets
- Migrated taskd socket code, for client-side transactions.
2012-10-06 09:01:49 -04:00
Paul Beckingham
9fe9f96f8f File::rename
- Added a rename method to permit safe file writes.
2012-10-03 22:13:47 -04:00
Paul Beckingham
cd6d08f97c Code Cleanup
- Removed last traces of synch.key.
2012-10-02 00:00:43 -04:00
Paul Beckingham
337e5557b3 Backlog
- Added backlog handling for add/modify.
2012-10-01 23:30:57 -04:00
Paul Beckingham
becd8f155c Synchronize Command
- Added the stub of the sync command.
2012-10-01 23:16:08 -04:00
Paul Beckingham
68963ad3e4 Feature #953
- Added Feature #953, which includes the total number of blocked and blocking
  tasks to the 'statistics' command output (thanks to T. Charles Yun).
2012-09-27 01:06:21 -04:00
Paul Beckingham
bb167b2275 Feature
- New 'modified' attribute, which contains the most recent modification date,
  if a modification has occurred.
2012-09-27 00:56:41 -04:00
Paul Beckingham
8d8bd653fa Feature #685
- Added Feature #685, which provides a 'blocking' report, and new color rule
  (thanks to Michelle Crane).
2012-09-26 23:52:06 -04:00
Paul Beckingham
61ccccabd8 Bug #1031
- Fixed bug #1031, which kept expanding aliases after the '--' operator (thanks
  to Jim B).
- Cleaned up mess in the ChangeLog, which should list features before bugs,
  reported issues before ad hoc issues, and in ascending numerical order.
2012-09-26 23:06:42 -04:00
Scott Kostyshak
9fb15b0d7d Bug #1056
-Complete the fix of #1056 by having CmdSummary print abstract parent
 names and not prefix children project names with parent project names.
-Unit tests for above.
2012-09-24 08:04:47 -04:00
Scott Kostyshak
be5dc8ab90 Bug #1056
- Fix #1056: the 'projects' command now outputs abstract parents
  and reduces repetition by not printing parent names in front of
  children names.
- Project name indentation is not affected by the first character
  being a period and/or the last character being a period.
- Unit tests for above.
2012-09-23 08:07:11 -04:00
Federico Hernandez
a3242f7b5b Merge branch 'master' into 2.2.0
- merge of 2.1.2 release being now the current released version in
  master.

Conflicts:
	CMakeLists.txt
	NEWS
	test/bug.1104.t
	test/run_all
2012-09-18 22:58:59 +02:00
Pietro Cerutti
1c5068edb2 Bug
- Fixed bug where shadow files are not properly created when there is a missing
  .taskrc file.

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2012-09-18 07:50:55 -04:00
Paul Beckingham
ad3e249a64 Merge branch '2.2.0' of tasktools.org:task into 2.2.0 2012-09-16 15:19:39 -04:00
Paul Beckingham
9d1ae99656 Virtual Tags
- Added virtual tag TODAY as a synonym for DUETODAY.
2012-09-16 14:57:59 -04:00
Paul Beckingham
2f10e8d2e2 Bug #1083
- Partially fixed #1083, which showed 'task 0 ...' when modifying a non-
  pending task (thanks to Aikido Guy).
2012-09-16 14:57:07 -04:00
Paul Beckingham
8cd43ce2b2 Chase warning due to the opaque type time_t in printf
Signed-off-by: Paul Beckingham <paul@beckingham.net>

Conflicts:
	src/Duration.cpp
2012-09-11 20:58:16 +02:00
Paul Beckingham
724f29a50b Unit Tests
- Fixed ids, uuids, zshids, _ids, _uuids, _zshids commands to suppress
  headers that prevent these from being used.
2012-09-10 22:55:50 -04:00
Johannes Schlatow
68c1ca3f69 Bug #1104
Fixed the bug where the sort order of transactions with equal timestamps
 was not stable, i.e. due to the lack of a total order, different merges
 produced different sortings and hence messed up transactions which
 have already been merged.
2012-09-10 22:53:44 +02:00
Johannes Schlatow
98da8ddcb8 Bug #1104
Added unit test.

 Implemented a quick fix for the issue with a broken branch-off algorithm
 which disregarded the transaction boundaries in the undo.data file.
2012-09-10 20:33:32 +02:00
Johannes Schlatow
55fe8810ce Bug #1104
Added unit test.

 Implemented a quick fix for the issue with a broken branch-off algorithm
 which disregarded the transaction boundaries in the undo.data file.
2012-09-10 14:42:44 +02:00
Scott Kostyshak
6a4fd6b133 Code Cleanup
- Remove an unused parameter.
2012-09-05 06:57:58 -04:00
Scott Kostyshak
ed8be2e2f2 Bug #1059
- Fixed Bug #1059, where CmdEdit incorrectly ran gc.
  (Thanks to Louis-Claude Canon)
2012-09-04 22:11:53 -04:00
Scott Kostyshak
7a6cdde571 Code Cleanup
- Constify some catches.
2012-09-04 22:04:41 -04:00
Paul Beckingham
968d1c32e8 Portability
- Removed unnecessary dependence on Bash: sh is POSIX, bash is not.
2012-08-21 16:13:45 +01:00
Paul Beckingham
23cd59a9a1 Chase warning due to the opaque type time_t in printf
Signed-off-by: Paul Beckingham <paul@beckingham.net>
2012-08-21 15:41:30 +01:00
Paul Beckingham
945127ad05 Portability
- Fixed warning that only appears on FreeBSD.
2012-08-21 11:11:55 +01:00
Scott Kostyshak
e89aa6cdbc Feature #1069
- Throw a custom error if uda.<uda-name>.type is not set
  but, for example, uda.<uda-name>.label is set.
2012-08-15 21:37:01 -04:00
Scott Kostyshak
60c1017e68 Code Cleanup
- Show no longer indents the warning.
2012-08-13 17:31:42 -04:00
Scott Kostyshak
109c6434f5 Code Cleanup
- Recycle an object.
- A second argument to task show now gives an error.
2012-08-13 08:10:22 -04:00
Scott Kostyshak
7b0b3210a5 Bug #1065
- Fixed bug #1065, where CmdShow issued messages in incorrect situations.
- Added unit tests.
2012-08-12 17:49:27 -04:00
Paul Beckingham
8d66d801c0 Enhancement
- Added virtual tag support for the first batch.  There will be follow-up
  work, tests and so on.
2012-08-12 13:46:23 -04:00