Fabio Alessandrelli
43d992fc34
Implement TCP Server bind address
...
(cherry picked from commit b2839343ca
)
2017-03-22 20:25:52 +01:00
Fabio Alessandrelli
603105df18
Convert validity checks of IP_Address to is_valid method.
...
(cherry picked from commit 98a7e2b4e0
)
2017-03-22 20:01:41 +01:00
Fabio Alessandrelli
aeffe74a27
Avoid calling close when polling a UDP peer without socket
...
(cherry picked from commit e4b9b37ccf
)
2017-03-22 20:01:13 +01:00
Fabio Alessandrelli
ccf37c4ca2
TCP connect always opens correct socket type
...
TCP client connections does not need to rely on ipv6 dual stack sockets
(cherry picked from commit 55b4f3686d
)
2017-03-22 15:40:31 +01:00
BastiaanOlij
4b7d1d8c15
Fixing magnetometer on iOS
2017-03-21 23:50:53 +11:00
BastiaanOlij
cc6810c030
Android gravity vector Godot 2.1
2017-03-21 22:45:24 +11:00
Andreas Haas
c5c546fb7f
X11: Don't reset mouse cursor theme.
...
On KDE (and possibly others) the "default" cursor theme is actually some system default, not the one you've set in the desktop setting.
This was especially annoying when using a white cursor, as Godot would then reset back to a dark one.
In my case it was also keeping the cursor from changing its shape.
(cherry picked from commit fc84ccc468
)
2017-03-19 00:44:22 +01:00
Ramesh Mani Maran
f2f2369db8
android: adding classpath and gradle plugins
...
(cherry picked from commit 27c7d253aa
)
2017-03-19 00:44:13 +01:00
denis
e3e86567ba
Update mouse position on touch and release events (Android)
...
(cherry picked from commit 55835167a4
)
2017-03-19 00:42:58 +01:00
Rémi Verschelde
f8db8a3faa
Bring that Whole New World to the Old Continent too
...
Applies the clang-format style to the 2.1 branch as done for master in
5dbf1809c6
.
2017-03-19 00:36:26 +01:00
Rémi Verschelde
1b0e2b0c39
Refactoring: rename tools/editor/ to editor/
...
The other subfolders of tools/ had already been moved to either
editor/, misc/ or thirdparty/, so the hiding the editor code that
deep was no longer meaningful.
(Manual redo of 49c065d29c
)
2017-03-18 23:45:45 +01:00
Rémi Verschelde
16b78da941
Style: Various fixes to play nice with clang-format
...
(cherry picked from commit 2a0ddc1e89
)
2017-03-18 23:13:47 +01:00
Rémi Verschelde
2d479aa0c6
Style: Prevent clang-format on JS code
...
(cherry picked from commit 39114178a0
)
2017-03-18 22:52:28 +01:00
Rémi Verschelde
dbf0137576
Style: Fix statements ending with ';;'
...
(cherry picked from commit f44ee891be
)
2017-03-18 21:14:33 +01:00
Rémi Verschelde
9992509b0d
iphone: Drop unused Appirater thirdparty API
...
(cherry picked from commit 481e511082
)
2017-03-18 20:22:23 +01:00
Ramesh Mani Maran
9b26e9c9ac
support for multiple maven url
...
(cherry picked from commit aa7490ffd0
)
2017-03-18 20:21:49 +01:00
Shlomi Fish
cb2cdce6b8
Fix failing build on mageia v6 x64 linux.
...
There was an error about undeclared malloc()+free().
(cherry picked from commit 0ef3d22d98
)
2017-03-18 20:19:57 +01:00
Ignacio Etcheverry
77cb8f058d
Replace misuse of list iteration
...
(cherry picked from commit 0cd309c5c7
)
2017-03-18 20:13:17 +01:00
Hein-Pieter van Braam
dffdf28349
X11 return to cwd at exit
...
During runtime godot calls chdir() several times. This doesn't really
matter normally but when using tools such as gprof the location of the
profiling data is kind of hard to intuit.
With this PR we simply store the current working directory at start and
restore it once we're almost done exiting.
This doesn't use the OS abstractions as when we need to get the current
workdir we haven't yet initialized it (by necessity). This would break
if we tried to build X11 for windows, but since the X11 target is
hardcoded to use the UNIX abstractions I don't think it matters.
(cherry picked from commit d0c2015fe1
)
2017-03-18 20:12:42 +01:00
Brett-Mitchell
616850b3c0
Fix for issue #7766
...
Add initialization for OS_OSX.mouse_mode in OS_OSX::OS_OSX(). mouse_mode now defaults to OS::MOUSE_MODE_VISIBLE.
(cherry picked from commit 6921e11805
)
2017-03-18 20:09:45 +01:00
Saracen
919c1d627f
Fix glitches when sampling relative cursor data in CAPTURED mouse mode on Windows.
...
(cherry picked from commit 523b69771b
)
2017-03-18 20:06:40 +01:00
marcelofg55
97fef612fb
Fix issues with set_window_resizable on x11
...
(cherry picked from commit 474e3ac055
)
2017-03-18 19:56:16 +01:00
Ferenc Arn
5e90183ba4
Use -Ofast on x11. Also introduced use_lto option.
...
debug_release doesn't turn off optimizations for release target now. Ensure that sanitizer options apply to both C and C++ files.
Built-in optimization/debug flags are prepended such that user-specified flags can override them.
Based on and around the discussion in PR #5194 .
(cherry picked from commit 7a85d25218
)
2017-03-18 19:52:35 +01:00
Fabio Alessandrelli
b9451ce58d
Fix gibberish output for windows/mingw.
...
%ls should be used instead of %s or %S to speficy narrow/wide charstring
in wprintf fwprintf
Fixes #6252
(cherry picked from commit 3df934acad
)
2017-03-18 19:42:21 +01:00
Jerome67000
ab7faa1281
#7215 try to fix adb bad targeting user on device
...
(cherry picked from commit 8c19a6cb85
)
2017-03-18 19:41:37 +01:00
Jesper Bækdahl
e5f0183b0a
x11: don't wait for window to be mapped
...
(cherry picked from commit 8f7a3884fd
)
2017-03-18 19:29:46 +01:00
BastiaanOlij
8436a34305
Core motion for Godot 2.x (based on PR 7127)
2017-03-09 21:46:38 +11:00
eska
9518401100
Add window features in web export
...
- Add 'window' (canvas) resize, maximize and fullscreen
- Implement get_screen_size
- Fix fullscreen resolution
(cherry picked from commit 3e1b437315
)
2017-03-07 14:11:00 +01:00
eska
d34c530a7f
Revert "Add fullscreen features in web export"
...
This reverts commit 17422f1f86
.
2017-03-07 14:11:00 +01:00
volzhs
c8edf071da
Fix handling input for Android
2017-03-04 00:12:35 +09:00
Pedro J. Estébanez
fec41c528c
Fix resources for Android modules not being merged
...
Fixes #7421
2017-01-24 16:29:09 +01:00
Fabio Alessandrelli
8322c1aa64
Fix bug in windows TCP poll function
...
Bug introduced when implementing TCP disconnection detection.
(too much yank-paste).
Fixes #7545
(cherry picked from commit c356ec5e8b
)
2017-01-16 15:51:43 +01:00
Fabio Alessandrelli
9c8ecb45f8
Improvements to scons defined WINVER/_WIN32_WINNT
...
(cherry picked from commit 65483d57bf
)
2017-01-12 19:15:30 +01:00
Ignacio Etcheverry
8a5596322d
Detect bits when building with MinGW
...
(cherry picked from commit 460f030b73
)
2017-01-12 19:15:30 +01:00
Rémi Verschelde
d66740175e
Windows: Define _WIN32_WINRT to 0x0600 (Vista)
...
Passed as a compiler define to be sure it is always define before windows.h
is loaded. This means that Godot officially requires Vista API or later, it will
not work on Windows XP or earlier.
Also fix a bogus check for Windows 7 API.
(cherry picked from commit 6323779596
)
2017-01-12 19:15:30 +01:00
Rémi Verschelde
5672852351
x11: Improve logic for cross-dependencies between freetype, zlib and libpng
...
Fixes #7373 .
(cherry picked from commit d945c4e58e
)
2017-01-12 19:15:30 +01:00
Rémi Verschelde
d8223ffa75
Welcome in 2017, dear changelog reader!
...
That year should bring the long-awaited OpenGL ES 3.0 compatible renderer
with state-of-the-art rendering techniques tuned to work as low as middle
end handheld devices - without compromising with the possibilities given
for higher end desktop games of course. Great times ahead for the Godot
community and the gamers that will play our games!
(cherry picked from commit c7bc44d5ad
)
2017-01-12 19:15:30 +01:00
Gustav Lund
f10a78e5c0
fix for crash when no ALSA or Pulse installed on linux
...
(cherry picked from commit 2495e8a941
)
2017-01-12 19:15:27 +01:00
Rémi Verschelde
5b27f05e7e
Fix console output for MinGW compilers
...
Reworked patch from @jay3d (#7116 ).
(cherry picked from commit f28ff8a208
)
2017-01-12 19:15:27 +01:00
volzhs
2e74bdab35
Add alert window on Android
...
(cherry picked from commit 9a20068ab7
)
2017-01-12 19:15:26 +01:00
BastiaanOlij
ef009a8b91
Set minimum version to 10.9 building OSX
...
(cherry picked from commit da5651fbb9
)
2017-01-12 19:15:26 +01:00
Fabio Alessandrelli
00fdcf3cd0
IP_Address now handle IPv4 and IPv6 transparently
...
IP_Address changes:
- Converts to and from String transparently while handling IPv4 as IPv6
mapped (::ffff:[IP]) address internally.
- Completely remove AddrType enum.
- Setting/Getting of ip array is now only possible through dedicated functions
(ie. set_ipv4, get_ipv4, set_ipv6, get_ipv6)
- Add function to know if the address is a valid IPv4 (for IP implementation and enet)
(cherry picked from commit 1aff508dd9
)
2017-01-04 00:46:33 +01:00
Fabio Alessandrelli
e8a6cbc897
Migrate int.IP_TYPE_ constants to IP.TYPE_
...
(cherry picked from commit c18c5013f8
)
2017-01-04 00:46:32 +01:00
Fabio Alessandrelli
47ae6c6507
Move V6ONLY flag selection inside helpers
...
(cherry picked from commit 4d90a4fcd5
)
2017-01-04 00:46:32 +01:00
Fabio Alessandrelli
5e79ac72b7
Automatically map IPv4 address to IPv6 when needed
...
(cherry picked from commit 9200da58e4
)
2017-01-04 00:46:32 +01:00
Fabio Alessandrelli
a46a643f90
Use an instance variable for ip_type in raw sockets
...
PacketPeerUDP/StreamPeerTCP/TCP_Server now uses an instance variable
to store the selected ip_type (IPv4/IPv6/ANY, where ANY = dual stack).
All calls to resolve addresses, sending/receving data, connecting/listening
will use that socket type.
(cherry picked from commit 95bdd97768
)
2017-01-04 00:46:32 +01:00
Fabio Alessandrelli
c030e602e5
Properly handle tcp connection failure
...
(cherry picked from commit 4f07b595a1
)
2017-01-04 00:46:32 +01:00
Fabio Alessandrelli
1a7f14b206
[IPv6] Fix windows build script (link to ws2_32)
2016-12-11 18:12:46 +01:00
Fabio Alessandrelli
754e9aa60a
TCP/UDP Listen sockets can now be set to IPv6 only
...
(cherry picked from commit eb27e993f0
)
2016-12-11 18:12:46 +01:00
Fabio Alessandrelli
70a6791150
Fix windows debugger connection problems.
...
Unify network socket creation between platform.
Ensure IPV6_V6ONLY flag is not set on sockets (allow IPv4 connection in IPv6 socket, dual-stack).
(cherry picked from commit 812908e236
)
2016-12-11 18:12:45 +01:00
Fabio Alessandrelli
6e0de0cce8
TCPServer listen now default to IP type ANY (v6 socket with v4 support)
...
(cherry picked from commit ee69bd81cf
)
2016-12-11 18:12:45 +01:00
Fabio Alessandrelli
04def2161e
Fix PacketPeerUDP get_packet_port()
...
Properly convert port field from network to system ordering on incoming packets.
(cherry picked from commit 25e29972a9
)
2016-12-11 18:12:45 +01:00
Fabio Alessandrelli
b3443fd848
Pass correct address size (ipv4,ipv6) to socket connect, bind, sendto
...
The address size passed to network system calls now reflects the the actual IP type (v4 or v6).
Fix Windows and OSX ipv6 sockets
(cherry picked from commit 80e911647c
)
2016-12-11 12:35:06 +01:00
Ariel Manzur
d8b0070b8c
added windows support for ipv6, cleaned up unix code
...
(cherry picked from commit 672225b710
)
2016-12-11 12:35:06 +01:00
eska
5ede1a1226
Emit asm.js code into a dedicated file for asm.js export
...
This helps prevent browser lockups during start-up at the cost of having
to distribute an extra file.
2016-12-04 02:52:14 +01:00
eska
17422f1f86
Add fullscreen features in web export
...
- Implement fullscreen control, get_window_size, get_screen_size
- Fix fullscreen resolution
2016-12-04 02:52:14 +01:00
eska
49e22aa83f
Fix some mouse bugs in WebAssembly/asm.js
...
- Emit mouse wheel release events
- Set button masks, fixes #5092
2016-12-03 15:33:59 +01:00
eska
6d86a63648
OS additions and fixes for WebAssembly/asm.js
...
- Implement alert, shell_open, set_window_title
- Add locale lookup, fixes #2477
- Print without color control sequences
- Move get_executable_path implementation to OS_JavaScript
2016-12-03 15:33:32 +01:00
Rémi Verschelde
a3582fa3cb
png: Allow building shared freetype with bundled libpng
...
This was the behaviour when building Godot 2.1, which allows to build against
Ubuntu 12.04 and its freetype that links old libpng12, while still bundling
libpng16.
(cherry picked from commit 4965ddfaa1
)
2016-11-19 14:09:12 +01:00
Rémi Verschelde
326978dcce
Revert "libpng: Fix erroneously linking against libpng12 on old distros"
...
This reverts commits 5fa1bb331a
and ec4be71fad
.
Looks like Debian/Ubuntu are not even shipping libpng16 nowadays in their
stable releases, we'll have to go back to statically linking our own
libpng16 to wait for them to stop being 5 years behind everybody.
(cherry picked from commit c32766a482
)
2016-11-19 13:40:53 +01:00
Rémi Verschelde
76233a3022
libpng: Same fix as previous commit for server platform
...
(cherry picked from commit ec4be71fad
)
2016-11-19 13:26:30 +01:00
Rémi Verschelde
220bcbf7c0
libpng: Fix erroneously linking against libpng12 on old distros
...
This bit us for 2.1.1 binaries built on Ubuntu 12.04 LTS where
libpng.pc apparently prioritizes libpng12.
(cherry picked from commit 5fa1bb331a
)
2016-11-19 13:00:17 +01:00
Pedro J. Estébanez
19ce11b908
Update/fix Android build
...
Fix wrong path for 32-bit Windows, which fixes #7084
Exclude 32-bit Windows from multi-threaded linking because it's not supported by the NDK
Remove 32-bit Linux as there is no NDK variant for it
(cherry picked from commit 5a26459c06
)
2016-11-15 08:44:53 +01:00
Pedro J. Estébanez
221346521c
Make Android export quicker (especially on Windows)
...
(cherry picked from commit 56721e5d9d
)
2016-11-15 08:35:15 +01:00
volzhs
3e127ce3fd
Fix Directory.dir_exist/get_current_dir for 'res://' on Android
...
Fix #7014
(cherry picked from commit 8d454ed9a7
)
2016-11-15 08:34:51 +01:00
ISylvox
0413d85add
vsnc --> vsync
...
(cherry picked from commit b5c383fd61
)
2016-11-15 08:34:43 +01:00
Rémi Verschelde
cd828bd5fc
server: Allow building against system libraries
...
(cherry picked from commit 5e360fe178
)
2016-11-03 22:55:24 +01:00
Rémi Verschelde
ce54b6ea8b
scons: Reorder options for clarity
...
Also prefix all thirdparty-related toggles with `builtin`.
(cherry picked from commit cc95d4448c
)
2016-11-03 08:41:10 +01:00
Pedro J. Estébanez
f629b1fd3e
Improve Android build (Clang + tidyness)
...
(cherry picked from commit b18ff942be
)
2016-11-02 22:34:17 +01:00
Rémi Verschelde
eaf803f71e
style: Various other PEP8 fixes in Python files
...
Done with `autopep8 --select=E7`, fixes:
- E701 - Put colon-separated compound statement on separate lines.
- E702 - Put semicolon-separated compound statement on separate lines.
- E703 - Put semicolon-separated compound statement on separate lines.
- E711 - Fix comparison with None.
- E712 - Fix (trivial case of) comparison with boolean.
- E713 - Fix (trivial case of) non-membership check.
- E721 - Fix various deprecated code (via lib2to3).
2016-11-02 22:30:34 +01:00
Rémi Verschelde
a7389217f8
style: Fix PEP8 blank lines issues in Python files
...
Done with `autopep8 --select=E3,W3`, fixes:
- E301 - Add missing blank line.
- E302 - Add missing 2 blank lines.
- E303 - Remove extra blank lines.
- E304 - Remove blank line following function decorator.
- E309 - Add missing blank line.
- W391 - Remove trailing blank lines.
2016-11-02 22:29:36 +01:00
Rémi Verschelde
e259bf8bbb
style: Fix PEP8 whitespace issues in Python files
...
Done with `autopep8 --select=E2,W2`, fixes:
- E201 - Remove extraneous whitespace.
- E202 - Remove extraneous whitespace.
- E203 - Remove extraneous whitespace.
- E211 - Remove extraneous whitespace.
- E221 - Fix extraneous whitespace around keywords.
- E222 - Fix extraneous whitespace around keywords.
- E223 - Fix extraneous whitespace around keywords.
- E224 - Remove extraneous whitespace around operator.
- E225 - Fix missing whitespace around operator.
- E226 - Fix missing whitespace around operator.
- E227 - Fix missing whitespace around operator.
- E228 - Fix missing whitespace around operator.
- E231 - Add missing whitespace.
- E231 - Fix various deprecated code (via lib2to3).
- E241 - Fix extraneous whitespace around keywords.
- E242 - Remove extraneous whitespace around operator.
- E251 - Remove whitespace around parameter '=' sign.
- E261 - Fix spacing after comment hash.
- E262 - Fix spacing after comment hash.
- E265 - Format block comments.
- E271 - Fix extraneous whitespace around keywords.
- E272 - Fix extraneous whitespace around keywords.
- E273 - Fix extraneous whitespace around keywords.
- E274 - Fix extraneous whitespace around keywords.
- W291 - Remove trailing whitespace.
- W293 - Remove trailing whitespace.
2016-11-02 22:28:28 +01:00
Rémi Verschelde
561c1f17a1
style: Start applying PEP8 to Python files, indentation issues
...
Done with `autopep8 --select=E1`, fixes:
- E101 - Reindent all lines.
- E112 - Fix under-indented comments.
- E113 - Fix over-indented comments.
- E115 - Fix under-indented comments.
- E116 - Fix over-indented comments.
- E121 - Fix a badly indented line.
- E122 - Fix a badly indented line.
- E123 - Fix a badly indented line.
- E124 - Fix a badly indented line.
- E125 - Fix indentation undistinguish from the next logical line.
- E126 - Fix a badly indented line.
- E127 - Fix a badly indented line.
- E128 - Fix a badly indented line.
- E129 - Fix a badly indented line.
2016-11-02 22:26:55 +01:00
George Marques
7a17d72e84
Fix extraneous NULL character on HTML export
...
Fix #2801
(cherry picked from commit 604ddd691c
)
2016-10-30 23:58:41 +01:00
George Marques
52bf8bd168
Fix the hiding of mouse cursor before interaction
...
Fix part of #6633
(cherry picked from commit 414d58e6c0
)
2016-10-30 23:58:32 +01:00
Błażej Szczygieł
85a7105345
SCons: Use colored output if available, change "colored"->"verbose"
...
(cherry picked from commit 2bf4553fe0
)
2016-10-30 14:51:34 +01:00
Rémi Verschelde
5a49e45d21
SCsub: Add python shebang as a hint for syntax highlighting
...
Also switch existing shebangs to "better" /usr/bin/env python.
(cherry picked from commit fc8ccd5b8c
)
2016-10-30 14:51:34 +01:00
Błażej Szczygieł
7143401e25
Theora: Don't compile unnecessary files, rename "x86_opt_*"
...
(cherry picked from commit 4ffa8f224d
)
2016-10-30 14:51:34 +01:00
Rémi Verschelde
d96842b80e
freetype: Make it a module and split thirdparty library
...
Comment out the weird workaround for building on Windows at it might
not be needed anymore. Testing needed to confirm.
(cherry picked from commit edbc0c0d0b
)
2016-10-30 14:51:33 +01:00
Rémi Verschelde
f1bd2f6f56
zlib: Split thirdparty files, simplify scons option
...
(cherry picked from commit cbf52606f4
)
2016-10-30 14:51:33 +01:00
Rémi Verschelde
e04ec9565b
glew: Split thirdparty files and isolate env
...
Not fully happy about the way this one interacts with the various
platforms. Maybe the platform_config.h should be generated by the
SCsub instead of passing a define just to know where is the header.
(cherry picked from commit 36738ddda4
)
2016-10-30 14:51:33 +01:00
Rémi Verschelde
1022705707
squish: Move to a module and split thirdparty lib
...
(cherry picked from commit 8311a78df5
)
2016-10-30 14:51:33 +01:00
Rémi Verschelde
c8a97c3678
mpc: Move to a module and split thirdparty libmpcdec
...
(cherry picked from commit 5c12c9e69b
)
2016-10-30 14:51:33 +01:00
Rémi Verschelde
82e8721715
theora: Move to a module and split thirdparty lib
...
Same rationale as the previous commits.
(cherry picked from commit cfcc8a20e8
)
2016-10-30 14:51:32 +01:00
Rémi Verschelde
4cd640f684
openssl: Move to a module and split thirdparty lib
...
Same rationale as the previous commits.
(cherry picked from commit 422196759f
)
Removed the winrt-specific parts.
2016-10-30 14:51:32 +01:00
Rémi Verschelde
995dcb610c
ogg/vorbis/opus/speex: Make them modules and unbundle thirdparty libs
...
Took the opportunity to undo the Godot changed made to the
opus source. The opus module should eventually be built in its
own environment to avoid polluting others with too many include
dirs and defines.
TODO: Fix the platform/ stuff for opus.
(cherry picked from commit d9a291f641
)
speex module was only added while cherry-picking, as speex is removed
in the master branch but we don't want to break compatibility in 2.1.x.
Unbundling wasn't done as the module uses the internal speex_free,
so it would require some more work.
2016-10-30 14:51:31 +01:00
Rémi Verschelde
55414bc573
webp: Make it a module and unbundle libwebp thirdparty files
...
Note that there are two Godot-specific changes made to libwebp
for the javascript/HTML5 platform. They are documented in the
README.md.
(cherry picked from commit ee3cf211c6
)
2016-10-30 14:51:30 +01:00
Rémi Verschelde
575e986bde
png: Split library to thirdparty dir and allow unbundling
...
Uses the new structure agreed upon in #6157 , but the thirdparty/ folder
does not behave following a logic similar to that of modules/ yet.
The png driver can't be moved to a module as discussed in #6157 , as it's
required by core together with a few other ImageLoader implementations
(see drivers/register_driver_types.cpp:register_core_driver_types())
Dropped the possibility to disable PNG support, it's a core component
of Godot.
(cherry picked from commit 5fef84a135
)
2016-10-30 14:51:30 +01:00
Rémi Verschelde
846db09038
Drop nedmalloc which is apparently not used anymore
...
(cherry picked from commit f63bf12193
)
2016-10-30 14:51:30 +01:00
Randy Tan Shaoxian
c9d7f77c6f
Fixed tiny error in detect.py causing compilation for Android to fail.
2016-10-20 21:17:21 +08:00
Andreas Haas
e88a540b91
osx: Support gamepad input.
...
Fixes #3881
Vibration support is not optimal yet as it doesn't try to emulate the "weak" and "strong" motor strength,
but just takes the parameter with the highest value for the vibration gain.
(cherry picked from commit 8c886b9d7a
)
2016-10-18 18:34:16 +02:00
volzhs
00b0f3dfde
Fix crash when using Directory.dir_exists(path) on Android
...
(cherry picked from commit 4a57821349
)
2016-10-17 20:50:57 +02:00
Anthony Fieroni
b4edaa892d
Correct OS architecture detection
...
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
(cherry picked from commit f87e32696d
)
2016-10-17 20:48:05 +02:00
Pedro J. Estébanez
82dfaf7af6
Fix compile flags not getting to the Android build
...
(cherry picked from commit 7f51bb7b1c
)
2016-10-09 17:34:36 +02:00
Pedro J. Estébanez
12d4d65668
Improve debug focus behavior
...
Fix focusing debugged game on Windows
Add re-focusing editor on continue
(cherry picked from commit 66dac878ac
)
2016-10-09 17:29:59 +02:00
Marc Gilleron
268b3446c6
Windows: prevent huge prints from crashing the engine
...
(cherry picked from commit 0c09de3ef1
)
2016-10-09 17:23:08 +02:00
syskrank
4b2243f82e
removed confusing "if(true)" statement with empty "else" block
...
(cherry picked from commit af4b0db1e4
)
2016-10-09 17:22:36 +02:00
romeojulietthotel
228ee4363e
Use pkgconfig to locate ALSA libs ( #6119 )
...
* This allows building when ALSA libs are in a non-standard location. PKG_CONFIG_PATH alone is not enough as the final link fails. Adding this makes the final link succeed.
* The extra LIBS flag for alsa is not needed so removing.
(cherry picked from commit 94d6757a0d
)
2016-10-09 17:21:17 +02:00
Andreas Haas
d1ad94acf0
x11: Fix event.is_action() for release of modifier keys
...
The bug was that the release events for these also had the modifier state set, so the event comparison
failed.
Fixes #5901
(cherry picked from commit 6fcf2b2bd8
)
2016-10-09 17:20:57 +02:00
Pedro J. Estébanez
45a5769162
Fix manifest generation bug in Android export
...
(cherry picked from commit 2c9d98bb48
)
2016-10-09 17:20:27 +02:00
Pedro J. Estébanez
f90370886f
Fix (potentially) Android libs packaging issue ( #5645 )
...
(cherry picked from commit e9065632c6
)
2016-09-18 23:11:18 +02:00
Rémi Verschelde
fd58f8dce8
Move templates and distribution stuff to tools/dist
...
Also removed the obsolete iOS xcode template.
(cherry picked from commit 3efe1231f0
)
2016-09-18 23:04:26 +02:00
Mario Schlack
9ea76ff46d
Hide the mouse cursor when MOUSE_MODE_CAPTURED is activated.
...
(cherry picked from commit f0b6a242cc
)
2016-09-01 08:46:03 +02:00
Andreas Haas
37fc61f986
x11: Use proper sonames for loading libXrandr.
...
(cherry picked from commit f59860f464
)
2016-09-01 08:38:24 +02:00
marcelofg55
0c76ba32cc
Crashfix for OSX on Sierra beta
...
(cherry picked from commit bf320fd4ea
)
2016-08-09 18:47:13 +02:00
Skyfrit
c56ea7cf91
Android: Rename values-zh to values-zh-rCN ( #6063 )
...
(cherry picked from commit 4f6a21b0df
)
2016-08-08 18:15:55 +02:00
Skyfrit
1913e4a040
Android: Add support for Traditional Chinese (HK) ( #6061 )
...
(cherry picked from commit 664b5b5137
)
2016-08-08 18:15:49 +02:00
Skyfrit
2b35ba4815
Android: Add support for Traditional Chinese (TW) ( #6061 )
...
(cherry picked from commit 8ab4acd17f
)
2016-08-08 18:15:43 +02:00
marcelofg55
fd6f62fd9a
Fix set_window_size not setting the correct size on OSX
...
(cherry picked from commit 38de4d24ef
)
2016-08-03 17:52:10 +02:00
George Marques
0bc589a0c7
Fix Windows resource script
2016-07-27 15:35:49 -03:00
George Marques
b48fd16add
Improve Windows application details
2016-07-27 12:37:12 -03:00
Rémi Verschelde
fd659e869b
Windows: Make alert message box use MB_TASKMODAL
...
This flag pauses the current running thread, allowing for the user to see the
alert and acknowledge it before the thread continues (and e.g. crashes :)).
Thanks to @SuperUserNameMan for finding it.
Ref: https://msdn.microsoft.com/en-us/library/windows/desktop/ms645505(v=vs.85).aspx
2016-07-26 15:16:45 +02:00
Rémi Verschelde
dc3c32b488
Merge pull request #5894 from vnen/windows-set-position
...
Avoid changing position when the window is fullscreen
2016-07-24 17:55:25 +02:00
Juan Linietsky
9213400cd5
Merge pull request #5415 from volzhs/improve-android-payment
...
Improve android payment
2016-07-24 12:18:13 -03:00
George Marques
7be70c5a3c
Avoid changing position when the window is fullscreen
2016-07-24 12:07:59 -03:00
Rémi Verschelde
82d18f4c1c
Merge pull request #5845 from hurikhan/x11_cleanup
...
Code cleanup in platform/x11
2016-07-22 08:35:26 +02:00
Mario Schlack
503f9ab9d9
Code cleanup in platform/x11
2016-07-21 21:11:34 +02:00
Mario Schlack
d04ada3973
Implement OS.request_attention() for X11
2016-07-21 19:40:36 +02:00
Rémi Verschelde
b623acb718
Merge pull request #5841 from vnen/fix-windows-wheel
...
Fix mouse wheel event position on Windows
2016-07-21 17:31:24 +02:00
Rémi Verschelde
93de25f68a
Merge pull request #5837 from hurikhan/android_cleanup
...
Minor code formatting in platform/android
2016-07-21 17:31:14 +02:00
GungnirInd
2c1a74fb3a
Implement OS.request_attention() for OSX ( #5662 )
...
Keeps bouncing icon until user focuses window
2016-07-21 17:30:20 +02:00
Rémi Verschelde
d723e5a62f
Merge pull request #5560 from vnen/os-request-attention
...
Add OS.request_attention() for Windows
2016-07-21 17:29:45 +02:00
George Marques
f4c0bc20c3
Fix mouse wheel event position on Windows
2016-07-21 12:14:25 -03:00
Mario Schlack
beaa56bff2
Minor code formatting in platform/android
2016-07-21 12:07:01 +02:00
Rémi Verschelde
b1cca17053
Merge pull request #5835 from volzhs/issue-5831
...
Fix compile error if use android_stl=yes
2016-07-21 10:37:18 +02:00
volzhs
01e39ecec8
Fix compile error if use android_stl=yes
2016-07-21 17:31:46 +09:00
Rémi Verschelde
5274f2a126
Merge pull request #5819 from hurikhan/android_getScreenDPI
...
Implement get_screen_dpi() on Android
2016-07-21 09:09:49 +02:00
Mario Schlack
0717893772
Implement get_screen_dpi() on Android
2016-07-20 14:54:48 +02:00
Juan Linietsky
0988970c1f
Fixed properly not save signals that already exist in their base scenes, closes #5656
2016-07-19 21:26:12 -03:00
Juan Linietsky
587826f879
remove GLU dependency, closes #3787
2016-07-18 17:25:03 -03:00
volzhs
79cb91dc84
Add querying details of IAP items for android
2016-07-18 23:45:58 +09:00
volzhs
f26f181ba9
Fix can't get all info if user purchases many items and not consumed
2016-07-18 23:45:58 +09:00
Rémi Verschelde
8de5aedb9e
Merge pull request #5718 from jay3d/master
...
Added gyroscope support to Godot and Android
2016-07-18 00:52:15 +02:00
Rémi Verschelde
523e46ad0a
Revert "Make editor compatible with Windows high contrast themes"
...
This reverts commit 85a5290ee8
.
The patch itself is good and it could maybe be readded in the future,
but right now Microsoft forced its Windows 10 "update" on people with older
Intel HD Graphics 3000 IGP without ensuring that they can ship proper drivers,
and such users seem to get Godot crashing due to this patch. Sorry :(
Closes #5452 .
2016-07-18 00:24:21 +02:00
Jamil Halabi
370ae3512d
Added gyroscope support to Godot and Android
2016-07-16 01:43:32 +08:00
Rémi Verschelde
26baaf447a
WinRT: Add missing license file for ANGLE
...
Also drop the unused "All rights reserved" FunctionDiscoveryKeys_devpkey.h
Fixes #4859 .
2016-07-14 08:49:02 +02:00
sanikoyes
978cb0e884
Fix crash in FileAccessJAndroid::file_exists (does not free local ref)
2016-07-11 12:41:54 +08:00
Juan Linietsky
d279d060e1
Merge pull request #5077 from RandomShaper/improve-android-build
...
Improve Android build
2016-07-10 13:57:17 -03:00
Juan Linietsky
e74d71a5bf
Merge pull request #5574 from volzhs/android-app-id
...
Add android_add_default_config for config.py
2016-07-10 13:03:37 -03:00
Juan Linietsky
28641fd9b8
Merge pull request #5525 from SuperUserNameMan/window_get_latin_kb_variant
...
windows get_latin_keyboard_variant() implementation and gdscript binding, #5503
2016-07-10 12:41:05 -03:00
Juan Linietsky
864c0e84de
line/col label was changing size with each cursor move, forcing the GUI to resize upwards and costing considerably CPU usage.
...
It has been changed so it won't resize the UI when modified.
This will make the code editor feel a lot smoother.
2016-07-09 14:56:08 -03:00
Rémi Verschelde
02aeac12d1
OSX export: Default to fat format, make it an enum
...
Since we want to distribute only the fat binary in the official templates, this should
make it work out of the box. 32 bits and 64 bits options are still available for people
that want them, but will throw an error if the binaries are not in the template zip.
2016-07-09 00:46:10 +02:00
eska
4beeff9433
Pass mouse position to Input singleton in web export
2016-07-08 20:09:25 +02:00
Juan Linietsky
7e3044981e
Avoid crash if setting modifiers fails, closes #5158
2016-07-08 11:28:09 -03:00
Rémi Verschelde
3fcb9b1ec1
Removed unused variables (second pass) + dead code
...
Fixes various gcc 5.4.0 warnings for -Wunused-variable and -Wunused-but-set-variable
2016-07-07 23:15:59 +02:00
Rémi Verschelde
b6ac91c0e6
Removed unused variables (first pass)
...
Fixes various gcc 5.4.0 warnings for -Wunused-variable and -Wunused-but-set-variable
2016-07-07 23:15:03 +02:00
volzhs
40d3234304
Add android_add_default_config for config.py
...
usage : env.android_add_default_config("applicationId 'com.godot.game'")
2016-07-07 04:03:50 +09:00
George Marques
5c355a63d3
Add OS.request_attention() for Windows
2016-07-05 12:29:08 -03:00
Rémi Verschelde
90b5b0d1c9
Merge pull request #5552 from volzhs/fix-jni-null
...
Fix crash when null value through jni on android
2016-07-04 23:39:31 +02:00
Rémi Verschelde
176920278f
Merge pull request #5551 from eska014/bsd-no-libdl
...
Link libdl only on Linux, fix BSD build
2016-07-04 23:39:11 +02:00