bruvzg
506e17ee70
Hack to force macOS window activation for non-bundled app.
2018-03-03 13:28:59 +02:00
Rémi Verschelde
8d01b706ff
Merge pull request #17158 from bruvzg/gles2_driver_select
...
[GLES2] Renderer selection improvement
2018-03-02 18:43:18 +01:00
bruvzg
a5a4f3714b
GLES2 renderer support on macOS.
2018-03-02 13:15:12 +02:00
bruvzg
f0d24de960
Fix `--help` output, allow renderer override from command line (`--video-driver`).
2018-03-02 10:05:14 +02:00
Rémi Verschelde
4bb98348a8
Merge pull request #17133 from bruvzg/macos_fix_webm_optim
...
[Build] Fix WebM (libvpx) SIMD optimizations on macOS.
2018-03-01 16:36:24 +01:00
karroffel
eac4c984df
add GLES 2 renderer for 2D
...
This commit adds a new rendering backend, GLES2, and adds a
project setting to enable it.
Currently this backend can only be used on the X11 platform,
but integrating into other platforms is planned.
2018-03-01 15:12:30 +01:00
Rémi Verschelde
7f3024d343
Merge pull request #17058 from marcelofg55/minmax_windows
...
Fixed Windows ignoring minimized/maximized status set by user
2018-03-01 13:31:02 +01:00
Rémi Verschelde
3e03ed90a8
Merge pull request #17137 from endragor/fix-audio-init-crash
...
Fix intermittent audio driver crash during startup on Android
2018-03-01 12:50:31 +01:00
Ruslan Mustakov
c10749d51f
Fix intermittent audio driver crash during startup on Android
...
set_pause can be called before the driver is initialized, and there
already is a check for that. The problem is that the 'active' field
was not initialied in the constructor, which lead to it having an
undefined value.
2018-03-01 17:40:44 +07:00
bruvzg
eec0f83cf3
Fix WebM SIMD optimizations on macOS.
2018-03-01 09:21:58 +02:00
Fabio Alessandrelli
8f9914bd94
Fix server build on FreeBSD
2018-03-01 02:16:52 +01:00
Hein-Pieter van Braam
d702d7b335
Fix various valgrind reported uninitialized variable uses
2018-02-28 21:55:13 +01:00
Rémi Verschelde
7d09e6540a
Android: Mark GLES3 as required in the manifest
...
Fixes #17076 .
2018-02-27 13:33:24 +01:00
Marcelo Fernandez
f8da9550f4
Fixed Windows ignoring minimized/maximized status set by user
2018-02-26 17:38:00 -03:00
bruvzg
e3c2778d7e
Add missing return statements (iOS and server).
2018-02-25 01:11:03 +02:00
Rémi Verschelde
6e3ba43457
Merge pull request #16901 from jandrewlong/ios-restore-purchases
...
add restore purchases for ios
2018-02-24 01:24:37 +01:00
Rémi Verschelde
23ebae01dc
Refactor version macros and fix related bugs
...
The previous logic with VERSION_MKSTRING was a bit unwieldy, so there were
several places hardcoding their own variant of the version string, potentially
with bugs (e.g. forgetting the patch number when defined).
The new logic defines:
- VERSION_BRANCH, the main 'major.minor' version (e.g. 3.1)
- VERSION_NUMBER, which can be 'major.minor' or 'major.minor.patch',
depending on whether the latter is defined (e.g. 3.1.4)
- VERSION_FULL_CONFIG, which contains the version status (e.g. stable)
and the module-specific suffix (e.g. mono)
- VERSION_FULL_BUILD, same as above but with build/reference name
(e.g. official, custom_build, mageia, etc.)
Note: Slight change here, as the previous format had the build name
*before* the module-specific suffix; now it's after
- VERSION_FULL_NAME, same as before, so VERSION_FULL_BUILD prefixed
with "Godot v" for readability
Bugs fixed thanks to that:
- Export templates version matching now properly takes VERSION_PATCH
into account by relying on VERSION_FULL_CONFIG.
- ClassDB hash no longer takes the build name into account, but limits
itself to VERSION_FULL_CONFIG (build name is cosmetic, not relevant
for the API hash).
- Docs XML no longer hardcode the VERSION_STATUS, this was annoying.
- Small cleanup in Windows .rc file thanks to new macros.
2018-02-23 20:15:29 +01:00
J Andrew Long
da652c1539
add restore purchases for iOS
2018-02-22 14:28:37 -05:00
Rémi Verschelde
be7bfdfac3
server: Add support for statically linking libgcc and libstdc++
2018-02-22 19:06:11 +01:00
luz.paz
612ab4bbc6
Fix typos with codespell
...
Found via `codespell -q 3 --skip="./thirdparty,./editor/translations" -I ../godot-word-whitelist.txt`
Whitelist consists of:
```
ang
doubleclick
lod
nd
que
te
unselect
```
2018-02-21 19:46:06 +01:00
Fabio Alessandrelli
d29488ee9b
Link bcrypt lib in window and UWP
2018-02-20 17:42:16 +01:00
Rémi Verschelde
3e6f2b7d98
Fix previous commit, "bits" still needed for buildsystem
2018-02-19 23:36:34 +01:00
Rémi Verschelde
42c5af5e48
OSX: Remove unnecessary bits assignment
2018-02-19 23:34:11 +01:00
Rémi Verschelde
2b7037b148
Merge pull request #16675 from Iskustvo/improved_error_detectioin_in_move-to-trash_for_Linux
...
[X11] Improving error detection in move_to_trash
2018-02-19 20:50:58 +01:00
Rémi Verschelde
3925e6a543
Merge pull request #16696 from BTaskaya/master
...
PEP3101 applied with changing old type string formatting as new ones
2018-02-19 20:38:37 +01:00
Hein-Pieter van Braam
6d99975707
Merge pull request #16763 from RandomShaper/improve-fullscreen
...
Remove window decorations for fullscreen on X11
2018-02-19 20:21:43 +01:00
Rémi Verschelde
f04958cd5d
OSX: Remove support for 32-bit and fat binaries
...
Mac OS X is 64-bit only since 10.7 (Lion), which has reached End-Of-Life in October 2014.
Therefore it no longer makes sense to support exporting 32-bit binaries for Mac OS X,
and we can now default to 64-bit instead of bigger "fat" binaries.
2018-02-19 12:53:28 +01:00
Iskustvo
268d7c7c5b
[X11] Improving error detection in move_to_trash
2018-02-18 17:02:19 +01:00
Hugo Locurcio
d698814367
Remove some debugging prints on Android
2018-02-18 00:09:56 +01:00
Rémi Verschelde
df522cf4e1
Merge pull request #16781 from eska014/html5-httpc
...
HTML5 HTTPClient fixes
2018-02-17 19:00:55 +01:00
Leon Krause
98039909f2
Flush HTTPClient response data only on request/close in HTML5 platform
2018-02-17 18:13:05 +01:00
Leon Krause
ca9fa9cca8
Warn when polling HTTPClient synchronously in HTML5 platform
2018-02-17 18:12:50 +01:00
Leon Krause
2cd7bc04ea
Disable insecure HTTP methods CONNECT and TRACE in HTML5 platform
2018-02-17 16:56:40 +01:00
Pedro J. Estébanez
935a99e758
Remove window decorations for fullscreen on X11
2018-02-16 22:09:17 +01:00
Rémi Verschelde
b526088ae2
X11: Link libgcc statically with use_static_cpp option
...
We were already linking libstdc++ statically for official binaries,
protecting us against most portability issues. But apparently since
we started using GCC 7 for official builds, we also need to link
libgcc statically for at least 32-bit builds to be portable.
Fixes #16409 .
2018-02-16 18:48:11 +01:00
Leon Krause
8a21f27f54
Fix HTML5 HTTPClient response header retrieval
2018-02-16 05:38:36 +01:00
Leon Krause
9ea4452d21
Fix HTML5 HTTPClient failure detection
2018-02-16 05:11:25 +01:00
K. S. Ernest (iFire) Lee
4e1923a931
Add dummy audio driver, fix dummy rasterizer
2018-02-15 07:34:11 -08:00
Fabio Alessandrelli
2de10aa467
Fixes to OS_Server and DummyRasterizer to match new signatures
2018-02-15 07:34:11 -08:00
Fabio Alessandrelli
6784d743f7
server platform now compiles and run on linux.
...
Seems to also be able to do exports of some demos I tried.
2018-02-15 07:34:11 -08:00
Rémi Verschelde
4fa8987494
Windows: Fix case of imm32 for case-sensitive MinGW build
...
Fixes #16713 .
2018-02-15 09:06:02 +01:00
BTaskaya
78dba05fc0
PEP3101 applied with changing old type string formatting as new ones
2018-02-14 19:29:25 +03:00
Rémi Verschelde
e0f43e0678
Merge pull request #15564 from RandomShaper/adpod-topmost
...
Add new window setting: always on top
2018-02-14 16:43:40 +01:00
Rémi Verschelde
7d7f8d9e54
Merge pull request #15864 from GodotExplorer/pr-get_unique_id-desktop-impl
...
Implement more methods for OS on Desktop platforms
2018-02-14 16:11:53 +01:00
Rémi Verschelde
717e388e19
Merge pull request #14804 from ColinKinloch/master
...
Fixed android arm64v8
2018-02-14 11:55:28 +01:00
Xavier Sellier
b8def58705
Add signals and a check function for Android service connectivity.
...
- Add a iap_connect and iap_disconnect events for android platform.
- Add isConnected() function returning true if its connected to android service, false otherwise
(cherry picked from commit 546b48813f
)
2018-02-14 08:05:19 +01:00
Fabio Alessandrelli
bd3c27ba78
Allow building with system wide mbedtls on X11
...
Using builtin_mbedtls=yes is still the default as many distributions
do not ship with mbedtls included.
2018-02-14 01:34:25 +01:00
Fabio Alessandrelli
9e2b1b3b00
Disabled mbedtls module in javascript platform
2018-02-14 01:26:34 +01:00
Fabio Alessandrelli
6fcc8b7e1f
Deleting OpenSSL module and library
2018-02-14 01:26:34 +01:00
Rémi Verschelde
71ea00a358
Merge pull request #16648 from marcelofg55/center_window
...
Added OS::center_window to center the window precisely on desktop platforms
2018-02-14 00:14:59 +01:00
Rémi Verschelde
e3658a6464
Fix broken APK expansion due to missed option renames
...
Command line options were refactored for 3.0 to follow the common usage
of double-dashed long options, but `--main-pack` went through the cracks.
Fixes #16533 .
2018-02-13 22:41:19 +01:00
Marcelo Fernandez
ea1d726a46
Added OS::center_window to center the window precisely on desktop platforms
2018-02-12 15:45:41 -03:00
Paolo Perkovic
08d4bfacaf
Fix inconsistencies and typos in argument names
2018-02-01 16:47:20 +01:00
geequlim
5980bef672
OSX: implement OS.get_unique_id
...
Update the documentations for OS.get_unique_id()
2018-02-01 23:29:39 +08:00
geequlim
df1c16d0fe
X11: implement OS.get_unique_id
2018-01-31 09:40:33 +08:00
geequlim
3be04f73f5
Windows: implement OS.get_unique_id and OS.set_ime_position
2018-01-31 09:40:33 +08:00
Pedro J. Estébanez
2e8c7824c0
Implement always-on-top for MacOS
...
Courtesy of @bruvzg.
2018-01-30 20:39:53 +01:00
bruvzg
9ef0315b06
[macOS] Strip executable when `separate_debug_symbols` is set to yes
2018-01-30 16:51:46 +02:00
Rémi Verschelde
22ef1fa23d
Merge pull request #16162 from hpvb/implement-windows-processor-count
...
Implement OS::get_processor_count() for Windows
2018-01-30 13:41:03 +01:00
Hein-Pieter van Braam
fb60f2dbe6
Fix Copy/Paste problems on X11
...
The target of the TARGETS type should be XA_ATOM and not XA_TARGETS when
requested. Since we are sending a number of ATOMS the size should be set
to the integer size and not the char size.
The size field of the atoms is also the number of atoms and not the size
of the array. This caused some clients to wrongly interpret the data and
read garbage in the X11 packet.
I also add the more modern representation for UTF-8 and clarify the
error message if a client attempts to request a type we don't know
about.
This fixes #10431
2018-01-29 18:38:04 +01:00
Hein-Pieter van Braam
b4d369c887
Implement OS::get_processor_count() for Windows
...
Current this is hardcoded as '1' for any platform except Unix. The
little is_wow64() dance is required to get correct output on a 32bit
compiled godot running on 64bit Windows according to MSDN.
This code should be UWP safe but I have no way to test that so it's not
implemented for UWP yet.
2018-01-29 16:50:49 +01:00
Rémi Verschelde
f12e8568d4
Merge pull request #16081 from djgaspa/dll-directory
...
Fix remove_dll_directory crash when cookie is null
2018-01-27 23:32:05 +01:00
bruvzg
24b01fe70c
Fix macOS build after #16092
2018-01-26 22:39:08 +02:00
Hein-Pieter van Braam
c6d9a7665a
Make separate debug symbols opt-in
...
This adds a separate_debug_symbols option to the x11, windows, and osx
targets. This will default to adding normal debugging symbols to the
artifacts and only splits them when separate_debug_symbols=yes on the
Scons command line.
2018-01-26 20:46:56 +01:00
Rémi Verschelde
9ba5fb87f0
Bullet: allow unbundling only if > 2.87
...
Looks like we are using cutting edge methods which are not even
if the current stable 2.87.
2018-01-26 19:17:24 +01:00
djgaspa
18e66a28bc
Fix remove_dll_directory crash when cookie is null
2018-01-26 12:30:02 +01:00
Rémi Verschelde
8afe5b4d9f
Merge pull request #16059 from eska014/html5-notls
...
Disable OpenSSL module in HTML5 platform by default
2018-01-25 09:14:50 +01:00
Leon Krause
4a3aaaf276
Disable OpenSSL module in HTML5 platform by default
2018-01-25 09:07:07 +01:00
Rémi Verschelde
94f315df01
Silence verbose stderr info message on X11
2018-01-24 21:49:11 +01:00
Leon Krause
dcc55bad20
Fix HTML5 JS API setResizeCanvasOnStart
2018-01-24 05:08:35 +01:00
binbitten
017a8521c0
Fix horizontal scroll for windows platform
2018-01-20 21:15:58 +01:00
x1212
eec2218e7c
HTML export: Make s3tc the standard Texture Format
2018-01-20 15:20:26 +01:00
Bernhard Liebl
2419ffd428
On macOS, prevent key_event_buffer overflows
2018-01-19 08:47:30 +01:00
Ruslan Mustakov
8d41175cae
Fix Android onTextChanged crash
...
As it turns out, onTextChanged supplies a mutable CharSequence, which
lead to crashes or unexpected behaviour when input was coming faster
than it was processed.
2018-01-17 19:28:27 +07:00
Rémi Verschelde
fb0cd802c4
Merge pull request #15773 from endragor/android-gdnative-remote-fs
...
Make remote FS work with GDNative on Android
2018-01-16 22:26:27 +01:00
Ruslan Mustakov
99f93ea440
Make remote FS work with GDNative on Android
...
.so files are added to the .apk when remote FS is used.
2018-01-16 15:18:47 +07:00
Bernhard Liebl
3ff18ee61e
Catch NSException in macOS run loop to prevent crashs
2018-01-15 09:31:12 +01:00
Leon Krause
bd1750c076
Wrap Emscripten module into JS Engine singleton per SCons
...
Emscripten's meta DCE changes in 1.37.27(/28?) make it impossible to
keep using --pre-js for this
2018-01-13 19:40:59 +01:00
Rémi Verschelde
5f22422d99
Merge pull request #15665 from endragor/fix-android-gdnative
...
Fix open_dynamic_library for Android
2018-01-13 17:04:42 +01:00
Rémi Verschelde
e141845bfb
SCons: Allow unbundling bullet on Linux (only 2.87+)
2018-01-13 15:16:22 +01:00
Ruslan Mustakov
1d763a2cb8
Fix open_dynamic_library for Android
2018-01-13 20:40:20 +07:00
bruvzg
f0029fd3c6
[macOS] Adds ability to open files with "Open With" or double-click from Finder
2018-01-12 16:38:19 +02:00
Rémi Verschelde
00630479dd
Merge pull request #15613 from eska014/html5-feature-tags
...
Fix HTML5 feature tags
2018-01-12 08:18:56 +01:00
Leon Krause
5a1156347d
Fix HTML5 feature tags
...
'HTML5' is the platform tag, the 'JavaScript' tag indicates availability of
the JavaScript.eval singleton.
Also report texture compression support.
2018-01-12 00:32:17 +01:00
volzhs
b63384a9f1
Merge pull request #15605 from volzhs/fix-android-build-27
...
Fix Android build error
2018-01-12 04:25:47 +09:00
volzhs
dfdc8c2d9a
Fix Android build error
...
Fix #15603
Fix #15513
2018-01-12 04:24:11 +09:00
Juan Linietsky
554e95747c
sorry, accidentally pressed delete before commiting.
2018-01-10 17:55:00 -03:00
Juan Linietsky
0f00384c93
Added middle button doubleclick, fixes #15567
2018-01-10 17:46:41 -03:00
bruvzg
b3d803c901
Fix IME producing multiple events per key press.
2018-01-10 13:43:24 +02:00
Rémi Verschelde
51709cd8c8
Merge pull request #15344 from bruvzg/osx_dylib_export
...
[GDnative] macOS `dylib` export fixes
2018-01-08 15:12:50 +01:00
Rémi Verschelde
b49f32deae
Merge pull request #15461 from endragor/better-loading-screen-msg
...
Improve missing iOS loading screen error message
2018-01-08 08:10:13 +01:00
Rémi Verschelde
06bb4acae0
Merge pull request #15440 from volzhs/fix-android-touch
...
Fix Android multi touch
2018-01-08 08:04:33 +01:00
Ruslan Mustakov
90f7c84bba
Improve missing iOS loading screen error message
2018-01-07 21:50:41 +01:00
Rémi Verschelde
4ab4001ab2
Merge pull request #15447 from eska014/html5-optmode
...
Build WebAssembly release module with -Os to decrease file size
2018-01-07 17:47:15 +01:00
Leon Krause
4211e4453e
Build WebAssembly module with -Os to decrease file size
2018-01-07 17:43:06 +01:00
Leon Krause
2dbf8251bc
Initialize WebGL context in OS
2018-01-07 15:49:48 +01:00
volzhs
8fbb82719e
Fix Android multi touch
...
Fix #11798
2018-01-07 23:29:44 +09:00
Rémi Verschelde
8c7b6feb5f
Merge pull request #15425 from bruvzg/osx_runtime_version_checks
...
[macOS] Remove 10.6+ runtime version checks, add 10.12+ runtime version checks
2018-01-07 01:17:10 +01:00
Rémi Verschelde
b33bf23c6a
Merge pull request #15422 from eska014/html5-logger
...
Print without color control sequences in HTML5 platform
2018-01-07 00:30:58 +01:00
bruvzg
ff82fbdf64
Remove 10.6+ runtime version checks, add 10.12+ runtime version checks
2018-01-07 01:21:47 +02:00
Rémi Verschelde
00d5b9ce96
Merge pull request #15420 from eska014/html5-internal-calls
...
Fix internal Emscripten JS API calls
2018-01-07 00:11:58 +01:00
Leon Krause
efdca59a03
HTML5: Print without color control sequences
2018-01-07 00:04:09 +01:00
Rémi Verschelde
6edd2154c8
Merge pull request #15401 from bruvzg/osx_10_12_and_depric_fix
...
[macOS] Fix build on pre 10.12 and deprecation warnings on 10.12+
2018-01-06 19:54:45 +01:00
Leon Krause
cf5b074a95
Fix internal Emscripten JS API calls
...
Emscripten 1.37.24 no longer exports these by default
2018-01-06 15:53:04 +01:00
bruvzg
47770df198
Fix build on macOS pre 10.12, fix deprecation warnings on 10.12+
2018-01-06 16:12:57 +02:00
volzhs
d2dc70d7d5
Fix Android build error
2018-01-06 22:32:39 +09:00
Pedro J. Estébanez
ee2c31d306
Add new window setting: always on top
...
Implemented for Windows and Linux.
2018-01-05 21:31:04 +01:00
Rémi Verschelde
db49f35ab8
SCons: Fix usage of LD when we meant LINK
...
Also made LINK and CXXFLAGS configurable as command line options.
Note that LINK currently expects the *compiler* that will be used
for linking and will call its configured linker behind the scenes
(so g++, clang++, etc., not ld.gold). See #15364 for details.
2018-01-05 20:37:45 +01:00
Rémi Verschelde
22cd45b1d5
Merge pull request #15365 from guilhermefelipecgs/add_unimplemented_method
...
Add missing method for javascript
2018-01-05 19:46:27 +01:00
Juan Linietsky
7332da31fc
Forced set mouse global position always, hopefully will fix #15354 , otherwise out of luck.
2018-01-05 14:33:13 -03:00
Guilherme Silva
ea02c62345
Add missing method for javascript
2018-01-05 13:37:31 -02:00
Andreas Haas
fab0d53f7e
X11: Add missing return in OS_X11::initialize().
2018-01-05 12:11:45 +01:00
Rémi Verschelde
e4213e66b2
Add missing copyright headers and fix formatting
...
Using `misc/scripts/fix_headers.py` on all Godot files.
Some missing header guards were added, and the header inclusion order
was fixed in the Bullet module.
2018-01-05 01:22:23 +01:00
bruvzg
cce6adfc51
Adds dylib export for "dmg" export mode and change dylib path to "/Contents/Frameworks"
2018-01-04 21:41:59 +02:00
Duy-Nguyen TA
322cb08dd9
Fix macOS and other builds after #15299
...
Commit ammended by @akien-mga to fix more platforms.
2018-01-04 19:48:05 +01:00
Juan Linietsky
6e2ed15ff1
Add support from properly exporting shared objects, needed for GDNative export
2018-01-04 15:43:06 -03:00
Artem Varaksa
76b5f8b0df
Fixed missing parenthesis
2018-01-04 19:31:35 +03:00
Rémi Verschelde
d78335d87f
Add missing translation in Javascript export dialog
...
Also remove newlines from translated strings.
2018-01-04 16:08:24 +01:00
Emmanuel Leblond
e315c94900
Change OS::initialize signature to return Error (fix segfault on x11)
2018-01-04 15:15:55 +01:00
Rémi Verschelde
b997773b26
Merge pull request #15033 from poke1024/shortcuts-mac
...
Alternative keyboard shortcuts for macOS
2018-01-04 14:56:29 +01:00
Rémi Verschelde
b7b0ffd5c4
Merge pull request #15279 from volzhs/android-update-build
...
Update android build tool to latest
2018-01-03 18:06:08 +01:00
Rémi Verschelde
5019f5e298
Merge pull request #15092 from guilhermefelipecgs/fix_infinite_loop_on_splash_screen
...
Fix infinite loop on splash screen on tiling windows managers
2018-01-03 11:41:38 +01:00
volzhs
4bea7d1b5f
Update android build tool to latest
2018-01-03 17:25:07 +09:00
Rémi Verschelde
6322b0bbb7
Merge pull request #12814 from guilhermefelipecgs/add_hardware_custom_cursor
...
Custom hardware-accelerated mouse cursor
2018-01-03 08:35:59 +01:00
George Marques
c9005ca7fd
Merge pull request #15246 from vnen/uwp-gdnative
...
Make GDNative DLLs work on UWP
2018-01-01 22:47:22 -02:00
George Marques
2a023a425d
Make GDNative DLLs work on UWP
2018-01-01 13:59:14 -02:00
Rémi Verschelde
b50a9114b1
Update copyright statements to 2018
...
Happy new year to the wonderful Godot community!
2018-01-01 14:40:47 +01:00
George Marques
abf416f922
Improve LTO build with MSVC
2017-12-31 14:35:38 -02:00
Guilherme Silva
2a6035dff4
Fix infinite loop introduced by 6f3486c4
on tiling windows managers
2017-12-27 08:44:18 -02:00
George Marques
62fe640ca8
Add option to sign UWP exports with signtool
...
Windows-only.
2017-12-26 11:30:18 -02:00
Bernhard Liebl
3f122672a2
On macOS, change some default editor shortcuts
2017-12-26 11:24:12 +01:00
Juan Linietsky
021f3c924b
-Removed OpenMP support, replaced by a custom class.
...
-Disabled Opus, implementation is wrong.
2017-12-24 09:32:12 -03:00
Enzo Nocera
6f3486c486
x11: Fix maximized splash-boot screen bug.
...
Fixes #14336
2017-12-24 01:16:17 +01:00
Colin Kinloch
853b1daa49
Fixed android arm64v8
2017-12-23 16:49:04 +00:00
Rémi Verschelde
bf4d398d4e
Do not require OpenMP for non-tools builds (export templates)
2017-12-22 12:24:40 +01:00
Rémi Verschelde
aefa23eac1
Merge pull request #14794 from endragor/remove-debug-logs
...
Remove debug logs that are of no use to end users
2017-12-18 07:40:01 +01:00
Ruslan Mustakov
ec31c4f380
Remove debug logs that are of no use to end users
2017-12-18 13:37:37 +07:00
Guilherme Silva
a392dbdbe3
Add implementation for custom hardware cursor
2017-12-17 13:40:29 -02:00
Rémi Verschelde
8f25a2dc11
Cleanup some #if 0'd code
2017-12-17 15:40:24 +01:00
Rémi Verschelde
fc0e341fc5
Merge pull request #14764 from poke1024/android
...
Increase sleep time for android export thread
2017-12-17 14:18:47 +01:00
Colin Kinloch
064189c693
Fixed Android NDK unified header detection for python 3
2017-12-17 12:01:16 +00:00
Bernhard Liebl
95edc3855a
Increase sleep time for android export thread
2017-12-17 11:50:11 +01:00
George Marques
f1683a290b
Add support for whole program optimization on MSVC
...
Since it's similar to LTO, it can be enabled by setting use_lto=yes.
2017-12-16 22:29:02 -02:00
Juan Linietsky
652c98a7be
Add epic hack so vsync can be toggled in run-time from script. Fixes #14458 .
...
Call needs to be routed via visual server to reach the proper thread.
2017-12-16 17:11:02 -03:00
Hein-Pieter van Braam
05018582d7
Rename the debug symbol files to .debugsymbols
...
Some users were confused by the '.debug' suffix for the symbols.
2017-12-16 13:55:04 +01:00
Rémi Verschelde
a68d15d509
Merge pull request #14597 from NathanWarden/linux_extensions
...
Updated Linux template extensions to match architecture.
2017-12-16 13:05:18 +01:00
Rémi Verschelde
cf7bd1a7e3
Merge pull request #14708 from Faless/get_packet_not_const_rebased
...
Remove "const" from PacketPeer get_packet/get_var, move windows network related stuff to drivers
2017-12-16 00:05:18 +01:00
Hein-Pieter van Braam
241de95884
Fix 32bit MingW build for thekla_altas
2017-12-15 23:26:10 +01:00
Fabio Alessandrelli
ac7444023e
Move windows networking class to drivers/windows/
...
Also rename stream_peer_winsock.* to stream_peer_tcp_winsock.* and
StreamPeerWinsock to StreamPeerTCPWinsock.
2017-12-15 18:25:29 +01:00
Fabio Alessandrelli
92067b4714
Remove "const" from PacketPeer get_packet/get_var
...
They are NOT constant methods, as state by the comment message,
they fetch the last packet and then forget about it, actively
changing the state of the object.
2017-12-15 17:14:17 +01:00
Fabio Alessandrelli
206275f3e7
Fix javascript build error and improve #14604
2017-12-15 15:35:18 +01:00
Rémi Verschelde
c0beab6c5b
Remove debug printf on Windows
2017-12-15 07:56:47 +01:00
Rémi Verschelde
108a36f515
Merge pull request #14604 from mhilbrunner/http-defaults
...
HTTP cleanup & better defaults
2017-12-15 07:53:38 +01:00
Rémi Verschelde
e3fd61b638
Merge pull request #14672 from akien-mga/openmp-linking
...
openmp: Simplify linking on X11, fixing clang build
2017-12-14 23:04:36 +01:00
Rémi Verschelde
60d41e9caf
openmp: Simplify linking on X11, fixing clang build
2017-12-14 21:50:10 +01:00
Rémi Verschelde
9314628921
Merge pull request #14667 from bruvzg/macports-clang-imp
...
Minor improvements for #14658 (MacPorts clang support)
2017-12-14 21:29:26 +01:00
bruvzg
0571a36152
MacPorts clang version selection, and OpenMP linking fix.
2017-12-14 20:41:50 +02:00
Rémi Verschelde
fb84b49d87
Fix type mismatch in OS::set_borderless_window
...
Closes #14663 .
2017-12-14 19:16:20 +01:00
Rémi Verschelde
ab9cda1497
openmp: Don't try to link GCC's implementation on Clang
...
Also disable openmp build on Travis, breaks on Trusty's Clang.
Group deps more naturally.
2017-12-14 18:27:56 +01:00
Rémi Verschelde
ccea45e4fd
Merge pull request #14658 from bruvzg/macports-clang
...
Adds `macports_clang` build flag.
2017-12-14 16:09:08 +01:00
bruvzg
f8303ec6fb
Adds `macports_clang` build flag to build using clang-5.0 form MacPorts (with OpenMP support).
2017-12-14 16:44:45 +02:00
Colin Kinloch
edb1df15ea
Added indent_style to editorconfig, fixed inconsistent use of tabs and spaces in indentation.
2017-12-14 13:52:23 +00:00
Juan Linietsky
f3ad14224e
-Add lightmapper
...
-Fixes to unwrapper (remove degenerates), makes Thekla not crash
-Added optional cancel button in EditorProgress
-Added function to force processing of events (needed for cancel button)
2017-12-14 09:01:27 -03:00
mhilbrunner
966c054fc9
HTTP cleanup & better defaults
2017-12-14 10:59:42 +01:00
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
Juan Linietsky
eb0f9651b3
HiDPI support on Windows.. yes this is all it took.
2017-09-12 11:18:16 -03:00
Andreas Haas
d0f0d2916f
Merge pull request #11123 from fcobos/x11_bypass_compositor
...
X11 - Hint the window manager to disable desktop compositing in fullscreen mode
2017-09-12 15:17:04 +02:00
Rémi Verschelde
aabbd00284
Merge pull request #10908 from hpvb/fix-unused-variables
...
Fix unused variable warnings
2017-09-12 12:55:53 +02:00
Rémi Verschelde
cf941fdc35
Merge pull request #11026 from hpvb/fix-assign-in-if
...
Remove assignment and declarations in if statements
2017-09-12 11:57:49 +02:00
Marcelo
fb871b5ada
Implemented DirAccess get_drive and get_drive_count for OS X
2017-09-11 23:46:34 -03:00
Poommetee Ketson
8bf8cf1316
Merge pull request #11154 from eska014/html5-startup-revamp
...
HTML5 start-up overhaul with download progress display
2017-09-12 04:35:30 +07:00
Leon Krause
4db801aaea
HTML5 start-up overhaul
...
- Implement promise-based JS interface for custom HTML page
integration
- Add download progress callback
- Add progress bar and indeterminate spinner to default HTML page
- Try downloading files multiple times when failing
- Get rid of godotfs.js
- Separate steps for engine initialization, game initialization and game
start
- Allow multiple games on one HTML page
- Substitution placeholders only used in .html file
- Placeholders renamed: $GODOT_BASE => $GODOT_BASENAME,
$GODOT_TMEM -> $GODOT_TOTAL_MEMORY
- Emscripten Module is now Engine.RuntimeEnvironment (no longer a global)
2017-09-11 20:56:29 +02:00
Felix M. Cobos
3b5ee014bd
Hint the window manager to disable desktop compositing in fullscreen mode.
2017-09-09 23:24:19 +02:00
Hein-Pieter van Braam
b2a38854fd
Fix unused variable warnings
...
The forth in my quest to make Godot 3.x compile with -Werror on GCC7
2017-09-08 15:03:53 +02:00
Hein-Pieter van Braam
8230bf0a2f
Remove assignment and declarations in if statements
...
After discussing with @reduz and @akien-mga it was decided that we do
not allow assignments or declarations in if statements. This PR removes
the instances of this I could find by automated means.
2017-09-08 14:59:15 +02:00
BastiaanOlij
099546ac00
Fixed loading package from resource folder, exporting textures to bundle and added a bit of feedback for a debug compile
2017-09-08 11:39:32 +10:00
Rémi Verschelde
6a08f8288e
Merge pull request #10914 from eska014/html5-main-notif
...
Prevent sending MainLoop notifications before initialized
2017-09-03 11:28:03 +02:00
Leon Krause
8c4fb4cec8
HTML5: Prevent sending MainLoop notifications before initialized
2017-09-03 04:13:24 +02:00
Poommetee Ketson
459f526119
Fix typos 'a' and 'an'
2017-09-02 21:19:06 +07:00
Hein-Pieter van Braam
9c63ab99f0
Fix use of unitialized variables
...
The second in my quest to make Godot 3.x compile with -Werror on GCC7
2017-09-02 01:59:26 +02:00
Rémi Verschelde
dac150108a
Merge pull request #10846 from hpvb/fix-sign-compare
...
Fix signed and unsigned comparisons
2017-09-01 21:52:55 +02:00
Rémi Verschelde
3694c58d3c
Merge pull request #10775 from marcelofg55/buffersize_fixes
...
Corrections to audio buffer size calculations
2017-09-01 21:41:24 +02:00
Marcelo Fernandez
f231eadc9e
Corrections to audio buffer size calculations
2017-09-01 11:12:13 -03:00
Poommetee Ketson
ed606ded52
Fix files header
2017-09-01 21:07:55 +07:00
Hein-Pieter van Braam
f9467ec1ea
Fix signed and unsigned comparisons
...
The first in my quest to make Godot 3.x compile with -Werror on GCC7
2017-09-01 08:13:12 +02:00
Rémi Verschelde
6f762ad709
Merge pull request #10422 from endragor/gdnative-android
...
Make GDNative work on Android
2017-08-31 13:51:10 +02:00
Rémi Verschelde
0cee288c11
Merge pull request #10148 from leezh/pcre2
...
Replacement of internal RegEx with PCRE2
2017-08-31 11:56:19 +02:00
Rémi Verschelde
b86aa5614f
Merge pull request #10793 from RandomShaper/fix-android-dbg-pre-21
...
Fix pre-Lollipop Android debug
2017-08-31 11:00:01 +02:00
Rémi Verschelde
433d4ada05
Merge pull request #10765 from poke1024/osx-system-dir
...
Implements OS_OSX::get_system_dir()
2017-08-31 10:58:02 +02:00
Pedro J. Estébanez
d5447a90cc
Fix pre-Lollipop (21) Android debug
...
Namely, automatically pick debug over Wi-Fi for devices with an older release and debug over USB otherwise.
A message is printed both in editor output window and console (uppercase here) to let the user know about what mechanism is being used and why.
2017-08-30 20:39:01 +02:00
Pedro J. Estébanez
a464659d5b
Fix parsing of Android API level
...
And renaming the `Device.release` field to `api_level` for correctness.
2017-08-30 20:21:26 +02:00
Ruslan Mustakov
5ccdeccb6e
Make GDNative work on Android
...
The changes include work done to ensure that GDNative apps and Nim
integration specifically can run on Android. The changes have been
tested on our WIP game, which uses godot-nim and depends on several
third-party .so libs, and Platformer demo to ensure nothing got broken.
- .so libraries are exported to lib/ folder in .apk, instead of assets/,
because that's where Android expects them to be and it resolves the
library name into "lib/<ABI>/<name>", where <ABI> is the ABI matching
the current device. So we establish the convention that Android .so
files in the project must be located in the folder corresponding to
the ABI they were compiled for.
- Godot callbacks (event handlers) are now called from the same thread
from which Main::iteration is called. It is also what Godot now
considers to be the main thread, because Main::setup is also called
from there. This makes threading on Android more consistent with
other platforms, making the code that depends on Thread::get_main_id
more portable (GDNative has such code).
- Sizes of GDNative API types have been fixed to work on 32-bit
platforms.
2017-08-30 18:14:19 +07:00
Hein-Pieter van Braam
d44414c711
Disable -ffast-math for etc2comp
...
Apparently -ffast-math generates incorrect code with recent versions of
GCC and Clang. The manual page for GCC warns about this possibility.
In my tests it doesn't actually appear to be measurably slower in this
case, and this is used in a batch process so it seems safe to disable
this.
This fixes #10758 and fixes #10070
2017-08-30 11:51:24 +02:00
poke1024
9d841b5336
Implements OS_OSX::get_system_dir()
2017-08-29 20:31:03 +02:00
Henrik Andersson
230de5bc9c
Fix export of 32 Bits Framebuffer option
2017-08-29 02:36:41 +02:00
Rémi Verschelde
a91d12ab94
Merge pull request #10531 from RandomShaper/remove-old-android-setting
...
Sanitize Android debug
2017-08-29 00:09:27 +02:00
Rémi Verschelde
9a8a0e20e5
Merge pull request #10552 from RandomShaper/improve-posix
...
Improve Mac/UNIX conformance/reliability
2017-08-29 00:07:07 +02:00
Rémi Verschelde
3ce6972d2c
Merge pull request #10692 from marcelofg55/wasapi_driver
...
Added new WASAPI driver for Windows
2017-08-28 22:53:53 +02:00
Matthias Hoelzl
b6e1e47e3a
Make build scripts Python3 compatible
...
- The Windows, UWP, Android (on Windows) and Linux builds are
tested with Scons 3.0 alpha using Python 3.
- OSX and iOS should hopefully work but are not tested since
I don't have a Mac.
- Builds using SCons 2.5 and Python 2 should not be impacted.
2017-08-27 23:05:39 +02:00
Rémi Verschelde
7ad14e7a3e
Dead code tells no tales
2017-08-27 22:13:45 +02:00
Marcelo Fernandez
8e814774b1
Added new WASAPI driver for Windows
2017-08-27 15:26:15 -03:00
Rémi Verschelde
bd282ff43f
Use HTTPS URL for Godot's website in the headers
2017-08-27 14:16:55 +02:00
Rémi Verschelde
c90bfcb1c6
Re-apply clang-format to all files
...
Some badly formatted code has managed to pass through our CI...
2017-08-27 14:16:32 +02:00
Rémi Verschelde
612099e377
Merge pull request #10591 from Rubonnek/possible-null-ptr-dereference
...
Added/Fixed null pointer checks
2017-08-27 02:10:56 +02:00
Rémi Verschelde
ea55b400d9
Merge pull request #10598 from Rubonnek/free-memory
...
Free memory when Main::setup returns an error
2017-08-27 02:10:41 +02:00
Rémi Verschelde
5976e8d7de
Merge pull request #10625 from Rubonnek/fixed-leaks
...
Fixed several memory leaks
2017-08-27 02:10:32 +02:00
Wilson E. Alvarez
7a07895920
Added/Fixed null pointer checks
2017-08-26 16:58:47 -04:00
Henrik Andersson
3cd3c1da5f
Fix refactored Object::cast_to in NO_SAFE_CAST branch
2017-08-26 18:59:37 +02:00
Wilson E. Alvarez
bd257153dc
Free memory when Main::setup returns an error
2017-08-25 21:12:19 -04:00
Wilson E. Alvarez
1577f41653
Fixed several memory leaks
2017-08-25 08:47:05 -04:00
Hein-Pieter van Braam
cacced7e50
Convert Object::cast_to() to the static version
...
Currently we rely on some undefined behavior when Object->cast_to() gets
called with a Null pointer. This used to work fine with GCC < 6 but
newer versions of GCC remove all codepaths in which the this pointer is
Null. However, the non-static cast_to() was supposed to be null safe.
This patch makes cast_to() Null safe and removes the now redundant Null
checks where they existed.
It is explained in this article: https://www.viva64.com/en/b/0226/
2017-08-24 23:08:24 +02:00
Pedro J. Estébanez
d806ad4a3d
Implement custom thread numbering for POSIX
...
For every UNIX-derived (Android, Linux, macOS, iOS) flavor, a global counter is atomically incremented on thread start. That id is kept as thread-local storage.
Therefore, thread ids are sequential numbers, trivially comparable. This improves the previous state of things, in which `pthread_t` were casted to `Thread::ID` and unportabily compared. Also big, ugly thread ids appeared.
2017-08-24 07:02:55 +02:00
Fabio Alessandrelli
d7f08ead4e
Allow building fat binaries with osxcross
2017-08-23 15:44:22 +02:00
Rémi Verschelde
582a97fc2c
Merge pull request #10575 from henkz1/android_quit_error
...
fix UnsatisfiedLinkError when quitting on android
2017-08-23 08:11:34 +02:00
Henrik Andersson
16de3835fa
fix UnsatisfiedLinkError when quitting
2017-08-23 03:14:51 +02:00
Wilson E. Alvarez
baa94a3758
Removed unnecessary returns and break statements
2017-08-22 13:01:57 -04:00
Pedro J. Estébanez
2a5ee5dec9
Fix Android remote debug not hitting breakpoints
...
A change in `Main`'s API is needed. Please read the comment in the diff for an explanation.
2017-08-22 17:24:20 +02:00
Pedro J. Estébanez
39c6b3d942
Make Android debug over USB the only option
...
'Remote debug over ADB' is removed as that will be always the case.
2017-08-22 17:17:42 +02:00
Rémi Verschelde
7f49e2a7a0
Merge pull request #10487 from marcelofg55/curscr_as_default
...
p_screen param from get_screen_* funcs now default to the current screen
2017-08-22 08:12:04 +02:00
Rémi Verschelde
df590fc2d3
Merge pull request #10340 from Rubonnek/remove-unnecessary-assignments
...
Removed unnecessary assignments
2017-08-22 00:58:12 +02:00
Rémi Verschelde
13f879587d
Merge pull request #10254 from marcelofg55/master
...
Added notification const NOTIFICATION_WM_ABOUT
2017-08-22 00:56:31 +02:00
Marcelo Fernandez
63f847b306
p_screen param from get_screen_* funcs now default to the current screen
2017-08-21 18:28:29 -03:00
Wilson E. Alvarez
738d2ab969
Removed unnecessary assignments
2017-08-21 15:15:55 -04:00
Rémi Verschelde
4717d37bfa
Merge pull request #10471 from akien-mga/args-doubledash
...
Third take at making command-line arguments more UNIX-like + main.cpp and help cleanup
2017-08-21 21:01:19 +02:00
Marcelo Fernandez
c6edf1821e
Fix y axis for set_window_position on OS X
2017-08-21 12:36:04 -03:00
Rémi Verschelde
93f1fb1c2f
Fixes for new two-dash long command line arguments
...
- Fixes some single-dash leftovers that were missed in the previous commit
- Reorder the help output for clarity, and document missing options
- Drop obsolete options: --noop, --pack, --editor-scene, --level, --import, --import-script, --no-quit
- Improve error message on malformed arguments and do not display help on error
- Always use long form of arguments when starting a new Godot process from C++, for clarity and easy grepping
- Cleanup obsolete code here and there
2017-08-21 08:09:22 +02:00
Juan Linietsky
b9dcebb37c
Revert "Second take at making command-line arguments more UNIX-like + main.cpp and help cleanup"
2017-08-19 17:47:27 -03:00
Rémi Verschelde
70b0857f6c
Fixes for new two-dash long command line arguments
...
- Fixes some single-dash leftovers that were missed in the previous commit
- Reorder the help output for clarity, and document missing options
- Drop obsolete options: --noop, --pack, --editor-scene, --level, --import, --import-script, --no-quit
- Improve error message on malformed arguments and do not display help on error
- Cleanup obsolete code here and there
2017-08-19 16:48:11 +02:00
Zher Huei Lee
e3e2f06324
Replacement of internal RegEx with PCRE2
...
The pattern and replacement matching behaviour has been changed purely
due to the nature of switching to a standards-compliant library.
One mistake in the previous behaviour was that named groups didn't have
a number. This has been corrected.
As names are actually just an alias of numbered groups,
RegExMatch::get_name_dict() is now get_names() and is a dict
referring to the group number it represents.
Duplicate names are enabled and the with the first matching instance
used.
Due the lack of a suitable equivalent in PCRE2, RegExMatch::expand() was
removed.
2017-08-19 19:29:14 +08:00
Richard Adenling
398e0930dc
Set the X11 class hint before mapping the window
...
Setting the class hint before mapping the window will allow some
window managers to determine if a window should be treated specially.
This is also in accordance with the ICCCM spec which says that
WM_CLASS should only be changed when a window is in a
withdrawn (unmapped) state.
Fixes #10429
2017-08-19 00:16:46 +02:00
Rémi Verschelde
6afa087596
Windows: Drop support for obsolete MinGW
...
The version we support is MinGW-w64: https://sourceforge.net/p/mingw-w64
The old original MinGW from which it was forked (https://sourceforge.net/projects/mingw ),
is no longer maintained and useless for us.
Fixes #10396 .
2017-08-18 21:46:46 +02:00
Rémi Verschelde
2ed87f33cf
Workaround missing WM_TOUCH on mingw-w64 < 4.0
...
Upstream bug report: https://sourceforge.net/p/mingw-w64/bugs/460/
2017-08-18 21:05:19 +02:00
Rémi Verschelde
3b553377c7
Windows: Drop support for Vista (0x0600)
...
We need the efficient SRWLock methods which are not supported on Vista,
and loading them dynamically while providing fallbacks is not worth the
effort. Closes #10243 .
Sorry Vista users... As you are running a supported which is no longer
supported by Microsoft (https://support.microsoft.com/en-us/help/13853/windows-lifecycle-fact-sheet ),
we can only encourage you to upgrade to a more recent version if you can,
or switch to Linux, which should give your old hardware a new youth.
2017-08-18 19:50:24 +02:00
Marcelo Fernandez
eab850524e
Add closest_power_of_2 func and implement mix_rate/latency on OS X
2017-08-17 19:51:13 -03:00
Wilson E. Alvarez
bde864cd30
Removed unused variable
2017-08-17 11:43:44 -04:00
Marcelo Fernandez
aae29c7a0e
Added notification const NOTIFICATION_WM_ABOUT
2017-08-17 11:28:45 -03:00
TwistedTwigleg
00f6c85928
Synchronize parameter names in definition and declaration
...
Fixes #10244 .
2017-08-16 17:22:23 +02:00
Rémi Verschelde
a8207b2dc7
Merge pull request #10264 from Rubonnek/use-const-reference
...
Use const reference where favorable
2017-08-16 16:41:35 +02:00
Marcelo Fernandez
51f9bbc556
Fix get_screen_* funcs returning old values after resolution changes on Windows
2017-08-14 14:49:36 -03:00
Wilson E. Alvarez
21d281c4a9
Use const reference where favorable
2017-08-14 13:28:06 -04:00
Rémi Verschelde
5cb09d31d8
Merge pull request #10142 from bruvzg/3.0-osx-ime
...
Add IME support (macOS)
2017-08-11 10:35:10 +02:00
Ignacio Etcheverry
2f290038d6
Removes type information from method binds
2017-08-10 07:17:50 +02:00
bruvzg
8aa86cb9bc
Implement NSTextInputClient protocol for IME
2017-08-09 19:09:33 +03:00
toger5
2286037bc3
removed calls to cursor_set_visible on all platforms fixes #10167
2017-08-08 14:04:22 +02:00
Rémi Verschelde
3121b3a4f4
Merge pull request #10141 from ISylvox/lower_case_godot_api
...
Makes all Godot API's Methods lower_case
2017-08-07 14:59:39 +02:00
Rémi Verschelde
b0dfec77c2
Merge pull request #10127 from bruvzg/3.0-osx-logging
...
Duplicate error messages to macOS logging system (Console.app)
2017-08-07 14:58:25 +02:00
Rémi Verschelde
19231aa80f
Merge pull request #10106 from BastiaanOlij/ios_fix_buttons
...
iOS copy touch coordinate as is
2017-08-07 14:50:47 +02:00
Rémi Verschelde
6d213909cb
Merge pull request #10105 from eska014/html5-touch-hint
...
Implement OS.has_touchscreen_ui_hint() in HTML5 platform
2017-08-07 14:49:33 +02:00
Rémi Verschelde
4775d07977
Merge pull request #10104 from eska014/canvas-mgmt
...
Improve HTML5 canvas management
2017-08-07 14:49:16 +02:00
Rémi Verschelde
ae88eb5b50
Merge pull request #10099 from bruvzg/3.0-fix-osx-warp_mouse_pos
...
Fix warp_mouse_pos on macOS
2017-08-07 14:47:54 +02:00
Indah Sylvia
5ae78fdf6a
Makes all Godot API's methods Lower Case
2017-08-07 18:24:35 +07:00
Rémi Verschelde
2bb8ab7b89
Merge pull request #10045 from marcelofg55/audioserver_finish
...
Fix double finalisation of audio drivers
2017-08-07 11:11:03 +02:00
George Marques
d9a97aae04
UWP: Add Gamepad vibration support
2017-08-07 00:09:18 -03:00
George Marques
f89f9f0094
UWP: Fix Gamepad removal logic
...
Fix #9209
2017-08-07 00:07:19 -03:00
bruvzg
68bf243461
Duplicate error messages to macOS logging system
2017-08-06 21:55:30 +03:00
Bojidar Marinov
7b7c7c8dc0
Rename KEY_RETURN to KEY_ENTER and KEY_ENTER to KEY_KP_ENTER
...
Closes #7695
2017-08-06 16:26:07 +03:00
BastiaanOlij
18dc9d1d5a
Copy point into mouse event as is
2017-08-05 17:31:29 +10:00
L. Krause
bd48f210a1
Improve HTML5 canvas management
...
- set_window_maximized hides page content
- Fix sporadic full-screen render-size bug in Chromium
- Smoother resizing for maximized canvas
2017-08-05 05:27:58 +02:00
bruvzg
0ed3da8e2a
Fix warp_mouse_pos on macOS
2017-08-04 23:43:32 +03:00
Rémi Verschelde
7ac50b523b
Merge pull request #9976 from ISylvox/update-gradle-android-master
...
[3.0] Update Gradle-Android buildtool
2017-08-04 09:45:19 +02:00
Marcelo Fernandez
1ca107a057
Fix double finalisation of audio drivers
2017-08-02 11:45:19 -03:00
Rémi Verschelde
edd69de1fd
Merge pull request #9838 from RandomShaper/android-arm64
...
Add support for ARMv8 (64-bit) on Android
2017-08-01 22:24:31 +02:00
Rémi Verschelde
878f34d1e1
Merge pull request #9886 from bruvzg/3.0-win-num-enter-fix
...
Fix Numpad Enter key on Windows (3.0)
2017-07-31 22:59:24 +02:00
Rémi Verschelde
76005a8e75
Style: Apply clang-format on all files
...
Thus fixing some invalid changes that had still made it to the master branch.
2017-07-30 22:53:40 +02:00
Marcelo Fernandez
76821bbb47
Fix mutex initialisation in OS X Audio Driver
2017-07-30 16:35:08 -03:00
Rémi Verschelde
263452ee91
Merge pull request #9960 from marcelofg55/master
...
Fix get_screen_* funcs returning old values after resolution changes on OS X
2017-07-30 20:59:04 +02:00
ISylvox
0d8556a7f0
update gradle-android buildtool for master
2017-07-30 11:30:20 +07:00
Marcelo Fernandez
abbf821ddf
Fix get_screen_* funcs returning old values after resolution changes on OS X
2017-07-28 18:08:57 -03:00
bruvzg
d18922a56e
Change display scale when moving the window from monitor to monitor
2017-07-28 20:17:19 +03:00
Rémi Verschelde
d9b4969c18
Merge pull request #9921 from RandomShaper/fix-android-debug
...
Fix Android debug/run
2017-07-28 11:15:40 +02:00
Rémi Verschelde
a7b35edf7b
Merge pull request #9874 from bruvzg/3.0-osx-menu
...
Add macOS main menu (3.0)
2017-07-28 11:05:05 +02:00
Rémi Verschelde
5caf9d0d08
Merge pull request #9876 from bruvzg/3.0-resize-fix
...
Improved macOS window resizing behaviour (3.0)
2017-07-28 11:02:28 +02:00
L. Krause
0c693595d6
Implement touch-screen check in HTML5 platform
2017-07-28 05:39:25 +02:00
Pedro J. Estébanez
c8d1457898
Fix Android debug/run
...
- Prefix all __adb__ commands with device specification to avoid errors when multiple devices connected.
- Include Android release in device data collection.
- Force system user:.
- Ability to enable/disable.
- Apply only if OS release >= 17 (when multiuser was introduced.
- Fix argument passing.
- Rename local variable `port` to `dbg_port` to better match its partner `fs_port`.
- Fix typo in error message.
2017-07-27 17:32:39 +02:00
Karroffel
135c2112ad
added an optional parameter to OS symbol lookup
...
When looking up a symbol from a library, previously an error was
shown when the symbol did not exist. That caused confusion when the
lookup was completely optional.
This adds a new parameter to that method so that those errors can
be handled manually if needed.
2017-07-27 11:13:21 +02:00
bruvzg
3220fee6b2
Fix is_window_fullscreen() and set_window_fullscreen() behaviour after window has entered/left full-screen mode via green zoom button.
...
Fix get/set_current_screen & set_window_maximized.
2017-07-27 10:05:33 +03:00
bruvzg
f98a203377
Add macOS main menu
2017-07-27 10:05:29 +03:00
Rémi Verschelde
411f09a512
Merge pull request #9887 from StraToN/power-fix-x11
...
Fix power management on x11 platform and removes explicit NULL pointer dereference
2017-07-27 08:53:27 +02:00
Rémi Verschelde
6645c7cc18
Merge pull request #9872 from bruvzg/3.0-num-enter-fix
...
Remove duplicate keycode constant for Numpad Enter key (3.0)
2017-07-27 08:52:52 +02:00
Julian Murgia
71dcb7fcc4
Fixes power management on x11 platform and removes explicit NULL pointer dereference.
2017-07-26 23:29:51 +02:00
bruvzg
66d3022516
Fix Numpad Enter key on Windows
2017-07-26 21:35:54 +03:00
bruvzg
1c1565d0f9
Improved macOS window resizing behaviour.
2017-07-26 16:29:48 +03:00
bruvzg
7de7ca8ae4
Remove duplicate keycode constant for Numpad Enter key.
2017-07-26 14:43:02 +03:00
BastiaanOlij
20502d9180
Added features for image formats
2017-07-26 21:01:48 +10:00
Rémi Verschelde
f55211ae0d
Merge pull request #9823 from BastiaanOlij/ios_fix_framebuffer_order
...
Fixed setting our system_fbo framebuffer
2017-07-26 07:51:20 +02:00
Rémi Verschelde
9f768cb519
Make MinGW test less verbose on non-Bash shells
...
The &> construct seems to be Bash-specific.
Supersedes #9755 .
2017-07-25 20:44:44 +02:00
Pedro J. Estébanez
f78299c81b
Add support for ARMv8 (64-bit) on Android
2017-07-25 12:28:46 +02:00
Rémi Verschelde
7cbe12725e
Merge pull request #9825 from RandomShaper/rename-android-define
...
Remove ANDROID define
2017-07-25 11:35:08 +02:00
Pedro J. Estébanez
6ea233434a
Remove ANDROID define
...
Fixes GDNative build error on Android.
It's also discouraged by Google to rely on it. In case someone needs to check, use ``__ANDROID__`` instead, provided by the very same compiler.
2017-07-25 11:08:52 +02:00
Jia Wang
2f5b7f8777
Workaround to allow pasting unicode characters from X selection.
...
Fixes #2491 .
Fixes #9787 .
2017-07-25 08:00:48 +08:00
BastiaanOlij
3bfdc583cb
Fixed setting our system_fbo framebuffer
2017-07-25 08:29:48 +10:00
Marcelo Fernandez
2c27501c3f
Fix Right-Click (Ctrl-Click) on OS X
2017-07-23 12:45:59 -03:00
Rémi Verschelde
38c471bef6
Merge pull request #9765 from Noshyaar/pr-clang
...
Clang-formatting *.cpp and *.h (some files excluded)
2017-07-23 13:16:48 +02:00
Rémi Verschelde
401f1098f6
Merge pull request #9770 from eska014/html5-focus
...
Implement input focus behavior in HTML5
2017-07-23 13:13:09 +02:00
Rémi Verschelde
e5aa8546ec
Merge pull request #9713 from marcelofg55/master
...
Fix for possible crash in OS X audio init.
2017-07-23 13:05:49 +02:00
Juan Linietsky
772485cdb3
Several changes to better run in mobile.
2017-07-22 14:08:17 -03:00
L. Krause
ca28c068c0
Implement input focus behavior in HTML5
...
- Key and mouse events are only consumed if canvas is focused
- NOTIFICATION_WM_MOUSE_ENTER, _MOUSE_EXIT, _FOCUS_IN and _FOCUS_OUT are
emitted
2017-07-22 17:25:15 +02:00
Poommetee Ketson
c7c65ca6ba
Clang-formatting *.cpp and *.h (some files excluded)
2017-07-22 18:14:08 +07:00
Juan Linietsky
25678b1876
-Renamed GlobalConfig to ProjectSettings, makes more sense.
...
-Added system for feature overrides, it's pretty cool :)
2017-07-19 17:06:03 -03:00
Ruslan Mustakov
fbb27a0c43
Fix android export templates build
...
This commit fixes errors occurring during Android export template
builds.
This required modification in third-party library (libpng) to compile
with NEON. Most likely a similar patch will be applied by them and we
could then replace the modified version.
2017-07-20 01:58:47 +07:00
Marcelo Fernandez
bbc207675f
Fix for possible crash in OS X audio init.
2017-07-19 11:05:51 -03:00
geequlim
5a2500f580
Fix errors with global config names no more sorrys please
2017-07-19 09:25:50 +08:00
Juan Linietsky
bbada82f80
-Reorganized all properties of project settings (Sorry, Again).
...
(Lot's of bloat accumulated, so it was time for clean up.)
-Made EditorSettings and ProjectSettings search more useful (search in sections too)
2017-07-17 22:18:58 -03:00
Rémi Verschelde
1c1d43ef21
Merge pull request #9668 from marcelofg55/master
...
Reinit audio device when the system default device changes on OS X
2017-07-17 22:29:17 +02:00
Rémi Verschelde
80b2a47022
Merge pull request #9669 from eska014/html5-implicit-cache
...
Fix zipping HTML5 templates when using SCons' implicit cache
2017-07-17 12:04:18 +02:00
Marcelo Fernandez
764f607611
Reinit audio device when the system default device changes on OS X
2017-07-16 23:35:23 -03:00
L. Krause
69e0dee983
Fix zipping HTML5 templates when using implicit cache
2017-07-17 03:53:31 +02:00
Rémi Verschelde
9a502d3c17
Merge pull request #9619 from marcelofg55/master
...
Fix fullscreen on X11 for non-resizable windows
2017-07-13 20:31:33 +02:00
Marcelo Fernandez
11dbca419c
Fix fullscreen on X11 for non-resizable windows
2017-07-13 13:08:38 -03:00
George Marques
53026c069d
Bring back the UWP exporter
2017-07-12 16:31:48 -03:00
George Marques
f55fff3528
UWP: Fix problem with Cert Kit validation
2017-07-12 01:24:07 -03:00
geequlim
7358766ff6
IME window follow the input cursor.
...
Abstruct set_ime_position to OS class.
Update ime position for LineEdit and TextEdit.
2017-07-11 18:36:20 +08:00
Marcelo Fernandez
8bd002edc1
Fixed issues with borderless windows on Windows
2017-07-09 21:48:22 -03:00
Poommetee Ketson
2fd204c35e
Refactor 'treshold' to 'threshold'
2017-07-08 22:24:56 +07:00
BastiaanOlij
ae544b227e
Only execute chmod exporting iOS when on Mac OS X
2017-07-08 21:32:02 +10:00
Rémi Verschelde
79992a4a72
Merge pull request #9515 from marcelofg55/master
...
Implemented borderless window functions on Linux.
2017-07-08 11:02:29 +02:00
Rémi Verschelde
0023e8d33a
Merge pull request #9512 from BastiaanOlij/osx_export_fix_typo
...
Fix typo in plist export for OSX export
2017-07-08 11:01:19 +02:00
Marcelo Fernandez
c3563b266f
Implemented borderless window functions on Linux.
2017-07-05 12:19:24 -03:00
BastiaanOlij
e735963182
Fix typo in plist export
2017-07-06 00:14:05 +10:00
BastiaanOlij
ef447c2d84
iPhone exporter
2017-07-06 00:01:21 +10:00
Rémi Verschelde
5a48b428fd
Merge pull request #9476 from marcelofg55/master
...
Implemented borderless fullscreen code on OSX.
2017-07-05 10:51:55 +02:00
Rémi Verschelde
a2586a2119
Merge pull request #9396 from sowfelicity/x11-ime-echo
...
Workaround for IME and echo events on Linux (fixes #29 #7106 #9381 ):
2017-07-03 23:48:57 +02:00
Rémi Verschelde
5c1995ef49
Merge pull request #9468 from BastiaanOlij/osx_export_dmg
...
On OSX export to DMG and optionally code sign the app bundle
2017-07-03 23:25:43 +02:00
Marcelo Fernandez
a9c5895c16
Implemented borderless fullscreen code on OSX.
2017-07-02 23:40:44 -03:00
BastiaanOlij
7ddf3d6cc4
On OSX export to DMG and optionally code sign the app bundle
2017-07-02 21:23:33 +10:00
Rémi Verschelde
e91a267a7c
Buildsystem: Improve detect.py readability and fix issues
...
Tried to organize the configure(env) calls in sections, using the same order
for all platforms whenever possible.
Apart from cosmetic changes, the following issues were fixed:
- Android: cleanup linkage, remove GLESv1_CM and GLESv2
- iPhone: Remove obsolete "ios_gles22_override" option
- OSX:
* Fix bits detection (default to 64) and remove obsolete "force_64_bits" option
(closes #9449 )
* Make "fat" bits argument explicit
- Server: sync with X11
- Windows: clean up old DirectX 9 stuff
- X11:
* Do not require system OpenSSL for building (closes #9443 )
* Fix typo'ed use_leak_sanitizer option
* Fix .llvm suffix overriding custom extra_suffix
2017-07-01 08:20:51 +02:00
Jia Wang
098a888ec0
Workaround for IME and echo events on Linux:
...
Request detectable auto-repeat (Require XKB extension) to support
echo events and IME at the same time. Fixes #29 , #7106 and #9381 .
2017-06-29 19:26:06 +08:00
Rémi Verschelde
82298e989a
Merge pull request #9416 from marcelofg55/master
...
Implemented borderless window code for OSX.
2017-06-28 07:51:52 +02:00
Marcelo Fernandez
fd7976ddd7
Implemented borderless window code for OSX.
2017-06-27 16:57:28 -03:00
L. Krause
a2fd89bbe2
Hide HTML5 native-run icon without runnable preset
2017-06-27 21:06:43 +02:00
L. Krause
92367968e7
Use custom native-run icons for Android and HTML5
2017-06-27 21:06:26 +02:00
Juan Linietsky
e79e135841
Revert "Workaround for IME on Linux."
2017-06-25 20:09:16 -03:00
Rémi Verschelde
87fd71244b
Merge pull request #9334 from Noshyaar/pr-genh
...
BuildSystem: generated files have .gen.extension
2017-06-25 11:08:36 +02:00
Poommetee Ketson
e3998528e0
BuildSystem: generated files have .gen.extension
2017-06-25 07:55:01 +07:00
Jia Wang
41029eb1f0
Workaround for IME on Linux( fixes #29 #7106 ):
...
Workaround for supporting input method frameworks like SCIM,
IBus, Fcitx, etc.
The locale is set when the application starts.
Workaround for input when the input context within the specified
input method is not available.
2017-06-25 08:17:56 +08:00
Juan Linietsky
683f50bef4
Merge pull request #9312 from BastiaanOlij/osx_export
...
Osx export
2017-06-23 23:22:51 -03:00
BastiaanOlij
5b44f092f9
Reimplement export module for OSX
2017-06-23 00:01:55 +10:00
Hugo Locurcio
9444e8056a
Make the Windows icon file smaller
...
This results in slightly more compact Godot Windows binaries.
2017-06-20 14:38:50 +02:00
L. Krause
6f17d41bcf
Update HTML5 platform for new InputEvents
2017-06-19 15:43:46 +02:00
Rémi Verschelde
0a339f14a8
Merge pull request #9198 from vnen/fix-wheel-pos
...
Fix MouseWheel position on Windows
2017-06-15 18:45:22 +02:00
George Marques
dd2b7ef747
Fix MouseWheel position on Windows
2017-06-15 13:34:57 -03:00
Rémi Verschelde
5077d2d28d
Merge pull request #9140 from ageazrael/bug-fix
...
Fixed middle mouse button can't bounce in macOS
2017-06-15 16:22:07 +02:00
Rémi Verschelde
dc6642bc13
Merge pull request #9102 from Faless/debugger_listen_show_error
...
Editor now shows error when debug port is in use
2017-06-15 00:08:44 +02:00
ageazrael
109ad227d3
Used in the macOS HiDPI options window is too small
2017-06-13 09:54:55 +08:00
ageazrael
b3accab62d
Fixed middle mouse button can't bounce in macOS
2017-06-13 09:27:49 +08:00
George Marques
43bcb73b22
UWP: InputEvent: Renamed "pos" property to "position"
...
To comply with the changes from #9031 .
2017-06-12 11:49:28 -03:00
Fabio Alessandrelli
b76275ab12
Fix `network/debug/remote_port` editor setting not working properly
2017-06-10 23:34:35 +02:00
Juan Linietsky
bcc435094d
Restired multithread support in OSX and Windows, should stop the crashes.
2017-06-10 10:15:33 -03:00
Juan Linietsky
612ab8fcdb
-Restored multithread capability to VisualServer
...
-Restored resource previews!
2017-06-09 00:24:18 -03:00
Rémi Verschelde
71c7dcab65
Merge pull request #8949 from RandomShaper/improve-mobile-builds
...
Improve/harmonize mobile builds
2017-06-08 07:41:06 +02:00
Rémi Verschelde
e2d70166fe
Merge pull request #9082 from themindoverall/pr-fix-android-build
...
Fix InputEvent-related Android build issues
2017-06-07 07:58:50 +02:00