Daniel Shahaf
							
						 
						
							 
							
							
							
							
								
							
							
								5591e2adb1 
								
							 
						 
						
							
							
								
								driver: Rewrite without a state variable  
							
							 
							
							... 
							
							
							
							Suggested-by: m0viefreak 
							
						 
						
							2016-10-17 15:13:19 +00:00  
						
					 
				
					
						
							
							
								 
								Daniel Shahaf
							
						 
						
							 
							
							
							
							
								
							
							
								9872a186bc 
								
							 
						 
						
							
							
								
								noop: Make a whitespace-only change to reduce noise in the next commit.  
							
							 
							
							
							
						 
						
							2016-10-17 14:49:53 +00:00  
						
					 
				
					
						
							
							
								 
								Daniel Shahaf
							
						 
						
							 
							
							
							
							
								
							
							
								89bf578590 
								
							 
						 
						
							
							
								
								docs: Rewrap.  
							
							 
							
							
							
						 
						
							2016-10-07 14:22:49 +00:00  
						
					 
				
					
						
							
							
								 
								Daniel Shahaf
							
						 
						
							 
							
							
							
							
								
							
							
								29c6834e70 
								
							 
						 
						
							
							
								
								docs: Update FAQ answer per changes on this branch.  
							
							 
							
							
							
						 
						
							2016-10-07 14:21:57 +00:00  
						
					 
				
					
						
							
							
								 
								Daniel Shahaf
							
						 
						
							 
							
							
							
							
								
							
							
								a8b842bddb 
								
							 
						 
						
							
							
								
								redo _zsh_highlight__function_callable_p  
							
							 
							
							
							
						 
						
							2016-09-16 05:12:20 +00:00  
						
					 
				
					
						
							
							
								 
								Daniel Shahaf
							
						 
						
							 
							
							
							
							
								
							
							
								b30e5b593e 
								
							 
						 
						
							
							
								
								driver: Use a different way of checking whether add-zle-hook-widget is present.  
							
							 
							
							... 
							
							
							
							Based on code by Bart Schaefer (reference within).
Tested with zsh 5.0.7-5 (debian package) and with 5b4cbcc842c6 (39158,
5.3-to-be of today). 
							
						 
						
							2016-09-16 04:25:14 +00:00  
						
					 
				
					
						
							
							
								 
								Daniel Shahaf
							
						 
						
							 
							
							
							
							
								
							
							
								1f8b1755d9 
								
							 
						 
						
							
							
								
								changelog: Use a more specific link.  
							
							 
							
							
							
						 
						
							2016-09-16 04:25:05 +00:00  
						
					 
				
					
						
							
							
								 
								Daniel Shahaf
							
						 
						
							 
							
							
							
							
								
							
							
								487b6bf63d 
								
							 
						 
						
							
							
								
								changelog: Note the effect of fixing #245/#90 and an alternative.  
							
							 
							
							
							
						 
						
							2016-09-16 04:25:05 +00:00  
						
					 
				
					
						
							
							
								 
								Daniel Shahaf
							
						 
						
							 
							
							
							
							
								
							
							
								eb506b52b4 
								
							 
						 
						
							
							
								
								driver: Pass zle-line-finish arguments on to _zsh_highlight.  
							
							 
							
							... 
							
							
							
							(Currently a noop) 
							
						 
						
							2016-08-24 22:56:09 +00:00  
						
					 
				
					
						
							
							
								 
								Daniel Shahaf
							
						 
						
							 
							
							
							
							
								
							
							
								a7470586a9 
								
							 
						 
						
							
							
								
								driver: Hook zle-line-finish.  
							
							 
							
							... 
							
							
							
							Compare issue #288 . 
							
						 
						
							2016-07-29 20:33:59 +00:00  
						
					 
				
					
						
							
							
								 
								Daniel Shahaf
							
						 
						
							 
							
							
							
							
								
							
							
								98aab2024c 
								
							 
						 
						
							
							
								
								driver: Reimplement using 'add-zle-hook-widget zle-line-pre-redraw'  
							
							 
							
							... 
							
							
							
							This feature will be released in zsh 5.3.  Older zsh's will use the existing
codepath. 
							
						 
						
							2016-06-15 23:26:23 +00:00  
						
					 
				
					
						
							
							
								 
								Daniel Shahaf
							
						 
						
							 
							
							
							
							
								
							
							
								ef41c9232d 
								
							 
						 
						
							
							
								
								wrappers: Reimplement using Mikachu's zle-line-pre-redraw hook (workers/36650).  
							
							 
							
							
							
						 
						
							2016-06-15 21:45:55 +00:00  
						
					 
				
					
						
							
							
								 
								m0viefreak
							
						 
						
							 
							
							
							
							
								
							
							
								f3d3aaa00c 
								
							 
						 
						
							
							
								
								'main': Document _pathseparator styles  
							
							 
							
							
							
						 
						
							2016-06-12 09:06:30 +00:00  
						
					 
				
					
						
							
							
								 
								m0viefreak
							
						 
						
							 
							
							
							
							
								
							
							
								9a934d291e 
								
							 
						 
						
							
							
								
								'main': Path separators: Leave styles empty by default  
							
							 
							
							... 
							
							
							
							If the separator feature is disabled, this makes it possible to
change the main 'path' styles in a running session without the
need to touch the '_pathseparator' styles, too. 
							
						 
						
							2016-06-11 14:19:17 +02:00  
						
					 
				
					
						
							
							
								 
								Daniel Shahaf
							
						 
						
							 
							
							
							
							
								
							
							
								750aebc553 
								
							 
						 
						
							
							
								
								driver: Stop requiring function_argzero.  
							
							 
							
							... 
							
							
							
							Instead, use the %N prompt expando, as suggested by Bart in users/21637.
Avoid the `print -P %N` syntax to save a fork on Cygwin, at the expense
of not supporting zsh's from 2001 through c. 2004 vintages.
Fixes  #338 . 
							
						 
						
							2016-06-10 15:18:46 +00:00  
						
					 
				
					
						
							
							
								 
								Daniel Shahaf
							
						 
						
							 
							
							
							
							
								
							
							
								d9e07b5082 
								
							 
						 
						
							
							
								
								'main': simple parameter expansions at command word: Don't use an undefined value.  
							
							 
							
							... 
							
							
							
							Causes such expansions to be highlighted as [unknown-token] rather than as default (absent from $region_highlight).
Fixes  #337 . 
							
						 
						
							2016-06-10 14:31:57 +00:00  
						
					 
				
					
						
							
							
								 
								Daniel Shahaf
							
						 
						
							 
							
							
							
							
								
							
							
								da91264122 
								
							 
						 
						
							
							
								
								'main': Add missing arguments.  
							
							 
							
							... 
							
							
							
							Part of #337 . 
							
						 
						
							2016-06-10 14:31:57 +00:00  
						
					 
				
					
						
							
							
								 
								Daniel Shahaf
							
						 
						
							 
							
							
							
							
								
							
							
								e35a0b256e 
								
							 
						 
						
							
							
								
								'main': Try the "non-command word" codepath when a word may be either a command word or a non-command word.  
							
							 
							
							... 
							
							
							
							Merge remote-tracking branch 'upstream/pr/331'
* upstream/pr/331:
  'main': Try the "non-command word" codepath when a word may be either a command word or a non-command word. 
							
						 
						
							2016-06-05 16:58:12 +00:00  
						
					 
				
					
						
							
							
								 
								Daniel Shahaf
							
						 
						
							 
							
							
							
							
								
							
							
								10a596f9fd 
								
							 
						 
						
							
							
								
								dev docs: Document a useful tab completion setting.  
							
							 
							
							
							
						 
						
							2016-06-03 08:46:30 +00:00  
						
					 
				
					
						
							
							
								 
								Daniel Shahaf
							
						 
						
							 
							
							
							
							
								
							
							
								4b77af73fb 
								
							 
						 
						
							
							
								
								minor: Fix typo in comment.  
							
							 
							
							... 
							
							
							
							Two instances. 
							
						 
						
							2016-06-03 08:41:45 +00:00  
						
					 
				
					
						
							
							
								 
								Daniel Shahaf
							
						 
						
							 
							
							
							
							
								
							
							
								47144ad974 
								
							 
						 
						
							
							
								
								'main': Fix issue  #290 , «Mishighlights "longloops" 'repeat'».  
							
							 
							
							... 
							
							
							
							* upstream/pr/319:
  tests: Extend issue #290  test with another variant.
  'main': Fix issue #290 , «Mishighlights "longloops" 'repeat'».
  tests: New test for issue #290 , «Mishighlights "longloops" 'repeat'». 
							
						 
						
							2016-06-03 04:32:25 +00:00  
						
					 
				
					
						
							
							
								 
								Daniel Shahaf
							
						 
						
							 
							
							
							
							
								
							
							
								7fb6f99791 
								
							 
						 
						
							
							
								
								'main': Try the "non-command word" codepath when a word may be either a command word or a non-command word.  
							
							 
							
							... 
							
							
							
							Fixes  #231 .
Fixes  #330 . 
							
						 
						
							2016-06-03 04:25:00 +00:00  
						
					 
				
					
						
							
							
								 
								Daniel Shahaf
							
						 
						
							 
							
							
							
							
								
							
							
								fccf92402b 
								
							 
						 
						
							
							
								
								minor: tests: Formatting tweak to XPASS output.  
							
							 
							
							... 
							
							
							
							Remove superfluous single quotes around the second hyphen. 
							
						 
						
							2016-06-03 03:57:45 +00:00  
						
					 
				
					
						
							
							
								 
								Daniel Shahaf
							
						 
						
							 
							
							
							
							
								
							
							
								29b30e0ca7 
								
							 
						 
						
							
							
								
								'main': Add XFail test for issue  #330 , concerning command word after array assignment.  
							
							 
							
							
							
						 
						
							2016-06-03 03:42:12 +00:00  
						
					 
				
					
						
							
							
								 
								Daniel Shahaf
							
						 
						
							 
							
							
							
							
								
							
							
								f4036a09ce 
								
							 
						 
						
							
							
								
								'main': Highlight scalar assignments to argv  
							
							 
							
							... 
							
							
							
							Assignments to positional parameters using scalar assignment syntax is
a feature: it is covered by upstream's test suite ("append to positional
parameter" in Test/A06assign.ztst). 
							
						 
						
							2016-06-03 03:27:52 +00:00  
						
					 
				
					
						
							
							
								 
								Daniel Shahaf
							
						 
						
							 
							
							
							
							
								
							
							
								14711a51f3 
								
							 
						 
						
							
							
								
								tests: Explicitly test 'default' style inside an array assignment.  
							
							 
							
							
							
						 
						
							2016-06-03 02:41:10 +00:00  
						
					 
				
					
						
							
							
								 
								Matthew Martin
							
						 
						
							 
							
							
							
							
								
							
							
								91fa057a39 
								
							 
						 
						
							
							
								
								minor: 'main': Only search for prefixes if :h is a directory  
							
							 
							
							
							
						 
						
							2016-06-01 00:54:30 -05:00  
						
					 
				
					
						
							
							
								 
								Daniel Shahaf
							
						 
						
							 
							
							
							
							
								
							
							
								f060622dc6 
								
							 
						 
						
							
							
								
								'main': Internal cleanup: drop $style_override.  
							
							 
							
							... 
							
							
							
							Merge remote-tracking branch 'upstream/pr/326'
* upstream/pr/326:
  'main': Internal cleanup: drop $style_override.
Conflicts:
	highlighters/main/main-highlighter.zsh (context lines only) 
							
						 
						
							2016-06-01 05:45:39 +00:00  
						
					 
				
					
						
							
							
								 
								m0viefreak
							
						 
						
							 
							
							
							
							
								
							
							
								6cd39e7c70 
								
							 
						 
						
							
							
								
								'main': Highlight path separators  
							
							 
							
							... 
							
							
							
							This commit is based on the work done by
Jorge Israel Peña (blaenk) in #136 .
Changes:
* Adjusted to changes on the latest master branch.
* Use regular path highlighter colors by default.
* Break out early if the separator color is the same to
  improve performance.
* Tests. 
							
						 
						
							2016-05-31 15:06:12 +00:00  
						
					 
				
					
						
							
							
								 
								Daniel Shahaf
							
						 
						
							 
							
							
							
							
								
							
							
								a5b8bc0ef0 
								
							 
						 
						
							
							
								
								'main': Internal cleanup: drop $style_override.  
							
							 
							
							... 
							
							
							
							Changes the interface of _zsh_highlight_main_highlighter_check_path().
Suggested-by: m0viefreak 
							
						 
						
							2016-05-27 10:21:28 +00:00  
						
					 
				
					
						
							
							
								 
								m0viefreak
							
						 
						
							 
							
							
							
							
								
							
							
								3b67e656bf 
								
							 
						 
						
							
							
								
								'main': Implement simple command type cache  
							
							 
							
							
							
						 
						
							2016-05-24 23:08:11 +02:00  
						
					 
				
					
						
							
							
								 
								m0viefreak
							
						 
						
							 
							
							
							
							
								
							
							
								12b879caf7 
								
							 
						 
						
							
							
								
								'main': Use zsh/parameter instead of type -w  
							
							 
							
							... 
							
							
							
							If possible, try to use the zsh/parameter module to get
information about a shell words.
This avoids subshells and is a huge speed improvement
on systems such as cygwin.
Note 1:
$commands does not know about PATH_DIRS. So in case
PATH_DIRS is set, 'type -w' is still used if nothing
else matches.
Note 2:
zsh/parameter can't distinguish between 'command' and
'hashed'. Adjusted the test for that case to XFAIL.
The ideal solution would be if whence had an option to
put the result in REPLY instead of printing it to stdout. 
							
						 
						
							2016-05-13 20:25:07 +02:00  
						
					 
				
					
						
							
							
								 
								m0viefreak
							
						 
						
							 
							
							
							
							
								
							
							
								61f43255ab 
								
							 
						 
						
							
							
								
								'main': Support multiple styles in _zsh_highlight_main_add_region_highlight  
							
							 
							
							
							
						 
						
							2016-05-13 20:25:04 +02:00  
						
					 
				
					
						
							
							
								 
								Daniel Shahaf
							
						 
						
							 
							
							
							
							
								
							
							
								6362c757b6 
								
							 
						 
						
							
							
								
								tests: Extend issue  #290  test with another variant.  
							
							 
							
							... 
							
							
							
							The test being extended is highlighters/main/test-data/control-flow2.zsh. 
							
						 
						
							2016-05-13 04:28:43 +00:00  
						
					 
				
					
						
							
							
								 
								Matthew Martin
							
						 
						
							 
							
							
							
							
								
							
							
								d37c55c788 
								
							 
						 
						
							
							
								
								minor: tests: Add comment for NONE in expected_region_highlight  
							
							 
							
							
							
						 
						
							2016-05-12 22:59:06 -05:00  
						
					 
				
					
						
							
							
								 
								Matthew Martin
							
						 
						
							 
							
							
							
							
								
							
							
								364f206a54 
								
							 
						 
						
							
							
								
								docs: Give example of test that modifies its environment  
							
							 
							
							
							
						 
						
							2016-05-12 22:48:07 -05:00  
						
					 
				
					
						
							
							
								 
								Matthew Martin
							
						 
						
							 
							
							
							
							
								
							
							
								19acd8e844 
								
							 
						 
						
							
							
								
								docs: Mention `$BUFFER`  
							
							 
							
							
							
						 
						
							2016-05-12 22:48:03 -05:00  
						
					 
				
					
						
							
							
								 
								Matthew Martin
							
						 
						
							 
							
							
							
							
								
							
							
								13018f3dd7 
								
							 
						 
						
							
							
								
								docs: Document use of NONE in expected_region_highlight  
							
							 
							
							
							
						 
						
							2016-05-12 22:47:55 -05:00  
						
					 
				
					
						
							
							
								 
								Matthew Martin
							
						 
						
							 
							
							
							
							
								
							
							
								0f43026bf0 
								
							 
						 
						
							
							
								
								docs: Document writing tests  
							
							 
							
							
							
						 
						
							2016-05-12 22:40:34 -05:00  
						
					 
				
					
						
							
							
								 
								Matthew Martin
							
						 
						
							 
							
							
							
							
								
							
							
								1082067f93 
								
							 
						 
						
							
							
								
								tests: Fail on stderr output  
							
							 
							
							... 
							
							
							
							Closes  #291 . 
							
						 
						
							2016-05-12 22:32:34 -05:00  
						
					 
				
					
						
							
							
								 
								Daniel Shahaf
							
						 
						
							 
							
							
							
							
								
							
							
								ef68f50c04 
								
							 
						 
						
							
							
								
								'main': Fix issue  #290 , «Mishighlights "longloops" 'repeat'».  
							
							 
							
							
							
						 
						
							2016-05-13 03:30:11 +00:00  
						
					 
				
					
						
							
							
								 
								Daniel Shahaf
							
						 
						
							 
							
							
							
							
								
							
							
								4832f18c50 
								
							 
						 
						
							
							
								
								tests: New test for issue  #290 , «Mishighlights "longloops" 'repeat'».  
							
							 
							
							
							
						 
						
							2016-05-13 02:50:24 +00:00  
						
					 
				
					
						
							
							
								 
								Daniel Shahaf
							
						 
						
							 
							
							
							
							
								
							
							
								f146651913 
								
							 
						 
						
							
							
								
								Merge part of PR  #298  
							
							 
							
							... 
							
							
							
							* commit '2f18ba':
  'main': use zsh/parameter to resolve alias
  driver: load zsh/parameter if available 
							
						 
						
							2016-05-13 02:27:29 +00:00  
						
					 
				
					
						
							
							
								 
								m0viefreak
							
						 
						
							 
							
							
							
							
								
							
							
								2f18ba64e3 
								
							 
						 
						
							
							
								
								'main': use zsh/parameter to resolve alias  
							
							 
							
							... 
							
							
							
							If possible, use zsh/parameter to avoid forks.
Fixes  #263 . 
							
						 
						
							2016-05-13 02:27:03 +00:00  
						
					 
				
					
						
							
							
								 
								m0viefreak
							
						 
						
							 
							
							
							
							
								
							
							
								3ce01076b5 
								
							 
						 
						
							
							
								
								driver: load zsh/parameter if available  
							
							 
							
							
							
						 
						
							2016-05-13 02:24:57 +00:00  
						
					 
				
					
						
							
							
								 
								Daniel Shahaf
							
						 
						
							 
							
							
							
							
								
							
							
								def8c0da83 
								
							 
						 
						
							
							
								
								Bump copyright years.  
							
							 
							
							
							
						 
						
							2016-05-13 01:29:49 +00:00  
						
					 
				
					
						
							
							
								 
								Daniel Shahaf
							
						 
						
							 
							
							
							
							
								
							
							
								4f5bb6cf96 
								
							 
						 
						
							
							
								
								Merge remote-tracking branch 'upstream/pr/308' into HEAD  
							
							 
							
							... 
							
							
							
							* upstream/pr/308:
  'main': Fix issue #302 , "Process substitution misparsed as redirection".
  'main': Factor out common code.  No functional change.
  'main': Add a regression test for issue #302 , "Process substitution misparsed as redirection". 
							
						 
						
							2016-05-13 01:24:01 +00:00  
						
					 
				
					
						
							
							
								 
								Daniel Shahaf
							
						 
						
							 
							
							
							
							
								
							
							
								0ff354b44b 
								
							 
						 
						
							
							
								
								docs: Namespace highlighters' styles.  
							
							 
							
							... 
							
							
							
							Follow-up to 2176692704 .
Part of #306 . 
							
						 
						
							2016-05-12 19:28:17 +00:00  
						
					 
				
					
						
							
							
								 
								Daniel Shahaf
							
						 
						
							 
							
							
							
							
								
							
							
								7b82b88a71 
								
							 
						 
						
							
							
								
								'main': Don't leak the PATH_DIRS options.  
							
							 
							
							... 
							
							
							
							Found-by: m0viefreak
(in #298 ) 
							
						 
						
							2016-05-12 19:24:00 +00:00  
						
					 
				
					
						
							
							
								 
								Sebastian Gniazdowski
							
						 
						
							 
							
							
							
							
								
							
							
								ef4bfe5bcc 
								
							 
						 
						
							
							
								
								'main': 2nd optimization that in my tests shows 2.2s -> 2.0s  
							
							 
							
							
							
						 
						
							2016-05-12 19:22:29 +00:00