Commit graph

3722 commits

Author SHA1 Message Date
Paul Beckingham
2aadf445bc Code Cleanup
- Removed unused timing from the sync command.
2013-07-05 08:58:05 -04:00
Paul Beckingham
16c5314cfa Feedback
- Restored 'sync needed' feedback for when backlog contains data, and the 'sync'
  verbosity token is present (which it is by default).
2013-07-05 08:04:37 -04:00
Paul Beckingham
6aa5e0824d L10N
- Removed '?' from STRING_CMD_SYNC_INIT.  Thanks to Fidel Mato.
2013-07-04 23:09:40 -04:00
Fidel Mato
132d6d0c74 L10N
- Newly translated strings.
2013-07-04 23:08:45 -04:00
Paul Beckingham
8851bec3fa Alpha
- Preparation for alpha.
2013-06-16 10:23:27 -04:00
Thomas
f39120dd73 Integrated Priority column modification to the ColPriority object, from Task core. 2013-06-14 22:44:49 -04:00
Thomas
55a8b157b1 Migrated core task modification code to the Task object, leaving wrappers behind for legacy usage. 2013-06-10 17:18:33 -04:00
Paul Beckingham
1072852ca8 Bug
- #1263 The 'waiting' report properly lists only pending tasks with a wait date
  (thanks to Fidel Mato).
2013-06-09 16:09:24 -04:00
Paul Beckingham
11051fbf61 Build
- Eliminated build warnings.
2013-06-09 00:55:18 -04:00
Paul Beckingham
19077f76df Bug
- Fixed bug with backlog parsing.
2013-06-09 00:44:59 -04:00
Paul Beckingham
8e5b57954d TLS
- Fixed loop termination bug.
- Chose a better default buffer size.
2013-06-08 23:34:06 -04:00
Paul Beckingham
907862b741 Bug
- Shortcut for counting backlog transactions was wrong.
2013-06-08 18:18:03 -04:00
Paul Beckingham
14d3fd00e3 Sync
- Adds a new 'initialize' synchronize command argument that uploads all pending
  tasks for first-time initialization.
2013-06-08 18:00:50 -04:00
Paul Beckingham
f13208479d Unit Tests
- Modified 'version' to 'client' in the msg.t tests.
2013-06-08 15:56:10 -04:00
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