summaryrefslogtreecommitdiffstats
path: root/platform
Commit message (Collapse)AuthorAgeFilesLines
* Prevent recursive `_dispatch_input_event` calls, improve focus regain on ↵bruvzg2020-03-262-40/+50
| | | | window deletion.
* Add macOS DisplayServer implementation.bruvzg2020-03-2611-3063/+4013
| | | | Change global menu to use Callable, add support for check items and submenus.
* Fixes to X11, still pretty brokenJuan Linietsky2020-03-262-27/+111
|
* Multiple changes to DisplayServerX11Mateo Kuruk Miccino2020-03-263-44/+132
| | | | | | | | | | | | | | | | - Travis: Change x11 to linuxbsd - SCons: Change x11 plataform to linuxbsd - Plugins: Remove ; to avoid fallthrough warning - DisplayServerX11: Implement set_icon - DisplayServerX11: Fix X11 bug when a window was erased from windows map, all the changes from that erased windows are sending to the main window - DisplayServerX11: Reorder create_window commands - DisplayServerX11: Change every Size2 to Size2i and Rect2 to Rect2i where it belongs + More X11 fixes which have been integrated directly back into reduz's original commits while rebasing the branch.
* Implemented drag and drop across windows, both OS and embedded.Juan Linietsky2020-03-264-4/+69
|
* Reworked tooltips to use the popup system.Juan Linietsky2020-03-262-12/+35
|
* Popups have also been converted to windowsJuan Linietsky2020-03-264-7/+52
| | | | Controls using the old modal API have been replaced to use popups.
* Fixes to window style flagsJuan Linietsky2020-03-264-34/+41
|
* Open sub-windows as embedded if the OS does not support themJuan Linietsky2020-03-264-24/+53
|
* Popups are now windows also (broken!)Juan Linietsky2020-03-262-3/+31
|
* Separate DisplayServer from OS on WindowsJuan Linietsky2020-03-269-2898/+3228
|
* Make DisplayServerX11 thread safeJuan Linietsky2020-03-262-3/+127
|
* Working multiple window support, including editorJuan Linietsky2020-03-262-16/+50
|
* Support for transient windowsJuan Linietsky2020-03-262-0/+48
|
* Refactored input, goes all via windows now.Juan Linietsky2020-03-2623-75/+163
| | | | Also renamed Input to InputFilter because all it does is filter events.
* Added a Window node, and made it the scene root.Juan Linietsky2020-03-264-14/+30
| | | | Still a lot of work to do.
* Effective DisplayServer separation, rename X11 -> LinuxBSDJuan Linietsky2020-03-2629-3991/+712
|
* Refactored Input, create DisplayServer and DisplayServerX11Juan Linietsky2020-03-2619-37/+3564
|
* SCons: Drop support for Python 2Rémi Verschelde2020-03-251-3/+1
| | | | | | 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).
* Merge pull request #37271 from akien-mga/cleanup-unused-classesRémi Verschelde2020-03-242-48/+2
|\ | | | | Remove unused classes and stray headers
| * Remove unused classes and stray headersRémi Verschelde2020-03-242-48/+2
| | | | | | | | | | | | | | | | Found by reviewing headers with 1 or less matching includes: ``` find -name thirdparty -prune -o -name "*.h" -exec basename {} \; | sort -u > headers for header in $(cat headers); do echo "$header: "; rg -l "#include \"(.*/)?$header\"" | wc -l; done > list-includes ```
* | Merge pull request #37261 from m6c7l/feature/issue-37239Rémi Verschelde2020-03-241-1/+4
|\ \ | | | | | | Linux: add relaxation to conditions in the joystick check routine
| * | issue-37239 add relaxation to conditions in the joystick check routine for ↵m6c7l2020-03-241-1/+4
| |/ | | | | | | being identified as joystick
* / Fixed WM_DELETE flag being set too lateEv1lbl0w2020-03-231-3/+3
|/
* Merge pull request #37219 from RajatGoswami/missing-include-guardsRémi Verschelde2020-03-237-0/+35
|\ | | | | Adding missing include guards to header files identified by LGTM
| * Adding missing include guards to header files identified by LGTM.Rajat Goswami2020-03-237-0/+35
| | | | | | | | This addresses the issue godotengine/godot#37143
* | Make file formatting comply with POSIX and Unix standardsAaron Franke2020-03-212-2/+2
|/ | | | UTF-8, LF, no BOM, and newlines at the end of files
* Update the naming scheme for the GodotPlugin's methods in preparate of the ↵fhuya2020-03-195-24/+40
| | | | vulkan integration.
* Merge pull request #37115 from RandomShaper/imvu/windows_stack_sizeRémi Verschelde2020-03-181-0/+6
|\ | | | | Make stack size on Windows match Linux and MacOS
| * Make stack size on Windows match Linux and MacOSPedro J. Estébanez2020-03-171-0/+6
| |
* | Removed unused code in android detect.py and SCsubunknown2020-03-182-8/+0
| |
* | Complete the implementation of the GodotPayment plugin.fhuya2020-03-1711-175/+39
| | | | | | | | Move the remaining plugin components within the plugin source code.
* | Merge pull request #36906 from m4gr3d/enable_android_studio_debuggingRémi Verschelde2020-03-173-4/+6
|\ \ | |/ |/| Enable Android Studio debugging
| * Enable Android studio debugger.fhuya2020-03-083-4/+6
| |
* | Merge pull request #37106 from akien-mga/clang-format-cpp11Rémi Verschelde2020-03-1714-24/+25
|\ \ | | | | | | Style: Set clang-format Standard to Cpp11
| * | Style: Set clang-format Standard to Cpp11Rémi Verschelde2020-03-1714-24/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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`.
* | | Fix text_entered signal when max_length is used in LineEdit on AndroidPouleyKetchoupp2020-03-131-3/+13
|/ / | | | | | | Fixes #35954
* | Merge pull request #36994 from akien-mga/typedefs-cleanupRémi Verschelde2020-03-121-2/+4
|\ \ | | | | | | typedefs: Cleanup unused macros and unnecessary checks
| * | typedefs: Cleanup unused macros and unnecessary checksRémi Verschelde2020-03-111-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | [HTML5] Refactor JS, threads support, closures.Fabio Alessandrelli2020-03-1113-482/+567
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Refactored the Engine code, splitted across files. - Use MODULARIZE option to build emscripten code into it's own closure. - Enable lto support (saves ~2MiB in release). - Enable optional closure compiler pass for JS and generated code. - Enable optional pthreads support. - Can now build with tools=yes (not much to see yet). - Dropped some deprecated code for older toolchains.
* | | AudioDriverJavascript uses IDHandler.Fabio Alessandrelli2020-03-112-40/+54
|/ / | | | | | | | | This makes closure compiler happy, avoiding globals and potentially undefined variables.
* | Linux: Add Mesa 20 "Intel" to prime detectionRémi Verschelde2020-03-111-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | Diff in `glxinfo` between Mesa 19.3.4 and 20.0.1: ```diff -OpenGL vendor string: Intel Open Source Technology Center -OpenGL renderer string: Mesa DRI Intel(R) HD Graphics 630 (Kaby Lake GT2) -OpenGL core profile version string: 4.6 (Core Profile) Mesa 19.3.4 +OpenGL vendor string: Intel +OpenGL renderer string: Mesa Intel(R) HD Graphics 630 (KBL GT2) +OpenGL core profile version string: 4.6 (Core Profile) Mesa 20.0.1 ```
* | Merge pull request #36905 from Faless/js/restore_and_ciRémi Verschelde2020-03-114-40/+25
|\ \ | | | | | | Resurrect HTML5 platform, add it to CI (no rendering yet)
| * | OS_Javascript temporarly uses dummy rasterizer.Fabio Alessandrelli2020-03-081-1/+5
| | |
| * | Fix Javascript platform after PoolVector removal.Fabio Alessandrelli2020-03-084-39/+20
| |/ | | | | | | Eval should be rechecked.
* | Revert "Change LINKFLAGS to FRAMEWORKS which is supported since"Rémi Verschelde2020-03-101-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | This reverts commit c924e83a646f8a6d972ccd4d009acc323a6be158. SCons `FRAMEWORKS` is, according to their latest docs, only supported "On Mac OS X with gcc". While the "with gcc" part seems bogus, #36795 did introduce a link failure for our osxcross toolchain for compiling macOS binaries from Linux. SCons probably fails to detect this as a macOS target and does not use its `FRAMEWORKS` logic properly. So using `LINKFLAGS` as we used to is the more portable solution.
* | Merge pull request #36751 from Faless/debugger/threads_and_profilersRémi Verschelde2020-03-091-4/+5
|\ \ | | | | | | ScriptDebugger refactor, threading, profilers.
| * | Refactor ScriptDebugger.Fabio Alessandrelli2020-03-081-4/+5
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* / Fix initialization of the GodotPayment pluginfhuya2020-03-091-1/+0
|/ | | | The `onGLRegisterPluginWithGodotNative()` method is supposed to be invoked only by `Godot`.
* Trim the whitespace around the plugins names.fhuya2020-03-062-3/+6
|