summaryrefslogtreecommitdiff
path: root/core
AgeCommit message (Collapse)Author
2020-08-26Added debugger plugin supportsimpu
Changes: * EngineDebugger is exposed to gdscript. Game side of communication can be implemented through it. * EditorDebuggerPlugin is added which handles the editor side of communication.
2020-08-25Revert "Check if global class file still exists before registering it"Rémi Verschelde
And revert follow-up regression fix "Remap script path when registering class." After the regression fix, the original issue is valid again so it's better to go back to the previous state. This reverts commits e264ae20d2a828201a50868b3af334a3f8c8a37c and fceb64827ea50364f34f4ba9db3910602d1911bf.
2020-08-25Merge pull request #40443 from SkyLucilfer/PluralsSupportRémi Verschelde
Added plurals and context support to Translation
2020-08-21Fix new black style check failures in various files.Marcel Admiraal
2020-08-19Fix warning using ERR_FAIL_INDEX on unsigned intRémi Verschelde
This method starting being used in 079ca220e14669ef7c31c399985cd2c733af15bd, which now triggers this warning from GCC 10: ``` ./core/error_macros.h:151:25: error: comparison of unsigned expression in '< 0' is always false [-Werror=type-limits] ```
2020-08-19Update GDScriptTranslationParserPlugin to use GDSriptParser instead of RegEx.SkyJJ
2020-08-19Updated Translation architecture to have TranslationPO, did some commit ↵SkyJJ
fixes and updated class Reference.
2020-08-19Added plurals and context support to TranslationSkyJJ
2020-08-18Fixed issues with adding custom project settings and added confirmation ↵Eric M
dialog when deleting settings.
2020-08-14Update AUTHORS and DONORS listRémi Verschelde
New contributors added to AUTHORS: @hinlopen, @naithar, @rrcore, @SkyLucilfer, @TwistedTwigleg Thanks to all contributors and donors for making Godot possible! --- Also changes to relevant code that parses the DONORS.md to match the new tiers.
2020-08-13Added volumetric fog effect.Juan Linietsky
2020-08-11Merge pull request #41025 from Faless/gdscript/fix_class_nameRémi Verschelde
Remap script path when registering class.
2020-08-10Merge pull request #41043 from ShivamMukherjee/fix-variant-callRémi Verschelde
Fix Vector3i and Vector2i AXIS_* constants
2020-08-10Rewrite ProjectSettings editor advanced optionsStijn Hinlopen
- New layout: advanced options hidden by default, error labels added. - Disallow adding invalid new settings, or overwriting built-in settings.
2020-08-05Fix Vector3i and Vector2i AXIS_* constantsVivraan
2020-08-04Remap script path when registering class.Fabio Alessandrelli
Was causing `class_name`-defined scripts to not being loaded in exported games due to the remap from `*.gd` to `*.gdc`/`*.gde`.
2020-07-31Fixes issue with LocalVector remove functionAndrea Catania
2020-07-28Check if global class file still exists before registering itWilson E. Alvarez
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-26Merge pull request #39898 from Meriipu/master_gdscriptRémi Verschelde
GDScript: Clarified/fixed inaccuracies in the built-in function docs.
2020-07-26Merge pull request #40670 from vnen/remove-multilevel-callRémi Verschelde
Remove multilevel calls
2020-07-25Core Variant: switch from 'real' to 'float' to allow building with NEED_LONG_INTSergey Minakov
2020-07-25Core Callable: fixed variant call casterSergey Minakov
Use same call to VariantCaster in release build as used in VariantCasterAndValidate::call method
2020-07-25GDScript: Clarified/fixed inaccuracies in the built-in function docs.Meriipu
The input to smoothstep is not actually a weight, and the decscription of smoothstep was pretty hard to understand and easy to misinterpret. Clarified what it means to be approximately equal. nearest_po2 does not do what the descriptions says it does. For one, it returns the same power if the input is a power of 2. Second, it returns 0 if the input is negative or 0, while the smallest possible integral power of 2 actually is 1 (2^0 = 1). Due to the implementation and how it is used in a lot of places, it does not seem wise to change such a core function however, and I decided it is better to alter the description of the built-in. Added a few examples/clarifications/edge-cases.
2020-07-25Merge pull request #38900 from bruvzg/docs_ignore_os_spec_def_valsRémi Verschelde
Docs: Ignore OS specific values (constants, project settings, properties)
2020-07-24Show errors on Object.call_deferredWilson E. Alvarez
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-24t Add unit testing to Godot using DocTest and added to GitHub Actions CIRevoluPowered
Implements exit codes into the engine so tests can return their statuses. Ideally we don't do this, and we use FIXUP logic to 'begin' and 'end' the engine execution for tests specifically. Since realistically we're initialising the engine here we don't want to do that, since String should not require an engine startup to test a single header. This lowers the complexity of running the unit tests and even for physics should be possible to implement such a fix.
2020-07-24Merge pull request #40598 from vnen/gdscript-2.0Rémi Verschelde
GDScript 2.0 (again)
2020-07-22issue-40396 - Added missing error strings to JSON parsing when array or ↵Adam Bates
object is never closed.
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-20Add warning checks in GDScript analyzerGeorge Marques
Reenable checking those when validating code.
2020-07-20Merge pull request #40161 from vnen/classdb-info-methodsRémi Verschelde
Add methods in ClassDB to get property/method/constant/enum info
2020-07-20Merge pull request #40468 from asmaloney/spelling-codeRémi Verschelde
Fix spelling of a var, a struct, and some message output
2020-07-20Fix Directory make_dir and make_dir_recursiveNathan Franke
2020-07-17Fix spelling of a var, a struct, and message outputAndy Maloney
2020-07-15Docs: Ignore OS specific values (constants, project settings, properties).bruvzg
2020-07-14Merge pull request #40374 from Faless/udp/server_abstractionRémi Verschelde
UDPServer uses single socket, abstract clients.
2020-07-14UDPServer handles PacketPeerUDP-client associationFabio Alessandrelli
UDPServer now uses a single socket which is shared with the PacketPeerUDP it creates and has a new `poll` function to read incoming packets on that socket and delivers them to the appropriate peer. PacketPeerUDP created this way never reads from the socket, but are allowed to write on it using sendto. This is needed because Windows (unlike Linux/BSD) does not support packet routing when multiple sockets are bound on the same address/port.
2020-07-14PO loader: Fix unclosed files and error messagesRémi Verschelde
Trying to get `f->get_path()` after deleting `f` was not super clever :) Fixes #40324.
2020-07-14Merge pull request #38440 from Paulb23/syntax_highlighter_refactorRémi Verschelde
Syntax highlighter refactor
2020-07-13Commit other files changed by file_format.shAaron Franke
2020-07-13Fix overriding compression related settingsAndrii Doroshenko (Xrayez)
2020-07-11Extract Syntax highlighting from TextEdit and add EditorSyntaxHighlighterPaulb23
- Extacted all syntax highlighting code from text edit - Removed enable syntax highlighting from text edit - Added line_edited_from signal to text_edit - Renamed get/set_syntax_highlighting to get/set_syntax_highlighter - Added EditorSyntaxHighligher
2020-07-11Add core types to ScriptLanguagePaulb23
2020-07-10Add override keywords.Marcel Admiraal
2020-07-10Merge pull request #40121 from Calinou/enable-file-loggingRémi Verschelde
Enable file logging by default on desktops to help with troubleshooting