Commit graph

136 commits

Author SHA1 Message Date
Paul Beckingham
8fd1bb630d Code: Formatting cleanup 2015-05-25 09:21:58 -04:00
Paul Beckingham
e8d04bdce6 C++11: N1984 auto 2015-05-24 13:36:26 -04:00
Paul Beckingham
7bbc794d3a C++11: N2672 Initializer lists
- Modified code to use the more compact and readable initializer lists.
2015-05-24 13:03:02 -04:00
Paul Beckingham
bd3d58484a C++11: Cleaned up column code wiht range-based for 2015-05-11 17:33:20 -04:00
Paul Beckingham
61e1401073 Performance: Only measures the first fixed-width column row 2015-04-05 16:05:43 -04:00
Paul Beckingham
5af4579741 Priority: Converted 'priority' attribute to a UDA
- 'priority.long' and 'priority.short' formats now map to 'priority', and
  generate a warning.
- Man page updated.
- Converted priority urgency coefficients to UDA equivalents.
- Converted priority color rules to UDA color rules.
- Removed 'default.priority' support.
- Removed special sort handling for 'priority' field in Variant, added special
  UDA sort handling.
- Removed ColPriority.{h,cpp} source files.
- Removed asorted newly-unused variables.
- The 'show' command now highlights unused priority settings.
- Removed unused localized priority-relateѕ strings.
- Added legacy mapping for columns and sort columns for 'priority.long' and
  'priority.short' columns in report definitions.
- Removed priority color rules implementation.
- Removed obsolete tests for #860, #990, custom.priority_long.t.
- Updated various tests that set priority default, colors.
2015-04-04 19:30:33 -04:00
Paul Beckingham
f1ef53bea0 Column: Return const refs rather than string copies 2015-04-04 10:58:55 -04:00
Paul Beckingham
f2998aba74 TW-1547
- TW-1547 Recur column is always shown even if no recurring task is displayed
          (thanks to Renato Alves).
2015-02-18 20:53:56 -08:00
Paul Beckingham
d2b2631db7 TW-1546
- TW-1546 column type due.remaining breaks colors on due tasks (thanks to Renato
          Alves).
2015-02-18 20:18:31 -08:00
Paul Beckingham
693fe9b8fd ColPriority
- Made the acceptance of lower-case priorities explicitly either lower or upper
  case, but converted to upper case. This eliminates the dependency on text.cpp
  upperCase(), which is not UTF8-safe.
2015-02-17 10:40:51 -05:00
Paul Beckingham
61291e4d1e C++
- ColumnDate::~ColumnDate should be virtual.
2015-01-31 13:23:45 -05:00
Paul Beckingham
b7ad091d00 Updated copyright to 2015 2015-01-01 00:00:41 -05:00
Paul Beckingham
3f8095166e TW-161
- TW-161 UDA indicator (thanks to Jim B).
2014-12-27 15:30:41 -05:00
Paul Beckingham
e924913e11 TW-1417
- TW-1417 Misaligned fields in report for "remaining" date (thanks to Jeremy
          John Reeder).
2014-12-24 10:00:57 -05:00
Paul Beckingham
8ff32b767f TW-1444
- TW-1444 Tag ordering is preserved, but should be sorted in reports.
2014-11-08 16:52:19 -05:00
Paul Beckingham
861cc83e6d TW-241
- TW-241 new column format; recur.short.
- All duration columns now default to compact ISO duration format.
2014-09-06 15:38:25 -04:00
atomicules
87f9d548df TW-101 - New description column format: Truncated WITH annotation count
Adds a "truncated with annotation count" column style for the
description field and corresponding unit test.
2014-08-23 12:05:00 -04:00
Paul Beckingham
5c6c14e21b TW-1381
- TW-1381 blocking report exits with "Unknown error" and exit code 3.
2014-08-16 16:14:28 -04:00
Paul Beckingham
77047cf07c Column
- Added a missing method to access Column::_name.
2014-08-16 16:12:46 -04:00
Paul Beckingham
9d727a73d2 ColUrgency
- Now uses the standard type 'numeric', instead of 'number'.
2014-06-15 09:49:26 -04:00
Paul Beckingham
6b6e9a6b15 ColIMask
- Now uses the standard type 'numeric', instead of 'number'.
2014-06-15 09:48:54 -04:00
Paul Beckingham
d557c20782 ColID
- Now uses the standard type 'numeric', instead of 'number'.
2014-06-15 09:48:05 -04:00
Paul Beckingham
e73d19152e ColScheduled
- Converted from OldDuration to Duration.
2014-05-28 23:51:49 -04:00
Paul Beckingham
05be2c2fc4 ColDate
- Converted from OldDuration to Duration.
2014-05-28 23:50:32 -04:00
Paul Beckingham
f36ffd91e3 ColDue
- Converted from OldDuration to Duration.
2014-05-28 23:49:32 -04:00
Paul Beckingham
c103f22513 ColRecur
- Converted from OldDuration to Duration.
2014-05-28 23:43:48 -04:00
Paul Beckingham
ea2efe4c93 ColUDA
- Converted from OldDuration to Duration.
2014-05-28 23:42:54 -04:00
Paul Beckingham
25abf04fdf TW-1318
- TW-1318 creating a UDA in the wrong sequence will cripple taskwarrior (thanks
          to Onion).
2014-05-09 22:57:40 -04:00
Paul Beckingham
8d10d81198 Columns
- Removed ColUDA::is_uda override, because it was wrong.  Now in the base class
  a member variable is referenced.
2014-04-16 00:06:29 -04:00
Paul Beckingham
194db8634e Columns
- The Columns::is_uda() method allows identification of UDA attributes.
2014-04-15 21:11:10 -04:00
Paul Beckingham
523dce8f32 Code Cleanup
- Standardized headers.
2014-02-01 14:33:37 -05:00
Paul Beckingham
1ac4ff8ac9 Merge branch '2.3.0' into 2.4.0 2014-01-08 00:10:17 -05:00
Paul Beckingham
3e4972ba4b Bug #1476
- #1476 Unicode indicators increase column width (thanks to Paul Kishimoto).
2014-01-07 22:23:39 -05:00
Paul Beckingham
9c41610f56 Merge Errors
- Fixed errors from merge mistakes.
2014-01-07 19:23:54 -05:00
Paul Beckingham
98f740e9d1 Merge branch '2.3.0' into 2.4.0
Conflicts:
	AUTHORS
	CMakeLists.txt
	NEWS
	src/A3.cpp
	src/CMakeLists.txt
	src/Config.cpp
	src/Duration.cpp
	src/Duration.h
	src/Nibbler.cpp
	src/Nibbler.h
	src/RX.cpp
	src/RX.h
	src/columns/ColDate.cpp
	src/columns/ColScheduled.cpp
	src/commands/Command.cpp
	src/legacy.cpp
	src/utf8.cpp
	src/utf8.h
	test/CMakeLists.txt
	test/bug.mergedeps.t.postponed
	test/duration.t.cpp
	test/merge.duplicates.t
	test/merge.simple_duplication.t
	test/merge.t
	test/nibbler.t.cpp
	test/roundtrip.t
	test/rx.t.cpp
	test/utf8.t.cpp
2014-01-07 19:10:03 -05:00
Paul Beckingham
18f03c25b4 Duration
- Renamed Duration object to OldDuration so that the two implementations can
  coexist in a binary.
2014-01-02 01:06:48 -05:00
Paul Beckingham
d27451590a Duration Rename
- In preparation for a new (different) Duration object, the source files need
  to be renamed.
2014-01-02 00:12:28 -05:00
Paul Beckingham
8ed92ca498 Copyright
- Bumped copyright to 2014, ready for release.
2014-01-01 13:32:22 -05:00
Paul Beckingham
49c07acb05 Linkage
- More build system cleanup and sync betweee 2.4 and 2.3.
2013-10-20 14:20:46 -04:00
Paul Beckingham
02aaba2f1a Linkage
- Removing last remnants of parser lib.
2013-10-19 23:27:49 -04:00
Paul Beckingham
27f65a821f Portability
- Removed unused compiler options for the OpenBSD port (thanks to kili, jasper).
2013-09-15 19:21:05 -04:00
Paul Beckingham
4cc9e90362 Date Formats
- Fixed broken documentation for custom report definitions regarding column
  formats.
- Modified date access to use the more efficient Date::get_date method, which
  also shrinks the code.
- Added the 'remaining' format for all date columns.
2013-09-07 11:43:57 -04:00
Paul Beckingham
9ee17a5b51 Parser
- New parser lib is linked.
2013-09-01 14:13:10 -04:00
Paul Beckingham
4b574c5de4 Build Warning
- Fixed FreeBSD build warning.
2013-07-26 19:45:53 -04:00
Thomas
f39120dd73 Integrated Priority column modification to the ColPriority object, from Task core. 2013-06-14 22:44:49 -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
1641bcf592 White Space
- White space cleanup, to avoid further git hook warnings.
2013-04-15 00:06:37 -04:00
Paul Beckingham
773b55d374 Code Cleanup
- Removed L10N define.  It served its purpose.
2013-04-07 23:50:51 -04:00
Paul Beckingham
7e4adbc091 Build Warnings
- Eliminated a build warning.
2013-04-01 21:05:50 -04:00