summaryrefslogtreecommitdiff
path: root/modules/gdnative/include
AgeCommit message (Collapse)Author
2019-07-26Merge pull request #30788 from Chaosus/direction_to_gdnativeRémi Verschelde
Added Vector2/3.direction_to methods to GDNative
2019-07-25Inspector: Fix PROPERTY_HINT_SPRITE_FRAME not behaving as RANGERémi Verschelde
This was a regression in 3.1 and later from the new inspector, where PROPERTY_HINT_SPRITE_FRAME was not fully re-implemented. It's meant to be a normal PROPERTY_HINT_RANGE which also automatically increments its value when keyed in the animation player. To avoid code duplication, I made the frames properties use the actual PROPERTY_HINT_RANGE and introduced a PROPERTY_USAGE_KEYING_INCREMENTS usage flag instead.
2019-07-24Added direction_to to GDNativeChaosus
2019-07-23Added count method to StringChaosus
2019-06-27Properly expose all Error constants to scripting languagesRémi Verschelde
2019-06-16Merge pull request #29325 from m4gr3d/setup_godot_for_ovr_supportRémi Verschelde
Setup Godot to support the Oculus Mobile SDK.
2019-06-15Adding a new Camera Server implementation to Godot.BastiaanOlij
This is a new singleton where camera sources such as webcams or cameras on a mobile phone can register themselves with the Server. Other parts of Godot can interact with this to obtain images from the camera as textures. This work includes additions to the Visual Server to use this functionality to present the camera image in the background. This is specifically targetted at AR applications.
2019-06-03Merge pull request #28099 from lupoDharkael/fix-completionRémi Verschelde
Fix code completion not working with class_name
2019-05-30Setup Godot to support the Oculus Mobile SDK.fhuya
2019-05-28Added move_toward functions for float, Vector2 and Vector3Giacom
2019-05-23Merge pull request #28738 from 2shady4u/masterRémi Verschelde
Added native binding for dictionary duplication
2019-05-23Added native binding for dictionary duplicationshaderbeast
Added entry in gdnative_api.json Added function to header as well Fixed versioning
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-04-30Forgot a parameter in the ARVR gdnative bindings for notificationsBastiaan Olij
2019-04-27Send notifications to ARVRInterfacesBastiaan Olij
2019-04-16Fix code completion not working with class_namelupoDharkael
2019-04-12Add WebRTC GDNative interfaceFabio Alessandrelli
2019-04-06Add option to have viewport render into supplied textureBastiaan Olij
2019-02-24Fixing C compatiblity for GDNative NET moduleFabio Alessandrelli
Also add net interfaces to gdnative_api.json
2019-02-21added godot_dictionary_get_with_default to GDNativekarroffel
Recently, Dictionary::get() was introduced, which acts like a index operator but allows the caller to specify a default value to return instead of issuing an error. This commit adds a new GDNative function that includes the default value.
2019-02-12Fix copyright year in VideoStreamGDNativeRémi Verschelde
2019-01-09Merge pull request #20552 from KidRigger/gsoc-peerRémi Verschelde
Added interface for GDNative Videodecoder.
2019-01-01Update copyright statements to 2019Rémi Verschelde
Happy new year to the wonderful Godot community!
2018-12-16Reduce String CoWHein-Pieter van Braam
By introducing an intermediate proxy class for the array subscript operator for String and CharString we can control better when CowData will actually CoW. This should improve performance of String usage for most cases.
2018-12-13Added interface for GDNative Videodecoder.Anish
Interface and callback api added for Videodecoder support. Should be able to construct any format videodecoder using only the given interface. GSoC 2018 project.
2018-10-26Update GDNantive APIlupoDharkael
Add missing Rect2 methods to GDNative API Add missing Quat methods to GDNative API Add missing NodePath methods to GDNative API Add missing String methods to GDNative API Add missing Array methods to GDNative API Add missing Basis methods to GDNative API Add missing Color methods to GDNative API Update gdnative_api.json
2018-10-03Fix GDNative build warning on Android [-Wignored-attributes]Rémi Verschelde
Fixes the following kind of warning spam: ``` modules/gdnative/include/gdnative/color.h:61:6: warning: calling convention 'sysv_abi' ignored for this target [-Wignored-attributes] void GDAPI godot_color_new_rgba(godot_color *r_dest, const godot_real p_r, const godot_real p_g, const godot_real p_b, const godot_real p_a); ^ modules/gdnative/include/gdnative/gdnative.h:52:15: note: expanded from macro 'GDAPI' ^ modules/gdnative/include/gdnative/gdnative.h:51:38: note: expanded from macro 'GDCALLINGCONV' ^ ```
2018-09-15Clearly deprecate sync too in favor of remotesync.Fabio Alessandrelli
NOTE: This changes the RPC_MODE_* enum values. Games should be re-exported. GDNative rebuilt.
2018-09-15Rename slave keyword to puppetFabio Alessandrelli
The slave keyword will still be available as deprecated in 3.1 but will be dropped from future releases.
2018-09-13[GDNative] add Variant::OperatorThomas Herzog
2018-08-30[NativeScript] implement refcount instance binding funcsThomas Herzog
2018-08-30[GDNative] add initial core 1.1 extensionThomas Herzog
2018-08-22Implemented profiling functions for NativeScriptMarcelo Fernandez
2018-08-20Add PROPERTY_HINT_PLACEHOLDER_TEXT for String propertiesRémi Verschelde
Use it to provide a better example for application identifiers on Android, iOS and macOS, where users thought they *had* to use this as a magic token.
2018-06-29Merge pull request #19757 from Faless/gdnet_prThomas Herzog
Network bindings for GDNative
2018-06-27Add [Packet/Stream/Multiplayer]PeerGDNativeFabio Alessandrelli
They provide an interface to implement PacketPeer, StreamPeer, and NetworkedMultiplayerPeer via GDNative.
2018-06-19Add access for GDNative modules to some platform dependent internals on AndroidBastiaan Olij
2018-05-30Merge pull request #19255 from Faless/rpc_sync_mmoreRémi Verschelde
RPCMode refactor, more sync modes (2)
2018-05-29New sync keywords in GDScript, NativeScript, MonoFabio Alessandrelli
2018-05-29Revert "RPCMode refactor, more sync modes"Max Hilbrunner
2018-05-27[WIP] Adding version info to GDNative ARVR interfacesBastiaan Olij
2018-05-26New sync keywords in GDScript, NativeScript, MonoFabio Alessandrelli
2018-04-12Revert "Unify http- and percent- encode/decode"Pedro J. Estébanez
This reverts commit b76ee30917c63211ac9e94a21bebbddf518d169f.
2018-04-07Merge pull request #17583 from RandomShaper/enhance-uri-utilsJuan Linietsky
Enhance uri utils
2018-04-05[NativeScript] added global type tag systemkarroffel
2018-03-31[GDNative] added GDCALLINGCONV to instance binding functionskarroffel
2018-03-27Unify http- and percent- encode/decodePedro J. Estébanez
There was a percent-prefixed version, which was exposed, and a http-prefixed version which was not (only to GDNative). This commit keeps the percent-prefixed versions, but with the http-prefixed implementations.
2018-02-21Fix typos with codespellluz.paz
Found via `codespell -q 3 --skip="./thirdparty,./editor/translations" -I ../godot-word-whitelist.txt` Whitelist consists of: ``` ang doubleclick lod nd que te unselect ```
2018-02-11gdnative_api.json: Change argument name to r_desttilpner
This reflects its usage as an output argument, consistent with the other godot_variant_new functions
2018-02-09add initial NativeScript 1.1 extensionkarroffel
This commit adds new functionality to NativeScript, namely: - ability to set and get documentation for classes, methods, signals and properties - ability to set names and type information to method arguments - ability to set and get type tags for nativescripts - ability to register instance binding data management functions - ability to use instance binding data