5f07c583fb 
								
									
								
							
								 
							
						 
						
							
							
								
								ci: fix build-vc job (use more precise C.fprintf declaration)  
							
							
							
						 
						
							2021-04-05 22:24:17 +03:00  
				
					
						
							
							
								 
						
							
							
								1899845582 
								
									
								
							
								 
							
						 
						
							
							
								
								ci: fix build-vc job  
							
							
							
						 
						
							2021-04-05 22:18:18 +03:00  
				
					
						
							
							
								 
						
							
							
								acb6145d53 
								
									
								
							
								 
							
						 
						
							
							
								
								ci: final fix for `./v test-all`  
							
							
							
						 
						
							2021-04-05 22:13:53 +03:00  
				
					
						
							
							
								 
						
							
							
								291a88bc62 
								
									
								
							
								 
							
						 
						
							
							
								
								ci: fix some of `v test-cleancode` 4  
							
							
							
						 
						
							2021-04-05 21:39:32 +03:00  
				
					
						
							
							
								 
						
							
							
								d11fb8497a 
								
									
								
							
								 
							
						 
						
							
							
								
								ci: fix some of `v test-cleancode` 3  
							
							
							
						 
						
							2021-04-05 21:21:46 +03:00  
				
					
						
							
							
								 
						
							
							
								c0e2b9b1e2 
								
									
								
							
								 
							
						 
						
							
							
								
								ci: fix some of `v test-cleancode` 2  
							
							
							
						 
						
							2021-04-05 20:55:03 +03:00  
				
					
						
							
							
								 
						
							
							
								34aa67b1e8 
								
									
								
							
								 
							
						 
						
							
							
								
								ci: fix compilation and formatting of sqlite example in docs.md  
							
							
							
						 
						
							2021-04-05 08:09:04 +03:00  
				
					
						
							
							
								 
						
							
							
								accd4d83bf 
								
									
								
							
								 
							
						 
						
							
							
								
								ci: fix compilation  
							
							
							
						 
						
							2021-04-04 20:14:51 +03:00  
				
					
						
							
							
								 
						
							
							
								824790a2bd 
								
									
								
							
								 
							
						 
						
							
							
								
								builtin: simplify println(), use C.write consistently on unix as on windows so that 0 bytes are output also  
							
							
							
						 
						
							2021-04-04 19:14:21 +03:00  
				
					
						
							
							
								 
						
							
							
								57e6138a61 
								
							
								 
							
						 
						
							
							
								
								all: remove byteptr and charptr; replace them with &byte and &char  
							
							
							
						 
						
							2021-04-04 17:43:32 +03:00  
				
					
						
							
							
								 
						
							
							
								c698fa1a58 
								
									
								
							
								 
							
						 
						
							
							
								
								all: support `v -watch run` ( #9577 )  
							
							
							
						 
						
							2021-04-04 16:05:06 +02:00  
				
					
						
							
							
								 
						
							
							
								337e447cfb 
								
									
								
							
								 
							
						 
						
							
							
								
								map: fix delete (part 1) ( #9579 )  
							
							
							
						 
						
							2021-04-04 01:11:47 +02:00  
				
					
						
							
							
								 
						
							
							
								7f81702d81 
								
									
								
							
								 
							
						 
						
							
							
								
								builtin: optimize array sort ( #9570 )  
							
							
							
						 
						
							2021-04-03 12:16:18 +02:00  
				
					
						
							
							
								 
						
							
							
								3637bac716 
								
									
								
							
								 
							
						 
						
							
							
								
								cgen: fix rune array sort ( #9561 )  
							
							
							
						 
						
							2021-04-02 16:28:27 +02:00  
				
					
						
							
							
								 
						
							
							
								1a76cb1c36 
								
									
								
							
								 
							
						 
						
							
							
								
								map: fix misalignment ( #9548 )  
							
							
							
						 
						
							2021-04-01 10:39:00 +02:00  
				
					
						
							
							
								 
						
							
							
								6f318be96c 
								
							
								 
							
						 
						
							
							
								
								checker: do not allow nil sum types init  
							
							
							
						 
						
							2021-03-31 11:13:52 +03:00  
				
					
						
							
							
								 
						
							
							
								76dc4cf13f 
								
									
								
							
								 
							
						 
						
							
							
								
								gc: fix another alignment issue ( #9489 )  
							
							
							
						 
						
							2021-03-27 18:59:51 +01:00  
				
					
						
							
							
								 
						
							
							
								3220ab7053 
								
									
								
							
								 
							
						 
						
							
							
								
								Boehm-GC: fix global `const` handling ( #9477 )  
							
							... 
							
							
							
							* define global `__v_inside_init`
* unset `__v_inside_init` after `_vinit()`
* define `C.GC_MALLOC_UNCOLLECTABLE()`
* allocate uncollectable memory during `_vinit()`
* ci: run test cases with V copiler that uses GC-Boehm itself
* wrap `__v_inside_init` access into `#ifdef _VGCBOEHM` 
							
						 
						
							2021-03-26 16:44:45 +02:00  
				
					
						
							
							
								 
						
							
							
								bb5958991c 
								
							
								 
							
						 
						
							
							
								
								checker: warn about automatic (de)referencing; freetype: compilation flag fixes  
							
							
							
						 
						
							2021-03-26 11:42:51 +03:00  
				
					
						
							
							
								 
						
							
							
								257eadd2e1 
								
									
								
							
								 
							
						 
						
							
							
								
								gc: add `-gc boehm_leak` for leak detection ( #9464 )  
							
							
							
						 
						
							2021-03-25 16:52:33 +01:00  
				
					
						
							
							
								 
						
							
							
								03d56865e3 
								
									
								
							
								 
							
						 
						
							
							
								
								builtin: do not call C.GC_FREE with -gc boehm  
							
							
							
						 
						
							2021-03-25 09:15:01 +02:00  
				
					
						
							
							
								 
						
							
							
								b0878d3a92 
								
							
								 
							
						 
						
							
							
								
								builtin,v.pkgconfig: use brew's libgc on macos  
							
							
							
						 
						
							2021-03-25 07:28:30 +02:00  
				
					
						
							
							
								 
						
							
							
								6bc9ef7373 
								
									
								
							
								 
							
						 
						
							
							
								
								builtin: vfmt every .v file, except vlib/builtin/int_test.v ( #9448 )  
							
							
							
						 
						
							2021-03-24 20:39:59 +02:00  
				
					
						
							
							
								 
						
							
							
								522d70b48d 
								
									
								
							
								 
							
						 
						
							
							
								
								builtin,cgen: fix -gc boehm issues with maps; add a CI job for it to prevent regressions ( #9453 )  
							
							
							
						 
						
							2021-03-24 19:49:16 +02:00  
				
					
						
							
							
								 
						
							
							
								f8f74d8587 
								
									
								
							
								 
							
						 
						
							
							
								
								builtin: add panic_optional_not_set and use it in cgen for fncall()? in main  
							
							
							
						 
						
							2021-03-24 14:13:58 +02:00  
				
					
						
							
							
								 
						
							
							
								7afa4c7e2c 
								
									
								
							
								 
							
						 
						
							
							
								
								builtin: fix `["abc", "xyz"].str()`  
							
							
							
						 
						
							2021-03-23 22:11:32 +02:00  
				
					
						
							
							
								 
						
							
							
								b7c01db1f9 
								
									
								
							
								 
							
						 
						
							
							
								
								builtin: add .vstring_literal and .vstring_literal_with_len for converting read only strings like os.args  
							
							
							
						 
						
							2021-03-23 22:10:28 +02:00  
				
					
						
							
							
								 
						
							
							
								026f8424c2 
								
									
								
							
								 
							
						 
						
							
							
								
								builtin: fix a leak in string.index_kmp  
							
							
							
						 
						
							2021-03-23 21:48:08 +02:00  
				
					
						
							
							
								 
						
							
							
								7f91b75cbc 
								
									
								
							
								 
							
						 
						
							
							
								
								builtin: fix leaks in `os.execute()` and `[]string{} == []string{}`  
							
							
							
						 
						
							2021-03-23 20:36:19 +02:00  
				
					
						
							
							
								 
						
							
							
								d098a3caca 
								
									
								
							
								 
							
						 
						
							
							
								
								builtin: make string.add() public temporarily till -autofree improves  
							
							
							
						 
						
							2021-03-23 20:20:53 +02:00  
				
					
						
							
							
								 
						
							
							
								419ee8ae2a 
								
									
								
							
								 
							
						 
						
							
							
								
								builtin: fix a bug in `[]string.join()`  
							
							
							
						 
						
							2021-03-23 20:14:46 +02:00  
				
					
						
							
							
								 
						
							
							
								0c055a1ce9 
								
							
								 
							
						 
						
							
							
								
								all: s.contains(s2) instead of `in`  
							
							
							
						 
						
							2021-03-23 11:38:56 +03:00  
				
					
						
							
							
								 
						
							
							
								c76c69ec35 
								
									
								
							
								 
							
						 
						
							
							
								
								all: simplify `return if ...` constructs to make more code compatible with -autofree  
							
							
							
						 
						
							2021-03-22 16:45:29 +02:00  
				
					
						
							
							
								 
						
							
							
								320cd00203 
								
									
								
							
								 
							
						 
						
							
							
								
								string: fix replace_each() ( #9415 )  
							
							
							
						 
						
							2021-03-22 09:46:45 +01:00  
				
					
						
							
							
								 
						
							
							
								4d77f3810f 
								
							
								 
							
						 
						
							
							
								
								gc: enable on macos and add leak detection fns  
							
							
							
						 
						
							2021-03-21 05:31:10 +03:00  
				
					
						
							
							
								 
						
							
							
								5873149c77 
								
									
								
							
								 
							
						 
						
							
							
								
								builtin: allow libgc to be used on windows as well ( #9393 )  
							
							
							
						 
						
							2021-03-21 01:01:21 +01:00  
				
					
						
							
							
								 
						
							
							
								8810af76df 
								
									
								
							
								 
							
						 
						
							
							
								
								all: support `-gc boehm` on systems with libgc-dev installed ( #9382 )  
							
							
							
						 
						
							2021-03-20 14:16:36 +01:00  
				
					
						
							
							
								 
						
							
							
								3f9e921c95 
								
									
								
							
								 
							
						 
						
							
							
								
								builtin: add a proper str() method to IError ( #9379 )  
							
							
							
						 
						
							2021-03-20 01:55:16 +02:00  
				
					
						
							
							
								 
						
							
							
								ea3d1405ee 
								
									
								
							
								 
							
						 
						
							
							
								
								ci: fix failing -Werror job with tcc  
							
							
							
						 
						
							2021-03-19 09:34:41 +02:00  
				
					
						
							
							
								 
						
							
							
								8fa7e67000 
								
									
								
							
								 
							
						 
						
							
							
								
								builtin: use `return s.clone()` instead of `return s` consistently, to make manual free easier  
							
							
							
						 
						
							2021-03-18 22:23:36 +02:00  
				
					
						
							
							
								 
						
							
							
								00651c8deb 
								
									
								
							
								 
							
						 
						
							
							
								
								builtin: free all elements in a `[]string` with -autofree too  
							
							
							
						 
						
							2021-03-18 21:10:42 +02:00  
				
					
						
							
							
								 
						
							
							
								d4e16b6ddd 
								
									
								
							
								 
							
						 
						
							
							
								
								builtin: reduce memory allocations for s.trim, s.trim_left and s.trim_right  
							
							
							
						 
						
							2021-03-18 19:52:33 +02:00  
				
					
						
							
							
								 
						
							
							
								09802707b1 
								
									
								
							
								 
							
						 
						
							
							
								
								tests: move rlock and shared array tests from `builtin` to `sync`  
							
							
							
						 
						
							2021-03-18 19:51:11 +02:00  
				
					
						
							
							
								 
						
							
							
								624c1f3bcf 
								
									
								
							
								 
							
						 
						
							
							
								
								cgen: make `bool`s take up a single byte, not 4 ( #9352 )  
							
							
							
						 
						
							2021-03-18 15:23:29 +01:00  
				
					
						
							
							
								 
						
							
							
								99cc02685b 
								
									
								
							
								 
							
						 
						
							
							
								
								cgen: implement IError.free() and use it for the builtin `none` const  
							
							
							
						 
						
							2021-03-17 12:38:24 +02:00  
				
					
						
							
							
								 
						
							
							
								fafb035fb5 
								
									
								
							
								 
							
						 
						
							
							
								
								all: reimplement inline assembly ( #8645 )  
							
							
							
						 
						
							2021-03-17 01:43:17 +01:00  
				
					
						
							
							
								 
						
							
							
								dd9f9c2718 
								
									
								
							
								 
							
						 
						
							
							
								
								checker: check array.sort(a < b) ( #9321 )  
							
							
							
						 
						
							2021-03-17 01:42:51 +01:00  
				
					
						
							
							
								 
						
							
							
								2991cad4e8 
								
									
								
							
								 
							
						 
						
							
							
								
								map: fix delete in for-in ( #9336 )  
							
							
							
						 
						
							2021-03-17 01:42:33 +01:00  
				
					
						
							
							
								 
						
							
							
								b4f7a975e8 
								
									
								
							
								 
							
						 
						
							
							
								
								builtin.string: optimize string.count where substr.len == 1 ( #9337 )  
							
							
							
						 
						
							2021-03-17 00:19:48 +02:00  
				
					
						
							
							
								 
						
							
							
								1753445a64 
								
									
								
							
								 
							
						 
						
							
							
								
								builtin: make panics more IDE friendly  
							
							
							
						 
						
							2021-03-16 20:50:11 +02:00