summaryrefslogtreecommitdiff
path: root/modules
AgeCommit message (Collapse)Author
2019-05-21Merge pull request #29079 from neikeq/oopsieIgnacio Roldán Etcheverry
Fix C# build error in MarshalUtils debug code
2019-05-21Merge pull request #29052 from neikeq/fixes-28667------i-thinkIgnacio Roldán Etcheverry
Replace call to 'mono_runtime_object_init' with manual ctor invoking
2019-05-21Fix C# build error in MarshalUtils debug codeIgnacio Etcheverry
2019-05-21Merge pull request #29041 from hbina/add_constRémi Verschelde
add const to methods that return literals
2019-05-21Merge pull request #28964 from Faless/webrtc/channels_prRémi Verschelde
WebRTC refactor. data channels, STUN/TURN support.
2019-05-21Merge pull request #29050 from hbina/redundant_null_checksRémi Verschelde
removed a redundant null check in assimp editor
2019-05-21added a const keyword for a methods that return constant literal...hbina085
2019-05-20removed a redundant NULL check in assimp editor of a pointer to an array ↵hbina085
declared in the same statement block
2019-05-21Replace call to 'mono_runtime_object_init' with manual ctor invokingIgnacio Etcheverry
2019-05-20Merge pull request #27886 from LeonardMeagher2/obj_to_stringRémi Verschelde
Allow overriding how scripted objects are converted to strings
2019-05-20Fix history state setup in VisualScriptSwarnim Arun
2019-05-20Merge pull request #28975 from RameshRavone/type_tagRémi Verschelde
NULL global_tag for non exposed classes
2019-05-20Merge pull request #28965 from jkirsons/csgpolygon-weird-end-capRémi Verschelde
Resolve: #24682 CSGPolygon - weird end cap
2019-05-19Fix typos with codespellRémi Verschelde
Using codespell 1.15.0. Method: ``` $ cat > ../godot-word-whitelist.txt << EOF ang curvelinear doubleclick leapyear lod merchantibility nd numer ois ony que seeked synching te uint unselect webp EOF $ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po" $ git diff // undo unwanted changes ```
2019-05-18Merge pull request #28974 from neikeq/moshi-moshi_git-desu-kaIgnacio Roldán Etcheverry
C#: Marshalling support for IEnumerable<> and IDictionary<,>
2019-05-18C#: Marshalling support for IEnumerable<> and IDictionary<,>Ignacio Etcheverry
Also fixed the hint string of exported members.
2019-05-18NULL global_tag for non exposed classesRameshRavone
2019-05-17Resolve: #24682 CSGPolygon - weird end capJason
2019-05-16Merge pull request #28595 from godotengine/AndreaCatania-patch-1Max Hilbrunner
Improved CCD calculation algorithm
2019-05-16Improved CCD calculation algorithmAndrea Catania
2019-05-16WebRTC refactor. Data channels, STUN/TURN support.Fabio Alessandrelli
A big refactor to the WebRTC module. API is now considered quite stable. Highlights: - Renamed `WebRTCPeer` to `WebRTCPeerConnection`. - `WebRTCPeerConnection` no longer act as `PacketPeer`, it only handle the connection itself (a bit like `TCP_Server`) - Added new `WebRTCDataChannel` class which inherits from `PacketPeer` to handle data transfer. - Add `WebRTCPeerConnection.initialize` method to create a new connection with the desired configuration provided as dictionary ([see MDN docs](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/RTCPeerConnection#RTCConfiguration_dictionary)). - Add `WebRTCPeerConnection.create_data_channel` method to create a data channel for the given connection. The connection must be in `STATE_NEW` as specified by the standard ([see MDN docs for options](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/createDataChannel#RTCDataChannelInit_dictionary)). - Add a `data_channel_received` signal to `WebRTCPeerConnection` for in-band (not negotiated) channels. - Renamed `WebRTCPeerConnection` `offer_created` signal to `session_description_created`. - Renamed `WebRTCPeerConnection` `new_ice_candidate` signal to `ice_candidate_created`
2019-05-16Revert "Revert "Implemented terrain raycast acceleration""Rémi Verschelde
2019-05-16Merge pull request #28917 from Faless/gdnative/singleton_editor_fix_prRémi Verschelde
Update GDNativeLibrarySingletonEditor.
2019-05-15Fix indexing failure in NativeScriptLanguage::unregister_binding_functions.Frank Secilia
binding_functions.size() and an instance's binding_data.size() can get out of sync. They sync up when an instance's bindings are requested. When binding functions are registered after creating an instance's bindings, the instance's bindings are out of sync until requested again. If they're never requested, they're never synced. unregister_binding_functions indexes into binding_data, but only checks that its safe to index into binding_functions. When they're out of sync, indexing fails. This revision checks that it's safe to index into binding_data.
2019-05-15Update GDNativeLibrarySingletonEditor.Fabio Alessandrelli
Moved GDNative singletons discoverer from register_types to GDNativeSingletonEditor. Fix enable/disable switch in GDNativeLibrarySingletonEditor. Separate `gdnative/singletons` and `gdnative/singletons_disabled` project settings, keeping "on by default" behavior.
2019-05-13Merge pull request #28809 from bojidar-bg/x-navmesh-wrong-vertex-orderRémi Verschelde
Fix orientation of generated navmeshes
2019-05-13Merge pull request #28839 from Faless/gdnative/lib_resource_fixRémi Verschelde
Fix GDNative library resource loading.
2019-05-13Merge pull request #28326 from BastiaanOlij/center_heightmapRémi Verschelde
Center shape according to logic Bullet applies
2019-05-12Fix GDNative library resource loading.Fabio Alessandrelli
Store general properties in ConfigFile too when modifying them. Additionally set config_file property as internal as it's not editable from inspector. It also does not appear to get saved in a meaningful way (saved as Object(ConfigFile, ...))
2019-05-11Fix orientation of generated navmeshesBojidar Marinov
Fixes #23817
2019-05-11Add RegEx substitution testcase and fix relevant docsRyan Stein
(cherry picked from commit a31bbb4bd920e28cbb2c737a785e91da5e7a599f)
2019-05-09Change "ID" to lowercase "id"Aaron Franke
Reasoning: ID is not an acronym, it is simply short for identification, so it logically should not be capitalized. But even if it was an acronym, other acronyms in Godot are not capitalized, like p_rid, p_ip, and p_json.
2019-05-07Add transform support to deal with Bullets centering of shapesBastiaan Olij
2019-05-05Merge pull request #28700 from ShyRed/fixmonogluewindowsIgnacio Roldán Etcheverry
Fix generation of Mono Glue for Visual Studio 2017+
2019-05-05Fix generation of Mono Glue for Visual Studio 2017+ShyRed
vsnprintf definition should only be changed when MSC version is older than 2013. The version check and fix is taken from StringUtils.h of assimp.
2019-05-03Allow overriding how scripted objects are converted to stringsLeonard Meagher
solves #26796 - ADD `String to_string()` method to Object which can be overriden by `String _to_string()` in scripts - ADD `String to_string(r_valid)` method to ScriptInstance to allow langauges to control how scripted objects are converted to strings - IMPLEMENT to_string for GDScriptInstance, VisualScriptInstance, and NativeScriptInstance - ADD Documentation about `Object.to_string` and `Object._to_string` - Changed `Variant::operator String` to use `obj->to_string()`
2019-05-04Fixes VideostreamGDNative crash on audio_channel=0.Anish
Added an if case to check if the mix_callback exists before running any of the audio code. Fixes: #28644
2019-05-03Merge pull request #28603 from bojidar-bg/24134-typed-array-shareRémi Verschelde
Fix typed arrays and dictionaries getting their values shared
2019-05-03Merge pull request #27594 from marxin/fix-duplicate-conditionsRémi Verschelde
Fix duplicated conditions.
2019-05-02Merge pull request #27415 from aqnuep/kinematicbody_fixesRémi Verschelde
KinematicBody performance and quality improvements
2019-05-02Merge pull request #28609 from bojidar-bg/27152-indirect-code-completionRémi Verschelde
Fix slight issues with autocompletion and member lists in GDScript
2019-05-02Merge pull request #28447 from fire/vs_reorder_searchRémi Verschelde
Change order of Visual Script Search and Misc VS UX
2019-05-02Fix slight issues with autocompletion and member lists in GDScriptBojidar Marinov
Fixes #27152 Fixes #28591
2019-05-02Fix typed arrays and dictionaries getting their values sharedBojidar Marinov
2019-05-02Ignore a warning in _get_socket_error (-Wlogical-op).marxin
drivers/unix/net_socket_posix.cpp: In member function 'NetSocketPosix::NetError NetSocketPosix::_get_socket_error()': drivers/unix/net_socket_posix.cpp:197:22: warning: logical 'or' of equal expressions [-Wlogical-op] 197 | if (errno == EAGAIN || errno == EWOULDBLOCK) | ^ and: modules/mono/utils/string_utils.cpp: In function 'int {anonymous}::sfind(const String&, int)': modules/mono/utils/string_utils.cpp:68:48: error: logical 'or' of collectively exhaustive tests is always true [-Werror=logical-op] found = src[read_pos] == 's' || (c >= '0' || c <= '4'); ~~~~~~~~~^~~~~~~~~~~
2019-05-02Merge pull request #28568 from Faless/net/lws_rollback_3.0.1_prRémi Verschelde
Roll back libwebsockets to version 3.0.1
2019-05-01Freetype clone env for no-SMID single fileFabio Alessandrelli
Fix freetype build issue for javascript platform. When disabling optimizations (SMID) in specific freetype, source files, we need to make sure to copy all other CPPFLAGS, not just override them.
2019-05-01VS: Give the generic search the current base type.K. S. Ernest (iFire) Lee
2019-05-01VS: Better uxK. S. Ernest (iFire) Lee
* In VS functions' put the current node type first. * Cleanup and merge property and method sections.
2019-05-01Change order of Visual Script Search.K. S. Ernest (iFire) Lee
Previously: * vs nodes * properties * methods Now: * properties * methods * vs nodes