1
0
forked from 0ad/0ad
0ad/source/pch
wraitii 35ed55cfd6 ParamNode: switch to utf8, ToXML -> ToXMLString, test tweak, PCH tweak
This changes ParamNode to use UTF8 values internally (XMB files are UTF8
since cb9d0733ef).
This removes the need for a lot of conversions, speeding things up and
allows cleaning up the validator interface & a few other callsites.
ConstructJSVal could be a tad slower because of UTF8->16 conversions
within Spidermonkey; but the difference is unlikely to be noticeable in
practica.

Also:
- Changes `ToXML` to `ToXMLString` for clarity.
- Add a simple "op" test & show a particular behaviour of merge nodes
that I intend to change somewhat in D3830.
- Remove Component.h from simulation2 PCH - brought in too much.

Tested by: langbart
Differential Revision: https://code.wildfiregames.com/D3834
This was SVN commit r25228.
2021-04-11 09:23:10 +00:00
..
atlas Precompiled logic update [Windows build] 2019-12-31 13:58:48 +00:00
engine Further header & precompiled cleanup, fix no-PCH builds. 2020-12-09 14:39:14 +00:00
glooxwrapper glooxwrapper by Philip to support building gloox on Windows. 2013-11-07 19:38:09 +00:00
graphics Further header & precompiled cleanup, fix no-PCH builds. 2020-12-09 14:39:14 +00:00
gui Further header & precompiled cleanup, fix no-PCH builds. 2020-12-09 14:39:14 +00:00
lobby Multiplayer lobby based on the XmPP protocol. Special thanks to Philip, alpha123, scythetwirler, and anyone else who has helped build, debug or test the lobby. 2013-11-07 20:07:24 +00:00
lowlevel Add GPL header 2009-04-18 17:00:33 +00:00
network Further header & precompiled cleanup, fix no-PCH builds. 2020-12-09 14:39:14 +00:00
scriptinterface # Rewrite of the game's simulation system 2010-01-09 19:20:14 +00:00
simulation2 ParamNode: switch to utf8, ToXML -> ToXMLString, test tweak, PCH tweak 2021-04-11 09:23:10 +00:00
test Precompiled logic update [Windows build] 2019-12-31 13:58:48 +00:00
tinygettext Sacrifices a goat to the gods of insanity. 2014-04-24 20:05:48 +00:00