Commit Graph

16 Commits

Author SHA1 Message Date
Florian Rival 2c2efa4a99 Fix SerializerElement broken when using attributes with children (#1088)
* Fix SerializerElement broken when using attributes with children
* Fix usage of AddChild on arrays without named children
2019-06-06 17:43:15 +02:00
Florian Rival 433dc763d1 Separate Behavior into BehaviorContent and Behavior, and add RuntimeBehavior for GDCpp 2019-05-03 22:47:21 +01:00
Florian Rival 238b6a2a09 Fix un/serialization of JSON arrays by gd::Serializer 2018-12-21 21:02:13 +01:00
Florian Rival af7f13c0b8 Add Get/SetMetadata on gd::Resource 2018-10-11 23:39:48 +01:00
Florian Rival c23642e78c Prevent any error due to quotes or invalid characters when exporting to Electron 2018-06-11 22:36:45 +01:00
Florian Rival a8559bfbbc Add clang-format to format (C++) source files automatically (#491)
* Update all CMakeLists of extensions to use clang-format
* Run clang-format on all Extensions
* Update GDCore CMakeLists.txt to add clang-format
* Run clang-format on GDCore files
* Update GDJS and GDCpp CMakeLists.txt to add clang-format
* Run clang-format on GDCpp and GDJS files
2018-05-09 15:57:38 -07:00
Victor Levasseur cc6810e3f6 Replace unsigned int with std::size_t where it's possible 2015-08-18 18:43:39 +02:00
Victor Levasseur 0a1542ba73 Replace all std::string by gd::String in GDCore
Add some other methods to gd::String (insert, ...)
2015-07-04 23:58:06 +02:00
Victor Levasseur 0e92ebfd4a Remove boost 2015-01-20 18:29:55 +01:00
victorlevasseur ae1f6d61b3 Remove boost dependency (boost::to_upper still remaining) 2015-01-18 21:09:45 +01:00
Florian Rival cf991818d9 Removed useless deprecated dialogs 2014-12-14 19:31:42 +01:00
Florian Rival a5408d21fd Fixed typos, removed useless debug messages. 2014-08-08 22:58:21 +02:00
Florian Rival ba32de86c0 Embinded gd::Layer and fixed gd::Project binding.
Fixed JSON serialization.
gd::InitialInstancesContainer::IterateOverInstances is now passing a pointer. (For use with emscripten, so that the "$$.ptr" element of the instance passed as parameter is constant).
2014-05-29 17:15:59 +02:00
Florian Rival a63cb3ef8f Instructions "manipulated type" of standard extensions are now set in GDCore.
Fixed serialization of some classes.
Fixed serializer JSON saving and added loading from JSON.
Exposed gd::Serializer::From/ToJSON to embind.
Added more visible buttons to add automatisms to objects in the IDE.
2014-05-08 16:12:55 +02:00
Florian Rival 0bff141691 Started converting LoadFromXml and SaveToXml to the new serialization classes.
Fixed strange bug where abs was returning int instead of float.
2014-04-28 23:32:53 +02:00
Florian Rival cf84e81ead Added Serializer that will be used for all serialization tasks. 2014-04-28 13:51:49 +02:00