Commit graph

178 commits

Author SHA1 Message Date
Paul Beckingham
355620c640 libhsared: migrating from local to libshared 2016-12-06 07:20:45 -05:00
Paul Beckingham
95f4989f77 Cleanup: Don't use string literals when character literals are needed 2016-10-14 22:27:34 -04:00
Tomas Babej
1caa9daec0 CmdPurge: Add initial implementation 2016-03-19 21:46:21 -04:00
Paul Beckingham
fb13483cec Revert "Command: Removed obsolete method"
This reverts commit 796ec14c31.
2016-01-10 00:07:07 -05:00
Paul Beckingham
796ec14c31 Command: Removed obsolete method 2016-01-09 23:46:46 -05:00
Paul Beckingham
641d232dea Copyright: Updated to 2016 2015-12-31 15:06:43 -05:00
Paul Beckingham
a82558064b Cleanup: Prep for '-Wextra' 2015-10-16 16:27:05 -04:00
Paul Beckingham
d1fe1279ed Command: Code cleanup, added ::category accessor
- The Command object failed to initialize all member on construction and
  initialized them out of order (is this still a thing in C++11?).
- The _category was the only member with no accessor, which is not right.
2015-09-06 14:07:21 -04:00
Paul Beckingham
98991c1c1a Command: Defaulted ::_uses_context to false, which is predominant setting
- It's actually not yet predominant, but it looks like it will be. Since the
  introduction of the context feature, subsequent changes have been made to
  restrict it's influence. It appears that ultimately ゐt will only affect
  reports, but currently enjoys a broader scope.
2015-09-05 15:27:04 -04:00
Paul Beckingham
28d872dd31 CmdCommands: Added command description column
- Shrunk the default widths of all the columns, for better spacing.
2015-08-29 12:32:17 -04:00
Paul Beckingham
d390433ec7 CmdCommands: Added 'commands' command to show command internal details 2015-08-01 15:47:21 -04:00
Paul Beckingham
752e737f18 Command: Added DNA for commands 2015-08-01 11:20:17 -04:00
Paul Beckingham
3158883dc4 Cleanup: De-tabbed source 2015-07-26 14:13:29 -04:00
Daniel Shahaf
5ca1dd540e zcmdcat: Categorize 'task context'. 2015-07-26 14:00:02 -04:00
Daniel Shahaf
de9a815063 zcmdcat: Categorize 'task install'. 2015-07-26 13:57:37 -04:00
Daniel Shahaf
8eb965d71d zcmdcat: Initial infrastructure. 2015-07-26 13:49:19 -04:00
Paul Beckingham
92f79c682b Command: Dead code removal 2015-07-17 13:18:19 -04:00
Paul Beckingham
012affa46a CmdUnique: New helper command to generate unique value lists 2015-07-12 22:03:00 -04:00
Paul Beckingham
e8d04bdce6 C++11: N1984 auto 2015-05-24 13:36:26 -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
Tomas Babej
7babc9c5b1 Command: Let zero bulk denote infinite value 2015-03-22 10:10:08 -04:00
Tomas Babej
49a7e46eaf CmdContext: Add initial plumbing 2015-02-23 19:19:08 -05:00
Paul Beckingham
845fe047cc C++11
- Converted one source file to use an actual C++11 feature. If no one notices
  we can move forward and start using supported featues. If it's a problem,
  this commit gets rolled back.

  GCC 4.6 (released March 2011), and Clang 3.0 (releasd November 2011) both
  support N2930 (range-based for) which is the feature being tried here.
2015-01-04 22:01:22 -05:00
Paul Beckingham
b7ad091d00 Updated copyright to 2015 2015-01-01 00:00:41 -05:00
Paul Beckingham
7a85554924 TW-1405
- TW-1405 Add command _zshattributes (thanks to Roman Inflianskas).
2014-08-31 11:01:53 -04:00
Paul Beckingham
3abff20a46 Code Cleanup
- Removed obsolete A3::postfix, Task::modify, Task::next_mod_group,
  Command::modify_task*.
2014-05-25 18:53:30 -04:00
Paul Beckingham
6f32fa9b54 Command
- Marked obsolete methods as such.
2014-05-25 16:51:36 -04:00
Paul Beckingham
df173d7d84 Command
- Removed unnecessary #includes.
2014-05-25 00:25:21 -04:00
Paul Beckingham
6b53cf4027 Command
- Removed obsolete ::filter, ::filter_shortcut and ::safety methods.
  These are now implemented in the Filter object, and use A3t.
2014-05-25 00:02:27 -04:00
Paul Beckingham
23f02b2268 Command
- Marked obsolete methods.
2014-05-12 00:26:41 -04:00
Paul Beckingham
49aadb7636 Command
- Added filter expression debug diagnostics.
2014-04-26 13:31:59 -07:00
Paul Beckingham
e82cffe8ac Cleanup
- Updated comments, docs.
2014-04-21 16:04:18 -04:00
Paul Beckingham
3cb10a4850 Command
- Added a debug mode parse tree dump in Command::filter, which is the
  first opportunity to see the complete tree.  There will be other places
  where this occurs too.
2014-04-20 09:28:35 -04:00
Paul Beckingham
523dce8f32 Code Cleanup
- Standardized headers.
2014-02-01 14:33:37 -05:00
Paul Beckingham
8b736934d7 Code Cleanup
- Removed deprecated 'push', 'pull' and 'merge' commands.
2014-01-18 19:12:48 -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
561e3b5a9b Calc command
- Added framework for new 'calc' command.
2013-12-13 22:43:02 -05:00
Paul Beckingham
c1492d8010 Bug #1273
- #1273 Query with negative relative date differs greatly from absolute date
  in past (thanks to John West).
2013-10-06 16:23:43 -04:00
Paul Beckingham
166723e632 Feature
- New '_get' is a DOM accessor helper command.
2013-08-25 23:35:32 -07:00
Thomas
55a8b157b1 Migrated core task modification code to the Task object, leaving wrappers behind for legacy usage. 2013-06-10 17:18:33 -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
Paul Beckingham
8af0a7f3ba Merge branch 'master' into 2.3.0
Conflicts:
	AUTHORS
	CMakeLists.txt
	INSTALL
	NEWS
	cmake.h.in
	doc/man/task-faq.5.in
	package-config/osx/README
	scripts/utils/verify_l10n
	src/API.h
	src/Config.cpp
	src/Context.cpp
	src/DOM.cpp
	src/Hooks.cpp
	src/TransportShell.h
	src/commands/CmdDiagnostics.cpp
	src/commands/CmdShell.cpp
	src/commands/CmdVersion.cpp
	src/en-US.h
	src/shell/Readline.h
	src/wcwidth6.cpp
	test/CMakeLists.txt
	test/color.uda.t
	test/duration.t.cpp
	test/hook.on-launch.t
	test/template.t
	test/uuid.t
2013-04-07 17:56:59 -04:00
Haitham Gad
f5d6da2a7b Separating the 'task shell' command in a separate executable 'tasksh' and enabling command history traversal using GNU Readline 2013-03-10 12:38:14 -04:00
Paul Beckingham
1dccd29643 Copyright 2013
- Updated copyright notices.
2013-03-04 17:47:12 -05:00
Johannes Schlatow
b230da75e6 Feature #1054
Require confirmation for replacing the entire description of a single task.
2013-01-25 00:15:00 +01:00