Nathan Warden
f89d78a7a4
Updated Linux template extensions to match architecture.
2017-12-12 16:09:48 -05:00
Rémi Verschelde
f15c255916
Merge pull request #14565 from bruvzg/mingw-specific-binutils
...
Use MinGW specific binutils for debug symbols separation.
2017-12-12 00:15:26 +01:00
bruvzg
5f5c461385
Use MinGW specific binutils for debug symbols separation
2017-12-11 18:12:50 +02:00
Rémi Verschelde
5563f4cc56
iOS: Drop obsolete code from never-public modules
2017-12-10 18:29:26 +01:00
Rémi Verschelde
bf739f9fe6
Merge pull request #14494 from RandomShaper/fix-mouse-x11
...
Fix no mouse if touch device present in X11
2017-12-10 11:43:12 +01:00
Rémi Verschelde
d98e280137
Merge pull request #14485 from RandomShaper/fix-android-export
...
Fix crash on Android export
2017-12-10 11:22:45 +01:00
Pedro J. Estébanez
ef64bfd687
Fix no mouse if touch device present in X11
...
Plus several improvements in this area.
Sadly, grabbing has been disabled until a better solution is found.
Fixes #14427 .
2017-12-10 07:14:59 +01:00
Pedro J. Estébanez
9e9db55cb8
Fix crash on Android export
...
Caused by a zero-length command-line segment.
Fixes #14343 .
2017-12-10 02:31:51 +01:00
Rémi Verschelde
7cb6e6b723
Style: Apply clang-format to Java files
...
Only those from org/godotengine/godot though, not the thirdparty ones.
2017-12-10 01:16:07 +01:00
Andreas Haas
94a573bb39
X11: Process entire event queue at startup.
...
Should fix #14336
2017-12-09 23:24:25 +01:00
Rémi Verschelde
a8ee9a6116
Merge pull request #14434 from Smjert/fix/13447/vsync
...
Fixes vsync setting ignored when using a separate thread for rendering
2017-12-09 13:21:36 +01:00
Rémi Verschelde
ae012f2381
Windows export: Use WINE to run rcedit on non-Windows host
...
WINE can be either run from a provided path ("export/windows/wine"),
or looked up in the system PATH.
Fixes #14441 .
2017-12-09 11:42:08 +01:00
Rémi Verschelde
3fd1c0c76b
Merge pull request #14437 from vnen/rcedit
...
Call rcedit on export for Windows desktop
2017-12-09 10:48:19 +01:00
George Marques
78a7241911
Call rcedit on export for Windows desktop
...
- Add an editor setting to read the rcedit path.
- Add settings to the export preset with icon and other exe information
(version, name, copyright, etc.)
2017-12-09 01:31:10 -02:00
Stefano Bonicatti
c067cf2c6a
Fixes vsync setting ignored when using a separate thread for rendering
...
Setting the vsync in the main thread, after the rendering thread starts
and takes the OpenGL context fails, so we need to do that before.
Also, for some reason, the main thread cannot make current the context
anymore.
Fixes #13447
2017-12-09 01:43:23 +01:00
MattUV
93231819c2
Fix Manage Export Templates link
...
In some cases, the link to download export templates was missing.
Fixes #14391
2017-12-08 00:46:03 +01:00
Rémi Verschelde
fbd270bfa8
Merge pull request #14356 from volzhs/ios-delegate-master
...
use application:didFinishLaunchingWithOptions: instead of application…
2017-12-07 09:33:34 +01:00
Rémi Verschelde
13c2ff9320
Style: Apply new clang-format 5.0 style to all files
2017-12-07 08:02:00 +01:00
Rémi Verschelde
d5ca9e2f6f
Style: Apply clang-format again on all files
...
Fixes issues introduced by newer clang-format versions or commits
pushed directly without using the clang-format pre-commit hook.
2017-12-07 08:02:00 +01:00
MrCdK
651677f033
Fix windows compilation when using MinGW
2017-12-07 04:59:11 +01:00
volzhs
b87abeb9f9
use application:didFinishLaunchingWithOptions: instead of applicationDidFinishLaunching: for iOS
2017-12-07 10:09:05 +09:00
bruvzg
69dca1722f
Use run-time dynamic linking for AddDllDirectory and RemoveDllDirectory to support mingw-w64 build and Windows 7 with KB2533623.
2017-12-07 00:20:42 +01:00
Pedro J. Estébanez
6f3343f1ce
Remove guards for the now targeted Windows 7+
2017-12-06 23:47:09 +01:00
Pedro J. Estébanez
0d48af4afd
Add build param for targeted Windows version
2017-12-06 23:47:09 +01:00
Pedro J. Estébanez
d089e688b0
Improve/fix multitouch on Windows
...
- Fix logic error.
- Track touches to enable defensive handling and releasing on focus out.
- Change comment-out by preprocessor `#if`.
- Track/report coordinates as float.
2017-12-06 23:47:09 +01:00
Pedro J. Estébanez
6decbec461
Implement multitouch on X11
2017-12-06 23:47:09 +01:00
Rémi Verschelde
e7b7e7b7b0
Merge pull request #14318 from endragor/compile-sdk-version-26
...
Update Android compileSdkVersion to 26
2017-12-06 19:14:31 +01:00
Ruslan Mustakov
b697444bc8
Update Android compileSdkVersion to 26
2017-12-06 22:35:15 +07:00
Unknown
fd1b94e307
Improve slang, especially in user-visible parts
2017-12-05 15:41:38 +01:00
Juan Linietsky
af27414b1c
Merge pull request #13850 from endragor/fix-iphone-gdnative
...
Fix open_dynamic_library override in OSIPhone
2017-12-03 04:57:03 -03:00
Ruslan Mustakov
59451c5b8d
Fix open_dynamic_library override in OSIPhone
...
Was broken at 9678231b10
2017-12-03 14:49:12 +07:00
bruvzg
4899d91732
Add macOS shell_open URL escaping
2017-12-01 16:48:21 +02:00
Juan Linietsky
0243803117
Properly take into consideration that VERTEX must be written to in opaque pre pass, does some speed up to scenes using triplanar.
2017-12-01 08:45:36 -03:00
Bastiaan Olij
4c930f3663
Needed a broader search path flag
2017-12-01 00:34:37 +11:00
Juan Linietsky
9678231b10
Changed the dynamic library open function to allow setting the path of the library to open extra libraries.
2017-11-30 10:00:55 -03:00
Indah Sylvia
1746fbd1c6
Enhanced iOS and UWP logo on Export dialog
2017-11-29 17:34:01 +07:00
Rémi Verschelde
f0b43678c4
Merge pull request #13383 from Krakean/fix_whitescreen
...
Fixed fleeting window white screen on editor/game startup
2017-11-29 09:11:18 +01:00
Rémi Verschelde
76725b6c1f
Merge pull request #13387 from rraallvv/refactor
...
Add target helper functions and refactor (master)
2017-11-29 08:54:59 +01:00
Rhody Lugo
a65c0939fd
disable caching for targets using helper functions
2017-11-28 23:24:12 -04:00
Dmitry Koteroff
7f26fba8cb
Fixed white screen on editor/game startup by moving window displaying to a bit later phase
2017-11-29 03:49:36 +03:00
Leon Krause
640d8cc5d2
Fix inverted relative mouse motion in HTML5 export
2017-11-29 00:56:47 +01:00
Rhody Lugo
a4a222d62d
use the same cache for all branches for appveyor
2017-11-28 03:23:33 -04:00
Rémi Verschelde
af9c67db0c
Allow customizing user:// path (folder in OS::get_data_path())
...
This allows to specify any valid folder name (including with subfolders) to use
as user:// on all platforms. The folder is constrained to the platform-specific
OS::get_data_path() (typically what `XDG_DATA_HOME` resolves to).
Fixes #13236 .
2017-11-26 19:02:32 +01:00
Rémi Verschelde
e1cf789593
Merge pull request #13278 from eska014/jseval-returntypes
...
Remove contrived JavaScript.eval() return types
2017-11-25 15:59:43 +01:00
Leon Krause
8de25d6e62
Remove contrived JavaScript.eval return types
2017-11-25 15:38:02 +01:00
Rémi Verschelde
d9faf6f2f4
Fix build on macOS and Android after bc2e8d99
2017-11-25 10:42:20 +01:00
Indah Sylvia
ac92c147c6
Completed bc2e8d99e5
so that windows can be built
2017-11-25 11:12:07 +07:00
Juan Linietsky
bc2e8d99e5
Made Vector::ptrw explicit for writing, compiler was sometimes using the wrong function,
...
leading to unnecesary copy on writes and reduced performance.
2017-11-25 00:09:40 -03:00
Ruslan Mustakov
871deb6878
Allow to specify multiple resolution Android icons
2017-11-24 11:19:22 +07:00
Rémi Verschelde
bedcbdd420
Merge pull request #13130 from endragor/gdnative-android-export
...
Proper GDNative export on Android
2017-11-21 23:59:01 +01:00
Ruslan Mustakov
ebf9b80a47
Proper GDNative export on Android
2017-11-21 20:40:31 +07:00
Rémi Verschelde
6c9ee1f125
Merge pull request #13133 from endragor/resurrect-file-logging
...
Return and repair file logging
2017-11-21 14:25:33 +01:00
Ruslan Mustakov
d42c5646a5
Return and repair file logging
...
And make it configurable, too.
2017-11-21 16:43:44 +07:00
Bernhard Liebl
80ad8afc85
Native pan and zoom for macOS
2017-11-21 09:11:39 +01:00
Ruslan Mustakov
8f0f327f02
Allow configuring iOS export
...
- EditorExportPlugin's _export_begin accepts all the arguments related
to the current export (is_debug, path, flags).
- EditorExportPlugin API is extended with methods allowing to configure
iOS export: add_ios_framework, add_ios_plist_content,
add_ios_linker_flags, add_ios_bundle_file.
- iOS export template now contains Godot as a static library so that
it can be linked with third-party Frameworks and GDNative static
libraries.
- Adds method to DirAccess for recursive copying of a directory.
- Fixes iOS export to work with Xcode 9 (released recently).
2017-11-21 01:16:49 +07:00
Rémi Verschelde
450bdda97a
Merge pull request #12387 from santouits/x1111
...
Fix x11 boot logo position in fullscreen and in maximized
2017-11-20 15:48:08 +01:00
Rémi Verschelde
fa8bc8ef13
Merge pull request #13061 from eska014/html5-export
...
Export boot splash image and add option for custom HTML shell file in HTML5 export
2017-11-20 08:59:23 +01:00
Rémi Verschelde
83e7287752
Merge pull request #13053 from akien-mga/methods-mkstr
...
Remove need to _MKSTR version strings and rename "revision" to "build"
2017-11-20 08:54:19 +01:00
Konstantin Zaitsev
79178e75cd
Set android 'compileSdkVersion' to 24
2017-11-20 10:45:59 +07:00
Rémi Verschelde
3fd23da5ee
Rename the version's "revision" to "build"
...
That "revision" was inherited from SVN days but had been since then
used to give information about the build: "custom_build", "official",
"<some distro's build>".
It can now be overridden with the BUILD_NAME environment variable.
2017-11-20 00:51:14 +01:00
Rémi Verschelde
6947bed015
Pass engine name and version parts as proper strings
...
Removes the need for _MKSTR all over the place which has the drawback of
converting _MKSTR(UNKNOWN_DEFINE) to "UKNOWN_DEFINE" instead of throwing
a compilation error.
2017-11-20 00:51:14 +01:00
Rémi Verschelde
ecf80fbbba
Merge pull request #12988 from akien-mga/xdg-home-paths
...
Add support for XDG Base Directory spec
2017-11-20 00:42:51 +01:00
Leon Krause
ae859fb81e
Export boot splash and add custom HTML file option in HTML5 export
2017-11-20 00:06:11 +01:00
Rémi Verschelde
6ace4011e4
Merge pull request #13045 from akien-mga/gles2-cleanup
...
Cleanup old references to GLES2 renderer
2017-11-19 21:36:00 +01:00
Rémi Verschelde
6e3f2f44af
Use new XDG folders to dehardcode paths
2017-11-19 20:54:26 +01:00
Rémi Verschelde
32c12a92a5
Add initial support for the XDG Base Directory spec
...
Spec version 0.7 from https://standards.freedesktop.org/basedir-spec/basedir-spec-0.7.html
(latest as of this commit).
Three virtual methods are added to OS for the various XDG paths we will use:
- OS::get_data_path gives XDG_DATA_HOME, or if missing:
~/.local/share on X11, ~/Library/Application Support/ on macOS and %APPDATA% on Windows
- OS::get_config_path gives XDG_CONFIG_HOME, or if missing:
~/.config on X11, ~/Library/Application Support/ on macOS and %APPDATA% on Windows
- OS::get_cache_path gives XDG_CACHE_HOME, or if missing:
~/.cache on X11, ~/Library/Caches on macOS and %APPDATA% on Windows
So for Windows there are no changes, for Linux we follow the full split spec
and for macOS stuff will move from ~/.godot to ~/Library/Application Support/Godot.
Support for system-wide installation of templates on Unix was removed for now,
as it's a bit hackish and I don't think anyone uses it.
user:// will still be OS::get_data_path() + "/godot/app_userdata/$name" by
default, but when using the application/config/use_shared_user_dir option
it will now use XDG_DATA_HOME/$name, e.g. ~/.local/share/MyGame.
For now everything still goes in EditorSettings::get_settings_dir(), but
this will be changed in a later commit to make use of the new splitting
where relevant.
Part of #3513 .
2017-11-19 20:54:24 +01:00
Rémi Verschelde
f0795ae2fe
Merge pull request #13044 from eska014/enginejs
...
Change HTML5 start-up API
2017-11-19 20:18:00 +01:00
Rémi Verschelde
d629a753ec
Merge pull request #13033 from MednauN/master
...
Add currency code to iOS product details response
2017-11-19 18:16:38 +01:00
Rémi Verschelde
9f134aa5d1
Cleanup old references to GLES2 renderer
...
There are still some left in the Android Java code, even stuff to swap between
GLES1 and GLES2 support from early Godot days... would be good to see some cleanup
there too one day.
The "graphics/api" option for Android exports is removed, as only GLES 3.0 is supported.
It can be readded when GLES 2.0 support comes back. Fixes #13004 .
2017-11-19 17:52:18 +01:00
Rémi Verschelde
992a40a50d
Merge pull request #12961 from eska014/platform-doc
...
Facilitate documenting platform-exclusive classes
2017-11-19 16:19:47 +01:00
Leon Krause
35adf718cf
Change HTML5 start-up API
...
Rename engine.start() to startGame(), new start() takes string arguments
handed directly to main(). Rename Engine.loadEngine() to load().
Add setLocale(), setResizeCanvasOnStart(), setExecutableName() and
preloadFile().
2017-11-19 15:39:57 +01:00
Evgeny Zuev
785f364bb0
Add currency code to iOS product details response
2017-11-19 15:47:27 +07:00
Leon Krause
ddf21ca016
Remove asm.js support from HTML5 platform
...
Since WebGL 2.0 is required, requiring WebAssembly support as well has
little impact on compatibility.
2017-11-18 05:52:14 +01:00
Leon Krause
63b1a096eb
Facilitate exposing platform-exclusive interfaces to all platforms
...
This makes the interfaces available, without implementation, in other
platforms and the editor, which facilitates documenting platform-exclusive
classes.
Platform-exclusive APIs must be set up in platform/<platform>/api/api.cpp.
Provide noop method-implementations where necessary.
Also setup and document the HTML5 platform's JavaScript singleton.
2017-11-18 03:54:21 +01:00
Rémi Verschelde
ad199c3964
EditorSettings: Rename settings_path to settings_dir
...
Also to prepare for upcoming refactoring for XDG support.
2017-11-17 20:55:09 +01:00
Rémi Verschelde
73049d115e
Rename OS::get_data_dir to OS::get_user_data_dir
...
Will be needed to avoid confusion with system data path (XDG_DATA_HOME)
and editor data dir in upcoming refactoring.
2017-11-17 20:55:09 +01:00
Rémi Verschelde
d629fd9a36
Merge pull request #12606 from rraallvv/window_position
...
Fix window position on macOS (master)
2017-11-17 00:36:16 +01:00
Leon Krause
6b34f10ab1
Fix HTML5 HTTPClient includes
2017-11-15 23:02:36 +01:00
Rémi Verschelde
61a693cf78
Merge pull request #12922 from eska014/engine-singletons
...
Singleton management changes
2017-11-14 20:44:55 +01:00
Leon Krause
9b7b46143d
Move singleton management from ProjectSettings to Engine
2017-11-14 15:15:13 +01:00
Rhody Lugo
2355f545ec
fix window position computation on macOS
2017-11-14 08:59:22 -04:00
Rémi Verschelde
ba7e00dfef
Merge pull request #12885 from rraallvv/osx_android_travis
...
travis: caching Android, iOS, macOS (cross-compile) (master)
2017-11-13 21:44:23 +01:00
Rhody Lugo
7f3ecd4227
change matrix and enable caching for Android, iOS and macOS (cross-compile)
2017-11-13 15:05:26 -04:00
Juan Linietsky
2e3a1caa06
Disable OpenGL warnings unless running with -v, closes #7171
2017-11-13 13:40:07 -03:00
Leon Krause
159c2ec69c
Fix HTML5 mouse button release events
2017-11-13 16:14:08 +01:00
Rémi Verschelde
0dd96bccd3
Merge pull request #12867 from eska014/html5-http
...
Implement HTTPClient in HTML5 platform
2017-11-13 08:32:32 +01:00
Leon Krause
2970061a73
Implement HTTPClient in HTML5 platform
...
Limitations:
- Subject to same-origin policy
- No persistent connection (but simulated for compatibility)
- No blocking mode
- No StreamPeer access
- No chunked responses
- Cannot disable host verification
2017-11-13 00:58:29 +01:00
Bastiaan Olij
6205eb40e7
Align sensors and implement gravity sensor for Android
2017-11-11 09:42:23 +11:00
Rémi Verschelde
ed57f0a0d4
Remove get_default_video_mode definition on OSX/iOS
...
It had been missed in d09160a8b6
and broke compilation
for those platforms.
Took the opportunity to run clang-format on the code base to fix some corner cases
that went through our static tests/were overlooked recently.
2017-11-09 23:36:08 +01:00
George Marques
a3387a9e22
UWP: Update to build with Windows SDK 10.16229.0
...
- Update the OpenSSL shim to work with the new SDK
- Change the ARM platform detection to work with VS2017
2017-11-09 16:06:44 -02:00
Rémi Verschelde
2507818f05
Merge pull request #12782 from rraallvv/unified_headers_fix
...
add missing distutils.version.LooseVersion import
2017-11-09 17:17:35 +01:00
Juan Linietsky
d09160a8b6
Make video mode initialization more intuitive, fixes #12022
2017-11-09 13:02:26 -03:00
Rhody Lugo
7957bbf558
add missing distutils.version.LooseVersion import
2017-11-09 11:58:29 -04:00
Rhody Lugo
7664a0feac
unified headers fix
2017-11-09 09:46:43 -04:00
AndreaCatania
e44408f653
Compile Android with STL enabled by default
2017-11-08 12:51:35 +01:00
Rémi Verschelde
9437db7bc5
Merge pull request #12604 from rraallvv/unified_headers
...
add support for Android NDK unified headers (master)
2017-11-06 16:07:00 +01:00
Rhody Lugo
ec31b23b33
add support for Android NDK unified headers
2017-11-06 07:51:09 -04:00
volzhs
00ce629bc6
Prevent to stop music in another background app on iOS
2017-11-06 20:16:34 +09:00
Rémi Verschelde
e20241c02c
Merge pull request #12691 from eska014/webaudio
...
Fix WebAudio and HTML5 build
2017-11-06 09:36:13 +01:00
Leon Krause
1a5d3c26db
Fix WebAudio and HTML5 build
2017-11-06 00:25:57 +01:00
Rémi Verschelde
5bc2cf257b
Convert DOS line endings to Unix line endings
...
Should fix issues some of us have with `misc/dist/uwp_template/AppxManifest.xml`
always showing up as modified.
Might cause issues on Windows due to the removal of BOMs or change of line endings
in some of the Mono, UWP or gradlew.bat files, we will test and adapt if need be.
2017-11-05 11:37:59 +01:00
Juan Linietsky
7715a261d5
Merge pull request #12262 from AndreaCatania/pplug
...
Physics server plug
2017-11-03 23:39:44 -03:00
AndreaCatania
7a9ca08f16
Implemented physics plug
...
Moved init_physics
Implemented physics 2D plug
Fix clang
Fix clang
Fix static check
Fix clang
Fix static check
Moved physics server initialization
Moved physics server settings initialization
2017-11-04 03:25:51 +01:00
Rémi Verschelde
cefdb34f6c
SCons: make use_lto a global option and opt-in for iphone
...
Supersedes #12553 , see discussion in #12552 .
2017-11-02 09:11:50 +01:00
N0hbdy
f3fc07272c
Add Colemak keybindings to editor for osx
2017-10-30 22:51:02 +01:00
Marcelo Fernandez
be6ac69f75
Implemented OS get_latin_keyboard_variant on x11
2017-10-30 12:14:40 -03:00
Rémi Verschelde
62a3dcdc72
Merge pull request #12467 from marcelofg55/emscripten_detect
...
Detect javascript platform using EMSCRIPTEN env as well
[ci skip]
2017-10-30 11:43:03 +01:00
Rémi Verschelde
87694d1884
Disable logging until the logs location is sorted out
...
Temporary workaround for #12277 .
2017-10-29 15:50:27 +01:00
Marcelo Fernandez
33daf4d8bc
Detect javascript platform using EMSCRIPTEN env as well
2017-10-28 16:24:44 -03:00
Rémi Verschelde
0c043bc257
Merge pull request #12442 from mhilbrunner/patch-1
...
detect.py: Fix KeyError if using MinGW and LTO
2017-10-27 21:22:37 +02:00
mhilbrunner
0407c2ac46
detect.py: Fix KeyError if using MinGW and LTO
2017-10-27 21:04:27 +02:00
Rémi Verschelde
37f1bb3298
Travis: Simplify matrix, disable iphone and add X11 tools=no/clang
...
Travis always has massive backlog of macOS builds, so we can't rely on them
too much.
The iphone build was mostly useful to spot tools=no or target=release_debug
issues, so replacing it by an appropriate X11 build.
2017-10-27 19:56:37 +02:00
Juan Linietsky
b8ac700046
Sound support for Javascript (untested).
2017-10-26 22:35:40 -03:00
santouits
55fae24710
Fix x11 boot logo position in fullscreen and in maximized
2017-10-26 01:06:26 +03:00
Marcelo Fernandez
ad4000d376
Implemented vsync OS functions for OS X
2017-10-23 13:26:33 -03:00
George Marques
58b849800e
Add WindowsTerminalLogger to UWP build
2017-10-22 12:15:59 -02:00
Rémi Verschelde
6361e24f29
Cleanup unnecessary debug prints
2017-10-21 20:41:07 +02:00
Rémi Verschelde
5bc44fe000
Merge pull request #12252 from MednauN/master
...
iOS GameCenter fixes
2017-10-20 21:37:14 +02:00
sersoong
771b742047
update GKScore init function
...
(cherry picked from commit 5ed8826dd0
)
2017-10-20 13:01:07 +02:00
Evgeny Zuev
fe02180feb
Fix iOS GameCenter connection flow
...
Add method for secure authentication to GameCenter
2017-10-20 16:24:52 +07:00
Marcelo Fernandez
2baf54526b
Fix BSD compile issues
2017-10-17 16:50:41 +00:00
Rémi Verschelde
1b2e09355e
SCons: Disable server platform as it does not build
...
See #8361 . [ci skip]
2017-10-17 07:56:04 +02:00
Ruslan Mustakov
011d997840
Sign iOS dylibs before packaging
...
These changes allow to open the exported project in XCode and Run it
immediately to begin debugging. Before these changes you'd have to
sign GDNative libs and change Build Configuration manually.
2017-10-16 10:35:58 +07:00
Rémi Verschelde
a851546845
Merge pull request #12074 from J08nY/fix/use-bin-name
...
Use binary names instead of absolute paths in calls to OS::execute.
2017-10-15 20:20:34 +02:00
Ramesh Ravone
55784b0c38
export onBackPress for Android Module
2017-10-15 10:35:13 +05:30
Indah Sylvia
53facb07cf
Fixed wrong Virtual-KeyCode(0x12) pair on Windows platform ( #12073 )
2017-10-14 15:41:57 +07:00
J08nY
b1252caa10
Use binary names instead of absolute paths in calls to OS::execute.
...
Now that #12009 is merged, we should let the system find the binary on
the users $PATH and don't assume we know where to look for them in
different distributions.
2017-10-13 16:45:24 +02:00
Rémi Verschelde
79e247d74e
Drop unusued LEGACYGL_ENABLED check
...
[ci skip]
2017-10-13 00:18:04 +02:00
Rémi Verschelde
3e681227ab
Merge pull request #12010 from eska014/jseval
...
Improve JavaScript calls, allow passing byte arrays to GDScript
2017-10-11 22:36:52 +02:00
Leon Krause
5e06d3d814
Improve JavaScript calls
...
- Allow returning ArrayBuffer and views as PoolByteArray
- Return real_t for integral numbers
- Read all color channels as 0.0 - 1.0 floating point numbers
2017-10-11 01:14:07 +02:00
Andreas Haas
547cc8b7ab
Merge pull request #11775 from endragor/android-keyboard-input
...
Improve input handling on Android
2017-10-10 20:22:06 +02:00
Rémi Verschelde
cb7e4aa6d4
Merge pull request #11926 from RameshRavone/patch-11
...
flatDir support [Android] (Master)
[ci skip]
2017-10-09 15:05:47 +02:00
Rémi Verschelde
321ae21d5f
Merge pull request #11878 from endragor/gradle-repository-urls
...
Use additional repositories for gradle build dependencies too
[ci skip]
2017-10-09 12:40:31 +02:00
Rémi Verschelde
7e05d249e6
Merge pull request #11826 from endragor/fix-game-center-player-id
...
Fix returning Game Center player ID
2017-10-09 12:23:48 +02:00
Rémi Verschelde
ad85acfe31
Merge pull request #11824 from endragor/ios-logging
...
Fix logging on iOS
2017-10-09 12:23:34 +02:00
Rémi Verschelde
e8b9cca614
Merge pull request #11810 from marcelofg55/osx_export_improv
...
OS X export code improvements
2017-10-09 12:20:39 +02:00
Rémi Verschelde
2e0c7bb22a
Merge pull request #11718 from poke1024/retina
...
Fixes some retina problems on multi monitor setups
2017-10-09 11:04:46 +02:00
Ramesh Ravone
a4cee286e6
flatDir support [Android]
2017-10-07 15:10:17 +05:30
N0hbdy
a0c6fa68fb
Fix python 3 build in osx-specific platform
2017-10-07 00:01:36 -07:00
Ruslan Mustakov
a6625221d2
Use additional repositories for gradle build dependencies too
2017-10-06 16:08:57 +07:00
Juan Linietsky
3d87b70f7a
Added the set/get_setting function in Editor/Project settings. Renamed has() to has_setting. Fixes #11844
2017-10-05 15:34:34 -03:00
Bernhard Liebl
a7f18798aa
fixes several scaling problems on multi monitor retina/non-retina setups on OS X
2017-10-05 08:12:17 +02:00
Gilles Roudiere
5b9b158354
Merge pull request #11823 from endragor/virtual-keyboard-height
...
Allow to obtain virtual keyboard height
2017-10-04 18:16:28 +02:00
Ruslan Mustakov
f4c77b9ad5
Fix logging on iOS
...
RotatedFileLogger needs data_dir on iOS to be initialized, so setting
data_dir has been moved to initialize_core.
2017-10-04 23:06:23 +07:00
Ruslan Mustakov
275e537058
Allow to obtain virtual keyboard height
...
On mobile platforms virtual keyboards take up significant amount of
screen space and UI containing a text box may need to be adjusted
after the keyboard appears to keep the text box visible to user. This
commit adds a way to obtain virtual keyabord height so that controls
are aware of how much they need to move.
2017-10-04 17:21:05 +07:00
Ruslan Mustakov
c8191d04c9
Fix returning Game Center player ID
2017-10-04 17:18:09 +07:00
Ruslan Mustakov
ca7447daf6
Improve input handling on Android
...
- Dispatch input immediately as it comes, instead of delaying it to the
next step().
- Fix text box input handling when caret is at the middle of the text.
- Minimize queueEvent calls on Java side.
2017-10-04 16:14:29 +07:00
Juan Linietsky
3cadecf17b
fixed the OS.has_feature() API, and added support for 32 and 64.
2017-10-03 17:36:14 -03:00
Marcelo Fernandez
b6daa94a80
Improvements on the export code on OS X
2017-10-03 15:09:57 -03:00
Marcelo Fernandez
4b695c3bdf
OS::execute can now read from stderr too when executing with a pipe
2017-10-03 15:09:04 -03:00
Hein-Pieter van Braam
2bece6bbd3
Merge pull request #11782 from eska014/persistent-userfs-test
...
Add OS::is_userfs_persistent, allow starting HTML5 platform in private mode
2017-10-03 12:24:11 +02:00
Andreas Haas
132ba0ed97
Merge pull request #11568 from endragor/loggers
...
Extract logging logic
2017-10-02 23:51:26 +02:00
Leon Krause
7b23665e72
Add OS::is_userfs_persistent to check user:// persistence
...
Allows starting HTML5 export when IndexedDB is not available.
2017-10-02 21:07:05 +02:00
Poommetee Ketson
478fd21e07
Merge pull request #11575 from marcelofg55/move_path_to_trash
...
FileSystemDock will now remove files/dirs to trashcan using OS::move_to_trash
2017-10-02 23:52:09 +07:00
Poommetee Ketson
3f4e973a60
Merge pull request #11716 from marcelofg55/coreaudio_driver
...
Merged iphone and osx audio drivers into drivers/coreaudio
2017-10-02 23:37:55 +07:00
Leon Krause
11ab7b6efc
Use primary WebAssembly.instantiate overload
...
Previously WebAssembly.compile was used along with the secondary
WebAssembly.instantiate overload. Using only the primary overload is
recommended to get best performance.
2017-10-02 13:09:59 +02:00
Marcelo Fernandez
12d40fa03f
Merged iphone and osx audio drivers into drivers/coreaudio
2017-09-30 02:16:42 -03:00
Felix M. Cobos
ec644ccb69
Reduce gcc lto build time by telling the linker to
...
use the number of jobs indicated by -j
2017-09-26 17:04:04 +02:00
Marcelo Fernandez
20918587d3
FileSystemDock will now remove files/dirs to trashcan using OS::move_to_trash
2017-09-25 21:49:01 -03:00
Rémi Verschelde
78aa7b382a
Merge pull request #11567 from QuLogic/scons-var-types
...
Add types to scons command-line options
2017-09-25 22:44:05 +02:00
Elliott Sales de Andrade
3e69d19116
Use BoolVariable in platform-specific options.
2017-09-25 14:36:30 -04:00
Elliott Sales de Andrade
5be675eb03
Use BoolVariable for module options.
2017-09-25 14:36:30 -04:00
Elliott Sales de Andrade
45a9a680a3
Use BoolVariable for third-party options.
2017-09-25 14:36:30 -04:00
Elliott Sales de Andrade
ffab67b8da
Use BoolVariable in target/component/advanced options.
2017-09-25 14:36:02 -04:00
Elliott Sales de Andrade
f9e463bce2
Use EnumVariable for choice-based build options.
2017-09-25 14:36:01 -04:00
Ruslan Mustakov
f5b3b24c22
Enhance iOS export
...
- The export process now builds complete .ipa on macOS, instead of just
creating XCode project.
- The project includes Capabilities games usually require: Game Center,
Push Notifications, In-App Purchase.
- Icons and launch screens can be specified in export preset.
2017-09-26 00:18:08 +07:00
Ruslan Mustakov
1a2311e350
Extract logging logic
...
Previously logging logic was scattered over OS class implementations
with plenty of duplication. Major changes in this commit:
- Extracted logging logic into a separate Logger hierarchy. It allows
easy configuration of logging mechanism depending on compile-time or
run-time configuration.
- Implemented RotatedFileLogger which is usually used with StdLogger,
providing persistency of logs. It is often important to be able to
obtain logs of the game even in production to be able to understand
what happened prior to some problem. On mobile there previously was
no way to obtain the logs aside from having the device connected to
your machine.
- flush() is not performed in release mode for every logged line. It
is only performed for errors.
2017-09-25 16:19:21 +07:00
Rémi Verschelde
4ac7f5acf9
Merge pull request #11519 from hpvb/fix-gcc-lto
...
Fix gcc lto
[ci skip]
2017-09-24 13:32:00 +02:00
BastiaanOlij
9d04f89beb
Removed get_resource_dir from osx platform
2017-09-24 19:37:22 +10:00
Rémi Verschelde
df5dab738a
Merge pull request #11527 from QuLogic/system-zstd
...
Enable building against system zstd.
2017-09-24 08:58:38 +02:00
Elliott Sales de Andrade
00c03bdd2b
Add support for OpenSSL 1.1.0.
...
This release hides many struct members which provides easier forward
compatibility but is a break from previous releases. A few small macros
provide compatibility between both 1.1.0 and 1.0.x.
Fixes #8624 .
2017-09-24 02:11:02 -04:00
Elliott Sales de Andrade
a408388623
Enable building against system zstd.
2017-09-23 23:46:47 -04:00
Hein-Pieter van Braam
43757fcc85
Fix gcc lto
...
This repairs LTO on X11 and adds it to MingW targets. The difference in
linktime is substantial, but runtime performance is quite a bit better.
2017-09-23 22:55:26 +02:00
BastiaanOlij
86c66597f3
Comment out code that is causing project loading to fail on osx
2017-09-22 13:05:53 +10:00
George Marques
d595b79c62
UWP: Fix build issue about Object ambiguity
2017-09-21 22:47:52 -03:00
Rémi Verschelde
4664d03a0e
Merge pull request #11458 from volzhs/fix-trustmanager-master
...
Fix TrustManager for Android
[ci skip]
2017-09-21 14:06:55 +02:00
volzhs
1a704d7676
Fix TrustManager for Android
2017-09-21 20:56:38 +09:00
Rémi Verschelde
e8a0c5da77
Merge pull request #11243 from hpvb/add-debug-info-on-release
...
Create separate debug info files by default
2017-09-21 10:30:17 +02:00
Rémi Verschelde
0eec37e247
Merge pull request #11141 from fcobos/x11_borderless_switch_fix
...
X11 - Adding borders back to a borderless window was not working.
2017-09-21 10:23:52 +02:00
letheed
5ad9be4c24
Rename pos to position in user facing methods and variables
...
Rename user facing methods and variables as well as the corresponding
C++ methods according to the folloming changes:
* pos -> position
* rot -> rotation
* loc -> location
C++ variables are left as is.
2017-09-20 13:11:10 +02:00
Rémi Verschelde
96882c7224
Merge pull request #11432 from endragor/min-sdk-version-18
...
Set Android minSdkVersion to 18
[ci skip]
2017-09-20 09:30:46 +02:00
Ruslan Mustakov
ea7223d181
Set Android minSdkVersion to 18
...
It's the minimum version where GLES 3 API is available. It is already
the version Godot binary is compiled with for Android, but the config
files were not updated in time.
2017-09-20 11:49:46 +07:00
Ruslan Mustakov
a84093559c
Return player ID after connecting to Game Center
2017-09-20 11:48:10 +07:00
Leon Krause
d1ecc25db4
Fix mouse button state in HTML5 platform
...
Regression from 844c5e12e6
2017-09-19 19:27:52 +02:00
Marcelo Fernandez
9a0aa45d5c
Fix crash handler not including stdlib.h
2017-09-19 11:21:45 -03:00
Marcelo Fernandez
ff1e0a3e2c
Prevent running the crash_handler when a debugger is present on windows
2017-09-18 16:29:23 -03:00
Rémi Verschelde
53bbc046ee
Merge pull request #11252 from marcelofg55/fix_noaudio_crash
...
Fix crash when no audio driver is available
2017-09-17 22:48:22 +02:00
Marcelo Fernandez
3528b1e571
Fix x11 exported executables not getting the +x flag
2017-09-17 14:40:58 -03:00
Hein-Pieter van Braam
88be952fc9
Create separate debug info files by default
...
Now that we have a built-in stacktrace on a segfault it would be useful
to have debug information on debug_release builds so that bugreports can
include this information. Without this debug info we will still get
function names in the backtrace but not file location.
This commit will by default build all targets with minimal debug info
and then strip the information into separate files. On MacOS this is a
.dSYM file, on Linux/MingW this is a .debug file. MacOSX will
automatically load a dSYM file if it exists in its debugger. On
Linux/MingW we create a 'gnu debuglink' meaning that gdb and friends
will automatically find the debug symbols if they exist.
Existing workflow for developers does not change at all, except that we
now create two instead of one build artifact by default.
This commit also adds a 'debug_symbols' option to X11, MacOS, and MingW
targets. The default is 'yes' which corresponds to -g1. The alternatives
are 'no' (don't generate debug infos at all) or 'full' which runs with
-g2. A target=debug build will now build with -g3.
2017-09-16 12:00:46 +02:00
Thomas Herzog
7dffed485b
Merge pull request #11230 from maxim-sheronov/fix_enum_bindings
...
Fix enums bindings
2017-09-15 08:43:35 +02:00
Andreas Haas
9488f06e4a
X11: Fix gamepads not being added whith udev.
...
Seems like this property isn't present on some gamepads...
Fixes #10958
2017-09-14 22:50:40 +02:00
Marcelo Fernandez
7a4c0ff35e
Fix crash when no audio driver is available
2017-09-13 20:54:55 -03:00
Rémi Verschelde
f48a1c9ebf
Buildsystem: Windows cross-compilation on Linux defaults to 64-bit
2017-09-13 22:36:15 +02:00
Maxim Sheronov
0fffa45158
Fix enums bindings
...
Add missed bindings for enums
Move some enums to class to have correct output of api.json
2017-09-13 20:57:07 +03:00
Marcelo Fernandez
83fe937362
Added a crash handler to dump the backtrace on Windows, Linux and OS X
2017-09-13 10:07:23 -03:00
Rémi Verschelde
42504ef0d4
Merge pull request #11062 from BastiaanOlij/osx_datapack
...
Fixed loading package from resource folder, exporting textures to bun…
2017-09-13 11:11:01 +02:00
Rémi Verschelde
e73e00d369
Style: Apply clang-format to @reduz's changes
...
[ci skip]
2017-09-13 09:13:34 +02:00
Marcelo Fernandez
730d36f350
Fixed issues with surround sound on audio server
2017-09-12 15:13:28 -03:00
Felix M. Cobos
2e74bf488b
Adding borders back to a borderless window was not working.
2017-09-12 18:53:34 +02:00
Hein-Pieter van Braam
647a914155
Merge pull request #11111 from marcelofg55/drive_funcs_osx
...
Implemented DirAccess get_drive and get_drive_count for OS X
2017-09-12 17:17:55 +02:00