summaryrefslogtreecommitdiff
path: root/platform
AgeCommit message (Collapse)Author
2018-02-25Add missing return statements (iOS and server).bruvzg
2018-02-24Merge pull request #16901 from jandrewlong/ios-restore-purchasesRémi Verschelde
add restore purchases for ios
2018-02-23Refactor version macros and fix related bugsRémi Verschelde
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-22add restore purchases for iOSJ Andrew Long
2018-02-22server: Add support for statically linking libgcc and libstdc++Rémi Verschelde
2018-02-21Fix typos with codespellluz.paz
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-20Link bcrypt lib in window and UWPFabio Alessandrelli
2018-02-19Fix previous commit, "bits" still needed for buildsystemRémi Verschelde
2018-02-19OSX: Remove unnecessary bits assignmentRémi Verschelde
2018-02-19Merge pull request #16675 from ↵Rémi Verschelde
Iskustvo/improved_error_detectioin_in_move-to-trash_for_Linux [X11] Improving error detection in move_to_trash
2018-02-19Merge pull request #16696 from BTaskaya/masterRémi Verschelde
PEP3101 applied with changing old type string formatting as new ones
2018-02-19Merge pull request #16763 from RandomShaper/improve-fullscreenHein-Pieter van Braam
Remove window decorations for fullscreen on X11
2018-02-19OSX: Remove support for 32-bit and fat binariesRémi Verschelde
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-18[X11] Improving error detection in move_to_trashIskustvo
2018-02-18Remove some debugging prints on AndroidHugo Locurcio
2018-02-17Merge pull request #16781 from eska014/html5-httpcRémi Verschelde
HTML5 HTTPClient fixes
2018-02-17Flush HTTPClient response data only on request/close in HTML5 platformLeon Krause
2018-02-17Warn when polling HTTPClient synchronously in HTML5 platformLeon Krause
2018-02-17Disable insecure HTTP methods CONNECT and TRACE in HTML5 platformLeon Krause
2018-02-16Remove window decorations for fullscreen on X11Pedro J. Estébanez
2018-02-16X11: Link libgcc statically with use_static_cpp optionRémi Verschelde
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-16Fix HTML5 HTTPClient response header retrievalLeon Krause
2018-02-16Fix HTML5 HTTPClient failure detectionLeon Krause
2018-02-15Add dummy audio driver, fix dummy rasterizerK. S. Ernest (iFire) Lee
2018-02-15Fixes to OS_Server and DummyRasterizer to match new signaturesFabio Alessandrelli
2018-02-15server platform now compiles and run on linux.Fabio Alessandrelli
Seems to also be able to do exports of some demos I tried.
2018-02-15Windows: Fix case of imm32 for case-sensitive MinGW buildRémi Verschelde
Fixes #16713.
2018-02-14PEP3101 applied with changing old type string formatting as new onesBTaskaya
2018-02-14Merge pull request #15564 from RandomShaper/adpod-topmostRémi Verschelde
Add new window setting: always on top
2018-02-14Merge pull request #15864 from GodotExplorer/pr-get_unique_id-desktop-implRémi Verschelde
Implement more methods for OS on Desktop platforms
2018-02-14Merge pull request #14804 from ColinKinloch/masterRémi Verschelde
Fixed android arm64v8
2018-02-14Add signals and a check function for Android service connectivity.Xavier Sellier
- 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 546b48813f2b75481d846957275f6d4eecd8de3c)
2018-02-14Allow building with system wide mbedtls on X11Fabio Alessandrelli
Using builtin_mbedtls=yes is still the default as many distributions do not ship with mbedtls included.
2018-02-14Disabled mbedtls module in javascript platformFabio Alessandrelli
2018-02-14Deleting OpenSSL module and libraryFabio Alessandrelli
2018-02-14Merge pull request #16648 from marcelofg55/center_windowRémi Verschelde
Added OS::center_window to center the window precisely on desktop platforms
2018-02-13Fix broken APK expansion due to missed option renamesRémi Verschelde
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-12Added OS::center_window to center the window precisely on desktop platformsMarcelo Fernandez
2018-02-01Fix inconsistencies and typos in argument namesPaolo Perkovic
2018-02-01OSX: implement OS.get_unique_idgeequlim
Update the documentations for OS.get_unique_id()
2018-01-31X11: implement OS.get_unique_idgeequlim
2018-01-31Windows: implement OS.get_unique_id and OS.set_ime_positiongeequlim
2018-01-30Implement always-on-top for MacOSPedro J. Estébanez
Courtesy of @bruvzg.
2018-01-30[macOS] Strip executable when `separate_debug_symbols` is set to yesbruvzg
2018-01-30Merge pull request #16162 from hpvb/implement-windows-processor-countRémi Verschelde
Implement OS::get_processor_count() for Windows
2018-01-29Fix Copy/Paste problems on X11Hein-Pieter van Braam
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-29Implement OS::get_processor_count() for WindowsHein-Pieter van Braam
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-27Merge pull request #16081 from djgaspa/dll-directoryRémi Verschelde
Fix remove_dll_directory crash when cookie is null
2018-01-26Fix macOS build after #16092bruvzg
2018-01-26Make separate debug symbols opt-inHein-Pieter van Braam
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.