Commit graph

740 commits

Author SHA1 Message Date
Paul Beckingham
01e589a172 I18N
- One does not simply std::string::substr a UTF8 string, like a bloody caveman.
  Implemented utf8_substr, and added unit tests.
2013-01-16 18:36:54 -05:00
Scott Kostyshak
45202c292b Bug
- Fix regression introduced in 73043b86 where UDA edits
  were not detected for non-date types.
2013-01-15 07:55:03 -05:00
Johannes Schlatow
55813b6a09 Bug
- Colons are evil, fixed ZSH completion commands.
2013-01-15 01:05:28 +01:00
Paul Beckingham
8271e973d8 Bug #1118
- Fixed bug #1118, which dropped changes after edits were rejected (thanks to
  Ben Boeckel).
2013-01-12 17:30:28 -05:00
Paul Beckingham
19cdf25a8f Extension Mechanism Cleanup
- Cleaned up existing extension debris, in anticipation of the new mechanisms to
  be included in future releases.  This includes install/uninstall and a full
  set of triggers.
2013-01-12 14:47:14 -05:00
Paul Beckingham
650c6cf6bb Documentation
- Updated NEWS file to include new config setting.
- Updated 'show' command so it knows about the new setting.
2013-01-01 10:13:09 -05:00
Scott Kostyshak
73043b868e Bug
- Fix a bug where CmdEdit reported modifications to a date UDA when no
  modifications were made.
2012-12-27 11:46:45 -05:00
Paul Beckingham
b515111f2b Code Cleanup
- Style: cuddled braces
- Style: one declaration per line
- Omission: ChangeLog not updated
- Omission: AUTHORS not updated
- Omission: en-US.h change not propagated to es-ES.h
2012-12-22 10:06:26 -05:00
Justin Forest
c0fbfcc58c Display duration of each activity session 2012-12-22 09:33:21 -05:00
Scott Kostyshak
14c17d5c4d Code Cleanup
- Move a newline out of localization and into source code.
2012-12-03 17:02:09 -05:00
Paul Beckingham
12b12c3a62 Feature #1061
- Added Feature #1061, which allows the 'columns' command to use a search
  string for the column name (thanks to Uli Martens).
2012-12-01 14:07:58 -05:00
Paul Beckingham
d8579730f5 Feature #1099
- Added Feature #1099, which supports the 'color.uda.<uda-name>' color rule
  (thanks to Florian Hollerweger).
2012-12-01 13:29:23 -05:00
Paul Beckingham
92c3f0862d Feature #1124
- Added '_show' command to generate a machine-readable configuration settings
  list for use by third-party software (thanks to Jake Bell).
2012-11-17 12:48:30 -05:00
Paul Beckingham
a736568e68 GnuTLS
- Added GnuTLS discovery, linking.
- Added '+/-tls' indicator to diagnostics command.
- Added libgnutls version number to diagnostics command.
- Renamed wcwidth6.c to wcwidth6.cpp, to eliminate a strange build error.
2012-10-29 02:27:33 -04:00
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
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
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
cd6d08f97c Code Cleanup
- Removed last traces of synch.key.
2012-10-02 00:00:43 -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
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
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
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
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
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
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
Scott Kostyshak
d73766484d Bug
- Fixed Bug #1060 where an error that was thrown by undo was not
  correctly caught and reported.
- Added a couple of tests to ensure that the correct error was
  caught and reported.
2012-08-11 07:03:56 -04:00
Scott Kostyshak
4f76e0ed7c Bug #1043
- Fixed bug where bash autocompletion did not work for aliases.
- Added new '_aliases' helper command.
2012-07-28 15:36:17 -04:00
Paul Beckingham
275132c1fa Enhancement
- The 'diagnostics' command now reports libuuid details.
2012-07-28 09:19:05 -04:00
Louis-Claude Canon
0857b451d6 Bug #1044
- 'task projects' discard now newly deleted tasks and it includes only filtered
  tasks for its summary.
2012-07-27 08:13:37 -04:00
Owen Clarke
c20ce334f9 Merge branch '2.2.0' of tasktools.org:task into 2.2.0 2012-07-26 22:11:05 +10:00
Owen Clarke
276971675a Bug #1042
- Fixed a bug where the diagnostics command failed to detect missing
  external utilities on Solaris and NetBSD.
2012-07-26 22:08:34 +10:00
Louis-Claude Canon
160260ff48 Code Cleanup
- Remove duplicate modify call to TDB2.
- Check if quitting in bulk change only if permission fails.
- Correct test logic (the unit for each operation is the second, not the day).
- Consistency in test for feature.1013.t
- Correctly color deleted tasks.

test
2012-07-26 08:06:15 -04:00
Paul Beckingham
d89d51e7e1 Deprecation
- Removed deprecated 'fg:' and 'bg:' attributes, which involves code,
  documentation and tests.
- Cleaned out NEWS file.
- Cleaned out config import synonyms, which should have been deleted a while
  ago.
- Removed unused localized strings, but left the 'deprecated' one behind,
  because it will be needed.
2012-07-25 22:44:25 -04:00
Louis-Claude Canon
1d99260cb9 Enhancement
- Stop consider new tasks after quitting a bulk change.
2012-07-25 08:06:18 -04:00