Commit graph

86037 commits

Author SHA1 Message Date
Dale Glass
17e286e1d1 Review fixes 2023-03-22 20:40:56 +01:00
Dale Glass
b4fa14192b Add a ScriptManagerScriptingInterface.cpp, will be useful later. 2023-03-22 20:40:56 +01:00
Dale Glass
6ff331fb8c More Doxygen for ScriptEngine 2023-03-22 20:40:56 +01:00
Dale Glass
76c28532f9 A bit more documentation 2023-03-22 20:40:56 +01:00
Dale Glass
946d7ac6e3 Create ScriptManagerScriptingInterface to move off the scripting API into its own class
Add a lot of documentation
2023-03-22 20:40:56 +01:00
Dale Glass
36290273be Some minor improvements to Doxygen generation
Enable graphs, use SVG
2023-03-22 20:40:56 +01:00
Dale Glass
bf92dea996 Add more Doxygen docs
Doesn't work right in ScriptManager, looks like a conflict with JSDoc
2023-03-22 20:40:56 +01:00
b7582fe13b Removed deadlock in signal proxy disconnect again 2023-03-22 20:40:56 +01:00
882e8c8e38 Fixed V8 crash with Create App 2023-03-22 20:40:55 +01:00
5d835dae84 Added script timers performance debugging 2023-03-22 20:40:55 +01:00
0d6a2109c3 Added signal time and call count debugging 2023-03-22 20:40:55 +01:00
652cf96602 Minor scripting-related fixes 2023-03-22 20:40:55 +01:00
07a305f28e V8 fixes 2023-03-22 20:40:55 +01:00
41b2fbcd87 Listing objects and their properties on API debugger now works 2023-03-22 20:40:55 +01:00
4df326c8a6 Fix problem with sit script 2023-03-22 20:40:55 +01:00
97622bba07 Fixed Create App 2023-03-22 20:40:55 +01:00
be6f9fe472 Increased thread safety in V8 2023-03-22 20:40:55 +01:00
95ebcb07c8 V8 bugfixes 2023-03-22 20:40:55 +01:00
1f493e8653 Safer demarshal functions with no void pointers 2023-03-22 20:40:55 +01:00
6afd348561 Further work on V8 2023-03-22 20:40:55 +01:00
6842e5d4c8 Added more debug info to crash with signals 2023-03-22 20:40:55 +01:00
e8d0f675ad V8 fixes 2023-03-22 20:40:55 +01:00
4e77620ea9 Functions connected to signals now use context that was active during connecting 2023-03-22 20:40:54 +01:00
8e0bd57130 Script engine thread safety improvements 2023-03-22 20:40:54 +01:00
381f8b4a85 V8 threading safetyu improvements 2023-03-22 20:40:54 +01:00
f247fb1363 V8 fixes, including calls and signals 2023-03-22 20:40:54 +01:00
4ff012a8ca Added script include test 2023-03-22 20:40:54 +01:00
0b5ac81596 Fixed convertJSObjectToVariant 2023-03-22 20:40:54 +01:00
e9124a8845 Fixed Window.location 2023-03-22 20:40:54 +01:00
d0e2da5620 Fixed script array to QVariant conversion 2023-03-22 20:40:54 +01:00
5b055b11d5 Fixed location JS API 2023-03-22 20:40:54 +01:00
d9e968d1c2 V8 fixes, incl. enum API objects fix 2023-03-22 20:40:54 +01:00
42f1b3a8ca Switched off animation handlers for now, because they deadlocked with V8 2023-03-22 20:40:54 +01:00
34178ca9fc Fixed some V8 crashes 2023-03-22 20:40:54 +01:00
ce35806fe6 Fixed build warnings 2023-03-22 20:40:54 +01:00
1ad3cb5032 Fixed script value iterator and connect functionality 2023-03-22 20:40:54 +01:00
e049709c12 Fixed Script.require 2023-03-22 20:40:54 +01:00
1bf90544da Fixed adding properties to methods 2023-03-22 20:40:54 +01:00
79ccf9c482 Re-enabled script module cache creation 2023-03-22 20:40:54 +01:00
Dale Glass
45af79ba86 Add missing require test 2023-03-22 20:40:54 +01:00
Dale Glass
a1bf49f1b8 Add missing override 2023-03-22 20:40:54 +01:00
Dale Glass
b355ce2293 Add missing dependency on script-engine 2023-03-22 20:40:54 +01:00
Dale Glass
8b9a3bd5a6 Add hasProperty for checking whether a property exists 2023-03-22 20:40:53 +01:00
3375c7665f Added debug function to list object members 2023-03-22 20:40:53 +01:00
b23948de6b Further work on evaluateInClosure 2023-03-22 20:40:53 +01:00
6916b1064e Fixed evaluateInClosure and other V8 stuff 2023-03-22 20:40:53 +01:00
9fe7f9aa52 Some V8 debuging messages 2023-03-22 20:40:53 +01:00
a47f5e1102 Fixed getting current script name 2023-03-22 20:40:53 +01:00
30620d8899 Fixed object deletion event, temporarily disabled watchdog log commands to make reading logs easier 2023-03-22 20:40:53 +01:00
0c9a403313 V8 fixes, including making debug console work 2023-03-22 20:40:53 +01:00