Commit Graph

20 Commits

Author SHA1 Message Date
zilmar cf58754414 Change NULL to nullptr 2021-04-12 21:05:39 +09:30
Derek "Turtle" Roe 38e3b5c75d Update ScriptInstance.cpp
Fix capitalization, adjust some TODO comments, add punctuation, adjust wording, remove extra comments, add newlines
2021-03-17 22:58:17 -05:00
zilmar 5c60ea213f Update copyright date 2021-03-02 12:43:17 +10:30
shygoo 033d9b8327 [Debugger] Improve script window UI/stability 2020-12-18 13:57:50 -06:00
m000z0rz 9b9ab2af75 Fix script hanging when you stop a script with open listeners 2020-05-20 12:39:30 -05:00
m000z0rz 82716b247b Prevent stack overflow by popping the pcall return value / error 2020-05-20 12:10:42 -05:00
zilmar 0462f637c4 Add UNICODE to Project64 project 2020-05-12 21:49:05 +09:30
kaitengero 6b45241252 Refresh "Scripts" window on script state change 2020-01-06 19:50:48 -08:00
shygoo 9406544aea [Debugger] Misc cleanup and fixes 2019-12-24 18:41:20 -06:00
Azimer 84c164ff66 Fix for Windows XP compatibility
I neglected FreeLibrary and have multiple calls to LoadLibrary without freeing.  This is fixed by moving it to the class member level and allocating and deallocating through the class constructor/destructor.
2019-08-01 09:39:39 -05:00
Azimer a972773b6a Windows XP Fixes?
Does this actually work?
2019-07-31 23:28:49 -05: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
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 1b34937307 [Debugger] Add events.ongprvalue to JS API 2018-12-09 15:24:11 -06:00
shygoo 9f4323c06b add events.onexecvalue 2018-12-06 22:10:55 -06:00
shygoo d409dbc86e [Debugger] Add file system interface to the JS API 2018-02-18 15:37:03 -06:00
zilmar 73944b2636 [Debugger] clean up warnings and code 2018-01-18 17:53:07 +11:00
zilmar 7e1e7bf39b [Debugger] Change bHaveDebugger to HaveDebugger 2018-01-16 08:23:21 +11:00
zilmar f41b3b7263 [Project64] Move debugger UI in to UserInterface folder 2017-11-09 17:32:40 +11:00