summaryrefslogtreecommitdiff
path: root/platform/windows/detect.py
AgeCommit message (Collapse)Author
2016-11-03scons: Reorder options for clarityRémi Verschelde
Also prefix all thirdparty-related toggles with `builtin`.
2016-11-01style: Various other PEP8 fixes in Python filesRémi Verschelde
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-01style: Fix PEP8 blank lines issues in Python filesRémi Verschelde
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-01style: Fix PEP8 whitespace issues in Python filesRémi Verschelde
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-01style: Start applying PEP8 to Python files, indentation issuesRémi Verschelde
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-10-26fix bug introduced by #6501yg2f
( @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
2016-10-16Theora: Don't compile unnecessary files, rename "x86_opt_*"Błażej Szczygieł
2016-10-15zlib: Split thirdparty files, simplify scons optionRémi Verschelde
2016-10-15glew: Split thirdparty files and isolate envRémi Verschelde
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.
2016-09-16scons detects standalone MSVC on Windowsyg2f
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()``
2016-09-03Implement missing WinRT functionsGeorge Marques
- 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.
2016-08-20fix to mingw buildJuan Linietsky
2016-08-20ENet windows compilation fixes.Juan Linietsky
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.
2016-06-09-make freetype build for all platforms the same, default as builtin except ↵Juan Linietsky
on x11. closes #5119
2016-06-08GLEW: Define static + enabled and includes via SConsRémi Verschelde
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.
2016-06-01removed dependency on shcore.dll to get DPIJuan Linietsky
fixes #4973
2016-05-29hidpi for now not available on mingw, sorryJuan Linietsky
2016-05-29DPI Detection supportJuan Linietsky
Windows only for now. Many builds may break (older visual studio, mingw32)
2016-05-29fix freetype paths on osx and mingwJuan Linietsky
2016-05-29Finalized DynamicFont implementationJuan Linietsky
-DynamicFont uses Freetype by default -Editor fonts are now scalable thanks to this -Cleaned up documentation browser and added fonts for this
2016-05-03Fix windows 64-bits build.George Marques
The change in `tools/doc/doc_data.cpp` is needed because the MSVC compiler does not support variable length arrays. Fix #4113
2016-04-10Fixes 64 bit MSVC builds, disables bits parameterAleksandar Danilovic
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>
2016-04-02Remove trailing spacesRémi Verschelde
2016-02-04-removed buggy flags, makes mingw+32 bits+optimized work again,Juan Linietsky
2016-01-26Revert "make msvc 64bits build again, fixes #3098"George Marques
This reverts commit b21ce6cecbd75ae3281177c4890902586ca710f7.
2016-01-25-Many fixes to windows build system with Mingw on Windows. Fixes #2690Juan Linietsky
2016-01-16Fix 32 bit windows export crashmrezai
2016-01-10make msvc 64bits build again, fixes #3098Juan Linietsky
disabled assembly for msvc 64 bits, as it is not supported
2015-12-18Better gamepad supporthondres
2015-12-06some fixesJuan Linietsky
-fix compilation on tres/tscn on MSVC -fixed theora playback performance, closes #3004
2015-11-250theora compilation fixesJuan Linietsky
2015-11-19Merge pull request #2518 from masoudbh3/godot-iconsJuan Linietsky
Add icon to exe file in windows export
2015-11-09Add icon to exe file in windows exportmasoud bh
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'.
2015-10-30Fixes Visual Studio 2015 parallel builds (-j switch)ZuBsPaCe
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
2015-10-01-Added ability to use cubic interpolation on image resize (little more ↵Juan Linietsky
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
2015-09-27Hide stderr when trying to detect mingw binaries on posixRémi Verschelde
2015-06-08draw button focus before text and iconJuan Linietsky
closes #2047
2015-05-09Change windows build to use CFlag /Od so that you get the full debug ↵Antony
experience. Without this flag set, Visual Studio lets you use breakpoints, but the watch and locals is pretty much useless.
2015-03-22Merge pull request #1432 from ↵Juan Linietsky
UsernameIsAReservedWord/fixes_platform_windows_detect_py Fixes platform/windows/detect.py
2015-03-02support for 2D shadow castersJuan Linietsky
Added support for 2D shadow casters. *DANGER* Shaders in CanvasItem CHANGED, if you are using shader in a CanvasItem and pull this, you will lose them. Shaders now work through a 2D material system similar to 3D. If you don't want to lose the 2D shader code, save the shader as a .shd, then create a material in CanvasItem and re-assign the shader.
2015-02-24Update detect.pyUsernameIsAReservedWord
2015-02-24Update detect.pyUsernameIsAReservedWord
2015-02-24fixes platform/windows/detect.pyUsernameIsAReservedWord
- fixes issue #1298 : under windows, too long `ar` command lines are split into several smaller command lines. - fixes issue #1285 : under linux, cross compiling with Mingw-w64 now generates actual 64bits EXE. - `MINGW32_PREFIX` and `MINGW64_PREFIX` environment variables are also available for Windows. - started to clean-up the remains of previous hacks and workarounds. - added some documentation into the script.
2015-01-102D Rewrite Step [1]Juan Linietsky
-=-=-=-=-=-=-=-=-=- -Moved drawing code to a single function that takes linked list (should make it easier to optimize in the future). -Implemented Z ordering of 2D nodes. Node2D and those that inherit have a visibility/Z property that affects drawing order (besides the tree order) -Removed OpenGL ES 1.x support. Good riddance!
2015-01-03-added new code completion guess locations, closes #1032Juan Linietsky
-moved commandline fix to mingw-only, should fix #1064
2014-11-02Bug FixesJuan Linietsky
-=-=-=-=- -Fixed problem with scaling shapes (#827), related to not taking scale in consideration for calculating the moment of inertia -Added support for multiline strings (or comments) using """ -Save subscene bug, properties not being saved in root node (#806) -Fix Crash in CollisionPolygon2DEditor (#814) -Restored Ability to compile without 3D (#795) -Fix InterpolatedCamera (#803) -Fix UV Import for OBJ Meshes (#771) -Fixed issue with modifier gizmos (#794) -Fixed CapsuleShape gizmo handle (#50) -Fixed Import Button (not properly working in 3D) (#733) -Many misc fixes (though no new features)
2014-10-27-Much improvement to baked light bakerJuan Linietsky
-Fixed many bugs in stretch mode -Fixes to camera project and unproject as consequence of the above -added setget to script (documented in script doc) -more fixes to collada exporter for blender
2014-10-09-Rasterizer supports meshes with both skeletons and blend shapesJuan Linietsky
-Collada exporter supports Blend Shapes (even on actions via set driven keys)
2014-10-08Fix windows build issue by moving libraries from LIBS to LINKFLAGS; Remove ↵marynate
redundant .exe surfix on windows
2014-10-07Build System ChangesJuan Linietsky
-=-=-=-=-=-=-=-=-=-= Build System: -Big clean up of SCons, changed how builds are done to a much cleaner method (check the Github Wiki for instructions). -Deactivated BlackBerry10 (sorry), if no mantainer found (or BlackBerry does not send us a Passort ;), platform will be removed as we have no longer devices to test. Engine: -Removed deprecated object and scene format (was in there just for compatibility, not in use since a long time). -Added ability to open scenes even if a node type was removed (will try to guess the closest type). -Removed deprecated node types.