summaryrefslogtreecommitdiffstats
path: root/platform/windows/detect.py
Commit message (Collapse)AuthorAgeFilesLines
...
* -Fix eternal black screen on WindowsJuan Linietsky2017-04-091-1/+1
| | | | -Disabled warnings on windows, need to properly set up warnings
* SCons: Add option to toggle warnings (on by default)Rémi Verschelde2017-03-261-1/+1
| | | | | | | | All the warnings are factored out of the platform-specific files and moved to SConstruct. Will have to check that it does not introduce regressions on some platforms/compilers. (cherry picked from commit 31107daa1a41fe9ab3c7c1868479e78e16848333)
* Fix typos in source code using codespellRémi Verschelde2017-03-241-1/+1
| | | | From https://github.com/lucasdemarchi/codespell
* Improvements to scons defined WINVER/_WIN32_WINNTFabio Alessandrelli2017-01-121-1/+3
|
* Merge pull request #7493 from neikeq/pr-mingw-bitsRémi Verschelde2017-01-101-1/+1
|\ | | | | Detect bits when building with MinGW
| * Detect bits when building with MinGWIgnacio Etcheverry2017-01-101-1/+1
| |
* | Windows: Define _WIN32_WINRT to 0x0600 (Vista)Rémi Verschelde2017-01-081-0/+4
| | | | | | | | | | | | | | | | 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.
* | Merge remote-tracking branch 'origin/gles3' into gles3-on-masterRémi Verschelde2017-01-021-2/+2
|\ \ | |/ |/| | | | | Various merge conflicts have been fixed manually and some mistakes might have been made - time will tell :)
| * Godot works on Windows again..reduz2016-12-211-2/+2
| |
* | scons: Reorder options for clarityRémi Verschelde2016-11-031-2/+0
| | | | | | | | Also prefix all thirdparty-related toggles with `builtin`.
* | style: Various other PEP8 fixes in Python filesRémi Verschelde2016-11-011-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | 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-011-10/+7
| | | | | | | | | | | | | | | | | | | | | | 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-011-89/+89
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-011-237/+237
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 bug introduced by #6501yg2f2016-10-261-13/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ( @Akien : this PR is for current HEAD only, not to be cherry-picked for 2.1.1 ) this is manual revertion of #6501 which introduced a bug that prevented scons from detecting Mingw under Windows when MSVC was installed. (thanks to @vnen for finding this) AND it fixes the actual bug that prevented scons from detecting MSVC standalone compiler ( a confusions between ``VSINSTALLDIR`` and ``VCINSTALLDIR`` ) The freeware Standalone MSVC C++ Build Tools are available here : http://landinghub.visualstudio.com/visual-cpp-build-tools
* | Theora: Don't compile unnecessary files, rename "x86_opt_*"Błażej Szczygieł2016-10-161-3/+3
| |
* | zlib: Split thirdparty files, simplify scons optionRémi Verschelde2016-10-151-0/+1
| |
* | glew: Split thirdparty files and isolate envRémi Verschelde2016-10-151-1/+0
|/ | | | | | 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.
* scons detects standalone MSVC on Windowsyg2f2016-09-161-9/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Under Windows, Scons is now capable of detecting and compiling with standalone MSVC compilers (aka "Visual C++ Build Tools"). http://landinghub.visualstudio.com/visual-cpp-build-tools Tried with version 2015, and native x86 and x64 compilers under Windows 10 pro 64 and Windows 8.1 64, with the default Win8 SDK provided by the "Visual C++ Build Tools" web-installer. Follow the same compiling instructions than for compiling with Visual Studio, except that Visual Studio is no more required. KNOWN ISSUES : - ``methods.detect_visual_c_compiler_version()`` will emit a warning message on computers where the ``VSINSTALLDIR`` environement variable is not present. But it should compile just fine and still automatically detects the 32 or 64 bits according to the compiler you picked. TODO : - eventually, update ``platform/winrt/dectet.py`` with function ``methods.msvc_is_detected()`` and try to compile winrt/UWP with these standalone compilers (if you did not select Win10 SDK when installing the standalone tools, you can run it again). - update doc to make users aware of "Visual C++ Build Tools" aka "stadalone MSVC". - eventually, update ``methods.detect_visual_c_compiler_version()``
* Implement missing WinRT functionsGeorge Marques2016-09-031-69/+9
| | | | | | | | - Fix buildsystem for WinRT/UWP platform. - Add audio driver and joystick mapping for WinRT. - Enable thread class for WinRT. - Refactor MSVC compiler architecture detection to methods.py, so it can be used by Windows and WinRT.
* fix to mingw buildJuan Linietsky2016-08-201-1/+1
|
* ENet windows compilation fixes.Juan Linietsky2016-08-201-3/+2
| | | | | For reference, when you include a Windows header (be it directly windows.h or something that includes it) put it at the end of the includes. it seems I forgot.
* -make freetype build for all platforms the same, default as builtin except ↵Juan Linietsky2016-06-091-9/+0
| | | | | | on x11. closes #5119
* GLEW: Define static + enabled and includes via SConsRémi Verschelde2016-06-081-2/+2
| | | | | | | | This allows us not to have to hack our definitions in the upstream files, making it easier to upgrade to newer versions in the future. For the include paths to work, the headers are moved to a GL subfolder to match their upstream location.
* removed dependency on shcore.dll to get DPIJuan Linietsky2016-06-011-1/+1
| | | | fixes #4973
* hidpi for now not available on mingw, sorryJuan Linietsky2016-05-291-1/+1
|
* DPI Detection supportJuan Linietsky2016-05-291-2/+2
| | | | | Windows only for now. Many builds may break (older visual studio, mingw32)
* fix freetype paths on osx and mingwJuan Linietsky2016-05-291-2/+3
|
* Finalized DynamicFont implementationJuan Linietsky2016-05-291-2/+2
| | | | | | -DynamicFont uses Freetype by default -Editor fonts are now scalable thanks to this -Cleaned up documentation browser and added fonts for this
* Fix windows 64-bits build.George Marques2016-05-031-0/+2
| | | | | | | The change in `tools/doc/doc_data.cpp` is needed because the MSVC compiler does not support variable length arrays. Fix #4113
* Fixes 64 bit MSVC builds, disables bits parameterAleksandar Danilovic2016-04-101-1/+90
| | | | | | | | Also Enables automatic detection of architecture for the MSVC compilers. Builds without assembly optimisations for x64 Closes issue #3098 Signed-off-by: Aleksandar Danilovic <greatgames.alexandar@gmail.com>
* Remove trailing spacesRémi Verschelde2016-04-021-29/+29
|
* -removed buggy flags, makes mingw+32 bits+optimized work again,Juan Linietsky2016-02-041-1/+1
|
* Revert "make msvc 64bits build again, fixes #3098"George Marques2016-01-261-1/+1
| | | | This reverts commit b21ce6cecbd75ae3281177c4890902586ca710f7.
* -Many fixes to windows build system with Mingw on Windows. Fixes #2690Juan Linietsky2016-01-251-35/+1
|
* Fix 32 bit windows export crashmrezai2016-01-161-2/+8
|
* make msvc 64bits build again, fixes #3098Juan Linietsky2016-01-101-1/+1
| | | | disabled assembly for msvc 64 bits, as it is not supported
* Better gamepad supporthondres2015-12-181-2/+2
|
* some fixesJuan Linietsky2015-12-061-1/+0
| | | | | -fix compilation on tres/tscn on MSVC -fixed theora playback performance, closes #3004
* 0theora compilation fixesJuan Linietsky2015-11-251-0/+2
|
* Merge pull request #2518 from masoudbh3/godot-iconsJuan Linietsky2015-11-191-5/+25
|\ | | | | Add icon to exe file in windows export
| * Add icon to exe file in windows exportmasoud bh2015-11-091-5/+25
| | | | | | | | | | | | | | | | | | add version_info and icon sections in "export to windows platform". add version_info and icon to godot exe file (editor & template exe). fix an problem in image class. change all default icons to android export icon (a little more rounded). create an python script for convert file to cpp byte array for use in 'splash.h'.
* | Fixes Visual Studio 2015 parallel builds (-j switch)ZuBsPaCe2015-10-301-2/+2
|/ | | | | | Reference: http://stackoverflow.com/questions/284778/what-are-the-implications-of-using-zi-vs-z7-for-visual-studio-c-projects fatal error C1041: cannot open program database 'C:\godot\vc140.pdb'; if multiple CL.EXE write to the same .PDB file, please use /FS
* -Added ability to use cubic interpolation on image resize (little more ↵Juan Linietsky2015-10-011-376/+376
| | | | | | quality on non-po2 resizing) -Added ability for exporter to shrink images to non-integer values. Helps if you want to convert your game artwork from 1080->720 or similar
* Hide stderr when trying to detect mingw binaries on posixRémi Verschelde2015-09-271-3/+3
|
* draw button focus before text and iconJuan Linietsky2015-06-081-0/+6
| | | | closes #2047
* Change windows build to use CFlag /Od so that you get the full debug ↵Antony2015-05-091-1/+1
| | | | experience. Without this flag set, Visual Studio lets you use breakpoints, but the watch and locals is pretty much useless.
* Merge pull request #1432 from ↵Juan Linietsky2015-03-221-46/+162
|\ | | | | | | | | UsernameIsAReservedWord/fixes_platform_windows_detect_py Fixes platform/windows/detect.py
| * Update detect.pyUsernameIsAReservedWord2015-02-241-1/+1
| |
| * Update detect.pyUsernameIsAReservedWord2015-02-241-1/+1
| |