summaryrefslogtreecommitdiff
path: root/modules/gdnative
AgeCommit message (Collapse)Author
2020-12-04Rename TYPE_REAL to TYPE_FLOATGeorge Marques
To be consistent with the naming everywhere else.
2020-12-02Refactor DocData into core and editor (DocTools) partsThakee Nathees
2020-11-29Documentation generation for GDScriptThakee Nathees
- ClassDoc added to GDScript and property reflection data were extracted from parse tree - GDScript comments are collected from tokenizer for documentation and applied to the ClassDoc by the GDScript compiler - private docs were excluded (name with underscore prefix and doesn't have any doc comments) - default values (of non exported vars), arguments are extraced from the parser - Integrated with GDScript 2.0 and new enums were added. - merge conflicts fixed
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