summaryrefslogtreecommitdiff
path: root/modules/gdnative
AgeCommit message (Collapse)Author
2020-01-10Expose instance_from_id to GDNativetoasteater
This function is available to GDScript but not to GDNative. When exposed, it allows building more ergonomic safe abstractions over the GDNative APIs, and covers the use cases of the original PR. Close #28478. Supersedes #28791. Co-authored-by: Markus Ewald <cygon@nuclex.org>
2020-01-03Expose cast_to to GDNative for dynamic castssheepandshepherd
2020-01-01Update copyright statements to 2020Rémi Verschelde
Happy new year to the wonderful Godot community! We're starting a new decade with a well-established, non-profit, free and open source game engine, and tons of further improvements in the pipeline from hundreds of contributors. Godot will keep getting better, and we're looking forward to all the games that the community will keep developing and releasing with it.
2019-12-24Cleans up headers included in editor_node.hHaoyu Qiu
2019-12-10Merge pull request #34040 from qarmin/unused_variable_more_precise_numbersRémi Verschelde
Removed unused variables, add some constants numbers
2019-12-10Removed unused variables, add some constants numbersRafał Mikrut
2019-12-01Add missing on error manifest struct destroy in pluginscript script initEmmanuel Leblond
2019-11-29Don't try to initialize empty NativeLibraryTomasz Chabora
2019-11-27VideoStreamGDNative: Fix playing video files without audio streammarcosjouron
2019-11-16Add singleton_name field to autogenerated json apiEmmanuel Leblond
2019-11-02Restore GDNative compatibility by moving new functions introduced in #33210 ↵bruvzg
to core API 1.2 extension.
2019-10-31Added empty() function to pool array typesPouleyKetchoupp
2019-10-28Merge pull request #33104 from qarmin/fix_some_crashesRémi Verschelde
Fix some crashes and using null pointers
2019-10-28Fix some crashes and using null pointersRafał Mikrut
2019-10-24Refactor VideoPlayer and VideoStreamSeleckyErik
VideoStream: - Fix const correctenss VideoPlayer: - Remove unused member variable last_frame - Move _mix_audios function definition to source file - Fix function parameter naming to match p_ convention - Fix const correctness - Add null checking
2019-10-07Document the GDNative singleton method prefix being changeableHugo Locurcio
This also tweaks error messages to remove hardcoded references to the default `godot_` prefix.
2019-10-06Document GDNativeLibrarysheepandshepherd
2019-09-25Merge pull request #32199 from starryalley/fix_seekRémi Verschelde
Fix VideostreamGDNative seek
2019-09-25Merge pull request #32051 from qarmin/some_error_explanationRémi Verschelde
Added some obvious errors explanations
2019-09-25Added some obvious errors explanationsqarmin
2019-09-23Merge pull request #31172 from creikey/add-array-slicingRémi Verschelde
Add array slice method
2019-09-23Merge pull request #32198 from starryalley/fix_audio_bufferRémi Verschelde
Fix VideostreamGDNative audio buffer handling
2019-09-19Fix misc. source comment typosluz.paz
Found using `codespell -q 3 -S ./thirdparty,*.po -L ang,ba,cas,dof,doubleclick,fave,hist,leapyear,lod,nd,numer,ois,paket,seeked,sinc,switchs,te,uint -D ~/Projects/codespell/codespell_lib/data/dictionary.txt `
2019-09-19Fix VideostreamGDNative audio buffer handlingMark Kuo
Fix the audio buffer start when there are previous remains
2019-09-19Fix VideostreamGDNative seekMark Kuo
When seeking video, make sure audio buffers are reset and video time is updated.
2019-09-14Add array slice methodCameron Reikes
2019-08-29doc: Sync classref with current sourceRémi Verschelde
2019-08-26Make VarArg methods return types show up as Variant in API jsontoasteater
VarArg methods have the return type Object in the API json for GDNative. This can cause undefined behavior in some language bindings due to lack of documentation on VarArg methods' behavior. This changes the MethodInfo of: - CSharpScript::_new - GDScript::_new - PluginScript::_new
2019-08-12Fix self reference issue in core structures for GDNative pluginsBastiaan Olij
2019-08-09Replace 'ERR_EXPLAIN' with 'ERR_FAIL_*_MSG' in "platform", ↵Robin Hübner
"modules/gdnative", "modules/gdscript" directories.
2019-07-29Merge pull request #30935 from YeldhamDev/gdnative_plugin_fixRémi Verschelde
Fix 'GDNativeLibrary' editor being incorrectly opened
2019-07-29Merge pull request #30923 from NilsIrl/better_dropdownRémi Verschelde
Improve platform selection in the GDNativeLibrary dock
2019-07-29Fix 'GDNativeLibrary' editor being incorrectly openedMichael Alexsander Silva Dias
2019-07-29Find trailing whitespace and indentation in gdnative_api.jsonRémi Verschelde
2019-07-29Improve platform selection in the GDNativeLibrary dockNilsIrl
* Replace button text with currently selected platforms * Expand button size horizontally
2019-07-27Replace radion buttons with checkboxes in GDNativeLibrary editorNilsIrl
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-07-19Remove added pluginscript resource format loaders and savers on cleanupIvan Hilaire
Properly release added resource loader and save references. Otherwise PluginScript API may cause "ObjectDB Instances still exist!" warnings and segmentation faults on exit.
2019-07-15doc: Sync classref with current sourceRémi Verschelde
2019-07-05Merge pull request #24086 from RandomShaper/bundle-pck-to-executableRémi Verschelde
Enhance game export
2019-07-04Parse more informations for code completionGeequlim
2019-07-03Skip export of non-project librariesPedro J. Estébanez
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.
2019-07-03SCons: Use CPPDEFINES instead of CPPFLAGS for pre-processor definesRémi Verschelde
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.
2019-07-02Fix various memory leaks and errorsBojidar Marinov
2019-06-30doc: Remove null default values that can't be determinedRémi Verschelde
Applying #30187.
2019-06-30doc: Add default values to all propertiesRémi Verschelde
Thanks to @bojidar-bg's impressive work in #29380.
2019-06-29Merge pull request #30167 from Xrayez/module-editor-iconsRémi Verschelde
Add support for creating editor icons per module