summaryrefslogtreecommitdiff
path: root/modules/gdnative
AgeCommit message (Collapse)Author
2020-11-26[Complex Text Layouts] Implement GDNative interface for TextServer.bruvzg
2020-11-25Core: Always enable ptrcall, remove PTRCALL_ENABLED defineRémi Verschelde
ptrcall is now also used to optimize calls in GDScript, on top of the existing use by the GDNative and Mono modules. It no longer makes sense to make it optional.
2020-11-16Remove empty lines around braces with the formatting scriptAaron Franke
2020-11-11Refactor variant built-in methods yet again.reduz
* Using C-style function pointers now, InternalMethod is gone. * This ensures much better performance in typed code. * Renamed builtin_funcs to utility_funcs, to avoid naming confusion
2020-11-10Fix gdnative build when WebRTC module is disabled.Fabio Alessandrelli
2020-11-10Merge pull request #43383 from vnen/gdnative-string-headerRémi Verschelde
GDNative: Define special char types in string.h
2020-11-07Reorganized core/ directory, it was too fatty alreadyreduz
-Removed FuncRef, since Callable makes it obsolete -Removed int_types.h as its obsolete in c++11+ -Changed color names code
2020-11-07GDNative: Define special char types in string.hGeorge Marques
Those are standard types in C++ but not in C. This also removes the wchar header which is not needed anymore and use stddef.h instead (which is needed for size_t).
2020-11-03Remove `Color.contrasted()` as its behavior is barely usefulHugo Locurcio
Returning the most contrasting color isn't a trivial task, as there are often many possible choices. It's usually best left for the user to implement using a script.
2020-10-25Optimize SVG using `svgcleaner --multipass`Hugo Locurcio
This decreases the editor binary size by about 8 KB.
2020-10-24GDNative XR: remove redundant `config.py`Andrii Doroshenko (Xrayez)
It's not an engine module. This is handled by GDNative's `SCsub` instead, as done for other subdirectories already.
2020-09-19add iOS Simulator platform Stephan Dilly
without this we have to manually drop a `x86_64` builds of gdnative libs into the Xcode project to allow running in `iOS Simulator`
2020-09-11Move GDNative `String` tests to respective moduleAndrii Doroshenko (Xrayez)
GDNative-specific tests moved out of main `tests/` folder into `modules/gdnative/tests`. Include path for GDNative headers are still hardcoded in `tests/SCsub`, but made conditional now. Also fixed test case tag typos. Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
2020-09-03[Complex Test Layouts] Change `String` to use UTF-32 encoding on all platforms.bruvzg
2020-08-31Add link titles for all links in the class referenceHugo Locurcio
This makes them display in a nicer way in the editor help. (The title will display instead of the full URL.)
2020-07-27Make all String float conversion methods be 64-bitAaron Franke
2020-07-28SCons: Refactor running commands through buildersAndrii Doroshenko (Xrayez)
A new `env.Run` method is added which allows to control the verbosity of builders output automatically depending on whether the "verbose" option is set. It also allows to optionally run any SCons commands in a subprocess using the existing `run_in_subprocess` method, unifying the interface. `Action` objects wrap all builder functions to include a short build message associated with any action. Notably, this removes quite verbose output generated by `make_doc_header` and `make_editor_icons_action` builders.
2020-07-26CI: Install master version of psf/blackRémi Verschelde
Until https://github.com/psf/black/pull/1328 makes it in a stable release, we have to use the latest from Git. Apply new style fixes done by latest black.
2020-07-24Remove multilevel callsGeorge Marques
In general they are more confusing to users because they expect inheritance to fully override parent methods. This behavior can be enabled by script writers using a simple super() call.
2020-07-21Merge pull request #40450 from asmaloney/spellingRémi Verschelde
Fix spelling & grammar in comments, docs, and messages
2020-07-21Fix spelling & grammar in comments, docs, and messagesAndy Maloney
2020-07-21Update core documentation to match recent C# changesAaron Franke
Also a few minor API changes like adding AABB.abs() Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2020-07-15Merge pull request #40291 from hinlopen/dialog-sizeRémi Verschelde
Resize various dialogs
2020-07-15Merge pull request #40386 from ↵Rémi Verschelde
touilleMan/correct-Reference-is_reference-api.json Correct is_reference attribute in api.json for Reference class
2020-07-14Add missing has_default_value field for signals in api.jsonEmmanuel Leblond
2020-07-14Correct is_reference attribute in api.json for Reference classEmmanuel Leblond
2020-07-14Resize dialogs (FileDialog, EditorFileDialog, Reparent, SceneTreeDialog and ↵Stijn Hinlopen
resource depency dialogs).
2020-07-13Commit other files changed by file_format.shAaron Franke
2020-07-10Add override keywords.Marcel Admiraal
2020-07-06Add sort and has methods to PackedArraysAaron Franke
2020-07-04Merge pull request #40092 from hinlopen/remove-find-lastRémi Verschelde
Remove String::find_last (same as rfind)
2020-07-03Remove String::find_last (same as rfind)Stijn Hinlopen
2020-07-03Merge pull request #40050 from naithar/feature/ios-gdnative-master-2Rémi Verschelde
[4.0] Add support of iOS's dynamic libraries to GDNative
2020-07-02GDNative export: do not add fake lookup table if static lib is not usedSergey Minakov
2020-07-02GDNative Editor: Support selecting frameworks for iOSSergey Minakov
2020-07-02GDNative: support dynamic loading of iOS frameworksSergey Minakov
2020-07-01Merge pull request #38713 from aaronfranke/string-64bitRémi Verschelde
Make all String integer conversion methods be 64-bit
2020-06-30Add a separate application focus/in notification out from Window focus ↵Juan Linietsky
notification.
2020-06-28VideoStreamGDNative: close file in cleanupMark Kuo
We should close the file handle when we are done.
2020-06-25Style: Fix copyright headersRémi Verschelde
2020-06-19Export: Rename 'Windows Universal' to 'UWP'Rémi Verschelde
It's otherwise too easy to be confused between 'Windows Desktop' (Win32) and 'Windows Universal' (UWP).
2020-06-17DocData: Skip language-specific ClassDoc without methods/constantsRémi Verschelde
Removes the useless `@C#`, `@NativeScript` and `@VisualScript` entries.
2020-06-11GDNative: merge API structs, bump version of merged structs.bruvzg
2020-06-03Remove 32-bit String hex_to_int methodAaron Franke
2020-06-03Remove 32-bit String to_int methodAaron Franke
2020-05-26GDNative: Add bindings for the Packed*Array ptr() and ptrw() functions.bruvzg
2020-05-18GDNative add new core types.bruvzg
2020-05-16Fix GDNative wrapper type sizes (RID, Variant, Packed*Array), add size ↵bruvzg
checking static asserts.
2020-05-14Style: Enforce braces around if blocks and loopsRémi Verschelde
Using clang-tidy's `readability-braces-around-statements`. https://clang.llvm.org/extra/clang-tidy/checks/readability-braces-around-statements.html
2020-05-14Style: Enforce separation line between function definitionsRémi Verschelde
I couldn't find a tool that enforces it, so I went the manual route: ``` find -name "thirdparty" -prune \ -o -name "*.cpp" -o -name "*.h" -o -name "*.m" -o -name "*.mm" \ -o -name "*.glsl" > files perl -0777 -pi -e 's/\n}\n([^#])/\n}\n\n\1/g' $(cat files) misc/scripts/fix_style.sh -c ``` This adds a newline after all `}` on the first column, unless they are followed by `#` (typically `#endif`). This leads to having lots of places with two lines between function/class definitions, but clang-format then fixes it as we enforce max one line of separation. This doesn't fix potential occurrences of function definitions which are indented (e.g. for a helper class defined in a .cpp), but it's better than nothing. Also can't be made to run easily on CI/hooks so we'll have to be careful with new code. Part of #33027.