summaryrefslogtreecommitdiffstats
path: root/modules/gdnative
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #21229 from marcelofg55/ns_profilingRémi Verschelde2018-08-225-0/+142
|\ | | | | Implemented profiling functions for NativeScript
| * Implemented profiling functions for NativeScriptMarcelo Fernandez2018-08-225-0/+142
| |
* | doc: Sync classref with current sourceRémi Verschelde2018-08-211-0/+4
|/
* Add PROPERTY_HINT_PLACEHOLDER_TEXT for String propertiesRémi Verschelde2018-08-201-0/+1
| | | | | | 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.
* Add NativeScript support for script classes.willnationsdev2018-08-152-0/+51
|
* [Core] Completely kill math_2d.h, change includesAaron Franke2018-08-112-2/+2
|
* [Core] Change math_2d includes to vector2 includes where relevantAaron Franke2018-08-102-2/+2
|
* Added system for GDScript warningsGeorge Marques2018-08-104-4/+4
| | | | | | | - Count and panel per script. - Ability to disable warnings per script using special comments. - Ability to disable warnings globally using Project Settings. - Option to treat enabled warnings as errors.
* Running builder (content generator) functions in subprocesses on WindowsViktor Ferenczi2018-07-272-253/+265
| | | | | | | | | | | | | | | | | | | | | - Refactored all builder (make_*) functions into separate Python modules along to the build tree - Introduced utility function to wrap all invocations on Windows, but does not change it elsewhere - Introduced stub to use the builders module as a stand alone script and invoke a selected function There is a problem with file handles related to writing generated content (*.gen.h and *.gen.cpp) on Windows, which randomly causes a SHARING VIOLATION error to the compiler resulting in flaky builds. Running all such content generators in a new subprocess instead of directly inside the build script works around the issue. Yes, I tried the multiprocessing module. It did not work due to conflict with SCons on cPickle. Suggested workaround did not fully work either. Using the run_in_subprocess wrapper on osx and x11 platforms as well for consistency. In case of running a cross-compilation on Windows they would still be used, but likely it will not happen in practice. What counts is that the build itself is running on which platform, not the target platform. Some generated files are written directly in an SConstruct or SCsub file, before the parallel build starts. They don't need to be written in a subprocess, apparently, so I left them as is.
* Fixed nativescript getter and setter logicBastiaan Olij2018-07-271-5/+9
|
* doc: Sync classref with current sourceRémi Verschelde2018-07-264-0/+47
| | | | Fix various missing arguments in bindings.
* Reduce unnecessary COW on Vector by make writing explicitHein-Pieter van Braam2018-07-267-27/+27
| | | | | | | | | | | | | | | | | | | | | | | This commit makes operator[] on Vector const and adds a write proxy to it. From now on writes to Vectors need to happen through the .write proxy. So for instance: Vector<int> vec; vec.push_back(10); std::cout << vec[0] << std::endl; vec.write[0] = 20; Failing to use the .write proxy will cause a compilation error. In addition COWable datatypes can now embed a CowData pointer to their data. This means that String, CharString, and VMap no longer use or derive from Vector. _ALWAYS_INLINE_ and _FORCE_INLINE_ are now equivalent for debug and non-debug builds. This is a lot faster for Vector in the editor and while running tests. The reason why this difference used to exist is because force-inlined methods used to give a bad debugging experience. After extensive testing with modern compilers this is no longer the case.
* Merge pull request #20370 from marcelofg55/gdnative_crashThomas Herzog2018-07-251-1/+4
|\ | | | | Fix possible crash at NativeScript::get_base_script
| * Fix possible crash at NativeScript::get_base_scriptMarcelo Fernandez2018-07-251-1/+4
| |
* | Removed unnecessary assignmentsWilson E. Alvarez2018-07-241-2/+0
|/
* Add editor highlight for type-safe linesGeorge Marques2018-07-204-4/+4
| | | | | The line number is hightlighted to indicate that the line contains only type-safe code.
* Add a new notification to detect crashes on native scriptsMarcelo Fernandez2018-07-022-0/+22
|
* Merge pull request #19757 from Faless/gdnet_prThomas Herzog2018-06-2913-0/+681
|\ | | | | Network bindings for GDNative
| * Add [Packet/Stream/Multiplayer]PeerGDNativeFabio Alessandrelli2018-06-2713-0/+681
| | | | | | | | | | They provide an interface to implement PacketPeer, StreamPeer, and NetworkedMultiplayerPeer via GDNative.
* | add NoCache wrapper to CommandRhody Lugo2018-06-211-2/+2
| |
* | Add access for GDNative modules to some platform dependent internals on AndroidBastiaan Olij2018-06-194-0/+152
|/
* [Pluginscript] Fix not working exports in editorEmmanuel Leblond2018-06-151-19/+4
|
* SCons: Pass env to modules can_build methodRémi Verschelde2018-05-301-1/+1
| | | | | | This allows to disable modules based on the environment, in particular `env[tools]` which tells us if we are building the editor or not.
* Merge pull request #19255 from Faless/rpc_sync_mmoreRémi Verschelde2018-05-307-38/+47
|\ | | | | RPCMode refactor, more sync modes (2)
| * New sync keywords in GDScript, NativeScript, MonoFabio Alessandrelli2018-05-292-0/+9
| |
| * Refactor RPCMode enum and checksFabio Alessandrelli2018-05-296-38/+38
| |
| * Revert "RPCMode refactor, more sync modes"Max Hilbrunner2018-05-297-47/+38
| |
| * New sync keywords in GDScript, NativeScript, MonoFabio Alessandrelli2018-05-262-0/+9
| |
| * Refactor RPCMode enum and checksFabio Alessandrelli2018-05-266-38/+38
| |
* | [WIP] Adding version info to GDNative ARVR interfacesBastiaan Olij2018-05-273-1/+13
|/
* changed GDNative API json formatkarroffel2018-05-102-19/+29
|
* Fix Variant leak in call_nativePedro J. Estébanez2018-05-081-1/+3
|
* Fix lto builds on clang compilersHein-Pieter van Braam2018-04-301-2/+2
| | | | | | | The --no-lto option only works on GCC compilers. This breaks LTO builds on MacOS and iPhone when building the gdnative wrappers. -fno-lto works on both brands of compilers.
* Merge pull request #18119 from sheepandshepherd/nativescript_property_listRémi Verschelde2018-04-191-4/+3
|\ | | | | Fix NativeScript property list order
| * Fix NativeScript property listsheepandshepherd2018-04-111-4/+3
| |
* | Revert "Unify http- and percent- encode/decode"Pedro J. Estébanez2018-04-123-2/+37
|/ | | | This reverts commit b76ee30917c63211ac9e94a21bebbddf518d169f.
* doc: Sync classref with current sourceRémi Verschelde2018-04-101-6/+2
|
* Merge pull request #17583 from RandomShaper/enhance-uri-utilsJuan Linietsky2018-04-073-37/+2
|\ | | | | Enhance uri utils
| * Unify http- and percent- encode/decodePedro J. Estébanez2018-03-273-37/+2
| | | | | | | | | | 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.
* | Correct profiling_frame naming in pluginscriptEmmanuel Leblond2018-04-071-1/+1
| |
* | Fix Pluginscript add_global_constant mandatory value checkEmmanuel Leblond2018-04-061-1/+1
| |
* | [NativeScript] replace error macros by simple returnskarroffel2018-04-061-4/+2
| |
* | Merge pull request #17980 from karroffel/nativescript-1.1-global-type-tagsThomas Herzog2018-04-055-24/+64
|\ \ | | | | | | [NativeScript] added global type tag system
| * | [NativeScript] added global type tag systemkarroffel2018-04-055-24/+64
| | |
* | | [GDNative] enable saving GDNativeLibrary as sub resourcekarroffel2018-04-042-3/+96
| | |
* | | [GDNative] easier GDNativeLib handlingkarroffel2018-04-042-67/+77
|/ /
* | [GDNative] fixed issue with library unloading orderkarroffel2018-03-311-13/+25
| |
* | [GDNative] added GDCALLINGCONV to instance binding functionskarroffel2018-03-311-3/+3
|/
* NativeScript: Fix initialization in wrong scopeRémi Verschelde2018-03-021-1/+1
| | | | Regression from d702d7b335c0c9305e75131770c0ea739b70d813 which broke javascript build.
* Fix various valgrind reported uninitialized variable usesHein-Pieter van Braam2018-02-281-0/+1
|