Commit graph

98 commits

Author SHA1 Message Date
Rémi Verschelde 49c065d29c Refactoring: rename tools/editor/ to editor/
The other subfolders of tools/ had already been moved to either
editor/, misc/ or thirdparty/, so the hiding the editor code that
deep was no longer meaningful.
2017-03-05 14:21:25 +01:00
Hein-Pieter van Braam 411ee71b4d Rename the _MD macro to D_METHOD
This new name also makes its purpose a little clearer

This is a step towards fixing #56
2017-02-13 12:50:02 +01:00
Juan Linietsky 102b5fce85 Renamed engine.cfg to godot.cfg, to forcefully break compatibility with 2.x 2017-02-04 20:53:55 -03:00
Rémi Verschelde 3890256fc5 Style: Cleanups, added headers, renamed files
Made sure files in core/ and tools/ have a proper Godot license header
when written by us. Also renamed aabb.{cpp,h} and object_type_db.{cpp,h}
to rect3.{cpp,h} and class_db.{cpp,h} respectively.

Also added a proper header to core/io/base64.{c,h} after clarifying
the licensing with the original author (public domain).
2017-01-16 08:04:23 +01:00
Rémi Verschelde 93ab45b6b5 Style: Fix whole-line commented code
They do not play well with clang-format which aligns the `//` part
with the rest of the code block, thus producing badly indented commented code.
2017-01-14 14:52:23 +01:00
Rémi Verschelde 7b9f2d9929 Finish renaming *Frame GUI classes to *Rect
ReferenceFrame had been overlooked, and the cpp files still used the old
names. Also ripgrep'ed it all to find some forgotten references.
2017-01-14 10:52:54 +01:00
Juan Linietsky 04c749a1f0 New API for visibility in both CanvasItem and Spatial
visible (property) - access set_visible(bool) is_visible()
is_visible_in_tree() - true when visible and parents visible
show() hide() - for convenience
2017-01-13 10:45:50 -03:00
Juan Linietsky da477b76a9 some class renames
TextureFrame -> TextureRect
Patch9Frame -> NinePatchRect
ColorFrame -> ColorRect
2017-01-12 18:28:12 -03:00
Juan Linietsky bc26f90581 Type renames:
Matrix32 -> Transform2D
	Matrix3 -> Basis
	AABB -> Rect3
	RawArray -> PoolByteArray
	IntArray -> PoolIntArray
	FloatArray -> PoolFloatArray
	Vector2Array -> PoolVector2Array
	Vector3Array -> PoolVector3Array
	ColorArray -> PoolColorArray
2017-01-11 00:52:51 -03:00
Juan Linietsky 48097f6df3 Removed the set_child_rect() in AcceptDialog. AcceptDialog now works as a container! 2017-01-10 01:49:55 -03:00
Juan Linietsky 920947f297 renamed _input_event for GUI events to _gui_input, so it's more differentiated than generalized _input 2017-01-08 16:28:12 -03:00
Juan Linietsky 99ceddd11e Editor settings categories are now tidy and beautiful! 2017-01-05 19:41:36 -03:00
Juan Linietsky 118eed485e ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant.
All usages of "type" to refer to classes were renamed to "class"
ClassDB has been exposed to GDScript.
OBJ_TYPE() macro is now GDCLASS()
2017-01-02 23:03:46 -03:00
Rémi Verschelde 3f3f5a5359 Merge remote-tracking branch 'origin/gles3' into gles3-on-master
Various merge conflicts have been fixed manually and some mistakes
might have been made - time will tell :)
2017-01-02 21:52:26 +01:00
Rémi Verschelde c7bc44d5ad Welcome in 2017, dear changelog reader!
That year should bring the long-awaited OpenGL ES 3.0 compatible renderer
with state-of-the-art rendering techniques tuned to work as low as middle
end handheld devices - without compromising with the possibilities given
for higher end desktop games of course. Great times ahead for the Godot
community and the gamers that will play our games!
2017-01-01 22:03:33 +01:00
Andreas Haas d82c2687f3
Fix crash on project importing by dragging a folder.
Fixes #7226
2016-12-02 18:51:31 +01:00
volzhs 2d9e89ea2a Check entered and trimmed path when create, import, install project 2016-11-14 21:46:10 +09:00
Rémi Verschelde 734e04a0dd Merge pull request #7068 from volzhs/fix-project-name
Set project name as directory name instead of '.'
2016-11-09 12:02:24 +01:00
volzhs 571f33f863 Set project name as directory name instead of '.' 2016-11-08 21:39:28 +09:00
volzhs b8f80e9450 Select newly created or imported project automatically 2016-11-08 03:39:05 +09:00
Andreas Haas 36d2dd5318
Project manager: grab focus on ok button after path selection.
Slight usability improvement: grabs focus on the Import/Create button after engine.cfg/path selection.
So then I can just press enter to create the project ^^
2016-10-06 12:48:02 +02:00
Juan Linietsky 22d83bc9f6 Begining of GLES3 renderer:
-Most 2D drawing is implemented
-Missing shaders
-Missing all 3D
-Editor needs to be set on update always to be used, otherwise it does not refresh
-Large parts of editor not working
2016-10-03 21:35:16 +02:00
Geequlim fd236a4b6c More custom theme support for editor 2016-09-20 20:41:57 +08:00
Juan Linietsky bfe67a3b87 Make Godot detect if the screen is too small (<1200 pixels wide), and use single dock column like in 1.0 if that's the case. 2016-09-13 11:20:09 -03:00
Juan Linietsky 8bcb6a290c -Added VeryLowDPI and MidDPI modes to Godot editor.
-Improved HiDPI detection (requires resolution of > 2000 in X axis)
2016-09-13 11:05:47 -03:00
Juan Linietsky 1bf684cea2 -Cleaned up find/replace bar for replace (made selection only default if selection exists), also made buttons look like buttons
-Fixed a bug related to theme propagation, may be able to solve #6443, #6302 and others. Please test.
2016-09-11 10:05:46 -03:00
Geequlim c1f23bb6af Fix dialogs in ProjectManage don't with editor theme issue 2016-09-07 15:21:15 +08:00
Rémi Verschelde a22d1f21e1 Merge pull request #6050 from Hinsbart/remove_pm_file_import
Remove unused function in Project Manager.
2016-08-08 11:13:42 +02:00
Ignacio Etcheverry f3a75a42dd Project Manager: Fix and improve unhandled input 2016-08-05 16:06:16 +02:00
Andreas Haas 0df40cc29b
Remove unused function in Project Manager.
This has been deprecated by #5993
2016-08-05 16:01:45 +02:00
Dima Granetchi bee2091056
Auto import project folder, confirm scan multiple folders or non-project folder 2016-08-01 22:59:12 +03:00
Rémi Verschelde 0b595f94c4 Improve dialog title when scanning for projects 2016-07-31 20:46:00 +02:00
Rémi Verschelde c788284b5c Merge pull request #5981 from profelis/PR-scan-dragged-folder
Drag open scan window if engine.cfg not found
2016-07-31 20:16:12 +02:00
Dima Granetchi 5e011dcd0e
dnd folder open scan window if engine.cfg not found 2016-07-31 01:10:13 +03:00
Dima Granetchi a1c0fdac9a
fix run button availability check 2016-07-31 01:06:12 +03:00
Andreas Haas 9720e73e04
Project Manager: Import projects using filesystem drag'n'drop.
Can drop an engine.cfg file over the window to import it ;)
2016-07-29 17:07:05 +02:00
Dima Granetchi 283530a70b
keep selected_list up to date 2016-07-29 03:41:21 +03:00
Dima Granetchi 759e20aac6
Command-F focus filter input field in project manager 2016-07-27 00:48:00 +03:00
Ignacio Etcheverry 761193ecd9 Project Manager: Added project list scrolling with keyboard 2016-07-23 21:37:25 +02:00
Rémi Verschelde 87d0515d09 Fix main scene not being saved when set via Play button
Fixes #1134 for real. Also tweaked the engine.cfg template
and the preference order when browsing for the main scene.
2016-07-19 21:35:14 +02:00
Rémi Verschelde cfaad1ebe7 i18n: Sync template with current source
Also fix a space after : in a translated string.
2016-07-15 08:57:53 +02:00
vamsi b3cf4c73fc Fixed a crash in scenario where SSL is not available. 2016-07-13 18:25:05 +02:00
Juan Linietsky 31ebac2bfb Downloaded templates from project manager can now be installed. 2016-07-11 21:34:50 -03:00
Rémi Verschelde 3fcb9b1ec1 Removed unused variables (second pass) + dead code
Fixes various gcc 5.4.0 warnings for -Wunused-variable and -Wunused-but-set-variable
2016-07-07 23:15:59 +02:00
Rémi Verschelde e4b7a45a38 Initialize the SSL certificates in the project manager 2016-07-06 20:50:07 +02:00
Juan Linietsky 7e50a9a2e8 Avoid settings from being lost when opening project manager.
Probably fixes many issues of this kind, like missing shortcuts or other settings
2016-07-03 19:14:58 -03:00
volzhs e453c10ff5 remove the warning of instances in use at Project manager exit 2016-06-28 22:07:24 +09:00
Geequlim 06690989f1 Clean up editor theme creation 2016-06-18 13:32:03 +08:00
Juan Linietsky 00bfdc834b Better way to disable asset library 2016-06-09 22:47:43 -03:00
Juan Linietsky d02261fc84 Disable asset library compilation if no openssl exists 2016-06-09 21:20:49 -03:00