Commit graph

129 commits

Author SHA1 Message Date
Paul Beckingham
51def4b12b Lexer: Migrated commify, ucFirst and lowerCase from text to Lexer 2015-10-30 10:57:14 -04:00
Paul Beckingham
a82558064b Cleanup: Prep for '-Wextra' 2015-10-16 16:27:05 -04:00
Paul Beckingham
aa3304798b CmdEdit: Migrated from Date to ISO8601d 2015-10-03 19:22:42 -04:00
Paul Beckingham
4f156c407c Recur: Migrated recurrence from Date to ISO8601d
- Changed signature of recur functions, which needed a main.h change, which led
  to removing '#include <Date.h>' from main.h, which necessitated adding the
  sam include to various other source files.  Temporarily.
- Added 'ISO8601d ISO8601d::operator+ (time_t)', because of differences from the
  original Date object.
2015-09-30 09:52:09 -04:00
Tomas Babej
45dea75faa CmdEdit: Do not allow concurrent edits 2015-09-16 20:24:13 -04:00
Tomas Babej
023cc3c383 CmdEdit: Do not bump annotation timestamps without need 2015-09-06 21:54:20 -04:00
Paul Beckingham
ea1ce4fad5 CmdEdit: Removed redundant arg checks 2015-09-06 02:06:37 -04:00
Paul Beckingham
830b3e9562 CmdEdit: Duration replaced by ISO8601p 2015-08-12 10:17:58 -04:00
Paul Beckingham
bf80c7d514 Cmd*: Added command DNA, which will ѕoon drive functionality 2015-08-01 15:56:04 -04:00
Daniel Shahaf
53a702d79a zcmdcat: Categorize commands. 2015-07-26 13:55:23 -04:00
Paul Beckingham
99e0953489 TW-1641: 'edit' should process or reject <mods> arguments
- Thanks to Daniel Shahaf.
2015-07-25 09:39:13 -04:00
Daniel Shahaf
9360bd577f Feature: Editing failure stops all editing of multiple tasks
- Thanks to Daniel Shahaf.
2015-07-19 20:23:10 -04:00
Wilhelm Schuermann
e4b9c1f01e Fix "task edit" dropping annotation text after newlines. 2015-06-05 22:25:48 +02:00
Paul Beckingham
e8d04bdce6 C++11: N1984 auto 2015-05-24 13:36:26 -04:00
Paul Beckingham
5a57dfd70d C++11: Cleaned up commands code with range-based for 2015-05-11 17:45:15 -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
e90a99140e CmdEdit
- Removed TDB2::commit.
2014-09-08 00:20:16 -04:00
Paul Beckingham
ecc528cbf3 L10N
- Marked certain uses of ucFirst as l10n-safe.
2014-09-06 16:11:54 -04:00
Paul Beckingham
0c1fa8b20e TW-288
- TW-288 `task edit` mangles descriptions with embedded newlines (thanks to
         Kevin Ballard).
2014-07-06 12:14:44 -04:00
Paul Beckingham
9693a724f2 CmdEdit
- Converted from OldDuration to Duration.
2014-05-28 23:55:20 -04:00
Paul Beckingham
4661cdf0b2 Build
- When A3.h is removed from Command.h, other include files need to be
  added elsewhere.  That means the dependencies were wrong.  Hmm.
2014-05-25 21:25:49 -04:00
Paul Beckingham
05fbdd594e CmdEdit
- Now diplays an unmodifiable 'modified' attribute.
2014-05-19 20:16:25 -04:00
Paul Beckingham
8a92c36916 CmdEdit
- Converted from A3 to Filter.
2014-05-12 00:18:22 -04:00
Paul Beckingham
523dce8f32 Code Cleanup
- Standardized headers.
2014-02-01 14:33:37 -05:00
Paul Beckingham
cd6067a39f Merge branch 'master' into 2.4.0 2014-01-15 22:17:30 -05:00
Paul Beckingham
b81891c78f Merge branch '2.3.0' of tasktools.org:task into 2.3.0 2014-01-10 07:10:53 -05:00
Scott Kostyshak
dc2e0c1c97 Bug
- Fix a bug where CmdEdit reported modifications to a duration UDA
  when no modifications were made.
2014-01-10 07:01:37 -05:00
Scott Kostyshak
de1e413d73 Code Cleanup
- Fix style of a constructor call.
2014-01-10 07:00:25 -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
626f89c263 Deprecated Feature Removal
- Removed deprecated 'edit.verbose' setting, in favor of the 'edit' verbosity
  token..
2013-10-20 14:54:03 -04:00
Paul Beckingham
1872a87838 Bug #1268
- #1268 Edit doesn't accept changes, if task has completed dependency (thanks
  to Dmitriy Matrosov, Michele Santullo).
2013-10-06 17:59:55 -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
Scott Kostyshak
45202c292b Bug
- Fix regression introduced in 73043b86 where UDA edits
  were not detected for non-date types.
2013-01-15 07:55:03 -05:00
Paul Beckingham
8271e973d8 Bug #1118
- Fixed bug #1118, which dropped changes after edits were rejected (thanks to
  Ben Boeckel).
2013-01-12 17:30:28 -05:00
Scott Kostyshak
73043b868e Bug
- Fix a bug where CmdEdit reported modifications to a date UDA when no
  modifications were made.
2012-12-27 11:46:45 -05:00
Scott Kostyshak
ed8be2e2f2 Bug #1059
- Fixed Bug #1059, where CmdEdit incorrectly ran gc.
  (Thanks to Louis-Claude Canon)
2012-09-04 22:11:53 -04:00
Scott Kostyshak
7a6cdde571 Code Cleanup
- Constify some catches.
2012-09-04 22:04:41 -04:00
Paul Beckingham
d89d51e7e1 Deprecation
- Removed deprecated 'fg:' and 'bg:' attributes, which involves code,
  documentation and tests.
- Cleaned out NEWS file.
- Cleaned out config import synonyms, which should have been deleted a while
  ago.
- Removed unused localized strings, but left the 'deprecated' one behind,
  because it will be needed.
2012-07-25 22:44:25 -04:00
Federico Hernandez
72ca3f68ea Missing include statement for Linux gcc
- #include <algorithm>
2012-07-16 09:41:16 +02:00
Paul Beckingham
57aa2de98c UDA
- Implemented UDAs in the 'edit' command for all four UDA data types.
2012-07-16 00:16:36 -04:00
Paul Beckingham
9028ca4945 UDA Edit
- Added UDA and Orphan support to the 'edit' command.  It will show the
  data, but not yet recognize changes to that data.
2012-07-15 19:34:55 -04:00
Paul Beckingham
9a9453a57f Directory::cwd
- Made use of Directory::cwd instead of get_current_working_dir.
2012-07-02 15:40:54 -04:00
Louis-Claude Canon
b1e63e575a Bug #1001
- Actual resolution of Bug #1001. The Edit command was actually changing
  the working directory without going back to the original one
  afterwards.
2012-07-02 14:59:29 -04:00
Louis-Claude Canon
b45a305df2 Enhancement
- Output error, header, footnote and debug messages on standard error.
2012-06-16 16:07:27 -04:00