e03ae19372 
								
									
								
							
								 
							
						 
						
							
							
								
								term.ui: approximate colors into ansi if rgb isn't supported ( #6951 )  
							
							
							
						 
						
							2020-11-26 00:28:57 +01:00  
				
					
						
							
							
								 
						
							
							
								df4165c7ee 
								
									
								
							
								 
							
						 
						
							
							
								
								docs_ci: check all md files except thirdparty ( #6855 )  
							
							
							
						 
						
							2020-11-18 18:28:28 +01:00  
				
					
						
							
							
								 
						
							
							
								fdc0cd4c03 
								
									
								
							
								 
							
						 
						
							
							
								
								term.ui: add dashed lines and rectangles ( #6848 )  
							
							
							
						 
						
							2020-11-17 15:08:35 +01:00  
				
					
						
							
							
								 
						
							
							
								ac8a2ff12d 
								
									
								
							
								 
							
						 
						
							
							
								
								term.ui: feature-detect the SU spec ( #6844 )  
							
							
							
						 
						
							2020-11-16 14:48:08 +02:00  
				
					
						
							
							
								 
						
							
							
								1ead130eed 
								
									
								
							
								 
							
						 
						
							
							
								
								term.ui: render to the alternate buffer ( #6832 )  
							
							
							
						 
						
							2020-11-14 21:05:22 +02:00  
				
					
						
							
							
								 
						
							
							
								827fb62c29 
								
									
								
							
								 
							
						 
						
							
							
								
								examples/text_editor: edit multiple files ( #6827 )  
							
							
							
						 
						
							2020-11-14 19:39:59 +02:00  
				
					
						
							
							
								 
						
							
							
								6b47c61fe4 
								
									
								
							
								 
							
						 
						
							
							
								
								term.ui: handle middle mouse button events and modifier keys ( #6821 )  
							
							
							
						 
						
							2020-11-14 09:14:54 +02:00  
				
					
						
							
							
								 
						
							
							
								c315218ed1 
								
									
								
							
								 
							
						 
						
							
							
								
								term.ui: allow setting the terminal title ( #6809 )  
							
							
							
						 
						
							2020-11-13 15:30:47 +02:00  
				
					
						
							
							
								 
						
							
							
								a3404a38c6 
								
							
								 
							
						 
						
							
							
								
								term_drawing.v: support arrows, 1, 2 and space  
							
							
							
						 
						
							2020-11-13 13:08:28 +02:00  
				
					
						
							
							
								 
						
							
							
								f6e54dc027 
								
							
								 
							
						 
						
							
							
								
								term.ui: improve Ctrl-Z + fg handling  
							
							
							
						 
						
							2020-11-13 10:27:53 +02:00  
				
					
						
							
							
								 
						
							
							
								24f743ee12 
								
									
								
							
								 
							
						 
						
							
							
								
								term: add `term.ui` module (part 2) ( #6798 )  
							
							
							
						 
						
							2020-11-12 12:12:51 +01:00  
				
					
						
							
							
								 
						
							
							
								f3732b730a 
								
							
								 
							
						 
						
							
							
								
								term: replace assert with panic to enable build-module for it too  
							
							
							
						 
						
							2020-10-21 08:49:07 +03:00  
				
					
						
							
							
								 
						
							
							
								7da1afa140 
								
							
								 
							
						 
						
							
							
								
								all: switch to the new fn arg syntax everywhere; add lots of vfmt -verify tests  
							
							
							
						 
						
							2020-10-15 12:32:28 +02:00  
				
					
						
							
							
								 
						
							
							
								3f7970db52 
								
									
								
							
								 
							
						 
						
							
							
								
								term: add get_cursor_position and set_terminal_title ( #6279 )  
							
							... 
							
							
							
							* added functions
added:
  - get_cursor_position()
  - set_terminal_title(title string)
* implement term.get_cursor_position and term.set_terminal_title on unix
* Cleanup
* make x,y fields of term.Coord mutable
* fix vrepl compilation
* use more descriptive var names in term_test.v
* do not change the current terminal title in dumb terminals; do not test term.set_terminal_title outside of CI
* unix: in term.set_terminal_title, return true even for dumb terminals
Co-authored-by: Brent Pryer <brent@pryermachine.com>
Co-authored-by: Delyan Angelov <delian66@gmail.com> 
							
						 
						
							2020-09-08 22:00:10 +03:00  
				
					
						
							
							
								 
						
							
							
								fa11e124dd 
								
									
								
							
								 
							
						 
						
							
							
								
								term: add documentation ( #6097 )  
							
							
							
						 
						
							2020-08-17 20:16:18 +02:00  
				
					
						
							
							
								 
						
							
							
								346cc5ca2c 
								
							
								 
							
						 
						
							
							
								
								term: fix panic in term.header, when cols,rows from get_terminal_size are < 2  
							
							
							
						 
						
							2020-07-24 08:34:39 +03:00  
				
					
						
							
							
								 
						
							
							
								b7bdb97f7d 
								
									
								
							
								 
							
						 
						
							
							
								
								term: fix crash in `header` when divider.len < 2 ( #5956 )  
							
							
							
						 
						
							2020-07-23 18:54:29 +02:00  
				
					
						
							
							
								 
						
							
							
								72b09d4794 
								
									
								
							
								 
							
						 
						
							
							
								
								term: add clear  
							
							
							
						 
						
							2020-06-19 17:15:41 +02:00  
				
					
						
							
							
								 
						
							
							
								ed58192e4c 
								
							
								 
							
						 
						
							
							
								
								v orm: select  
							
							
							
						 
						
							2020-06-17 00:59:37 +02:00  
				
					
						
							
							
								 
						
							
							
								dda875a9c8 
								
									
								
							
								 
							
						 
						
							
							
								
								all: unify const names to snake_case  
							
							
							
						 
						
							2020-05-22 17:36:09 +02:00  
				
					
						
							
							
								 
						
							
							
								f44a40eee0 
								
									
								
							
								 
							
						 
						
							
							
								
								checker: check incorrect names  
							
							
							
						 
						
							2020-05-16 16:12:23 +02:00  
				
					
						
							
							
								 
						
							
							
								4b347ff148 
								
							
								 
							
						 
						
							
							
								
								v self: force the subprocess to show colors  
							
							
							
						 
						
							2020-05-08 19:04:24 +03:00  
				
					
						
							
							
								 
						
							
							
								dc4db87be3 
								
									
								
							
								 
							
						 
						
							
							
								
								vlib: use new filename format  
							
							
							
						 
						
							2020-04-11 19:51:32 +02:00  
				
					
						
							
							
								 
						
							
							
								e10290eb8e 
								
							
								 
							
						 
						
							
							
								
								tests: make the SKIP and FAIL labels more distinctive  
							
							
							
						 
						
							2020-04-08 18:42:05 +03:00  
				
					
						
							
							
								 
						
							
							
								a61654009f 
								
									
								
							
								 
							
						 
						
							
							
								
								tests: change skip color to yellow instead of red  
							
							
							
						 
						
							2020-04-08 16:52:40 +02:00  
				
					
						
							
							
								 
						
							
							
								72df30050d 
								
									
								
							
								 
							
						 
						
							
							
								
								term: fix `get_terminal_size` on Windows  
							
							
							
						 
						
							2020-04-04 11:56:43 +02:00  
				
					
						
							
							
								 
						
							
							
								1cfe44d9c6 
								
							
								 
							
						 
						
							
							
								
								fix windows build  
							
							
							
						 
						
							2020-04-02 01:15:00 +02:00  
				
					
						
							
							
								 
						
							
							
								b62035e3d0 
								
									
								
							
								 
							
						 
						
							
							
								
								solaris & termux: fix both, using the more portable termios.h  
							
							
							
						 
						
							2020-03-31 12:46:46 +02:00  
				
					
						
							
							
								 
						
							
							
								7785583b34 
								
									
								
							
								 
							
						 
						
							
							
								
								android: fix termux build  
							
							
							
						 
						
							2020-03-29 20:54:21 +02:00  
				
					
						
							
							
								 
						
							
							
								5c9cbae10d 
								
									
								
							
								 
							
						 
						
							
							
								
								term: fix divide by 0 error on empty delimiter  
							
							
							
						 
						
							2020-03-23 20:05:08 +01:00  
				
					
						
							
							
								 
						
							
							
								b4561fa814 
								
							
								 
							
						 
						
							
							
								
								Revert "term: make compilable with v2 on windows"  
							
							
							
						 
						
							2020-03-20 21:15:45 +01:00  
				
					
						
							
							
								 
						
							
							
								0f1f724a91 
								
							
								 
							
						 
						
							
							
								
								term: make compilable with v2 on windows  
							
							
							
						 
						
							2020-03-20 21:12:37 +01:00  
				
					
						
							
							
								 
						
							
							
								3dc3b11435 
								
							
								 
							
						 
						
							
							
								
								parser: $if blocks for headers  
							
							
							
						 
						
							2020-03-19 07:59:01 +01:00  
				
					
						
							
							
								 
						
							
							
								5824d28a03 
								
									
								
							
								 
							
						 
						
							
							
								
								term: Solaris headers  
							
							
							
						 
						
							2020-03-19 07:07:43 +01:00  
				
					
						
							
							
								 
						
							
							
								94537c5901 
								
									
								
							
								 
							
						 
						
							
							
								
								compiler: scope type alias to module  
							
							
							
						 
						
							2020-02-09 15:40:31 +01:00  
				
					
						
							
							
								 
						
							
							
								ea9961a8fb 
								
							
								 
							
						 
						
							
							
								
								fix term_windows.v  
							
							
							
						 
						
							2020-02-07 23:16:34 +01:00  
				
					
						
							
							
								 
						
							
							
								36e636743b 
								
									
								
							
								 
							
						 
						
							
							
								
								term: header()  
							
							
							
						 
						
							2020-02-07 18:46:20 +01:00  
				
					
						
							
							
								 
						
							
							
								7f709c3285 
								
									
								
							
								 
							
						 
						
							
							
								
								update copyright years  
							
							
							
						 
						
							2020-02-03 05:00:36 +01:00  
				
					
						
							
							
								 
						
							
							
								5c598a3085 
								
									
								
							
								 
							
						 
						
							
							
								
								term: reorganize the module  
							
							
							
						 
						
							2020-01-29 05:12:12 +01:00  
				
					
						
							
							
								 
						
							
							
								5c00851b44 
								
									
								
							
								 
							
						 
						
							
							
								
								term: implement `get_terminal_size` for Windows  
							
							
							
						 
						
							2020-01-28 23:44:57 +01:00  
				
					
						
							
							
								 
						
							
							
								9ac0c54eb0 
								
							
								 
							
						 
						
							
							
								
								term: fix too long h_divider lines in CI  
							
							
							
						 
						
							2020-01-28 20:25:17 +01:00  
				
					
						
							
							
								 
						
							
							
								78c96fe989 
								
							
								 
							
						 
						
							
							
								
								term: get_terminal_size()  
							
							
							
						 
						
							2020-01-28 05:18:19 +01:00  
				
					
						
							
							
								 
						
							
							
								cf37028a52 
								
							
								 
							
						 
						
							
							
								
								test: use 'stty size' for vtest --- line instead of 'tput cols'  
							
							
							
						 
						
							2019-12-23 13:23:53 +03:00  
				
					
						
							
							
								 
						
							
							
								6210984c97 
								
							
								 
							
						 
						
							
							
								
								run vfmt  
							
							
							
						 
						
							2019-12-20 02:09:56 +03:00  
				
					
						
							
							
								 
						
							
							
								8dbeab9a7b 
								
							
								 
							
						 
						
							
							
								
								make V work on Windows 7  
							
							
							
						 
						
							2019-11-06 23:04:40 +03:00  
				
					
						
							
							
								 
						
							
							
								27e254c738 
								
							
								 
							
						 
						
							
							
								
								now bring _windows.v back  
							
							
							
						 
						
							2019-10-23 12:54:45 +03:00  
				
					
						
							
							
								 
						
							
							
								8021a01365 
								
							
								 
							
						 
						
							
							
								
								rename windows files for now  
							
							
							
						 
						
							2019-10-23 12:37:42 +03:00  
				
					
						
							
							
								 
						
							
							
								5ef4b2064f 
								
							
								 
							
						 
						
							
							
								
								windows: _win.v => windows.v  
							
							
							
						 
						
							2019-10-23 12:21:33 +03:00  
				
					
						
							
							
								 
						
							
							
								e64609387d 
								
							
								 
							
						 
						
							
							
								
								term: colors on Windows console  
							
							... 
							
							
							
							* isConsole moved to builtin is_atty function
* Windows console initialization moved to builtin.init 
							
						 
						
							2019-10-10 20:08:36 +03:00  
				
					
						
							
							
								 
						
							
							
								2411b8d1e7 
								
							
								 
							
						 
						
							
							
								
								module cache fixes; do not allow function names starting with _  
							
							
							
						 
						
							2019-10-10 00:44:26 +03:00  
				
					
						
							
							
								 
						
							
							
								ac5241b5bd 
								
							
								 
							
						 
						
							
							
								
								compiler: implement -stats option for running a _test.v file  
							
							... 
							
							
							
							* Draft implementation of `v -stats file_test.v` .
* compiler: call stuff in vlib/benchmark/tests/always_imported.v, when doing `v -stats file_test.v`
* Nicer looking output from 'v -stats file_test.v' .
* Tweak colors and layout of -stats file_test.v .
* Fix a hardcoded path in compiler/main.v .
* Show colorized OK/FAIL for the examples in 'v test v' too.
* Add some comments about the purpose of the methods inside vlib/benchmark/tests/always_imported.v .
* when fails are 0, do not colorize their number at all. 
							
						 
						
							2019-10-07 08:51:26 +03:00  
				
					
						
							
							
								 
						
							
							
								e72fe25224 
								
							
								 
							
						 
						
							
							
								
								compiler: more precise 'declared and not used' error positioning  
							
							... 
							
							
							
							* compiler: extract and cleanup error handling functionality into its own file compiler/compile_errors.v
* compiler: implement p.error_with_token_index and p.warn_with_token_index and use them. Fix tests.
* tools/performance_compare: add a 'Source lines in compiler/' line
* MSVC does not have STDOUT_FILENO nor STDERR_FILENO ... 
							
						 
						
							2019-09-29 20:37:39 +03:00  
				
					
						
							
							
								 
						
							
							
								8b8cd13929 
								
							
								 
							
						 
						
							
							
								
								parser: add some infrastructure for more specific errors  
							
							... 
							
							
							
							* compiler: change s.line_nr in just one place, so that s.last_nl_pos will be updated in tandem too.
* Cleanup spurious spaces.
* Store ScannerPos info inside the cached tokens.
Use the stored information when errors are encountered.
* Fix  #2079  ( cannot use type...in assignment ).
* do not store scannerpos per each token, instead rescan the source once on error to get the position.
* compiler: implement highlighting for errors. Use only line/col info stored in the cached tokens.
* fixing building on windows
* Split can_show_color to _nix and _win files. 
							
						 
						
							2019-09-29 04:33:23 +03:00  
				
					
						
							
							
								 
						
							
							
								23c84516e2 
								
							
								 
							
						 
						
							
							
								
								compiler: error on unused imports  
							
							
							
						 
						
							2019-09-23 13:42:20 +03:00  
				
					
						
							
							
								 
						
							
							
								1a099c9284 
								
							
								 
							
						 
						
							
							
								
								vlib: fix several typos  
							
							
							
						 
						
							2019-09-14 23:54:14 +03:00  
				
					
						
							
							
								 
						
							
							
								1c6d51f271 
								
							
								 
							
						 
						
							
							
								
								remove u8 and i32 from tests and examples  
							
							
							
						 
						
							2019-09-02 15:02:25 +03:00  
				
					
						
							
							
								 
						
							
							
								c8da79d785 
								
							
								 
							
						 
						
							
							
								
								Fix terminal goto control sequence building  
							
							
							
						 
						
							2019-08-22 20:10:54 +03:00  
				
					
						
							
							
								 
						
							
							
								0243f9b0e9 
								
							
								 
							
						 
						
							
							
								
								term: remove enable_term_color_win()  
							
							
							
						 
						
							2019-07-31 23:19:27 +02:00  
				
					
						
							
							
								 
						
							
							
								12ecd0f3dc 
								
							
								 
							
						 
						
							
							
								
								term: allow more colors to be used (bright styled ansi, rgb and hex)  
							
							... 
							
							
							
							* introduce bright versions of standard ansi colors
* allow developer to colorize messages with rgb
* allow developer to colorize messages using hex
* fix broken formatting 
							
						 
						
							2019-07-31 19:22:38 +02:00  
				
					
						
							
							
								 
						
							
							
								37a0e6ebef 
								
							
								 
							
						 
						
							
							
								
								Travis: run tests for Windows ( #1403 )  
							
							
							
						 
						
							2019-07-31 19:01:52 +02:00  
				
					
						
							
							
								 
						
							
							
								cfe581e2ab 
								
							
								 
							
						 
						
							
							
								
								fix term  
							
							
							
						 
						
							2019-07-30 03:15:46 +02:00  
				
					
						
							
							
								 
						
							
							
								45029f8c86 
								
							
								 
							
						 
						
							
							
								
								term: move enable_term_color_win() to colors_win.v  
							
							
							
						 
						
							2019-07-29 04:44:21 +02:00  
				
					
						
							
							
								 
						
							
							
								c7edeb00a8 
								
							
								 
							
						 
						
							
							
								
								term: add better error detection on Windows  
							
							
							
						 
						
							2019-07-28 17:19:03 +02:00  
				
					
						
							
							
								 
						
							
							
								c35adbea91 
								
							
								 
							
						 
						
							
							
								
								vfmt fixes  
							
							
							
						 
						
							2019-07-17 21:00:39 +02:00  
				
					
						
							
							
								 
						
							
							
								9782d85709 
								
							
								 
							
						 
						
							
							
								
								enable render term color on windows by default  
							
							
							
						 
						
							2019-07-17 02:52:17 +02:00  
				
					
						
							
							
								 
						
							
							
								f767218107 
								
							
								 
							
						 
						
							
							
								
								term: optimized move function  
							
							
							
						 
						
							2019-07-07 22:48:20 +02:00  
				
					
						
							
							
								 
						
							
							
								4e1afc148a 
								
							
								 
							
						 
						
							
							
								
								os: add term colors for Windows +minor fixes  
							
							
							
						 
						
							2019-07-04 17:39:35 +02:00  
				
					
						
							
							
								 
						
							
							
								235a7ecd7f 
								
							
								 
							
						 
						
							
							
								
								Restructured termcolor to term module  
							
							
							
						 
						
							2019-07-01 17:26:23 +02:00