Commit Graph

121 Commits

Author SHA1 Message Date
Victor Levasseur 3b75fd6df4 Add gd::FileStream (#312)
* Fix unicode paths on Windows for XML files
* Add a fstream equivalent that supports gd::String paths (with characters outside the current codepage on Windows)
* Add a sf::InputStream subclass for the same purpose
* Use gd::FileStream in DatFile and ResourcesLoader
* Replace remaining i/ofstream with gd::FileStream
2016-11-13 16:24:11 +01:00
Victor Levasseur 0c7c841aab Use unique_ptr to store gd::SourceFile 2016-09-19 00:15:37 +02:00
Florian Rival cc4e48d82f Fix name of pasted scenes/external events/layouts having an extra space 2016-09-11 18:10:41 +02:00
Florian Rival e444e80493 Update copyrights year 2016-01-14 19:46:56 +01:00
Florian Rival fff64c0ec9 Add rebranding capabilities 2015-12-17 20:38:55 +01:00
Florian Rival b059c3f3b4 Refactored editor tabs management into EditorsNotebookManager 2015-12-12 22:16:52 +01:00
Florian Rival fe9252d3f9 Move SkinHelper to IDE/wxTools directory & avoid crash at startup if StartHerePage is deleted 2015-12-08 22:51:16 +01:00
Florian Rival 63cb853d72 Change file organization (Events, Extensions + more folders) 2015-11-01 11:26:40 +01:00
Victor Levasseur 8462eefb7d Use gd::HelpFileAccess::OpenPage instead of OpenURL in GDevelop 2015-10-25 18:45:02 +01:00
Florian Rival d062d7b6d3 Clarify the use of GPLv3 for the IDE 2015-08-23 16:36:25 +02: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 18c59dbb5d Totally remove ToString(), ToInt(), ToFloat() and ToDouble() 2015-07-22 16:20:26 +02:00
Victor Levasseur 2a0052b207 Add gd::String::From/To template to replace all FromXXX/ToXXX() methods 2015-07-21 14:35:29 +02:00
Victor Levasseur 445e0061a7 Remove Utf8Tools.h 2015-07-17 12:05:12 +02:00
victorlevasseur 2fe320ee3b Remove GD_T() macro 2015-07-07 13:30:13 +02:00
Victor Levasseur 346bfd48a2 Replace std::string by gd::String in GDIDE 2015-07-05 22:55:12 +02:00
Victor Levasseur c2d10d5088 gd::String can be built from a string literal 2015-06-26 12:20:39 +02:00
Victor Levasseur 7046cf1f75 _() now returns a gd::String object
Make some adjustments in source code to avoid ambiguous conversions.
2015-06-22 13:58:10 +02: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 752d2a48cf Added Backspace as an alternative to Delete key shortcut 2015-04-23 22:12:42 +12: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
victorlevasseur 198ad39e06 Project manager supports UTF8 2015-03-15 11:02:23 +01:00
Florian Rival 983a0bffc6 Removed any use of wxProgressDialog on Mac OS X (Freeze the app due to the call to YieldFor while running SFML canvas) 2015-03-13 22:59:13 +13:00
Florian Rival db123a4dab Gray out ribbon icons of Projects tab if they can't be used 2015-03-13 22:25:03 +13:00
Florian Rival 0a768a4496 Updated wording, added user language to Analytics 2015-03-12 22:21:20 +13:00
Florian Rival b2a3ec44a4 Tweaked CMakeLists.txt and some files for MacOS compilation 2015-03-07 12:15:08 +13: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
victorlevasseur ae1f6d61b3 Remove boost dependency (boost::to_upper still remaining) 2015-01-18 21:09:45 +01:00
Florian Rival 506e3a3226 Refactored external sources files in gd::Project, and fixed their unserialization 2014-11-23 15:56:14 +01:00
Victor Levasseur 93b7990981 Fix wrong help link for french translation 2014-10-07 21:08:41 +02:00
Florian Rival 25b9a12269 Fix folder opening in a file explorer on Linux and Mac 2014-10-05 13:16:57 +02:00
Florian Rival 7d3ada265c Replaced "Game Develop" by "GDevelop" 2014-09-24 16:25:13 +02:00
Florian Rival fb25ae6295 Fixed memory leak with EventsList and added test for it 2014-08-12 22:22:00 +02:00
Florian Rival 8844642ae0 Updated copyrights.
Added doxygen files.
Cleaned some files.
2014-06-26 00:20:36 +02:00
Florian Rival 81ca49d98a Aspect ratio can now be preserved for HTML5 games (fullscreen activated or not).
Renamed GetLayoutCount to GetLayoutsCount.
2014-05-30 02:41:17 +02:00
Florian Rival fb02721bf9 All singletons now have a Get method instead of GetInstance.
Exposed more methods to embind.
2014-04-21 17:49:34 +02:00
Florian 79f842d136 Reminder dialog now ask for feedback + Replaced paywhatyouwant with indiegogo.
git-svn-id: svn://localhost@1257 8062f311-0dae-4547-b526-b8ab9ac864a5
2014-03-27 15:02:34 +00:00
Florian a280807af0 Fixed icons not using SkinHelper.
git-svn-id: svn://localhost@1255 8062f311-0dae-4547-b526-b8ab9ac864a5
2014-03-10 21:19:50 +00:00
Florian 31d9147350 Adapted to changes in GDCore.
git-svn-id: svn://localhost@1246 8062f311-0dae-4547-b526-b8ab9ac864a5
2014-02-06 20:03:52 +00:00
Florian 78cdbdc4bd Adapted dialogs to use gd::SkinHelper for their icons.
git-svn-id: svn://localhost@1243 8062f311-0dae-4547-b526-b8ab9ac864a5
2014-02-04 16:23:22 +00:00
Florian 2d5f4ff831 Improved bug report dialog.
Updated copyright.

git-svn-id: svn://localhost@1238 8062f311-0dae-4547-b526-b8ab9ac864a5
2014-01-04 12:50:39 +00:00
Florian 3c54e9ed12 Improved BugReport dialog (Report sent using a http request and autosaves of opened files are open after closing the dialog).
GD now warns the user when closing a project where changes have been made.
Tweaks for Ubuntu in ChoixAction/Condition and other dialogs.
Update CMakeLists.txt to use GTK3 on Linux.

git-svn-id: svn://localhost@1230 8062f311-0dae-4547-b526-b8ab9ac864a5
2013-12-27 17:44:10 +00:00
Florian d78cffa3ef Added buttons and shortcuts to swap scene/external layouts or external events position.
git-svn-id: svn://localhost@1216 8062f311-0dae-4547-b526-b8ab9ac864a5
2013-11-12 21:13:59 +00:00
Florian 08b248da00 Added tooltip to ribbon buttons.
git-svn-id: svn://localhost@1207 8062f311-0dae-4547-b526-b8ab9ac864a5
2013-10-31 16:58:18 +00:00
Florian de79874907 Fixed refreshing of LayoutEditorPropertiesPnl.
Fixed whitespace added at the end of the name of a copied scene.

git-svn-id: svn://localhost@1193 8062f311-0dae-4547-b526-b8ab9ac864a5
2013-10-07 20:00:56 +00:00
Florian ed67eab6ca In NewProjectDialog: Ensure that a platform is visually selected when opening the window.
Added "Open project folder" in the context menu of the project manager.

git-svn-id: svn://localhost@1141 8062f311-0dae-4547-b526-b8ab9ac864a5
2013-07-19 14:40:53 +00:00
Florian 032a1af96b Adapted to GDL name change.
git-svn-id: svn://localhost@1103 8062f311-0dae-4547-b526-b8ab9ac864a5
2013-07-01 20:40:51 +00:00
Florian 0a892a63c4 Fixed extension count in the project manager.
git-svn-id: svn://localhost@1053 8062f311-0dae-4547-b526-b8ab9ac864a5
2013-06-19 16:39:01 +00:00