summaryrefslogtreecommitdiff
path: root/platform
AgeCommit message (Collapse)Author
2018-09-25Server platform builds (dummy) mobile_vr module.Fabio Alessandrelli
Protect GL functions in mobile_vr with ifdefs.
2018-09-25SCons: Fix checks for clang in env['CXX']Rémi Verschelde
They would match the whole path instead of only the filename.
2018-09-24Fixed hang when segfaulting after OS object destroyed (OSX and X11)Ibrahn Sahir
The two POSIX style crash handlers (OSX and X11) now remove their signal handlers when they are destroyed. Additonally if they are called while no OS singleton is set, they will simply abort(). This should not happen now that they remove themselves, but if a future change seperates OS object and crash handler lifetimes, this may be easier to report/debug than hanging on SIGSEGV.
2018-09-23Ignore invalid device for Androidvolzhs
2018-09-19Merge pull request #22070 from capnm/fix_Input.set_default_cursor_shape_take2Rémi Verschelde
Fix set_default_cursor_shape interaction with Control nodes
2018-09-17Fix Input::set_custom_mouse_cursor showing cursor when it's invisibleGuilherme Felipe
2018-09-17Merge pull request #22161 from eska014/html5-seticonRémi Verschelde
Implement OS::set_icon in HTML5 platform
2018-09-17Merge pull request #22134 from elasota/natvisRémi Verschelde
Add Visual Studio debug visualizer
2018-09-17Initial version of VS natvis fileelasota
2018-09-16Implement OS::set_icon in HTML5 platformLeon Krause
2018-09-15Fix set_default_cursor_shape interaction with Control nodesMartin Capitanio
Do not call `set_cursor_shape` when the cursor is inside the `Control` node. Make it work for x11 in MOUSE_MODE_CONFINED.
2018-09-13Fix set_custom_mouse_cursor changing to incorrect cursor shapeGuilherme Felipe
[Docs] Add class ref for Input::set_default_cursor_shape
2018-09-13Properly initialize Winsock on startupFabio Alessandrelli
Also fix typo in _get_last_error which caused Winsock connect to fail.
2018-09-13Merge pull request #22000 from Faless/lws_uwp32Rémi Verschelde
Fix libwebsockets 32-bits UWP builds.
2018-09-13Merge pull request #21982 from luzpaz/misc-typosRémi Verschelde
Misc. typos
2018-09-12Misc. typosluz.paz
Found via `codespell -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po"`
2018-09-13Fix libwebsockets 32-bits UWP builds.Fabio Alessandrelli
Also fix bogus windows detect.py
2018-09-12Merge pull request #21753 from guilhermefelipecgs/fix_confined_modeRémi Verschelde
Fixes to mouse mode confined and captured
2018-09-12Merge pull request #21692 from Faless/sockets_rebaseFabio Alessandrelli
New NetSocket interface with common BSD/Win implementation
2018-09-12Unify StreamPeerTCP/TCP_Server with NetSocket APIFabio Alessandrelli
2018-09-12Unify PacketPeerUDP using NetSocketFabio Alessandrelli
2018-09-12Merge pull request #21914 from hpvb/fix-21720Rémi Verschelde
When resizing an X11 window wait for the WM to process our request
2018-09-12Merge pull request #21910 from hpvb/fix-8145-x11Rémi Verschelde
Update X11 global mouse position at startup
2018-09-12Make core/ includes absolute, remove subfolders from include pathRémi Verschelde
This allows more consistency in the manner we include core headers, where previously there would be a mix of absolute, relative and include path-dependent includes.
2018-09-10Merge pull request #21865 from Calinou/tweak-android-export-errorsRémi Verschelde
Tweak Android-related error messages in the Export dialog
2018-09-10Merge pull request #21859 from avencherus/fix-scancode-colonRémi Verschelde
Changed Windows key translate pair from KEY_COLON to KEY_COMMA.
2018-09-10Merge pull request #21784 from guilhermefelipecgs/fix_resized_mouse_confinedRémi Verschelde
Fix mouse confined leaving window with OS_Windows::set_window_position
2018-09-10When resizing an X11 window wait for the WM to process our requestHein-Pieter van Braam
On X11 when we send an XResizeWindow request to the X server it is happy to say it is done when the request has been handed over to the window manager. The window manager itself may however take some time to actually do the resize. Godot expects that a resize request is immediate. To work around this issue we could implement the whole _NET_WM_SYNC_REQUEST protocol. However this protocol does not fit very well with the way we currently process X events and would when implemented in the current framework still cause a 1 frame delay between a resize request and the actual resize happening. This fixes #21720
2018-09-09Update X11 global mouse position at startupHein-Pieter van Braam
When we start the engine we haven't yet gotten any X11 motion events so we don't yet know where our mouse cursor is located. Instead we now query the X server for this information when we start and update the appropriate values. In addition when we move the window we also update the mouse position based off of X server knowledge as we will also not have received any mouse motion events. this fixes #8145 (for X11 only)
2018-09-08Tweak Android-related error messages in the Export dialogHugo Locurcio
OpenJDK 8 has been working well for exporting to Android for a while now, so it can be recommended instead of OpenJDK 6.
2018-09-08Changed Windows key translate pair from KEY_COLON to KEY_COMMA.Jared
2018-09-05Fix mouse confined leaving window with OS_Windows::set_window_positionGuilherme Felipe
2018-09-05Add clipboard operation for android OSXavier Sellier
2018-09-05Fixes to mouse mode confined and capturedGuilherme Felipe
These modes will work on Linux in the same way as Windows.
2018-09-04Really fix the custom cursor hotspotMartin Capitanio
Add check for negative values. Fixes #21721
2018-09-03Fix custom cursor hotspotGuilherme Felipe
Cursor hotspot must be inside image on Linux. Adding validation for all platforms for consistency.
2018-09-01Fix bad res file include in VS project and simplify a bitelasota
2018-08-30Fix multitouch input not working on certain devices on WindowsPedro J. Estébanez
Fixes #20474.
2018-08-30Fix HTML5 gamepad inputLeon Krause
2018-08-28Fix typo in os_uwp causing a build failureHein-Pieter van Braam
2018-08-28Merge pull request #21511 from eska014/webm-nomtRémi Verschelde
Fix WebM and Theora video in HTML5 export
2018-08-28No need to link with libandroid_support in NDK 17Wojciech Milkowski
According to https://github.com/bytedeco/javacpp/pull/244 in NDK 17 libandroid_support library is not needed any more, and on armv8 is already gone which breaks compilation.
2018-08-28Enable Theora module for HTML5 platformLeon Krause
2018-08-27Revert "Try closing gracefully before terminating process"Rémi Verschelde
2018-08-27Merge pull request #21387 from hpvb/fix-15324Rémi Verschelde
Fall back to GLES2 if GLES3 is not working
2018-08-27When setting an X11 icon fails, try halving the sizeHein-Pieter van Braam
When setting an icon that is too large previously Godot would die with a X Error of failed request: BadLength error. To avoid this we install an error handler right before we set an icon. If the error handler triggers we halve the icon size until it works or until we've reached a 0 size on either width or height. We print a warning when this happens to alert developers. This fixes #19716
2018-08-26Fall back to GLES2 if GLES3 is not workingHein-Pieter van Braam
This adds a static is_viable() method to all rasterizers which has to be called before initializing the rasterizer. This allows us to check what rasterizer to use in OS::initialize together with the GL context initialization. This commit also adds a new project setting "rendering/quality/driver/driver_fallback" which allows the creator of a project to specify whether or not fallback to GLES2 is allowed. This setting is ignored for the editor so the editor will always open even if the project itself cannot run. This will hopefully reduce confusion for users downloading projects from the internet. We also no longer crash when GLES3 is not functioning on a platform. This fixes #15324
2018-08-26Fixes several resource leaks in ...Crazy-P
- gdscript - gdscript_compiler - regex - android/export - gles3/rasterizer (scene and storage)
2018-08-25Support more X11 dialogs for X11::alert()Hein-Pieter van Braam
Modern distributions such as Fedora do not ship 'xdialog' with their default deployment. This commit adds support for Gnome's Zenity as well as KDE's kdialog.
2018-08-24Merge pull request #21375 from akien-mga/msvc-nominmaxRémi Verschelde
SCons: Disable min/max WinDef.h macros on MSVC