aboutsummaryrefslogtreecommitdiff
path: root/platform
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Merge pull request #17653 from eska014/rwlock-dummyRémi Verschelde2018-03-211-1/+1
|\| | | | | | | | Add RWLockDummy for NO_THREADS builds
| * | Add RWLockDummy for NO_THREADS buildsLeon Krause2018-03-201-1/+1
| | |
* | | Prevent android to split-screenXavier Sellier2018-03-211-1/+2
| | |
* | | Merge pull request #17645 from volzhs/android-device-infoRémi Verschelde2018-03-201-2/+8
|\ \ \ | | | | | | | | Fix getting Android device information
| * | | Fix getting Android device informationvolzhs2018-03-201-2/+8
| |/ / | | | | | | | | | Fix #17644
* / / Implement OS_OSX::executebruvzg2018-03-192-0/+50
|/ /
* | Disable Emscripten assertions in release_debug buildsLeon Krause2018-03-181-1/+2
| | | | | | | | The messages generated by some assertions can be confusing to users.
* | Fix typo in engine.jsLeon Krause2018-03-161-2/+2
| |
* | Fix MinGW cross-buildbruvzg2018-03-151-2/+3
| |
* | Added missing import BoolVariableBastiaan Olij2018-03-152-2/+3
| | | | | | | | Didn't like the missing BoolVariable :)
* | Check only for WebGL 1.0, move test to HTML fileLeon Krause2018-03-152-12/+15
| | | | | | | | | | | | | | | | Whether to use WebGL 1.0 or 2.0 can only be determined at runtime after reading project settings, so check for the lower version. The test is now in the HTML file, so if desired WebGL 2.0 can be checked early by changing the behaviour there.
* | Enable SCons to autodetect Windows MSVC compilerGary Oberbrunner2018-03-132-155/+213
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SCons has good compiler detection logic for MSVC compilers. Up to now, Godot hasn't used it; it depends on passed-in OS environment vars from a specific Visual Studio cmd.exe windows. This makes it harder to build from a msys or cygwin shell. This change allows SCons to autodetect Visual Studio unless it sees VCINSTALLDIR in the os.environ. It also adds a 'msvc_version' arg for manual specification of compiler version, and uses the existing 'bits' arg to specify the target architecture. More detail could be added as desired. It also adds 'use_mingw' to always use mingw, even if Visual Studio is installed. That uses the existing mingw setup logic. If people are used to building Godot in a Visual Studio cmd window, this should not change the behavior in that case, since VCINSTALLDIR will be set in those windows. (However, note that you could now unset that var and build with any other MSVC version or target arch, even in that window.) I refactored much of platform/windows/detect.py during this, to simplify and clarify the logic. I also cleaned up a bunch of env var settings in windows/detect.py and SConstruct to use modern SCons idioms and simplify things. I suspect this will also enable using the Intel compiler on Windows, though that hasn't been tested.
* | Merge pull request #17311 from marcelofg55/export_err_checksRémi Verschelde2018-03-131-4/+6
|\ \ | | | | | | Improved error checking at EditorExportPlatformPC::export_project
| * | Improved error checking at EditorExportPlatformPC::export_projectMarcelo Fernandez2018-03-061-4/+6
| | |
* | | Merge pull request #17440 from viktor-ferenczi/issue-5042Rémi Verschelde2018-03-132-15/+14
|\ \ \ | | | | | | | | Properly closing all files in Python build code
| * | | Properly closing all files in Python codeViktor Ferenczi2018-03-112-15/+14
| | | |
* | | | fix iOS build - error due to GLES2 missing include (with the advice from ↵Yannick Le Duc2018-03-131-0/+1
|/ / / | | | | | | | | | bruvzg[m] on irc)
* / / Reinstate WebGL 1.0 driver in HTML5 platformLeon Krause2018-03-071-6/+23
|/ /
* | Explicitly set OpenGL profile to core (X11, Windows).bruvzg2018-03-063-4/+16
| | | | | | | | Enable GLES2 on Windows.
* | Clean and expose get_audio/video_driver_* funcs on OS classMarcelo Fernandez2018-03-049-95/+8
| |
* | SCons: Fix linking system pcre2 on server platformRémi Verschelde2018-03-041-0/+5
| | | | | | | | Fixes #17245.
* | Modify OSX can_export logic to match the logic from ↵Marcelo Fernandez2018-03-031-9/+15
| | | | | | | | EditorExportPlatformPC::can_export
* | Hack to force macOS window activation for non-bundled app.bruvzg2018-03-031-1/+35
| |
* | Merge pull request #17158 from bruvzg/gles2_driver_selectRémi Verschelde2018-03-023-12/+15
|\ \ | | | | | | [GLES2] Renderer selection improvement
| * | Fix `--help` output, allow renderer override from command line ↵bruvzg2018-03-023-12/+15
| | | | | | | | | | | | (`--video-driver`).
* | | GLES2 renderer support on macOS.bruvzg2018-03-022-6/+28
|/ /
* | Merge pull request #17133 from bruvzg/macos_fix_webm_optimRémi Verschelde2018-03-011-1/+1
|\ \ | | | | | | [Build] Fix WebM (libvpx) SIMD optimizations on macOS.
| * | Fix WebM SIMD optimizations on macOS.bruvzg2018-03-011-1/+1
| | |
* | | add GLES 2 renderer for 2Dkarroffel2018-03-016-21/+73
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | Merge pull request #17058 from marcelofg55/minmax_windowsRémi Verschelde2018-03-011-1/+10
|\ \ \ | | | | | | | | Fixed Windows ignoring minimized/maximized status set by user
| * | | Fixed Windows ignoring minimized/maximized status set by userMarcelo Fernandez2018-02-261-1/+10
| | | |
* | | | Merge pull request #17137 from endragor/fix-audio-init-crashRémi Verschelde2018-03-011-0/+1
|\ \ \ \ | | | | | | | | | | Fix intermittent audio driver crash during startup on Android
| * | | | Fix intermittent audio driver crash during startup on AndroidRuslan Mustakov2018-03-011-0/+1
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | 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.
* / | | Fix server build on FreeBSDFabio Alessandrelli2018-03-013-2/+15
|/ / /
* | | Fix various valgrind reported uninitialized variable usesHein-Pieter van Braam2018-02-281-4/+7
| | |
* | | Android: Mark GLES3 as required in the manifestRémi Verschelde2018-02-271-1/+1
|/ / | | | | | | Fixes #17076.
* | Add missing return statements (iOS and server).bruvzg2018-02-251-0/+2
| |
* | Merge pull request #16901 from jandrewlong/ios-restore-purchasesRémi Verschelde2018-02-242-0/+15
|\ \ | | | | | | add restore purchases for ios
| * | add restore purchases for iOSJ Andrew Long2018-02-222-0/+15
| | |
* | | Refactor version macros and fix related bugsRémi Verschelde2018-02-231-6/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | server: Add support for statically linking libgcc and libstdc++Rémi Verschelde2018-02-221-0/+5
|/ /
* | Fix typos with codespellluz.paz2018-02-215-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Found via `codespell -q 3 --skip="./thirdparty,./editor/translations" -I ../godot-word-whitelist.txt` Whitelist consists of: ``` ang doubleclick lod nd que te unselect ```
* | Link bcrypt lib in window and UWPFabio Alessandrelli2018-02-202-2/+3
| |
* | Fix previous commit, "bits" still needed for buildsystemRémi Verschelde2018-02-191-1/+4
| |
* | OSX: Remove unnecessary bits assignmentRémi Verschelde2018-02-191-4/+1
| |
* | Merge pull request #16675 from ↵Rémi Verschelde2018-02-191-18/+37
|\ \ | | | | | | | | | | | | Iskustvo/improved_error_detectioin_in_move-to-trash_for_Linux [X11] Improving error detection in move_to_trash
| * | [X11] Improving error detection in move_to_trashIskustvo2018-02-181-18/+37
| | |
* | | Merge pull request #16696 from BTaskaya/masterRémi Verschelde2018-02-193-9/+9
|\ \ \ | | | | | | | | PEP3101 applied with changing old type string formatting as new ones
| * | | PEP3101 applied with changing old type string formatting as new onesBTaskaya2018-02-143-9/+9
| | | |
* | | | Merge pull request #16763 from RandomShaper/improve-fullscreenHein-Pieter van Braam2018-02-191-0/+10
|\ \ \ \ | | | | | | | | | | Remove window decorations for fullscreen on X11