Guilherme Felipe
e5470cfa70
Fix custom cursor hotspot
...
Cursor hotspot must be inside image on Linux. Adding validation for all
platforms for consistency.
2018-09-03 09:57:07 -03:00
elasota
d4045d835f
Fix bad res file include in VS project and simplify a bit
2018-09-01 00:13:49 -04:00
Pedro J. Estébanez
28019c71a6
Fix multitouch input not working on certain devices on Windows
...
Fixes #20474 .
2018-08-30 22:42:18 +02:00
Leon Krause
cd7c0f67b9
Fix HTML5 gamepad input
2018-08-30 03:42:02 +02:00
Hein-Pieter van Braam
6fcc20ec51
Fix typo in os_uwp causing a build failure
2018-08-28 22:45:39 +02:00
Rémi Verschelde
57ba7caa6d
Merge pull request #21511 from eska014/webm-nomt
...
Fix WebM and Theora video in HTML5 export
2018-08-28 07:56:52 +02:00
Wojciech Milkowski
3a3ea6d514
No need to link with libandroid_support in NDK 17
...
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-28 02:34:59 +02:00
Leon Krause
b4b816c122
Enable Theora module for HTML5 platform
2018-08-28 01:56:47 +02:00
Rémi Verschelde
72996df656
Revert "Try closing gracefully before terminating process"
2018-08-27 17:32:43 +02:00
Rémi Verschelde
c1f687c681
Merge pull request #21387 from hpvb/fix-15324
...
Fall back to GLES2 if GLES3 is not working
2018-08-27 16:54:22 +02:00
Hein-Pieter van Braam
3d4b7c6c5f
When setting an X11 icon fails, try halving the size
...
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-27 01:28:11 +02:00
Hein-Pieter van Braam
08f452d1a9
Fall back to GLES2 if GLES3 is not working
...
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-26 16:40:46 +02:00
Crazy-P
e4af39cbc0
Fixes several resource leaks in ...
...
- gdscript
- gdscript_compiler
- regex
- android/export
- gles3/rasterizer (scene and storage)
2018-08-26 09:19:02 +08:00
Hein-Pieter van Braam
c8464eb69f
Support more X11 dialogs for X11::alert()
...
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-25 00:53:45 +02:00
Rémi Verschelde
ff81b2daea
Merge pull request #21375 from akien-mga/msvc-nominmax
...
SCons: Disable min/max WinDef.h macros on MSVC
2018-08-24 20:02:53 +02:00
Rémi Verschelde
7238462601
SCons: Disable min/max WinDef.h macros on MSVC
...
Fixes #21370 .
2018-08-24 18:04:18 +02:00
Juan Linietsky
c6b340ea98
Merge pull request #20712 from marcelofg55/midi_open_close
...
Add OS::open_midi_inputs and OS::close_midi_inputs
2018-08-24 12:17:14 -03:00
Rémi Verschelde
52466d57e9
Make some debug prints verbose-only, remove others
2018-08-24 14:59:01 +02:00
Rémi Verschelde
de59fe04e7
Add print_verbose to print to stdout only in verbose mode
...
Equivalent of the cumbersome:
if (OS::get_singleton()->is_stdout_verbose())
print_line(msg);
2018-08-24 09:23:20 +02:00
Rémi Verschelde
cef310e0ea
Merge pull request #21336 from eska014/html5-new-presentation
...
Add responsive HTML5 export page with full-size canvas as new default
2018-08-24 00:10:46 +02:00
Rémi Verschelde
8ebe5f45a7
Merge pull request #21332 from dragmz/apk-hint-fix
...
Fix file hints
2018-08-23 23:35:58 +02:00
Marcin Zawiejski
3c4c8c40db
Fix file hints
...
Fixes file hints so the file dialog actually displays the files with given extension (e.g. *.apk).
2018-08-23 22:18:59 +02:00
Rémi Verschelde
b90dff787c
Merge pull request #21330 from eska014/html5-canvas-resize
...
Facilitate external modification of HTML5 canvas size
2018-08-23 21:48:27 +02:00
Leon Krause
86d9e67d7a
Add responsive HTML5 export page with full-size canvas as new default
2018-08-23 21:28:09 +02:00
Rémi Verschelde
d3714d1787
Merge pull request #20507 from rdhafidh/android_libcpp_shared_master
...
add support libc++_shared on android (master)
2018-08-23 08:44:41 +02:00
Leon Krause
6e8b6be136
Facilitate external modification of HTML5 canvas size
2018-08-23 04:54:36 +02:00
Juan Linietsky
2db494267b
Modifications to raw input so the handling of absolute coordinates is more correct.
2018-08-22 21:27:15 -03:00
Juan Linietsky
106e5a8d5e
Merge pull request #20523 from moiman100/windows-raw-input
...
Raw input relative motion for Windows
2018-08-22 19:32:20 -03:00
Ridwan Abdul Hafidh
b0419db46f
add support libc++_shared stl on android
2018-08-23 05:02:47 +07:00
elasota
35f6ba5c5d
BPTC support
2018-08-21 22:56:04 -04:00
Rémi Verschelde
4bf15d8090
Merge pull request #21236 from dragmz/windows-graceful-close
...
Try closing gracefully before terminating process
2018-08-21 22:47:21 +02:00
Rémi Verschelde
e71c20099c
CI: Disable debug_symbols on Travis/AppVeyor
...
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-21 12:36:57 +02:00
Leon Krause
e9cb03f33e
Merge pull request #20922 from kripken/err
...
HTML5: use console.warn instead of Module.printErr
2018-08-21 03:34:21 +02:00
Marcin Zawiejski
ca1c851dbd
Try closing gracefully before terminating process
...
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-20 22:41:06 +02:00
Alessandro
9c1fd91732
fix Android/HTML5 custom templates option does not work
2018-08-20 17:38:23 +02:00
Rémi Verschelde
661c9ece7c
Add PROPERTY_HINT_PLACEHOLDER_TEXT for String properties
...
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-20 13:48:05 +02:00
Rémi Verschelde
54fcdabfd3
Merge pull request #21179 from elasota/vs-pdb
...
Support debug_symbols in VS optimized builds
2018-08-19 09:34:06 +02:00
elasota
ffe0235f62
Support debug_symbols in VS optimized builds
2018-08-19 01:37:53 -04:00
Rémi Verschelde
92401772c8
Merge pull request #21132 from neonsoup/win_move_to_trash_fix
...
Fix errors during removing files or folders and fix for latin symbols
2018-08-18 22:44:39 +02:00
neonsoup
42dc2ec080
Fix errors during removing files or folders and fix for latin symbols
...
This commit adds support for unicode strings in OS_Windows::move_to_trash.
Also reverts commit 6188388c5a
as it did not add extra null character to the path string (SHFILEOPSTRUCTA and SHFILEOPSTRUCTW require path to be double null-terminated).
2018-08-18 01:30:22 +03:00
Tiago Quendera
aa594614db
Update detect.py
...
Fixed a typo in detect.py
2018-08-17 12:08:17 +01:00
Hein-Pieter van Braam
827cadafc8
Replace XRaiseWindow with a _NET_ACTIVE_WINDOW ClientRequest
...
This fixes the editor on X11 not getting put on the foreground when a
debugged project hits an error or breakpoint.
2018-08-16 21:36:37 +02:00
Juan Linietsky
4e55835e48
Merge pull request #18096 from aaronfranke/master
...
[Core] Split up math_2d.h
2018-08-14 18:58:32 -03:00
Chaosus
6188388c5a
Fix impossibility of removing folder which contains non-latin symbols(on Windows)
2018-08-14 11:49:16 +03:00
Rémi Verschelde
139e621338
Merge pull request #20913 from pulkomandy/master
...
Rebase patches for fixing haiku build.
2018-08-13 21:26:15 +02:00
Alon Zakai (kripken)
71c03883b5
use console.warn instead of Module.printErr: emscripten no longer exports 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-11 09:49:19 -07:00
Adrien Destugues
a294a842cb
Rebase patches for fixing haiku build.
2018-08-11 17:20:51 +02:00
Aaron Franke
cf136a91d6
[Core] Completely kill math_2d.h, change includes
2018-08-11 03:08:34 -05:00
Juan Linietsky
ea3d997f9d
Revert "added get_creation_time function for gdscript"
2018-08-10 13:29:49 -03:00
Juan Linietsky
275e0d5ee4
Merge pull request #18914 from notwarp/master
...
added get_creation_time function for gdscript
2018-08-10 13:28:47 -03:00