Daniel Hahler 
							
						 
					 
					
						
						
							
						
						dcc8fcf0b9 
					 
					
						
						
							
							tests: assert:set_parameter('TableFormatLevel', 100)  #10925  
						
						... 
						
						
						
						luassert uses 3 by default, which is often not enough.
Instead of documenting how to increase it, let's use a more fitting
(sane) default of 100 levels. 
						
						
					 
					
						2019-09-03 04:29:49 -07:00 
						 
				 
			
				
					
						
							
							
								Justin M. Keyes 
							
						 
					 
					
						
						
							
						
						fd04877eb0 
					 
					
						
						
							
							test: remove use of require('test.helpers')  
						
						... 
						
						
						
						The test.functional.helpers and test.unit.helpers modules now include
all of the public functions from test.helpers, so there is no need to
separately require('test.helpers'). 
						
						
					 
					
						2019-05-18 15:48:13 +02:00 
						 
				 
			
				
					
						
							
							
								ZyX 
							
						 
					 
					
						
						
							
						
						2316a38dd1 
					 
					
						
						
							
							tests: Make format_string('%q', ...) output more stable  
						
						... 
						
						
						
						It appears to be different on lua and luajit. 
						
						
					 
					
						2018-02-02 07:28:56 -05:00 
						 
				 
			
				
					
						
							
							
								ZyX 
							
						 
					 
					
						
						
							
						
						5ab0f988ca 
					 
					
						
						
							
							*: Replace all occurrences of NVim with Nvim  
						
						
						
						
					 
					
						2017-11-30 11:53:25 +03:00 
						 
				 
			
				
					
						
							
							
								ZyX 
							
						 
					 
					
						
						
							
						
						36a4f3a259 
					 
					
						
						
							
							viml/parser/expressions: Make sure that listed nodes may be present  
						
						... 
						
						
						
						With the new test leaving `assert(false);` for any of the cases makes tests 
crash. 
						
						
					 
					
						2017-11-26 16:57:42 +03:00 
						 
				 
			
				
					
						
							
							
								ZyX 
							
						 
					 
					
						
						
							
						
						cddf84c398 
					 
					
						
						
							
							functests: Add some more tests  
						
						
						
						
					 
					
						2017-11-26 16:45:29 +03:00 
						 
				 
			
				
					
						
							
							
								ZyX 
							
						 
					 
					
						
						
							
						
						ebb33eddd9 
					 
					
						
						
							
							tests: Stabilize float format and %e in format_luav and format_string  
						
						
						
						
					 
					
						2017-11-19 22:00:59 +03:00 
						 
				 
			
				
					
						
							
							
								ZyX 
							
						 
					 
					
						
						
							
						
						f20f97c936 
					 
					
						
						
							
							*: Fix linter errors  
						
						
						
						
					 
					
						2017-11-19 21:13:27 +03:00 
						 
				 
			
				
					
						
							
							
								ZyX 
							
						 
					 
					
						
						
							
						
						a94255a7ac 
					 
					
						
						
							
							tests: Use single test file for unit and functional parser tests  
						
						
						
						
					 
					
						2017-11-19 20:20:06 +03:00 
						 
				 
			
				
					
						
							
							
								ZyX 
							
						 
					 
					
						
						
							
						
						c287893225 
					 
					
						
						
							
							viml/parser/expressions,unittests: Do better testing, fix found issues  
						
						
						
						
					 
					
						2017-11-19 19:22:54 +03:00 
						 
				 
			
				
					
						
							
							
								ZyX 
							
						 
					 
					
						
						
							
						
						342239a9c5 
					 
					
						
						
							
							unittests,viml/parser/expressions: Start adding asgn parsing tests  
						
						
						
						
					 
					
						2017-11-13 01:11:13 +03:00 
						 
				 
			
				
					
						
							
							
								ZyX 
							
						 
					 
					
						
						
							
						
						39c75d31be 
					 
					
						
						
							
							unittests: Fix automatic test case generation  
						
						
						
						
					 
					
						2017-11-13 01:11:13 +03:00 
						 
				 
			
				
					
						
							
							
								ZyX 
							
						 
					 
					
						
						
							
						
						556451a7f2 
					 
					
						
						
							
							unittests,syntax: Check for sanity of highlight_init_cmdline  
						
						... 
						
						
						
						Also fixes some errors found. 
						
						
					 
					
						2017-11-13 01:11:13 +03:00 
						 
				 
			
				
					
						
							
							
								ZyX 
							
						 
					 
					
						
						
							
						
						45445e2e03 
					 
					
						
						
							
							unittests: Add some more edge test cases  
						
						
						
						
					 
					
						2017-11-12 03:52:26 +03:00 
						 
				 
			
				
					
						
							
							
								ZyX 
							
						 
					 
					
						
						
							
						
						c7495ebcc0 
					 
					
						
						
							
							viml/parser/expressions: Add support for parsing assignments  
						
						
						
						
					 
					
						2017-11-12 02:18:43 +03:00 
						 
				 
			
				
					
						
							
							
								ZyX 
							
						 
					 
					
						
						
							
						
						bbb21e5dd3 
					 
					
						
						
							
							unittests: Add a way to show some custom messages only when crashed  
						
						
						
						
					 
					
						2017-11-11 23:50:37 +03:00 
						 
				 
			
				
					
						
							
							
								ZyX 
							
						 
					 
					
						
						
							
						
						7849070f99 
					 
					
						
						
							
							tests: Add missing test cases  
						
						
						
						
					 
					
						2017-11-06 01:17:39 +03:00 
						 
				 
			
				
					
						
							
							
								ZyX 
							
						 
					 
					
						
						
							
						
						7bc6de7526 
					 
					
						
						
							
							api/vim,functests: Add tests for nvim_parse_expression, fix found bugs  
						
						
						
						
					 
					
						2017-11-06 01:17:39 +03:00 
						 
				 
			
				
					
						
							
							
								ZyX 
							
						 
					 
					
						
						
							
						
						3ecb95298f 
					 
					
						
						
							
							tests: Fix testlint errors  
						
						
						
						
					 
					
						2017-11-06 01:17:37 +03:00 
						 
				 
			
				
					
						
							
							
								ZyX 
							
						 
					 
					
						
						
							
						
						538af1c90a 
					 
					
						
						
							
							syntax,viml/parser/expressions: Add missing highlight groups  
						
						... 
						
						
						
						Also adjusts some names. 
						
						
					 
					
						2017-10-29 22:02:19 +03:00 
						 
				 
			
				
					
						
							
							
								ZyX 
							
						 
					 
					
						
						
							
						
						748f3ad5bb 
					 
					
						
						
							
							syntax,viml/expressions/parser: Create defaults for expr highlighting  
						
						
						
						
					 
					
						2017-10-29 21:30:06 +03:00 
						 
				 
			
				
					
						
							
							
								ZyX 
							
						 
					 
					
						
						
							
						
						c202f17c8d 
					 
					
						
						
							
							unittests: Avoid alloc log checking errors when printing tests  
						
						
						
						
					 
					
						2017-10-29 01:31:31 +03:00 
						 
				 
			
				
					
						
							
							
								ZyX 
							
						 
					 
					
						
						
							
						
						568cf73c90 
					 
					
						
						
							
							viml/parser/expressions: Fix last error found by KLEE  
						
						
						
						
					 
					
						2017-10-29 01:29:48 +03:00 
						 
				 
			
				
					
						
							
							
								ZyX 
							
						 
					 
					
						
						
							
						
						47938e1e22 
					 
					
						
						
							
							viml/parser/expressions: Fix some errors spotted by KLEE  
						
						... 
						
						
						
						Not all of them are fixed yet though. 
						
						
					 
					
						2017-10-19 10:48:05 +03:00 
						 
				 
			
				
					
						
							
							
								ZyX 
							
						 
					 
					
						
						
							
						
						252a76db80 
					 
					
						
						
							
							unittests: Free everything and check for memory leaks  
						
						... 
						
						
						
						Also improves error reporting. 
						
						
					 
					
						2017-10-16 03:06:34 +03:00 
						 
				 
			
				
					
						
							
							
								ZyX 
							
						 
					 
					
						
						
							
						
						fe81380bf5 
					 
					
						
						
							
							viml/parser/expressions: Highlight prefix separately from number  
						
						... 
						
						
						
						Should make accidental octals more visible. 
						
						
					 
					
						2017-10-16 00:30:55 +03:00 
						 
				 
			
				
					
						
							
							
								ZyX 
							
						 
					 
					
						
						
							
						
						1a3635304b 
					 
					
						
						
							
							charset: Avoid overflow in vim_str2nr  
						
						
						
						
					 
					
						2017-10-16 00:07:32 +03:00 
						 
				 
			
				
					
						
							
							
								ZyX 
							
						 
					 
					
						
						
							
						
						3aa2c0d63a 
					 
					
						
						
							
							viml/parser/expressions,klee: Fix some problems found by KLEE run  
						
						
						
						
					 
					
						2017-10-15 21:11:00 +03:00 
						 
				 
			
				
					
						
							
							
								ZyX 
							
						 
					 
					
						
						
							
						
						6c19cbef26 
					 
					
						
						
							
							viml/parser/expressions,tests: Add AST freeing, with sanity checks  
						
						
						
						
					 
					
						2017-10-15 20:05:35 +03:00 
						 
				 
			
				
					
						
							
							
								ZyX 
							
						 
					 
					
						
						
							
						
						206f7ae76a 
					 
					
						
						
							
							unittests: Test some edge cases  
						
						
						
						
					 
					
						2017-10-15 19:18:17 +03:00 
						 
				 
			
				
					
						
							
							
								ZyX 
							
						 
					 
					
						
						
							
						
						c286155bfa 
					 
					
						
						
							
							viml/parser/expressions: Create tests for latest additions  
						
						
						
						
					 
					
						2017-10-15 19:13:52 +03:00 
						 
				 
			
				
					
						
							
							
								ZyX 
							
						 
					 
					
						
						
							
						
						fa3cfc0dd5 
					 
					
						
						
							
							viml/parser/expressions: Finish parser  
						
						... 
						
						
						
						Note: formatc.lua was unable to swallow some newer additions to ExprASTNodeType 
(specifically `kExprNodeOr = '|'` and probably something else), so all `= …` 
were dropped: in any case they only were there in order to not bother updating 
viml_pexpr_debug_print_ast_node and since it is now known all nodes which will 
be present it is not much of an issue. 
						
						
					 
					
						2017-10-15 19:13:52 +03:00 
						 
				 
			
				
					
						
							
							
								ZyX 
							
						 
					 
					
						
						
							
						
						af38cea133 
					 
					
						
						
							
							viml/parser/expressions: Add support for string parsing  
						
						
						
						
					 
					
						2017-10-15 19:13:52 +03:00 
						 
				 
			
				
					
						
							
							
								ZyX 
							
						 
					 
					
						
						
							
						
						bd3a4166b2 
					 
					
						
						
							
							viml/parser/expressions: Add support for subscript and list literals  
						
						
						
						
					 
					
						2017-10-15 19:13:51 +03:00 
						 
				 
			
				
					
						
							
							
								ZyX 
							
						 
					 
					
						
						
							
						
						e45e519495 
					 
					
						
						
							
							viml/parser/expressions: Error out on multiple colons in a row  
						
						
						
						
					 
					
						2017-10-15 19:13:51 +03:00 
						 
				 
			
				
					
						
							
							
								ZyX 
							
						 
					 
					
						
						
							
						
						21a5ce033c 
					 
					
						
						
							
							viml/parser/expressions: Add support for the dot operator and numbers  
						
						
						
						
					 
					
						2017-10-15 19:13:50 +03:00 
						 
				 
			
				
					
						
							
							
								ZyX 
							
						 
					 
					
						
						
							
						
						163792e9b9 
					 
					
						
						
							
							viml/parser/expressions: Make lexer parse numbers, support non-decimal  
						
						
						
						
					 
					
						2017-10-15 19:13:50 +03:00 
						 
				 
			
				
					
						
							
							
								ZyX 
							
						 
					 
					
						
						
							
						
						0bc4e22379 
					 
					
						
						
							
							viml/parser/expressions: Forbid dot or alpha characters after a float  
						
						... 
						
						
						
						This is basically what Vim already does, in addition to forbidding floats should
there be a concat immediately before it. 
						
						
					 
					
						2017-10-15 19:13:50 +03:00 
						 
				 
			
				
					
						
							
							
								ZyX 
							
						 
					 
					
						
						
							
						
						6168e1127c 
					 
					
						
						
							
							viml/parser/expressions: Add support for comparison operators  
						
						
						
						
					 
					
						2017-10-15 19:13:49 +03:00 
						 
				 
			
				
					
						
							
							
								ZyX 
							
						 
					 
					
						
						
							
						
						6791c57420 
					 
					
						
						
							
							viml/parser/expressions: Make sure that arrows outside lambda throw  
						
						
						
						
					 
					
						2017-10-15 19:13:49 +03:00 
						 
				 
			
				
					
						
							
							
								ZyX 
							
						 
					 
					
						
						
							
						
						6144e26eb9 
					 
					
						
						
							
							viml/parser/expressions: Add support for ternary operator  
						
						
						
						
					 
					
						2017-10-15 19:13:49 +03:00 
						 
				 
			
				
					
						
							
							
								ZyX 
							
						 
					 
					
						
						
							
						
						9e721031d5 
					 
					
						
						
							
							viml/parser/expressions: Fix determining invalid commas/colons  
						
						
						
						
					 
					
						2017-10-15 19:13:48 +03:00 
						 
				 
			
				
					
						
							
							
								ZyX 
							
						 
					 
					
						
						
							
						
						3735537a50 
					 
					
						
						
							
							viml/parser/expressions: Fix call inside nested parenthesis  
						
						... 
						
						
						
						It may have incorrectly tried to call everything because of essentially “value” 
nodes being treated as not such. 
						
						
					 
					
						2017-10-15 19:13:48 +03:00 
						 
				 
			
				
					
						
							
							
								ZyX 
							
						 
					 
					
						
						
							
						
						f265066081 
					 
					
						
						
							
							unittests: Add support for dumping “expected” state  
						
						... 
						
						
						
						Purpose is similar to that of `screen:snapshot_util()`, but in different domain. 
						
						
					 
					
						2017-10-08 22:25:09 +03:00 
						 
				 
			
				
					
						
							
							
								ZyX 
							
						 
					 
					
						
						
							
						
						9fa8f7fc0a 
					 
					
						
						
							
							viml/parser/expressions: Add a way to adjust lexer  
						
						... 
						
						
						
						It also adds support for kExprLexOr which for some reason was forgotten.
It was only made sure that KLEE test compiles in non-KLEE mode, not that
something works or that KLEE is able to run tests. 
						
						
					 
					
						2017-10-08 22:25:08 +03:00 
						 
				 
			
				
					
						
							
							
								ZyX 
							
						 
					 
					
						
						
							
						
						0987d3b10f 
					 
					
						
						
							
							viml/parser/expressions: Make curly braces name actually work  
						
						
						
						
					 
					
						2017-10-08 22:25:07 +03:00 
						 
				 
			
				
					
						
							
							
								ZyX 
							
						 
					 
					
						
						
							
						
						3cc65ac054 
					 
					
						
						
							
							viml/parser/expressions: Make commas actually work when calling  
						
						
						
						
					 
					
						2017-10-08 22:25:07 +03:00 
						 
				 
			
				
					
						
							
							
								ZyX 
							
						 
					 
					
						
						
							
						
						d4782fb1ca 
					 
					
						
						
							
							viml/parser/expressions: Make commas actually work when calling  
						
						
						
						
					 
					
						2017-10-08 22:25:06 +03:00 
						 
				 
			
				
					
						
							
							
								ZyX 
							
						 
					 
					
						
						
							
						
						7980614650 
					 
					
						
						
							
							viml/parser/expressions: Add support for figure braces (three kinds)  
						
						
						
						
					 
					
						2017-10-08 22:25:06 +03:00 
						 
				 
			
				
					
						
							
							
								ZyX 
							
						 
					 
					
						
						
							
						
						430e516d3a 
					 
					
						
						
							
							viml/parser/expressions: Start creating expressions parser  
						
						... 
						
						
						
						Currently supported nodes:
- Register as it is one of the simplest value nodes (even numbers are
  not that simple with that dot handling).
- Plus, both unary and binary.
- Parenthesis, both nesting and calling.
Note regarding unit tests: it stores data for AST in highlighting in
strings in place of tables because luassert fails to do a good job at
representing big tables. Squashing a bunch of data into a single string
simply yields more readable result. 
						
						
					 
					
						2017-10-08 22:25:03 +03:00