Commit Graph

95 Commits

Author SHA1 Message Date
oddMLan 06d0e27af6 [Debugger UI] Fix TLB window in HDPI configs 2019-05-10 09:23:41 -07:00
Joe Eagar 82463fbdd8 Fixed a few bugs with the scripts system. I suspect there are more; the
threading code needs some refactoring.  List of changes:

* Script threads no longer call the debugger UI (e.g. refresh) nor do
  they call the script system's cleanup function
  (deleteStoppedInstances).
* Changed API.js Server.on method to queue calls to nativeAccept if .listen()
  hasn't been called yet (otherwise winsock gives errors).
* Added various paranoia thread locks.
* Forced termination of script threads now works.  The (commented) call
  to TerminateThread didn't work because getCurrentThread() doesn't return
  a "real" HANDLE.  The solution is to pass the result of getCurrentThread
  to DuplicateHandle to get a "real" handle.
2019-04-28 23:28:12 -07:00
Joe Eagar 83f445f050 Fixed heap overrun error 2019-04-28 00:38:35 -07:00
oddMLan b1e950be20 Move CListViewCtrlVarDPI class code into ATL 2019-04-19 16:48:53 -07:00
oddMLan b9025667f8 [Debugger UI] Save window size only when the window is resizable.
Prevents some dialogs from becoming clipped at high DPI
2019-04-18 18:18:55 -07:00
oddMLan df9967b782 [Debugger] Change Commands and Registers font to Lucida Console 2019-04-18 16:29:07 -07:00
oddMLan d21e7c8684 Fix warning 2019-04-18 15:35:54 -07:00
oddMLan d83c8597b6 [Debugger] Make Debugger DPI-Aware
Thanks @Shygoo for the class code
2019-04-18 14:10:04 -07:00
oddMLan 01d4ed0bc3 Change some error message boxes to warnings 2019-04-15 08:58:22 -07:00
shygoo 346d21cd56 [Debugger] Improve the search tool 2019-04-03 13:56:45 -05:00
shygoo 22b4a3e94f [Debugger] Make DMA log stable 2019-04-02 14:16:39 -05:00
shygoo 27bc76d089 [Debugger] Make DMA log stable 2019-04-02 13:28:46 -05:00
shygoo 03ba3640b5 [Debugger] Clean up compiler warnings 2019-01-27 16:40:23 -06:00
LuigiBlood c714584fac Cause register access for scripts 2019-01-24 19:48:26 +01:00
shygoo 62baab2877 [Debugger] JS: Make debug.breakhere stable 2019-01-20 17:38:34 -06:00
shygoo 7a1dd3835b [Debugger] Add GPR read/write breakpoints 2019-01-20 02:52:49 -06:00
shygoo 98e933be1b [Debugger] CPU Log: More UI behavior improvements 2019-01-19 14:14:26 -06:00
zilmar 557892e47e
Merge pull request #1556 from shygoo2/cmds-fix-addr-textbox
[Debugger] Commands: Update address textbox when address is changed
2019-01-18 15:29:30 +10:30
shygoo 6b34e8f77c [Debugger] Add CPU exception breakpoint window 2019-01-17 03:34:24 -06:00
shygoo 26151f1d9e [Debugger] Commands: Update address textbox when address is changed 2019-01-16 14:06:33 -06:00
shygoo 42613f96e1 [Debugger] CPU Log: fix mousewheel scrolling 2019-01-14 23:19:28 -06:00
shygoo 12b97b83d8 [Debugger] CPU Log: fix wrong indeces after scrolling 2019-01-14 05:11:15 -06:00
shygoo 4d322191c2 [Debugger] Add CPU Log, break and show log/commands window on CPU errors 2019-01-14 03:18:43 -06:00
oddMLan 2b96fdaa94 [Debugger] Clean and refactor Window position retrieving & saving code
Many thanks to Shygoo for the general template of the code
2019-01-14 00:08:00 -07:00
oddMLan 786a519433 [Debugger] Stack Trace: Remember window position 2019-01-13 23:02:05 -07:00
oddMLan c949b8e107 [Debugger] Stack View: Remember window position 2019-01-13 22:59:24 -07:00
oddMLan d60558dacb [Debugger] Symbols: Remember window position 2019-01-13 22:55:19 -07:00
oddMLan fc6ef16cb3 [Debugger] Scripts: Remember window position 2019-01-13 22:52:11 -07:00
oddMLan ad7df17b96 [Debugger] DMALog: Remember window position 2019-01-13 22:43:14 -07:00
oddMLan cd0d067982 [Debugger] Fix DMA Window load position 2019-01-13 22:37:51 -07:00
oddMLan a1726ba51f [Debugger] Commands: Save position OnExitSizeMove 2019-01-13 22:29:11 -07:00
oddMLan 7ed3c9b0ba Fix compilation 2019-01-13 22:19:53 -07:00
zilmar 82ff21f255 Clean up some of the debugger code 2019-01-14 14:33:02 +10:30
oddMLan 12351337d1 [Debugger] UI: Get window position and size from cfg 2019-01-13 01:13:59 -07:00
oddMLan f1927648ac [Debugger] DebugDialog.h: Implement functions to manipulate window position and size 2019-01-13 01:12:00 -07:00
oddMLan 798e19b2a6 [Debugger] ShowWindow(): Restore window if minimized 2019-01-10 21:05:21 -07:00
shygoo 7ef9b19dc9 [Debugger] Improve OpInfo::ReadsGPR/WritesGPR 2019-01-05 19:55:26 -06:00
shygoo 707e4a5fdd [Debugger] Add step-over button to dlg resize map and fix tooltip (fix #1541) 2019-01-03 15:21:03 -06:00
shygoo 75cc059501 [Debugger] Fix issue with the address field ignoring first input 2018-12-27 16:08:14 -06:00
shygoo 2408fa0f08 [Debugger] Fix opcode editor in the commands window 2018-12-27 15:57:18 -06:00
shygoo d3aadf75cc [Debugger] Make AddressRange inclusive in the JS API 2018-12-09 18:44:30 -06:00
shygoo 1b34937307 [Debugger] Add events.ongprvalue to JS API 2018-12-09 15:24:11 -06:00
shygoo d7ad7be6cb [Debugger] Improve address checks (fix #1515) 2018-12-08 22:26:11 -06:00
zilmar be73dcd459
Merge pull request #1511 from shygoo2/onexecopcode
[Debugger] Add events.onopcode to JS API
2018-12-09 05:01:10 +10:30
shygoo a2808d94ce [Debugger] Make auto-refresh optional in memory viewer 2018-12-08 06:45:52 -06:00
shygoo 98c6b5f336 whitespace 2018-12-06 23:56:46 -06:00
shygoo 4b87f25f5f Merge https://github.com/project64/project64 into onexecopcode 2018-12-06 23:52:29 -06:00
shygoo d7e02760b8 update api doc 2018-12-06 23:47:56 -06:00
shygoo 91ec99bd52 rename 2018-12-06 22:19:28 -06:00
shygoo 9f4323c06b add events.onexecvalue 2018-12-06 22:10:55 -06:00