Paul Beckingham
7a765b186e
Portability
...
- Changed include ordering, for FreeBSD.
2014-08-30 23:44:51 -04:00
Paul Beckingham
df744d5c98
Code Cleanup
...
- Removed unused util.cpp ::execute variant.
2014-08-30 23:43:58 -04:00
Paul Beckingham
284146162f
Portability
...
- Added _WITH_GETLINE for FreeBSD.
2014-08-30 23:38:11 -04:00
Paul Beckingham
07b7fe4541
Util
...
- Added new 'execute' function that provides input and captures output.
2014-08-30 23:31:23 -04:00
Paul Beckingham
820c327a81
Util
...
- Made arg vector const.
- Applied coding conventions.
2014-08-30 23:27:49 -04:00
Paul Beckingham
16fc71e2ef
Code Cleanup
...
- Readability.
2014-04-16 16:56:45 -04:00
Paul Beckingham
523dce8f32
Code Cleanup
...
- Standardized headers.
2014-02-01 14:33:37 -05:00
Paul Beckingham
8ed92ca498
Copyright
...
- Bumped copyright to 2014, ready for release.
2014-01-01 13:32:22 -05:00
Paul Beckingham
04e0df6965
FreeBSD
...
- Converted __FreeBSD__ to FREEBSD for consistency.
2013-09-14 11:51:56 -04:00
Pietro Cerutti
da7cc6eed7
Fix uuid on FreeBSD
...
In FreeBSD, just as in DARWIN, uuid functions are in libc and no external libuuid is required.
The API is quite different from Linux's though, so a different implementation of uuid () (util.cpp) is needed.
2013-09-14 11:38:47 -04:00
Martin Natano
fcfd50bd25
require libuuid
...
- require libuuid at build time and remove insufficiently seeded
replacement for uuid()
2013-07-20 15:52:42 -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
773b55d374
Code Cleanup
...
- Removed L10N define. It served its purpose.
2013-04-07 23:50:51 -04:00
Paul Beckingham
1dccd29643
Copyright 2013
...
- Updated copyright notices.
2013-03-04 17:47:12 -05: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
Rainer Müller
2bb601e6f2
Bug
...
- Match localized answers for confirmation
Signed-off-by: Paul Beckingham <paul@beckingham.net >
2013-02-19 22:17:08 -05:00
Paul Beckingham
42661312d6
Portability
...
- Detected birth time in struct stat.
2012-10-13 22:20:08 -04:00
Scott Kostyshak
be5dc8ab90
Bug #1056
...
- Fix #1056 : the 'projects' command now outputs abstract parents
and reduces repetition by not printing parent names in front of
children names.
- Project name indentation is not affected by the first character
being a period and/or the last character being a period.
- Unit tests for above.
2012-09-23 08:07:11 -04:00
Paul Beckingham
968d1c32e8
Portability
...
- Removed unnecessary dependence on Bash: sh is POSIX, bash is not.
2012-08-21 16:13:45 +01:00
Owen Clarke
a655be823b
Bug #1030
...
- Added portable implementation of timegm for non GNU/BSD platforms that
don't have their own implementation
- Removed the use of tm_gmtoff on non GNU/BSD platforms that don't have
it as part of the tm struct in time.h
- Added CMake tests HAVE_TIMEGM and HAVE_TM_GMTOFF
2012-07-16 22:45:11 +10:00
Louis-Claude Canon
b093d23f1f
Typos
...
- Fix various typos in comments and documentation.
Signed-off-by: Paul Beckingham <paul@beckingham.net >
2012-06-12 16:44:14 -04:00
Paul Beckingham
95e36d1145
Enhancement
...
- Broke the indentTree function into two pieces - one that processes
a list, the other that processes a single item. This makes it more
efficient for use places that have only one element.
2012-03-25 16:54:13 -04:00
Paul Beckingham
2ce9322a28
Bug #917
...
- Fixed bug #917 , which mis-encoded quotes (thanks to Uli Martens).
- Added unit tests.
- Minor unrelated edits.
2012-02-02 22:58:36 -05:00
Paul Beckingham
5e4f7feff8
Performance
...
- Added a shortcut test that speeds up the decode process for most cases.
2012-01-30 00:18:53 -05:00
Paul Beckingham
ec96d929a0
Bug 879 - Description/Annotation ending with Slash Causes Problems
...
- Backslashes actually. The escaping mechanism in the low-level parser
was eating leading \ characters when it should not. Very hard bug to
find, trivial to fix.
- Added unit tests to several components while narrowing this down.
2012-01-29 15:36:05 -05:00
Paul Beckingham
6580095002
Copyright
...
- Year change.
2012-01-02 23:32:10 -05:00
Paul Beckingham
0001457612
Enhancement
...
- Added indentTree function that will provide the basis for a new 'projects'
command, and potentially more. Includes unit tests. Based on a patch from
Ralph Bean.
2011-12-27 15:32:51 -05:00
Johannes Schlatow
d8d2060b39
Bug #871
...
- Fixed escaping of spaces for scp and curl
2011-11-30 00:12:20 +01:00
Federico Hernandez
8116c6a103
License
...
- moving task from GPL to MIT license
top level src directory
2011-10-08 00:04:01 +02:00
Paul Beckingham
78f91ffa91
Verbosity
...
- Added 'affected' verbosity token.
- Deprecated 'rc.echo.command'.
- Updated config defaults.
- Labelled all deprecated 'echo.command' references with '// Deprecated 2.0'
- Added unit tests to start the verbosity testing. Not complete.
- Updated taskrc.5 man page.
2011-10-01 11:16:12 -04:00
Paul Beckingham
ab931b6af2
Legacy
...
- Added legacy warnings about use of fg: or bg:.
2011-08-27 14:29:08 -04:00
Paul Beckingham
1392c8e619
Typo
...
- Wrong variable name. Should have run the tests first.
2011-08-27 10:46:49 -04:00
Paul Beckingham
e5acabc452
Helper functions
...
- Rescued the ::encode and ::decode funtions and put them in util.cpp.
This is because 2.0 will still need to perform the same encode/decode
operations without Att.cpp around.
2011-08-27 10:21:49 -04:00
Ben Boeckel
210b5f54d5
[PATCH] Compute the height of a burndown chart
...
Signed-off-by: Paul Beckingham <paul@beckingham.net >
2011-07-29 22:30:27 -04:00
Matt Kraai
f86b497fa8
Portability
...
- Patch provided to define uint32_t types, etc in util.cpp.
Signed-off-by: Paul Beckingham <paul@beckingham.net >
2011-07-24 23:50:12 -04:00
Paul Beckingham
197524a5fc
Expression
...
- Added configurable 'abbreviation.minimum' (default:2) setting to
control how auto-completion works.
2011-07-20 10:51:13 -04:00
Owen Clarke
3b2e93f1a0
Bug #772
...
- Implemented custom uuid function that doesn't suffer from the precision
and cyclic lack of randomness of the previous implementation.
Signed-off-by: Paul Beckingham <paul@beckingham.net >
2011-07-01 15:34:41 -04:00
Owen Clarke
f5e155e54d
Bug 795
...
- Improved detection of uuid library, and the uuid_unparse_lower
function.
Signed-off-by: Paul Beckingham <paul@beckingham.net >
2011-06-29 22:38:41 -04:00
Owen Clarke
526fa07326
Bug #795
...
- Addressed lack of uuid_unparse_lower on Solaris.
Signed-off-by: Paul Beckingham <paul@beckingham.net >
2011-06-27 22:57:58 -04:00
Paul Beckingham
6a48d86f2c
L10N
...
- Localized all column objects, some commands.
2011-06-16 20:28:46 -04:00
Paul Beckingham
36e24fa1fb
Build
...
- More missing includes.
2011-05-28 18:18:48 -04:00
Paul Beckingham
8f85b0e194
Utils - combine
...
- Implemented combine, which takes two integer vectors and combines
them resulting in a single vector contianing the unique values of
both.
2011-05-28 09:49:22 -04:00
Paul Beckingham
8fabffe18c
Code Cleanup
...
- Eliminated '#include "x"' by changing all to '#include <x>'.
2011-05-28 00:19:59 -04:00
Paul Beckingham
d892a0cbd2
Code Cleanup
...
- Fixed comments, compilation warnings.
- Decomposed Context::initialize into several, single-purpose methods.
- Replaced Context::initialize with Context::initialize2.
2011-05-24 19:37:03 -04:00
Christopher J. Pilkington
62334201d1
Bug #770
...
- Applied patch for Bug #770 , which fixed a broken build (thanks to Christopher
J. Pilkington).
Signed-off-by: Paul Beckingham <paul@beckingham.net >
2011-05-06 22:51:36 -04:00
Johannes Schlatow
7e1f8591f6
exec
...
- moved function that executes external commands from Transport.cpp
to util.cpp since it is not dedicated to push/pull/merge anymore
2011-05-02 16:25:40 +02:00
Paul Beckingham
5f8b3cf989
Code Cleanup
...
- Further attemps at removing 'foreach'.
2011-04-23 23:06:00 -04:00
Paul Beckingham
38576ba08a
Unit Tests
...
- Because taskDifferences now uses ucFirst on attribute names, three
tests fail.
2011-03-30 00:35:06 -04:00
Paul Beckingham
c502f0216a
i18n
...
- Eliminated StringTable.{h,cpp}.
- Eliminated strings.<locale> files. This is not the way to do it.
2011-03-27 02:06:09 -04:00