10f22ecc27 
								
									
								
							
								 
							
						 
						
							
							
								
								add ResizingPanel class and autolayout for Panels ( #2086 )  
							
							... 
							
							
							
							* add autolayout for Panels and new ResizingPanel 
							
						 
						
							2022-04-11 18:25:00 -07:00  
				
					
						
							
							
								 
						
							
							
								e6299700bf 
								
									
								
							
								 
							
						 
						
							
							
								
								Handle punctuation in FilteredList filter matching ( #2085 )  
							
							... 
							
							
							
							* allow punctuation to be typed into a filter
and allow the filter to match keys with punctuation 
							
						 
						
							2022-04-11 18:22:31 -07:00  
				
					
						
							
							
								 
						
							
							
								4a383b1c84 
								
							
								 
							
						 
						
							
							
								
								handle number-indexed lua maps in safe_index  
							
							
							
						 
						
							2022-04-11 18:02:57 -07:00  
				
					
						
							
							
								 
						
							
							
								4f9608da13 
								
									
								
							
								 
							
						 
						
							
							
								
								Document and update argparse module ( #2089 )  
							
							... 
							
							
							
							also add unit tests and use new string fns in processArgs and allow it to recognize parameters with two dashes instead of just one 
							
						 
						
							2022-04-11 16:16:55 -07:00  
				
					
						
							
							
								 
						
							
							
								9a8fd12785 
								
									
								
							
								 
							
						 
						
							
							
								
								ensure ListBoxes always have enough height ( #2084 )  
							
							... 
							
							
							
							so they can always display an error message if the filter doesn't match anything 
							
						 
						
							2022-04-11 16:15:50 -07:00  
				
					
						
							
							
								 
						
							
							
								96b5b4420b 
								
									
								
							
								 
							
						 
						
							
							
								
								Add string:escape_pattern() utility function ( #2082 )  
							
							... 
							
							
							
							* add string:escape_pattern() to dfhack.lua
stolen from devel/query.lua. will migrate scripts to use the common implementation later 
							
						 
						
							2022-04-10 21:18:01 -07:00  
				
					
						
							
							
								 
						
							
							
								db5e7d55c1 
								
							
								 
							
						 
						
							
							
								
								fix guidm.enterSidebarMode(DesignateMine)  
							
							... 
							
							
							
							it would end up in DesignateChopTrees if you happened to be looking at
the surface z-level. 
							
						 
						
							2022-03-28 16:57:24 -07:00  
				
					
						
							
							
								 
						
							
							
								19c0a4fe06 
								
									
								
							
								 
							
						 
						
							
							
								
								Added (chain) for [CHAIN_METAL_TEXT] armours in library/gui/materials.lua used by the gui/create-item script ( #2037 )  
							
							
							
						 
						
							2022-03-19 15:32:16 -07:00  
				
					
						
							
							
								 
						
							
							
								faa2410058 
								
							
								 
							
						 
						
							
							
								
								fix typos in argparse  
							
							
							
						 
						
							2022-02-18 14:54:45 -08:00  
				
					
						
							
							
								 
						
							
							
								e531346968 
								
							
								 
							
						 
						
							
							
								
								make a (shallow) copy of table params  
							
							... 
							
							
							
							this improves introspection capabilities since the table is snapshotted
at the time of the mock call 
							
						 
						
							2022-02-18 13:33:08 -08:00  
				
					
						
							
							
								 
						
							
							
								42ae45dd5f 
								
							
								 
							
						 
						
							
							
								
								support designate for enterSidebarMode  
							
							
							
						 
						
							2021-10-02 09:26:32 -07:00  
				
					
						
							
							
								 
						
							
							
								ecdfca89d1 
								
							
								 
							
						 
						
							
							
								
								support nil to indicate no short param name  
							
							
							
						 
						
							2021-09-25 22:00:49 -07:00  
				
					
						
							
							
								 
						
							
							
								fc556c9e5d 
								
							
								 
							
						 
						
							
							
								
								implement non-alias long form params  
							
							... 
							
							
							
							now long form parameters can exist by themselves without being an alias
for a required equivalent short form param 
							
						 
						
							2021-09-25 22:00:49 -07:00  
				
					
						
							
							
								 
						
							
							
								d5be63823d 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge remote-tracking branch 'TymurGubayev/patch-1' into develop  
							
							
							
						 
						
							2021-08-31 00:55:36 -04:00  
				
					
						
							
							
								 
						
							
							
								691e54dfc6 
								
									
								
							
								 
							
						 
						
							
							
								
								rename expect.find to expect.str_find  
							
							
							
						 
						
							2021-08-24 21:06:12 -07:00  
				
					
						
							
							
								 
						
							
							
								b2f44f00f1 
								
									
								
							
								 
							
						 
						
							
							
								
								add pattern matching expect.find() for unit tests  
							
							... 
							
							
							
							settled on `find()` since the string method of the same name has the
same semantics. other options: `str_find()` since it fails on non-string
or `match()` (but that might imply that the pattern needs to match the
entire string). 
							
						 
						
							2021-08-23 22:59:30 -07:00  
				
					
						
							
							
								 
						
							
							
								10db894d99 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge remote-tracking branch 'myk002/myk_printall_nontable' into develop  
							
							
							
						 
						
							2021-08-21 22:51:35 -04:00  
				
					
						
							
							
								 
						
							
							
								d4e40b260e 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge remote-tracking branches 'TymurGubayev/patch-2' and 'TymurGubayev/patch-3' into develop  
							
							
							
						 
						
							2021-08-21 11:30:36 -04:00  
				
					
						
							
							
								 
						
							
							
								ca8d89df5a 
								
									
								
							
								 
							
						 
						
							
							
								
								alt_getopt.lua: allow `?` as an option  
							
							... 
							
							
							
							This makes it possible to call `script -?` 
							
						 
						
							2021-08-21 13:39:10 +02:00  
				
					
						
							
							
								 
						
							
							
								bd423ca47c 
								
									
								
							
								 
							
						 
						
							
							
								
								argparse.lua: `hasArgument` in a comment refers to `hasArg` everywhere else  
							
							
							
						 
						
							2021-08-21 13:27:09 +02:00  
				
					
						
							
							
								 
						
							
							
								86b2329b7f 
								
									
								
							
								 
							
						 
						
							
							
								
								fix hardcoded call to pairs, add test  
							
							
							
						 
						
							2021-08-20 22:55:07 -07:00  
				
					
						
							
							
								 
						
							
							
								d9c6c2dde3 
								
									
								
							
								 
							
						 
						
							
							
								
								add safe_pairs, update unit tests  
							
							
							
						 
						
							2021-08-19 21:57:16 -07:00  
				
					
						
							
							
								 
						
							
							
								6d0f7e40a9 
								
									
								
							
								 
							
						 
						
							
							
								
								be silent if iteration fails for printall  
							
							
							
						 
						
							2021-08-19 21:57:16 -07:00  
				
					
						
							
							
								 
						
							
							
								3f2795e80a 
								
									
								
							
								 
							
						 
						
							
							
								
								unit tests first draft  
							
							
							
						 
						
							2021-08-19 21:56:44 -07:00  
				
					
						
							
							
								 
						
							
							
								9fc71ef6e1 
								
									
								
							
								 
							
						 
						
							
							
								
								printall and printall_ipairs handle all iterables  
							
							
							
						 
						
							2021-08-19 21:56:43 -07:00  
				
					
						
							
							
								 
						
							
							
								4606d5742e 
								
									
								
							
								 
							
						 
						
							
							
								
								ensure printall, ~, and @ behave in lua 5.3.6  
							
							
							
						 
						
							2021-08-19 21:56:41 -07:00  
				
					
						
							
							
								 
						
							
							
								e8d9a9d184 
								
									
								
							
								 
							
						 
						
							
							
								
								Fix out-of-bounds access in memscan.field_offset()  
							
							... 
							
							
							
							Fixes  #1907  
						
							2021-08-10 11:26:06 -04:00  
				
					
						
							
							
								 
						
							
							
								15d8a0bea2 
								
									
								
							
								 
							
						 
						
							
							
								
								rename `dismiss_on_submit|2` to `dismiss_on_select|2`  
							
							... 
							
							
							
							to avoid confusion 
							
						 
						
							2021-07-30 17:25:01 +02:00  
				
					
						
							
							
								 
						
							
							
								ffecdf3b53 
								
									
								
							
								 
							
						 
						
							
							
								
								ListBox attributes controlling self:dismiss()  
							
							... 
							
							
							
							`dismiss_on_submit = false` makes it easier to implement toggleable options, where we don't want the list to disappear on selection. Like work order conditions' trait selection. 
							
						 
						
							2021-07-29 19:00:19 +02:00  
				
					
						
							
							
								 
						
							
							
								898d4621da 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge remote-tracking branch 'myk002/myk_view_unit' into develop  
							
							
							
						 
						
							2021-07-05 20:42:49 -04:00  
				
					
						
							
							
								 
						
							
							
								87c7d02e09 
								
									
								
							
								 
							
						 
						
							
							
								
								support view unit mode for guidm.enterSidebarMode  
							
							
							
						 
						
							2021-07-05 16:02:19 -07:00  
				
					
						
							
							
								 
						
							
							
								17d4be14f3 
								
									
								
							
								 
							
						 
						
							
							
								
								fix formatting of coords error message  
							
							
							
						 
						
							2021-07-05 16:01:07 -07:00  
				
					
						
							
							
								 
						
							
							
								f62ff3ecc0 
								
									
								
							
								 
							
						 
						
							
							
								
								migrate existing lua code to use new library fns  
							
							
							
						 
						
							2021-07-05 15:48:51 -07:00  
				
					
						
							
							
								 
						
							
							
								2f36404da7 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge remote-tracking branch 'origin/lua_label_input_fix' into develop  
							
							
							
						 
						
							2021-07-05 15:42:06 -04:00  
				
					
						
							
							
								 
						
							
							
								3e6cecbbc6 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge remote-tracking branch 'myk002/myk_argparse' into develop  
							
							
							
						 
						
							2021-07-05 15:21:59 -04:00  
				
					
						
							
							
								 
						
							
							
								fb7560d8bf 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge remote-tracking branch 'wolfboyft/patch-2' into develop  
							
							
							
						 
						
							2021-07-05 11:41:37 -04:00  
				
					
						
							
							
								 
						
							
							
								0ef5134a33 
								
									
								
							
								 
							
						 
						
							
							
								
								add optional coordinate validation to coords  
							
							
							
						 
						
							2021-07-04 07:32:29 -07:00  
				
					
						
							
							
								 
						
							
							
								56a1c8b4d5 
								
									
								
							
								 
							
						 
						
							
							
								
								coordinates can be 0  
							
							
							
						 
						
							2021-07-03 16:26:39 -07:00  
				
					
						
							
							
								 
						
							
							
								3a8f564cd2 
								
									
								
							
								 
							
						 
						
							
							
								
								forward old processArgs fns to new locations  
							
							
							
						 
						
							2021-07-02 23:21:40 -07:00  
				
					
						
							
							
								 
						
							
							
								9535ff82bb 
								
									
								
							
								 
							
						 
						
							
							
								
								add argparse library functions  
							
							
							
						 
						
							2021-07-02 23:11:17 -07:00  
				
					
						
							
							
								 
						
							
							
								36b2d05ff6 
								
									
								
							
								 
							
						 
						
							
							
								
								add dfhack string functions and tests  
							
							... 
							
							
							
							added string:split
added string:trim
added a default value for wrap width
added function comments
added tests for all string functions (the tests for string:split will be commented out until we remove the competing implementation in gui/load-screen 
							
						 
						
							2021-07-02 13:21:54 -07:00  
				
					
						
							
							
								 
						
							
							
								eafa6e86f7 
								
									
								
							
								 
							
						 
						
							
							
								
								add utils.normalizePath()  
							
							
							
						 
						
							2021-06-29 12:22:05 -07:00  
				
					
						
							
							
								 
						
							
							
								e070f4d9d8 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge remote-tracking branch 'myk002/myk_sidebar' into develop  
							
							
							
						 
						
							2021-06-28 01:03:13 -04:00  
				
					
						
							
							
								 
						
							
							
								4945018e92 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge remote-tracking branch 'myk002/myk_multi_mock' into develop  
							
							
							
						 
						
							2021-06-25 01:27:46 -04:00  
				
					
						
							
							
								 
						
							
							
								1b167e7898 
								
									
								
							
								 
							
						 
						
							
							
								
								Also add quotes in expect.ne()  
							
							... 
							
							
							
							Extension of #1886  
							
						 
						
							2021-06-24 01:15:15 -04:00  
				
					
						
							
							
								 
						
							
							
								72998cddd5 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge remote-tracking branch 'myk002/myk_expect_quotes' into develop  
							
							
							
						 
						
							2021-06-24 01:11:21 -04:00  
				
					
						
							
							
								 
						
							
							
								67840c033c 
								
									
								
							
								 
							
						 
						
							
							
								
								add quotes around printed unequal values  
							
							... 
							
							
							
							so you can see confusing hidden trailing spaces 
							
						 
						
							2021-06-23 14:04:16 -07:00  
				
					
						
							
							
								 
						
							
							
								5b12c64cba 
								
									
								
							
								 
							
						 
						
							
							
								
								add new string function: wrap()  
							
							... 
							
							
							
							refactored and improved from the implementation in quickfort's dialog.lua 
							
						 
						
							2021-06-23 13:59:39 -07:00  
				
					
						
							
							
								 
						
							
							
								000b589e3a 
								
									
								
							
								 
							
						 
						
							
							
								
								add dwarfmode library function: enterSidebarMode()  
							
							... 
							
							
							
							refactored from quickfort. this common implementation will replace the
now redundant functions in quickfort, gui/mass-remove, and gui/blueprint 
							
						 
						
							2021-06-23 12:29:37 -07:00  
				
					
						
							
							
								 
						
							
							
								b7069a5ebd 
								
									
								
							
								 
							
						 
						
							
							
								
								Fix label early key detection in scrolling logic  
							
							... 
							
							
							
							Current logic is because @myk002 fixed it so label would allow other widgets control when label(s) are present. However that breaks label key detection for default scroll keys. This can be worked around by setting scrollkeys to empty.
TBH: label is quite complicated and used everwhere so i'm reluctant to touch it and would love for someone to look over if i'm correct. 
							
						 
						
							2021-06-22 11:31:00 +03:00