Commit graph

3853 commits

Author SHA1 Message Date
Paul Beckingham
d89ee4d19c Merge branch '2.2.0' of tasktools.org:task into 2.2.0 2012-12-03 07:45:41 -05:00
Scott Kostyshak
8e5dd60687 Code Cleanup
- Some typos for the English localization suggested by Fidel Mato.
2012-12-03 07:38:24 -05:00
Paul Beckingham
1d3248bb1f Unit Tests
- Fixed problem with color.uda.t leaving default color.alternate active.
2012-12-01 23:30:33 -05:00
Paul Beckingham
f0bd5a4f20 Bug #947
- Looks like it was already fixed along with #1031.
2012-12-01 16:58:45 -05:00
Paul Beckingham
8659ff8292 Export
- Added sample TSB export add-on.
2012-12-01 16:28:08 -05:00
Paul Beckingham
3a2a500eb1 L10N
- Placeholder for date range checking.
2012-12-01 15:55:07 -05:00
Paul Beckingham
6ce3a8e27f Bug #1123
- Fixed bug #1123, which caused the undo of a 'log' command to corrupt the data
  file (thanks to Tim None).
2012-12-01 15:05:03 -05:00
Paul Beckingham
4e03832b68 Feature #1039
- Added Feature #1039, which adds new date shortcuts, 'socm' and 'eocm',
  meaning start and end of current month (thanks to Thomas Sullivan,
  Louis-Claude Canon).
2012-12-01 14:22: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
Johannes Schlatow
7710c7a623 Merge bug
Hopefully found the ultimate cause of duplicated (completed) tasks.

The corresponding test case

 1. does not rely on the fact that there are modifications with equal
    timestamps and
 2. is a LOT simpler than the other ones.
2012-11-23 13:14:40 +01:00
Johannes Schlatow
0e28374131 Bug #1117
Fixed some other merge issues with the sorting order of equally timestamped
entries in undo.data (see #1104).

1. The fact that both files can begin with equal timestamps but different
   modifications has not been taken into account.

2. Besides the fact that the relative order within the same data file must
   be preservered as introduced before, we also need a unique order for entries
   of different data files so that each machine comes to the same merge result.
   This has now been achieved by taking the UUIDs into account as soon as the
   timestamps are equal.
2012-11-23 13:03:32 +01:00
Fidel Mato
69b63189f6 L10N
- Corrections, new strings.

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2012-11-18 09:14:26 -05:00
Paul Beckingham
638a242476 Build System
- Removed code that searches for the pthreads and Lua51 libraries.
2012-11-17 15:20:31 -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
Scott Kostyshak
973e0ed56b Spanish (es-ES) Localization
- The latest translation update from Fidel Mato.
2012-11-11 13:08:35 -05:00
Scott Kostyshak
2afb893b2a Feature
- Bash now completes "rc:" with file names and
  "rc.data.location:" with folder names.
2012-10-30 17:02:06 -04:00
Paul Beckingham
9929dbb543 Spanish (es-ES) Localization
- The latest translation update from Fidel Mato.
2012-10-29 16:11:00 -04:00
Paul Beckingham
d9e24098b5 C -> C++
- Integrated wcwidth6.c more into text.cpp.
- Moved wcwidth6.c to wcwidth6.cpp, to cure some strange build issue.
2012-10-29 16:09:32 -04: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
Paul Beckingham
2f4c9b2653 Unit Tests
- Typo on several hundred lines where a , was used in place of ; but seems to
  have no ill effects.  Strange.
2012-10-22 00:56:59 -04:00
Paul Beckingham
6239a5b0c9 Unit Tests
- The tdb2.t test program was reporting 9 tests but running 12.  This also was
  throwing off the test counts.
2012-10-22 00:46:37 -04:00
Paul Beckingham
73192fa99a Unit Tests
- Fixed syntax error in test script that was causing test counts to be off.
2012-10-22 00:38:24 -04:00
Paul Beckingham
c5a31631aa Localizations
- Added ES_ES as language 2.
- Removed obsolete readline reference.
2012-10-21 23:50:46 -04:00
Scott Kostyshak
4baaf52610 Bug
- Hyphenation is not needed when words are split with commas.
- Unit test added.
2012-10-20 14:34:12 -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
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
b1443e831b Unit Tests
- Removed mention of synch.key from all unit tests.  This is an obsolete file.
2012-10-01 23:56:09 -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
Federico Hernandez
b3bd522f73 Bumped version number to 2.3.0 2012-10-01 23:54:25 +02:00