382586da6d 
								
									
								
							
								 
							
						 
						
							
							
								
								ci: fix toml segfault (remove unused low level builtin option IError.msg compatibility hack)  
							
							
							
						 
						
							2022-04-11 21:49:59 +03:00  
				
					
						
							
							
								 
						
							
							
								2cd9c91e98 
								
									
								
							
								 
							
						 
						
							
							
								
								vdoc: highlight terminal examples for `-comments -color` ( #13937 )  
							
							
							
						 
						
							2022-04-04 18:13:24 +03:00  
				
					
						
							
							
								 
						
							
							
								d10135e2c4 
								
									
								
							
								 
							
						 
						
							
							
								
								vdoc: HTML highlight generic function as function, not name ( #13923 )  
							
							
							
						 
						
							2022-04-03 23:41:02 +03:00  
				
					
						
							
							
								 
						
							
							
								782d5374c9 
								
									
								
							
								 
							
						 
						
							
							
								
								builtin: add an `array.drop(n)` method ( #13907 )  
							
							
							
						 
						
							2022-04-03 17:05:50 +03:00  
				
					
						
							
							
								 
						
							
							
								8c55a9ecd3 
								
									
								
							
								 
							
						 
						
							
							
								
								builtin: minor optimization of array.push() and array.push_noscan() ( #13904 )  
							
							
							
						 
						
							2022-04-03 11:04:18 +03:00  
				
					
						
							
							
								 
						
							
							
								42f92db0ab 
								
									
								
							
								 
							
						 
						
							
							
								
								v.doc: parse multi-line examples (so they get highlighted) ( #13894 )  
							
							
							
						 
						
							2022-04-02 18:29:12 +03:00  
				
					
						
							
							
								 
						
							
							
								a87cd9663e 
								
									
								
							
								 
							
						 
						
							
							
								
								vdoc: highlight inline examples for `-f html` ( #13879 )  
							
							
							
						 
						
							2022-03-31 19:32:32 +03:00  
				
					
						
							
							
								 
						
							
							
								02f72c8230 
								
									
								
							
								 
							
						 
						
							
							
								
								builtin: improve docs for array methods that take an `it` expression, like .map, .filter etc ( #13836 )  
							
							... 
							
							
							
							Move explanation about boolean `it` expressions to `filter`, as `sort`
doesn't take a boolean expression. Also move `any` example.
Add 2 filter examples.
Add map example from docs.md. 
							
						 
						
							2022-03-27 14:28:15 +03:00  
				
					
						
							
							
								 
						
							
							
								ea4410cdb5 
								
									
								
							
								 
							
						 
						
							
							
								
								builtin: document the rune.length_in_bytes method ( #13826 )  
							
							
							
						 
						
							2022-03-25 20:09:39 +02:00  
				
					
						
							
							
								 
						
							
							
								5b492e26dd 
								
									
								
							
								 
							
						 
						
							
							
								
								builtin: support a.flags.set(.noslices | .noshrink), use it in the particles example ( #13818 )  
							
							
							
						 
						
							2022-03-24 23:37:13 +02:00  
				
					
						
							
							
								 
						
							
							
								afbccf79f7 
								
									
								
							
								 
							
						 
						
							
							
								
								builtin: don't memdup element for `array.pop` (depends on how cgen works) ( #13789 )  
							
							... 
							
							
							
							The voidptr returned is immediately dereferenced in cgen so the memory
is copied before the array can be appended to: `*(int*)array_pop(&a)` 
							
						 
						
							2022-03-21 23:34:35 +02:00  
				
					
						
							
							
								 
						
							
							
								71edaa071a 
								
									
								
							
								 
							
						 
						
							
							
								
								builtin: use malloc, instead of calloc in array.ensure_cap/1  
							
							
							
						 
						
							2022-03-20 15:08:42 +02:00  
				
					
						
							
							
								 
						
							
							
								8ab0bcb6aa 
								
									
								
							
								 
							
						 
						
							
							
								
								Revert "builtin: improve performance for common array ops, based on VTune analysis"  
							
							... 
							
							
							
							This reverts commit 57db261538 
							
						 
						
							2022-03-20 12:57:27 +02:00  
				
					
						
							
							
								 
						
							
							
								57db261538 
								
									
								
							
								 
							
						 
						
							
							
								
								builtin: improve performance for common array ops, based on VTune analysis  
							
							
							
						 
						
							2022-03-20 12:42:04 +02:00  
				
					
						
							
							
								 
						
							
							
								49155ec312 
								
									
								
							
								 
							
						 
						
							
							
								
								parser: notice unnecessary parenthesis of reference ( fix   #11179 ) ( #13739 )  
							
							
							
						 
						
							2022-03-15 16:11:53 +02:00  
				
					
						
							
							
								 
						
							
							
								78b1cbefff 
								
									
								
							
								 
							
						 
						
							
							
								
								builtin.wasm_bare: fix malloc invocation ( #13740 )  
							
							
							
						 
						
							2022-03-15 12:55:39 +02:00  
				
					
						
							
							
								 
						
							
							
								c8b0f51c13 
								
									
								
							
								 
							
						 
						
							
							
								
								builtin.wasm_bare: use walloc as malloc/free implementation ( #13731 )  
							
							
							
						 
						
							2022-03-14 09:20:20 +02:00  
				
					
						
							
							
								 
						
							
							
								8dc4b1d9a3 
								
									
								
							
								 
							
						 
						
							
							
								
								builtin: use malloc_noscan more (for map metas and in []byte.hex())  
							
							
							
						 
						
							2022-03-11 11:26:22 +02:00  
				
					
						
							
							
								 
						
							
							
								7231a3f135 
								
									
								
							
								 
							
						 
						
							
							
								
								vlib: add `mut` for the first parameter of builtin.copy, arrays.copy and crypto ( #13702 )  
							
							
							
						 
						
							2022-03-09 20:26:00 +02:00  
				
					
						
							
							
								 
						
							
							
								54de04a916 
								
									
								
							
								 
							
						 
						
							
							
								
								arrays: improve fold/reduce docs ( #13700 )  
							
							
							
						 
						
							2022-03-09 20:04:49 +02:00  
				
					
						
							
							
								 
						
							
							
								17fcc788f2 
								
									
								
							
								 
							
						 
						
							
							
								
								arrays: add generic copy fn ( #13677 )  
							
							
							
						 
						
							2022-03-08 09:44:04 +02:00  
				
					
						
							
							
								 
						
							
							
								36ec47cd20 
								
							
								 
							
						 
						
							
							
								
								all: replace "NB:" with "Note:" (docs/comments)  
							
							
							
						 
						
							2022-03-06 20:01:22 +03:00  
				
					
						
							
							
								 
						
							
							
								89b99ad4c3 
								
									
								
							
								 
							
						 
						
							
							
								
								scanner: remove the restriction for \x00 in strings ( #13493 )  
							
							
							
						 
						
							2022-02-16 23:41:05 +02:00  
				
					
						
							
							
								 
						
							
							
								9c24d09dc3 
								
									
								
							
								 
							
						 
						
							
							
								
								strconv: bug fix for "${239.5:0.0f}" ( #13483 )  
							
							
							
						 
						
							2022-02-16 11:33:29 +03:00  
				
					
						
							
							
								 
						
							
							
								37c151efe5 
								
									
								
							
								 
							
						 
						
							
							
								
								docs, builtin, encoding.csv: update error implementations ( #13440 )  
							
							
							
						 
						
							2022-02-12 11:54:10 +02:00  
				
					
						
							
							
								 
						
							
							
								9d0a5942ac 
								
									
								
							
								 
							
						 
						
							
							
								
								builtin: change IError `msg` and `code` to methods + fix vlib, add a deprecation notice for the old usages ( #13041 )  
							
							
							
						 
						
							2022-02-11 15:52:33 +02:00  
				
					
						
							
							
								 
						
							
							
								7f29418c63 
								
									
								
							
								 
							
						 
						
							
							
								
								strconv: change atof64 to return an error, if the parsed value is not a valid number ( #13424 )  
							
							
							
						 
						
							2022-02-10 13:27:32 +02:00  
				
					
						
							
							
								 
						
							
							
								1dc239227d 
								
									
								
							
								 
							
						 
						
							
							
								
								docs, builtin: clean up the homepage of modules.vlang.io a little, do not use //==== comments for now in builtin  
							
							
							
						 
						
							2022-02-06 23:51:40 +02:00  
				
					
						
							
							
								 
						
							
							
								9344c27021 
								
									
								
							
								 
							
						 
						
							
							
								
								builtin: save a call to array.ensure_cap in array.insert, array.push, array.push_many in most cases  
							
							
							
						 
						
							2022-02-02 11:01:07 +02:00  
				
					
						
							
							
								 
						
							
							
								96c8188083 
								
									
								
							
								 
							
						 
						
							
							
								
								builtin: fix warnings for tests inside vlib/builtin/js  
							
							
							
						 
						
							2022-01-30 16:36:56 +02:00  
				
					
						
							
							
								 
						
							
							
								44dddecc09 
								
									
								
							
								 
							
						 
						
							
							
								
								builtin: use a pure V version of string.to_wide() on != windows ( #13314 )  
							
							
							
						 
						
							2022-01-28 20:41:50 +02:00  
				
					
						
							
							
								 
						
							
							
								ceb05b163a 
								
									
								
							
								 
							
						 
						
							
							
								
								strings: rename Builder.write_b() to Builder.write_byte(), add deprecation ( #13313 )  
							
							
							
						 
						
							2022-01-28 20:34:44 +02:00  
				
					
						
							
							
								 
						
							
							
								469282b20d 
								
									
								
							
								 
							
						 
						
							
							
								
								builtin: cleanup [trusted] tags for C function declarations  
							
							
							
						 
						
							2022-01-25 19:31:40 +02:00  
				
					
						
							
							
								 
						
							
							
								4715fb67c1 
								
							
								 
							
						 
						
							
							
								
								checker: c2v fixes for enums and pointer to numbers  
							
							
							
						 
						
							2022-01-25 20:15:45 +03:00  
				
					
						
							
							
								 
						
							
							
								216a505c2a 
								
							
								 
							
						 
						
							
							
								
								builtin: more libc fn definitions  
							
							
							
						 
						
							2022-01-24 06:14:31 +03:00  
				
					
						
							
							
								 
						
							
							
								38d3239b50 
								
							
								 
							
						 
						
							
							
								
								checker: c2v fixes  
							
							
							
						 
						
							2022-01-19 15:26:24 +03:00  
				
					
						
							
							
								 
						
							
							
								727c9fb4a1 
								
									
								
							
								 
							
						 
						
							
							
								
								all: add string range OrExpr ( #13189 )  
							
							
							
						 
						
							2022-01-17 13:03:10 +03:00  
				
					
						
							
							
								 
						
							
							
								f19197f9b0 
								
									
								
							
								 
							
						 
						
							
							
								
								builtin: make array.insert_many and array.prepend_many private ( #13172 )  
							
							
							
						 
						
							2022-01-14 19:47:17 +02:00  
				
					
						
							
							
								 
						
							
							
								9329b6c8c8 
								
									
								
							
								 
							
						 
						
							
							
								
								builtin: add more documentation ( #13160 )  
							
							
							
						 
						
							2022-01-14 17:27:38 +02:00  
				
					
						
							
							
								 
						
							
							
								70aedaf184 
								
									
								
							
								 
							
						 
						
							
							
								
								builtin: add a string.parse_int/2 method (wrapping strconv.parse_int/3) ( #13164 )  
							
							
							
						 
						
							2022-01-14 00:31:11 +02:00  
				
					
						
							
							
								 
						
							
							
								4189b7e280 
								
									
								
							
								 
							
						 
						
							
							
								
								builtin: add a `byterune` method on `[]byte` ( #13145 )  
							
							
							
						 
						
							2022-01-13 22:26:17 +02:00  
				
					
						
							
							
								 
						
							
							
								ecc7accc8e 
								
									
								
							
								 
							
						 
						
							
							
								
								tests: test with valgrind rune.bytes(), fix leak in .str_escaped()  
							
							
							
						 
						
							2022-01-11 15:23:40 +02:00  
				
					
						
							
							
								 
						
							
							
								8acd84d04a 
								
									
								
							
								 
							
						 
						
							
							
								
								builtin: reduce allocations in `rune.bytes()`  
							
							
							
						 
						
							2022-01-11 15:23:39 +02:00  
				
					
						
							
							
								 
						
							
							
								cb684b5c64 
								
									
								
							
								 
							
						 
						
							
							
								
								builtin: allow msvc users to link against a custom compiled Boehm library ( #13133 )  
							
							
							
						 
						
							2022-01-11 15:23:21 +02:00  
				
					
						
							
							
								 
						
							
							
								078229f213 
								
									
								
							
								 
							
						 
						
							
							
								
								builtin: add a rune.bytes() convenience method ( #13129 )  
							
							
							
						 
						
							2022-01-11 09:55:51 +02:00  
				
					
						
							
							
								 
						
							
							
								5e5d62ed4c 
								
									
								
							
								 
							
						 
						
							
							
								
								arrays,docs: remove arrays.zip; improve docs ( #13082 )  
							
							
							
						 
						
							2022-01-09 16:12:33 +02:00  
				
					
						
							
							
								 
						
							
							
								6e6d51a1c9 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: add more documentation to each of the modules in vlib ( #13043 )  
							
							
							
						 
						
							2022-01-07 13:28:50 +02:00  
				
					
						
							
							
								 
						
							
							
								287331bc19 
								
									
								
							
								 
							
						 
						
							
							
								
								builtin: add builtin/wasm_bare  ( #13078 )  
							
							
							
						 
						
							2022-01-07 13:16:06 +02:00  
				
					
						
							
							
								 
						
							
							
								ec91de3504 
								
									
								
							
								 
							
						 
						
							
							
								
								builtin: use dlmalloc for `-freestanding` ( #13054 )  
							
							
							
						 
						
							2022-01-06 14:10:37 +02:00  
				
					
						
							
							
								 
						
							
							
								a60b381d5e 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: adding skeleton README.md files for all vlib modules ( #13034 )  
							
							
							
						 
						
							2022-01-05 18:06:08 +02:00