147 Commits
Author SHA1 Message Date
SourMesen 4c27ebf26f UI: Update to Avalonia 12.1 (#249)
Allows drag and drop to work on Linux
2026-08-15 16:56:22 +09:00
SourMesen 05d74e7e40 Debugger: GBA - Show byte code as a single 16/32-bit value (#242)
Misc fixes:
-Fixed issues with the opcode tooltip not appearing for some GBA instructions (esp. when the condition code ends with an 's', e.g: rsbcs, movls, subcs)
-Fixed byte code not being lower case when the "use lower case" option is enabled
2026-08-01 12:09:15 +09:00
SourMesen fd32321313 Debugger: Added "copy to clipboard" option for tilemap, tile, sprite and event viewer (#240) 2026-08-01 12:08:49 +09:00
SourMesen 40335ce735 UI: Update to Avalonia 12, .NET 10 and replace ReactiveUI with MVVM community toolkit (#142)
Also fixes DX11.0 support (for Win7 PCs that aren't fully updated), which stopped working after the recent variable refresh rate changes
2026-07-03 16:04:42 +09:00
Takumi Grainger c8f8bc31c3 NES: Add FCNS controller (#193)
Also fixes presets/clear buttons for NTT, Pachinko & Hypershot, and improves layout for all controller config popups (buttons/borders are aligned, etc.)
2026-06-28 13:34:30 +09:00
SourMesen a13ae9a461 Code: Added naming style CI checks for C#/UI code (#132) 2026-05-22 20:43:13 +09:00
SourMesen af51f139fc Debugger: Fixed tooltips wrapping some texts on 2 lines when not needed (#128)
This was most likely caused by the recent Avalonia upgrade
2026-05-18 23:59:02 +09:00
Adrian "asie" SiekierkaandSour 2f5ccd6983 UI: Update Avalonia to 11.3.14. (#105)
* UI: Update Avalonia to 11.3.14.

- AvaloniaEdit is updated to 11.4.1.
- Avalonia.ReactiveUI is held back at 11.3.8, as later updates require
  separate adaptation work.
- Dock is updated to 11.3.12.1.

* Revert Dock upgrade (currently causes a large number of binding warnings which make the debugger take 3-4 seconds to display the content of the dock control after the window is opened when VS is attached to the process)

---------

Co-authored-by: Sour <[email protected]>
2026-05-15 19:47:05 -07:00
SourMesen e391fd8f9a Code: Add auto-formatting rules for C++ (clang-format) and enforce in CI via "clang-format" and "dotnet format" (#78)
* Code: Add auto-formatting rules for C++ projects (clang-format) and enforce code style via "clang-format" and "dotnet format"

* fix ui format warnings
2026-04-30 06:03:55 -07:00
SourMesen c322a20e52 Debugger: Memory viewer - Improved performance on Linux (#60)
* Debugger: Memory viewer - Improved performance on Linux
SKTypeface.FromFamilyName appears to be very fast on Windows (1ms for 1000 calls), while it's slow on Linux (4ms per call). This was called 3 times for each memory viewer refresh, causing performance issues on Linux.

* Fixed warning, enable options to treat all warnings as errors
2026-04-24 19:41:02 -07:00
Sour 32756fbf88 Debugger: Change BG color for breakpoint margin + visual hint that it can be clicked 2025-05-16 11:56:10 +09:00
Sour f64bd8af09 Debugger: Palette viewer - Fixed scrolling back to the top left when clicked while out of focus 2025-03-24 10:16:37 +09:00
Sour 5422619516 Debugger: Fixed viewers scrolling back to the top left when clicked while out of focus 2025-02-11 20:52:30 +09:00
Sour e77ba250e8 Debugger: Sprite viewer - Fixed crash when switching from a GBA game to a SNES game with "Show offscreen regions" unchecked
MinWidth was getting set to a negative value, because LeftClipSize and RightClipSize temporarily were set to a value exceeding Source.Size.Width, which caused a crash
2024-12-01 13:33:43 +09:00
Sour 9b4905a337 Debugger: Various source view fixes
-Fixed color issues with source files (particularly for C files with pceas/hucc)
-Improved tooltips to react to more symbols/labels in source files (asm or C)
-Fixed bug that caused opcode tooltips to appear in C source files
-For hucc, try to find symbols that start with an underscore as a fallback when the symbol is not found (C symbols are exported as their asm name, which has an underscore prefixed)
-Fix double-click on a label/symbol name in source view to navigate to that symbol/function/etc
2024-11-29 20:13:56 +09:00
Sour e7b85cad36 Debugger: Fixed breakpoint highlight issues for data rows that start with .db 2024-11-28 16:40:53 +09:00
Sour 9af55f9fc0 Debugger: Fixed some potential memory leaks in debug tools UI 2024-11-07 18:34:41 +09:00
Sour dee97bf9bc Debugger: Added forbid breakpoints 2024-09-23 21:05:55 +09:00
Sour ef80f108c1 UI: Allow changing theme without restarting 2024-09-22 12:25:25 +09:00
Sour e802d1a402 Debugger: Memory Viewer - Highlight current byte in other view 2024-09-22 10:16:37 +09:00
Angelo e6c372e8b3 Debugger: Accumulate scroll values for code viewer & hex editor (#70) 2024-09-12 16:46:20 +09:00
Sour 9f69e88b6c Debugger: Added undo for memory viewer/debugger code edits 2024-08-26 20:15:30 +09:00
Sour 9f1de7cb42 Debugger: Memory viewer - Fixed crash when editing bytes when the selected byte is off-screen 2024-08-09 17:53:56 +09:00
Sour bdbcf4e221 Input: Only apply recent KeyUp processing changes to keys that cause the original issue
Some typical scenarios can cause KeyUp only on regular keys, which can be annoying (e.g pressing Esc to exit a configuration dialog ends up toggling pause)
2024-07-14 20:28:29 +09:00
Sour b4e77bfcae Debugger: Sprite Viewer - Fixed refresh issues when over 100% DPI if "show offscreen regions" is unchecked 2024-07-14 14:51:26 +09:00
Sour 14123a1884 Debugger: Sprite Viewer - Added option to dim offscreen sprites in the left-hand grid
+ Added "Visible" column to sprite list
+ Fixed some layout issues in > 100% dpi modes
2024-07-14 14:33:10 +09:00
Sour 9ca0fe5922 Linux: Fixed scrolling with mouse wheel sometimes scrolling far more than intended 2024-07-06 19:08:03 +09:00
Sour 990b99f074 Debugger: Tilemap viewer - Fixed crash caused by the new separators in tooltips 2024-07-02 08:40:46 +09:00
Sour 3b3aad563e Debugger: Event Viewer - Tweak x,y display to make it less confusing vs scanline/cycle 2024-06-23 18:13:47 +09:00
Sour 508d23465a Debugger: Add separators in some tooltips to group related values 2024-06-15 22:47:58 +09:00
Sour 60a75b6b52 UI: Fixed broken color pickers in debugger settings 2024-06-15 21:32:45 +09:00
Sour d208fdc6a7 UI: Support for NativeAOT
Added Windows & Linux builds using AOT compilation
2024-06-05 20:23:31 +09:00
Sour 32e8125a87 Debugger: Fixed memory viewer display issue/freeze in some scenarios when highlight breakpoints option is enabled 2024-05-27 16:53:42 +09:00
Sour 13acb3fe42 Added GBA support 2024-03-30 11:42:31 +09:00
Sour 8c60e95b1e Debugger: Memory Viewer - Move cursor to end of pasted block after paste 2024-01-27 14:07:05 +09:00
Sour 9b8691c65e Debugger: Memory Viewer - Fixed selection issues when memory length is not a multiple of the number of columns shown
+ Fixed issues with selection in string view
2024-01-21 22:16:36 +09:00
Sour 0fa90d6429 Debugger: Memory Viewer - Allow editing multiple bytes at once 2024-01-05 17:10:43 +09:00
Sour 3196bfdf99 Debugger: Memory Viewer - Improve mouse selection behavior when moving up/down rows 2024-01-05 16:54:51 +09:00
Sour 74423ec61f Debugger: Memory Viewer - Improve mouse selection behavior when mouse goes into the left-side margin
-Deselect the first byte of the bottom row
-Allow changing selection while moving up/down in the margin
2024-01-05 16:24:13 +09:00
Sour 973cf7008c Debugger: Fixed display issue in memory viewer when using TBL files that replace values with more than 1 non-latin character 2023-12-18 21:41:02 +09:00
Sour 5308983ebb Added SMS/GG/SG-1000 support 2023-12-14 22:23:27 +09:00
Sour 8a8c70046a Debugger: Fixed DPI-related issue for auto-scroll behavior on selection change for viewers 2023-12-04 18:00:41 +09:00
Sour 9caf6b7b5a Debugger: Fixed deadlock that could occur when moving the mouse over the viewers
Reproduced using the tilemap viewer for snes mode7, which caused the issue almost immediately
2023-12-01 20:55:25 +09:00
Sour 01d95d6c91 Debugger: Fixed blurry previews in tooltips when dpi is not 100% 2023-10-02 18:42:50 +09:00
Sour eb17aab85d Debugger: Sprite viewer - Added option to change background color 2023-09-26 18:58:50 +09:00
Sour 00c71cc50b Debugger: Sprite Viewer - Fixed mouse over/click when DPI > 100% and "show offscreen regions" is unchecked 2023-07-23 13:54:01 +09:00
Sour a06582107f Debugger: Prevent crash caused by out-of-range x,y coordinates when clicking on a PictureViewer
Might have been caused by rounding issues?
2023-07-23 13:14:19 +09:00
Sour 3e36c3949e UI: Upgrade to Avalonia 11 release 2023-07-08 14:14:31 +09:00
Sour 600d4bf5b2 UI: Revert to Avalonia 11-preview8
AvaloniaEdit is broken in RC1 and there appears to be some keyboard focus issues on Linux

This reverts commit b90ffc7788.
2023-06-30 10:25:03 +09:00
Sour b90ffc7788 UI: Update to Avalonia 11 RC 1.1 2023-06-10 21:24:43 +09:00