summaryrefslogtreecommitdiff
path: root/platform
AgeCommit message (Collapse)Author
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
2018-08-22Modifications to raw input so the handling of absolute coordinates is more ↵Juan Linietsky
correct.
2018-08-22Merge pull request #20523 from moiman100/windows-raw-inputJuan Linietsky
Raw input relative motion for Windows
2018-08-23add support libc++_shared stl on androidRidwan Abdul Hafidh
2018-08-21BPTC supportelasota
2018-08-21Merge pull request #21236 from dragmz/windows-graceful-closeRémi Verschelde
Try closing gracefully before terminating process
2018-08-21CI: Disable debug_symbols on Travis/AppVeyorRémi Verschelde
Also increase AppVeyor cache size to 1024, should match what is available for us in the free plan: https://www.appveyor.com/docs/build-cache/#cache-size-beta And drop obsolete debug_release option for Windows, superseded by target=release and debug_symbols=yes.
2018-08-21Merge pull request #20922 from kripken/errLeon Krause
HTML5: use console.warn instead of Module.printErr
2018-08-20Try closing gracefully before terminating processMarcin Zawiejski
Use a Microsoft recommended way of process termination for the project process run from the editor. This allows loaded DLLs to receive and handle DLL_PROCESS_DETACH notification and cleanup any global state before the process actually exits.
2018-08-20fix Android/HTML5 custom templates option does not workAlessandro
2018-08-20Add PROPERTY_HINT_PLACEHOLDER_TEXT for String propertiesRémi Verschelde
Use it to provide a better example for application identifiers on Android, iOS and macOS, where users thought they *had* to use this as a magic token.
2018-08-19Merge pull request #21179 from elasota/vs-pdbRémi Verschelde
Support debug_symbols in VS optimized builds
2018-08-19Support debug_symbols in VS optimized buildselasota
2018-08-18Merge pull request #21132 from neonsoup/win_move_to_trash_fixRémi Verschelde
Fix errors during removing files or folders and fix for latin symbols
2018-08-18Fix errors during removing files or folders and fix for latin symbolsneonsoup
This commit adds support for unicode strings in OS_Windows::move_to_trash. Also reverts commit 6188388c5a9c7f9fcc0b7f3928f176a9047b9a45 as it did not add extra null character to the path string (SHFILEOPSTRUCTA and SHFILEOPSTRUCTW require path to be double null-terminated).
2018-08-17Update detect.pyTiago Quendera
Fixed a typo in detect.py
2018-08-16Replace XRaiseWindow with a _NET_ACTIVE_WINDOW ClientRequestHein-Pieter van Braam
This fixes the editor on X11 not getting put on the foreground when a debugged project hits an error or breakpoint.
2018-08-14Merge pull request #18096 from aaronfranke/masterJuan Linietsky
[Core] Split up math_2d.h
2018-08-14Fix impossibility of removing folder which contains non-latin symbols(on ↵Chaosus
Windows)
2018-08-13Merge pull request #20913 from pulkomandy/masterRémi Verschelde
Rebase patches for fixing haiku build.
2018-08-11use console.warn instead of Module.printErr: emscripten no longer exports ↵Alon Zakai (kripken)
printErr by default, and instead err() should be used in code seen by the optimizer; however, as Godot only runs on the Web (and not in node.js or elsewhere), using console.warn directly is good enough, and will work in all versions if emscripten
2018-08-11Rebase patches for fixing haiku build.Adrien Destugues
2018-08-11[Core] Completely kill math_2d.h, change includesAaron Franke
2018-08-10Revert "added get_creation_time function for gdscript"Juan Linietsky
2018-08-10Merge pull request #18914 from notwarp/masterJuan Linietsky
added get_creation_time function for gdscript
2018-08-04Add OS::open_midi_inputs and OS::close_midi_inputsMarcelo Fernandez
2018-07-30Relative motion based on raw input for WindowsMikko Mustonen
2018-07-30Fix Windows handles leakMarcin Zawiejski
Fixes thread and process handles leak when running and killing project from editor (caused by a missing CloseHandle call) plus a potential leak when calling OS_Windows::execute with p_blocking and !r_pipe. The leak could be easily observed with a Handles counter in Task Manager (or Performance Monitor) for the Godot editor process.
2018-07-29Added missing support for traditional chinese on Windows, fixes #7674Juan Linietsky