Paul Beckingham
ed085bd09e
A3t::findIdSequence
...
- Added support for ID ranges and lists. Creates a min/max range instead of
enumerating all IDs, which is an improvement.
- Extended test script.
2013-09-01 11:54:41 -04:00
Paul Beckingham
020a415e83
Enhancement
...
- Better support for quoted values in attributes.
2013-09-01 11:10:33 -04:00
Paul Beckingham
34db02515c
A3t::findAttributeModifier
...
- Added support for attmods including :/= alternatives, which is an improvement.
2013-09-01 11:08:05 -04:00
Paul Beckingham
70d37ab7be
Entities
...
- Added more entities for wider testing.
- Added attmod example to the test script.
2013-09-01 11:04:58 -04:00
Paul Beckingham
f293e74ae6
Tree Cleanup
...
- Switched from the addition of a LOCK tag to the removal of a ? tag. The
result is cleaner.
- Moved metadata into the ORIGINAL node.
2013-08-31 19:00:09 -04:00
Paul Beckingham
e4671dd518
Tree::unTag
...
- Added a method for removing a tag.
2013-08-31 18:44:36 -04:00
Paul Beckingham
04fb751678
A3t::findAttribute
...
- FindAttribute implemented, supporting pseudo- and uda- attribute recognition,
which is an improvement.
- Fully parsed arguments are now locked against further parsing.
- Validation consists of looking for unlocked args.
- Added more entities for testing.
- Updated test script.
2013-08-31 18:04:02 -04:00
Paul Beckingham
5a29042d3b
A3t::findTag
...
- Supports single-word tag add/remove, presence/absence, allowing any non-space
character in the tag, which is an improvement.
2013-08-31 16:23:57 -04:00
Paul Beckingham
272450ff9b
A3t::findSubstitution
...
- Added support for standard and escaped '/from/to/g' constructs, which is an
additional feature.
2013-08-31 16:05:14 -04:00
Paul Beckingham
663c82837c
Nibbler::backN
...
- Added a method to support multi-byte backstep through a string.
- Added unit tests.
2013-08-31 16:02:51 -04:00
Paul Beckingham
2281c5a6bf
A3t::findPattern
...
- Now parses patterns and extracts the pattern, which may include escaped /
characters, which is an improvement.
2013-08-31 12:24:30 -04:00
Paul Beckingham
96a06eafbf
A3t::find*Override
...
- Locates and parses rc:<file>.
- Locates and parses rc.<name>=<value>.
- Adds a stubbed validate method to check for a sane tree.
2013-08-31 10:55:30 -04:00
Paul Beckingham
ac1497ff1a
Code Cleanup
...
- Removed 9 useless methods by making members public. Accessors are nice
sometimes, but also an unnecessary layer.
2013-08-30 14:39:22 -07:00
Paul Beckingham
50d4b37519
A3t::findTerminator
...
- Locates and tags the terminator operator, suppressing all subsequent parsing.
This is done early in the process, and every other step must observe the
TERMINATOR tag.
2013-08-30 14:08:09 -07:00
Paul Beckingham
46cd57b4aa
A3t::findBinary
...
- Locates it's own binary, and adds a 'basename' attribute.
2013-08-30 13:55:24 -07:00
Paul Beckingham
8429df3b5c
Command Location
...
- Locateѕ, cnaonicalized and categorizes first command.
2013-08-30 13:42:43 -07:00
Paul Beckingham
1495710aca
A3t::canonicalize
...
- Added entity canonicalization.
2013-08-30 13:12:24 -07:00
Paul Beckingham
f03d1af431
Tree::addBranch
...
- Now returns a pointer to the new node, for convenience. Throws on error.
2013-08-30 12:35:22 -07:00
Paul Beckingham
e651f7f759
Arg Classifier
...
- Added test framework for the arg classifier (A3t).
2013-08-30 12:21:04 -07:00
Paul Beckingham
ef4d318276
Entities
...
- Added parser support for @entities, by merely allowing them to exist as
terminals.
- Added sample entities.
- Extended grammar to test entities.
2013-08-30 12:15:30 -07:00
Paul Beckingham
66bcf26aa0
Entity Lists
...
- LRParser::addEntity accumulates categorized entities for the parser.
2013-08-30 11:41:20 -07:00
Paul Beckingham
888a77213a
Testing
...
- Added test script and initial grammar file.
2013-08-30 11:25:04 -07:00
Paul Beckingham
6ebee13fa4
LRParser
...
- Added old (non-task) parsing code, as a basis for the new parser.
- Added Tree object for parse trees.
- Added top-level entry point for testing.
2013-08-30 11:24:15 -07:00
Paul Beckingham
7e5b43bb9d
Function: visible
...
- Added helper function to render control characters visible. This may be
replaced by JSON::encode.
2013-08-30 10:51:43 -07:00
Paul Beckingham
1641bcf592
White Space
...
- White space cleanup, to avoid further git hook warnings.
2013-04-15 00:06:37 -04:00
Paul Beckingham
b6797b6242
Virtual Tags
...
- Started using virtual tags in the report definitions.
- Fixed compilation problem.
2013-04-14 23:52:13 -04:00
Paul Beckingham
5cfd7b0cc6
Portability
...
- Added support for GNU/Hurd and GNU/kFreeBSD systems (thanks to Jakub Wilk).
2013-04-13 14:49:59 -04:00
Paul Beckingham
68a12908d2
Bug #1200
...
- #1200 Directory d_type==DT_UNKNOWN is now handled correctly (thanks to Jakub
Wilk).
2013-04-13 13:37:16 -04:00
Paul Beckingham
0ea28ef8a3
Bug #1196
...
- #1196 Now builds on Hurd (thanks to Jakub Wilk).
2013-04-09 20:50:05 -04:00
Paul Beckingham
773b55d374
Code Cleanup
...
- Removed L10N define. It served its purpose.
2013-04-07 23:50:51 -04:00
Paul Beckingham
af079bb5b0
Feature
...
- Began fr-FR localization.
2013-04-07 23:19:30 -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
daae1749bc
L10N
...
- Removed unnecessary es-ES.h entries for STRING_COLUMN_LABEL_FG and
STRING_COLUMN_LABEL_BG that have been deprecated (thank to Wim Schuermann).
2013-04-07 13:56:07 -04:00
Fidel Mato
d1cac8c958
L10N
...
- Translated STRING_LABEL_COLUMN_MOD .
2013-04-07 09:52:18 -04:00
Paul Beckingham
d72c6567b0
Bug #1222
...
- #1222 The 'summary' report now obeys the 'color.label' setting (thanks to
Steve Rader).
2013-04-06 17:18:17 -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
Paul Beckingham
2b8cb3e251
Bug
...
- Fixed a bug so that the report filter order is preserved, to enable an
optimization that was being skipped.
2013-04-02 17:41:13 -04:00
Paul Beckingham
f420fb434e
Code Cleanup
...
- Removed unused L10N string.
2013-04-02 16:35:18 -04:00
Federico Hernandez
7db5377d3b
Removed the incomplete support for the Lua extensions.
2013-04-02 21:52:13 +02:00
Fidel Mato
3cfd57b46f
L10N
...
- Translated STRING_VIEW_TOO_SMALL .
2013-04-02 06:43:11 -04:00
Paul Beckingham
7e4adbc091
Build Warnings
...
- Eliminated a build warning.
2013-04-01 21:05:50 -04:00
Paul Beckingham
656e350291
Date Formatting
...
- Some bad inefficiencies in date formatting were noticed, and when addressed,
caused a bug to surface. The length of a formatted date can be calculated
from the dateformat, but was done incorrectly. Very, very incorrectly.
- Added unit tests.
- Promoted date column-specific "countdown" size measurements up to the ColDate
base class. This neatly falls out from work on #1218 .
- Noted a potential I18N problem in Date.cpp.
2013-04-01 20:01:54 -04:00
Paul Beckingham
d895c4a249
Bug #1218
...
- Fixed bug #1218 so that description columns minimum width is calculated
correctly.
2013-04-01 18:07:25 -04:00
Paul Beckingham
d14a9cacec
Text Formatting
...
- Added a format overload for three integers.
2013-04-01 15:50:16 -04:00
Paul Beckingham
1de2f9e6f1
Virtual Tag
...
- Added 'ANNOTATED' virtual tag. This fell out of a change mandated by #1218 .
2013-04-01 15:47:51 -04:00
Paul Beckingham
03cb5af7be
Defaults
...
- The 'dateformat' settings now default to the ISO-8601 standard of 'Y-M-D'.
2013-03-30 17:42:45 -04:00
Fidel Mato
16635a4262
L10N
...
- Translated STRING_TRANSPORT_SHELL_NOPATH .
- Translated STRING_SHELL_FAIL .
- Changed (to plural) STRING_CMD_HISTORY_ADDED, _COMP, _DEL, and _NET .
2013-03-30 16:19:23 -04:00
Russell Steicke
e4da3aca0d
Expand braces internally, as POSIX /bin/sh does not do {} expansion.
...
Signed-off-by: Russell Steicke <russells@adelie.cx>
2013-03-30 14:15:33 -04:00
Russell Steicke
0cc7bc337d
Test for bug 1192 - brace expansion.
...
Commit 968d1c3
(Portability) introduced a bug with some very POSIX
compliant shells (eg dash), which don't do brace expansion. So add a
test for that.
The test runs by adding a new protocol in Uri, sh+cp://path/. This
protocol is not intended to be used normally, but is only for testing
the push and pull code.
Signed-off-by: Russell Steicke <russells@adelie.cx>
2013-03-30 14:08:50 -04:00
Paul Beckingham
983e07ab01
Feature
...
- Added some more low-effort, low-risk virutal tags. Why not.
- Updated man page.
2013-03-30 13:06:06 -04:00