0ad/source
elexis 1e07787e76 Revert 64bit number conversions added in c0ca70efd2, don't add the previous long and unsigned long conversions back and use double in the Replay menu.
64bit conversions (including the long ones) are not safe, because not
every number can be converted to the 2^53 JS numbers and pretending to
do so is asking for bugs.
Explicitly use the double type in the Replay menu, because std::time_t
is unspecified and some platforms like Ubuntu yakkety:i386 fail to
build, looking for long.
Double should work for the next 285 million years, becomes consistent
with SavedGame.cpp, is tested by test_ScriptConversions.cpp and doesn't
pretend to cover all 64bit numbers.

Patch By: echotangoecho
Differential Revision: https://code.wildfiregames.com/D205
Refs #3848 D84 D112

This was SVN commit r19367.
2017-04-01 21:06:55 +00:00
..
collada Actually remove trailing tabs from source/. 2016-11-23 14:09:58 +00:00
graphics Some cinema path cleanup. 2017-03-24 22:49:06 +00:00
gui Allow hiding of list columns via XML or JS. 2017-03-28 00:25:17 +00:00
i18n Durations over 1 hour aren't displayed correctly 2017-01-28 10:59:53 +00:00
lib Remove lib/pointer_typedefs.h. Patch by echotangoecho. 2017-01-29 00:06:28 +00:00
lobby Implement clientside kick/ban support for the lobby. 2017-02-28 11:16:46 +00:00
maths Add support for const methods in components and make those that can be const const. 2017-01-20 02:25:19 +00:00
mocks More FreeBSD build fixes. 2012-01-30 06:21:11 +00:00
network Display which clients are still in the loading screen 2017-03-21 18:50:29 +00:00
pch Switch to std::shared_ptr and std::weak_ptr. 2015-01-25 03:10:58 +00:00
ps Revert 64bit number conversions added in c0ca70efd2, don't add the previous long and unsigned long conversions back and use double in the Replay menu. 2017-04-01 21:06:55 +00:00
renderer Fix a vertex shader data pielup in the actor editor. It was reloading the shaders far too often. 2017-03-25 07:44:31 +00:00
scriptinterface Revert 64bit number conversions added in c0ca70efd2, don't add the previous long and unsigned long conversions back and use double in the Replay menu. 2017-04-01 21:06:55 +00:00
simulation2 Cleanup the rest of the mess introduced with the NonGaiaEntities functions in 8c7b6dceaa. 2017-03-25 02:42:51 +00:00
soundmanager Actually remove trailing tabs from source/. 2016-11-23 14:09:58 +00:00
third_party Update tinygettext. 2015-12-08 18:05:11 +00:00
tools Fix a vertex shader data pielup in the actor editor. It was reloading the shaders far too often. 2017-03-25 07:44:31 +00:00
main.cpp Actually remove trailing tabs from source/. 2016-11-23 14:09:58 +00:00
test_setup.cpp Properly shut down SpiderMonkey using JS_ShutDown. 2016-08-06 15:41:59 +00:00