Commit graph

15454 commits

Author SHA1 Message Date
Fabio Alessandrelli
69817232ff Set SO_BROADCAST socket option for UDP sockets. 2018-06-05 12:14:18 +02:00
Rémi Verschelde
36c70bbcd0
Merge pull request #19377 from godotengine/revert-18172-fix_notification
Revert "Prevent visibility notification from being called twice in object creation"
2018-06-05 12:07:05 +02:00
Rémi Verschelde
2935cd8a58
Revert "Prevent visibility notification from being called twice in object creation" 2018-06-05 12:05:02 +02:00
Rémi Verschelde
6e32a2886f
Merge pull request #18792 from PJB3005/18-05-11-objectdb-verbose-mono
Fixes ObjectDB leak printout with mono.
2018-06-05 10:03:11 +02:00
George Marques
7488e83954
Merge pull request #19371 from guilhermefelipecgs/fix_rect2_prop
Fix Rect2 properties typo
2018-06-04 22:00:38 -03:00
Guilherme Felipe
262c78ed97 Fix Rect2 properties typo 2018-06-04 19:16:17 -03:00
Max Hilbrunner
2a9253a3a6
Merge pull request #19332 from Faless/optional_net_poll
Add option to disable automatic multiplayer poll in SceneTree
2018-06-03 22:02:24 +02:00
Rémi Verschelde
e2acc602f3 Dist: update script to make Steam icon sets 2018-06-03 19:28:07 +02:00
Marcelo Fernandez
c409fe0597 Pause AudioStreamPlayers when SceneTree pauses 2018-06-03 14:01:47 -03:00
Fabio Alessandrelli
348725dfe0 Add option to disable automatic multiplayer poll
Automatic poll from SceneTree is enabled by default.
This allows for polling (and thus RPCs/RSETs) manually in other loops
(e.g. physics, thread, specific step) and for proper mutex protecion
when accessing the multiplayer API from threads (e.g. for sending larger
files in chunks).
2018-06-03 18:58:04 +02:00
Bojidar Marinov
d73cdeb248
Fix bugs related to bad handling of rotated/translated shapes in tilemap
Fixup #18529 and #12870
2018-06-03 16:32:23 +03:00
James Beedie
6cbafdea16 Added autotile override 2018-06-02 21:25:09 -04:00
Rémi Verschelde
8684b63118
Merge pull request #19310 from hpvb/fix-mingw-static-mono-linking
Fix Mono static linking on Mingw
2018-06-01 22:01:42 +02:00
Hein-Pieter van Braam
f2d669f5d3 Fix Mono static linking on Mingw 2018-06-01 21:46:46 +02:00
NIkola Grulovic
bc666c42ff Syntax Menu as sub-menu of Edit
Moved syntax menu to be sub-menu of edit, as-well made choices radio buttons
2018-06-01 21:32:19 +02:00
Rémi Verschelde
ff0d295d9e
Merge pull request #19250 from YeldhamDev/scene_editor_tooltips
Minor changes to the Scene and Canvas editors' tooltips
2018-06-01 13:31:46 +02:00
Rémi Verschelde
6c1d71edc4
Merge pull request #19280 from clktmr/master
Add cli paramerter --check-only for script parsing
2018-06-01 13:29:46 +02:00
Rémi Verschelde
1820f9752d
Merge pull request #19299 from oliverrausch/master
Fix return type of isnan and isinf in the shader language
2018-06-01 09:20:04 +02:00
Oliver Rausch
2368b31e1e Fix return type of isnan and isinf in the shader language 2018-06-01 01:34:32 +02:00
Timur Celik
3390972373 Add cli paramerter --check-only for script parsing 2018-05-31 20:42:32 +02:00
Rémi Verschelde
255d6470ee
Merge pull request #19263 from vnen/fix-get-return
Fix return type of _get() virtual method
2018-05-31 18:47:55 +02:00
Rémi Verschelde
44b0146953 Revert "Revert "Prevent visibility notification been called twice in object creation""
This reverts commit 4d277b96ad.

Woops, this wasn't meant to be committed. I just reverted it locally
to test something, nothing wrong with the original commit :)
2018-05-31 15:50:02 +02:00
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
Chaosus
cf38270ef7 Increase settings apply speed and added deferred color apply 2018-05-31 11:33:36 +03: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
Thomas Trocha
48e3ff0c8a EditorScenePostImport: added get_source_folder() and get_source_file() methods 2018-05-31 03:23:42 +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
Gabriel Gavilan
b7b63fe034 Improve breakpoints and breakpoint gutter API in TextEdit
Added breakpoint_gutter, is_breakpoint_gutter_enabled, set_breakpoint_gutter_enabled, get_breakpoints, remove_breakpoints.
Fixed breakpoint_toggled signal not fierd when text is edited.
Fixes #18026.
2018-05-30 14:39:44 +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
George Marques
34e2ccc593
Fix return type of _get() virtual method 2018-05-29 23:30:01 -03:00
Marcelo Fernandez
cadd72793b Improve TileMap undo operations, second try 2018-05-29 19:35:30 -03: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
Michael Alexsander Silva Dias
589f18a374 Minor changes to the Scene and Canvas editors' tooltips. 2018-05-29 13:21:26 -03:00