Commit graph

1301 commits

Author SHA1 Message Date
Paul Beckingham
6b18a2842f Build
- Made pthreads usage conditional upon HAVE_LIBPTHREAD.
2011-01-03 19:34:00 -05:00
Paul Beckingham
6a7e741b02 Bug
- Fixed visual problem where two consecutive months are rendered on the
  x-axis as "OctNov".  Now it renders as "Oc Nov", truncating the earlier
  label.
2011-01-03 14:51:43 -05:00
Federico Hernandez
94224d0ac5 CMake
- finalized unit tests transition to CMake
- introduced 2 variables to collect inlcude dirs and libraries
2011-01-03 01:05:39 +01:00
Federico Hernandez
51fd0afade CMake
- moved configuration stuff from src to top level cmake file
- building static library task and using it for building task binary
- the static library will then be used as well in the unit tests
2011-01-02 23:45:25 +01:00
Federico Hernandez
3e68bc9ec5 CMake
- added library checks to cmake
- added configuration of include files to cmake
- move package information into configurable include file
- cmake.h.in generates auto.h to be compatible with current
  implementation of autoconf
2011-01-02 16:26:33 +01:00
Paul Beckingham
462caf5bd4 Copyright
- Updated copyright to 2011.
2010-12-31 22:03:05 -05:00
Paul Beckingham
98f3e6e61d Code Cleanup
- Used File object inside Sensor.
2010-12-31 17:25:13 -05:00
Paul Beckingham
08f32cb9e9 Bug
- Sorting bug in which 'urgency' column was not identified as numeric.
2010-12-31 00:34:23 -05:00
Paul Beckingham
57d577a140 Bug #595
- Fixed bug #595, where taskwarrior ignored changes to the wait date during
  the edit command, consequently not changing task status (thanks to Eric
  Fluger).
2010-12-31 00:33:43 -05:00
Paul Beckingham
1b66904550 Urgency/next
- Added 'urgency' as a reportable, sortable column.  This will allow
  us to test the urgency coefficients.  Note that this is experimental,
  and as such will not be documented.
2010-12-30 22:20:33 -05:00
Paul Beckingham
77f3269f09 Bug #589
- Fixed bug #589, where the man page did not adequately describe searching
  or usage of attribute modifiers (thanks to Steve Rader).
2010-12-30 09:37:40 -05:00
Federico Hernandez
b2a7b91a7c Cmake:
- added parts of the configure.ac checks to src/CMakeList.txt as
  comments/TODOs
2010-12-29 01:14:04 +01:00
Federico Hernandez
fb24835ac5 First commit of cmake stubs - more to come 2010-12-29 00:31:20 +01:00
Federico Hernandez
17ef077e27 Moved src/tests to test (cmake preperations) 2010-12-28 21:17:23 +01:00
Federico Hernandez
02dcdf83b5 Fixed auto.h includes to point to top level dir for cmake 2010-12-28 21:12:30 +01:00
Paul Beckingham
a6cf99a83c Code Cleanup
- Migrated format helper functions over from taskd.
- Converted much of the sprintf usage to format calls.
2010-12-27 16:31:11 -05:00
Paul Beckingham
5f007ed1d9 Bug
- The burndown chart was reserving space for the y-axis labels based
  on the maximum value in the data.  This is wrong.  Instead it should
  have used the maximum *label*.  Consider a graph with a maximum value
  of 99, having a width of 2 characters.  The graph labels should go up
  to 100, not 99, and therefore will take up 3 characters.
2010-12-27 01:11:03 -05:00
Paul Beckingham
8d720cacc5 Bug
- When rc.regex:on is set, filters with "+tag" elements were causing
  a segfault because the "tag" word was converted to a non-capturing
  regex, no results were captured, and array[0] failed.  Now it is
  implemented that tag elements in a filter never use regexes, which
  maintains the idea the tags are not really words, but tokens that
  either match or don't.
2010-12-27 00:57:24 -05:00
Paul Beckingham
4a58fbdd53 Merge branch '1.9.4' of tasktools.org:task into 1.9.4 2010-12-27 00:24:30 -05:00
Paul Beckingham
3d7bb9d253 Bug #564
- Fixed bug #564, which allowed the deletion of parent recurring tasks (thanks
  to Peter De Poorter).
2010-12-27 00:22:57 -05:00
Paul Beckingham
7f32435ce9 Helper Command
- Added _query helper command for script writers, which accepts a filter like
  any other report, but returns raw JSON.
2010-12-26 10:00:41 -05:00
Paul Beckingham
879f0fed78 Feature #574
- Added feature #574, default due dates (thanks to Erlan Sergaziev).
2010-12-24 00:28:06 -05:00
Paul Beckingham
18c770141d Merge branch '1.9.4' of tasktools.org:task into 1.9.4
Conflicts:
	ChangeLog
2010-12-23 23:16:05 -05:00
Paul Beckingham
595dd9f3f4 Bug #581
- Applied patch to fix bug #581, in which backslashes in annotations and
  descriptions caused problems (thanks to Itay Perl).
- Corrected unit tests that were shown to be incorrect, after the patch
  corrected other behavior.
2010-12-23 23:14:20 -05:00
Paul Beckingham
1d4c79b897 Code Cleanup
- Applied refactoring patch from Itay Perl.
2010-12-23 22:58:55 -05:00
Johannes Schlatow
ee77debfce Bug #540
- fixed issue with user names containing @ characters
- updated ChangeLog
- updated task-sync.5
2010-12-24 01:00:03 +01:00
Johannes Schlatow
d44e592635 Bug #580
- reuse merge uri for autopush
2010-12-23 22:15:11 +01:00
Paul Beckingham
4840708090 Bug #579
- Fixed bug #579, which displayed incorrect counts when using the 'limit:N'
  filter (thanks to Thomas Sattler).
- Changed wording from 'lines' to 'tasks', because the former was inaccurate.
- Adjusted limit.t tests accordingly.
2010-12-22 09:31:00 -05:00
Johannes Schlatow
bad31d83b1 Bug #570
- fixed execvp parameter
2010-12-16 22:36:24 +01:00
Paul Beckingham
1c29c2c87d Diagnostics
- Added mention of $TERM and the size of the terminal.
2010-12-16 09:29:46 -05:00
Paul Beckingham
c73f131f32 Eliminated ncurses
- Removed autoconf ncurses detection.
- Modified man pages.
- Inserted vitapi replacement code.
- Cached terminal size values for reuse.
- Modified packaging info for OSX.
- Removed -lncurses from unit test makefile.
- Removed obsolete taskrc example.
- Modified (simplified) source build instructions.
2010-12-14 14:40:03 -05:00
Johannes Schlatow
551c4b99c4 Bug #570
- fixed merge/push/pull bug (missing brace expansion in dash)
2010-12-14 10:27:28 +01:00
Federico Hernandez
4ca35fb956 Feature #567
- added a calendar offset that effectively changes the first
  month to be displayed in the calendar report (thanks to
  Michelle Crane)
- calendar.offset turns the featue off or on
- calendar.offset.value controls the number of month to be
  applied for the offset
2010-12-01 23:25:13 +01:00
Paul Beckingham
14ab7ba7bd GC
- Forgot to add 'gc' as a valid configuration variable.
2010-11-29 23:43:36 -05:00
Paul Beckingham
068d85b1f3 Unit Tests
- Added a context value for gc=1, which otherwise defaults to 0 when
  the Config object is empty.
2010-11-29 08:37:20 -05:00
Paul Beckingham
d2fdc10f39 iUnit Tests
- Corrected test that changed columns in the ls report, but not the
  corresponding sort order.
2010-11-29 08:19:12 -05:00
Paul Beckingham
0ac2b43ad3 Feature #561
- Added ability to temporarily suspend GC (rc.gc:0) for a given command, which
  helps scriptwriters implement shadow files externally (thanks to Sander
  Marechal).
2010-11-28 16:26:21 -05:00
Paul Beckingham
5bf8feefca Shadow Files
- Added a missing check for file overwrites.
2010-11-28 12:04:44 -05:00
Paul Beckingham
bdc167fd6a Miscellaneous Edits
- Added Max Muller to AUTHORS for suggestions.
- Fixed a unit test Perl warning.
2010-11-28 08:44:25 -05:00
Paul Beckingham
aa98ca42c8 Shell
- Added support for 'bye' and 'exit' as well as 'quit' from the task
  shell.  Thanks to foucist.
2010-11-27 21:33:20 -05:00
Paul Beckingham
5adc86bbbf Sorting
- Added 'description+' to all reports with duplicate sort keys, to stabilize
  the sequence.
2010-11-27 19:52:15 -05:00
Paul Beckingham
bfc2367bdb Code Cleanup
- Removed used of foreach macro.
2010-11-27 19:42:34 -05:00
Paul Beckingham
4c3354fa50 Journal Feature
- Added change log display to the 'info' command, controlled by the
  'journal.info' configuration setting.
2010-11-27 16:38:36 -05:00
Paul Beckingham
31cf470cc8 Copyright
- Made all the copyright notices consistent.  It was bothering me.
2010-11-27 09:13:09 -05:00
Paul Beckingham
fe85e28605 Show Command Defaults
- Added highlighting for the show command that indicates which values differ
  from the defaults.
2010-11-26 19:32:37 -05:00
Paul Beckingham
7a95c38290 Diagnostics
- Added configuration settings for 'regex' and 'locking', which might
  be useful.
2010-11-26 17:38:52 -05:00
Paul Beckingham
fe65d28f99 Feature #158
- Added feature #158, regular expression support for filters and substitutions.
- Added unit tests to att.t and filter.t.
- Updated docs.
2010-11-26 17:26:03 -05:00
Paul Beckingham
09ce815fc5 Feature #247
- Added feature #247, providing infinite width reports when redirecting output
  to a file, by setting defaultwidth to 0.
2010-11-26 14:54:55 -05:00
Paul Beckingham
38ffa390ea Bug #542
- Fixed bug #542, which sorted the countdown columns incorrectly (thanks to
  Michelle Crane).
- Duration could not parse all varieties of it's own output, which is why the
  sorting was broken, in particular negative durations and real numbers in
  durations (such as (1.2y').
- Sorting in Table::sort_compare for Table::periodAscending and
  Table::periodDescending was broken.
- Missing unit tests for countdown_compact.
- Imported Nibbler::getNumber from the Attitash project.
- Additional Duration unit tests.
- Additional Nibbler unit tests.
- Additional countdown.t unit tests.
2010-11-26 14:00:49 -05:00
Paul Beckingham
c2a84c7cf6 Unit Tests
- Added unit tests for bug #495, which cannot be replicated.
2010-11-26 11:40:27 -05:00