summaryrefslogtreecommitdiff
path: root/editor/SCsub
AgeCommit message (Collapse)Author
2018-08-29BuildSystem: Sort input file listsBernhard M. Wiedemann
so that godot package builds reproducibly in spite of indeterministic filesystem readdir order and http://bugs.python.org/issue30461 See https://reproducible-builds.org/ for why this is good. Sort font input file list, so that builtin_fonts.gen.h is created in a reproducible way Sort list of platforms, so that editor/register_exporters.gen.cpp is created in a reproducible way Sort list of source files, so that .a files and resulting godot binaries are created in a reproducible way
2018-08-29BuildSystem: Fix font listBernhard M. Wiedemann
We want to add the individual strings to the list and not add a list object to the list. Without this patch, sorting failed because "str < list" is not a valid operation in python.
2018-07-27Running builder (content generator) functions in subprocesses on WindowsViktor Ferenczi
- 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.
2018-06-21add NoCache wrapper to CommandRhody Lugo
2018-05-19GDScript access to copyright, license, author and donor information.Ibrahn Sahir
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
2018-03-13Merge pull request #17440 from viktor-ferenczi/issue-5042Rémi Verschelde
Properly closing all files in Python build code
2018-03-11Properly closing all files in Python codeViktor Ferenczi
2018-03-06Build polygon clipper only in tools buildsLeon Krause
2017-11-28disable caching for targets using helper functionsRhody Lugo
2017-11-28use the same cache for all branches for appveyorRhody Lugo
2017-11-17Added modules' doc files to make_doc_headerZher Huei Lee
They were somehow never included. This fixes that.
2017-11-15Improve code style of generated headersRémi Verschelde
2017-11-07Ignore files not ending with '.xml' when building doc headermhilbrunner
2017-10-21Cleanup unnecessary debug printsRémi Verschelde
2017-10-07fixed double escape for quotes in editor/SCsubMarius Guggenmos
2017-10-04Fix Python 3 buildMatthias Hoelzl
- Take care of the differences in handling unicode characters in `escape_string` (formerly in `editor/SCsub`, now in `compat.py)`. - Conditionally include `_winreg` or `winreg` in the Mono editor module.
2017-10-02Merge pull request #11592 from SaracenOne/header_generator_fixAndreas Haas
Python header generator now generates strings with escape characters.
2017-09-26Python header generator now generates strings with escape characters.Saracen
2017-09-25Use BoolVariable in target/component/advanced options.Elliott Sales de Andrade
2017-09-16Fix errors in Python 3 buildMatthias Hoelzl
2017-09-12Changed the doc class generation to individual files per class. It is also ↵Juan Linietsky
possible to save module files in module directories and the build system will recognize them.
2017-09-04EditorAbout: add donors tabPoommetee Ketson
2017-08-27Make build scripts Python3 compatibleMatthias Hoelzl
- 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.
2017-08-27Fix mixed tab/whitespace in build filesMatthias Hoelzl
2017-08-27Dead code tells no talesRémi Verschelde
2017-08-27Buildsystem: Reduce verbosity of font and translation generationRémi Verschelde
2017-07-18Fix Zlib license not extractedPoommetee Ketson
2017-07-06About: add thirdparty license infoPoommetee Ketson
2017-07-04About: Add License infoPoommetee Ketson
2017-07-03Authors/About: support for multiple sectionsPoommetee Ketson
2017-06-25BuildSystem: generated files have .gen.extensionPoommetee Ketson
2017-06-01About: add contributors listPoommetee Ketson
2017-03-05Refactoring: rename tools/editor/ to editor/Rémi Verschelde
The other subfolders of tools/ had already been moved to either editor/, misc/ or thirdparty/, so the hiding the editor code that deep was no longer meaningful.