summaryrefslogtreecommitdiffstats
path: root/modules/gdnative
Commit message (Collapse)AuthorAgeFilesLines
* Fix various GCC compilation warnings after Vulkan mergeRémi Verschelde2020-02-141-0/+5
| | | | Part of #36132.
* Merge pull request #36163 from akien-mga/gdnative-godot_int-int64_tRémi Verschelde2020-02-133-3/+3
|\ | | | | GDNative: Make godot_int an int64_t
| * GDNative: Make godot_int an int64_tRémi Verschelde2020-02-123-3/+3
| | | | | | | | | | | | Redo of the change in cf8c679a23b21d6c6f29cba6a54eaa2eed88bf92 that caused a build issue, with the extra change needed to 'godot_arvr_blit'.
* | Remove deprecated sync and slave networking keywordsRémi Verschelde2020-02-131-2/+0
|/ | | | | | Those keywords were deprecated for 3.1 in #22087. Also fix token name for `TK_REMOTE`, should be "remote" like the keyword.
* Fix Mono and GDNative builds after changes to ObjectIDRémi Verschelde2020-02-122-2/+2
| | | | | | | | | | Issues caused by cf8c679a23b21d6c6f29cba6a54eaa2eed88bf92. The Mono change is actually a bugfix (used the int instead of ObjectID by mistake). The GDNative change is a temporary revert until a more exhaustive approach is taken to make 'godot_int' 64-bit, is confirmed wanted by GDNative users.
* ObjectID converted to a structure, fixes many bugs where used incorrectly as ↵Juan Linietsky2020-02-123-3/+8
| | | | 32 bits.
* Optmized data sent during RPC and RSet calls.Andrea Catania2020-02-127-79/+483
| | | | | | | | | | - Now is sent the method ID rather the full function name. - The passed IDs (Node and Method) are compressed so to use less possible space. - The variant (INT and BOOL) is now encoded and compressed so to use much less data. - Optimized RPCMode retrieval for GDScript functions. - Added checksum to assert the methods are the same across peers. This work has been kindly sponsored by IMVU.
* Remove deprecated Color::grayHanif Bin Ariffin2020-02-123-14/+0
| | | | | | It was marked to be removed in Godot 3.1. Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
* Add static Vulkan loader.bruvzg2020-02-111-0/+4
| | | | | Initial Vulkan support for Windows. Initial Vulkan support for macOS.
* A lot of progress with canvas rendering, still far from working.Juan Linietsky2020-02-111-2/+3
|
* Texture refactorJuan Linietsky2020-02-113-5/+10
| | | | | | | | -Texture renamed to Texture2D -TextureLayered as base now inherits 2Darray, cubemap and cubemap array -Removed all references to flags in textures (they will go in the shader) -Texture3D gone for now (will come back later done properly) -Create base rasterizer for RenderDevice, RasterizerRD
* Merge pull request #35812 from ↵Rémi Verschelde2020-02-103-10/+6
|\ | | | | | | | | touilleMan/gdnative-uses-godot_string_name-where-possible Use StringName in pluginscript's set/get_prop and add_global_constant
| * Use StringName in pluginscript's set/get_prop and add_global_constantEmmanuel Leblond2020-02-013-10/+6
| |
* | Remove duplicate ERR_PRINT macro.Marcel Admiraal2020-02-053-3/+3
| |
* | Merge pull request #35809 from clayjohn/DOCS-update-versionRémi Verschelde2020-02-0112-12/+12
|\ \ | | | | | | Update docs to version 4.0
| * | Update docs to version 4.0clayjohn2020-01-3112-12/+12
| | |
* | | Merge pull request #35811 from ↵Rémi Verschelde2020-02-011-3/+0
|\ \ \ | |/ / |/| | | | | | | | touilleMan/remove-useless-pluginscript-get_rpc-rset_mode Remove useless pluginscript godot_pluginscript_script_desc.get_rpc/rset_mode fields
| * | Remove useless pluginscript godot_pluginscript_script_desc.get_rpc/rset_mode ↵Emmanuel Leblond2020-02-011-3/+0
| |/ | | | | | | fields
* / Remove deprecated GDNative wrapper codeEmmanuel Leblond2020-01-312-117/+0
|/
* doc: Drop unused 'category' property from headerRémi Verschelde2020-01-2612-12/+12
| | | | | | | | | | We already removed it from the online docs with #35132. Currently it can only be "Built-In Types" (Variant types) or "Core" (everything else), which is of limited use. We might also want to consider dropping it from `ClassDB` altogether in Godot 4.0.
* doc: Complete documentation for VideoStreamsRémi Verschelde2020-01-261-0/+5
| | | | Also quick clean up of the matching C++ files.
* Remove unused #if 0'ed codeRémi Verschelde2020-01-212-53/+10
|
* Expose instance_from_id to GDNativetoasteater2020-01-103-0/+14
| | | | | | | | | | 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>
* Expose cast_to to GDNative for dynamic castssheepandshepherd2020-01-033-0/+32
|
* Update copyright statements to 2020Rémi Verschelde2020-01-0188-176/+176
| | | | | | | | | | | 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.
* Cleans up headers included in editor_node.hHaoyu Qiu2019-12-242-0/+3
|
* Merge pull request #34040 from qarmin/unused_variable_more_precise_numbersRémi Verschelde2019-12-101-1/+0
|\ | | | | Removed unused variables, add some constants numbers
| * Removed unused variables, add some constants numbersRafał Mikrut2019-12-101-1/+0
| |
* | Add missing on error manifest struct destroy in pluginscript script initEmmanuel Leblond2019-12-011-7/+16
| |
* | Don't try to initialize empty NativeLibraryTomasz Chabora2019-11-291-1/+4
|/
* VideoStreamGDNative: Fix playing video files without audio streammarcosjouron2019-11-271-3/+7
|
* Add singleton_name field to autogenerated json apiEmmanuel Leblond2019-11-161-0/+6
|
* Restore GDNative compatibility by moving new functions introduced in #33210 ↵bruvzg2019-11-021-49/+49
| | | | to core API 1.2 extension.
* Added empty() function to pool array typesPouleyKetchoupp2019-10-313-0/+98
|
* Merge pull request #33104 from qarmin/fix_some_crashesRémi Verschelde2019-10-282-3/+3
|\ | | | | Fix some crashes and using null pointers
| * Fix some crashes and using null pointersRafał Mikrut2019-10-282-3/+3
| |
* | Refactor VideoPlayer and VideoStreamSeleckyErik2019-10-242-2/+2
|/ | | | | | | | | | | | 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
* Document the GDNative singleton method prefix being changeableHugo Locurcio2019-10-073-3/+3
| | | | | This also tweaks error messages to remove hardcoded references to the default `godot_` prefix.
* Document GDNativeLibrarysheepandshepherd2019-10-061-0/+15
|
* Merge pull request #32199 from starryalley/fix_seekRémi Verschelde2019-09-252-1/+14
|\ | | | | Fix VideostreamGDNative seek
| * Fix VideostreamGDNative seekMark Kuo2019-09-192-1/+14
| | | | | | | | | | When seeking video, make sure audio buffers are reset and video time is updated.
* | Merge pull request #32051 from qarmin/some_error_explanationRémi Verschelde2019-09-251-3/+1
|\ \ | | | | | | Added some obvious errors explanations
| * | Added some obvious errors explanationsqarmin2019-09-251-3/+1
| |/
* | Merge pull request #31172 from creikey/add-array-slicingRémi Verschelde2019-09-233-0/+22
|\ \ | | | | | | Add array slice method
| * | Add array slice methodCameron Reikes2019-09-143-0/+22
| |/
* | Merge pull request #32198 from starryalley/fix_audio_bufferRémi Verschelde2019-09-231-1/+1
|\ \ | | | | | | Fix VideostreamGDNative audio buffer handling
| * | Fix VideostreamGDNative audio buffer handlingMark Kuo2019-09-191-1/+1
| |/ | | | | | | Fix the audio buffer start when there are previous remains
* / Fix misc. source comment typosluz.paz2019-09-192-4/+4
|/ | | 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 `
* doc: Sync classref with current sourceRémi Verschelde2019-08-292-2/+2
|
* Make VarArg methods return types show up as Variant in API jsontoasteater2019-08-262-2/+2
| | | | | | | | | | | | 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