Commit Graph

93 Commits

Author SHA1 Message Date
Mark Scannell
7af6db4c17 Portability: Updated to make main re-entrant()
- New INSTALL instructions to emscripten, and AUTHORS for contribution.
2018-01-31 19:45:07 -05:00
Paul Beckingham
f922f6ee7e l10n: Eliminated STRING_COLUMN_BAD_FORMAT 2018-01-20 14:39:41 -05:00
Paul Beckingham
7abc96efea l10n: Eliminated STRING_COLUMN_BAD_NAME 2018-01-20 14:36:37 -05:00
Paul Beckingham
e928117fb2 l10n: Eliminated STRING_UDA_COLLISION 2018-01-20 14:21:43 -05:00
Paul Beckingham
6cf8f18196 l10n: Eliminated STRING_UDA_TYPE 2018-01-20 14:15:34 -05:00
Paul Beckingham
0de169bb10 Copyright 2018 2017-12-31 19:22:07 -05:00
Paul Beckingham
4e7576cb79 Merge branch 'recurrence' into 2.6.0 2017-01-07 12:29:11 -05:00
Paul Beckingham
e871976bb9 Columns: Consistency 2017-01-07 10:46:40 -05:00
Paul Beckingham
a50e65a134 Copyright update 2017-01-01 12:30:04 -05:00
Paul Beckingham
40c6623274 ColString: Removed obsolete column for ViewText 2016-12-31 11:53:00 -05:00
Paul Beckingham
b17bfb50b3 ColType*: Push the ::validate and ::modify methods down from Column 2016-12-31 09:53:42 -05:00
Paul Beckingham
76c2de685b ColRType: New recurrence attribute 2016-12-31 09:09:29 -05:00
Paul Beckingham
aedf99a827 ColLast: New recurrence attribute 2016-12-31 09:01:21 -05:00
Paul Beckingham
5ac7ca6885 ColTemplate: New recurrence attribute 2016-12-31 08:47:47 -05:00
Paul Beckingham
355620c640 libhsared: migrating from local to libshared 2016-12-06 07:20:45 -05:00
Paul Beckingham
db7ebf9029 Column: Made ::validate const 2016-02-01 23:56:39 -05:00
Paul Beckingham
7ae5e4657d Column: Only fail when an invalid UDA type is found
- Previously it was failing for a missing type, so that if a UDA was not
  completely defined, there was an unexpected error. This is because the
  setting uda.foo.label was enough to make Column extract 'foo', but then
  fail to extract uda.foo.type.
2016-02-01 18:43:47 -05:00
Paul Beckingham
309ee57783 Column: Only store UDA column objects that instantiate 2016-02-01 18:43:10 -05:00
Paul Beckingham
11b7d2edbf Column: Uses const loop iterators 2016-02-01 18:42:25 -05:00
Paul Beckingham
4f7805d005 Column: Uses non-auto-vivifying Config::has 2016-02-01 18:41:36 -05:00
Paul Beckingham
6f4f468d0d ColUDA: Split ColUDA into ColUDA{String,Numeric,Date,Duration} to make use of ColType*::modify 2016-02-01 01:10:11 -05:00
Paul Beckingham
c167fa665e Column: Reduced ::modify to a minimal implementation 2016-02-01 00:33:22 -05:00
Paul Beckingham
5d566ddcbd Column: Added base ::modify method 2016-01-31 16:29:23 -05:00
Paul Beckingham
08233c438a Revert "Column: Removed obsolete method"
This reverts commit 07027abf99.
2016-01-10 00:07:31 -05:00
Paul Beckingham
07027abf99 Column: Removed obsolete method 2016-01-09 22:41:42 -05:00
Paul Beckingham
641d232dea Copyright: Updated to 2016 2015-12-31 15:06:43 -05:00
Paul Beckingham
f64cbe1e81 Column: A std::map was being used as a std::set 2015-11-02 08:13:32 -05:00
Paul Beckingham
78b8fc5dc7 Column: Phasing out text.cpp/nontrivial() 2015-11-01 16:48:34 -05:00
Paul Beckingham
04c3e9e537 Column: Implemented ::renderStringLeft, ::renderStringRight 2015-10-31 15:42:32 -04:00
Paul Beckingham
9ea69ea802 Column: Explained justification 2015-10-31 15:20:35 -04:00
Paul Beckingham
4d42584ca0 Column: Implemented ::renderDouble 2015-10-31 15:19:19 -04:00
Paul Beckingham
b8ae54275e Column: Implemented ::renderInteger 2015-10-31 15:16:51 -04:00
Paul Beckingham
6baff92b5a Column: Removed ::can_modify, which is moot 2015-10-31 11:14:23 -04:00
Paul Beckingham
f2ac258bf1 Column: Missing include 2015-09-10 00:03:03 -04:00
Paul Beckingham
93e6ef5fb9 TW-1678: segfault in ~ViewTask()
- Column::setStyle now validates column styles.
- Thanks to Daniel Shahaf.
2015-09-09 23:41:37 -04:00
Paul Beckingham
575caffe13 Column: Removed unnecessary base class virtuals 2015-07-18 19:04:55 -04:00
Paul Beckingham
bf0b074f45 Column: Dead code removal 2015-07-17 20:59:52 -04:00
Paul Beckingham
e8d04bdce6 C++11: N1984 auto 2015-05-24 13:36:26 -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
b7ad091d00 Updated copyright to 2015 2015-01-01 00:00:41 -05: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
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
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
773b55d374 Code Cleanup
- Removed L10N define.  It served its purpose.
2013-04-07 23:50:51 -04:00