Commit graph

5135 commits

Author SHA1 Message Date
Paul Beckingham
258f79c1f9 TW-99
- TW-99 info report streamlining.
2014-08-31 16:27:42 -04:00
Paul Beckingham
0d82c96104 Documentation
- Updated ChangeLog for TW-268.
2014-08-31 13:41:18 -04:00
Paul Beckingham
2e3be1c5a0 Task
- Now decodes backslashes on annotation add.
2014-08-31 13:26:06 -04:00
Paul Beckingham
bd4a7081c1 Task
- Now decodes backslashes on attribute set.
2014-08-31 13:25:46 -04:00
Paul Beckingham
819d15b2a1 Unit Tests
- Not enough backslashes in the unit test, and taskwarrior will need to add
  an extra decode on Task::set and Task::addAnnotaiton.
2014-08-31 13:24:38 -04:00
Paul Beckingham
0f3a8073f0 Unit Tests
- Removed unnecessary backslashes in the unit test.  It was confusing and
  testing the wrong thing.
2014-08-31 13:23:40 -04:00
Paul Beckingham
90643635cd Unit Tests
- Removed excessive tests that add nothing.
2014-08-31 13:06:58 -04:00
Paul Beckingham
fe7683db4a Unit Tests
- Removed backslash.t, which duplicates tests in bug.879.t.
2014-08-31 13:03:02 -04:00
Paul Beckingham
4c98328277 JSON
- Corrected misleading comment.
2014-08-31 12:25:41 -04:00
Paul Beckingham
3c29e81995 Unit Tests
- Upgraded to use the new template.
2014-08-31 11:57:06 -04:00
Paul Beckingham
8b682d8565 Calc
- Now that Eval diagnostics in debug mode go to Context, they must be retrieved
  and displayed.
2014-08-31 11:20:46 -04: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
a77e50b441 Eval
- Converted from std::cout to Context::debug.  This is in preparation for
  supporting multiple debug levels.
2014-08-31 10:20:18 -04:00
Paul Beckingham
ad4d063252 Text Formatting
- Added another formatter.  Time for variadics?
2014-08-31 10:19:48 -04:00
Paul Beckingham
a894a3dedb TW-262
- TW-262 Attribute modifiers not working within parentheses (thanks to Johannes
         Schlatow).
2014-08-31 09:45:42 -04:00
Paul Beckingham
ae667a7e9e Code Cleanup
- Removed unused tips files, and associated references (thanks to dev-zero).
2014-08-31 09:20:21 -04:00
Paul Beckingham
72210ec2ac L10N
- Updated Python to 2.7, to match that used in hte unit tests.
2014-08-31 08:48:13 -04:00
Jeremy John Reeder
41e6282052 French localization updates.
Signed-off-by: Paul Beckingham <paul@beckingham.net>
2014-08-31 08:47:43 -04:00
Jeremy John Reeder
aaeec413ab Esperanto localization updates.
Signed-off-by: Paul Beckingham <paul@beckingham.net>
2014-08-31 08:47:05 -04:00
Paul Beckingham
f5908f6514 Tree
- Simplified ::removeAllBranches, and in so doing, eliminated a segfault on
  some OSes.  No idea why.
2014-08-31 01:03:55 -04:00
Paul Beckingham
c21bacedf6 Unit Tests
- Upgraded to use the new template.
2014-08-31 00:14:49 -04:00
Paul Beckingham
ebd7bf99f0 Portability
- Moved stdio.h to be (almost) first in the include order, to prevent and other
  include from in turn including stdio.h without first defining _WITH_GETLINE.
2014-08-31 00:05:08 -04:00
Paul Beckingham
60260fb813 Hooks
- Removed obsolete ::execute method, instead relying on the util.cpp variant.
2014-08-30 23:53:59 -04:00
Paul Beckingham
7a765b186e Portability
- Changed include ordering, for FreeBSD.
2014-08-30 23:44:51 -04:00
Paul Beckingham
df744d5c98 Code Cleanup
- Removed unused util.cpp ::execute variant.
2014-08-30 23:43:58 -04:00
Paul Beckingham
284146162f Portability
- Added _WITH_GETLINE for FreeBSD.
2014-08-30 23:38:11 -04:00
Paul Beckingham
b4ab5fcfac CmdCalendar
- Replaced code that tried to reuse the Context object to reparse the command
  line in order to run the calendar.details.report, with a fork/exec alternative
  that doesn't require acrobatics.
2014-08-30 23:33:47 -04:00
Paul Beckingham
07b7fe4541 Util
- Added new 'execute' function that provides input and captures output.
2014-08-30 23:31:23 -04:00
Paul Beckingham
273d9fe070 Hooks
- Code cleanup.
2014-08-30 23:29:30 -04:00
Paul Beckingham
820c327a81 Util
- Made arg vector const.
- Applied coding conventions.
2014-08-30 23:27:49 -04:00
Paul Beckingham
ff8bc79b8f Unit Tests
- Upgraded to use the new template.
2014-08-30 17:41:22 -04:00
Paul Beckingham
51aa9a5e3e Unit Tests
- Corrected test that assumed $rc was more than just basename.
2014-08-30 17:14:16 -04:00
Paul Beckingham
7862c70fa3 Unit Tests
- Upgraded to usethe new template.
2014-08-30 16:32:11 -04:00
Paul Beckingham
3e8a2c86ec Unit Tests
- Upgraded to use the new template.
2014-08-30 15:44:13 -04:00
Paul Beckingham
281ee18400 Unit Tests
- Corrected unit tests which now pass, but never did before.
2014-08-30 15:42:01 -04:00
Paul Beckingham
a503a02663 Parser
- Rewrote ::insertOr to only operate at the ORIGINAL node level, which is
  appropriate for this operation.
2014-08-30 15:36:08 -04:00
Jeremy John Reeder
a471120e18 Updated grammar in epo-RUS.h localization.
Signed-off-by: Paul Beckingham <paul@beckingham.net>
2014-08-30 15:02:26 -04:00
Paul Beckingham
02bd52d675 Unit Tests
- Test was failing to remove the rc file.
2014-08-28 17:25:52 -04:00
Paul Beckingham
40d72c3cd9 L10N
- Moved all the localizations into a subdirectory.  Because there are 7 now.
2014-08-28 17:25:10 -04:00
Paul Beckingham
d5fed80dcd Unit Tests
- Changes in debug output broke a test.  Reduced string matching to make the
  tests more durable.
2014-08-27 07:07:42 -04:00
Paul Beckingham
3a91a0d798 Unit Tests
- Upgraded to the new template.
2014-08-27 07:00:19 -04:00
Paul Beckingham
2c8d795f21 L10N
- Added completed Esperanto translation (thanks to Jeremy John Reeder).
2014-08-26 23:40:34 -04:00
Paul Beckingham
d96c79f47c L10N
- Renamed epo-EPO to epo-RUS, which is where Esperanto originated.
2014-08-26 23:39:01 -04:00
Paul Beckingham
aa156412b5 Context
- Reorganized ::inintialize sequence regarding Parser::initialize and the need
  for the rc file to be loaded (and/or overridden) before full parsing could
  proceed.
2014-08-26 23:28:04 -04:00
Paul Beckingham
f87ead8804 Parser
- Fixed bug where ::findAttribute and ::findAttributeModifier were scanning
  all nodes, but thinking that '--' was a tag, not a raw value.
2014-08-26 23:26:49 -04:00
Paul Beckingham
3f519785d8 Parser
- Added static method to scan argv[] for overrides without a parse tree, so
  that any rc:<file> arguments can be used to locate the rc file, load it, and
  proceed with command line parsing which relies on things like rc.dateformat.
2014-08-26 23:25:08 -04:00
Paul Beckingham
4077c4d605 Unit Tests
- Upgraded to use the new template.
2014-08-24 22:03:53 -04:00
Paul Beckingham
6081ba6886 Unit Tests
- Upgraded to use the new template.
2014-08-24 22:02:36 -04:00
Paul Beckingham
011e3920fa Unit Tests
- Upgraded to use the new template.
2014-08-24 22:01:35 -04:00
Paul Beckingham
88e022a8d6 Unit Tests
- Upgraded to use the new template.
2014-08-24 22:00:37 -04:00