summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-02-25Merge pull request #36529 from akien-mga/expression-int64Rémi Verschelde
Expression: Fix parsing integers as 32-bit
2020-02-25Merge pull request #36481 from nekomatata/fix-crash-connect-callableRémi Verschelde
Fixed crash when connecting a signal in GDScript
2020-02-25Expression: Fix parsing integers as 32-bitRémi Verschelde
2020-02-25Merge pull request #36513 from Calinou/editor-icons-pascalcase-filenamesRémi Verschelde
Use PascalCase file names for editor icons
2020-02-25Merge pull request #36527 from akien-mga/travis-python-3.8Rémi Verschelde
Travis: Use Python 3.8 alias instead of specific version
2020-02-25Travis: Use Python 3.8 alias instead of specific versionRémi Verschelde
Otherwise it breaks when they update the container to a new version, like they did today with 3.7.6.
2020-02-25Merge pull request #36525 from nathanwfranke/fix-project-godot-class-nameRémi Verschelde
Fix project.godot for projects with class_name
2020-02-25Merge pull request #36502 from nathanwfranke/re-remove-invalid-signal-connectRémi Verschelde
Re-Remove this signal call that was mistakenly added in #36244
2020-02-24Fix project.godot for projects with class_namenathanwfranke
Fixes #36438
2020-02-24Use PascalCase file names for editor iconsHugo Locurcio
Using PascalCase file names without any conversion step is less confusing to new contributors.
2020-02-24Merge pull request #36506 from kuruk-mm/marshall_to_objectRémi Verschelde
Core: Change _Marshall class from inherit Reference to Object
2020-02-24Core: Change _Marshall class inherit from Reference to ObjectMateo Dev .59
2020-02-24Merge pull request #36503 from Redwan13/mac_os_build_fixRémi Verschelde
Scons: fixed build for vanilla clang in mac os x
2020-02-24Scons: fixed build for vanilla clang in mac os xNickolai Korshunov
2020-02-24Remove this signal call that was mistakenly added in #36244nathanwfranke
The original change was in #36340
2020-02-24Merge pull request #36494 from akien-mga/callable-fixesRémi Verschelde
Fix some signals and non-debug branch for callable_mp
2020-02-24Merge pull request #36489 from YeldhamDev/more_iconsRémi Verschelde
Add icons for some new variants
2020-02-24Merge pull request #36488 from Chaosus/capsule_yRémi Verschelde
Changed default capsule axis to vertical
2020-02-23Signals: Fix invalid connections to missing callbacksRémi Verschelde
These bugs existed since those lines were added, so I assume that their intended use is no longer relevant.
2020-02-23callable_mp: Fix non-debug branchRémi Verschelde
Was missed in #36393 because no `callable_mp()` calls were actually compiled with `tools=no` in that PR. Also work around GCC warning that also affects the `call_with_variant_args_ret_helper` variant.
2020-02-23Signals: Make callbacks non-const, callable_mp can't handle itRémi Verschelde
2020-02-23Merge pull request #36492 from reduz/variant-vector-refcountedRémi Verschelde
Store arrays inside of Variant as shared.
2020-02-23Store arrays inside of Variant as shared.Juan Linietsky
Arrays inside of Variant are unique and use reference counting. When you assign a variant containing a packed array to another, or when you call non const functions to arrays, this will work even if the array is inside a dictionary, so they will from now pass as reference. The difference with regular variant arrays is that, once passed to a function in the C++ API, they are no longer shared. This is required for security and thread safety, as those arrays are mainly used to pass data back and forth even between threads.
2020-02-23Merge pull request #36089 from dreamsComeTrue/fix-autocomplete-quotesRémi Verschelde
Fix: auto brace complete for quoted strings
2020-02-23Merge pull request #36485 from ofrank123/masterRémi Verschelde
Fix crash after closing a GDScript LSP session
2020-02-23Merge pull request #36484 from akien-mga/scons-compiler-version-checkRémi Verschelde
SCons: Add GCC/Clang minimum version check
2020-02-23Changed default capsule axis to verticalYuri Roubinsky
Co-authored-by: Hugo Locurcio <https://hugo.pro>
2020-02-23SCons: Add GCC/Clang minimum version checkRémi Verschelde
Prevent using GCC 8 as it does not properly support C++17's guaranteed copy elision which we now need. (Upstream bug: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86521) Follow-up to #36457 and #36436.
2020-02-23Add icons for some new variantsMichael Alexsander
2020-02-23Fix crash after closing a GDScript LSP sessionOliver Frank
2020-02-23Merge pull request #36482 from Faless/debugger/fix_bp_cmpRémi Verschelde
Fix Breakpoint compare in new Debugger.
2020-02-23Fix Breakpoint compare in new Debugger.Fabio Alessandrelli
Only used to keep the hashmap, but clearly bogus.
2020-02-23Merge pull request #36478 from qarmin/supsicious_operators_everywhereRémi Verschelde
Fix suspicious | and + operators
2020-02-23Fixed crash when connecting a signal in GDScriptPouleyKetchoupp
2020-02-23Fix suspicious | and + operatorsRafał Mikrut
2020-02-23Merge pull request #36411 from Janglee123/rect2-tweenRémi Verschelde
Added tween support for Rect2
2020-02-23Merge pull request #36461 from akien-mga/c++17-fallthrough-attributeRémi Verschelde
Replace FALLTHROUGH macro by C++17 [[fallthrough]]
2020-02-23Added tween support for Rect2janglee
Fixes #34575
2020-02-23Merge pull request #36436 from reduz/new-variant-typesRémi Verschelde
Add support for Vector2i, Rect2i and Vector3i to Variant
2020-02-23Replace FALLTHROUGH macro by C++17 [[fallthrough]]Rémi Verschelde
This attribute is now part of the standard we target so we no longer need compiler-specific hacks. Also enables -Wimplicit-fallthrough for Clang now that we can properly support it. It's already on by default for GCC's -Wextra. Fixes new warnings raised by Clang's -Wimplicit-fallthrough.
2020-02-22Add support for Vector2i, Rect2i and Vector3i to VariantJuan Linietsky
WARNING: Requires C++17 'guaranteed copy elision' to fix ambiguous operator problems in Variant. This was added for this commit (and future C++17 uses) in #36457.
2020-02-22Merge pull request #36465 from YeldhamDev/debugger_top_marginRémi Verschelde
Remove extra margin in the top of the debugger
2020-02-22Merge pull request #36463 from akien-mga/scons-msvc-c++17-cxxflagsRémi Verschelde
SCons: Ensure that MSVC gets /std:c++17 in CCFLAGS
2020-02-22Merge pull request #36464 from akien-mga/travis-macos-xcode-11.3-c++17Rémi Verschelde
Travis: Use Xcode 11.3 for macOS/iOS
2020-02-22Remove extra margin in the top of the debuggerMichael Alexsander
2020-02-22Travis: Use Xcode 11.3 for macOS/iOSRémi Verschelde
Xcode 10+ is needed for exhaustive C++17 support (gnu++17). 11.3 is the latest available version on Travis, and we don't have a specific reason not to use it. Follow-up to #36457.
2020-02-22SCons: Ensure that MSVC gets /std:c++17 in CCFLAGSRémi Verschelde
We were running this logic too early, so `env.msvc` was not initialized yet and MSVC used the same branch as GCC/Clang.
2020-02-22Merge pull request #36457 from akien-mga/c++-standard-gnu++17Rémi Verschelde
SCons: Bump required C++ standard to C++17
2020-02-22Travis: Use Ubuntu 18.04 (bionic) as base imageRémi Verschelde
It's now available and allows us to have a better default environment, with GCC 7.4.0 and Clang 7. We now need GCC 7+ for C++17 support so it's more efficient to upgrade the image than to install it on Ubuntu 16.04 (xenial). Also fixes a couple -Wdeprecated-declarations warnings on macOS now that we build against macOS 10.12.
2020-02-22SCons: Bump required C++ standard to C++17Rémi Verschelde
As per #36436, we now need C++17's guaranteed copy elision feature to solve ambiguities in Variant. Core developers discussed the idea to move from C++14 to C++17 as our minimum required C++ standard, and all agreed. Note that this doesn't mean that Godot is going to be written in "modern C++", but we'll use modern features where they make sense to simplify our "C with classes" codebase. Apart from new code written recently, most of the codebase still has to be ported to use newer features where relevant. Proper support for C++17 means that we need recent compiler versions: - GCC 7+ - Clang 6+ - VS 2017 15.7+ Additionally, C++17's `std::shared_mutex` (conditionally used by `vk_mem_alloc.h` when C++17 support is enabled) is only available in macOS 10.12+, so we increase our minimum supported version.