0ad/source
elexis 197ab42bd2 Remove catch of critical PSERROR_Scripting exceptions in the GUI that is obsolete for the intended case and wrong for the unintended case.
The catch had been introduced in 953fb41c82, seemingly to catch the case
PSERROR_Scripting_LoadFile_OpenFailed from 1e40ed1543 which was removed
in 4b1297b328, refs D2363.
The LoadGlobalScript and LoadGlobalScriptFile functions don't throw
these errors unless that JS code calls broken C++ code throwing that.
In that case catching the error and continuing like nothing happened
leads to subsequent segfaults and similarly severe errors caused by C++,
not XML.

Differential Revision: https://code.wildfiregames.com/D2366
Tested on: clang 9.0.0, gcc 9.2.0, Jenkins/vs2015
Accepted By: nani
This was SVN commit r23068.
2019-10-11 19:30:28 +00:00
..
collada Fix compiler warnings on VS 2015, refs #3439, refs #5069. 2018-03-10 09:58:53 +00:00
graphics Removes unused variables after 7f38bef8e1 and 75d9c6293b. Reported by elexis. 2019-10-04 22:06:52 +00:00
gui Remove catch of critical PSERROR_Scripting exceptions in the GUI that is obsolete for the intended case and wrong for the unintended case. 2019-10-11 19:30:28 +00:00
i18n Remove some unused Profiler.h and CLogger.h includes. 2019-09-07 13:35:45 +00:00
lib Removes duplication of Clamp function. 2019-09-26 21:14:21 +00:00
lobby Fix wrong GlooxScriptConversions include in 9023f4bebb / D2264 triggering VS2015 build warning but no clang build warning, refs #5596. 2019-09-17 20:39:09 +00:00
maths Removes duplication of Clamp function. 2019-09-26 21:14:21 +00:00
mocks More FreeBSD build fixes. 2012-01-30 06:21:11 +00:00
network Always inform clients why the server chose to disconnect them, i.e. stop using NDR_UNKNOWN as a disconnect reason when the reason is known and add a LOGWARNING for future authors. 2019-09-26 11:36:03 +00:00
pch Sort GUI Object types, GUI Object bases and GUI Setting value types into three new folders. 2019-10-02 09:44:00 +00:00
ps Don't leak all GUI objects on name ambiguity following 5cc814759f and remove ERROR_GROUP GUI. 2019-10-11 16:20:50 +00:00
renderer Adds projection type to CCamera to control usages of projection dependent properties. 2019-10-03 18:51:40 +00:00
scriptinterface Fix missing JSAutoRequest before JS_ReportError in various commits. 2019-09-20 19:18:07 +00:00
simulation2 Adds containers serialization tests, std::set serialization and movement semantics 2019-10-04 21:30:52 +00:00
soundmanager Removes duplication of Clamp function. 2019-09-26 21:14:21 +00:00
third_party Removes deprecated 'register' storage class from mongoose. Refs #3068 2019-07-18 06:28:51 +00:00
tools Cleanup Camera related code and uses constant references where possible, fixes #5408. 2019-10-03 13:20:56 +00:00
main.cpp Alt+tab fix for ca9109be75 - call sound IdleTask in Atlas and swap buffers only once in Atlas. 2019-07-24 16:40:34 +00:00
test_setup.cpp Fix string format of the JS test assertion failure following 7c2e9027c2 (cxxtest expects a char* instead of a std::wstring, so newlines were printed as \n characters). 2017-10-13 21:56:45 +00:00