summaryrefslogtreecommitdiff
path: root/core
AgeCommit message (Collapse)Author
2020-03-19Merge pull request #37039 from Chaosus/astar2d_costRémi Verschelde
Implements estimate/compute_cost for AStar2D
2020-03-18doc: Sync classref with current sourceRémi Verschelde
Fix wrong binding after #37111.
2020-03-17Fix C# bindings after recent breaking changesIgnacio Etcheverry
Implementation for new Variant types Callable, Signal, StringName. Added support for PackedInt64Array and PackedFloat64Array. Add generation of signal members as events, as well as support for user created signals as events. NOTE: As of now, raising such events will not emit the signal. As such, one must use `EmitSignal` instead of raising the event directly. Removed old ThreadLocal fallback class. It's safe to use thread_local now since it's supported on all minimum versions of compilers we support.
2020-03-17Merge pull request #37111 from RandomShaper/imvu/unexpose_include_driveRémi Verschelde
Remove meaningless parameter from bindings
2020-03-17Remove meaningless parameter from bindingsPedro J. Estébanez
2020-03-17Style: Set clang-format Standard to Cpp11Rémi Verschelde
For us, it practically only changes the fact that `A<A<int>>` is now used instead of the C++03 compatible `A<A<int> >`. Note: clang-format 10+ changed the `Standard` arguments to fully specified `c++11`, `c++14`, etc. versions, but we can't use `c++17` now if we want to preserve compatibility with clang-format 8 and 9. `Cpp11` is still supported as deprecated alias for `Latest`.
2020-03-16Merge pull request #36896 from kuruk-mm/doc_return_variant_2Rémi Verschelde
Doctool and core: Fix return type in docs for some Variant methods...
2020-03-16Tweak the invalid Unicode error message to be more descriptiveHugo Locurcio
This closes #28503.
2020-03-14Implements estimate/compute_cost for AStar2DYuri Roubinsky
2020-03-13Merge pull request #36599 from AndreaCatania/gen_rpc_data_exportRémi Verschelde
Generates the rpc and rset info for exported GDScript.
2020-03-12Merge pull request #36994 from akien-mga/typedefs-cleanupRémi Verschelde
typedefs: Cleanup unused macros and unnecessary checks
2020-03-11typedefs: Cleanup unused macros and unnecessary checksRémi Verschelde
We now require a compiler with C++17 support, so we don't need to check for features added to GCC 5 or Clang 3.2. Clang builtin availability checks were unused anyway as Clang defines `__GNUC__` as it's also a GNU C implementation. Fixes #36986.
2020-03-11Fix various typosluz.paz
Found via `codespell`
2020-03-11Merge pull request #36905 from Faless/js/restore_and_ciRémi Verschelde
Resurrect HTML5 platform, add it to CI (no rendering yet)
2020-03-10Fix -Wshadow=local warning in EngineDebuggerRémi Verschelde
2020-03-09Doctool and core: Fix return type in docs for some Variant methods assigning ↵Mateo Miccino
PROPERTY_USAGE_NIL_IS_VARIANT to MethodInfo usage when we have something to return
2020-03-08Refactor ScriptDebugger.Fabio Alessandrelli
EngineDebugger is the new interface to access the debugger. It tries to be as agnostic as possible on the data that various subsystems can expose. It allows 2 types of interactions: - Profilers: A subsystem can register a profiler, assigning it a unique name. That name can be used to activate the profiler or add data to it. The registered profiler can be composed of up to 3 functions: - Toggle: called when the profiler is activated/deactivated. - Add: called whenever data is added to the debugger (via `EngineDebugger::profiler_add_frame_data`) - Tick: called every frame (during idle), receives frame times. - Captures: (Only relevant in remote debugger for now) A subsystem can register a capture, assigning it a unique name. When receiving a message, the remote debugger will check if it starts with `[prefix]:` and call the associated capture with name `prefix`. Port MultiplayerAPI, Servers, Scripts, Visual, Performance to the new profiler system. Port SceneDebugger and RemoteDebugger to the new capture system. The LocalDebugger also uses the new profiler system for scripts profiling.
2020-03-08ScriptDebuggerRemote use threadsFabio Alessandrelli
2020-03-08Add TCP poll function (not exposed).Fabio Alessandrelli
Used to know if we can read or write without blocking.
2020-03-08Fix mutex when building with no threads.Fabio Alessandrelli
2020-03-05Re-architecture of the Godot Android plugin.fhuya
2020-03-05Merge pull request #36752 from RandomShaper/rework_semaphoreRémi Verschelde
Drop old semaphore implementation
2020-03-05ConfigFile: Improve error messages and complete docsRémi Verschelde
2020-03-04Merge pull request #36021 from YeldhamDev/intersects_touch_exposeRémi Verschelde
Turn Rect2's 'intersects_touch()' into an extra argument of 'intersects()'
2020-03-04Merge pull request #36682 from nekomatata/android-compilation-fixRémi Verschelde
Compilation fixes on Android
2020-03-04Merge pull request #36733 from qarmin/static_analyzer_fixesRémi Verschelde
Fixes bugs found by Sonarcloud and Coverity
2020-03-04Turn Rect2's 'intersects_touch()' into an extra argument of 'intersects()'Michael Alexsander
2020-03-04Merge pull request #36069 from RandomShaper/imvu/improve_drives_uxRémi Verschelde
Improve UX of drive letters
2020-03-04Merge pull request #36385 from kuruk-mm/some_static_assertsRémi Verschelde
Change when we can ERR_FAIL_COND and ERR_FAIL_CONV_V to static_assert
2020-03-04Compilation fixes on AndroidPouleyKetchoupp
2020-03-04Merge pull request #36783 from ThakeeNathees/error_macros.h-typo-fixRémi Verschelde
Typo: in error_macros.h fixed
2020-03-04Merge pull request #36042 from sumit0190/exportInfNanRémi Verschelde
Read and write exported infs/nans correctly (#35388)
2020-03-04Change when we can ERR_FAIL_COND and ERR_FAIL_CONV_V to static_assertMateo Dev .59
2020-03-04error_macros.h typo fixedThakee Nathees
2020-03-03Drop old semaphore implementationPedro J. Estébanez
- Removed platform-specific implementations. - Now all semaphores are in-object, unless they need to be conditionally created. - Similarly to `Mutex`, provided a dummy implementation for when `NO_THREADS` is defined. - Similarly to `Mutex`, methods are made `const` for easy use in such contexts. - Language bindings updated: `wait()` and `post()` are now `void`. - Language bindings updated: `try_wait()` added. Bonus: - Rewritten the `#ifdef` in `mutex.h` to meet the code style.
2020-03-03Improve UX of drive lettersPedro J. Estébanez
Namely, move the drive dropdown to just the left of the path text box and don't include the former in the latter. This improves the UX on Windows. In the UNIX case, since its concept of drives is (ab)used to provide shortcuts to useful paths, its dropdown is kept at the original location.
2020-03-02Fixes bugs found by Sonarcloud and Coverityqarmin
2020-03-01Merge pull request #18020 from bruvzg/input_fix_non_latin_and_add_hw_scancodesRémi Verschelde
Fix non-latin layout scancodes on Linux, adds access to physical scancodes.
2020-03-01Merge pull request #36404 from rxlecky/fix-variant-conversionRémi Verschelde
Fix Variant to Vector<Variant> conversion operator
2020-03-01Merge pull request #36696 from Chaosus/fix_echoRémi Verschelde
Fix InputEventKey::echo property type from INT to BOOL
2020-03-01Merge pull request #36695 from clayjohn/ETC-mipmaps-4Rémi Verschelde
Force mipmaps off when importing RGBA4444 textures
2020-03-01Fix InputEventKey::echo type from INT to BOOLYuri Roubinsky
2020-02-29Force mipmaps off when importing RGBA4444 texturesclayjohn
2020-02-29doc: Sync classref with current sourceRémi Verschelde
2020-02-28Merge pull request #36640 from reduz/resource-loader-refactorRémi Verschelde
Removed ResourceInteractiveLoader, add built-in threaded loading.
2020-02-28Removed interactive loader, added proper thread loading.Juan Linietsky
2020-02-28ConnectionsDock: Fix error when parsing CustomCallable connectionsRémi Verschelde
2020-02-28Signals: Port connect calls to use callable_mpRémi Verschelde
Remove now unnecessary bindings of signal callbacks in the public API. There might be some false positives that need rebinding if they were meant to be public. No regular expressions were harmed in the making of this commit. (Nah, just kidding.)
2020-02-28Generates the rpc and rset info for exported GDScript.Andrea Catania
Improved the send rpc log message when fail. This work has been kindly sponsored by IMVU.
2020-02-28Fix shadowed variable build errorPedro J. Estébanez