Commit graph

  • 91d2eeaf23 docs: Fix obs-repository link Il Harper 2020-06-15 13:11:30 +0800
  • 04db7b025b
    docs: Fix obs-repository link Il Harper 2020-06-15 13:11:30 +0800
  • f6471dbec3 tests: Fix a wrong value of $PREBUFFER in a test, and add checks to prevent this from recurring. Daniel Shahaf 2020-06-11 08:14:07 +0000
  • f6f7a91818 test harness: Fix use of an undefined variable in an error message. Daniel Shahaf 2020-06-11 08:09:45 +0000
  • c8f5d10dfe 'main': Highlight backslash escape sequences outside quotes. Daniel Shahaf 2020-06-08 14:53:28 +0000
  • 6fd92e1bbd 'main': Don't progress the $in_redirection staller while $in_param. Daniel Shahaf 2020-06-08 14:38:14 +0000
  • 792c065acb tests: Add an XFail test for issue #712. Daniel Shahaf 2020-06-08 14:28:25 +0000
  • 0f11d80968 'main': Highlight the parentheses of array assignments as reserved words. Daniel Shahaf 2020-06-08 14:23:43 +0000
  • 00c0c76550 CI += zsh-5.8 Daniel Shahaf 2020-05-26 17:52:17 +0000
  • 870bccf8ff main: Add tests for arithmetic expansion Matthew Martin 2020-03-22 14:47:03 -0500
  • a238647df9 main: Add arithmetic substitution highlighting Matthew Martin 2020-03-18 23:31:11 -0500
  • f8b1470314 changelog.md: Restore vertical whitespace before section headers. Daniel Shahaf 2020-05-22 04:55:17 +0000
  • ade4b28d2d 'main': Fix issue #677, concerning multiline aliases. Daniel Shahaf 2020-03-15 17:42:25 +0000
  • 345ed5a60c
    Merge 1bd1dec74a into 8211a95421 Daniel Shahaf 2020-05-22 04:45:40 +0000
  • 8211a95421 changelog: 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
  • a50647e77b tests: 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
  • b253a8b86a changelog: Update through HEAD. Daniel Shahaf 2020-05-22 03:30:11 +0000
  • 4dd4797ae0 test harness: Print the expected-v.-actual on every failure, not just upon cardinality failures. Daniel Shahaf 2020-05-22 03:27:48 +0000
  • 5171ec524f Document ZSH_HIGHLIGHT_MAXLENGTH. Daniel Shahaf 2020-05-22 02:23:18 +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
  • 0582ea1910 changelog += WARN_NESTED_VAR fixes (#727, #731) Daniel Shahaf 2020-05-05 17:59:51 +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
  • 08330f1c56 Fixup 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
  • 06ec3a0339 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
  • 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
  • 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 +0000
  • 16d818a21f 'main': Don't trip WARN_NESTED_VAR. Daniel Shahaf 2020-05-04 13:27:33 +0000
  • efba5b1220 Avoid warning under setopt warn_nested_var Robert Estelle 2020-05-03 12:52:32 -0700
  • f1b9fbbaf0 'main': Follow-up to previous: Document the version number, and deduplicate some option letters. Daniel Shahaf 2020-04-20 11:11:29 +0000
  • 8d32609a7b 'main': precommands += strace Daniel Shahaf 2020-04-20 11:09:24 +0000
  • d9f55968b1
    Merge 2160c2d114 into f5d1be7ec2 Matthew Martin 2020-04-12 13:38:47 +0300
  • f5d1be7ec2 editorconfig: Fix Makefile settings Daniel Shahaf 2020-04-12 02:59:39 +0000
  • 2160c2d114 Skip installing .revision-hash if not running make install from a git checkout Matthew Martin 2020-04-10 09:09:12 -0500
  • 415e762ab2
    Fix typo Dimitris Apostolou 2020-04-08 21:04:48 +0300
  • ccb1da4ae8 Bump copyright years. Daniel Shahaf 2020-04-03 01:48:47 +0000
  • 96eb2e31a1 driver: Fix "_zsh_highlight:3: read-only variable: ret" warnings when POSIX_BUILTINS is set. Daniel Shahaf 2020-04-03 01:19:38 +0000
  • 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 +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
  • 260a80e330
    Merge b7a9e29cf0 into 90fec4d658 Daniel Shahaf 2020-04-01 05:48:19 -0400
  • 90fec4d658 'main': precommands += ionice(1) (from util-linux) Daniel Shahaf 2020-04-01 06:38:41 +0000
  • f563780236 driver: Simplify initialization of $zsyh_user_options in the fallback codepath. Daniel Shahaf 2020-03-29 20:52:14 +0000
  • b8c93afd34 driver: Make sure we don't change the return value in a called function. Daniel Shahaf 2020-03-29 20:45:46 +0000
  • b7a9e29cf0 fixup! WIP: 'main': Add some in_param/in_alias checks by code inspection Daniel Shahaf 2020-03-28 04:58:28 +0000
  • d0a11ba837 WIP: 'main': Add some in_param/in_alias checks by code inspection Daniel Shahaf 2020-03-28 04:29:30 +0000
  • 78f40ee2b6 fixup! '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
  • 5d139fcd94 Fix typos in comments. Daniel Shahaf 2020-03-27 01:27:37 +0000
  • d1802e388e main: 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
  • 2904e0f986 test harness: Fix the pretty-printer's padding implementation. Daniel Shahaf 2020-03-19 22:45:37 +0000
  • 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 +0000
  • 8eaa41431d changelog: Update through HEAD. Daniel Shahaf 2020-03-19 21:25:49 +0000
  • e4f24f8901
    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
  • f54d829f03 tests: Add tests for issue #461. Daniel Shahaf 2020-03-19 19:43:12 +0000
  • 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 +0000
  • 3e7745ef30 test harness: Stringify values in a more readable manner. Daniel Shahaf 2020-03-19 19:15:21 +0000
  • b0af27f25f tests: Add a unit test for a path specified with mixed quoting. Daniel Shahaf 2020-03-19 06:49:40 +0000
  • bd9094cc61 tests: Add a test for issue #498, which has already been fixed. Daniel Shahaf 2020-03-19 06:44:12 +0000
  • c7229a000a tests: 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
  • 244889c146
    Merge 5fd2ae8981 into 08839bbd87 Daniel Shahaf 2020-03-19 01:49:17 -0400
  • 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
  • e0d1bc5c86 changelog: 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
  • 1d76c0be32 tests: 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
  • 48dd47931a changelog: Update through HEAD. Daniel Shahaf 2020-03-19 05:13:17 +0000
  • 3d81c83132 travis: 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
  • 5a44d9f32a tests: Record current behaviour on global aliases. Daniel Shahaf 2020-03-17 01:00:42 +0000
  • ea7c165b59 test harness: Rewrite the columnar pretty-printer without external tools. Daniel Shahaf 2020-03-19 05:01:37 +0000
  • 90a92b2bb8 test 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
  • 10171731f3 tests: Add a test for the "close file descriptor" and "coproc" redirection syntaxes Daniel Shahaf 2020-03-19 03:13:36 +0000
  • dfc41123d7 tests: Fix the test added in the last commit. Daniel Shahaf 2020-03-19 02:30:58 +0000