summaryrefslogtreecommitdiff
path: root/platform
AgeCommit message (Collapse)Author
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
2018-08-24SCons: Disable min/max WinDef.h macros on MSVCRémi Verschelde
Fixes #21370.
2018-08-24Merge pull request #20712 from marcelofg55/midi_open_closeJuan Linietsky
Add OS::open_midi_inputs and OS::close_midi_inputs
2018-08-24Make some debug prints verbose-only, remove othersRémi Verschelde
2018-08-24Add print_verbose to print to stdout only in verbose modeRémi Verschelde
Equivalent of the cumbersome: if (OS::get_singleton()->is_stdout_verbose()) print_line(msg);
2018-08-24Merge pull request #21336 from eska014/html5-new-presentationRémi Verschelde
Add responsive HTML5 export page with full-size canvas as new default
2018-08-23Merge pull request #21332 from dragmz/apk-hint-fixRémi Verschelde
Fix file hints
2018-08-23Fix file hintsMarcin Zawiejski
Fixes file hints so the file dialog actually displays the files with given extension (e.g. *.apk).
2018-08-23Merge pull request #21330 from eska014/html5-canvas-resizeRémi Verschelde
Facilitate external modification of HTML5 canvas size
2018-08-23Add responsive HTML5 export page with full-size canvas as new defaultLeon Krause
2018-08-23Merge pull request #20507 from rdhafidh/android_libcpp_shared_masterRémi Verschelde
add support libc++_shared on android (master)
2018-08-23Facilitate external modification of HTML5 canvas sizeLeon Krause