Commit graph

3025 commits

Author SHA1 Message Date
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
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
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
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
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
8af0a7f3ba Merge branch 'master' into 2.3.0
Conflicts:
	AUTHORS
	CMakeLists.txt
	INSTALL
	NEWS
	cmake.h.in
	doc/man/task-faq.5.in
	package-config/osx/README
	scripts/utils/verify_l10n
	src/API.h
	src/Config.cpp
	src/Context.cpp
	src/DOM.cpp
	src/Hooks.cpp
	src/TransportShell.h
	src/commands/CmdDiagnostics.cpp
	src/commands/CmdShell.cpp
	src/commands/CmdVersion.cpp
	src/en-US.h
	src/shell/Readline.h
	src/wcwidth6.cpp
	test/CMakeLists.txt
	test/color.uda.t
	test/duration.t.cpp
	test/hook.on-launch.t
	test/template.t
	test/uuid.t
2013-04-07 17:56:59 -04:00
Paul Beckingham
daae1749bc L10N
- Removed unnecessary es-ES.h entries for STRING_COLUMN_LABEL_FG and
  STRING_COLUMN_LABEL_BG that have been deprecated (thank to Wim Schuermann).
2013-04-07 13:56:07 -04:00
Fidel Mato
d1cac8c958 L10N
- Translated STRING_LABEL_COLUMN_MOD .
2013-04-07 09:52:18 -04:00
Paul Beckingham
d72c6567b0 Bug #1222
- #1222 The 'summary' report now obeys the 'color.label' setting (thanks to
  Steve Rader).
2013-04-06 17:18:17 -04:00
Paul Beckingham
bc94816184 Performance
- Removed Context::timer_sync, as it makes no sense now that sync is not an
  automatic operation like gc.
2013-04-02 23:45:34 -04:00
Paul Beckingham
2b8cb3e251 Bug
- Fixed a bug so that the report filter order is preserved, to enable an
  optimization that was being skipped.
2013-04-02 17:41:13 -04:00
Paul Beckingham
f420fb434e Code Cleanup
- Removed unused L10N string.
2013-04-02 16:35:18 -04:00
Federico Hernandez
7db5377d3b Removed the incomplete support for the Lua extensions. 2013-04-02 21:52:13 +02:00
Fidel Mato
3cfd57b46f L10N
- Translated STRING_VIEW_TOO_SMALL .
2013-04-02 06:43:11 -04:00
Paul Beckingham
7e4adbc091 Build Warnings
- Eliminated a build warning.
2013-04-01 21:05:50 -04:00
Paul Beckingham
656e350291 Date Formatting
- Some bad inefficiencies in date formatting were noticed, and when addressed,
  caused a bug to surface.  The length of a formatted date can be calculated
  from the dateformat, but was done incorrectly.  Very, very incorrectly.
- Added unit tests.
- Promoted date column-specific "countdown" size measurements up to the ColDate
  base class.  This neatly falls out from work on #1218.
- Noted a potential I18N problem in Date.cpp.
2013-04-01 20:01:54 -04:00
Paul Beckingham
d895c4a249 Bug #1218
- Fixed bug #1218 so that description columns minimum width is calculated
  correctly.
2013-04-01 18:07:25 -04:00
Paul Beckingham
d14a9cacec Text Formatting
- Added a format overload for three integers.
2013-04-01 15:50:16 -04:00
Paul Beckingham
1de2f9e6f1 Virtual Tag
- Added 'ANNOTATED' virtual tag.  This fell out of a change mandated by #1218.
2013-04-01 15:47:51 -04:00
Paul Beckingham
03cb5af7be Defaults
- The 'dateformat' settings now default to the ISO-8601 standard of 'Y-M-D'.
2013-03-30 17:42:45 -04:00
Fidel Mato
16635a4262 L10N
- Translated STRING_TRANSPORT_SHELL_NOPATH .
- Translated STRING_SHELL_FAIL .
- Changed (to plural) STRING_CMD_HISTORY_ADDED, _COMP, _DEL, and _NET .
2013-03-30 16:19:23 -04:00
Russell Steicke
e4da3aca0d Expand braces internally, as POSIX /bin/sh does not do {} expansion.
Signed-off-by: Russell Steicke <russells@adelie.cx>
2013-03-30 14:15:33 -04:00
Russell Steicke
0cc7bc337d Test for bug 1192 - brace expansion.
Commit 968d1c3 (Portability) introduced a bug with some very POSIX
compliant shells (eg dash), which don't do brace expansion.  So add a
test for that.

The test runs by adding a new protocol in Uri, sh+cp://path/.  This
protocol is not intended to be used normally, but is only for testing
the push and pull code.

Signed-off-by: Russell Steicke <russells@adelie.cx>
2013-03-30 14:08:50 -04:00
Paul Beckingham
983e07ab01 Feature
- Added some more low-effort, low-risk virutal tags.  Why not.
- Updated man page.
2013-03-30 13:06:06 -04:00
Paul Beckingham
a7b06bd0ee Bug #1199
- Fixed bug #1199, where 'stat' was used instead of 'lstat' (thanks to Jakub
  Wilk).
2013-03-30 12:43:29 -04:00
Paul Beckingham
6d852a96ca Bug #1200
- Fixed bug #1200, where directory removal didn't handle d_type==DT_UNKNOWN
  (thanks to Jakub Wilk).
2013-03-30 10:56:04 -04:00
Haitham Gad
e6b7445788 - Changed FindReadline.cmake to search for Readline in macports paths before system paths. - Fixed CTRL-D. Now it exits tasksh. - Fixed a crash when a task description had any special characters. 2013-03-26 23:19:34 -04:00
Scott Kostyshak
6c0561cb4d Bug #1210
- Fixed bug #1210 so that widths are taken from localized strings
  instead of hardcoded.
2013-03-26 22:37:05 -04:00
Johannes Schlatow
0a8c54ae57 Bug (missing quotes in execute command)
Fixed a bug where special characters within arguments passed to the
"execute" command needed to be escaped twice.
2013-03-12 07:34:38 +01:00
Fidel Mato
14b7e9ff6e L10N
- Translated new error.

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2013-03-11 22:40:02 -04:00
Paul Beckingham
2a7c8c2aad Feature #328
- #328 Replaced the 'shell' command with a standalone 'tasksh' binary, which
  includes GNU readline support (thanks to Haitham Gad).
2013-03-10 15:23:06 -04:00
Haitham Gad
881e4995e0 Fixing some style issues. 2013-03-10 12:38:15 -04:00
Haitham Gad
50d201a7f0 Porting on Ubuntu 2013-03-10 12:38:15 -04:00
Haitham Gad
a5f55bf2f4 Putting Readline code inside #ifdefs 2013-03-10 12:38:14 -04:00
Haitham Gad
60a7d2128e Fixing tests and updating documentation. 2013-03-10 12:38:14 -04:00
Haitham Gad
f5d6da2a7b Separating the 'task shell' command in a separate executable 'tasksh' and enabling command history traversal using GNU Readline 2013-03-10 12:38:14 -04:00
Haitham Gad
69a23b05a9 Separating the 'task shell' command in a separate executable 'tasksh' and enabling command history traversal using GNU Readline 2013-03-10 12:38:14 -04:00