Commit graph

14653 commits

Author SHA1 Message Date
Rémi Verschelde
819911d16e makerst.py: Properly escape \ for rst
Fixes godotengine/godot-docs#1486.
2018-05-31 15:38:33 +02:00
Rémi Verschelde
4d277b96ad Revert "Prevent visibility notification been called twice in object creation"
This reverts commit d42b17607e.
2018-05-31 12:03:40 +02:00
Rémi Verschelde
43b7ebf0a0 Style: Apply clang-format (5.0) to some missed files 2018-05-31 09:00:37 +02:00
Rémi Verschelde
e823a366d0
Merge pull request #19270 from akien-mga/recast-buildsystem
Move NavigationMeshEditorPlugin to Recast module as should be
2018-05-31 08:48:41 +02:00
Juan Linietsky
10cab25f72
Merge pull request #19278 from karroffel/image-rgbe-srgb
added rgbe_to_srgb method to Image
2018-05-30 18:37:21 -03:00
Rémi Verschelde
bc66b5c619
Merge pull request #19261 from YeldhamDev/logger_period_fix
Don't add a period to a log file name if it has no extension
2018-05-30 22:33:42 +02:00
Rémi Verschelde
59c2c21b15 Move NavigationMeshEditorPlugin to Recast module as should be
Modules can register their own editor plugins (like GridMap does),
so no need to put module-specific classes in the `editor/` folder.

Also cleans up the previous SCons env pollution from the Recast
module, integrating its code into libmodules as other modules.
2018-05-30 22:10:11 +02:00
Rémi Verschelde
65fc525ed8
Merge pull request #19272 from akien-mga/svg-buildsystem
SCons: Remove extraneous lib for SVG module
2018-05-30 22:10:03 +02:00
Rémi Verschelde
33cb5f4492
Merge pull request #19275 from akien-mga/modules-can_build
SCons: Pass env to modules can_build method
2018-05-30 22:07:58 +02:00
karroffel
130bf14ac8 added rgbe_to_srgb method to Image 2018-05-30 21:16:45 +02:00
Rémi Verschelde
3334209a73 SCons: Pass env to modules can_build method
This allows to disable modules based on the environment,
in particular `env[tools]` which tells us if we are
building the editor or not.
2018-05-30 19:11:36 +02:00
Rémi Verschelde
5eb611b297 SCons: Remove extraneous lib for SVG module
It was likely copy pasted by mistake from the freetype module,
which is more complex due to its usage in the core of the engine.
The SVG module does not seem to need any special treatment,
apart from linking in the main env so that editor can access it.
2018-05-30 16:56:24 +02:00
Michael Alexsander Silva Dias
cf9520ba2e Don't add a period to a log file name if it has no extension. 2018-05-30 11:31:29 -03:00
Rémi Verschelde
28fa82c2de
Merge pull request #19268 from swarnimarun/minor_fixes
Removing duplicate Batch Rename from scene-tree menu
2018-05-30 15:39:09 +02:00
Max Hilbrunner
63b607257b
Merge pull request #19266 from akien-mga/os-execute-doc
Improve return value and docs on OS.execute regarding blocking/non-blocking variants
2018-05-30 15:00:10 +02:00
Rémi Verschelde
fc7f931d26
Merge pull request #19255 from Faless/rpc_sync_mmore
RPCMode refactor, more sync modes (2)
2018-05-30 14:59:08 +02:00
steincodes
25704427b5 Removing Duplicate Batch Rename from scene-tree menu 2018-05-30 18:03:08 +05:30
Rémi Verschelde
f392650be2 Improve return value of OS.execute in blocking/non-blocking variants
Initialized the PID to -2, which will be the value returns in blocking-
mode where the PID is not available. (-1 was already taken to signify an
execution failure).

OS::execute will now properly return a non-OK error code when it fails
to execute the target file.

The documentation was rewritten to be very clear about the differences
between blocking and non-blocking mode.

Fixes #19056.
2018-05-30 12:55:17 +02:00
Bastiaan Olij
3d9dffdef7
Merge pull request #19171 from BastiaanOlij/add_arvr_interface_gdnative_version
Adding version info to GDNative ARVR interfaces
2018-05-30 18:49:07 +10:00
Fabio Alessandrelli
8e35d937a9 New sync keywords in GDScript, NativeScript, Mono 2018-05-29 20:26:41 +02:00
Fabio Alessandrelli
4524153b6e New sync RPC modes to match all combinations 2018-05-29 20:26:41 +02:00
Fabio Alessandrelli
1400f6fdc4 Refactor RPCMode enum and checks 2018-05-29 20:26:41 +02:00
Dmitry Pupinin
46bab3abc7 Allow setting higher numbers in Android version/code 2018-05-29 11:59:23 +02:00
Max Hilbrunner
3714689767
Merge pull request #19243 from godotengine/revert-19021-rpc_sync_fix
Revert "RPCMode refactor, more sync modes"
2018-05-29 11:49:37 +02:00
Max Hilbrunner
4c69a495c9
Revert "RPCMode refactor, more sync modes" 2018-05-29 11:47:52 +02:00
Max Hilbrunner
d0b62ce155
Merge pull request #19021 from Faless/rpc_sync_fix
RPCMode refactor, more sync modes
2018-05-29 09:44:03 +02:00
Rémi Verschelde
e2bf28e805
Merge pull request #19238 from volzhs/fix-image-out-of-size-error
Fix index out of size error of image.cpp
2018-05-29 08:23:10 +02:00
Rémi Verschelde
5877863b23
Merge pull request #19227 from ibrahn/fix-py3-build
fixed building using scons with python3.
2018-05-29 07:51:11 +02:00
Rémi Verschelde
53440ddeec
Merge pull request #19199 from AndreaCatania/kinimp
Improved kinematic test_body_motion code
2018-05-29 07:50:25 +02:00
volzhs
224ca96c57 Fix index out of size error of image.cpp 2018-05-29 14:13:05 +09:00
Ibrahn Sahir
27310974e0 fixed building using scons with python3
I broke python 3 builds by using py2 specific dict functions in
commit 98846b39ee
Fixed with functions in compat.py
2018-05-28 18:41:16 +01:00
George Marques
38284bc6da
Enable singletons to be recognized as constant expressions
Fix #14681
2018-05-28 13:40:16 -03:00
Rémi Verschelde
c8a799d691 Fix MethodInfo for EditorInspectorPlugin.can_handle 2018-05-28 16:28:09 +02:00
Max Hilbrunner
fac0120521
Merge pull request #19218 from guilhermefelipecgs/fix_invalid_image2
Change position of validation in set_custom_mouse_cursor
2018-05-28 16:00:21 +02:00
Rémi Verschelde
4c5dd51eb9 Sync classref with current source
Also fix binding of Basis.slerp
2018-05-28 14:53:15 +02:00
Guilherme Felipe
c8e0ec0580 Change position of validation in set_custom_mouse_cursor 2018-05-28 09:36:30 -03:00
Juan Linietsky
ddc24347ba
Merge pull request #19217 from godotengine/revert-18998-customizable-performance-reporting-rate
Revert "Make the performance reporting update frequency customizable"
2018-05-28 08:47:27 -03:00
Juan Linietsky
5bb412f389
Revert "Make the performance reporting update frequency customizable" 2018-05-28 08:47:09 -03:00
Max Hilbrunner
856d945248
Merge pull request #19210 from guilhermefelipecgs/fix_invalid_image
Add validation in set_custom_mouse_cursor
2018-05-28 12:52:10 +02:00
Rémi Verschelde
ced113136b
Merge pull request #19213 from bit-shift-io/master
Fix for not picking up locale of some .po translation files
2018-05-28 12:50:35 +02:00
Max Hilbrunner
daa136784d
Merge pull request #19181 from guilhermefelipecgs/fix_memory_leak
Fix memory leak in set_custom_mouse_cursor
2018-05-28 12:49:34 +02:00
Rémi Verschelde
bce002f5c3
Merge pull request #18410 from GodotExplorer/debugger-inherited-variables
Add inherited variables support for script debugger
2018-05-28 11:59:18 +02:00
Rémi Verschelde
98846b39ee
Merge pull request #18899 from ibrahn/gdscript-license-info
GDScript access to copyright, license, author and donor information.
2018-05-28 11:58:20 +02:00
Rémi Verschelde
cdb5186d7e
Merge pull request #19194 from YeldhamDev/scenetree_doc_groupcall
Fixed GroupCallFlags links in the SceneTree's doc
2018-05-28 11:39:41 +02:00
Fabian
1065f06eef Fix for not picking up locale of some .po translation files 2018-05-28 12:51:05 +09:30
Guilherme Felipe
aad6bdad94 Add validation in set_custom_mouse_cursor
Check if the image is valid.
2018-05-27 20:55:05 -03:00
Juan Linietsky
c80ac06253
Merge pull request #18691 from Web-eWorks/atlasfixes
Fix Sprite3d using AtlasTexture... Again.
2018-05-27 12:55:42 -03:00
Ignacio Etcheverry
97342e6985
Merge pull request #19201 from neikeq/issue-13837
Mono: Fix MonoImage filename being set to an invalid path
2018-05-27 17:19:13 +02:00
Ignacio Etcheverry
97fb999976 Mono: Fix MonoImage filename being set to an invalid path 2018-05-27 17:15:41 +02:00
Andrea Catania
97a1011ba1 Improved kinematic test_body_motion code 2018-05-27 14:55:52 +02:00