Commit Graph

15207 Commits

Author SHA1 Message Date
adelikat 5e73c7c536 lua - update memory documentation to mention it defaults to system bus, fixes #1675 2019-12-02 20:48:38 -06:00
adelikat a54b2eaf06 some cleanup 2019-12-02 20:36:40 -06:00
adelikat 6640146c0a InputRoll - add a flag for whether the control can be toggled into HorizontalOrientation, and only enable it on tastudio 2019-12-02 20:29:29 -06:00
adelikat d687babb41 TAStudio - expose Horizontal Orientation in non-developer builds 2019-12-02 20:23:14 -06:00
adelikat c050a377d8 WatchList - flag changes when doing column sort 2019-12-02 20:11:35 -06:00
adelikat 92bf482609 input roll - cleanup 2019-12-02 20:08:03 -06:00
adelikat 9b69a4a1fc inputroll - simplify 2019-12-02 20:04:37 -06:00
adelikat 3010cf3a3d InputRoll - don't allow resizing columns to a negative width 2019-12-02 19:58:32 -06:00
adelikat f1d688f7bb IControlRenderer - simplify api 2019-12-02 19:53:09 -06:00
adelikat 230cc676c3 IControlRenderer - Simplify API 2019-12-02 19:48:57 -06:00
adelikat cb9b28514c GDIPlusRenderer - use the Rect overload of drawstring to control overflow instead of attemtping ot calculate it. Fixes the cutoff being way off on larger columns, and also gives a rather noticeable speed boost to tastudio 2019-12-02 19:43:41 -06:00
adelikat c6c92c51c7 Change IControlRenderer.MeasureString to return a SizeF instead of Size, for more accurate reporting, it was Size because that's what the GDI renderer did, but if we ever needed that again, we can easily convert to SizeF 2019-12-02 18:38:24 -06:00
Zach 0e055ecb5a Merge branch 'master' into watch-separator-sorting 2019-12-02 16:38:01 -08:00
Zach e621876453 Replaced LINQ query with for loop.
Upon reflection, the query looked nice, but was inferior to a plain for loop because it would have to create n anonymous objects to process the list, even with LINQ's filtering optimization, due to select preceding where.
2019-12-02 16:37:55 -08:00
adelikat 79d06bcb4a Fix LoadRamWatch logic, was always attempting to load it even when it was already loaded. Worse was that it was autoloading watch files anytime something interacted with it like the "add to ram watch" feature in ram search 2019-12-02 17:19:58 -06:00
adelikat 44621446b1 Ram Search - deselect watches when removing them with the delete key 2019-12-02 17:07:14 -06:00
YoshiRulz 1d7b1b49ee
Improve logging in shader compilation (resolves #1748) 2019-12-03 03:03:38 +10:00
feos a5c3a4aee0 reorder lua console log context menus 2019-12-02 18:36:04 +03:00
adelikat f66e427ccb InputRoll - fix bug where scrollbars are incorrectly calculated before the rowcount changes instead of after 2019-12-01 18:08:22 -06:00
adelikat 52db5ac848 cleanups 2019-12-01 18:05:20 -06:00
adelikat b54904028e Record dialog - fix padding of Ok/Cancel buttons 2019-12-01 16:13:14 -06:00
adelikat 2e4391cba3 Ram Search - fix shortcut key display of "Add to Ram Watch" showed Ctrl+R instead of Ctrl+W 2019-12-01 16:04:13 -06:00
adelikat 7b23c5aee8 some cleanup in some lua files 2019-11-30 11:28:56 -06:00
adelikat d2ff9b6ff0 cleanup PresentationPanel.cs 2019-11-30 10:46:05 -06:00
adelikat 2d65d2b66a Remove unused Lua/SyncTextBox 2019-11-30 10:12:33 -06:00
alyosha-tas ecc9899f92 O2Hawk: begin ppu work 2019-11-30 09:28:53 -05:00
YoshiRulz 8ce403dab2
Mirror cleanup from 7aa170283 onto the C# APIs
also fixed VS' stupid comma placement and added a "using" in SqlLuaLibrary
2019-11-30 23:18:26 +10:00
adelikat 7aa170283e cleanup some lua files 2019-11-29 16:35:21 -06:00
adelikat 2a12cac9e5 InputRoll - implement shift+Up/Down logic to highlight rows 2019-11-29 16:12:23 -06:00
adelikat 99ca256087 Lua console - change Refresh toolbar icon tooltip from "Reload script" to "Refresh" to match the menu item (they do the same action but with different names) 2019-11-29 15:47:21 -06:00
adelikat 18bdaf2d99 Lua console - enable multi-select on open script dialog 2019-11-29 15:42:52 -06:00
adelikat 978277bd06 Lua console - When turning on lua scripts, first clear registered functions for that scripts (they would still exist if the script exited on its own), Don't close the registered functions dialog when a script is toggled and no registered functions are left 2019-11-29 15:32:12 -06:00
adelikat 1b264ad068 InputRoll - tweak right-click selection - only clear and select if not already selected 2019-11-29 15:21:20 -06:00
adelikat 49b8219f45 lua console - enable multiselect 2019-11-29 15:12:55 -06:00
adelikat 50cad2067f Lua - when removing registered functions, remove functions reigstered to a script of the same path (or the same thread) 2019-11-29 15:11:40 -06:00
adelikat f36d69e6b0 cleanup LuaFileList 2019-11-29 15:10:58 -06:00
adelikat d757b8e64f Refactor a lot of lua code to use a LuaFile object instead of a Lua object, and unify some luafile manipulation logic into methods 2019-11-29 15:02:40 -06:00
adelikat 679f691b46 Lua console - add Clear all registered function menu item to the log window context menu item too 2019-11-29 13:45:18 -06:00
adelikat c7c09c92a7 InputRoll - the designer doesn't seem to like auto-generating the GridLines property, so just set it true by default 2019-11-29 13:44:47 -06:00
adelikat 24cbf5e274 lua - a bit more cleanup 2019-11-29 13:14:30 -06:00
adelikat de2da910c2 Lua - simplify some logic 2019-11-29 12:47:50 -06:00
adelikat 84d9419637 LuaLibraryBase - a bit of cleanup 2019-11-29 12:40:14 -06:00
adelikat c9d34ca828 minor cleanup 2019-11-29 10:16:48 -06:00
adelikat ce2a7b1612 EmuLuaLibrary.Events - cleanup 2019-11-29 10:14:07 -06:00
adelikat a0ba2189af lua events library - remove N64 dynarec checks since we don't have the dynarec core anymore 2019-11-29 10:03:35 -06:00
adelikat 263a72f57d Lua console - remove bad user option (defaulted to true even) that clears all registered functions on toggle, toggle already clears all registered functions registered to the script. If there is some edge case there, we need to fix it, not clear registered funcitons that don't even belong to the given script 2019-11-29 09:58:07 -06:00
adelikat 7a95fa543d fix crash when toggling scripts while the registered fucntions list dialog is open 2019-11-29 09:55:36 -06:00
adelikat 4d4c32fffa O2 - fix settings title text (Odyssey not Vetrex) 2019-11-29 09:38:43 -06:00
adelikat 3a3a7e7462 Lua console - context menu item for Clear all registered functions 2019-11-29 09:36:18 -06:00
alyosha-tas ae18284520 O2Hawk: mainform stuff 2019-11-28 17:02:26 -05:00