Commit Graph

  • 0582ea1910 changelog += WARN_NESTED_VAR fixes (#727, #731) Daniel Shahaf 2020-05-05 17:59:51 +00:00
  • e65ebf0466 'main': Fix a regression caused by the great-grandparent commit's WARN_NESTED_VAR fix. Daniel Shahaf 2020-05-05 14:31:42 +00:00
  • 06710f3780 'main': Don't run _zsh_highlight_main__type on every non-command word. Daniel Shahaf 2020-05-04 18:35:15 +00:00
  • 343ec1061f 'make perf': Show only a cumulative datum per highligher, rather than per test file. Daniel Shahaf 2020-05-04 17:34:59 +00:00
  • b08d508cd8 driver: Fix a bug that prevented subsequent, third-party zle-line-pre-redraw hooks from running. Daniel Shahaf 2020-05-04 15:49:24 +00:00
  • 16d818a21f 'main': Don't trip WARN_NESTED_VAR. Daniel Shahaf 2020-05-04 13:27:33 +00:00
  • f1b9fbbaf0 'main': Follow-up to previous: Document the version number, and deduplicate some option letters. Daniel Shahaf 2020-04-20 11:11:29 +00:00
  • 8d32609a7b 'main': precommands += strace Daniel Shahaf 2020-04-20 11:09:24 +00:00
  • f5d1be7ec2 editorconfig: Fix Makefile settings Daniel Shahaf 2020-04-12 02:59:39 +00:00
  • 415e762ab2 Fix typo Dimitris Apostolou 2020-04-08 21:04:48 +03:00
  • ccb1da4ae8 Bump copyright years. Daniel Shahaf 2020-04-03 01:48:47 +00:00
  • 96eb2e31a1 driver: Fix "_zsh_highlight:3: read-only variable: ret" warnings when POSIX_BUILTINS is set. Daniel Shahaf 2020-04-03 01:19:38 +00:00
  • 291634ecfe tests: Add a test for the infinite loop fixed by each of the last two commits. Daniel Shahaf 2020-04-03 01:03:57 +00:00
  • 96e6cbe22f 'main': Fix expansion of positional parameters in _zsh_highlight_main_highlighter__try_expand_parameter. Daniel Shahaf 2020-04-02 23:40:52 +00:00
  • 2a30d4fb5a 'main': Fix an infinite loop. Daniel Shahaf 2020-04-02 23:32:28 +00:00
  • 90fec4d658 'main': precommands += ionice(1) (from util-linux) Daniel Shahaf 2020-04-01 06:38:41 +00:00
  • f563780236 driver: Simplify initialization of $zsyh_user_options in the fallback codepath. Daniel Shahaf 2020-03-29 20:52:14 +00:00
  • b8c93afd34 driver: Make sure we don't change the return value in a called function. Daniel Shahaf 2020-03-29 20:45:46 +00:00
  • 2aca4e2c02 'main': Make logic more robust. No functional change. Daniel Shahaf 2020-03-19 22:16:04 +00:00
  • 7678a8a227 'main': Break out an anonymous function into a named function. Daniel Shahaf 2020-03-19 21:37:50 +00:00
  • 5d139fcd94 Fix typos in comments. Daniel Shahaf 2020-03-27 01:27:37 +00:00
  • d1802e388e main: Add test for issue #713 Matthew Martin 2020-03-22 15:01:10 -05:00
  • aecfd61bbd 'main': Support the 'env' precommand. Daniel Shahaf 2020-03-21 01:45:34 +00:00
  • 2904e0f986 test harness: Fix the pretty-printer's padding implementation. Daniel Shahaf 2020-03-19 22:45:37 +00:00
  • d5d2f22013 Revert "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 +00:00
  • 8eaa41431d changelog: Update through HEAD. Daniel Shahaf 2020-03-19 21:25:49 +00:00
  • e4f24f8901 Merge pull request #669 from danielshahaf/cdpath-and-nonexecutable-in-command-position-v1 Daniel Shahaf 2020-03-19 21:22:52 +00:00
  • 1000da306a 'main': Correctly highlight '&&' and '||' inside '[[ … ]]' conditions. Daniel Shahaf 2020-03-19 20:16:43 +00:00
  • b44964c545 'main': Highlight reserved words following assignments as errors. Daniel Shahaf 2020-03-19 19:45:02 +00:00
  • f54d829f03 tests: Add tests for issue #461. Daniel Shahaf 2020-03-19 19:43:12 +00:00
  • 9e9885253a test harness: Output the time information to the same place the test name was printed to. Daniel Shahaf 2020-03-19 19:17:41 +00:00
  • 3e7745ef30 test harness: Stringify values in a more readable manner. Daniel Shahaf 2020-03-19 19:15:21 +00:00
  • b0af27f25f tests: Add a unit test for a path specified with mixed quoting. Daniel Shahaf 2020-03-19 06:49:40 +00:00
  • bd9094cc61 tests: Add a test for issue #498, which has already been fixed. Daniel Shahaf 2020-03-19 06:44:12 +00:00
  • c7229a000a tests: Test that global qualifiers and command substitutions aren't evaluated. Daniel Shahaf 2020-03-19 06:41:38 +00:00
  • f2726d0464 'main': Don't consider path_prefix in alias expansions. Daniel Shahaf 2020-03-16 21:45:50 +00:00
  • 8184266338 'main': Add a test for aliases to AUTO_CD directories. Daniel Shahaf 2020-03-16 21:44:31 +00:00
  • 83ac855ceb 'main': Let AUTO_CD directories be highlighted with their own style. Daniel Shahaf 2020-01-12 20:17:59 +00:00
  • 3f930fb0c1 'main': Add an auxiliary variable for readability. Daniel Shahaf 2020-03-16 20:28:14 +00:00
  • 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 +00:00
  • a6eb966d96 'main': Extend tests to capture the current behaviour. Daniel Shahaf 2020-01-12 20:17:31 +00:00
  • c67372e96c 'main': Add an XFail test for issue #202. Daniel Shahaf 2020-01-12 20:04:02 +00:00
  • 29ca0bc6c8 'main': Highlight errors from the EQUALS option. Daniel Shahaf 2020-03-17 04:13:50 +00:00
  • 08839bbd87 'main': Let the type determination ignore global aliases when it ignores regular ones. Daniel Shahaf 2020-03-19 05:28:17 +00:00
  • e2dddb91c6 'main': Add a regression test for parameters that expand to global aliases. Daniel Shahaf 2020-03-19 05:25:38 +00:00
  • cfef4f3ae0 'main': Enable the zsh/parameter codepath of global aliases highlighting. Daniel Shahaf 2020-03-19 05:13:46 +00:00
  • 48dd47931a changelog: Update through HEAD. Daniel Shahaf 2020-03-19 05:13:17 +00:00
  • 3d81c83132 travis: Remove bsdmainutils since column(1) has been removed, three commits ago. Daniel Shahaf 2020-03-19 05:11:21 +00:00
  • 3c5f63d959 'main': Highlight global aliases Daniel Shahaf 2020-03-17 01:06:00 +00:00
  • 5a44d9f32a tests: Record current behaviour on global aliases. Daniel Shahaf 2020-03-17 01:00:42 +00:00
  • ea7c165b59 test harness: Rewrite the columnar pretty-printer without external tools. Daniel Shahaf 2020-03-19 05:01:37 +00:00
  • 90a92b2bb8 test harness: Fix an issue with the pretty-printed $expected_region_highlight/$region_highlight diffing. Daniel Shahaf 2020-03-19 05:00:22 +00:00
  • fdf23e06c7 'main': Support the "close file descriptor" and "coproc" redirection syntaxes Daniel Shahaf 2020-03-19 03:13:36 +00:00
  • 10171731f3 tests: Add a test for the "close file descriptor" and "coproc" redirection syntaxes Daniel Shahaf 2020-03-19 03:13:36 +00:00
  • dfc41123d7 tests: Fix the test added in the last commit. Daniel Shahaf 2020-03-19 02:30:58 +00:00
  • d6defe715a tests: Add a test for issue #705, concerning continuation lines. Daniel Shahaf 2020-03-19 01:39:07 +00:00
  • 3ff5bec82e test harness: Let tests fail early by exiting non-zero or by setting a flag. Daniel Shahaf 2020-03-19 00:37:21 +00:00
  • c4bb260a30 test harness: Print the test name when $skip_test is set. Daniel Shahaf 2020-03-19 00:16:09 +00:00
  • 9bdeb4aa4a test harness: Remove a bogus check. Daniel Shahaf 2020-03-19 00:03:24 +00:00
  • 63852df983 test harness: Fix $skip_test support, broken yesterday. Daniel Shahaf 2020-03-18 23:55:10 +00:00
  • 66021cf0f7 travis: Install bsdmainutils to provide column(1). Daniel Shahaf 2020-03-17 17:17:51 +00:00
  • 0f627fdf60 Merge remote-tracking branch 'danielsh/whitespace-historical' Daniel Shahaf 2020-03-17 17:08:06 +00:00
  • bdb4e8b70e test harness: When the cardinality check fails, pretty-print \$expected_region_highlight and \$region_highlight. Daniel Shahaf 2020-03-17 17:06:32 +00:00
  • e6eea1f9b7 test harness: Don't leak options from test files to the test harness. Daniel Shahaf 2020-03-17 16:35:14 +00:00
  • 99389327ae test harness: Fix test failures under zsh 5.0.8 and older. Daniel Shahaf 2020-03-17 16:22:56 +00:00
  • e165f18c75 'main': Fix a bug manifesting under zsh 5.2 and older. Daniel Shahaf 2020-03-17 16:13:32 +00:00
  • d237a60c9b 'main': Don't highlight arithmetic expansions as command substitutions. Daniel Shahaf 2020-03-17 14:22:06 +00:00
  • 2e65bb6d7d tests: Add a test documenting the current state, prior to introducing #704. Daniel Shahaf 2020-03-17 14:35:46 +00:00
  • 61c1cfe99f test harness: Change cardinality check semantics Daniel Shahaf 2020-03-17 14:58:00 +00:00
  • ea2f1060f6 test harness: No-op change to minimize the next diff. Daniel Shahaf 2020-03-17 14:53:09 +00:00
  • e79ce6afd0 'main': Document additional meanings of the 'S' $braces_stack flag. Daniel Shahaf 2020-03-17 14:12:00 +00:00
  • fb69f4ca81 'main': When the redirection operator '>&' or '<&' is followed by a positive integer, do not consider that as a filename; it's always a file descriptor. Daniel Shahaf 2020-03-17 03:59:30 +00:00
  • 1024ae8177 'main': Add $last_arg for "lookbehind". Daniel Shahaf 2020-03-17 03:58:15 +00:00
  • 5720d87052 noop: Clarify comment. Daniel Shahaf 2020-03-17 03:48:40 +00:00
  • 2339ee33b9 'main': Honour the MULTIOS option when applying the 'globbing' style. Daniel Shahaf 2020-03-17 03:31:32 +00:00
  • 61945185ff 'main': Document what $in_redirection is currently used for. Daniel Shahaf 2020-03-17 03:18:27 +00:00
  • 936bc251a8 'main': The optimized cmdsubst input syntax doesn't glob. Daniel Shahaf 2020-03-17 03:08:48 +00:00
  • c699ce9a26 changelog: Fix markup. Daniel Shahaf 2020-03-17 03:09:25 +00:00
  • 6e1a221699 tests: Add a test for issue #571. Daniel Shahaf 2020-03-17 02:57:55 +00:00
  • 9ceb7c6e7c changelog.md (0.7.0): Fix typo Daniel Shahaf 2020-03-17 01:51:32 +00:00
  • b454b596ed Fix historical instances of one-space indentation. Daniel Shahaf 2020-03-17 00:48:16 +00:00
  • e815d4579b tests: Add a test for a bug fixed in 2d0dddf58b "'main': Don't dequote the word in command position before analyzing it.". Daniel Shahaf 2020-03-16 22:26:49 +00:00
  • 3174e375f4 'main': Fix highlighting of null execs. Daniel Shahaf 2020-03-16 21:50:04 +00:00
  • f56e3fad23 'main': Optimize the path_prefix check. Daniel Shahaf 2020-03-16 20:45:56 +00:00
  • 62e2d05f91 changelog: Update through HEAD. Daniel Shahaf 2020-03-16 19:34:48 +00:00
  • 2cc2583f8f Merge the first three commits of PR #669 Daniel Shahaf 2020-03-16 19:32:59 +00:00
  • e15781c900 changelog: Update through HEAD. Daniel Shahaf 2020-03-16 19:26:28 +00:00
  • 20d250d618 'main': Support the non-precommand flags of sudo(8) and ssh-agent(1). Daniel Shahaf 2020-03-16 19:21:31 +00:00
  • c73153c6e8 'main': Add infrastructure for precommand options that are not to be followed by a command word (issue #678). Daniel Shahaf 2020-03-16 19:20:31 +00:00
  • 63bcd85dfa 'main': Don't use «foo && bar || baz» where a trenary is more appropriate. Daniel Shahaf 2020-03-16 19:13:12 +00:00
  • 4bbd2a3bc6 'main': Prepare to add additional fields to $precommand_options values. Daniel Shahaf 2020-03-16 19:07:52 +00:00
  • 241d3a92e8 tests: Fix an XFail test expectation. Daniel Shahaf 2020-03-16 19:04:12 +00:00
  • 6243c99f41 tests: Fixup last commit. Daniel Shahaf 2020-03-16 18:57:28 +00:00
  • 8f7e9b2af4 tests: Add a test for uninstalled precommands. Daniel Shahaf 2020-03-15 19:55:42 +00:00
  • f63f07417d Merge remote-tracking branch 'danielsh/tests-skip-cardinality-v1' Daniel Shahaf 2020-03-15 18:38:26 +00:00
  • 2331072c06 changelog: Update through HEAD. Daniel Shahaf 2020-03-15 18:29:10 +00:00
  • 9e036e0b0c 'main': Document the second meaning of the 'comment' style. Daniel Shahaf 2020-02-25 17:37:46 +00:00
  • 74c7ffc9b5 'main': Factor out common logic to after the case/esac. Daniel Shahaf 2020-01-12 19:04:57 +00:00
  • 8feb06a022 'main': Support parameter elision in command position. Daniel Shahaf 2020-01-12 18:57:57 +00:00
  • fdf682a2f9 'main': Expand comment. Daniel Shahaf 2020-03-15 18:14:39 +00:00