summaryrefslogtreecommitdiff
path: root/core
AgeCommit message (Collapse)Author
2020-09-01Fix invalid CSV in SDL2 controller mappings DBRémi Verschelde
Follow-up to a61cae14696732fca214902161f40450dec2f9cd.
2020-09-01Merge pull request #41669 from strank/hardcoded-op-maxRémi Verschelde
Fix hard-coded OP_MAX in variant_op.cpp
2020-09-01Merge pull request #40868 from aaronfranke/color-html-rgbaRémi Verschelde
Change Color HTML conversion from ARGB to RGBA
2020-09-01Sync controller mappings DB with SDL2 community repoRémi Verschelde
Synced with gabomdq/SDL_GameControllerDB@d148c6ce4987e0cf58da8100c675eb5db8e43dfe.
2020-09-01Fix hard-coded OP_MAX in variant_op.cppstrank
2020-09-01Simplify html_is_valid and allow it to work with 3 and 4 hex digitsAaron Franke
2020-09-01Change Color HTML conversion from ARGB to RGBAAaron Franke
Also add support for 3 and 4 digit values in C#. Now it actually matches the HTML/CSS spec.
2020-08-31Merge pull request #41635 from jkb0o/masterRémi Verschelde
Clear missed remaps on deinitialization
2020-08-31[funexpected] clear missed remaps on deinitialization, fixes ↵Yakov Borevich
godotengine/godot#34221
2020-08-31Merge pull request #40955 from Calinou/test-add-expressionRémi Verschelde
Add a test suite for Expression
2020-08-27Add a test suite for ExpressionHugo Locurcio
This also makes the first parameter of `Expression::execute()` optional from C++. Previously, it was only optional in the scripting API.
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