Commit graph

3722 commits

Author SHA1 Message Date
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
Paul Beckingham
0fd3ddbe57 Bug #1197
- Fixed bug #1197 so that 'tasksh' now recognized Ctrl-D to exit (thanks to
  Haitham Gad).
2013-03-26 23:25:18 -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
Paul Beckingham
e88b52b67d Documentation
- Updated AUTHORS.
2013-03-26 22:21:53 -04:00
Federico Hernandez
4afcc14ca4 Update Changelog with bug fix #1209 2013-03-19 20:49:21 +01:00
Federico Hernandez
9fea189d25 Bug #1209
- fixed bug #1209, spelling mistake in reference page.
2013-03-19 20:47:19 +01:00
Johannes Schlatow
168266febf Documentation 2013-03-12 07:40:46 +01: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
Paul Beckingham
e3afa04e2d Performance Testing
- Added 'performance' make target that constructs an 8,000+ task database and
  runs benchmark queries against it.
2013-03-11 23:55:17 -04:00
Paul Beckingham
9ed67f1a45 Documentation
- Updated the developer information.
2013-03-11 23:34:02 -04:00
Paul Beckingham
864b46a1b1 Unit Tests
- Improved two tests that always fail around summer time clock changes, by
  eliminating the dependence on 86,400.
- Fixed feature.891.t tests that fail on certain fortuitous random UUID
  permutations.  Now hard-coded UUID.
2013-03-11 23:05:30 -04:00
Paul Beckingham
da8258256d Documentation
- Updated docs to highly recommend libuuid.
2013-03-11 22:45:19 -04: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
e15859b6e2 Cleanup
- Updated .gitignore with correct paths, new stuff.
2013-03-10 16:39:37 -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
1ebc802a89 Adding a man page and refering to it from other man pages 2013-03-10 12:38:14 -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
Haitham Gad
b6ac337828 Finding Readline. 2013-03-10 12:38:14 -04:00
Haitham Gad
14717cb2da Adding a Readline finder CMake module because Readline is not in the default CMake module list. 2013-03-10 12:38:13 -04:00
Haitham Gad
5a360ef208 Adding shell module. 2013-03-10 12:38:13 -04:00
Haitham Gad
c801380f42 Adding shell module 2013-03-10 12:38:13 -04:00
Paul Beckingham
82bd13bc7a Bug #1194
- Fixed bug #1194, so that $HOME has precedence over the passwd db when looking
  for the user's home directory (thanks to Jakub Wilk).
2013-03-09 17:36:48 -05:00
Paul Beckingham
a790cce6f6 Unit Tests
- Fixed hook tests to work on released code (thanks to Jakub Wilk).
2013-03-09 17:05:34 -05:00
Paul Beckingham
a40f424dad Documentation
- Documented virtual tags.
2013-03-09 16:53:43 -05:00
Paul Beckingham
88968ac36c Bug #1191
+ The 'execute' command should not be considered a 'write' command.
2013-03-06 21:04:46 -05:00
Paul Beckingham
08b959aafc Merge branch '2.2.0' of tasktools.org:task into 2.2.0 2013-03-06 20:53:34 -05:00
Johannes Schlatow
d4fee2b799 Merge branch '2.2.0' of tasktools.org:task into 2.2.0 2013-03-07 02:47:04 +01:00
Johannes Schlatow
7388cec75e Bug #1191
Added missing close().
2013-03-07 02:46:37 +01:00
Rainer Müller
48b9fdc152 [PATCH] Bug
- Do not print xterm titles without a tty. Writing escape sequences for xterm
  titles is unnecessary when the output is piped into another tool.

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2013-03-05 21:15:51 -05:00
Rainer Müller
631d03ce38 [PATCH] Documentation
- Update the default value of rule.precedence.color in task-color.5 and taskrc.5
  manual pages.

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2013-03-05 20:58:11 -05:00
Paul Beckingham
f3967e7d97 Revert "Fix: manpages were not installed when running an out-of-source build"
This reverts commit 9395a4d112.
2013-03-04 20:20:18 -05:00
Paul Beckingham
bcd414aad7 Unit Test
- Unfixed a unit test that got its date bumped along with the copyright.
2013-03-04 18:13:02 -05:00
Federico Hernandez
a409923916 Further date changes to 2013 2013-03-05 00:02:48 +01:00
Federico Hernandez
c2c4152669 Bumped 2012 to 2013 in doc/man 2013-03-04 23:54:23 +01:00
Federico Hernandez
699852b43b Merge branch '2.2.0' of git://tasktools.org/task into 2.2.0 2013-03-04 23:49:05 +01:00
Federico Hernandez
39dbbbda35 Bumped OS in NEWS file 2013-03-04 23:47:25 +01:00
Paul Beckingham
1dccd29643 Copyright 2013
- Updated copyright notices.
2013-03-04 17:47:12 -05:00
Federico Hernandez
430acab7ea Bumping version number 2.2.0.beta1
- Releasing first beta of 2.2.0
2013-03-04 23:03:10 +01:00
Paul Beckingham
c978b2b65a Transport Errors
- The 'push' and 'pull' commands now properly distinguish between a missing
  transport utility and other errors (thanks to Russell Steicke).
2013-03-03 09:34:54 -05:00
Russell Steicke
1428a4135b Clean up Transport::execute() and callers.
- Ensure that the real exit code of the child program is retrieved
  using WEXITSTATUS().

- Centralise the handling of code 127, which means that the child
  shell process could not execute its child (ssh, rsync, or curl.)

Signed-off-by: Russell Steicke <russells@adelie.cx>
2013-03-03 09:00:48 -05:00