summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-11-21GDScript: Add typed iterate instructionsGeorge Marques
2020-11-21GDScript: Add faster call instructions for builtin methodsGeorge Marques
Methods from builtin types can be called by using the function pointer when the argument and base types are known at compile time.
2020-11-21GDScript: Add faster call instructions for native methodsGeorge Marques
2020-11-21GDScript: Add speficic set/get instructionsGeorge Marques
When the base type is known at compile-time, we can get a direct function pointer that is faster than the regular set/get paths.
2020-11-21GDScript: Add faster operator for known typesGeorge Marques
It now uses the direct operator function pointer, which increases performance in evaluation.
2020-11-21GDScript: Gather instructions arguments beforehandGeorge Marques
Almost all instructions need variant arguments. With this change they are loaded in an array before each instruction call. This makes the addressing code be localized to less places, improving compilation overhead and binary size by a small margin. This should not affect performance.
2020-11-21GDScript: Split Function code into multiple filesGeorge Marques
To improve organization and reduce the size of compilation units.
2020-11-21Add extra functions to VariantInternalGeorge Marques
- Allow getting an opaque pointer, no matter the type (for ptrcall). - Allow setting object pointer and id directly. - Allow initializing the data given a type, to allow properly setting return types on ptrcalls.
2020-11-20Merge pull request #43713 from akien-mga/doc-node-internal-processingRémi Verschelde
doc: Warn about using Node internal processing
2020-11-20Merge pull request #43716 from akien-mga/export-options-consistencyRémi Verschelde
Export: Reorder options for consistency across platforms
2020-11-20Merge pull request #43719 from akien-mga/nanosvg-3e403ecRémi Verschelde
nanosvg: Sync with upstream 3e403ec
2020-11-20Merge pull request #43583 from Calinou/test-add-objectRémi Verschelde
Add a test suite for Object
2020-11-20Merge pull request #43514 from Calinou/test-add-rect2-rect2iRémi Verschelde
Add a test suite for Rect2 and Rect2i
2020-11-20Merge pull request #43722 from Xrayez/doctest-update-2.4.1Rémi Verschelde
doctest: Update to 2.4.1
2020-11-20Add a test suite for ObjectHugo Locurcio
2020-11-20Add a test suite for Rect2 and Rect2iHugo Locurcio
2020-11-20Style fix after #43517Rémi Verschelde
2020-11-20doctest: Update to 2.4.1Andrii Doroshenko (Xrayez)
Includes a patch for breakpoint inline assembly for macOS.
2020-11-20Merge pull request #43517 from Calinou/test-add-jsonRémi Verschelde
Add a test suite for JSON
2020-11-20Merge pull request #43721 from Xrayez/doctest-no-overrideRémi Verschelde
doctest: Do not override command-line options
2020-11-20doctest: Do not override command-line optionsAndrii Doroshenko (Xrayez)
Those options were likely copy-pasted from documentation examples. This change also allows to break in the debugger by default when assertions fail, and this can be configured via command-line interface.
2020-11-20nanosvg: Sync with upstream 3e403ecRémi Verschelde
Includes some loop condition fixes after fuzzing. The previously identified regression (#43641) is now fixed upstream.
2020-11-20Export: Reorder options for consistency across platformsRémi Verschelde
2020-11-20doc: Warn about using Node internal processingRémi Verschelde
See #43689. Also 'fixed' some spelling for behavior in publicly visible strings. (Sorry en_GB, en_CA, en_AU, and more... Silicon Valley won the tech spelling war.)
2020-11-20Merge pull request #43703 from Xrayez/premature-timerRémi Verschelde
Do not start `Timer` upon manual switching of internal process
2020-11-20Do not start `Timer` upon manual switching of internal processAndrii Doroshenko (Xrayez)
Prevents `Timer` to prematurely start and timeout immediately if internal processing is enabled manually with `Timer.set_process_internal(true)` or `Timer.set_physics_process_internal(true)`. Even if the internal processing is enabled manually, the user still has to actually start the timer with `start()` method explicitly.
2020-11-19Merge pull request #43591 from madmiraal/fix-43520Rémi Verschelde
Update joy button and stick names, enums and documentation
2020-11-19Merge pull request #43692 from akien-mga/scons-leave-link-aloneRémi Verschelde
SCons: Remove unnecessary $LINK overrides
2020-11-19Merge pull request #43687 from akien-mga/macos-osxcross-link-arm64Rémi Verschelde
OSX: Fix linking with osxcross for arm64
2020-11-19SCons: Remove unnecessary $LINK overridesRémi Verschelde
As of SCons 4.0.1, the default value for $LINK is $SMARTLINK, which itself is a function that will use $CXX as linker for C++: https://github.com/SCons/scons/blob/4.0.1/SCons/Tool/link.py#L327-L328 https://github.com/SCons/scons/blob/4.0.1/SCons/Tool/link.py#L54-L76 So we don't need to manually specify the same value as $CXX for $LINK.
2020-11-19OSX: Fix linking with osxcross for arm64Rémi Verschelde
For some reason the `-target` option on the `LINKFLAGS` was causing a weird issue where osxcross' clang wrapper would attempt using the system `/bin/ld` instead of the osxcross version (which is Apple's `ld64`). The error message would be: ``` /bin/ld: unrecognized option '-dynamic' ``` Also removed from `CCFLAGS` for consistency, it seems to work fine with only `-mmacosx-version-min`.
2020-11-19Update joy button and stick names, enums and documentationMarcel Admiraal
2020-11-19Merge pull request #43668 from GryphonClaw/masterRémi Verschelde
added shortcuts/hotkeys for tileset editor plugin collision buttons, …
2020-11-19Merge pull request #43662 from EricEzaM/PR/INP3-command_serialization_optionalRémi Verschelde
Made serialization of Command toggleable when saving InputEvents.
2020-11-19Merge pull request #43682 from RandomShaper/warn_reference_singletonRémi Verschelde
Warn about singleton being a Reference
2020-11-19Made serialization of Command toggleable when saving InputEvents.Eric M
Made serialization of Command optional. If command is serialized, Control (On Win/Linux) or Meta (on Mac) are not. Example use case: You are on Windows and you set a shortcut to be Control + E. This would serialize as Command=true and Control=true. If you then run this project on Mac, you would need to press Command AND Control to activate the shortcut - which is not what is intended. Now, you can set store_command to true, and it will only serialize to Command = true (no Control serialized). On Windows, this means Control. On Mac, it means only command.
2020-11-19Warn about singleton being a ReferencePedro J. Estébanez
2020-11-19Merge pull request #43681 from aaronfranke/grid-view-updateRémi Verschelde
Update the 3D grid when the "View Grid" checkbox is changed
2020-11-19Update the 3D grid when the "View Grid" checkbox is changedAaron Franke
2020-11-19Merge pull request #43665 from Nickswoboda/fix-invalid-freeRémi Verschelde
Check uniform set validity before freeing
2020-11-19Merge pull request #43664 from Phischermen/quit-documentationRémi Verschelde
Clarify that SceneTree::quit() does not immediately end the application.
2020-11-19Merge pull request #43671 from m4gr3d/fix_zipalign_bug_on_windowsRémi Verschelde
Fix zipalign command name on Windows machines
2020-11-18Fix zipalign command name on Windows machines.Fredia Huya-Kouadio
2020-11-19Merge pull request #43661 from EricEzaM/PR/INP2-rename_load_from_globalsRémi Verschelde
load_from_globals() -> load_from_project_settings()
2020-11-19Merge pull request #43657 from RandomShaper/fix_dupe_crashRémi Verschelde
Fix crash duplicating local-to-scene resources
2020-11-18added shortcuts/hotkeys for tileset editor plugin collision buttons, with ↵GryphonClaw
suggested changes.
2020-11-18Check uniform set validity before freeingNick Swoboda
2020-11-18Clarify that SceneTree::quit() does not immediately end the application.Phischermen
2020-11-19load_from_globals() -> load_from_project_settings()Eric M
2020-11-18Fix crash duplicating local-to-scene resourcesPedro J. Estébanez