summaryrefslogtreecommitdiffstats
path: root/modules/theora/config.py
Commit message (Collapse)AuthorAgeFilesLines
* [Scons] Implement module dependency sorting.Fabio Alessandrelli2022-08-041-1/+2
| | | | | | | | | | | Modules can now call: env.module_add_dependencies(name: str, deps: list, optional: bool) To add required or optional dependencies during the "can_build" step. Required dependencies will be checked and the module will be not be enabled when they are missing, printing a warning to notify the user.
* Add support for the RISC-V architectureAaron Franke2021-10-221-0/+2
| | | | Supports RV64GC (RISC-V 64-bit with general-purpose and compressed-instruction extensions)
* SCons: Validate dependencies for linked multimedia modulesRémi Verschelde2020-06-031-1/+1
| | | | | | | | This is still a bit hacky and eventually we should rework the way we handle optional dependencies (especially with regard to builtin/system libs), but it's a simple first step. Fixes #39219.
* SCons: Format buildsystem files with psf/blackRémi Verschelde2020-03-301-0/+3
| | | | | | | | | | | | | | | | | | | | | Configured for a max line length of 120 characters. psf/black is very opinionated and purposely doesn't leave much room for configuration. The output is mostly OK so that should be fine for us, but some things worth noting: - Manually wrapped strings will be reflowed, so by using a line length of 120 for the sake of preserving readability for our long command calls, it also means that some manually wrapped strings are back on the same line and should be manually merged again. - Code generators using string concatenation extensively look awful, since black puts each operand on a single line. We need to refactor these generators to use more pythonic string formatting, for which many options are available (`%`, `format` or f-strings). - CI checks and a pre-commit hook will be added to ensure that future buildsystem changes are well-formatted.
* Unexpose subclasses of ResourceFormatLoader and -SaverRémi Verschelde2019-06-181-1/+0
| | | | | | | | | | | | | | ResourceFormatLoader and ResourceFormatSaver are meant to be overridden to add support for different formats in ResourceLoader and ResourceSaver. Those should be exposed as they can be overridden in plugins. On the other hand, all predefined subclasses of those two base classes are only meant to register support for new file and resource types, but should not and cannot be used directly from script, so they should not be exposed. Also unexposed ResourceImporterOGGVorbis (and thus its base class ResourceImporter) which are editor-only.
* SCons: Pass env to modules can_build methodRémi Verschelde2018-05-301-1/+1
| | | | | | This allows to disable modules based on the environment, in particular `env[tools]` which tells us if we are building the editor or not.
* doc: Make all module docs self-containedRémi Verschelde2017-11-151-2/+9
|
* Fix video playbackMatt Hughes2017-10-141-2/+1
| | | | | | | | This adds support to - VideoPlayer - VideoStreamWebm - VideoStreamTheora
* Oops! Audio engine has vanished :DJuan Linietsky2017-01-151-1/+2
|
* style: Fix PEP8 blank lines issues in Python filesRémi Verschelde2016-11-011-0/+1
| | | | | | | | | | | 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: Start applying PEP8 to Python files, indentation issuesRémi Verschelde2016-11-011-2/+2
| | | | | | | | | | | | | | | | | | | 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.
* theora: Move to a module and split thirdparty libRémi Verschelde2016-10-151-0/+6
Same rationale as the previous commits.