Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2021-03-15 | Delete leftover files from some tests.filecleanup | Jussi Pakkanen | 2 | -0/+16 | |
2021-03-14 | ninjabackend: Use rsp_file_syntax method | Dylan Baker | 3 | -25/+17 | |
This also makes us of the new enum value in the backend, for better type saftey. | |||||
2021-03-14 | compilers/linkers: Add a methhod for getting the rspfile syntax | Dylan Baker | 4 | -4/+70 | |
2021-03-14 | Fix run_targets running scripts from different subdirs. | Jussi Pakkanen | 4 | -0/+16 | |
2021-03-12 | interpreter: Cache found dependency before converting for include_type | Xavier Claessens | 7 | -7/+35 | |
Fixes: #8516. | |||||
2021-03-12 | Fix duplicate pkg_config_path entries | Tristan Partin | 2 | -2/+14 | |
Previously builds would *potentially* get sammed with messaging at configure time that duplicate entries in an array would be an error in the future, and the cause was because the same entries were getting added over and over to pkg_config_path.p | |||||
2021-03-10 | Add test to build a mixed C/Rust shared library. | Jussi Pakkanen | 5 | -0/+93 | |
2021-03-10 | doc: Add External Project into the top dropdown menu | Xavier Claessens | 1 | -0/+1 | |
2021-03-10 | Some documentation language adjustments & improved error messages | Laurin-Luis Lehning | 4 | -4/+13 | |
2021-03-10 | Add tentative FeatureNew guard | Laurin-Luis Lehning | 1 | -0/+1 | |
2021-03-10 | Yet another documentation update | Laurin-Luis Lehning | 1 | -0/+3 | |
2021-03-10 | Fix release snippet still using the old fstring syntax | Laurin-Luis Lehning | 1 | -1/+1 | |
2021-03-10 | Add syntax documentation with tentative version target | Laurin-Luis Lehning | 1 | -0/+16 | |
2021-03-10 | Formatting fix | Laurin-Luis Lehning | 2 | -2/+2 | |
2021-03-10 | Add failing test cases & release snippet | Laurin-Luis Lehning | 6 | -1/+29 | |
2021-03-10 | Use interpreter exceptions instead of MesonException | Laurin-Luis Lehning | 1 | -2/+2 | |
2021-03-10 | Switch fstring syntax to @..@ & limit fstring captures to int, str, float ↵ | Laurin-Luis Lehning | 2 | -6/+8 | |
and bool | |||||
2021-03-10 | Add support for basic format strings | Laurin-Luis Lehning | 3 | -2/+36 | |
2021-03-09 | dependencies: Add docstring explaining how to write a system dependency | Dylan Baker | 1 | -0/+149 | |
This is a useful thing to document. I wasn't really sure where to put it, but since it's developer oriented I figured in the code itself was probably more useful and more likely to be seen than in the markdown that generates the website. | |||||
2021-03-09 | docs: add a couple words about system dependencies | Dylan Baker | 1 | -0/+17 | |
2021-03-10 | setuptools: move stuff to declarative cfg if possible [skip ci] | Eli Schwartz | 2 | -14/+13 | |
We're down to just declaring the data files in python now. setup.cfg can, uniquely, retrieve version info by trying to parse the AST for simple assignments (which we use) instead of importing the entire module. | |||||
2021-03-10 | Disable broken asm test on Cygwin as nobody knows how to fix it. | Jussi Pakkanen | 1 | -0/+4 | |
2021-03-09 | Add address sanitizer support for Visual Studio. | Jussi Pakkanen | 4 | -2/+18 | |
2021-03-09 | setup.py: remove pointless __main__ guard | Eli Schwartz | 1 | -9/+8 | |
Since the testsuite no longer tries to import a *script* as a *module*, there is no need to check if we are in __main__ before running setup(). | |||||
2021-03-09 | setuptools: don't hardcode list of modules to install, use find_packages | Eli Schwartz | 2 | -29/+5 | |
And don't run a pointless test to verify that the hardcoded list has been manually maintained correctly. The same test rules used there can translate directly to find_packages pattern rules. | |||||
2021-03-09 | change RSP quote style decision logic | Remi Thebault | 1 | -3/+12 | |
Take into account LDC on Windows Fixes #8494 | |||||
2021-03-09 | Add str.replace() method | Tristan Partin | 5 | -1/+36 | |
2021-03-08 | remove unused environment function | Eli Schwartz | 1 | -4/+0 | |
The script dir is never really used since meson --internal handles this. The last remaining use of the raw script dir got removed in commit 522392e7553823e6b3ac38cadc4fbee72eae9540. | |||||
2021-03-08 | Add /Od flag to msvc optimization 0 args | Vili Väinölä | 1 | -1/+1 | |
Without specifying optimization the used optimization depends on vs runtime-library. With mdd it is /Od but with md it is /O2. | |||||
2021-03-06 | minstall: Correctly set uid/gid of installed files | Peter Kjellerstedt | 2 | -2/+2 | |
In commit caab4d3d, the uid and gid arguments passed to os.chown() by set_chown() were accidentally swapped, causing files to end up with incorrect owner/group if the owner and group are not the same. Also update the documentation to better indicate which argument to install_mode is which. Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> | |||||
2021-03-06 | Refactor subdir visitation to track files instead of dirs. | Jussi Pakkanen | 5 | -9/+22 | |
2021-03-06 | Fix Fortran dep scanner for upper case file extensions. Closes #8395. | Jussi Pakkanen | 3 | -2/+3 | |
2021-03-05 | Port CUDA module to new API. | Olexa Bilaniuk | 1 | -11/+23 | |
2021-03-04 | compilers: Use EnvironmentException not EnvironmentError/OSError | Dylan Baker | 1 | -8/+8 | |
The latter is a python built-in exception, the former is a meson exception. | |||||
2021-03-04 | use python2-compatible syntax because needed on macOS | Eli Schwartz | 1 | -2/+2 | |
Apparently this unittest runs on macOS using the system python2. | |||||
2021-03-04 | mass rewrite of string formatting to use f-strings everywhere | Eli Schwartz | 109 | -917/+917 | |
performed by running "pyupgrade --py36-plus" and committing the results | |||||
2021-03-04 | various python neatness cleanups | Eli Schwartz | 45 | -140/+134 | |
All changes were created by running "pyupgrade --py3-only --keep-percent-format" and committing the results. I have not touched string formatting for now. - use set literals - simplify .format() parameter naming - remove __future__ - remove default "r" mode for open() - use OSError rather than compatibility aliases - remove stray parentheses in function(generator) scopes | |||||
2021-03-04 | raw string literals are next to godliness | Eli Schwartz | 4 | -6/+6 | |
Invalid escape sequences are deprecated and will be removed from a future version of python. Use r"" to define them so they remain readable. | |||||
2021-03-04 | Fix release notes typo [skip ci] | Michael Brockus | 1 | -1/+1 | |
2021-03-04 | ci: Downgrade Qt on MacOS from Qt6 to Qt5 | Daniel Mensinger | 1 | -4/+6 | |
2021-03-04 | docs: Clarify compiler.cmd_array() (#8454) | Chris Mayo | 1 | -2/+1 | |
Make it easier to understand that this array contains the compiler command, not arguments to it, and may only have one element. | |||||
2021-03-04 | Improved a paragraph [skip ci] | Amr Ojjeh | 1 | -3/+3 | |
Made it easier to understand | |||||
2021-03-04 | mintro: include the correct target filenames for flat layout | Paolo Bonzini | 2 | -2/+23 | |
Fixes: #8408 | |||||
2021-03-04 | mintro: fix flake8 issues | Paolo Bonzini | 1 | -1/+1 | |
2021-03-04 | Simplify module API | Xavier Claessens | 5 | -103/+85 | |
- ModuleState is now a real class that will have methods in the future for actions modules needs, instead of using interpreter internal API. - New ModuleObject base class, similar to InterpreterObject, that should be used by all objects returned by modules. Its methods gets the ModuleState passed as first argument. It has a `methods` dictionary to define what is public API that can be called from build definition. - Method return value is not required to be a ModuleReturnValue any more, it can be any type that interpreter can holderify, including ModuleObject. - Legacy module API is maintained until we port all modules. In the future modules should be updated: - Use methods dict. - Remove snippets. - Custom objects returned by modules should all be subclass of ModuleObject to get the state iface in their methods. - Modules should never call into interpreter directly and instead state object should have wrapper API. - Stop using ModuleReturnValue in methods that just return simple objects like strings. Possibly remove ModuleReturnValue completely since all objects that needs to be processed by interpreter (e.g. CustomTarget) should be created through ModuleState API. | |||||
2021-03-04 | interpreter: Fix process_new_values() | Xavier Claessens | 1 | -7/+3 | |
It should recurse on lists and does not need to return a value. | |||||
2021-03-04 | build: Fix backend type | Xavier Claessens | 1 | -1/+2 | |
2021-03-03 | pkgconfig: Add missing permitted kwargs | Xavier Claessens | 1 | -1/+1 | |
Fixes #8462 | |||||
2021-03-03 | Windows Subsystem for Linux can run .exe without mono interpreter | Xavier Claessens | 2 | -1/+4 | |
Fixes: #8445 | |||||
2021-03-02 | wrap: sha256 digest is not case sensitive | Xavier Claessens | 1 | -2/+2 | |
Fixes: #8450. |