Commit graph

320 commits

Author SHA1 Message Date
Paul Beckingham
56c2326fda Unit Tests
- Disabled the new parser temporarily.  Because the test suite coverage is good,
  the new parser needs a complete set of entities, otherwise it whines too much
  during the tests.  Let's just sweep that under the rug for now.
2013-09-01 15:18:04 -04:00
Paul Beckingham
bdf88d10a7 Tree::dump
- The dump method now composes a string, instead of writing to std::cout, which
  make integration easier.
2013-09-01 14:31:48 -04:00
Paul Beckingham
314d0e9d01 Parser Integration
- New parser integrated and functioning, but only shadows the A3 parser.  In
  debug mode, there is new output, but that's all that happenѕ.
2013-09-01 14:14:15 -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
Paul Beckingham
bc94816184 Performance
- Removed Context::timer_sync, as it makes no sense now that sync is not an
  automatic operation like gc.
2013-04-02 23:45:34 -04:00
Federico Hernandez
7db5377d3b Removed the incomplete support for the Lua extensions. 2013-04-02 21:52:13 +02:00
Rainer Müller
48b9fdc152 [PATCH] Bug
- Do not print xterm titles without a tty. Writing escape sequences for xterm
  titles is unnecessary when the output is piped into another tool.

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2013-03-05 21:15:51 -05:00
Paul Beckingham
1dccd29643 Copyright 2013
- Updated copyright notices.
2013-03-04 17:47:12 -05:00
Rainer Müller
0bcb22f8e4 Bug
- Do not print new line after xterm title.
  With xterm.title=on, each command displayed an empty line on the
  terminal, which is not only unnecessary but also changes output format
  for the helper subcommands starting with an underscore.

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2013-02-19 22:19:47 -05:00
Paul Beckingham
2be52e1be2 Bug #1137
- Fixed bug #1137, which caused file locks to be non-blocking (thanks to Steve
  Rader).
2013-02-10 23:25:27 -05:00
Paul Beckingham
aca76da3e5 Bug #642
- Fixed bug #642, so that the default 'data.location=~/.task' preserves the
  '~', leading to more portable .taskrc files (thanks to alparo).
2013-02-10 18:00:30 -05:00
Paul Beckingham
19cdf25a8f Extension Mechanism Cleanup
- Cleaned up existing extension debris, in anticipation of the new mechanisms to
  be included in future releases.  This includes install/uninstall and a full
  set of triggers.
2013-01-12 14:47:14 -05:00
Paul Beckingham
47d94f370e Sync Feedback
- Added a detailed sync summary message, indicating what happened.
- Improved and localized the feedback messages for the sync command.
- Added color to the add/modify feedback, matching the merge command.
- Enabled the sync timer for debugging output.
2012-10-13 12:14:46 -04:00
Paul Beckingham
c5ff24358c Feature #934
- Feature #934, supports 'reserved.lines' to indicate a multi-line prompt for
  use in conjunction with 'limit:page' (thanks to Robert Gill).
- Removed 'locale' from the taskrc.5 man page.
- Added verbosity token 'sync'.
- Fixed bug in size calculation for 'limit:page', but there is still one more.
- Corrected unit test limit.t given the above fix.
2012-10-06 15:29:00 -04:00
Paul Beckingham
cd6d08f97c Code Cleanup
- Removed last traces of synch.key.
2012-10-02 00:00:43 -04:00
Pietro Cerutti
1c5068edb2 Bug
- Fixed bug where shadow files are not properly created when there is a missing
  .taskrc file.

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2012-09-18 07:50:55 -04:00
Paul Beckingham
88fcdab515 Feature #1026
- Feature #1026, command line overrides are now applied before and after the
  creation of the default rc file and data directory, which allows for
  programmatic initialization without keystroke synthesis (thanks to Nicholas
  Rabenau).
2012-07-08 15:16:23 -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
e1407437e0 Enhancement
- Allow a separate color for error messages via the 'color.error'
  configuration variable.
2012-06-28 00:25:09 -04:00
Louis-Claude Canon
8ef9ec9b9f Code Cleanup
- Redundant debug message.
- More consistent check for messages aggregation.
2012-06-28 00:23:56 -04:00
Louis-Claude Canon
c84e3cc893 Code Cleanup
- With the separation between standard output and standard error, the solution
  for bug #956 is obsolete. The mechanism (putting verbose to "nothing") is
  still kept for easing the management of the standard error.
2012-06-16 16:09:34 -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
Paul Beckingham
fc4a71aa5c Bug #1001
- Fixed bug #1001, which caused a segv (thanks to Bryce Harrington).
2012-06-10 16:47:27 -04:00
Louis-Claude Canon
0b1b677aa5 Bug #956
- Prevent any verbose information to be printed with the 'ids', 'uuids' and
  helper subcommands.
- Unit tests.
- Precise this behavior in the man pages.
2012-05-23 06:49:25 -04:00
Paul Beckingham
7b58d9c18c Bug #996
- Fixed bug #996, so that verbosity code and documentation are in agreement,
  and that the 'verbose=off' works as intended (thanks to Peter De Poorter,
  Louis-Claude Canon).
2012-04-30 07:53:09 -04:00
Paul Beckingham
0c0f767688 Performance
- Added locally cached configuration for urgency coefficients, which effectively
  relocates expensive loop-invariants for the 'next' report.
2012-04-28 17:59:48 -04:00
Paul Beckingham
1274f2ba07 Code Cleanup
- Addressed valgrind complaints by freeing allocations for commands and columns.
  This leaves one complaint about getpwuid, which is either an optional free,
  or not valid, depending on OS.  (Thanks to Bryce Harrington).
2012-03-18 00:27:47 -04:00
Paul Beckingham
80d6655709 Bug
- Fixed problem where 'project' was not supported as a verbosity token (thanks
  to Adam Gibbins).
2012-03-17 10:11:55 -04:00
Paul Beckingham
d4f85484df Internals
- Modified color processing so that it can be disabled completely at
  compile time.  This is to assist the Windows port.
2012-03-03 09:08:46 -05:00
Paul Beckingham
824cba7152 Bugs #552, #863
- Fixed bug #552, where 'rc.verbose=off' suppressed warnings (thanks to Peter
  De Poorter).
- Fixed bug #863, which suppressed report labels with rc.verbose=off (thanks to
  Michelle Crane).
2012-02-26 17:01:13 -05:00
Paul Beckingham
c785836083 Feature #632
- Added feature #632, which allows environment variables TASKRC and TASKDATA
  to override .taskrc and .task directory locations (thanks to Steve Rader).
- Added unit tests.
+
2012-02-19 18:59:28 -05:00
Paul Beckingham
6cf9790fac Code Cleanup
- Removed code that creates the ~/.task/extensions directory, which will not be
  needed until 2.1.  Until then, it is clutter.
2012-01-28 10:37:14 -05:00
Paul Beckingham
a262d41828 Backlog
- Removed backlog file processing, which slows down processing.  When
  2.1 has taskd support, the backlog will be cleared, but until then there
  is no point in accumulating transactions.
2012-01-03 00:55:20 -05:00
Paul Beckingham
6580095002 Copyright
- Year change.
2012-01-02 23:32:10 -05:00
Paul Beckingham
98c6a94625 Whitespace
- Context::footnote and Context::header were accepting and displaying
  blank lines, which is silly.
2011-10-11 23:54:42 -04:00
Federico Hernandez
8116c6a103 License
- moving task from GPL to MIT license
  top level src directory
2011-10-08 00:04:01 +02:00
Paul Beckingham
7b34344626 Debug Output
- Removed unnecessary A3::dump call.
- Corrected comment.
2011-10-01 11:47:54 -04:00
Paul Beckingham
78f91ffa91 Verbosity
- Added 'affected' verbosity token.
- Deprecated 'rc.echo.command'.
- Updated config defaults.
- Labelled all deprecated 'echo.command' references with '// Deprecated 2.0'
- Added unit tests to start the verbosity testing.  Not complete.
- Updated taskrc.5 man page.
2011-10-01 11:16:12 -04:00
Paul Beckingham
2daca679b3 I18N
- Localized Context.
2011-09-26 23:24:17 -04:00
Paul Beckingham
03e53ceaf2 Miscellaneous
- Minor edits of little consequence.
2011-09-11 23:06:51 -04:00
Paul Beckingham
9ed0c5c86d Shadow Files
- Re-enabled shadow files, but in a new, simpler manner, that allows the
  rc.shadow.command to override settings like color if necessary.
- Modifed A3 to capture program name and store it in the Context.
2011-09-07 00:24:00 -04:00
Paul Beckingham
1b3ac82d7e TDB2
- Eliminated the now obsolete TDB code from Context.
- Added auto-commit code for commands that auto-gc.
2011-09-03 13:02:17 -04:00
Paul Beckingham
e7a255ca16 TDB2 integration
- Enabled the TDB2::clear call, paving the way for TDB elimination.
2011-09-03 11:14:24 -04:00
Paul Beckingham
dab06f8672 Code Cleanup
- All objects now use the same convention for naming members.  The
  consistency is a good thing.
2011-08-25 21:54:28 -04:00
Paul Beckingham
e573801517 TDB2 - Diagnostics
- Added a diagnostic dump of the TDB2 state in debug mode.
- Added a call to TDB2::dump at the start of TDB2::commit.
- Removed unnecessary calls to TDB2::dump.
2011-08-22 23:04:38 -04:00
Paul Beckingham
ac9d1f3bfa Performance Timing
- Change the was performance measurements are taken.  This in preparation
  to automated daily perf charts, leading to efforts to speed up certain
  operations.
2011-08-15 21:53:01 -04:00
Paul Beckingham
a171f6e4ac Bug
- Fixed bug whereby arguments were categorized, then defaults were injected
  but no subsequent categorization occurred.
- Added debug diagnostics for default.command, 'modify' and 'information'
  default processing.
2011-07-31 14:01:41 -04:00
Ben Boeckel
a29097d9e0 [PATCH 2/2] Fix default task directory path
Signed-off-by: Paul Beckingham <paul@beckingham.net>
2011-07-29 22:39:13 -04:00
Paul Beckingham
0c08b29e48 Code Cleanup
- Eliminated obsolete Arguments.h, Arguments.cpp.
2011-07-26 00:25:57 -04:00