Brendan Hansknecht 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								e551e59c1c 
								
							 
						 
						
							
							
								
								refactor string reallocation  
							
							
							
						 
						
							2022-10-11 07:56:34 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Brendan Hansknecht 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								96b5d365b2 
								
							 
						 
						
							
							
								
								Add capacity growth to RocStr  
							
							... 
							
							
							
							Also, cleans up the alloc and realloc api for both list and str.
Updates Str.reserve to match List.reserve 
							
						 
						
							2022-10-10 22:24:55 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Brendan Hansknecht 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								fdafac4323 
								
							 
						 
						
							
							
								
								Remove RocResult from utils.zig  
							
							... 
							
							
							
							It is implemented wrong and not used anywhere 
							
						 
						
							2022-10-10 08:25:59 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Folkert 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								e62ab00c65 
								
							 
						 
						
							
							
								
								Merge remote-tracking branch 'origin/main' into roc-dev-inline-expects  
							
							
							
						 
						
							2022-10-09 18:46:57 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Richard Feldman 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								5dafad506e 
								
							 
						 
						
							
							
								
								Merge pull request  #4240  from roc-lang/list-growth  
							
							... 
							
							
							
							List growth 
							
						 
						
							2022-10-08 23:58:49 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Brendan Hansknecht 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								aca6f2a8f1 
								
							 
						 
						
							
							
								
								add todo around improving performance  
							
							
							
						 
						
							2022-10-08 07:53:50 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Brendan Hansknecht 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								8269986113 
								
							 
						 
						
							
							
								
								remove comment on zero width types.  
							
							... 
							
							
							
							They should not affect the normal case. It is better they affect the capacity calculation 
							
						 
						
							2022-10-08 07:53:33 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Brendan Hansknecht 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								eca4682787 
								
							 
						 
						
							
							
								
								deal with zero element_width  
							
							... 
							
							
							
							That being said, this only affects wasm.
So wasm probably should be handling zero element lists in a smarter way. 
							
						 
						
							2022-10-07 17:58:48 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Brendan Hansknecht 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								557ee69557 
								
							 
						 
						
							
							
								
								fix minor typo  
							
							
							
						 
						
							2022-10-07 17:11:46 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Brendan Hansknecht 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								1665f7160d 
								
							 
						 
						
							
							
								
								Fix bug in reallocate  
							
							
							
						 
						
							2022-10-07 17:11:33 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Prajwal S N 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								9013e4ce11 
								
							 
						 
						
							
							
								
								builtin(str): implement withCapacity  
							
							... 
							
							
							
							Signed-off-by: Prajwal S N <prajwalnadig21@gmail.com> 
							
						 
						
							2022-10-08 00:24:46 +05:30 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Brendan Hansknecht 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								d06966392f 
								
							 
						 
						
							
							
								
								Add smarter list capacity growth calculations  
							
							
							
						 
						
							2022-10-07 08:59:32 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Folkert 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								8c4a2f58fc 
								
							 
						 
						
							
							
								
								working expects in roc dev  
							
							
							
						 
						
							2022-10-05 22:17:40 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Brendan Hansknecht 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								4ebe1b2bce 
								
							 
						 
						
							
							
								
								Avoid allocating a new list when calling List.sublist  
							
							
							
						 
						
							2022-10-05 08:11:02 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Folkert 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								9106479d07 
								
							 
						 
						
							
							
								
								access out of bounds in string split  
							
							
							
						 
						
							2022-09-28 15:17:07 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Folkert 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								f44a30cf48 
								
							 
						 
						
							
							
								
								fix off-by-one error in List.dropAt  
							
							
							
						 
						
							2022-09-28 14:57:55 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jan Van Bruggen 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								26a1abfea8 
								
							 
						 
						
							
							
								
								Add blank lines around lists  
							
							... 
							
							
							
							See https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md#md032  
							
						 
						
							2022-09-07 23:18:03 -06:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Folkert de Vries 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								33ae4c2655 
								
							 
						 
						
							
							
								
								Merge branch 'main' into windows-surgical-dll  
							
							... 
							
							
							
							Signed-off-by: Folkert de Vries <folkert@folkertdev.nl> 
							
						 
						
							2022-09-05 11:31:19 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Brian Carroll 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								173343eea2 
								
							 
						 
						
							
							
								
								builtins: relax condition for reusing an allocation  
							
							
							
						 
						
							2022-09-04 14:37:42 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Brian Carroll 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								b1b28650e9 
								
							 
						 
						
							
							
								
								builtins: Avoid reallocating Lists when they have enough capacity  
							
							
							
						 
						
							2022-09-04 14:37:42 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Brian Carroll 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								0423e5650f 
								
							 
						 
						
							
							
								
								builtins: remove some redundant small string checks in strToBytes  
							
							
							
						 
						
							2022-09-04 14:37:42 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Brian Carroll 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								32b815847e 
								
							 
						 
						
							
							
								
								builtins: Remove old incorrect comment about isSmallStr and add a test to make sure  
							
							
							
						 
						
							2022-09-04 14:37:42 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Folkert 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								42ef5d1977 
								
							 
						 
						
							
							
								
								build a builtins .obj file for windows cross-compilation  
							
							
							
						 
						
							2022-08-30 13:49:47 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Richard Feldman 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								7e3a10906c 
								
							 
						 
						
							
							
								
								Merge pull request  #3888  from roc-lang/windows-cross-compilation  
							
							... 
							
							
							
							windows cross compilation 
							
						 
						
							2022-08-27 07:59:05 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Folkert 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								8ca7ee1e14 
								
							 
						 
						
							
							
								
								build zig builtins for windows  
							
							
							
						 
						
							2022-08-24 16:59:06 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Folkert 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								a22e04361c 
								
							 
						 
						
							
							
								
								Merge remote-tracking branch 'origin/main' into expect-fx-codegen  
							
							
							
						 
						
							2022-08-23 16:28:21 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Anton-4 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								9a715a0d4b 
								
							 
						 
						
							
							
								
								improve comments zig tests, set up zig tests in CI  
							
							
							
						 
						
							2022-08-19 17:14:49 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Folkert 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								3aa4ebb02f 
								
							 
						 
						
							
							
								
								get expect-fx to actually run  
							
							
							
						 
						
							2022-08-12 23:03:01 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Richard Feldman 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								97e2900bf5 
								
							 
						 
						
							
							
								
								s/rtfeldman/roc-lang/g in links to GitHub repos  
							
							
							
						 
						
							2022-08-12 15:24:09 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Anton-4 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								720f02372c 
								
							 
						 
						
							
							
								
								use most compatible bash shebang  
							
							
							
						 
						
							2022-08-12 11:45:02 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Brendan Hansknecht 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								ca8b052094 
								
							 
						 
						
							
							
								
								switch to wrapping subtract since it is safe here  
							
							
							
						 
						
							2022-08-01 22:32:43 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Brendan Hansknecht 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								afaf59a050 
								
							 
						 
						
							
							
								
								change refcounts to assume overflows are impossible  
							
							
							
						 
						
							2022-08-01 22:32:43 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Folkert 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								1bfac155ca 
								
							 
						 
						
							
							
								
								implement expect struct reporting  
							
							
							
						 
						
							2022-07-28 16:47:02 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Folkert de Vries 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								66365fba6e 
								
							 
						 
						
							
							
								
								Merge pull request  #3649  from rtfeldman/3640-str-split-edge-case  
							
							... 
							
							
							
							Fix `Str.split` edge case when string and delimiter are equal 
							
						 
						
							2022-07-28 11:30:40 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									raleng 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								c7997c7c38 
								
							 
						 
						
							
							
								
								Fix formatting  
							
							
							
						 
						
							2022-07-28 01:57:01 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									raleng 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								17fc1a297c 
								
							 
						 
						
							
							
								
								Fix Str.split when string equals delimiter  
							
							... 
							
							
							
							countSegments and strSplitHelp check whether the length of the string is
strictly greater-than the length of the delimiter, skipping most of the
logic when this is not the case.
Changing the check to a greater-than-or-equal allows for the case when
the string and the delimiter are equal, giving the expected result of
["", ""]. 
							
						 
						
							2022-07-28 01:36:02 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									raleng 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								71e83746cc 
								
							 
						 
						
							
							
								
								add countSegments test case  
							
							... 
							
							
							
							The test ensures countSegments returns a count of two when the string
and the delimiter are equal. The expected result of Str.split in that
case is ["", ""]. 
							
						 
						
							2022-07-28 01:35:08 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									raleng 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								261ff3224d 
								
							 
						 
						
							
							
								
								Add strSplitHelp test cases  
							
							... 
							
							
							
							Add a test for the case when the string starts with the delimiter, and
when the string and the delimiter are equal. 
							
						 
						
							2022-07-28 01:34:20 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Folkert 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								8e5b0daa94 
								
							 
						 
						
							
							
								
								figured out how to serialize nested structures  
							
							
							
						 
						
							2022-07-27 23:52:11 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Folkert 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								e62a0ee39a 
								
							 
						 
						
							
							
								
								make string clone return where next extra bytes should be written  
							
							
							
						 
						
							2022-07-27 22:48:41 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Folkert 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								f7452b8889 
								
							 
						 
						
							
							
								
								pass the shared buffer to zig directly  
							
							
							
						 
						
							2022-07-27 17:16:12 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Folkert 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								498004c554 
								
							 
						 
						
							
							
								
								clean up expect code when not running tests  
							
							
							
						 
						
							2022-07-27 12:26:03 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Folkert 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								40d7e94a17 
								
							 
						 
						
							
							
								
								make the mmapped buffer configurable  
							
							
							
						 
						
							2022-07-26 23:36:25 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Folkert 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								6d0e751999 
								
							 
						 
						
							
							
								
								fix bug in expect handling on the cli side  
							
							
							
						 
						
							2022-07-25 22:37:36 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Folkert 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								012c6a75d1 
								
							 
						 
						
							
							
								
								simplify RocStr to array in zig  
							
							
							
						 
						
							2022-07-24 11:50:28 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Folkert 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								ab3a431db7 
								
							 
						 
						
							
							
								
								add string cloning helper  
							
							
							
						 
						
							2022-07-23 00:08:01 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Richard Feldman 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								7e446d1b0d 
								
							 
						 
						
							
							
								
								Eliminate @memcpy from Str.trim functions  
							
							
							
						 
						
							2022-07-18 10:28:53 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Folkert 
								
							 
						 
						
							
							
							
							
								
							
							
								b9ebd4fa27 
								
							 
						 
						
							
							
								
								Merge remote-tracking branch 'origin/trunk' into pretty-expect-output  
							
							
							
						 
						
							2022-07-15 09:12:04 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Folkert de Vries 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								1b1b63aad0 
								
							 
						 
						
							
							
								
								Merge branch 'trunk' into assoc-list-dict  
							
							
							
						 
						
							2022-07-14 16:47:50 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Richard Feldman 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								da7c7ac5f2 
								
							 
						 
						
							
							
								
								Merge pull request  #3525  from rtfeldman/3522  
							
							... 
							
							
							
							Num.toStr for f32, f64, Dec 
							
						 
						
							2022-07-13 21:30:05 -04:00