aboutsummaryrefslogtreecommitdiff
path: root/platform
Commit message (Collapse)AuthorAgeFilesLines
* Fix bug in windows TCP poll functionFabio Alessandrelli2017-01-161-4/+1
| | | | | | | | Bug introduced when implementing TCP disconnection detection. (too much yank-paste). Fixes #7545 (cherry picked from commit c356ec5e8bf1ecaa5acedc204d613c4d1c2db3db)
* Improvements to scons defined WINVER/_WIN32_WINNTFabio Alessandrelli2017-01-122-1/+7
| | | | (cherry picked from commit 65483d57bf322f847ecb1ab906e8f4fac49f2557)
* Detect bits when building with MinGWIgnacio Etcheverry2017-01-121-1/+1
| | | | (cherry picked from commit 460f030b738eb055d915e246a61f7740fe14f57b)
* Windows: Define _WIN32_WINRT to 0x0600 (Vista)Rémi Verschelde2017-01-125-5/+6
| | | | | | | | | | 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 6323779596dea0db7f58afef7d3d3d5588ef20cb)
* x11: Improve logic for cross-dependencies between freetype, zlib and libpngRémi Verschelde2017-01-121-2/+13
| | | | | | Fixes #7373. (cherry picked from commit d945c4e58ea1b49db3e0e96be46751b2d7fa808a)
* Welcome in 2017, dear changelog reader!Rémi Verschelde2017-01-12175-175/+203
| | | | | | | | | | 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 c7bc44d5ad9aae4902280012f7654e2318cd910e)
* fix for crash when no ALSA or Pulse installed on linuxGustav Lund2017-01-122-0/+7
| | | | (cherry picked from commit 2495e8a9410d8b6e21628ea26814148617d5327f)
* Fix console output for MinGW compilersRémi Verschelde2017-01-121-2/+10
| | | | | Reworked patch from @jay3d (#7116). (cherry picked from commit f28ff8a20888f49cc744d0cc3b8455cfb1cf6874)
* Add alert window on Androidvolzhs2017-01-124-5/+38
| | | | (cherry picked from commit 9a20068ab7108357c78e9ac00eb90a3d72da7651)
* Set minimum version to 10.9 building OSXBastiaanOlij2017-01-121-0/+2
| | | | (cherry picked from commit da5651fbb9a52ae98775ca5631e160c9d7fd157e)
* IP_Address now handle IPv4 and IPv6 transparentlyFabio Alessandrelli2017-01-042-9/+11
| | | | | | | | | | | | 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 1aff508dd9713abf0db0d0436fa7f7c4788c5a4a)
* Migrate int.IP_TYPE_ constants to IP.TYPE_Fabio Alessandrelli2017-01-044-5/+5
| | | | (cherry picked from commit c18c5013f837ea7d4de2f022d36f84e0abce6439)
* Move V6ONLY flag selection inside helpersFabio Alessandrelli2017-01-042-16/+0
| | | | (cherry picked from commit 4d90a4fcd5fcdca42df47062f94a1fa4e5635a94)
* Automatically map IPv4 address to IPv6 when neededFabio Alessandrelli2017-01-042-3/+3
| | | | (cherry picked from commit 9200da58e4c2498c833d9f2505600c7049e80940)
* Use an instance variable for ip_type in raw socketsFabio Alessandrelli2017-01-046-18/+22
| | | | | | | | | 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 95bdd977686005d3d813eb09aca625384f1774c1)
* Properly handle tcp connection failureFabio Alessandrelli2017-01-041-1/+6
| | | | (cherry picked from commit 4f07b595a17a633c65c5df43ecdaa37667a475e9)
* [IPv6] Fix windows build script (link to ws2_32)Fabio Alessandrelli2016-12-111-2/+2
|
* TCP/UDP Listen sockets can now be set to IPv6 onlyFabio Alessandrelli2016-12-112-3/+19
| | | | (cherry picked from commit eb27e993f0f2fb3de48b7b8aa01c74cc1635a178)
* Fix windows debugger connection problems.Fabio Alessandrelli2016-12-113-8/+4
| | | | | | | 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 812908e236e83db368dfef49b8badb9a6182e1de)
* TCPServer listen now default to IP type ANY (v6 socket with v4 support)Fabio Alessandrelli2016-12-111-1/+1
| | | | (cherry picked from commit ee69bd81cfa67eb5c642604f0f43d711ab370faf)
* Fix PacketPeerUDP get_packet_port()Fabio Alessandrelli2016-12-111-2/+2
| | | | | | Properly convert port field from network to system ordering on incoming packets. (cherry picked from commit 25e29972a9df712cb51fc66e553b34f3dc441e51)
* Pass correct address size (ipv4,ipv6) to socket connect, bind, sendtoFabio Alessandrelli2016-12-113-10/+10
| | | | | | | 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 80e911647c5df21c5b6a06876f1d48e21cd1f5fc)
* added windows support for ipv6, cleaned up unix codeAriel Manzur2016-12-115-48/+79
| | | | (cherry picked from commit 672225b710815865449e7930255468d1c085b137)
* Emit asm.js code into a dedicated file for asm.js exporteska2016-12-042-0/+7
| | | | | This helps prevent browser lockups during start-up at the cost of having to distribute an extra file.
* Add fullscreen features in web exporteska2016-12-042-38/+101
| | | | | - Implement fullscreen control, get_window_size, get_screen_size - Fix fullscreen resolution
* Fix some mouse bugs in WebAssembly/asm.jseska2016-12-033-5/+17
| | | | | - Emit mouse wheel release events - Set button masks, fixes #5092
* OS additions and fixes for WebAssembly/asm.jseska2016-12-033-54/+49
| | | | | | | - 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
* png: Allow building shared freetype with bundled libpngRémi Verschelde2016-11-192-2/+0
| | | | | | | | 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 4965ddfaa1536fb179d4b156d1ecb8a72a3c565f)
* Revert "libpng: Fix erroneously linking against libpng12 on old distros"Rémi Verschelde2016-11-192-2/+2
| | | | | | | | | | | This reverts commits 5fa1bb331ad9be31dbfc752c7d19ccf7caeb8fa and ec4be71fade1ee5c6171e323d09197f3bf528499. 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 c32766a482595256bc48155587a47f27848ac8ea)
* libpng: Same fix as previous commit for server platformRémi Verschelde2016-11-191-1/+1
| | | | (cherry picked from commit ec4be71fade1ee5c6171e323d09197f3bf528499)
* libpng: Fix erroneously linking against libpng12 on old distrosRémi Verschelde2016-11-191-1/+1
| | | | | | | This bit us for 2.1.1 binaries built on Ubuntu 12.04 LTS where libpng.pc apparently prioritizes libpng12. (cherry picked from commit 5fa1bb331ad9be31dbfc752c7d19ccf7caeb8fa4)
* Update/fix Android buildPedro J. Estébanez2016-11-151-7/+7
| | | | | | | 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 5a26459c065558546a708c18ad84830674d5972d)
* Make Android export quicker (especially on Windows)Pedro J. Estébanez2016-11-151-19/+19
| | | | (cherry picked from commit 56721e5d9daf3bda0ad0711c165105c7ceedd29f)
* Fix Directory.dir_exist/get_current_dir for 'res://' on Androidvolzhs2016-11-152-2/+7
| | | | | | Fix #7014 (cherry picked from commit 8d454ed9a7105bf1a4c19c238a0e904f220c1bb5)
* vsnc --> vsyncISylvox2016-11-154-4/+4
| | | | (cherry picked from commit b5c383fd61d554fa02c3e231dd1f92145d90e04e)
* server: Allow building against system librariesRémi Verschelde2016-11-031-0/+36
| | | | (cherry picked from commit 5e360fe178e4fae0fd750d2daf7457a28268ffcd)
* scons: Reorder options for clarityRémi Verschelde2016-11-036-27/+20
| | | | | | Also prefix all thirdparty-related toggles with `builtin`. (cherry picked from commit cc95d4448c6005c3007c8460f09b8be1595eb3c0)
* Improve Android build (Clang + tidyness)Pedro J. Estébanez2016-11-021-87/+100
| | | | (cherry picked from commit b18ff942be0dd89bda32e01cc30a41c196fc9290)
* style: Various other PEP8 fixes in Python filesRémi Verschelde2016-11-025-9/+9
| | | | | | | | | | | | 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).
* style: Fix PEP8 blank lines issues in Python filesRémi Verschelde2016-11-0211-38/+47
| | | | | | | | | | | 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.
* style: Fix PEP8 whitespace issues in Python filesRémi Verschelde2016-11-0218-487/+487
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* style: Start applying PEP8 to Python files, indentation issuesRémi Verschelde2016-11-0220-1216/+1216
| | | | | | | | | | | | | | | | | | | 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.
* Fix extraneous NULL character on HTML exportGeorge Marques2016-10-301-2/+2
| | | | | | Fix #2801 (cherry picked from commit 604ddd691cc0599dabfda30d8a49b08eb51f7e5b)
* Fix the hiding of mouse cursor before interactionGeorge Marques2016-10-301-2/+5
| | | | | | Fix part of #6633 (cherry picked from commit 414d58e6c0ab8d3a75206127fac8e2b80cc67f29)
* SCons: Use colored output if available, change "colored"->"verbose"Błażej Szczygieł2016-10-303-10/+0
| | | | (cherry picked from commit 2bf4553fe056c1fab5367dfae62426d3c7cf8168)
* SCsub: Add python shebang as a hint for syntax highlightingRémi Verschelde2016-10-3010-0/+20
| | | | | | Also switch existing shebangs to "better" /usr/bin/env python. (cherry picked from commit fc8ccd5b8c8b779bffd0f4d7f22f2f964c939163)
* Theora: Don't compile unnecessary files, rename "x86_opt_*"Błażej Szczygieł2016-10-304-7/+7
| | | | (cherry picked from commit 4ffa8f224d8d57520bd4953d67291c83152cd5e5)
* freetype: Make it a module and split thirdparty libraryRémi Verschelde2016-10-302-10/+5
| | | | | | | Comment out the weird workaround for building on Windows at it might not be needed anymore. Testing needed to confirm. (cherry picked from commit edbc0c0d0bed169b3c07ef0f504b97936f0dab37)
* zlib: Split thirdparty files, simplify scons optionRémi Verschelde2016-10-309-5/+4
| | | | (cherry picked from commit cbf52606f4928df46fc89d37d781bad782f0616e)
* glew: Split thirdparty files and isolate envRémi Verschelde2016-10-308-14/+8
| | | | | | | | 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 36738ddda4f732fff7bbfb7b4605a47a0bd7c045)