Commit graph

3858 commits

Author SHA1 Message Date
Paul Beckingham
d9676aefd4 Task Server
- The old 'version' message header is now the 'client' message header.
2013-06-08 15:08:02 -04:00
Paul Beckingham
8c11c6c895 Unit Tests
- Added unit test to ensure correct F4 and JSON parse/compose.
2013-06-03 00:44:25 -04:00
Paul Beckingham
58084f6d7a Sync
- Modifed the column 0 task indicator from '[' to '{', for backlog.data lines.
2013-06-02 22:38:20 -04:00
Paul Beckingham
4133d29cca FF4/JSON Interop
- Removed the \n characters from Task::composeFF4 and Task::ComposeJSON.
- Tasks in backlog.data file are now written as JSON.
- Tasks are recognized in FF4 or JSON format.
2013-06-02 20:38:58 -04:00
Paul Beckingham
29e9dbcea6 Convergence
- Task.{h,cpp} code is converging on a shared taskwarrior/task server version.
2013-06-02 17:46:34 -04:00
Paul Beckingham
dd0b01e487 Code Sharing
- Cleaned up the #ifdef in Task.cpp for sharing with taskd.

(cherry picked from commit af94ac2e12d84fddb735d6931aaf2c46176c794c)
2013-06-02 13:58:21 -04:00
Paul Beckingham
530e9c0118 Unit Tests
- Corrected unit tests due to rc.print.empty.columns.

(cherry picked from commit af12285d4585c1274d8d005ba042f31158527e3e)
2013-06-02 13:58:09 -04:00
Paul Beckingham
d03c4cda8a Build Error
- Many files were missing an explicit cmake.h include.  Some were not including
  it at all.  Now it's used almost everywhere.

(cherry picked from commit 82ae86979c497e6d1d0c6b2b5a55aa379ec82c98)
2013-06-02 13:57:36 -04:00
Paul Beckingham
7b89bc92e1 Performance
- It it not necessary to make a copy of all configuration variable names, if the
  Config::const_iterator is sufficient.

(cherry picked from commit 5708cb90780f1f6c8f58f5b549796c4af612b1ab)
2013-06-02 13:56:00 -04:00
Paul Beckingham
c16a735040 Decoupling
- Eliminated some calls to context.config from Task‥cpp, reducing the coupling.
  If context can be eliminated from Task.cpp, via statically initialized
  variables, then Taskwarrior and the task server can share Task.{ḩ,cpp} which
  would be an enormous saving in effort.

(cherry picked from commit 215b03b1a7f47299a0d3e64331c7e3c962b4caf0)
2013-06-02 13:55:45 -04:00
Paul Beckingham
a3f158d399 Diagnostics
- Added GC setting to the diagnostics output.
2013-05-24 16:27:55 -04:00
Frédéric Mangano
ea6861e7f0 fr-FR: column labels 2013-05-23 16:13:53 -04:00
Paul Beckingham
85341d521e Build Error
- Missing include.  What do ya know.
2013-05-20 20:47:13 -04:00
Paul Beckingham
a340528de8 Performance Testing
- Added import and export to the testing.  As an extension mechanism, it needs
  to perform well.
2013-05-20 20:35:40 -04:00
Paul Beckingham
4672d16091 Shared Code
- Added '#ifdef PRODUCT_TASKWARRIOR' in enough places that taskd can now share an
  identical copy of Task.{h,cpp}.
2013-05-20 18:17:05 -04:00
Paul Beckingham
222cd9a8d7 Unit Tests
- Added a non-trivial JSON task to parse.
2013-05-20 16:35:42 -04:00
Paul Beckingham
b408458439 Import
- The import command now uses the built-in Task::parseJSON method.
- Began t3.t.cpp for JSON parsing tests.
2013-05-20 16:31:57 -04:00
Paul Beckingham
6a97017c79 File Format
- File format 2 (used in version 0.9.3 - 1.5.0) is no longer supported.
- Task::parseJSON implemented.
- PRODUCT_TASKWARRIOR defined, to facilitate code sharing.
- Strings renamed for sharing purposes.
2013-05-20 16:14:34 -04:00
Paul Beckingham
00f8f56c00 TLS
- Associated debugging output with log level > 0.
- Fixed bug where TLSClient::_limit was uninitialized.
2013-05-19 20:04:19 -04:00
Paul Beckingham
adf374eb06 Build Warnings
- Eliminated warnings in TLS code.
2013-05-15 00:44:52 -04:00
Paul Beckingham
39228808eb Build Error
- More missing/wrong includes.
2013-05-12 15:43:03 -04:00
Paul Beckingham
2db34640a6 Build Error
- Missing include.
2013-05-12 12:19:36 -04:00
Paul Beckingham
dcc9554da8 Build Errors
- Added missing includes.
2013-05-12 12:15:15 -04:00
Paul Beckingham
51c339e49f Documentation
- Documented the new configuration settings for task server communication.
2013-05-12 01:21:24 -04:00
Paul Beckingham
1e9fb8eebc Sync
- Implemented sync over TLS.
- Obsoleted the Socket code, replacing it with TLSClient, TLSServer.
- Added task server details to the 'diagnostics' command output.
- 'rc.debug.tls' controls the GnuTLS log level.
- Removed redundant cmake diagnostics.
2013-05-12 01:05:58 -04:00
Paul Beckingham
f15c9a1b7e Documentation
- Added missing dateformat components 'j' and 'J' to the man page.
2013-05-11 18:05:28 -04:00
Paul Beckingham
6d2cbd77f8 Sync
- Added task server details to the 'diagnostics' command output.
- Added new configuration variables to the 'show' command.
- rc.taskd.server specifies host:port of the task server.
- rc.taskd.credentials specifies user credentials for the task server.
- rc.taskd.certificate specifies the task server certificate.
- rc.debug.tls shows TLS log information, for debugging.
2013-05-11 16:49:39 -04:00
Paul Beckingham
a973ccf8f2 Sync
- When taskwarrior is built without GnuTLS, there will be a message to that
  effect.
- Stubbed the TLSClient calling code.  The current Socket code will become
  obsolete soon.
2013-05-11 13:07:14 -04:00
Paul Beckingham
157699cbde Feature #1256 Follow-up
- Extended unit tests to cover 'add' failures.
- Removed whitespace at EOL.
- Updated ChangeLog, AUTHORS, NEWS.
- Updated taskrc.5.in.
- Updated CmdShow to allow new config settings.
2013-05-07 16:26:58 -04:00
Thomas
56eab7da0d Added ability for UDAs to have a default value. 2013-05-07 16:07:20 -04:00
Paul Beckingham
a1132f0028 Code Cleanup
- Cmake was not updating HAVE_ST_BIRTHTIME.
- NIBBLER_FEATURE_DATE was not properly applied everywhere.
- FEATURE_COLOR was not properly set.
- Some source files failed to include cmake.h, and therefore were not properly
- Removed inefficient use of std::string::substr for guaranteed single character
  strings.
- Integrated Directory::cd.
- Integrated File::ctime, ::btime.
- Integrated Path::operator+.
- Integrated Nibbler::getDigit{2,4,6}.
- Integrated HighResTimer.
  enabling/disabling code.
- All Path objects now expanded internally to absolute form.
- Modified unit tests to accomodate absolute paths.
- Merged new nibbler.t.cpp tests.
- Made various methods const.
- Includes removed from some files, added to others.
2013-05-05 08:33:52 -04:00
Paul Beckingham
ebaf09cbe0 Enhancement
- The 'due' urgency component is now calculated at a higher resolution.
2013-05-04 07:36:53 -04:00
Paul Beckingham
bc49cb8e77 Documentation
- Added it-IT translation details.
2013-05-02 17:58:57 -04:00
Tullio Facchinetti
c00d49e233 Fixed some few inconsistencies in IT translation strings (removed old strings). 2013-05-02 17:55:00 -04:00
Tullio Facchinetti
1b405e4975 Italian translation. 2013-05-02 06:24:07 -04:00
Haitham Gad
6981893a2e Disallowing tasksh to start in interactive mode (not in batch mode) if no ~/.taskrc exists 2013-04-28 22:51:16 -04:00
Fidel Mato
f6ef9249b8 L10N translated new (in 2.3.0) es-ES.h STRING_s
- Translated 17 strings, mostly STRING_CMD_SYNC_*
 - Also new strings from tasksh, usage message included.
2013-04-28 14:56:18 -04:00
YBSAR
fefe944246 Translated date-related strings into French. 2013-04-18 06:59:31 -04:00
Paul Beckingham
8a3b1e207b Merge branch '2.3.0' of tasktools.org:task into 2.3.0 2013-04-16 00:12:17 -04:00
Paul Beckingham
f0048395fb L10N Utility
- Combined three l10n utiity scripts into one, which can now do the following:
  - Automatically locate all the localized string files.
  - Look for missing strings in the localized string files.
  - Point out strings that are not used in the code.
  - Count strings.
  - Warn when strings are unchanged across languages.
  - Exit with a status code, so it can be used in unit tests.
- Thanks to Wim Schuermann and Fidel Mato for providing code and ideas.
2013-04-16 00:11:07 -04:00
Paul Beckingham
1641bcf592 White Space
- White space cleanup, to avoid further git hook warnings.
2013-04-15 00:06:37 -04:00
Paul Beckingham
b6797b6242 Virtual Tags
- Started using virtual tags in the report definitions.
- Fixed compilation problem.
2013-04-14 23:52:13 -04:00
Paul Beckingham
09f577536a Feature #1250
- #1250 Support out-of-tree test runs (thanks to Jakub Wilk).
2013-04-13 15:02:50 -04:00
Paul Beckingham
5cfd7b0cc6 Portability
- Added support for GNU/Hurd and GNU/kFreeBSD systems (thanks to Jakub Wilk).
2013-04-13 14:49:59 -04:00
Paul Beckingham
31b44de8b0 Bug #1247
- #1247 Tests now create a local dir, rather than use the insecure /tmp dir
  (thanks to Jakub Wilk).
2013-04-13 14:08:39 -04:00
Paul Beckingham
68a12908d2 Bug #1200
- #1200 Directory d_type==DT_UNKNOWN is now handled correctly (thanks to Jakub
  Wilk).
2013-04-13 13:37:16 -04:00
Paul Beckingham
0ea28ef8a3 Bug #1196
- #1196 Now builds on Hurd (thanks to Jakub Wilk).
2013-04-09 20:50:05 -04:00
Paul Beckingham
773b55d374 Code Cleanup
- Removed L10N define.  It served its purpose.
2013-04-07 23:50:51 -04:00
Paul Beckingham
af079bb5b0 Feature
- Began fr-FR localization.
2013-04-07 23:19:30 -04:00
Paul Beckingham
5862c7dc4f ChangeLog
- Combined the two change logs.
2013-04-07 18:14:31 -04:00