53ae9dda4b 
								
									
								
							
								 
							
						 
						
							
							
								
								cgen: speed up auto generated Array_*_contains and Array_*_index methods  
							
							... 
							
							
							
							Uses a.data instead of array_get, since the auto generated methods
have the calls in a loop that guarantees that the bounds of the arrays
will not be exceeded, thus the inner bounds checking can be skipped.
Results in +5% improvement for V compiled with tcc, doing `v -o x.c cmd/v`,
more with -prod. 
							
						 
						
							2021-05-02 20:35:04 +03:00  
				
					
						
							
							
								 
						
							
							
								feb60674b4 
								
									
								
							
								 
							
						 
						
							
							
								
								builtin.string: minor fixes in join() ( #9952 )  
							
							
							
						 
						
							2021-05-02 19:31:47 +03:00  
				
					
						
							
							
								 
						
							
							
								581fe375cc 
								
									
								
							
								 
							
						 
						
							
							
								
								checker: fix generics with cascaded multi nested generic fn ( fix   #3815 ) ( #9965 )  
							
							
							
						 
						
							2021-05-02 19:30:57 +03:00  
				
					
						
							
							
								 
						
							
							
								ae22967d1d 
								
									
								
							
								 
							
						 
						
							
							
								
								parser: ensure generic function declaration specifies type names ( fix   #9959 ) ( #9967 )  
							
							
							
						 
						
							2021-05-02 19:30:39 +03:00  
				
					
						
							
							
								 
						
							
							
								3175525b5e 
								
									
								
							
								 
							
						 
						
							
							
								
								builtin.string: optimize replace ( #9969 )  
							
							
							
						 
						
							2021-05-02 19:30:07 +03:00  
				
					
						
							
							
								 
						
							
							
								dbadda84e5 
								
									
								
							
								 
							
						 
						
							
							
								
								builtin: clean up int.v ( #9960 )  
							
							
							
						 
						
							2021-05-02 16:31:29 +03:00  
				
					
						
							
							
								 
						
							
							
								4b818fa2be 
								
									
								
							
								 
							
						 
						
							
							
								
								v: implement interface embedding ( #9935 )  
							
							
							
						 
						
							2021-05-02 03:00:47 +03:00  
				
					
						
							
							
								 
						
							
							
								3363c3ef65 
								
									
								
							
								 
							
						 
						
							
							
								
								builtin.string: optimize replace() ( #9955 )  
							
							
							
						 
						
							2021-05-01 21:27:49 +03:00  
				
					
						
							
							
								 
						
							
							
								000d4d3064 
								
									
								
							
								 
							
						 
						
							
							
								
								checker: cleanup typeof ( #9954 )  
							
							
							
						 
						
							2021-05-01 21:21:44 +03:00  
				
					
						
							
							
								 
						
							
							
								ef63491a8c 
								
									
								
							
								 
							
						 
						
							
							
								
								cgen: fix calling function-pointer fields on interfaces ( #9948 )  
							
							
							
						 
						
							2021-05-01 16:45:53 +03:00  
				
					
						
							
							
								 
						
							
							
								4348c2322d 
								
									
								
							
								 
							
						 
						
							
							
								
								builtin.map: test more key types ( #9947 )  
							
							
							
						 
						
							2021-05-01 14:26:20 +03:00  
				
					
						
							
							
								 
						
							
							
								daac31aec5 
								
									
								
							
								 
							
						 
						
							
							
								
								cgen: update wyhash ( #9945 )  
							
							
							
						 
						
							2021-05-01 14:25:27 +03:00  
				
					
						
							
							
								 
						
							
							
								b621595c05 
								
									
								
							
								 
							
						 
						
							
							
								
								picoev: error handling workaround ( #9913 )  
							
							
							
						 
						
							2021-05-01 14:20:10 +03:00  
				
					
						
							
							
								 
						
							
							
								f82f1977d1 
								
									
								
							
								 
							
						 
						
							
							
								
								tests: enable test_generic_fn_with_variadics() test ( #9944 )  
							
							
							
						 
						
							2021-05-01 12:52:47 +03:00  
				
					
						
							
							
								 
						
							
							
								fec947c7e1 
								
									
								
							
								 
							
						 
						
							
							
								
								ast: minor cleanup in ast.FnDecl ( #9950 )  
							
							
							
						 
						
							2021-05-01 12:50:49 +03:00  
				
					
						
							
							
								 
						
							
							
								c16bb7f3e4 
								
							
								 
							
						 
						
							
							
								
								ast: a minor format of ast.v  
							
							
							
						 
						
							2021-04-30 15:36:34 +03:00  
				
					
						
							
							
								 
						
							
							
								e949d4b26c 
								
							
								 
							
						 
						
							
							
								
								tools/fast: add "V lines" and "V lines/s"  
							
							
							
						 
						
							2021-04-30 15:31:50 +03:00  
				
					
						
							
							
								 
						
							
							
								d236d6a473 
								
									
								
							
								 
							
						 
						
							
							
								
								parser, cgen: fix generics fn typeof name ( fix   #7357 ) ( #9939 )  
							
							
							
						 
						
							2021-04-30 13:40:36 +03:00  
				
					
						
							
							
								 
						
							
							
								844662e0d6 
								
									
								
							
								 
							
						 
						
							
							
								
								cgen: fix generics fn str() ( fix   #7403 ) ( #9940 )  
							
							
							
						 
						
							2021-04-30 13:40:07 +03:00  
				
					
						
							
							
								 
						
							
							
								fb685eee18 
								
									
								
							
								 
							
						 
						
							
							
								
								orm: support arrays ( #9936 )  
							
							
							
						 
						
							2021-04-30 09:13:26 +03:00  
				
					
						
							
							
								 
						
							
							
								b15156d465 
								
									
								
							
								 
							
						 
						
							
							
								
								orm: fix mysql substructs ( #9930 )  
							
							
							
						 
						
							2021-04-29 21:00:17 +03:00  
				
					
						
							
							
								 
						
							
							
								ea0ac09297 
								
									
								
							
								 
							
						 
						
							
							
								
								checker: fix generics with nested external generics fn ( #9933 )  
							
							
							
						 
						
							2021-04-29 17:37:54 +03:00  
				
					
						
							
							
								 
						
							
							
								e9bbb7de3a 
								
									
								
							
								 
							
						 
						
							
							
								
								orm: add pg select expr ( #9927 )  
							
							
							
						 
						
							2021-04-29 13:38:36 +03:00  
				
					
						
							
							
								 
						
							
							
								8af6237e28 
								
									
								
							
								 
							
						 
						
							
							
								
								gg: fix width and height in draw_rounded_rect primitive ( #9926 )  
							
							
							
						 
						
							2021-04-29 10:58:57 +03:00  
				
					
						
							
							
								 
						
							
							
								e05da04b4c 
								
									
								
							
								 
							
						 
						
							
							
								
								builtin: fix termux prints ( #9921 )  
							
							
							
						 
						
							2021-04-29 09:49:26 +03:00  
				
					
						
							
							
								 
						
							
							
								b406de20df 
								
									
								
							
								 
							
						 
						
							
							
								
								parser, vfmt: multi line comments are not treated as follow-up comments anymore ( #9892 )  
							
							
							
						 
						
							2021-04-29 09:48:08 +03:00  
				
					
						
							
							
								 
						
							
							
								c8e07b28e2 
								
									
								
							
								 
							
						 
						
							
							
								
								orm: fix pg orm statements ( #9909 )  
							
							
							
						 
						
							2021-04-29 09:45:49 +03:00  
				
					
						
							
							
								 
						
							
							
								25d9272c84 
								
									
								
							
								 
							
						 
						
							
							
								
								all: rename `table.register_fn_generic_types` to `table.register_fn_concrete_types` ( #9914 )  
							
							
							
						 
						
							2021-04-29 09:06:50 +03:00  
				
					
						
							
							
								 
						
							
							
								6945f987cf 
								
									
								
							
								 
							
						 
						
							
							
								
								checker: fix sumtype comparison and sumtype in itself ( #9917 )  
							
							
							
						 
						
							2021-04-29 09:04:02 +03:00  
				
					
						
							
							
								 
						
							
							
								191a167f42 
								
									
								
							
								 
							
						 
						
							
							
								
								checker: allow omitting the enum name of map key ( #9919 )  
							
							
							
						 
						
							2021-04-29 08:33:41 +03:00  
				
					
						
							
							
								 
						
							
							
								e711e8634e 
								
									
								
							
								 
							
						 
						
							
							
								
								fmt: prevent rare code corruption with array pre comments ( #9908 )  
							
							
							
						 
						
							2021-04-29 08:28:44 +03:00  
				
					
						
							
							
								 
						
							
							
								dee733aae4 
								
									
								
							
								 
							
						 
						
							
							
								
								fmt: reset const field align after multi line exprs ( #9916 )  
							
							
							
						 
						
							2021-04-29 02:17:37 +03:00  
				
					
						
							
							
								 
						
							
							
								c82c8059cf 
								
									
								
							
								 
							
						 
						
							
							
								
								tests: add recursive generics fn test ( #9907 )  
							
							
							
						 
						
							2021-04-28 22:12:06 +03:00  
				
					
						
							
							
								 
						
							
							
								6795b02e24 
								
									
								
							
								 
							
						 
						
							
							
								
								cgen: fix enum in map ( #9912 )  
							
							
							
						 
						
							2021-04-28 22:11:32 +03:00  
				
					
						
							
							
								 
						
							
							
								a065d014a2 
								
									
								
							
								 
							
						 
						
							
							
								
								fmt: keep constant sizes in struct field fixed array types ( #9910 )  
							
							
							
						 
						
							2021-04-28 22:11:15 +03:00  
				
					
						
							
							
								 
						
							
							
								626517f5f7 
								
									
								
							
								 
							
						 
						
							
							
								
								tools: turn `v -watch` into a `v watch` sub-command, so that it can have its own options  
							
							
							
						 
						
							2021-04-28 12:29:50 +03:00  
				
					
						
							
							
								 
						
							
							
								1fbf75f2e8 
								
									
								
							
								 
							
						 
						
							
							
								
								builtin: fix termux println ( #9829 )  
							
							
							
						 
						
							2021-04-28 09:11:50 +03:00  
				
					
						
							
							
								 
						
							
							
								f4e92997f2 
								
									
								
							
								 
							
						 
						
							
							
								
								checker: support value array elements of `[heap]` type inside struct ref ( #9899 )  
							
							
							
						 
						
							2021-04-28 07:47:00 +03:00  
				
					
						
							
							
								 
						
							
							
								f46868133b 
								
									
								
							
								 
							
						 
						
							
							
								
								vweb: remove calling .to_lower too early while processing url and url params ( #9805 )  
							
							
							
						 
						
							2021-04-28 07:46:36 +03:00  
				
					
						
							
							
								 
						
							
							
								3edbf71770 
								
									
								
							
								 
							
						 
						
							
							
								
								parser: fix maps with aliases as key ( #9900 )  
							
							
							
						 
						
							2021-04-28 07:45:21 +03:00  
				
					
						
							
							
								 
						
							
							
								4f246222b0 
								
									
								
							
								 
							
						 
						
							
							
								
								v: replace `--enable-globals` with `-enable-globals` ( #9898 )  
							
							
							
						 
						
							2021-04-28 07:44:28 +03:00  
				
					
						
							
							
								 
						
							
							
								a2014f86b7 
								
									
								
							
								 
							
						 
						
							
							
								
								strconv: new faster atof function ( #9903 )  
							
							
							
						 
						
							2021-04-28 07:42:22 +03:00  
				
					
						
							
							
								 
						
							
							
								faf2656335 
								
									
								
							
								 
							
						 
						
							
							
								
								orm: support multiline statements ( #9888 )  
							
							
							
						 
						
							2021-04-27 15:28:57 +03:00  
				
					
						
							
							
								 
						
							
							
								9f1ac39770 
								
									
								
							
								 
							
						 
						
							
							
								
								checker: fix generics with anon generics fn argument ( fix   #9859 ) ( #9897 )  
							
							... 
							
							
							
							* checker: fix generics with anon generics fn argument
* cgen: fix typedef of generics anon fn
* fix check generics argument types 
							
						 
						
							2021-04-27 15:25:42 +03:00  
				
					
						
							
							
								 
						
							
							
								d8bb939072 
								
							
								 
							
						 
						
							
							
								
								native: fix tests, address comments and a little cleaner macho  
							
							
							
						 
						
							2021-04-27 12:24:58 +03:00  
				
					
						
							
							
								 
						
							
							
								5be41ebc80 
								
							
								 
							
						 
						
							
							
								
								native: handle ident and integer args in exit and add arm64  
							
							
							
						 
						
							2021-04-27 12:24:58 +03:00  
				
					
						
							
							
								 
						
							
							
								a31a1eb9cb 
								
							
								 
							
						 
						
							
							
								
								native: define println and exit builtins or verror()  
							
							
							
						 
						
							2021-04-27 12:24:58 +03:00  
				
					
						
							
							
								 
						
							
							
								1eac6eee59 
								
							
								 
							
						 
						
							
							
								
								native: use pref.arch to host_arch() by default  
							
							
							
						 
						
							2021-04-27 12:24:58 +03:00  
				
					
						
							
							
								 
						
							
							
								9b07278930 
								
							
								 
							
						 
						
							
							
								
								native: better raw output and more arm64 cleanup  
							
							
							
						 
						
							2021-04-27 12:24:58 +03:00  
				
					
						
							
							
								 
						
							
							
								9a3869c521 
								
							
								 
							
						 
						
							
							
								
								v.ast: rename aarch64 to arm64 and aarch32 to arm32  
							
							
							
						 
						
							2021-04-27 12:24:58 +03:00  
				
					
						
							
							
								 
						
							
							
								6750ed254f 
								
							
								 
							
						 
						
							
							
								
								x64: rename to `native` to not conflict with the x64 comptime variable  
							
							
							
						 
						
							2021-04-27 12:24:58 +03:00  
				
					
						
							
							
								 
						
							
							
								7587458521 
								
							
								 
							
						 
						
							
							
								
								x64: move all the amd64 specific code out of gen.v  
							
							
							
						 
						
							2021-04-27 12:24:58 +03:00  
				
					
						
							
							
								 
						
							
							
								aebb551e93 
								
									
								
							
								 
							
						 
						
							
							
								
								cgen: do full struct initialisation for V structs, fixes invalid data from `map[string]Struct{}['unknown']` ( #9878 )  
							
							
							
						 
						
							2021-04-27 08:18:48 +03:00  
				
					
						
							
							
								 
						
							
							
								787a63dab6 
								
									
								
							
								 
							
						 
						
							
							
								
								cgen: execute `defer` block *after* return expression is evaluated ( #9893 )  
							
							
							
						 
						
							2021-04-27 01:42:16 +03:00  
				
					
						
							
							
								 
						
							
							
								4eb8072882 
								
									
								
							
								 
							
						 
						
							
							
								
								parser: remove ++/-- exception for some modules ( #9895 )  
							
							
							
						 
						
							2021-04-27 01:41:42 +03:00  
				
					
						
							
							
								 
						
							
							
								3877522ee3 
								
									
								
							
								 
							
						 
						
							
							
								
								table,checker,cgen: fix generics with recursive generics struct ( #9862 )  
							
							
							
						 
						
							2021-04-26 20:05:10 +03:00  
				
					
						
							
							
								 
						
							
							
								21d1f86ead 
								
									
								
							
								 
							
						 
						
							
							
								
								checker: fix generics that return reference generics struct ( fix   #6218 ) ( #9869 )  
							
							
							
						 
						
							2021-04-26 20:01:01 +03:00  
				
					
						
							
							
								 
						
							
							
								7ddf569de6 
								
									
								
							
								 
							
						 
						
							
							
								
								cgen: fix generics multi_array in ( #9885 )  
							
							
							
						 
						
							2021-04-26 19:59:40 +03:00  
				
					
						
							
							
								 
						
							
							
								de8c4866a4 
								
									
								
							
								 
							
						 
						
							
							
								
								v.checker: fix postfix expr on generic types ( #9887 )  
							
							
							
						 
						
							2021-04-26 19:57:05 +03:00  
				
					
						
							
							
								 
						
							
							
								2b43d3193b 
								
									
								
							
								 
							
						 
						
							
							
								
								checker: fix generics with assign generics struct ( fix   #7784 ) ( #9889 )  
							
							
							
						 
						
							2021-04-26 19:54:22 +03:00  
				
					
						
							
							
								 
						
							
							
								181b0f1035 
								
									
								
							
								 
							
						 
						
							
							
								
								parser: improve error message for missing db expr in ORM ( #9890 )  
							
							
							
						 
						
							2021-04-26 19:51:51 +03:00  
				
					
						
							
							
								 
						
							
							
								cafe382424 
								
									
								
							
								 
							
						 
						
							
							
								
								vweb: update references to old .init_once() and .init() methods to .init_server() and .before_request()  
							
							
							
						 
						
							2021-04-26 19:38:13 +03:00  
				
					
						
							
							
								 
						
							
							
								5e0ff5c524 
								
									
								
							
								 
							
						 
						
							
							
								
								cgen: cleanup g.type_default  
							
							
							
						 
						
							2021-04-26 11:55:29 +03:00  
				
					
						
							
							
								 
						
							
							
								212b4fa089 
								
									
								
							
								 
							
						 
						
							
							
								
								parser: implement infering generic type parameters from receiver types ( fix   #5862 ) ( #9870 )  
							
							
							
						 
						
							2021-04-26 10:56:08 +03:00  
				
					
						
							
							
								 
						
							
							
								f36e46bfde 
								
									
								
							
								 
							
						 
						
							
							
								
								gg:fix draw_line for android ( #9882 )  
							
							
							
						 
						
							2021-04-26 10:01:55 +03:00  
				
					
						
							
							
								 
						
							
							
								9d68f924c3 
								
									
								
							
								 
							
						 
						
							
							
								
								parser: don't disallow closures in the JS backend ( #9884 )  
							
							
							
						 
						
							2021-04-26 10:00:39 +03:00  
				
					
						
							
							
								 
						
							
							
								f5ce9388de 
								
									
								
							
								 
							
						 
						
							
							
								
								io: make io.cp use chunks ( #9877 )  
							
							
							
						 
						
							2021-04-26 09:59:23 +03:00  
				
					
						
							
							
								 
						
							
							
								7acb48df83 
								
									
								
							
								 
							
						 
						
							
							
								
								parser: parse `JS.` interfaces properly ( #9876 )  
							
							
							
						 
						
							2021-04-26 09:58:05 +03:00  
				
					
						
							
							
								 
						
							
							
								8b22dbbadb 
								
									
								
							
								 
							
						 
						
							
							
								
								jsgen: basic struct embedding support ( #9879 )  
							
							
							
						 
						
							2021-04-26 09:56:03 +03:00  
				
					
						
							
							
								 
						
							
							
								3c0a368af3 
								
									
								
							
								 
							
						 
						
							
							
								
								all: automatically move (some) referenced objects to heap ( #9873 )  
							
							
							
						 
						
							2021-04-25 21:40:38 +03:00  
				
					
						
							
							
								 
						
							
							
								00261afbc1 
								
									
								
							
								 
							
						 
						
							
							
								
								io: add a `cp` function ( #9875 )  
							
							
							
						 
						
							2021-04-25 21:22:33 +03:00  
				
					
						
							
							
								 
						
							
							
								7184629969 
								
									
								
							
								 
							
						 
						
							
							
								
								orm: add initial pg support ( #9827 )  
							
							
							
						 
						
							2021-04-25 18:57:55 +03:00  
				
					
						
							
							
								 
						
							
							
								fc3b628440 
								
									
								
							
								 
							
						 
						
							
							
								
								v: support `$for attr in Test.attributes` ( #9836 )  
							
							
							
						 
						
							2021-04-25 18:29:26 +03:00  
				
					
						
							
							
								 
						
							
							
								a0835ac139 
								
									
								
							
								 
							
						 
						
							
							
								
								checker/cgen: implement in expression for alias of array/map ( #9871 )  
							
							
							
						 
						
							2021-04-25 18:17:54 +03:00  
				
					
						
							
							
								 
						
							
							
								160b605640 
								
									
								
							
								 
							
						 
						
							
							
								
								os: use C.GetUserNameW for os.loginname() instead + improvements os.uname() ( #9872 )  
							
							
							
						 
						
							2021-04-25 18:16:14 +03:00  
				
					
						
							
							
								 
						
							
							
								bfe0a7887f 
								
									
								
							
								 
							
						 
						
							
							
								
								builtin,strconv: fix and optimize utf8 and formatting functions ( #9874 )  
							
							
							
						 
						
							2021-04-25 17:57:21 +03:00  
				
					
						
							
							
								 
						
							
							
								3c8d2bbaec 
								
									
								
							
								 
							
						 
						
							
							
								
								vlib/context: some clean up and more readable examples ( #9868 )  
							
							
							
						 
						
							2021-04-25 16:04:07 +03:00  
				
					
						
							
							
								 
						
							
							
								44902b5aba 
								
									
								
							
								 
							
						 
						
							
							
								
								ci: fix tests output files after  7f5c3cc 
							
							
							
						 
						
							2021-04-25 09:31:12 +03:00  
				
					
						
							
							
								 
						
							
							
								aff21c976b 
								
									
								
							
								 
							
						 
						
							
							
								
								strings: fix for Builder.str() using b.len instead of b.buf.len  
							
							
							
						 
						
							2021-04-25 09:07:46 +03:00  
				
					
						
							
							
								 
						
							
							
								7f5c3cc1f8 
								
							
								 
							
						 
						
							
							
								
								checker: do not allow modifying consts via mutable refs  
							
							
							
						 
						
							2021-04-24 14:08:50 +03:00  
				
					
						
							
							
								 
						
							
							
								b506d8fcc0 
								
									
								
							
								 
							
						 
						
							
							
								
								os: use C.getlogin for os.loginname, instead of C.getlogin_r (C.getlogin_r absent on Android)  
							
							
							
						 
						
							2021-04-24 13:33:34 +03:00  
				
					
						
							
							
								 
						
							
							
								187895c93c 
								
									
								
							
								 
							
						 
						
							
							
								
								os: use GetComputerNameW to retrieve hostname on Windows ( #9861 )  
							
							
							
						 
						
							2021-04-24 13:22:04 +03:00  
				
					
						
							
							
								 
						
							
							
								dee4904bee 
								
									
								
							
								 
							
						 
						
							
							
								
								pico: small refactor ( #9857 )  
							
							
							
						 
						
							2021-04-24 13:21:30 +03:00  
				
					
						
							
							
								 
						
							
							
								8ccdae6188 
								
									
								
							
								 
							
						 
						
							
							
								
								all: cleanup generics call_expr ( #9856 )  
							
							
							
						 
						
							2021-04-24 09:44:15 +03:00  
				
					
						
							
							
								 
						
							
							
								a832bb609a 
								
							
								 
							
						 
						
							
							
								
								net: support `-d net_blocking_sockets` (workaround a sporadic vex failure)  
							
							
							
						 
						
							2021-04-23 17:22:43 +03:00  
				
					
						
							
							
								 
						
							
							
								6f50157abc 
								
							
								 
							
						 
						
							
							
								
								net: implement a customizable send chunk size limit for TcpConn.write_ptr  
							
							
							
						 
						
							2021-04-23 17:22:43 +03:00  
				
					
						
							
							
								 
						
							
							
								e6c4c4de3d 
								
							
								 
							
						 
						
							
							
								
								net: format the output of `-d trace_tcp output` better  
							
							
							
						 
						
							2021-04-23 17:22:43 +03:00  
				
					
						
							
							
								 
						
							
							
								42a65e1009 
								
									
								
							
								 
							
						 
						
							
							
								
								tests:  add submodules tests ( #9640 )  
							
							
							
						 
						
							2021-04-23 17:22:24 +03:00  
				
					
						
							
							
								 
						
							
							
								b2dc444dd2 
								
									
								
							
								 
							
						 
						
							
							
								
								ast: minor cleanup in generic_struct_insts_to_concrete() ( #9855 )  
							
							
							
						 
						
							2021-04-23 17:21:16 +03:00  
				
					
						
							
							
								 
						
							
							
								af8ef12990 
								
									
								
							
								 
							
						 
						
							
							
								
								ast: use `AttrKind` ( #9845 )  
							
							
							
						 
						
							2021-04-23 15:51:52 +03:00  
				
					
						
							
							
								 
						
							
							
								1b46f9aa02 
								
							
								 
							
						 
						
							
							
								
								net: fix unsafe warnings  
							
							
							
						 
						
							2021-04-23 15:31:25 +03:00  
				
					
						
							
							
								 
						
							
							
								b4e4d48bbd 
								
									
								
							
								 
							
						 
						
							
							
								
								checker: make sure negation is only used with numeric types ( #9854 )  
							
							
							
						 
						
							2021-04-23 15:18:56 +03:00  
				
					
						
							
							
								 
						
							
							
								dd2002cc57 
								
									
								
							
								 
							
						 
						
							
							
								
								cgen: fix generics with multi generics struct receiver ( #9853 )  
							
							
							
						 
						
							2021-04-23 15:17:57 +03:00  
				
					
						
							
							
								 
						
							
							
								49a2de562b 
								
							
								 
							
						 
						
							
							
								
								builtin: fix an unused var warning on windows  
							
							
							
						 
						
							2021-04-23 15:17:05 +03:00  
				
					
						
							
							
								 
						
							
							
								669a4ea1be 
								
									
								
							
								 
							
						 
						
							
							
								
								net: support `-d trace_tcp_data_read` and `-d trace_tcp_data_write` too  
							
							
							
						 
						
							2021-04-23 15:12:49 +03:00  
				
					
						
							
							
								 
						
							
							
								9b14f71631 
								
							
								 
							
						 
						
							
							
								
								all: fix build-tools  
							
							
							
						 
						
							2021-04-23 15:10:14 +03:00  
				
					
						
							
							
								 
						
							
							
								0567cbe431 
								
							
								 
							
						 
						
							
							
								
								examples: fix compilation with -prod  
							
							
							
						 
						
							2021-04-23 14:48:07 +03:00  
				
					
						
							
							
								 
						
							
							
								cf497623dc 
								
									
								
							
								 
							
						 
						
							
							
								
								net: do `$if trace_tcp ? {` in more functions to help debug web server issues  
							
							
							
						 
						
							2021-04-23 14:37:12 +03:00  
				
					
						
							
							
								 
						
							
							
								7ec90b0f89 
								
							
								 
							
						 
						
							
							
								
								pref: fix is_test  
							
							
							
						 
						
							2021-04-23 13:45:47 +03:00  
				
					
						
							
							
								 
						
							
							
								c7a6d28e13 
								
							
								 
							
						 
						
							
							
								
								all: improve unused variable warning (fix `x = 1`, `x += 1` etc)  
							
							
							
						 
						
							2021-04-23 13:33:48 +03:00  
				
					
						
							
							
								 
						
							
							
								aa40dfc1de 
								
									
								
							
								 
							
						 
						
							
							
								
								checker: check __global type ( #9804 )  
							
							
							
						 
						
							2021-04-23 12:28:08 +03:00  
				
					
						
							
							
								 
						
							
							
								8e455495b2 
								
									
								
							
								 
							
						 
						
							
							
								
								checker: fix generics that return multi generics struct ( #9852 )  
							
							
							
						 
						
							2021-04-23 11:19:16 +03:00  
				
					
						
							
							
								 
						
							
							
								c026d8b6f3 
								
									
								
							
								 
							
						 
						
							
							
								
								parser: number attributes ( #9835 )  
							
							
							
						 
						
							2021-04-22 18:21:55 +03:00  
				
					
						
							
							
								 
						
							
							
								431d806dcf 
								
									
								
							
								 
							
						 
						
							
							
								
								ast, parser: cleanup of generic structs ( #9839 )  
							
							
							
						 
						
							2021-04-22 18:21:01 +03:00  
				
					
						
							
							
								 
						
							
							
								b951d679ca 
								
									
								
							
								 
							
						 
						
							
							
								
								x64: handle -arch amd64/arm64 and -os for raw/linux/macos options ( #9844 )  
							
							
							
						 
						
							2021-04-22 15:44:25 +03:00  
				
					
						
							
							
								 
						
							
							
								59e23dbb57 
								
									
								
							
								 
							
						 
						
							
							
								
								ci: re-enable testing of `./v -freestanding run vlib/os/bare/bare_example_linux.v` on ubuntu  
							
							
							
						 
						
							2021-04-22 12:50:56 +03:00  
				
					
						
							
							
								 
						
							
							
								9181eb1db8 
								
									
								
							
								 
							
						 
						
							
							
								
								cgen: cleanup cheaders.v  
							
							
							
						 
						
							2021-04-22 12:50:55 +03:00  
				
					
						
							
							
								 
						
							
							
								7443179cc8 
								
									
								
							
								 
							
						 
						
							
							
								
								checker: make use of private enum from outside module an error.  ( #9821 )  
							
							
							
						 
						
							2021-04-22 07:07:56 +03:00  
				
					
						
							
							
								 
						
							
							
								c85eefa5b2 
								
									
								
							
								 
							
						 
						
							
							
								
								ast: remove obsolete comment in types.v ( #9841 )  
							
							
							
						 
						
							2021-04-22 07:03:29 +03:00  
				
					
						
							
							
								 
						
							
							
								7b8957b25e 
								
									
								
							
								 
							
						 
						
							
							
								
								cgen: minor simplification in cc_type() ( #9833 )  
							
							
							
						 
						
							2021-04-21 12:23:21 +03:00  
				
					
						
							
							
								 
						
							
							
								d02822f456 
								
									
								
							
								 
							
						 
						
							
							
								
								ast.table: simplify resolve_generic_by_names/types() ( #9834 )  
							
							
							
						 
						
							2021-04-21 12:22:42 +03:00  
				
					
						
							
							
								 
						
							
							
								dd00c79861 
								
									
								
							
								 
							
						 
						
							
							
								
								rand: fix wrong function signature ( #9808 )  
							
							
							
						 
						
							2021-04-21 12:20:55 +03:00  
				
					
						
							
							
								 
						
							
							
								51258923d7 
								
									
								
							
								 
							
						 
						
							
							
								
								checker: fix generics call with reference arg ( fix   #9817   #9818 ) ( #9830 )  
							
							
							
						 
						
							2021-04-21 06:40:11 +03:00  
				
					
						
							
							
								 
						
							
							
								953057ef35 
								
									
								
							
								 
							
						 
						
							
							
								
								parser: check generic receiver method decl has no generic names (fix parts of  #9811 ) ( #9819 )  
							
							
							
						 
						
							2021-04-20 21:38:17 +03:00  
				
					
						
							
							
								 
						
							
							
								2df260acbb 
								
									
								
							
								 
							
						 
						
							
							
								
								parser: fix last_line of no body C struct ( #9809 )  
							
							
							
						 
						
							2021-04-20 21:37:00 +03:00  
				
					
						
							
							
								 
						
							
							
								7abf59710b 
								
									
								
							
								 
							
						 
						
							
							
								
								checker: check generic fn called no arg without generic names ( #9825 )  
							
							
							
						 
						
							2021-04-20 21:36:21 +03:00  
				
					
						
							
							
								 
						
							
							
								bd539b6427 
								
									
								
							
								 
							
						 
						
							
							
								
								vfmt: fix string interpolation formatting with multiple ',",\' and \" .  
							
							
							
						 
						
							2021-04-20 20:26:06 +03:00  
				
					
						
							
							
								 
						
							
							
								258be508f4 
								
									
								
							
								 
							
						 
						
							
							
								
								builtin,os: fix unused return C warnings for real ( #9814 )  
							
							
							
						 
						
							2021-04-20 17:28:58 +03:00  
				
					
						
							
							
								 
						
							
							
								f5e6cadf63 
								
									
								
							
								 
							
						 
						
							
							
								
								fmt: proper infix operator detection in wrapping logic ( #9824 )  
							
							
							
						 
						
							2021-04-20 15:20:11 +03:00  
				
					
						
							
							
								 
						
							
							
								254d247e80 
								
									
								
							
								 
							
						 
						
							
							
								
								checker: return none if type is 0 in ensure_type_exists ( #9820 )  
							
							
							
						 
						
							2021-04-20 12:11:41 +03:00  
				
					
						
							
							
								 
						
							
							
								9d8bda9eaf 
								
									
								
							
								 
							
						 
						
							
							
								
								v.ast, v.checker: fix absent 'missing return' warning, when a function ended with a t.panic() call  
							
							
							
						 
						
							2021-04-20 11:49:06 +03:00  
				
					
						
							
							
								 
						
							
							
								fe88a4460b 
								
									
								
							
								 
							
						 
						
							
							
								
								fmt: fix module docs generation ( #9810 )  
							
							
							
						 
						
							2021-04-20 04:54:08 +03:00  
				
					
						
							
							
								 
						
							
							
								4a1f75c964 
								
									
								
							
								 
							
						 
						
							
							
								
								fmt: split infix wrapping into smaller functions and fix a trailing space bug ( #9806 )  
							
							... 
							
							
							
							* change recursive fn calls to reduce write operations
* format files and test
* Update vtest-cleancode.v
* fix test 
							
						 
						
							2021-04-19 21:56:39 +03:00  
				
					
						
							
							
								 
						
							
							
								c174bfa52f 
								
									
								
							
								 
							
						 
						
							
							
								
								tools: add a `v bug file.v` tool to automatically report bugs on GitHub ( #9746 )  
							
							
							
						 
						
							2021-04-19 21:40:54 +03:00  
				
					
						
							
							
								 
						
							
							
								d4f31412b7 
								
									
								
							
								 
							
						 
						
							
							
								
								v: deprecate `@VROOT` in favour of `@VMODROOT` ( #9795 )  
							
							
							
						 
						
							2021-04-19 19:01:47 +03:00  
				
					
						
							
							
								 
						
							
							
								70c651ff17 
								
									
								
							
								 
							
						 
						
							
							
								
								all: make __global behave consistent with const ( #9711 )  
							
							
							
						 
						
							2021-04-19 17:07:47 +03:00  
				
					
						
							
							
								 
						
							
							
								49330af715 
								
									
								
							
								 
							
						 
						
							
							
								
								net.urllib:  fix   #9748  out of bounds accesses in unescape() ( #9770 )  
							
							
							
						 
						
							2021-04-19 16:43:35 +03:00  
				
					
						
							
							
								 
						
							
							
								aa3a8c5245 
								
									
								
							
								 
							
						 
						
							
							
								
								v.ast: add a customizable ast.Table .panic() method  
							
							
							
						 
						
							2021-04-19 15:39:57 +03:00  
				
					
						
							
							
								 
						
							
							
								73352583e7 
								
									
								
							
								 
							
						 
						
							
							
								
								ci: fix all `-cstrict` warnings with gcc and clang ( #9792 )  
							
							
							
						 
						
							2021-04-19 15:38:48 +03:00  
				
					
						
							
							
								 
						
							
							
								dde3189e66 
								
									
								
							
								 
							
						 
						
							
							
								
								checker: avoid get_type_symbol panic inside array_init ( #9800 )  
							
							
							
						 
						
							2021-04-19 14:58:30 +03:00  
				
					
						
							
							
								 
						
							
							
								9ec91f4d58 
								
									
								
							
								 
							
						 
						
							
							
								
								os: add new function os.loginname(), improve some error messages  ( #9794 )  
							
							
							
						 
						
							2021-04-19 14:57:25 +03:00  
				
					
						
							
							
								 
						
							
							
								3158617ce2 
								
									
								
							
								 
							
						 
						
							
							
								
								parser: simplify parse_generic_struct_inst_type() ( #9801 )  
							
							
							
						 
						
							2021-04-19 14:47:39 +03:00  
				
					
						
							
							
								 
						
							
							
								22351a6fb7 
								
									
								
							
								 
							
						 
						
							
							
								
								builtin: remove `unused return` C warnings ( #9797 )  
							
							
							
						 
						
							2021-04-19 14:14:27 +03:00  
				
					
						
							
							
								 
						
							
							
								8ab0d42b5f 
								
									
								
							
								 
							
						 
						
							
							
								
								checker: check argument for `chan.try_push/pop()` ( #9798 )  
							
							
							
						 
						
							2021-04-19 11:41:21 +03:00  
				
					
						
							
							
								 
						
							
							
								a45da620e6 
								
									
								
							
								 
							
						 
						
							
							
								
								builtin: add string representation of ESC ( #9799 )  
							
							
							
						 
						
							2021-04-19 11:41:04 +03:00  
				
					
						
							
							
								 
						
							
							
								75d1b54f7b 
								
									
								
							
								 
							
						 
						
							
							
								
								cgen: fix empty struct init using macro ( #9787 )  
							
							
							
						 
						
							2021-04-18 16:34:25 +03:00  
				
					
						
							
							
								 
						
							
							
								8710a0b7b1 
								
									
								
							
								 
							
						 
						
							
							
								
								sync: enable Android support ( #9790 )  
							
							
							
						 
						
							2021-04-18 16:31:05 +03:00  
				
					
						
							
							
								 
						
							
							
								4a1e2f9dcc 
								
									
								
							
								 
							
						 
						
							
							
								
								checker: working is none type check + no crash when checking with non types ( #9793 )  
							
							
							
						 
						
							2021-04-18 16:28:39 +03:00  
				
					
						
							
							
								 
						
							
							
								ee7bcfd05c 
								
									
								
							
								 
							
						 
						
							
							
								
								checker: prevent double module name prepending on generics types regi… ( #9791 )  
							
							
							
						 
						
							2021-04-18 16:26:40 +03:00  
				
					
						
							
							
								 
						
							
							
								cfcecf898b 
								
									
								
							
								 
							
						 
						
							
							
								
								v.ast: add .free() methods, so vls can be more decoupled  
							
							
							
						 
						
							2021-04-18 10:24:51 +03:00  
				
					
						
							
							
								 
						
							
							
								5817aa47d8 
								
									
								
							
								 
							
						 
						
							
							
								
								Revert "cgen: fix empty struct init ( #9769 )"  
							
							... 
							
							
							
							This reverts commit 0cc04850d7 
							
						 
						
							2021-04-17 19:19:25 +03:00  
				
					
						
							
							
								 
						
							
							
								3c72c6abc2 
								
									
								
							
								 
							
						 
						
							
							
								
								parser: disable template variables in `<style>` ( #9777 )  
							
							
							
						 
						
							2021-04-17 15:47:36 +03:00  
				
					
						
							
							
								 
						
							
							
								ded3ce5863 
								
									
								
							
								 
							
						 
						
							
							
								
								builtin: cleanup string.v  
							
							
							
						 
						
							2021-04-17 12:30:45 +03:00  
				
					
						
							
							
								 
						
							
							
								1c7fb65491 
								
									
								
							
								 
							
						 
						
							
							
								
								builder: fix a bug that happens with local modules ( #9701 )  
							
							
							
						 
						
							2021-04-17 08:30:03 +03:00  
				
					
						
							
							
								 
						
							
							
								731e942055 
								
									
								
							
								 
							
						 
						
							
							
								
								checker: fix generics with different order of generics fn ( #9765 )  
							
							
							
						 
						
							2021-04-17 08:29:06 +03:00  
				
					
						
							
							
								 
						
							
							
								990c4ab17a 
								
									
								
							
								 
							
						 
						
							
							
								
								fmt: move else branch of match expr to the end ( #9766 )  
							
							
							
						 
						
							2021-04-17 08:28:33 +03:00  
				
					
						
							
							
								 
						
							
							
								0cc04850d7 
								
									
								
							
								 
							
						 
						
							
							
								
								cgen: fix empty struct init ( #9769 )  
							
							
							
						 
						
							2021-04-17 02:39:52 +03:00  
				
					
						
							
							
								 
						
							
							
								0a1d0e062d 
								
									
								
							
								 
							
						 
						
							
							
								
								freestanding: small fixes ( #9760 )  
							
							
							
						 
						
							2021-04-17 02:38:41 +03:00  
				
					
						
							
							
								 
						
							
							
								cb70ffef59 
								
									
								
							
								 
							
						 
						
							
							
								
								table: minor simplification and cleanup of resolve_generic ( #9772 )  
							
							
							
						 
						
							2021-04-17 02:38:07 +03:00  
				
					
						
							
							
								 
						
							
							
								515d8c0bc8 
								
									
								
							
								 
							
						 
						
							
							
								
								os: remove unnecessary check ( #9722 ) ( #9773 )  
							
							
							
						 
						
							2021-04-17 02:37:57 +03:00  
				
					
						
							
							
								 
						
							
							
								1b0f099552 
								
									
								
							
								 
							
						 
						
							
							
								
								parser: fix handling of `-` inside array literals ( #9771 )  
							
							
							
						 
						
							2021-04-17 02:37:17 +03:00  
				
					
						
							
							
								 
						
							
							
								0b3d1656f0 
								
									
								
							
								 
							
						 
						
							
							
								
								cgen: improve -g info for `{...}` and `goto label`  
							
							
							
						 
						
							2021-04-16 19:13:40 +03:00  
				
					
						
							
							
								 
						
							
							
								80bd2974b4 
								
									
								
							
								 
							
						 
						
							
							
								
								cgen: fix iteration over `shared` map ( #9763 )  
							
							
							
						 
						
							2021-04-16 14:49:14 +03:00  
				
					
						
							
							
								 
						
							
							
								524becd523 
								
									
								
							
								 
							
						 
						
							
							
								
								context: use `IError` instead of `string` ( #9758 )  
							
							
							
						 
						
							2021-04-16 11:54:28 +03:00  
				
					
						
							
							
								 
						
							
							
								aa49bc2708 
								
									
								
							
								 
							
						 
						
							
							
								
								os: implement os.truncate() + improve error handling ( #9752 )  
							
							
							
						 
						
							2021-04-16 11:53:44 +03:00  
				
					
						
							
							
								 
						
							
							
								8cb44ed9db 
								
									
								
							
								 
							
						 
						
							
							
								
								checker: fix generics with nested generics fn ( #9757 )  
							
							
							
						 
						
							2021-04-16 11:53:20 +03:00  
				
					
						
							
							
								 
						
							
							
								e2be3ec396 
								
									
								
							
								 
							
						 
						
							
							
								
								vweb: split and parse Content-Type header correctly ( #9756 )  
							
							
							
						 
						
							2021-04-16 08:46:06 +03:00  
				
					
						
							
							
								 
						
							
							
								b11b744630 
								
									
								
							
								 
							
						 
						
							
							
								
								vweb: fix the `none` error for empty TCP connections ( #9759 )  
							
							
							
						 
						
							2021-04-16 08:45:46 +03:00  
				
					
						
							
							
								 
						
							
							
								60bc280ad0 
								
									
								
							
								 
							
						 
						
							
							
								
								cgen: fix static var name used in sqlite orm generation,  close   #9725  ( #9745 )  
							
							
							
						 
						
							2021-04-15 20:57:03 +03:00  
				
					
						
							
							
								 
						
							
							
								db908e507f 
								
									
								
							
								 
							
						 
						
							
							
								
								v: add more precise source line info for `-g -assert aborts`  
							
							
							
						 
						
							2021-04-15 20:38:34 +03:00  
				
					
						
							
							
								 
						
							
							
								1d2ef79545 
								
									
								
							
								 
							
						 
						
							
							
								
								v: fix -assert aborts  
							
							
							
						 
						
							2021-04-15 20:29:58 +03:00  
				
					
						
							
							
								 
						
							
							
								c7752ce8d3 
								
									
								
							
								 
							
						 
						
							
							
								
								v: add an -assert aborts/backtraces option to ease debugging  
							
							
							
						 
						
							2021-04-15 20:26:51 +03:00  
				
					
						
							
							
								 
						
							
							
								f0c1e55637 
								
									
								
							
								 
							
						 
						
							
							
								
								v.gen.c: support `-d abort_on_assert` by injecting abort() calls  
							
							
							
						 
						
							2021-04-15 19:55:09 +03:00  
				
					
						
							
							
								 
						
							
							
								d90be54850 
								
									
								
							
								 
							
						 
						
							
							
								
								v: add -cstrict for optionally turning on all ccoptions.wargs  
							
							
							
						 
						
							2021-04-15 14:56:45 +03:00  
				
					
						
							
							
								 
						
							
							
								d9fdae1de9 
								
									
								
							
								 
							
						 
						
							
							
								
								parser: escape js template literal syntax inside <script> tags ( #9738 )  
							
							
							
						 
						
							2021-04-15 12:39:39 +03:00  
				
					
						
							
							
								 
						
							
							
								cb69c4c91a 
								
									
								
							
								 
							
						 
						
							
							
								
								builtin: add a 'v hash:' line to V panics  
							
							
							
						 
						
							2021-04-15 11:43:38 +03:00  
				
					
						
							
							
								 
						
							
							
								466dc4540b 
								
									
								
							
								 
							
						 
						
							
							
								
								all: minor cleanup of generics ( #9744 )  
							
							
							
						 
						
							2021-04-15 11:00:23 +03:00  
				
					
						
							
							
								 
						
							
							
								dcf4a6b008 
								
									
								
							
								 
							
						 
						
							
							
								
								orm: add support for custom table names & custom field names ( #9697 )  
							
							
							
						 
						
							2021-04-15 10:53:43 +03:00  
				
					
						
							
							
								 
						
							
							
								f1bda88964 
								
									
								
							
								 
							
						 
						
							
							
								
								regex: bugfix out of bound with gcc "-fsanitize=address" ( #9715 )  
							
							
							
						 
						
							2021-04-15 10:46:49 +03:00  
				
					
						
							
							
								 
						
							
							
								b8e9f085eb 
								
									
								
							
								 
							
						 
						
							
							
								
								vfmt: cleanup StringInterLiteral.get_fspec_braces/1  
							
							
							
						 
						
							2021-04-15 09:46:05 +03:00  
				
					
						
							
							
								 
						
							
							
								f1549b3ee7 
								
									
								
							
								 
							
						 
						
							
							
								
								vfmt: make ${} more robust; require it for every interpolation that uses '...' or "..."  
							
							
							
						 
						
							2021-04-15 09:28:40 +03:00  
				
					
						
							
							
								 
						
							
							
								4ecc5001b9 
								
									
								
							
								 
							
						 
						
							
							
								
								builtin: fix for utf8_str_visible_length for CJK Unified Ideographs Extension G ( #9739 )  
							
							
							
						 
						
							2021-04-15 09:20:53 +03:00  
				
					
						
							
							
								 
						
							
							
								9d6caa1d5d 
								
									
								
							
								 
							
						 
						
							
							
								
								checker: fix segfault in vls for struct field declarations, having custom initializers with fn calls ( #9741 )  
							
							
							
						 
						
							2021-04-15 08:49:25 +03:00  
				
					
						
							
							
								 
						
							
							
								7df996e5e5 
								
							
								 
							
						 
						
							
							
								
								checker: fix fn_args test  
							
							
							
						 
						
							2021-04-15 06:51:48 +03:00  
				
					
						
							
							
								 
						
							
							
								a18f85c8cd 
								
							
								 
							
						 
						
							
							
								
								vweb: init_once() => init_server(); init() => before_request()  
							
							
							
						 
						
							2021-04-15 06:27:24 +03:00  
				
					
						
							
							
								 
						
							
							
								3a134acc5a 
								
							
								 
							
						 
						
							
							
								
								checker: orm: verify table type  
							
							
							
						 
						
							2021-04-15 03:11:24 +03:00  
				
					
						
							
							
								 
						
							
							
								21c452c5cd 
								
							
								 
							
						 
						
							
							
								
								builtin: define u8 = byte alias  
							
							
							
						 
						
							2021-04-15 02:58:27 +03:00  
				
					
						
							
							
								 
						
							
							
								546dc91967 
								
									
								
							
								 
							
						 
						
							
							
								
								os: create os.hostname() and os.chown() + os.uname() for windows  ( #9722 )  
							
							
							
						 
						
							2021-04-15 01:49:05 +02:00  
				
					
						
							
							
								 
						
							
							
								25a9d30a70 
								
									
								
							
								 
							
						 
						
							
							
								
								channels: fix C warnings ( #9732 )  
							
							
							
						 
						
							2021-04-15 01:44:39 +02:00  
				
					
						
							
							
								 
						
							
							
								1250ce4353 
								
									
								
							
								 
							
						 
						
							
							
								
								cgen: fix generics with embed generics ( fix   #8694 ) ( #9724 )  
							
							
							
						 
						
							2021-04-15 01:44:11 +02:00  
				
					
						
							
							
								 
						
							
							
								f4c8f897fe 
								
									
								
							
								 
							
						 
						
							
							
								
								parser: proper unexpected eof errors in const declarations ( #9712 )  
							
							
							
						 
						
							2021-04-15 01:31:49 +02:00  
				
					
						
							
							
								 
						
							
							
								0099458c0a 
								
									
								
							
								 
							
						 
						
							
							
								
								all: small asm fixes and number labels ( #9730 )  
							
							
							
						 
						
							2021-04-15 01:30:23 +02:00  
				
					
						
							
							
								 
						
							
							
								968cb13a36 
								
									
								
							
								 
							
						 
						
							
							
								
								fmt: mark types import as used in interface ( #9718 )  
							
							
							
						 
						
							2021-04-15 01:29:17 +02:00  
				
					
						
							
							
								 
						
							
							
								345868853e 
								
									
								
							
								 
							
						 
						
							
							
								
								checker: change wording of the error message for complex boolean expressions  
							
							
							
						 
						
							2021-04-14 19:55:52 +03:00  
				
					
						
							
							
								 
						
							
							
								3e297bced4 
								
									
								
							
								 
							
						 
						
							
							
								
								ci: remove some tests from skip_with_werror in `v test-self`  
							
							
							
						 
						
							2021-04-14 12:47:24 +03:00  
				
					
						
							
							
								 
						
							
							
								14434cc86a 
								
									
								
							
								 
							
						 
						
							
							
								
								all: bare metal support (fix `-freestanding`) ( #9624 )  
							
							
							
						 
						
							2021-04-14 07:50:50 +02:00  
				
					
						
							
							
								 
						
							
							
								711e309eef 
								
							
								 
							
						 
						
							
							
								
								gg: bring back native rendering on macos  
							
							
							
						 
						
							2021-04-14 03:59:34 +03:00  
				
					
						
							
							
								 
						
							
							
								10bf974cda 
								
									
								
							
								 
							
						 
						
							
							
								
								all: gc: provide optimized mode ( #9716 )  
							
							
							
						 
						
							2021-04-14 00:40:26 +02:00  
				
					
						
							
							
								 
						
							
							
								8c95f07509 
								
							
								 
							
						 
						
							
							
								
								sokol: fix compilation of gg apps on macos  
							
							
							
						 
						
							2021-04-13 14:38:55 +03:00  
				
					
						
							
							
								 
						
							
							
								d9e2bb9b36 
								
									
								
							
								 
							
						 
						
							
							
								
								vdoc: ignore builtin/linux_bare ( #9708 )  
							
							
							
						 
						
							2021-04-13 14:10:22 +03:00  
				
					
						
							
							
								 
						
							
							
								68c3eccec5 
								
									
								
							
								 
							
						 
						
							
							
								
								v: skip asserts in -prod mode inside non _test.v files  
							
							
							
						 
						
							2021-04-13 13:07:57 +03:00  
				
					
						
							
							
								 
						
							
							
								84fe2d8c6e 
								
									
								
							
								 
							
						 
						
							
							
								
								v.ast: implement Expr.str() for ast.ConcatExpr and ast.IfExpr too  
							
							
							
						 
						
							2021-04-13 12:23:30 +03:00  
				
					
						
							
							
								 
						
							
							
								f04dd21e79 
								
									
								
							
								 
							
						 
						
							
							
								
								builtin: run vfmt over string.v  
							
							
							
						 
						
							2021-04-13 12:01:23 +03:00  
				
					
						
							
							
								 
						
							
							
								1ef718c1e1 
								
									
								
							
								 
							
						 
						
							
							
								
								cgen: fix `return if cond { x,y } else { a,b }` generation  
							
							
							
						 
						
							2021-04-13 11:52:18 +03:00  
				
					
						
							
							
								 
						
							
							
								a1121d0eb0 
								
									
								
							
								 
							
						 
						
							
							
								
								builtin: use 0 instead of `\0` rune when setting C style terminators; use C.memcpy in `[]string{}.join("")`  
							
							
							
						 
						
							2021-04-13 11:29:33 +03:00  
				
					
						
							
							
								 
						
							
							
								909c9c7ee7 
								
									
								
							
								 
							
						 
						
							
							
								
								context: small refactor to always use Context type instead of multiple types ( #9705 )  
							
							
							
						 
						
							2021-04-13 07:04:13 +03:00  
				
					
						
							
							
								 
						
							
							
								66294e359a 
								
									
								
							
								 
							
						 
						
							
							
								
								checker: add immutable_builtin_modify.vv test ( #9702 )  
							
							
							
						 
						
							2021-04-13 06:55:41 +03:00  
				
					
						
							
							
								 
						
							
							
								c3ccb58450 
								
									
								
							
								 
							
						 
						
							
							
								
								checker: check generics variadic arg mismatch ( #9700 )  
							
							
							
						 
						
							2021-04-13 02:06:24 +02:00  
				
					
						
							
							
								 
						
							
							
								cfaba49683 
								
									
								
							
								 
							
						 
						
							
							
								
								ios: move `sokol` declarations out of builder, and support non-sokol apps too ( #9703 )  
							
							
							
						 
						
							2021-04-12 19:35:06 +03:00  
				
					
						
							
							
								 
						
							
							
								07a6f4e445 
								
									
								
							
								 
							
						 
						
							
							
								
								context: add a new `context` module, based on Golang's context, intended to be used in webservers ( #9563 )  
							
							
							
						 
						
							2021-04-12 19:32:51 +03:00  
				
					
						
							
							
								 
						
							
							
								491fe49af6 
								
									
								
							
								 
							
						 
						
							
							
								
								map: rename methods (part 2) ( #9698 )  
							
							
							
						 
						
							2021-04-12 16:22:02 +02:00  
				
					
						
							
							
								 
						
							
							
								b2c16ced57 
								
									
								
							
								 
							
						 
						
							
							
								
								parser: filter out vet space indent errors inside StringInterLiterals ( #9695 )  
							
							
							
						 
						
							2021-04-12 16:03:22 +03:00  
				
					
						
							
							
								 
						
							
							
								ada763e0f4 
								
									
								
							
								 
							
						 
						
							
							
								
								fmt: remove parenthesis around single ident ( #9696 )  
							
							
							
						 
						
							2021-04-12 16:01:03 +03:00  
				
					
						
							
							
								 
						
							
							
								7ba13a415a 
								
									
								
							
								 
							
						 
						
							
							
								
								os: handle fread errors ( #9687 )  
							
							
							
						 
						
							2021-04-12 10:26:08 +03:00  
				
					
						
							
							
								 
						
							
							
								6d2d956c80 
								
							
								 
							
						 
						
							
							
								
								tests: fix -skip-unused test on macos  
							
							
							
						 
						
							2021-04-12 10:24:13 +03:00  
				
					
						
							
							
								 
						
							
							
								9957e5a2c5 
								
									
								
							
								 
							
						 
						
							
							
								
								log: unify output order between cli and file ( #9693 )  
							
							
							
						 
						
							2021-04-12 09:38:47 +03:00  
				
					
						
							
							
								 
						
							
							
								8193efb379 
								
									
								
							
								 
							
						 
						
							
							
								
								v.markused: mark all `pub` functions on `-shared -skip-unused`  
							
							
							
						 
						
							2021-04-12 09:29:34 +03:00  
				
					
						
							
							
								 
						
							
							
								d7a64bbc8a 
								
									
								
							
								 
							
						 
						
							
							
								
								encoding.utf8: fix len and ulen and optimize raw_index ( #9682 )  
							
							
							
						 
						
							2021-04-12 04:58:03 +02:00  
				
					
						
							
							
								 
						
							
							
								67d8639917 
								
									
								
							
								 
							
						 
						
							
							
								
								orm: add unique fields & add drop table stmt ( #9684 )  
							
							
							
						 
						
							2021-04-11 23:57:25 +02:00  
				
					
						
							
							
								 
						
							
							
								b0b3c51658 
								
									
								
							
								 
							
						 
						
							
							
								
								checker: minor cleanup in fn_call ( #9681 )  
							
							
							
						 
						
							2021-04-11 23:57:00 +02:00  
				
					
						
							
							
								 
						
							
							
								5a1a1b7c12 
								
									
								
							
								 
							
						 
						
							
							
								
								all: merge GoExpr and GoStmt ( #9685 )  
							
							
							
						 
						
							2021-04-11 23:56:25 +02:00  
				
					
						
							
							
								 
						
							
							
								6cfd53bf57 
								
									
								
							
								 
							
						 
						
							
							
								
								cgen: generate interfaces after all other typedefs ( #9680 )  
							
							
							
						 
						
							2021-04-12 00:43:19 +03:00  
				
					
						
							
							
								 
						
							
							
								0facc5a559 
								
									
								
							
								 
							
						 
						
							
							
								
								builtin: fix map.zeros_to_end ( #9689 )  
							
							
							
						 
						
							2021-04-12 00:36:02 +03:00  
				
					
						
							
							
								 
						
							
							
								79fa15ec3a 
								
									
								
							
								 
							
						 
						
							
							
								
								cgen: allow printing of C.Structs containing &char/charptr fields  
							
							
							
						 
						
							2021-04-12 00:14:58 +03:00  
				
					
						
							
							
								 
						
							
							
								273655ecc8 
								
									
								
							
								 
							
						 
						
							
							
								
								vfmt: fix asm volatile & goto ( #9688 )  
							
							
							
						 
						
							2021-04-11 23:32:28 +03:00  
				
					
						
							
							
								 
						
							
							
								a851901620 
								
									
								
							
								 
							
						 
						
							
							
								
								checker: allow casting bool to byte ( #9676 )  
							
							
							
						 
						
							2021-04-11 13:24:24 +03:00  
				
					
						
							
							
								 
						
							
							
								85e9cf1bd3 
								
									
								
							
								 
							
						 
						
							
							
								
								tests: add vlib/x/json2 to vtest-cleancode.v  
							
							
							
						 
						
							2021-04-11 11:34:08 +03:00  
				
					
						
							
							
								 
						
							
							
								c939e4df97 
								
									
								
							
								 
							
						 
						
							
							
								
								x.json2: fix `direct sum type init` notices  
							
							
							
						 
						
							2021-04-11 11:28:52 +03:00  
				
					
						
							
							
								 
						
							
							
								954c436d28 
								
									
								
							
								 
							
						 
						
							
							
								
								checker/cgen: auto initialize `shared` elements of structs ( #9669 )  
							
							
							
						 
						
							2021-04-11 10:30:23 +03:00  
				
					
						
							
							
								 
						
							
							
								3241611871 
								
									
								
							
								 
							
						 
						
							
							
								
								v.ast table: minor simplification of generic_struct_insts_to_concrete() ( #9667 )  
							
							
							
						 
						
							2021-04-11 10:29:31 +03:00  
				
					
						
							
							
								 
						
							
							
								cca06fce90 
								
									
								
							
								 
							
						 
						
							
							
								
								encoding.utf8: remove const unicode_con_table_up_to_low table ( #9672 )  
							
							
							
						 
						
							2021-04-11 10:28:19 +03:00  
				
					
						
							
							
								 
						
							
							
								acb58d4923 
								
									
								
							
								 
							
						 
						
							
							
								
								encoding.utf8: add support for indexing a utf8 str ( #9670 )  
							
							
							
						 
						
							2021-04-11 09:04:18 +03:00  
				
					
						
							
							
								 
						
							
							
								a2a18ef92c 
								
									
								
							
								 
							
						 
						
							
							
								
								v: simplify handling of function generic parameters ( #9673 )  
							
							
							
						 
						
							2021-04-11 09:02:57 +03:00  
				
					
						
							
							
								 
						
							
							
								78c6e35bde 
								
									
								
							
								 
							
						 
						
							
							
								
								checker/cgen: fix `v := rlock m { m[key] or { default_val } }`  ( #9666 )  
							
							
							
						 
						
							2021-04-10 16:57:18 +02:00  
				
					
						
							
							
								 
						
							
							
								e66de8e824 
								
									
								
							
								 
							
						 
						
							
							
								
								bitfield: add methods `insert` and `extract` ( #9612 )  
							
							
							
						 
						
							2021-04-10 17:42:09 +03:00  
				
					
						
							
							
								 
						
							
							
								38c517c1a2 
								
									
								
							
								 
							
						 
						
							
							
								
								builtin: use NSLog on iOS for print ( #9665 )  
							
							
							
						 
						
							2021-04-10 17:40:43 +03:00  
				
					
						
							
							
								 
						
							
							
								64391efa4d 
								
									
								
							
								 
							
						 
						
							
							
								
								orm: add mysql support ( #9630 )  
							
							... 
							
							
							
							* add mysql to orm
* fix got to big packet error
* format sql.v
* format example
* custom sql types
* add mysql table cration
* add documentation
* format sql.v
* fix markdown
* start implementing select_expr for mysql
* remove orm.c
* format sql.v
* finish mysql expr
* remove c
* remove unessecary files
* change to c implementation
* remove c
* added str interpolation for idents
* fix string insert
* fix compilation problems
* fix gitly compilation
* fix typing mistake
* add link to orm docs 
							
						 
						
							2021-04-10 17:38:27 +03:00  
				
					
						
							
							
								 
						
							
							
								9f093203a4 
								
									
								
							
								 
							
						 
						
							
							
								
								cgen: fix generics struct_init ( #9661 )  
							
							
							
						 
						
							2021-04-10 17:33:15 +03:00  
				
					
						
							
							
								 
						
							
							
								cf64001474 
								
									
								
							
								 
							
						 
						
							
							
								
								checker: fix generics return generic struct ( #9663 )  
							
							
							
						 
						
							2021-04-10 14:00:01 +03:00  
				
					
						
							
							
								 
						
							
							
								1bcc45f914 
								
									
								
							
								 
							
						 
						
							
							
								
								cgen: minor cleanup of return_stmt ( #9664 )  
							
							
							
						 
						
							2021-04-10 11:55:34 +03:00  
				
					
						
							
							
								 
						
							
							
								d54becf52e 
								
							
								 
							
						 
						
							
							
								
								v.cflag: support `#flag   $first_existing("/opt/homebrew/lib/libgc.a", "/usr/local/lib/libgc.a")`  
							
							
							
						 
						
							2021-04-10 10:46:43 +03:00  
				
					
						
							
							
								 
						
							
							
								bf6a2f80ef 
								
									
								
							
								 
							
						 
						
							
							
								
								checker: fix generics with generic struct receiver ( #9658 )  
							
							
							
						 
						
							2021-04-10 04:00:53 +02:00  
				
					
						
							
							
								 
						
							
							
								5273214ec2 
								
									
								
							
								 
							
						 
						
							
							
								
								map: rename methods ( #9657 )  
							
							
							
						 
						
							2021-04-10 04:00:29 +02:00  
				
					
						
							
							
								 
						
							
							
								6c1a43415e 
								
									
								
							
								 
							
						 
						
							
							
								
								net.http: make http.parse_response() public so it can be used by http servers ( #9653 )  
							
							
							
						 
						
							2021-04-09 23:42:25 +03:00  
				
					
						
							
							
								 
						
							
							
								bf9fe659a9 
								
									
								
							
								 
							
						 
						
							
							
								
								sync: fix `chan.close()` while a sending thread is waiting ( #9654 )  
							
							
							
						 
						
							2021-04-09 23:40:35 +03:00  
				
					
						
							
							
								 
						
							
							
								903dd49212 
								
									
								
							
								 
							
						 
						
							
							
								
								v: add support for `$if freestanding {`, without using it (part 1) ( #9656 )  
							
							
							
						 
						
							2021-04-09 23:24:25 +03:00  
				
					
						
							
							
								 
						
							
							
								40d32c7eed 
								
									
								
							
								 
							
						 
						
							
							
								
								v.markused: fix -skip-unused regression for v itself and for tetris  
							
							
							
						 
						
							2021-04-09 20:04:14 +03:00  
				
					
						
							
							
								 
						
							
							
								5eb67ccd94 
								
									
								
							
								 
							
						 
						
							
							
								
								http: use Header struct for headers ( #9462 )  
							
							
							
						 
						
							2021-04-09 18:17:33 +02:00  
				
					
						
							
							
								 
						
							
							
								50f59674ce 
								
									
								
							
								 
							
						 
						
							
							
								
								ast, checker: make SelectorExpr.root_ident return ?Ident ( #9647 )  
							
							
							
						 
						
							2021-04-09 18:06:40 +02:00  
				
					
						
							
							
								 
						
							
							
								b346dd9464 
								
									
								
							
								 
							
						 
						
							
							
								
								cgen: fix blank identifier in IfGard (`if _ := <-ch { ... }`, etc) ( #9650 )  
							
							
							
						 
						
							2021-04-09 17:18:36 +02:00  
				
					
						
							
							
								 
						
							
							
								6948419595 
								
									
								
							
								 
							
						 
						
							
							
								
								parser: fix InterfaceDecl's position ( #9649 )  
							
							
							
						 
						
							2021-04-09 17:18:22 +02:00  
				
					
						
							
							
								 
						
							
							
								0c710ce470 
								
									
								
							
								 
							
						 
						
							
							
								
								cgen: register `Option_void` when used for `chan <- x or {...}` ( #9648 )  
							
							
							
						 
						
							2021-04-09 17:18:02 +02:00  
				
					
						
							
							
								 
						
							
							
								820fe626e7 
								
									
								
							
								 
							
						 
						
							
							
								
								v.gen.c: reduce slightly the generated C lines with -skip-unused (3940 -> 3699 for hello_world.v)  
							
							
							
						 
						
							2021-04-09 17:56:36 +03:00  
				
					
						
							
							
								 
						
							
							
								a706215e52 
								
									
								
							
								 
							
						 
						
							
							
								
								ast, parser: add type_pos to TypeDecl nodes ( #9571 )  
							
							
							
						 
						
							2021-04-09 14:51:25 +03:00  
				
					
						
							
							
								 
						
							
							
								46e7e27ba3 
								
									
								
							
								 
							
						 
						
							
							
								
								v vet: give an error for trailing whitespace ( #9574 )  
							
							
							
						 
						
							2021-04-09 13:22:14 +03:00  
				
					
						
							
							
								 
						
							
							
								ddb2e72301 
								
									
								
							
								 
							
						 
						
							
							
								
								checker: do not allow module aliases started with '_' (underscore) ( #9588 )  
							
							
							
						 
						
							2021-04-09 13:14:27 +03:00  
				
					
						
							
							
								 
						
							
							
								84fa1ae444 
								
									
								
							
								 
							
						 
						
							
							
								
								boehm-gc: support a `[keep_args_alive]` tag for C functions ( #9641 )  
							
							
							
						 
						
							2021-04-09 13:13:49 +03:00  
				
					
						
							
							
								 
						
							
							
								4feb09fa5b 
								
									
								
							
								 
							
						 
						
							
							
								
								checker, cgen: add sumtype-like smartcasting capabilites to interfaces ( #9256 )  
							
							
							
						 
						
							2021-04-09 11:00:05 +03:00  
				
					
						
							
							
								 
						
							
							
								78e3bb748b 
								
									
								
							
								 
							
						 
						
							
							
								
								sync: close channels atomically only once ( #9645 )  
							
							
							
						 
						
							2021-04-09 10:57:41 +03:00  
				
					
						
							
							
								 
						
							
							
								e6a67e7172 
								
									
								
							
								 
							
						 
						
							
							
								
								parser: fix error of `-foo.bar()` ( #9646 )  
							
							
							
						 
						
							2021-04-09 10:54:03 +03:00