8211a95421changelog: Update through HEAD.
Daniel Shahaf
2020-05-22 04:44:49 +0000
d4df626c03'main': Optimize the unquoted arguments characterwise walker
Daniel Shahaf
2020-05-22 04:37:47 +0000
8f5d74d219'main': Further optimize argument parsing.
Daniel Shahaf
2020-05-04 20:08:49 +0000
700c0e18fe'main': Optimize a hot path.
Daniel Shahaf
2020-05-04 20:00:01 +0000
a50647e77btests: Add a performance testing script, for measuring the performance of the 'main' highlighter on a large file.
Daniel Shahaf
2020-05-04 19:42:31 +0000
Merge eed6b95a5c into ea3ae74164
Sebastian Gniazdowski
2020-05-17 16:49:49 +0000
ea3ae74164'main': Fix the last commit's bug concerning parameter elision not happening in redirects in command position.
Daniel Shahaf
2020-05-13 12:51:52 +0000
41b8a74692'main': Add a test for parameter elision not happening in redirects in command position.
Daniel Shahaf
2020-05-13 12:51:40 +0000
3a4b212c7d'main': Fix regression in zsh 5.3.1 and older: all precmd hooks later than z-sy-h would be aborted.
Daniel Shahaf
2020-05-06 20:25:03 +0000
e65ebf0466'main': Fix a regression caused by the great-grandparent commit's WARN_NESTED_VAR fix.
Daniel Shahaf
2020-05-05 14:31:42 +0000
08330f1c56Fixup the performance testing script.
Daniel Shahaf
2020-05-04 20:35:05 +0000
780c1b3e6a'main': Further optimize argument parsing.
Daniel Shahaf
2020-05-04 20:08:49 +0000
3251ebf3dd'main': Optimize a hot path.
Daniel Shahaf
2020-05-04 20:00:01 +0000
06ec3a0339Add a performance testing script, for measuring the performance of the 'main' highlighter on a large file.
Daniel Shahaf
2020-05-04 19:42:31 +0000
06710f3780'main': Don't run _zsh_highlight_main__type on every non-command word.
Daniel Shahaf
2020-05-04 18:35:15 +0000
343ec1061f'make perf': Show only a cumulative datum per highligher, rather than per test file.
Daniel Shahaf
2020-05-04 17:34:59 +0000
b08d508cd8driver: Fix a bug that prevented subsequent, third-party zle-line-pre-redraw hooks from running.
feature/redrawhook
Daniel Shahaf
2020-05-04 15:49:24 +0000
16d818a21f'main': Don't trip WARN_NESTED_VAR.
Daniel Shahaf
2020-05-04 13:27:33 +0000
efba5b1220Avoid warning under setopt warn_nested_var
Robert Estelle
2020-05-03 12:52:32 -0700
ccb1da4ae8Bump copyright years.
Daniel Shahaf
2020-04-03 01:48:47 +0000
96eb2e31a1driver: Fix "_zsh_highlight:3: read-only variable: ret" warnings when POSIX_BUILTINS is set.
Daniel Shahaf
2020-04-03 01:19:38 +0000
291634ecfetests: Add a test for the infinite loop fixed by each of the last two commits.
Daniel Shahaf
2020-04-03 01:03:57 +0000
96e6cbe22f'main': Fix expansion of positional parameters in _zsh_highlight_main_highlighter__try_expand_parameter.
Daniel Shahaf
2020-04-02 23:40:52 +0000
2a30d4fb5a'main': Fix an infinite loop.
Daniel Shahaf
2020-04-02 23:32:28 +0000
f563780236driver: Simplify initialization of $zsyh_user_options in the fallback codepath.
Daniel Shahaf
2020-03-29 20:52:14 +0000
b8c93afd34driver: Make sure we don't change the return value in a called function.
Daniel Shahaf
2020-03-29 20:45:46 +0000
b7a9e29cf0fixup! WIP: 'main': Add some in_param/in_alias checks by code inspection
Daniel Shahaf
2020-03-28 04:58:28 +0000
d0a11ba837WIP: 'main': Add some in_param/in_alias checks by code inspection
Daniel Shahaf
2020-03-28 04:29:30 +0000
78f40ee2b6fixup! 'main': Apply the parameter expansion logic regardless of the type
Daniel Shahaf
2020-03-28 04:28:52 +0000
b47387b55e'main': Apply the parameter expansion logic regardless of the type
Daniel Shahaf
2020-03-19 22:06:21 +0000
2aca4e2c02'main': Make logic more robust. No functional change.
Daniel Shahaf
2020-03-19 22:16:04 +0000
7678a8a227'main': Break out an anonymous function into a named function.
Daniel Shahaf
2020-03-19 21:37:50 +0000
5d139fcd94Fix typos in comments.
Daniel Shahaf
2020-03-27 01:27:37 +0000
996c657a42main: Add tests for arithmetic expansion
Matthew Martin
2020-03-22 14:47:03 -0500
35f64ffb20main: Add arithmetic substitution highlighting
Matthew Martin
2020-03-18 23:31:11 -0500
d1802e388emain: Add test for issue #713
Matthew Martin
2020-03-22 15:01:10 -0500
aecfd61bbd'main': Support the 'env' precommand.
Daniel Shahaf
2020-03-21 01:45:34 +0000
2904e0f986test harness: Fix the pretty-printer's padding implementation.
Daniel Shahaf
2020-03-19 22:45:37 +0000
d5d2f22013Revert "test harness: Rewrite the columnar pretty-printer without external tools." and "travis: Remove bsdmainutils since column(1) has been removed, three commits ago."
Daniel Shahaf
2020-03-19 22:39:30 +0000
8eaa41431dchangelog: Update through HEAD.
Daniel Shahaf
2020-03-19 21:25:49 +0000
Merge pull request #669 from danielshahaf/cdpath-and-nonexecutable-in-command-position-v1
Daniel Shahaf
2020-03-19 21:22:52 +0000
1bd1dec74a'main': Support the arithmetic for loop.
Daniel Shahaf
2020-03-19 20:44:32 +0000
1000da306a'main': Correctly highlight '&&' and '||' inside '[[ … ]]' conditions.
Daniel Shahaf
2020-03-19 20:16:43 +0000
b44964c545'main': Highlight reserved words following assignments as errors.
Daniel Shahaf
2020-03-19 19:45:02 +0000
f54d829f03tests: Add tests for issue #461.
Daniel Shahaf
2020-03-19 19:43:12 +0000
9e9885253atest harness: Output the time information to the same place the test name was printed to.
Daniel Shahaf
2020-03-19 19:17:41 +0000
3e7745ef30test harness: Stringify values in a more readable manner.
Daniel Shahaf
2020-03-19 19:15:21 +0000
b0af27f25ftests: Add a unit test for a path specified with mixed quoting.
Daniel Shahaf
2020-03-19 06:49:40 +0000
bd9094cc61tests: Add a test for issue #498, which has already been fixed.
Daniel Shahaf
2020-03-19 06:44:12 +0000
c7229a000atests: Test that global qualifiers and command substitutions aren't evaluated.
Daniel Shahaf
2020-03-19 06:41:38 +0000
f2726d0464'main': Don't consider path_prefix in alias expansions.
Daniel Shahaf
2020-03-16 21:45:50 +0000
8184266338'main': Add a test for aliases to AUTO_CD directories.
Daniel Shahaf
2020-03-16 21:44:31 +0000
83ac855ceb'main': Let AUTO_CD directories be highlighted with their own style.
Daniel Shahaf
2020-01-12 20:17:59 +0000
3f930fb0c1'main': Add an auxiliary variable for readability.
Daniel Shahaf
2020-03-16 20:28:14 +0000
5545fb9ab2'main': In command position, do not highlight directories (unless AUTO_CD is set) and non-executable files.
Daniel Shahaf
2020-01-12 20:06:13 +0000
a6eb966d96'main': Extend tests to capture the current behaviour.
Daniel Shahaf
2020-01-12 20:17:31 +0000
c67372e96c'main': Add an XFail test for issue #202.
Daniel Shahaf
2020-01-12 20:04:02 +0000
29ca0bc6c8'main': Highlight errors from the EQUALS option.
Daniel Shahaf
2020-03-17 04:13:50 +0000
5fd2ae8981'main': Add TODO.
Daniel Shahaf
2020-03-17 02:21:08 +0000
c27470a08d'main': Let aliases be type-cached, and don't run type-checking twice (with slightly different settings) if path expansion returned the input unchanged.
Daniel Shahaf
2020-03-17 02:17:11 +0000
e0d1bc5c86changelog: Update through HEAD.
Daniel Shahaf
2020-03-17 02:12:43 +0000
39977391de'main': Highlight escaped reserved words properly. Fixes#701.
Daniel Shahaf
2020-03-17 02:12:00 +0000
f284041305'main': Check cheaper conditions first.
Daniel Shahaf
2020-03-17 02:11:37 +0000
1d76c0be32tests: Add a test for issue #701, concerning escaped reserved words.
Daniel Shahaf
2020-03-17 02:01:17 +0000
08839bbd87'main': Let the type determination ignore global aliases when it ignores regular ones.
Daniel Shahaf
2020-03-19 05:28:17 +0000
e2dddb91c6'main': Add a regression test for parameters that expand to global aliases.
Daniel Shahaf
2020-03-19 05:25:38 +0000
cfef4f3ae0'main': Enable the zsh/parameter codepath of global aliases highlighting.
Daniel Shahaf
2020-03-19 05:13:46 +0000
48dd47931achangelog: Update through HEAD.
Daniel Shahaf
2020-03-19 05:13:17 +0000
3d81c83132travis: Remove bsdmainutils since column(1) has been removed, three commits ago.
Daniel Shahaf
2020-03-19 05:11:21 +0000
3c5f63d959'main': Highlight global aliases
Daniel Shahaf
2020-03-17 01:06:00 +0000
5a44d9f32atests: Record current behaviour on global aliases.
Daniel Shahaf
2020-03-17 01:00:42 +0000
ea7c165b59test harness: Rewrite the columnar pretty-printer without external tools.
Daniel Shahaf
2020-03-19 05:01:37 +0000
90a92b2bb8test harness: Fix an issue with the pretty-printed $expected_region_highlight/$region_highlight diffing.
Daniel Shahaf
2020-03-19 05:00:22 +0000
fdf23e06c7'main': Support the "close file descriptor" and "coproc" redirection syntaxes
Daniel Shahaf
2020-03-19 03:13:36 +0000
10171731f3tests: Add a test for the "close file descriptor" and "coproc" redirection syntaxes
Daniel Shahaf
2020-03-19 03:13:36 +0000