Commit graph

5122 commits

Author SHA1 Message Date
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
Paul Beckingham
0ea0a3abcb Unit Tests
- Upgraded to use the new template.
2014-08-24 21:59:40 -04:00
Paul Beckingham
ab881d99fa Unit Tests
- Upgraded to use the new template.
2014-08-24 21:58:52 -04:00
Paul Beckingham
d5e8a2fa16 Unit Tests
- Upgraded to use the new template.
2014-08-24 21:57:46 -04:00
Paul Beckingham
8a27f9e091 Unit Tests
- Upgraded to use the new template.
2014-08-24 21:55:27 -04:00
Paul Beckingham
25be784cf5 Unit Tests
- Upgraded to use the new template.
2014-08-24 21:53:49 -04:00
Paul Beckingham
4e57c6002e Unit Tests
- Upgraded to use the new template.
2014-08-24 21:52:51 -04:00
Paul Beckingham
1dba267120 Unit Tests
- Upgraded to use the new template.
2014-08-24 21:51:29 -04:00
Paul Beckingham
70b80331e6 Unit Tests
- Upgraded to use the new template.
2014-08-24 21:50:33 -04:00
Paul Beckingham
10d41796ab Unit Tests
- Upgraded to use the new template.
2014-08-24 21:47:46 -04:00
Paul Beckingham
59a5853368 Unit Tests
- Upgraded to use the new template.
2014-08-24 21:46:07 -04:00
Paul Beckingham
f5b5439233 Unit Tests
- Upgraded to use the new template.
2014-08-24 21:44:01 -04:00
Paul Beckingham
0b471401cb Unit Tests
- Upgraded to use the new template.
2014-08-24 21:42:42 -04:00
Paul Beckingham
333fd945f6 Unit Tests
- Upgraded to use the new template.
2014-08-24 21:41:45 -04:00