Commit Graph

21 Commits

Author SHA1 Message Date
zilmar 179282043f Project64: Code cleanup 2022-09-26 12:01:54 +09:30
zilmar a65086579f Project64: Code clean up 2022-09-21 14:46:07 +09:30
shyguyhex 8559be556b
[Debugger] JS API: Expand AddressRange class, misc fixes (#2168) 2022-01-13 07:06:30 +10:30
shyguyhex 9b5f45ea23
[Debugger] Fix nested JS callback registration (fix #2147) (#2157)
* [Debugger] Fix nested JS callback registration (fix #2147)

* [Debugger] Handle JS socket ungraceful disconnect
2021-12-28 18:01:19 +10:30
shyguyhex 9a287a53ee
[Debugger] JS API: Improve callback checks (fix #2123) (#2125)
* [Debugger] JS API: Fix project64#2122

* [Debugger] JS API: Improve callback checks (fix #2123)

* [Debugger] JS API: Improve callback checks (fix #2123)
2021-10-11 13:38:48 +10:30
shyguyhex ac94f2505e
[Debugger] Rewrite script API (#2110)
* [Debugger] Rewrite script API

* Update js api paths in installer script
2021-09-03 14:41:04 +09:30
zilmar cf58754414 Change NULL to nullptr 2021-04-12 21:05:39 +09:30
Derek "Turtle" Roe e64c00b49e Update ScriptSystem.cpp
Fix capitalization
2021-03-17 22:58:17 -05:00
zilmar 5c60ea213f Update copyright date 2021-03-02 12:43:17 +10:30
zilmar cd16a8cc48 Clean up some warnings 2021-01-19 16:28:59 +10:30
zilmar 0462f637c4 Add UNICODE to Project64 project 2020-05-12 21:49:05 +09:30
shygoo 9406544aea [Debugger] Misc cleanup and fixes 2019-12-24 18:41:20 -06:00
shygoo d76d3e82c1 [Debugger] Optimize interpreter breakpoint and callback checks 2019-12-01 04:10:36 -06: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
shygoo 1b34937307 [Debugger] Add events.ongprvalue to JS API 2018-12-09 15:24:11 -06:00
shygoo 98c6b5f336 whitespace 2018-12-06 23:56:46 -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
zilmar f41b3b7263 [Project64] Move debugger UI in to UserInterface folder 2017-11-09 17:32:40 +11:00