summaryrefslogtreecommitdiffstats
path: root/modules/gdnative
Commit message (Collapse)AuthorAgeFilesLines
* Fix self reference issue in core structures for GDNative pluginsBastiaan Olij2019-08-121-1/+1
|
* Replace 'ERR_EXPLAIN' with 'ERR_FAIL_*_MSG' in "platform", ↵Robin Hübner2019-08-095-114/+36
| | | | "modules/gdnative", "modules/gdscript" directories.
* Merge pull request #30935 from YeldhamDev/gdnative_plugin_fixRémi Verschelde2019-07-291-5/+3
|\ | | | | Fix 'GDNativeLibrary' editor being incorrectly opened
| * Fix 'GDNativeLibrary' editor being incorrectly openedMichael Alexsander Silva Dias2019-07-291-5/+3
| |
* | Merge pull request #30923 from NilsIrl/better_dropdownRémi Verschelde2019-07-291-2/+8
|\ \ | |/ |/| Improve platform selection in the GDNativeLibrary dock
| * Improve platform selection in the GDNativeLibrary dockNilsIrl2019-07-291-2/+8
| | | | | | | | | | * Replace button text with currently selected platforms * Expand button size horizontally
* | Find trailing whitespace and indentation in gdnative_api.jsonRémi Verschelde2019-07-291-8/+8
|/
* Replace radion buttons with checkboxes in GDNativeLibrary editorNilsIrl2019-07-272-15/+18
|
* Merge pull request #30788 from Chaosus/direction_to_gdnativeRémi Verschelde2019-07-265-0/+36
|\ | | | | Added Vector2/3.direction_to methods to GDNative
| * Added direction_to to GDNativeChaosus2019-07-245-0/+36
| |
* | Inspector: Fix PROPERTY_HINT_SPRITE_FRAME not behaving as RANGERémi Verschelde2019-07-251-3/+3
|/ | | | | | | | | | | 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.
* Added count method to StringChaosus2019-07-233-0/+36
|
* Remove added pluginscript resource format loaders and savers on cleanupIvan Hilaire2019-07-191-0/+2
| | | | | Properly release added resource loader and save references. Otherwise PluginScript API may cause "ObjectDB Instances still exist!" warnings and segmentation faults on exit.
* doc: Sync classref with current sourceRémi Verschelde2019-07-152-2/+2
|
* Merge pull request #24086 from RandomShaper/bundle-pck-to-executableRémi Verschelde2019-07-051-0/+9
|\ | | | | Enhance game export
| * Skip export of non-project librariesPedro J. Estébanez2019-07-031-0/+9
| | | | | | | | | | | | | | | | That is, any library referred to in GDNative library resources, won't be copied to the export target path unless its path begins with `res://`. The case use for this is a bit advanced: having a GDN library that will be deployed separately from the project; for instance, to a path in the system (like `/opt/...`). Currently the GDN library editor doesn't allow to pick dynamic libraries outside the project, but that can be done by editing the `.gdnlib` file manually.
* | Parse more informations for code completionGeequlim2019-07-042-3/+4
| |
* | SCons: Use CPPDEFINES instead of CPPFLAGS for pre-processor definesRémi Verschelde2019-07-031-1/+0
| | | | | | | | | | | | | | | | It's the recommended way to set those, and is more portable (automatically prepends -D for GCC/Clang and /D for MSVC). We still use CPPFLAGS for some pre-processor flags which are not defines.
* | Fix various memory leaks and errorsBojidar Marinov2019-07-022-12/+8
| |
* | doc: Remove null default values that can't be determinedRémi Verschelde2019-06-301-1/+1
| | | | | | | | Applying #30187.
* | doc: Add default values to all propertiesRémi Verschelde2019-06-303-10/+10
| | | | | | | | Thanks to @bojidar-bg's impressive work in #29380.
* | Merge pull request #30167 from Xrayez/module-editor-iconsRémi Verschelde2019-06-292-0/+10
|\ \ | | | | | | Add support for creating editor icons per module
| * | Add support for creating editor icons per moduleAndrii Doroshenko (Xrayez)2019-06-282-0/+10
| |/ | | | | | | | | | | | | | | | | The functionality is similar to how `doc_classes` are retrieved per module. The build system will search for custom icons path defined per module via `get_icons_path()` method in `config.py` or default icons path. If such paths don't exist, only the editor's own icons will be built. Most module icons were moved from editor/icons to respective modules.
* | Remove bogus nulls from generated default valuesBojidar Marinov2019-06-291-4/+12
| | | | | | | | Also, fix crash in PluginScript destructor.
* | Merge pull request #30183 from Andrettin/Variant-Pointer-FixesRémi Verschelde2019-06-293-4/+4
|\ \ | | | | | | Fixed cases of unsupported pointers being used to construct variants
| * | Fixed cases of unsupported pointers being used to construct variantsAndrettin2019-06-293-4/+4
| |/
* | Merge pull request #29380 from bojidar-bg/16086-docs-default-valueRémi Verschelde2019-06-293-15/+15
|\ \ | |/ |/| Add default values to the editor help, docs, and generated RST
| * Add default values to the editor help, docs, and generated RSTBojidar Marinov2019-06-273-15/+15
| | | | | | | | | | Also, make spacing of "=" in the editor help a bit more consistent. Closes #16086
* | Proofread and improve the whole class referenceHugo Locurcio2019-06-271-2/+2
|/ | | | | | | | | | | | | - Document a few more properties and methods - Add more information to many classes - Fix lots of typos and gramar mistakes - Use [code] tags for parameters consistently - Use [b] and [i] tags consistently - Put "Warning:" and "Note:" on their own line to be more visible, and make them always bold - Tweak formatting in code examples to be more readable - Use double quotes consistently - Add more links to third-party technologies
* Properly expose all Error constants to scripting languagesRémi Verschelde2019-06-271-3/+3
|
* Made use of semicolons more consitent, fixed formattingJohnJLight2019-06-195-7/+7
|
* doc: Improve docs for Resource* classesRémi Verschelde2019-06-182-0/+14
| | | | | Also move module-specific classes to their own module's `doc_classes` folder.
* Unexpose subclasses of ResourceFormatLoader and -SaverRémi Verschelde2019-06-186-23/+0
| | | | | | | | | | | | | | ResourceFormatLoader and ResourceFormatSaver are meant to be overridden to add support for different formats in ResourceLoader and ResourceSaver. Those should be exposed as they can be overridden in plugins. On the other hand, all predefined subclasses of those two base classes are only meant to register support for new file and resource types, but should not and cannot be used directly from script, so they should not be exposed. Also unexposed ResourceImporterOGGVorbis (and thus its base class ResourceImporter) which are editor-only.
* Merge pull request #29325 from m4gr3d/setup_godot_for_ovr_supportRémi Verschelde2019-06-163-9/+36
|\ | | | | Setup Godot to support the Oculus Mobile SDK.
| * Setup Godot to support the Oculus Mobile SDK.fhuya2019-05-303-9/+36
| |
* | Adding a new Camera Server implementation to Godot.BastiaanOlij2019-06-153-0/+13
| | | | | | | | | | | | 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.
* | Fix error macro calls not ending with semicolonRémi Verschelde2019-06-111-6/+6
| | | | | | | | | | | | | | It's not necessary, but the vast majority of calls of error macros do have an ending semicolon, so it's best to be consistent. Most WARN_DEPRECATED calls did *not* have a semicolon, but there's no reason for them to be treated differently.
* | Merge pull request #28099 from lupoDharkael/fix-completionRémi Verschelde2019-06-033-4/+4
|\ \ | | | | | | Fix code completion not working with class_name
| * | Fix code completion not working with class_namelupoDharkael2019-04-163-4/+4
| | |
* | | Added move_toward functions for float, Vector2 and Vector3Giacom2019-05-285-0/+38
| |/ |/|
* | Merge pull request #28738 from 2shady4u/masterRémi Verschelde2019-05-233-1/+29
|\ \ | | | | | | Added native binding for dictionary duplication
| * | Added native binding for dictionary duplicationshaderbeast2019-05-233-1/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added entry in gdnative_api.json Added function to header as well Fixed versioning
* | | [GDNative] fix godot_variant_evaluate functionthomas.herzog2019-05-221-1/+1
| | | | | | | | | | | | Fixes #28984
* | | Merge pull request #28964 from Faless/webrtc/channels_prRémi Verschelde2019-05-217-37/+177
|\ \ \ | | | | | | | | WebRTC refactor. data channels, STUN/TURN support.
| * | | WebRTC refactor. Data channels, STUN/TURN support.Fabio Alessandrelli2019-05-167-37/+177
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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`
* | | | Merge pull request #27886 from LeonardMeagher2/obj_to_stringRémi Verschelde2019-05-202-0/+23
|\ \ \ \ | | | | | | | | | | Allow overriding how scripted objects are converted to strings
| * | | | Allow overriding how scripted objects are converted to stringsLeonard Meagher2019-05-032-0/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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()`
* | | | | Merge pull request #28975 from RameshRavone/type_tagRémi Verschelde2019-05-201-1/+4
|\ \ \ \ \ | | | | | | | | | | | | NULL global_tag for non exposed classes
| * | | | | NULL global_tag for non exposed classesRameshRavone2019-05-181-1/+4
| | |/ / / | |/| | |
* / | | | Fix typos with codespellRémi Verschelde2019-05-192-2/+2
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 ```