summaryrefslogtreecommitdiff
path: root/modules/gdnative
AgeCommit message (Collapse)Author
2019-05-20Merge pull request #28975 from RameshRavone/type_tagRémi Verschelde
NULL global_tag for non exposed classes
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-18NULL global_tag for non exposed classesRameshRavone
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-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-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-04-30Merge pull request #28530 from akien-mga/scons-prepend-cpppathRémi Verschelde
SCons: Always use env.Prepend for CPPPATH
2019-04-30Forgot a parameter in the ARVR gdnative bindings for notificationsBastiaan Olij
2019-04-30SCons: Always use env.Prepend for CPPPATHRémi Verschelde
Include paths are processed from left to right, so we use Prepend to ensure that paths to bundled thirdparty files will have precedence over system paths (e.g. `/usr/include` should have lowest priority).
2019-04-30Merge pull request #27007 from BastiaanOlij/arvr_notificationsRémi Verschelde
Send notifications to ARVRInterfaces
2019-04-30Merge pull request #27759 from BastiaanOlij/sort_api_jsonRémi Verschelde
Sort GDNative api.json
2019-04-27Send notifications to ARVRInterfacesBastiaan Olij
2019-04-22Merge pull request #27673 from qarmin/small_fixesRémi Verschelde
Small fixes, mostly duplicated code
2019-04-19Sort data exported to the api.json file for GDNativeBastiaan Olij
2019-04-19doc: Sync classref with current sourceRémi Verschelde
2019-04-19doc: Drop unused <demos> tagRémi Verschelde
2019-04-12Add WebRTC GDNative interfaceFabio Alessandrelli
2019-04-08Merge pull request #27711 from neikeq/ifdef-clang-tidyRémi Verschelde
Replace a few #if/#elif with #ifdef and "#elif defined"
2019-04-08Small fixes, mostly dupicated codeqarmin
2019-04-07Fix where json exported empty typesBastiaan Olij
(cherry picked from commit 6226be9595caec7f741cdf570ca99e742a611388)
2019-04-05Replace a few #if/#elif with #ifdef and "#elif defined"Ignacio Etcheverry
2019-04-06Add option to have viewport render into supplied textureBastiaan Olij
2019-04-01doc: Bump version to 3.2Rémi Verschelde
2019-03-27Merge pull request #27184 from karroffel/gdnative-api-gen-fixesRémi Verschelde
fix GDNative binding generation for object types
2019-03-22[GDNative] fix NativeScript leak in editorthomas.herzog
2019-03-22[GDNative] remove spam at editor unfocus when using NativeScriptthomas.herzog
2019-03-17fix GDNative binding generation for object typeskarroffel
2019-03-11Fixes segfault on opening incompatible files.Anish
If a file cannot be opened by the plugin connected, the engine would crash. This has been fixed by quitting the open_file() method early.
2019-03-09[GDNative] fix crash at shutdown when using singleton libraries and NativeScriptkarroffel
When a singleton library was exposing NativeScript functionality, the NativeScriptLanguage would attempt to terminate the library at shutdown. Since the GDNative module itself handles singleton libraries, it closes all singleton libraries at shutdown as well. This double free could cause a crash, since the library referenced would no longer be alive.
2019-03-06Fixed crash on loading GDNative videos.Anish
Fixed issue with loading a resource supported by the gdnative videodecoders that does not exist.
2019-02-27Merge pull request #26134 from marxin/fix-Wsign-compareRémi Verschelde
Fix -Wsign-compare warnings.
2019-02-27Fix -Wsign-compare warnings.marxin
I decided to modify code in a defensive way. Ideally functions like size() or length() should return an unsigned type.
2019-02-26Fix "No loader found for resource: res://" spam when NativeScript ↵Eric Rybicki
script_class_name is not empty. fixes #26275
2019-02-24Fixing C compatiblity for GDNative NET moduleFabio Alessandrelli
Also add net interfaces to gdnative_api.json
2019-02-22Merge pull request #26132 from marxin/fix-Wignored-qualifiersRémi Verschelde
Fix warnings seen with -Wignored-qualifiers.
2019-02-21Fix warnings seen with -Wignored-qualifiers.marxin
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-20Add -Wshadow=local to warnings and fix reported issues.marxin
Fixes #25316.
2019-02-18Make direct casting among Error and godot_error enums (#23015).marxin
2019-02-13Merge pull request #25821 from akien-mga/sync-class-and-filenamesRémi Verschelde
Ensure classes match their header filename
2019-02-12Fix copyright year in VideoStreamGDNativeRémi Verschelde
2019-02-12Scene: Ensure classes match their header filenameRémi Verschelde
Also drop some unused files. Renamed: - `scene/2d/navigation2d.h` -> `navigation_2d.h` - `scene/2d/screen_button.h` -> `touch_screen_button.h` - `scene/3d/scenario_fx.h` -> `world_environment.h` - `scene/audio/audio_player.h` -> `audio_stream_player.h` - `scene/resources/bit_mask.h` -> `bit_map.h` - `scene/resources/color_ramp.h` -> `gradient.h` - `scene/resources/shape_line_2d.h` -> `line_shape_2d.h` - `scene/resources/scene_format_text.h` -> `resource_format_text.h` - `scene/resources/sky_box.h` -> `sky.h` Dropped: - `scene/resources/bounds.h`
2019-02-12Drivers, main, servers: Ensure classes match their header filenameRémi Verschelde
Renamed: - `drivers/alsamidi/alsa_midi.h` -> `midi_driver_alsamidi.h` (same for `coremidi` and `winmidi`) - `main/timer_sync.h` -> `main_timer_sync.h` - `servers/visual/visual_server_global.h` -> `visual_server_globals.h`
2019-02-12Core: Ensure classes match their header filenameRémi Verschelde
Also drop some unused files. Renamed: - `core/dvector.h` -> `pool_vector.h` - `core/io/resource_import.h` -> `resource_importer.h` - `core/sort.h` -> `sort_array.h` - `core/string_db.h` -> `string_name.h` Dropped: - `core/allocators.h` - `core/os/shell.h` - `core/variant_construct_string.cpp`
2019-02-09[Core] Rename Matrix3 file to BasisAaron Franke
The code already referred to "Basis", it's just the file name that was different for some reason.
2019-02-08Fix generating GDNative API struct for 1.1Karroffel
Fixes #25425.
2019-01-26Workaround GCC 6 & 7 ICE on armv7hlRémi Verschelde
Fixes #16100.
2019-01-12Fixed infinite loop at end of video.Anish
A missing condition caused infinite looping, despite the video playing flag being set to false. Small change to fix. Fixes: #20552