summaryrefslogtreecommitdiffstats
path: root/methods.py
Commit message (Collapse)AuthorAgeFilesLines
...
* fix windows build using python 3.7dragmz2018-07-281-2/+2
| | | | fixes NameError (missing "subprocess_main" and "basestring")
* Running builder (content generator) functions in subprocesses on WindowsViktor Ferenczi2018-07-271-760/+33
| | | | | | | | | | | | | | | | | | | | | - Refactored all builder (make_*) functions into separate Python modules along to the build tree - Introduced utility function to wrap all invocations on Windows, but does not change it elsewhere - Introduced stub to use the builders module as a stand alone script and invoke a selected function There is a problem with file handles related to writing generated content (*.gen.h and *.gen.cpp) on Windows, which randomly causes a SHARING VIOLATION error to the compiler resulting in flaky builds. Running all such content generators in a new subprocess instead of directly inside the build script works around the issue. Yes, I tried the multiprocessing module. It did not work due to conflict with SCons on cPickle. Suggested workaround did not fully work either. Using the run_in_subprocess wrapper on osx and x11 platforms as well for consistency. In case of running a cross-compilation on Windows they would still be used, but likely it will not happen in practice. What counts is that the build itself is running on which platform, not the target platform. Some generated files are written directly in an SConstruct or SCsub file, before the parallel build starts. They don't need to be written in a subprocess, apparently, so I left them as is.
* add initial GLES2 3D rendererkarroffel2018-07-271-0/+1
|
* added 'android_add_asset_dir('...') method to Android module gradle build configPatrick Kaster2018-07-051-0/+5
| | | | (cherry picked from commit 9190ae2be7068c8a84f60766a2f7c1da3e0bcd4b)
* add NoCache wrapper to CommandRhody Lugo2018-06-211-0/+5
|
* fixed building using scons with python3Ibrahn Sahir2018-05-281-4/+4
| | | | | | I broke python 3 builds by using py2 specific dict functions in commit 98846b39ee039358584884b439b96e799f1d2bd0 Fixed with functions in compat.py
* GDScript access to copyright, license, author and donor information.Ibrahn Sahir2018-05-191-1/+227
| | | | | | | | | Adds following functions to the Engine singleton: get_author_info - names of Godot authors get_copyright_info - detailed source copyright get_license_info get_donor_info - donor names get_license_info - full text of licenses used, indexed by license names get_license_text - the text of the Godot Expat license
* Remove commented out code in methods.pyHenry Hirsch2018-05-051-21/+0
|
* Refactor JavaScript platform build scriptLeon Krause2018-03-261-4/+1
|
* Properly closing all files in Python codeViktor Ferenczi2018-03-111-12/+17
|
* add GLES 2 renderer for 2Dkarroffel2018-03-011-691/+29
| | | | | | | | 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.
* Fix typos with codespellluz.paz2018-02-211-3/+3
| | | | | | | | | | | | | | Found via `codespell -q 3 --skip="./thirdparty,./editor/translations" -I ../godot-word-whitelist.txt` Whitelist consists of: ``` ang doubleclick lod nd que te unselect ```
* Fix mixed use of tabs and spacesKurtis Harms2018-01-241-3/+3
|
* removed debug printAriel Manzur2018-01-241-1/+0
|
* - Improves portability in joystick buttons enumAriel Manzur2018-01-241-7/+14
| | | | - Fixes linking bug in modules split library
* Include .hpp files in VS scons builds. Fixed Typo.Will Nations2018-01-181-1/+1
|
* Fix typos in code and docs with codespellRémi Verschelde2018-01-181-1/+1
| | | | Using v1.11.0 from https://github.com/lucasdemarchi/codespell
* Disable colored output and progress bar when building outside of a TTYHugo Locurcio2018-01-131-11/+19
| | | | | | | | This makes the output more readable if it is written to a file, and more compact in continuous integration environments, keeping the log sizes low. This commit also adds myself to .mailmap.
* SCons: Fix build error on invalid module foldersRémi Verschelde2018-01-071-0/+2
|
* sort by the most recently accessed filesRhody Lugo2017-12-181-9/+9
|
* disable caching for targets using helper functionsRhody Lugo2017-11-281-8/+19
|
* use the same cache for all branches for appveyorRhody Lugo2017-11-281-1/+6
|
* Rename the version's "revision" to "build"Rémi Verschelde2017-11-201-5/+5
| | | | | | | | That "revision" was inherited from SVN days but had been since then used to give information about the build: "custom_build", "official", "<some distro's build>". It can now be overridden with the BUILD_NAME environment variable.
* Pass engine name and version parts as proper stringsRémi Verschelde2017-11-201-5/+5
| | | | | | Removes the need for _MKSTR all over the place which has the drawback of converting _MKSTR(UNKNOWN_DEFINE) to "UKNOWN_DEFINE" instead of throwing a compilation error.
* Add cpp.hint file to improve IntelliSenseMatthias Hoelzl2017-11-191-0/+11
|
* Suppress progress messages in Visual Studio output paneMatthias Hoelzl2017-11-181-3/+3
|
* Improve code style of generated headersRémi Verschelde2017-11-151-6/+0
|
* -Modules can now add custom version info (added it for Mono)Juan Linietsky2017-11-011-1/+5
| | | | | -Version string takes this version info -Ability to download templates from the interweb (listing does not work yet)
* added support for paths with spaces for VSBUILDSnicholasbuckner2017-10-291-3/+7
| | | | | | | There was a problem with MSBuild in that windows file paths end with a backslash, which was escaping the last of the double quotes which surround the $(ProjectDir) directive. This was fixed by removing the last backslash through changing it to $(ProjectDir.TrimEnd('\')).
* Fixing vsproj generation for paths with spacesDaniel Alexandru Radu2017-10-271-3/+3
| | | | | Fixing vsproj generation by adding quotes arounnd $(ProjectDir). Otherwise the build will fail if the name has spaces in it [ci skip]
* flatDir support [Android]Ramesh Ravone2017-10-071-0/+4
|
* Fix scons: *** No SConstruct file foundBartłomiej T. Listwon2017-10-011-3/+3
| | | Add --directory=$(ProjectDir) to build_commandline()
* Fix unused variable warningsHein-Pieter van Braam2017-09-081-3/+0
| | | | The forth in my quest to make Godot 3.x compile with -Werror on GCC7
* Generate project files for VS2017Matthias Hoelzl2017-08-291-0/+53
|
* Make build scripts Python3 compatibleMatthias Hoelzl2017-08-271-26/+27
| | | | | | | | - The Windows, UWP, Android (on Windows) and Linux builds are tested with Scons 3.0 alpha using Python 3. - OSX and iOS should hopefully work but are not tested since I don't have a Mac. - Builds using SCons 2.5 and Python 2 should not be impacted.
* Dead code tells no talesRémi Verschelde2017-08-271-6/+0
|
* -Added GLTF scene support (still missing animations and .glb extension)Juan Linietsky2017-08-021-0/+1
| | | | -Fixed bugs regarding tangent generation in SurfaceTool
* Include Git hash in the enginePoommetee Ketson2017-07-111-0/+14
|
* Use custom native-run icons for Android and HTML5L. Krause2017-06-271-16/+19
|
* BuildSystem: generated files have .gen.extensionPoommetee Ketson2017-06-251-9/+9
|
* Fix a few issues compiling windows and using VS2015 and earlierBastiaanOlij2017-05-231-55/+63
|
* Detect newer Visual Studio compilers correctly like VS2017.Aren Villanueva2017-05-191-0/+27
|
* Move VERSION_MKSTRING logic to version.hRémi Verschelde2017-04-201-1/+1
| | | | | | | Fixes a bug where the VERSION_PATCH define is not yet in scope if typedefs.h is included before version.h at compilation time. (cherry picked from commit 3b687c5474113b64f186388883ca85cdfe6523d4)
* Android: avoiding duplicates in build.gradleRamesh Ravone2017-04-101-20/+18
|
* Fix typos in source code using codespellRémi Verschelde2017-03-241-2/+2
| | | | From https://github.com/lucasdemarchi/codespell
* android: adding classpath and gradle pluginsRamesh Mani Maran2017-03-181-0/+5
|
* fix code generation so it generates Transform2D instead of Matrix32Juan Linietsky2017-01-111-4/+4
|
* Merge remote-tracking branch 'origin/gles3' into gles3-on-masterRémi Verschelde2017-01-021-5/+77
|\ | | | | | | | | Various merge conflicts have been fixed manually and some mistakes might have been made - time will tell :)
| * Blend shapes using transform feedback (GPU)Juan Linietsky2016-11-241-2/+37
| |
| * -Many many fixesJuan Linietsky2016-10-291-0/+1
| | | | | | | | -Gizmos work again