Commit Graph

4403 Commits

Author SHA1 Message Date
adelikat 56b33498d9 InputRoll - rip out the UseCustomBackGround flag, and only key off the existence of the override. Seems to be a speed hack, but the only attempt to make it faster (in ram watch) was actually making things slower 2019-11-26 12:33:39 -06:00
adelikat a45b33b8c6 move arrow key hack from tastudio to inputroll so it applies to all inputrolls 2019-11-26 12:07:00 -06:00
adelikat fab108c73a Ram watch - remove some useless overrides 2019-11-26 11:51:57 -06:00
adelikat cd672da319 a few inputroll/tastudio cleanups 2019-11-26 11:36:55 -06:00
adelikat a17584a319 InputRoll - fix behavior of up/down arrow keys 2019-11-26 11:27:55 -06:00
adelikat 44a2565f5c InputRoll - refactor MouseDown hack that checks if emulator is paused, better is to recalculate the pointed cell, anytime it may have changed 2019-11-26 11:19:34 -06:00
adelikat e73e61c5cc InputRoll - fix page up/page down logic 2019-11-26 10:28:32 -06:00
adelikat 9b93c557b8 InputRoll - don't hardcode disabling of Home and End, make it a flag instead (true by default, false for tastudio's inputroll), also fix home/end to be expected listview behavior and delete ctrl+home, ctrl+end those aren't expected behaviors 2019-11-26 10:09:24 -06:00
adelikat fe89df140c InputRoll - when AllowRightClickSelect is true, existing selected rows should be cleared in addition to selecting the right-clicked one 2019-11-26 09:50:19 -06:00
adelikat 6d9dfa8956 InputRoll - misc cleanups 2019-11-26 09:48:26 -06:00
adelikat 557c68862e InputRoll - make AllowRightClickSelect true by default 2019-11-26 09:42:14 -06:00
adelikat 64f32983f6 misc movie code cleanups 2019-11-25 08:37:11 -06:00
adelikat 6eef264f91 paste - only invalidate on the first different frame pasted, rather than the first selected frame 2019-11-24 19:14:49 -06:00
adelikat cb912bea58 Tastudio - when clearing, invalidate on the first non-empty input rather than first selected row 2019-11-24 17:53:27 -06:00
adelikat 5bbdf2a49e Tastudio.MenuItems - cleanup, fix potential NRE's surrounding clipboard access, fix off by one on clear menu item invalidation logic, fix not dispointing of a disposable dialog 2019-11-24 16:54:08 -06:00
adelikat 1f4a2274d3 TasMovie - more cleanup 2019-11-24 16:06:01 -06:00
adelikat 60487c6a96 don't use Guid.GetHashCode, this was a leftover from some old bad code 2019-11-24 15:53:33 -06:00
adelikat caced9c2a8 TasMovie - remove unused constructor params 2019-11-24 15:40:26 -06:00
adelikat 9c62ded4f5 InputRoll - Recalculate cell size on font change 2019-11-24 15:09:25 -06:00
adelikat 883fea9ec6 Add a font picker, fixes #952 2019-11-24 14:58:58 -06:00
adelikat 8bbc2c75d0 lua - tastudio.loadbranch - use the already existing (and better) load branch method 2019-11-24 14:41:03 -06:00
adelikat 2aaae85c36 InputRoll - use the built in Font property rather than a private variable. Make the default the natural control default, and set the main Tastudio InputRoll window to be arial 8 2019-11-24 14:38:05 -06:00
adelikat 4e9b780539 Lua - implement tastudio.loadbranch #fixes #1650 2019-11-24 13:55:46 -06:00
adelikat 74e1f97ebb cleanups in BookmarksBranchesBox 2019-11-24 13:00:03 -06:00
adelikat a3428128ef EmuLuaLibrary.Tastudio - organize methods some 2019-11-24 12:56:57 -06:00
adelikat 6972046509 EmuLuaLibrary.Tastudio clenaup 2019-11-24 09:37:32 -06:00
adelikat b4c4c3b870 .tasproj - use json to save/load statemanager settings. This is a breaking format change, earlier .tasproj will load and silently fallback to default settings 2019-11-23 21:43:23 -06:00
feos 5ca08b6c29
Camhack support (#1725)
for the camhack to work we have to save a state, hack memory, advance twice to see the changes, then load the state to prevent desync. since we can omit the framebuffer in savestates, loading them can happen without updating the screen, so the hacked camera remains visible.

advancing 2 frames automatically is done like tastudio does it when it seeks to a frame, only from lua now.

and the most questionable part is "invisible emulation", which is how Gens calls this IIRC, when everything that can distract or slow us down is skipped: sound, video, tools updates.

new lua functions:
- client.invisibleemulation()
- client.seekframe()

* for a test, mGBA core uses fake video and audio buffers and renders to them when we want to "skip" rendering. proper setup would involve actually skipping rendering those inside the core.
* allow disabling video and audio updates for gpgx too (proper approach, no fake buffers involved)
* add the script for Sonic Advance
2019-11-23 12:27:14 +03:00
adelikat 825f10d52c Lua console - simplify some 2019-11-22 18:54:52 -06:00
feos d15dc56e15 address #1631 for gambatte 2019-11-20 21:25:55 +03:00
feos 4e389ab1ec address #1631 for subneshawk 2019-11-20 21:10:21 +03:00
feos 4a0ec76c84 tastudio: disable [Ctrl+]Home/End
those are very obscure accelerators that you hit if you miss Ins/Del while editing, and that screws up the editing flow in various ways. if this functionality is needed, it will be enabled with potential miss-hitting in mind. I can't imagine a situation where you'd need them tho.

close #1600
2019-11-20 20:37:24 +03:00
feos b70c49892c omit autosaving if we have the default project name
close #1599
2019-11-20 20:04:03 +03:00
alyosha-tas 2fbf3c3b19 O2Hawk: system management work 2019-11-18 22:17:29 -05:00
alyosha-tas 61038a13ae O2Hawk: Expose Core and start running code 2019-11-18 17:33:55 -05:00
adelikat 23f283aef8 create file watch on new script 2019-11-17 13:04:09 -06:00
adelikat b65f7ae8d9 Lua console - hack to fix reloading a script if it is not enabled 2019-11-17 12:51:08 -06:00
adelikat 4c57718f7d Move autoloading of tools to the Shown event fixes #334 2019-11-17 11:35:53 -06:00
adelikat 16f977a87c Lua console - respect the "reload scripts on load" flag in some places that were ignoring it 2019-11-17 11:25:23 -06:00
adelikat 9f2ea48d2b Ram Watch - clear and update on screen drawing better 2019-11-17 09:53:19 -06:00
adelikat 901e9f2ceb InputRoll - when RowCount changes, deselect rows that may no longer exist, fixes crash on Lua Console when removing lua scripts (and lots of other bugs most likely) 2019-11-17 09:26:18 -06:00
adelikat c9f7838833 Lua console - put a cap on number of messages that can hit the console window in a give pass through lua scripts, set it arbitrarily at 50, fixes #376 2019-11-16 14:56:17 -06:00
adelikat eb1d87933b Fix Nintento (breaking config change but we've already thoroughly broken compatibility since last release), partially addresses #971 2019-11-16 12:42:18 -06:00
adelikat c1ba930e64 Lua Console - fix double click toggle and unify logic between double click and toggle menu items 2019-11-16 12:01:43 -06:00
adelikat 6024af5dbc lua console - a bit of cleanup 2019-11-16 11:55:05 -06:00
adelikat 358ad68357 use some C#7isms in InputRoll.cs 2019-11-16 11:41:34 -06:00
adelikat f47854e1d4 GdiRenderer begone! GdiPlusRenderer has significantly more performance and is not OS specific 2019-11-16 11:29:29 -06:00
adelikat dad8919b50 Lua functions list - unify ctrl+c and copy context menu item logic and fix bugs in both 2019-11-16 11:24:33 -06:00
YoshiRulz 6e809adc66
Disable Lua script loading on Unix (resolves #1735) 2019-11-17 02:26:23 +10:00
YoshiRulz a7ffdd948e
Add DelegatingLuaLibrary and set up ApiHawk instantiation 2019-11-16 17:19:04 +10:00
YoshiRulz fab882b7a5 Move most API interfaces and implementations to BizHawk.Client.Common 2019-11-16 17:28:25 +11:00
YoshiRulz 13e4b5396d Rename IMovie to avoid name collision 2019-11-16 17:28:25 +11:00
adelikat 9e30d64954 InputRoll - always redraw when RowCount is set, fixes #1729 2019-11-15 18:10:10 -06:00
adelikat adf834480a remove .bkm as a standard movie type, require user to run the importer 2019-11-14 21:39:15 -06:00
adelikat 673073e650 data drive the import movies dialog filter 2019-11-14 18:00:33 -06:00
adelikat af50d74b98 simplify movie import code more 2019-11-14 17:00:47 -06:00
adelikat f93766e5bb Movie import cleanup 2019-11-14 16:35:29 -06:00
TheGreatRambler 3b3cd3d2fd
Update MainForm.cs 2019-11-13 20:05:46 -05:00
TheGreatRambler 05045f9702
Update ArgParser.cs 2019-11-13 19:59:27 -05:00
feos 8a7e495039 allow suppressing more OSD savestate reports from lua 2019-11-10 17:09:10 +03:00
adelikat 46ea09da10 MovieImport - cleanup, and properly wire up the new style importers. Pjm, Pxm no longer broken 2019-11-09 14:43:49 -06:00
adelikat 93562eb935 cleanup FileLoader.cs 2019-11-09 13:40:15 -06:00
YoshiRulz ae12b0e23c
Revert some changes from #1237 and #1380 that aren't needed anymore 2019-11-04 19:53:14 +10:00
YoshiRulz 8c059aa43c
Replace helper methods with readonly bool IsUnixHost and cleanup 2019-11-04 14:30:05 +10:00
J.D. Purcell fec63fb66a Spaces -> tabs, fix mixed newlines. 2019-11-03 20:58:36 -05:00
J.D. Purcell 6eb44acd4f Fix noise from last merge. 2019-11-03 18:04:31 -05:00
adelikat e4e10646bf Merge branch 'master' into MoreUnixMonoCompatWork
# Conflicts:
#	BizHawk.Client.EmuHawk/Program.cs
#	BizHawk.Common/BizInvoke/MemoryBlock.cs
2019-11-03 16:09:22 -06:00
adelikat 942d9fc75e Simplify OS checks with some helpful methods 2019-11-03 16:04:42 -06:00
adelikat b9ade1a555 Merge branch 'master' into MoreUnixMonoCompatWork 2019-11-03 12:55:53 -06:00
adelikat 46385174da Hex editor - more cleanups 2019-11-03 12:46:39 -06:00
adelikat 7472e112ab Hex Editor - simplify key press logic even more 2019-11-03 12:25:36 -06:00
adelikat d57e8f790b Hex Editor - simplify keypress logic 2019-11-03 11:56:02 -06:00
adelikat c0c1c32b72 Hex Editor - more cleanup 2019-11-03 11:53:52 -06:00
adelikat 6de6e7b055 make nibbles logic more respectable 2019-11-03 11:48:31 -06:00
adelikat dfb87801af Hex Editor - restore funcionality to show typing in progress, in a way that doesn't suck 2019-11-03 11:31:53 -06:00
adelikat 2835694546 Hex Editor - fix crash when typing values into the hex editor with no address highlighted 2019-11-03 11:20:50 -06:00
adelikat 4d6d951286 Hex Editor - more cleanup 2019-11-03 11:18:23 -06:00
adelikat f047a19530 Hex Editor - consolidate highlighted address variables 2019-11-03 11:14:08 -06:00
adelikat 2ba579cfdf Hex Eidtor - rip out swap bytes crap and re-fix BigEndian functionality. Someone will have to explain why swap is needed. And do a not terrible implementation that leaves a non-funcitonal menu item! 2019-11-03 10:58:41 -06:00
adelikat 9fb8499ffe Hex Editor - lots of cleanups 2019-11-03 10:46:45 -06:00
adelikat 39586a5bf0 Remove NewHexEditor (can be developed on a branch instead) 2019-11-03 10:20:07 -06:00
J.D. Purcell fae50bc807 TAStudio: Fix crash when ctrl+clicking with no previous row selected. 2019-11-03 10:51:24 -05:00
J.D. Purcell 64e8270cab Update check fix. 2019-11-02 17:00:53 -04:00
J.D. Purcell afff86fb29 Update Checker: Use GitHub API to find latest version. 2019-11-02 16:53:27 -04:00
adelikat ae7221988b cheats code cleanup 2019-11-02 11:25:11 -05:00
adelikat 1239149af5 cleanup movie forms 2019-11-02 11:05:01 -05:00
adelikat 5fa5674260 EditSubtitles - fix message typo, simplify, TryParse instead of catching parse errors, fix a NRE 2019-11-02 10:50:52 -05:00
adelikat f967ebc3a7 cleanup Communication.cs 2019-11-02 10:33:26 -05:00
adelikat 7936797a9d Custom controls house cleaning - remove a bunch of unused controls, do some cleanups 2019-11-02 10:08:06 -05:00
James Groom cdf42777dc
Merge branch 'master' into MoreUnixMonoCompatWork 2019-11-02 18:15:46 +11:00
J.D. Purcell 0405eb7c73 XAudio2: Fix missing dispose. 2019-11-02 00:38:50 -04:00
J.D. Purcell 39b54f7202 Fix missing UI usings. 2019-11-02 00:38:50 -04:00
J.D. Purcell 17701dc57d Fix wrong return type in P/Invokes. 2019-11-02 00:38:50 -04:00
J.D. Purcell 447e8f59e5 To match master (merge error?) 2019-11-01 22:54:14 -04:00
J.D. Purcell 4b9f53db35 Remove unused files. 2019-11-01 22:51:01 -04:00
J.D. Purcell b8aa6c36d6 EmuHawk: Add manifest (like in master - accidentally omitted in last merge?) 2019-11-01 22:47:07 -04:00
adelikat fdd0076485 Merge branch 'master' into MoreUnixMonoCompatWork 2019-11-01 20:59:40 -05:00
adelikat b862a464ee remove our outdated 7z shenanigans with sharpcompress 2019-11-01 20:22:05 -05:00
adelikat 5d6c33f080 remove TAStudio ui that was picking the renderer (it's automatic now) 2019-11-01 15:56:26 -05:00
J.D. Purcell 19dd590f2c Improve error message. 2019-11-01 14:53:37 -04:00
J.D. Purcell 0fdc533071 We don't need this anymore after 9141b0ed. 2019-11-01 14:52:41 -04:00
adelikat 9141b0ed19 tool manager - don't go looking for tools outside of the EmuHawk assembly, I suspect this will actually fix the appveyor build issue, indirectly. 2019-10-31 21:03:19 -05:00
James Groom 7d780d1954
Un-delete ReflectionOnlyAssemblyResolve subscriber 2019-11-01 12:56:44 +11:00
adelikat 5f1c76b285 Revert "ReflectionTypeLoadException troubleshooting."
This reverts commit e15e32eb78.
2019-10-31 20:52:50 -05:00
James Groom c6dff68981
Fix bug remaining after merge commit 2019-11-01 00:41:53 +00:00
J.D. Purcell e15e32eb78 ReflectionTypeLoadException troubleshooting. 2019-10-31 20:16:01 -04:00
adelikat 6c7653e158 Merge branch 'master' into MoreUnixMonoCompatWork
This doesn't compile because of Input.cs, didn't know what to do. Also search for Merge TODO for some commenting things that probably need to be deleted
# Conflicts:
#	BizHawk.Client.EmuHawk/BizHawk.Client.EmuHawk.csproj
#	BizHawk.Client.EmuHawk/CustomControls/InputRoll.Drawing.cs
#	BizHawk.Client.EmuHawk/CustomControls/InputRoll/InputRoll.cs
#	BizHawk.Client.EmuHawk/Program.cs
#	BizHawk.Client.EmuHawk/tools/Lua/LuaConsole.cs
#	BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.cs
#	BizHawk.Client.EmuHawk/tools/ToolHelpers.cs
#	BizHawk.Client.EmuHawk/tools/ToolManager.cs
#	BizHawk.Client.EmuHawk/tools/TraceLogger.Designer.cs
#	BizHawk.Client.EmuHawk/tools/TraceLogger.cs
#	BizHawk.Client.EmuHawk/tools/Watch/RamSearch.Designer.cs
#	BizHawk.Client.EmuHawk/tools/Watch/RamSearch.cs
#	BizHawk.Common/BizInvoke/DynamicLibraryImportResolver.cs
2019-10-31 17:01:19 -05:00
YoshiRulz f8379d9fd4
Bump ReSharper analysis to C# 8.0 2019-10-31 03:30:00 +10:00
adelikat c78b6df363 remove Autohawk tool, this doesn't do anything and never caught on as an idea 2019-10-29 13:01:07 -05:00
adelikat abcda424dc fix a typo in a message box message, a few other cleanups in the vicinity 2019-10-29 12:50:28 -05:00
feos 0247a8f1a8
mame core wip (#1705)
* add MAME to OpenAdvanced
* make mame launch games
limited to arcades that only need rom name. other devices require machine name and rom name, and won't run. nor they are meant to be supported anyway: we have enough emulators that do the job better for particular devices.
dunno if direct disk access will be avoidable, there are quite some files it might want to load other than the rom (parent rom, bios, artwork). trapping all of these might be a future task.
it is also known that mame can load "romname.zip" file just as well as "romname" folder, which would represent an unarchived zip. I make use of it to send it zip name with extension. it's easy, and we're not obliged to recognize mere folder paths in the mame-advanced-loader logic.
* ability to run lua code inside mame
2019-10-29 18:37:27 +03:00
adelikat d65092e967 Misc cleanups in tool dialogs - mostly the use of expression body (C#6/C#7isms) 2019-10-29 09:27:56 -05:00
adelikat 0b965dffc5 misc cleanups 2019-10-29 08:23:45 -05:00
J.D. Purcell 1b548ed92d InputRoll horizontal: Improve look of column dragging. 2019-10-28 01:35:16 -04:00
J.D. Purcell 4d2f6e902e InputRoll horizontal! 2019-10-27 22:59:42 -04:00
J.D. Purcell 28c0586c8b InputRoll horizontal - WIP. 2019-10-27 21:00:52 -04:00
adelikat 5c674e5f8f Watch UI classes - some cleanups, mostly C#7isms 2019-10-27 18:02:06 -05:00
J.D. Purcell 90724bb777 Work on InputRoll horizontal mode a bit. 2019-10-27 17:55:53 -04:00
J.D. Purcell 9471f7ca03 Cleanups 2019-10-27 14:00:02 -04:00
adelikat 3e64051c7d Mainform - cleanups, remove unused code, typos, C#7isms 2019-10-27 11:42:17 -05:00
J.D. Purcell 3dfb0d39c8 AppVeyor test (C# 8.0?) 2019-10-27 12:05:13 -04:00
adelikat d9a160a9af Merge branch 'master' of https://github.com/TASVideos/BizHawk 2019-10-27 10:55:06 -05:00
adelikat 924618ee8f Set resharper language level to 7, add some emulator lingo to the resharper dictionary 2019-10-27 10:54:29 -05:00
J.D. Purcell 12c64dc40d InputRoll: Fix text clipping too early with GDI+ renderer. 2019-10-27 11:46:21 -04:00
adelikat f579961823 marker control - no need to set Color.White, that is the default 2019-10-27 10:14:29 -05:00
adelikat cbace55d01 Tastudio - misc cleanups 2019-10-27 09:59:05 -05:00
adelikat aaee3cf48c Tastudio - fix splitter restore logic on restore defaults 2019-10-27 09:34:32 -05:00
adelikat 290cf4c4a4 InputRoll - attempt to cleanup drawing logic a bit 2019-10-27 09:18:14 -05:00
adelikat 5f021ca0e2 InputRoll - attempt to put some attributes on public properties. This is a control, public properties without attributes and/or documentation should be avoided 2019-10-26 18:35:12 -05:00
adelikat 9d87550c2a Cell - implement == and != overrides, this might fix some subtle problems in input roll 2019-10-26 17:22:49 -05:00
adelikat 6604e5dc17 InputRoll - cleanup and fix some typos 2019-10-26 17:16:15 -05:00
adelikat 0ce5046061 cleanup input roll column and cell classes 2019-10-26 17:06:42 -05:00
adelikat b54be19e9e InputRoll - reorg - put in its own folder, break out column and cell classes into separate files 2019-10-26 16:49:52 -05:00
adelikat 14ffd143d4 InputRoll - fix placement of rotated text 2019-10-26 16:25:42 -05:00
adelikat 5a17d20cf0 InputRoll - some more cleanup 2019-10-26 16:20:27 -05:00
adelikat af59d2fe6b InputRoll - misc cleanups 2019-10-26 16:04:27 -05:00
adelikat 179e71efee remove some now unused control extension methods 2019-10-26 16:01:21 -05:00
adelikat d592526c3c InputRoll - stop passing around unused paint event args 2019-10-26 15:47:43 -05:00
adelikat f7b2982dad Merge branch 'inputroll-rotatefix' 2019-10-26 15:37:47 -05:00
J.D. Purcell d2cf95e18f GdiPlusRenderer: Implement string rotation. 2019-10-26 16:31:21 -04:00
adelikat 772bd5b65e Remove blend option in IControlRenderer, true was always being passed for GDI, so just always do alpha blend in GDI 2019-10-26 15:22:47 -05:00
adelikat 4d576ea9da Hex Editor - improve performance a bit when there are highlighted or frozen addresses by not newing up brushes and pens on every draw 2019-10-26 15:08:54 -05:00
adelikat 064a78d7f3 inputroll - fix crash when resized to 0 2019-10-26 14:37:42 -05:00
adelikat e21e861e99 temp hack to force tastudio to draw the frame column rotated in horizontal orientation 2019-10-26 14:22:19 -05:00
adelikat f6b0fa1550 GdiRenderer - cleanup font caching logic and fix rotated text 2019-10-26 12:59:30 -05:00
adelikat e11f3e68e7
Merge pull request #1704 from TASVideos/GdipRenderer1
GdiPlusRenderer: Remove caches, implement Dispose
2019-10-26 12:45:16 -05:00
J.D. Purcell 4e2818222d GdiPlusRenderer: Remove caches, implement Dispose. 2019-10-26 13:40:20 -04:00
YoshiRulz 5e5f69f07e
Move _vBar/_hVar init out of ctor, init CellHeight to non-zero
CellHeight/_vBar/_hBar were being read *while the ctor was running* due to
unexplained Mono magic (and hence their values were 0/null/null, respectively)
2019-10-27 03:38:30 +10:00
adelikat 437c2f067a TAStudio - Consolidate the two restore defaults menu items. Restore splitter positions when restoring defaults 2019-10-26 11:40:04 -05:00
adelikat 9bbfb995b8 GDIPlusRenderer - put off rotate text, for now 2019-10-26 11:26:12 -05:00
adelikat 8977137e84 GDIPlusRenderer - cleanup 2019-10-26 11:11:38 -05:00
adelikat 2e489763b9 use OSTailoredCode class to decide GDI vs GDIPlus renderering 2019-10-25 18:20:13 -05:00
J.D. Purcell 6395089a9c TAStudio.ListView.cs: Fix missing alpha values. 2019-10-25 18:02:31 -04:00
YoshiRulz b5d188ad5e
Migrate RAM Search to PAVLV 2019-10-25 22:04:56 +10:00
YoshiRulz fb29663ce6
Platform-agnostic VirtualListView 2019-10-25 21:11:54 +10:00
YoshiRulz d0159ee565
Port InputRoll by adding GDI+ implementation
also available for Windows users via a toggle in TAStudio
2019-10-25 19:17:50 +10:00
adelikat 28dcae6c8b GDIPlus renderer - use brush cache for text drawing 2019-10-24 16:35:07 -05:00
Asnivor 2e8d7346c3 InputRoll: Implement proper double buffering (improves gdi+ inputroll performance by a factor of 8 or 9 on my machine) 2019-10-24 15:49:51 -05:00
adelikat 7b7e9a269a Rough in of a GDI+ Renderer implementation 2019-10-24 15:49:51 -05:00
adelikat b7f8f830e0 move some font shenanigans into GDI Renderer instead of input roll 2019-10-24 15:49:51 -05:00
adelikat b4a38597a6 remove unnecessary hack 2019-10-24 15:49:51 -05:00
adelikat f86b218111 Renderer doc fix 2019-10-24 15:49:51 -05:00
adelikat 9dc91e508e simplify renderer api 2019-10-24 15:49:51 -05:00
adelikat ca2767c536 HexView - cleanup and comment out GDIREnderer for now 2019-10-24 15:49:51 -05:00
adelikat 92d6769b06 inputroll - rename renderer variable 2019-10-24 15:49:50 -05:00
adelikat 0a7db2ad4d cleanup GDI Renderer 2019-10-24 15:49:50 -05:00
adelikat 74450ee0a6 create an interface for GDIRenderer 2019-10-24 15:49:50 -05:00
adelikat c0e2529b20 tastudio - don't nag about inaccurate cores if autoloading a file 2019-10-24 15:49:23 -05:00
J.D. Purcell 2054a6b905 RomFilter cleanup. 2019-10-22 11:54:42 -04:00
J.D. Purcell 219d0d2e8d Remove old commented code (it got moved to FileLoader 3+ years ago). 2019-10-22 09:44:22 -04:00
J.D. Purcell 1df41efc0d Consolidate core accuracy warning dialog. 2019-10-21 23:54:16 -04:00
J.D. Purcell 1aadff8ca1 Cleanup speed increase/decrease. 2019-10-21 22:13:48 -04:00
J.D. Purcell 09dc1df9ae Fix NullReferenceException when loading SNES MSU-1 XML file (MSU-1 still doesn't work for me though). 2019-10-21 20:09:55 -04:00
alyosha-tas bc76a4a040 Cheats: typo fix 2019-10-21 14:30:34 -04:00
alyosha-tas 3f216fb4a4 Disable cheats hotkey 2019-10-21 14:18:25 -04:00
J.D. Purcell 952609eeaa Factor out some common stuff in rom load/close. 2019-10-20 23:36:11 -04:00
J.D. Purcell 99f63f9a9f Don't even need this variable. 2019-10-20 21:27:53 -04:00
J.D. Purcell 69bb2322a1 Try to clean up ROM loading a bit. It's not much but it's a start. 2019-10-20 20:41:25 -04:00
J.D. Purcell b0c7bab94e Fix small binding regression (tabbing into the first input widget could trigger a tab bind). 2019-10-20 14:42:14 -04:00
J.D. Purcell 23433b856f Hotkey/controller config: Fix issue where input events get queued and processed by the main form after the dialog is closed. For example if you opened the hotkey config, typed "-" in the search box, and closed the dialog, it would trigger Decrease Speed in the main form. Also redo an old hack fix the right way. 2019-10-20 13:47:22 -04:00
J.D. Purcell 09314bdeda Add readonly keyword. 2019-10-20 11:06:39 -04:00
J.D. Purcell 4445a425a2 ToolManager cleanup. 2019-10-20 10:47:23 -04:00
J.D. Purcell 7e38bf61c9 ToolManager.IsAvailable fix. 2019-10-20 10:17:13 -04:00
alyosha-tas ff35dfab57 fix #1697 2019-10-20 09:42:54 -04:00
J.D. Purcell 1fadcb97f2 Misplaced this in last commit. 2019-10-20 01:43:08 -04:00
J.D. Purcell a2215fb5df Fix AppVeyor build. 2019-10-20 01:24:28 -04:00
J.D. Purcell b01f52c01b Ability to handle alternate keyboard layouts (e.g. Dvorak). Optional and off by default for now due to its experimental nature. Closes #1584 2019-10-20 01:16:27 -04:00
alyosha-tas db1dc74591 Mostly Fix #1696 2019-10-19 21:28:06 -04:00
J.D. Purcell 33d9b08e39 Cleanup 2019-10-19 21:17:47 -04:00
adelikat bc4498b9dd VirtualListView begone! 2019-10-19 20:06:59 -05:00
adelikat ccdf616d46 convert Tastudio UndoHistory from VirtualListView to InputRoll 2019-10-19 20:03:05 -05:00
adelikat 7fc4e82ef9 Debugger Breakpoints - use ListView in virtual mode instead of VirtualListView 2019-10-19 20:03:05 -05:00
J.D. Purcell 4eea88a988 Hotkey Config: Fix when binding key combination if the modifier is released first (e.g. Ctrl+C with Ctrl released first). 2019-10-19 20:51:04 -04:00
adelikat 9100526a0c Convert debugger to use InputRoll instead of VirtualListView 2019-10-19 19:16:45 -05:00
adelikat 701533f4fe convert CDL tool to use InputRoll 2019-10-19 18:17:21 -05:00
adelikat 279726d52c convert TraceLogger to use InputRoll 2019-10-19 18:17:21 -05:00
J.D. Purcell 4ed50200c8 Some cleanups in Input.cs 2019-10-19 17:50:24 -04:00
adelikat bd0c81d791 InputRoll - don't blow up if QueryItemBkColor isn't defined 2019-10-19 14:59:57 -05:00
adelikat b84413b947 LuaFunctions dialog - use listview in virtualmode instead of virtuallistview 2019-10-19 14:26:45 -05:00
adelikat 2a6225940b PlayMovie - use listview in virtual mode instead of VirtualListView 2019-10-19 14:18:43 -05:00
adelikat 975c9f9f0d LogWindow - use ListView in virtual mode instead of VirtualListView 2019-10-19 13:55:26 -05:00
adelikat de01596617 delete unused TasListView, not sure what this was trying to be 2019-10-19 13:07:36 -05:00
adelikat b5d05e0f0c InputRoll - properly calculate if a vertical scrollbar is needed 2019-10-19 13:01:53 -05:00
adelikat f96e778c35 remove unused method 2019-10-19 11:46:56 -05:00
adelikat 7428a5d244 InputRoll - if column resize is enabled, double clicking a column edge resizes it to fit the text 2019-10-19 11:45:18 -05:00
adelikat fb2048075c InputRoll - cutoff text if it overflows the cell 2019-10-19 11:21:34 -05:00
adelikat 9a4de3b70d remove some now unused methods 2019-10-19 10:55:37 -05:00
adelikat 6c22e1c4c6 Lua console - implement saving/loading of column info 2019-10-19 10:45:42 -05:00
adelikat f802f48754 Lua console - implement double click toggle 2019-10-19 10:11:04 -05:00
adelikat 571c172bd4 remove image stuff from lua console .resx 2019-10-19 09:54:38 -05:00
adelikat d6972d1252 Lua Console - use InputRolle, fix all kinds of bugs with using Separators 2019-10-19 09:50:21 -05:00
adelikat 83032a363b Ram Watch - hack for backwards config compatibility 2019-10-19 09:16:45 -05:00
YoshiRulz 881974b495
Re-enable the Lua Console on Unix 2019-10-19 15:31:58 +10:00
adelikat 5826d584cc convert cheats dialog to use InputRoll 2019-10-18 21:43:34 -05:00
adelikat 5b5a238590 Ram Search - allow column resize 2019-10-18 21:41:50 -05:00
adelikat 6977ac20a1 Ram Search - remove some code that i don't think is necessary with inputroll 2019-10-18 21:21:44 -05:00
adelikat 109b0fd8fe Ram Search - allow multi-select 2019-10-18 21:20:50 -05:00
adelikat d76531064e Ram Search - show Prev column by default 2019-10-18 20:07:16 -05:00
adelikat 3d33c3fa21 Ram Search - fix GoTo Address 2019-10-18 20:04:15 -05:00
adelikat 427f51f407 fix inputroll vertical scrollbar logic 2019-10-18 20:02:58 -05:00
adelikat a51bca38f0 convert RamSearch to use InputRoll 2019-10-18 18:56:21 -05:00
adelikat b60ed03543 inputroll - column resizing (not implemented for HorizontalOrientation yet) 2019-10-18 10:05:26 -05:00
adelikat d898c321f2 make ram watch wider by default as input roll takes a bit more width for the text, fix changes default column width 2019-10-18 10:05:26 -05:00
adelikat b3e6d1b49f Ram Watch - wire up column sorting 2019-10-18 10:05:26 -05:00
adelikat 488b8457b0 Ram watch - this hack is no longer needed, inputroll doesn't have this issue 2019-10-18 10:05:26 -05:00
adelikat f875bf656d Ram Watch - more configuration settings 2019-10-18 10:05:26 -05:00
adelikat 3e1f783c27 Ram watch - fix multi-select 2019-10-18 10:05:26 -05:00
adelikat 9c574c2124 Ram Watch - cleanup 2019-10-18 10:05:26 -05:00
adelikat cfab768846 Ram Watch - saving/loading column settings 2019-10-18 10:05:25 -05:00
adelikat 5b83b9e019 Ram Watch - Wire up column hiding/showing 2019-10-18 10:05:25 -05:00
adelikat d3353f6acf Convert Ramwatch to use InputRoll instead of VirtualListView, rough in, still lots of todos 2019-10-18 10:05:25 -05:00
J.D. Purcell 854315d96d TabIndex fixes. 2019-10-14 11:39:49 -04:00
J.D. Purcell c42bf37e86 Sound: Improve audio throttle behavior with N64. GetSamplesSync sometimes returns > 100ms of audio from N64. 2019-10-13 22:56:14 -04:00
J.D. Purcell 6504387302 Option to accept background input only from controller. Closes #1396. 2019-10-13 19:49:24 -04:00
J.D. Purcell da49f85b81 HotkeyConfig: Code cleanup. 2019-10-13 16:34:55 -04:00
J.D. Purcell d95340182e Fix unescaped ampersands in the Recent ROM menu. 2019-10-13 15:42:38 -04:00
J.D. Purcell d3b62009e6 BasicBot: Fix DPI scaling issues. 2019-10-13 14:49:25 -04:00
J.D. Purcell 1ebdfa149a Fix NullReferenceException in ToolManager.IsAvailable and remove unnecessary try/catch. 2019-10-13 14:21:15 -04:00
J.D. Purcell eed94c11cc TAStudio: Improve control alignment and fix branches/markers not showing due to DPI scaling. Fixes #1151. 2019-10-13 13:04:23 -04:00
James Groom 90b0574bc3
Remove unnecessary calls to ToList (e.g. in foreach)
squashed PR #1591
2019-10-13 15:50:57 +00:00
YoshiRulz 0e9cc431d9 Rewrite IsAvailable, call to Assembly.GetTypes is now lazy 2019-10-13 15:27:37 +00:00
YoshiRulz 7df71f2c86
Properly fix lib loading (builds upon 77bbc4128)
Also cleaned up OSTailoredCode.cs and fixed qualifiers in Program.cs
2019-10-13 15:23:14 +10:00
J.D. Purcell 9b8db26086 TAStudio: Disable DPI scaling at least until I find a proper fix. It's ugly but now usable at 150% scaling. 2019-10-12 23:27:42 -04:00
J.D. Purcell 0dcb0b9bb4 Fix DPI scaling issue in custom message boxes (Snex9x/QuickNES accuracy warnings). 2019-10-12 22:34:53 -04:00
J.D. Purcell 7ef07bac02 Fix DPI scaling. 2019-10-12 19:38:18 -04:00
J.D. Purcell 77bbc41286 Fix prerequisites dialog (broken by 42764f00 and 436b6452). 2019-10-12 17:56:20 -04:00
YoshiRulz 1f8972df4e
Allow initialising OpenGL context on Unix 2019-10-07 03:08:57 +10:00
YoshiRulz 4e5b763c38
Reenable OpenTK gamepad functionality 2019-10-07 03:08:41 +10:00
YoshiRulz 17ba5fa815
Use FolderBrowserDialog on Unix instead of FolderBrowserEx 2019-10-06 19:54:45 +10:00
YoshiRulz d9c42f44a1
Implement IHawkFileArchiveHandler using NuGet package SharpCompress 2019-10-06 16:51:02 +10:00