Commit Graph

230 Commits

Author SHA1 Message Date
Victor Levasseur ad0055910b Add wxString implicit constructor and conversion operator to String 2015-06-22 10:45:04 +02:00
Victor Levasseur 24aed30d3e Add an UTF8 String class
The Text Object use it
2015-06-21 22:04:27 +02:00
Florian Rival 2c0f1543ec Prefer to return const reference to std::string instead of std::string by value 2015-06-01 23:23:34 +12:00
Florian Rival 4eeabf430d Update to Pixi.js v3 2015-05-13 23:40:21 +12:00
Victor Levasseur 0049b5c6fa Merge remote-tracking branch 'upstream/master' into utf8-tr-macro
Conflicts:
	Core/GDCore/BuiltinExtensions/SpriteExtension/SpriteExtension.cpp
	Core/GDCore/Events/ExpressionMetadata.h
	Extensions/Box3DObject/Extension.cpp
	Extensions/DraggableAutomatism/Extension.cpp
	Extensions/Light/Extension.cpp
	Extensions/Network/Extension.cpp
	Extensions/PanelSpriteObject/Extension.cpp
	Extensions/ParticleSystem/ExtensionSubDeclaration1.cpp
	Extensions/ParticleSystem/ExtensionSubDeclaration3.cpp
	Extensions/PathAutomatism/Extension.cpp
	Extensions/PathfindingAutomatism/Extension.cpp
	Extensions/PhysicsAutomatism/Extension.cpp
	Extensions/PlatformAutomatism/Extension.cpp
	Extensions/PrimitiveDrawing/Extension.cpp
	Extensions/SoundObject/Extension.cpp
	Extensions/TextEntryObject/Extension.cpp
	Extensions/TextObject/Extension.cpp
	Extensions/TileMapObject/Extension.cpp
	Extensions/TiledSpriteObject/Extension.cpp
	Extensions/TopDownMovementAutomatism/Extension.cpp
	GDCpp/GDCpp/DocMainPage.h
	GDCpp/docs/doxyfile
	GDJS/GDJS/BuiltinExtensions/AudioExtension.cpp
	GDJS/GDJS/BuiltinExtensions/BaseObjectExtension.cpp
	GDJS/GDJS/BuiltinExtensions/CameraExtension.cpp
	GDJS/GDJS/BuiltinExtensions/FileExtension.cpp
	GDJS/GDJS/BuiltinExtensions/JoystickExtension.cpp
	GDJS/GDJS/BuiltinExtensions/NetworkExtension.cpp
	GDJS/GDJS/BuiltinExtensions/SceneExtension.cpp
	GDJS/GDJS/BuiltinExtensions/SpriteExtension.cpp
	scripts/ExtractTranslations.sh
2015-04-28 20:03:27 +02:00
Florian Rival c2dc553571 Simplified function name declaration for actions/conditions/expressions 2015-04-23 21:30:04 +12:00
Florian Rival 69f1750c88 Hide all angle related instructions (deprecated, use Base object conditions/actions instead) 2015-04-12 17:28:05 +12:00
victorlevasseur c4e899465a Extensions and GDJS now use GD_T where it is possible 2015-03-29 22:28:25 +02:00
victorlevasseur b772a99ff0 Add GD_T macro to translate UTF8 std::string (and _ macro is for wxString
only)
Updated all source code to use the new macro
2015-03-29 14:40:07 +02:00
Victor Levasseur 13f26a6d83 Merge remote-tracking branch 'upstream/macos-bundle' into utf8
Conflicts:
	Core/GDCore/Events/Builtin/LinkEvent.cpp
	Core/GDCore/IDE/EventsRenderingHelper.h
	Extensions/CommonDialogs/CommonDialogs.cpp
2015-03-26 23:46:12 +01:00
Florian Rival 8ff6884837 Factored includes declarations in CMakeLists.txt for extensions 2015-03-19 14:43:38 +13:00
Florian Rival 836b46477b Factored defines declarations in CMakeLists.txt for extensions 2015-03-19 14:04:07 +13:00
Florian Rival e61e5163b7 Factored targets declarations in CMakeLists.txt for extensions 2015-03-19 13:22:47 +13:00
Florian Rival 191881987e Factored all linking tasks in extensions CMakeLists.txt 2015-03-19 11:23:41 +13:00
Florian Rival c6f70cf472 Factored parts of CMakeLists.txt 2015-03-18 17:21:12 +13:00
Florian Rival 4382225576 Factored some parts of CMakeLists.txt 2015-03-18 17:03:51 +13:00
Florian Rival b2a3ec44a4 Tweaked CMakeLists.txt and some files for MacOS compilation 2015-03-07 12:15:08 +13:00
victorlevasseur ca0a8774a4 Remove useless Utf8Tools duplicate from GDCpp 2015-03-02 10:59:31 +01:00
victorlevasseur 35ecff341f Can use locale strings for parameters using a function when declaring the
intruction
2015-02-15 13:19:46 +01:00
victorlevasseur b869115e84 Add UTF8 support in expressions parameters edition dialog 2015-02-15 11:55:36 +01:00
victorlevasseur 6e3772fdcc Add a function to remove invalid utf8 code points from strings 2015-02-14 14:37:45 +01:00
Victor Levasseur a39b67b042 Move UTF8 tools to another file. Add conversion between UTF8 and wstring 2015-02-14 13:06:50 +01:00
Victor Levasseur 41ac0fe2a0 Add basic support for UTF8 in the TextObject.
String expression editor now returns a std::string encoded in UTF8
Add UTF8 tools (and UTF8-CPP header library)
2015-02-14 11:34:46 +01:00
Florian Rival 2317368415 Merge branch 'remove-boost' of https://github.com/victorlevasseur/GD into c++11
Conflicts:
	GDCpp/GDCpp/ObjInstancesHolder.cpp
2015-01-25 20:12:14 +01:00
Florian Rival 64e6860718 Version bump.
Updated copyrights.
2015-01-22 21:22:01 +01:00
Victor Levasseur e05a606139 Merge remote-tracking branch 'upstream/master' into remove-boost
Conflicts:
	GDCpp/GDCpp/ObjInstancesHolder.cpp
	GDCpp/GDCpp/ObjInstancesHolder.h
	GDCpp/GDCpp/RuntimeScene.cpp
	GDCpp/GDCpp/RuntimeScene.h
2015-01-22 18:20:07 +01:00
Florian Rival 67db5bf5ac Fixed hitboxes of PanelSprite/TiledSprite/Text objects not properly updated in HTML5 games 2015-01-20 23:10:09 +01:00
Victor Levasseur 0e92ebfd4a Remove boost 2015-01-20 18:29:55 +01:00
Victor Levasseur 5932a3f5a6 Merge remote-tracking branch 'upstream/master' into win-wx3-gcc4.9-c++11 2015-01-18 21:45:47 +01:00
Florian Rival 6eea30d35a Ported PrimitiveDrawing for HTML5 games 2015-01-18 18:01:11 +01:00
victorlevasseur f18b258083 Add support for TDM-GCC 4.9.2 with C++11
GNU extensions are also activated as wxWidgets cannot be built without
them
2015-01-18 15:54:31 +01:00
Florian Rival 768204bb56 Removed useless extension virtual destructors. Updated Panel Sprite object description 2015-01-14 22:25:38 +01:00
Florian Rival 418bae8632 Removed useless Destroy* functions for objects 2015-01-08 21:58:36 +01:00
Florian Rival ff81b68d80 Removed useless destruction functions for extensions 2015-01-06 23:37:08 +01:00
Florian Rival 4c39bf0fa2 Removed need to have useless destruction functions for objects 2015-01-06 22:47:02 +01:00
Florian Rival 5a5781ba88 Merge pull request #68 from 4ian/improved-extlibs-cmakelists
Improved build process
2015-01-03 16:55:15 +01:00
Florian Rival 4711be9ffe Using SFML targets in CMakeLists instead of raw filenames 2015-01-03 14:39:43 +01:00
Bouh 33953b0639 Correct 2015-01-03 00:32:07 +01:00
Florian Rival 2b0c3a71c2 Enhanced CMakeLists.txt to use GTK2 or 3 according to wxWidgets 2014-12-30 12:53:16 +01:00
Bouh 4503b55bad Update textruntimeobject.js 2014-12-30 01:36:30 +01:00
Bouh 67e3d777c6 Correct location for textruntimeobject.js 2014-12-30 01:34:50 +01:00
Florian Rival 284ba048fd Made ExtLibs/CMakeLists.txt fully working on Windows.
Updated docs about the build process.
Added adv wxWidgets library in all CMakeLists.txt.
2014-12-29 18:21:14 +01:00
Florian Rival 6dcc4d2e5d Removed dependency to wxWidget's webview (not supported by Ubuntu provided wxWidgets version), removed integrated help (now opening directly the default browser) 2014-12-28 18:38:58 +01:00
Florian Rival 540886e354 Switched back to GTK2 for now (need to find a way to determine if wxWidgets uses GTK2 or 3) 2014-12-26 19:45:27 +01:00
Florian Rival 7a3d9ecc7f Add ExtLibs/CMakeLists.txt and reworked other CMakeLists.txt to download boost/SFML and build SFML 2014-12-26 15:13:52 +01:00
Florian Rival 40a82c61ea Switched from LGPL and zlib/png licenses to MIT License. 2014-11-30 16:59:51 +01:00
Florian Rival 506e3a3226 Refactored external sources files in gd::Project, and fixed their unserialization 2014-11-23 15:56:14 +01:00
Florian Rival d54ae5d44a Adapted TextObjet extension declaration to be compatible with emscripten 2014-11-16 21:18:14 +01:00
Florian Rival 1c921efa4e Fixed typos in some method names 2014-11-16 16:19:19 +01:00
Florian Rival 7d3ada265c Replaced "Game Develop" by "GDevelop" 2014-09-24 16:25:13 +02:00