summaryrefslogtreecommitdiffstats
path: root/core
Commit message (Collapse)AuthorAgeFilesLines
* Effective DisplayServer separation, rename X11 -> LinuxBSDJuan Linietsky2020-03-267-1141/+34
|
* Refactored Input, create DisplayServer and DisplayServerX11Juan Linietsky2020-03-2625-321/+3266
|
* SCons: Drop support for Python 2Rémi Verschelde2020-03-251-14/+32
| | | | | | We now require SCons 3.0+ (first version with Python 3 support), and we set min required Python 3 version to 3.5 (3.4 and earlier are EOL).
* Style: Harmonize header guards to style guide [Core]Rémi Verschelde2020-03-2567-100/+109
|
* Tweak the message queue maximum size property hintHugo Locurcio2020-03-241-2/+2
| | | | | | | | | | The minimum slider value no longer allows decreasing the value below the default, as this can cause things to break in the editor. The maximum slider value was also increased to 4096 since it can safely be increased to that value (some add-ons may require it). This closes #37052.
* Merge pull request #33508 from nekomatata/object-has-signalRémi Verschelde2020-03-232-0/+21
|\ | | | | Added has_signal method for Object
| * Added has_signal method for ObjectPouleyKetchoupp2020-03-232-0/+21
| |
* | Fix potential divisions by 0 reported by MSVCRémi Verschelde2020-03-211-1/+1
| | | | | | | | | | | | The `TextEdit` one was indeed a potential bug. The `PCKPacker` one seems to be a false positive, it's already in a `for` loop that depends on `files.size()`.
* | i18n: Fix parsing of multiple escapes before quotesThakee Nathees2020-03-201-3/+12
| | | | | | | | See https://github.com/godotengine/godot/pull/37114#issuecomment-601463765
* | i18n: Add support for translating the class referenceRémi Verschelde2020-03-206-22/+41
|/ | | | | | | | | | | | | | - Parse `.po` files from `doc/translations/*.po` like already done with `editor/translations/*.po`. - Add logic to register a doc translation mapping in `TranslationServer` and `EditorSettings`. - Add `DTR()` to lookup the doc translation mapping (similar to `TTR()`). Strings are automatically dedented and stripped of whitespace to ensure that they would match the translation catalog. - Use `DTR()` to translate relevant strings in `EditorHelp`, `EditorInspector`, `CreateDialog`, `ConnectionsDialog`. - Small simplification to `TranslationLoaderPO`, the path argument was not really meaningful.
* Merge pull request #37039 from Chaosus/astar2d_costRémi Verschelde2020-03-192-13/+192
|\ | | | | Implements estimate/compute_cost for AStar2D
| * Implements estimate/compute_cost for AStar2DYuri Roubinsky2020-03-142-13/+192
| |
* | doc: Sync classref with current sourceRémi Verschelde2020-03-181-1/+1
| | | | | | | | Fix wrong binding after #37111.
* | Fix C# bindings after recent breaking changesIgnacio Etcheverry2020-03-173-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Merge pull request #37111 from RandomShaper/imvu/unexpose_include_driveRémi Verschelde2020-03-172-3/+3
|\ \ | | | | | | Remove meaningless parameter from bindings
| * | Remove meaningless parameter from bindingsPedro J. Estébanez2020-03-172-3/+3
| |/
* | Style: Set clang-format Standard to Cpp11Rémi Verschelde2020-03-1738-130/+130
| | | | | | | | | | | | | | | | | | | | 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`.
* | Merge pull request #36896 from kuruk-mm/doc_return_variant_2Rémi Verschelde2020-03-161-1/+4
|\ \ | | | | | | Doctool and core: Fix return type in docs for some Variant methods...
| * | Doctool and core: Fix return type in docs for some Variant methods assigning ↵Mateo Miccino2020-03-091-1/+4
| | | | | | | | | | | | PROPERTY_USAGE_NIL_IS_VARIANT to MethodInfo usage when we have something to return
* | | Tweak the invalid Unicode error message to be more descriptiveHugo Locurcio2020-03-161-1/+1
| |/ |/| | | | | This closes #28503.
* | Merge pull request #36599 from AndreaCatania/gen_rpc_data_exportRémi Verschelde2020-03-131-1/+2
|\ \ | | | | | | Generates the rpc and rset info for exported GDScript.
| * | Generates the rpc and rset info for exported GDScript.Andrea Catania2020-02-281-1/+2
| | | | | | | | | | | | | | | | | | Improved the send rpc log message when fail. This work has been kindly sponsored by IMVU.
* | | Merge pull request #36994 from akien-mga/typedefs-cleanupRémi Verschelde2020-03-124-149/+65
|\ \ \ | | | | | | | | typedefs: Cleanup unused macros and unnecessary checks
| * | | typedefs: Cleanup unused macros and unnecessary checksRémi Verschelde2020-03-114-149/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | Fix various typosluz.paz2020-03-113-4/+4
|/ / / | | | | | | Found via `codespell`
* | | Merge pull request #36905 from Faless/js/restore_and_ciRémi Verschelde2020-03-112-9/+21
|\ \ \ | | | | | | | | Resurrect HTML5 platform, add it to CI (no rendering yet)
| * | | Fix mutex when building with no threads.Fabio Alessandrelli2020-03-082-9/+21
| | |/ | |/|
* | | Fix -Wshadow=local warning in EngineDebuggerRémi Verschelde2020-03-101-3/+3
| | |
* | | Refactor ScriptDebugger.Fabio Alessandrelli2020-03-0824-2119/+2593
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | ScriptDebuggerRemote use threadsFabio Alessandrelli2020-03-084-74/+280
| | |
* | | Add TCP poll function (not exposed).Fabio Alessandrelli2020-03-082-0/+8
|/ / | | | | | | Used to know if we can read or write without blocking.
* | Re-architecture of the Godot Android plugin.fhuya2020-03-051-3/+0
| |
* | Merge pull request #36752 from RandomShaper/rework_semaphoreRémi Verschelde2020-03-0512-125/+59
|\ \ | | | | | | Drop old semaphore implementation
| * | Drop old semaphore implementationPedro J. Estébanez2020-03-0312-125/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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.
* | | ConfigFile: Improve error messages and complete docsRémi Verschelde2020-03-052-11/+9
| | |
* | | Merge pull request #36021 from YeldhamDev/intersects_touch_exposeRémi Verschelde2020-03-042-24/+22
|\ \ \ | | | | | | | | Turn Rect2's 'intersects_touch()' into an extra argument of 'intersects()'
| * | | Turn Rect2's 'intersects_touch()' into an extra argument of 'intersects()'Michael Alexsander2020-03-042-24/+22
| | | |
* | | | Merge pull request #36682 from nekomatata/android-compilation-fixRémi Verschelde2020-03-041-0/+4
|\ \ \ \ | | | | | | | | | | Compilation fixes on Android
| * | | | Compilation fixes on AndroidPouleyKetchoupp2020-03-041-0/+4
| | | | |
* | | | | Merge pull request #36733 from qarmin/static_analyzer_fixesRémi Verschelde2020-03-045-3/+9
|\ \ \ \ \ | |_|/ / / |/| | | | Fixes bugs found by Sonarcloud and Coverity
| * | | | Fixes bugs found by Sonarcloud and Coverityqarmin2020-03-025-3/+9
| | |/ / | |/| |
* | | | Merge pull request #36069 from RandomShaper/imvu/improve_drives_uxRémi Verschelde2020-03-046-7/+13
|\ \ \ \ | | | | | | | | | | Improve UX of drive letters
| * | | | Improve UX of drive lettersPedro J. Estébanez2020-03-036-7/+13
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | Merge pull request #36385 from kuruk-mm/some_static_assertsRémi Verschelde2020-03-041-1/+1
|\ \ \ \ | | | | | | | | | | Change when we can ERR_FAIL_COND and ERR_FAIL_CONV_V to static_assert
| * | | | Change when we can ERR_FAIL_COND and ERR_FAIL_CONV_V to static_assertMateo Dev .592020-03-041-1/+1
| |/ / /
* | | | Merge pull request #36783 from ThakeeNathees/error_macros.h-typo-fixRémi Verschelde2020-03-041-10/+10
|\ \ \ \ | | | | | | | | | | Typo: in error_macros.h fixed
| * | | | error_macros.h typo fixedThakee Nathees2020-03-041-10/+10
| | | | |
* | | | | Merge pull request #36042 from sumit0190/exportInfNanRémi Verschelde2020-03-041-2/+8
|\ \ \ \ \ | |_|/ / / |/| | | | Read and write exported infs/nans correctly (#35388)
| * | | | Read and write exported infs/nans correctly (#35388)sumit01902020-02-091-2/+8
| | | | |
* | | | | Merge pull request #18020 from bruvzg/input_fix_non_latin_and_add_hw_scancodesRémi Verschelde2020-03-018-62/+111
|\ \ \ \ \ | |_|/ / / |/| | | | Fix non-latin layout scancodes on Linux, adds access to physical scancodes.