meson/mesonbuild
Akihiko Odaki c2c9359d46 Fix destdir_join
The old implementation assumed a path is of Windows iff the second
character is a colon. However, that is not always true.
First, a colon can be included in a non-Windows path. For example, it is
totally fine to have a directory named ':' on Linux 5.17.0 tmpfs.
Second, a Windows path may start with \\ for UNC or extended length.

Use pathlib to handle all of these cases.
2022-06-26 17:18:26 -04:00
..
ast flake8: fix various whitespace nits 2022-06-13 13:34:39 +03:00
backend add missing lower() to fix msvc backend platform detection 2022-06-26 08:10:12 -04:00
cmake cmake: fix detecting directories as input files (fixes #10244) 2022-05-24 18:00:49 -04:00
compilers visualstudio.py: Apply /utf-8 only on clang or VS2015+ 2022-06-21 21:08:06 +03:00
dependencies flake8: fix non-idiomatic ordering of "if not in" checks 2022-06-13 13:34:39 +03:00
interpreter fix type checking for declare_dependency to allow linking to executable 2022-06-21 16:42:06 -04:00
interpreterbase typed_kwargs: support dict/list as "new since" types 2022-06-17 14:33:01 -04:00
linkers flake8: fix various whitespace nits 2022-06-13 13:34:39 +03:00
mesonlib Improve WINEPATH reduction 2022-06-17 11:53:38 -04:00
modules python module: implicitly add python dep to extensions 2022-06-19 21:44:17 +03:00
scripts Fix destdir_join 2022-06-26 17:18:26 -04:00
templates flake8: fix indentation style 2022-01-27 10:48:01 -08:00
wrap flake8: don't use f-strings for strings without formatting 2022-06-13 13:34:39 +03:00
__init__.py Renamed meson package to mesonbuild so that we can have a script named meson in the same toplevel dir. 2016-01-16 17:35:29 +02:00
_pathlib.py pathlib: Patch pathlib to work around some bugs (fixes #7295) 2021-06-29 11:28:08 +02:00
_typing.py typing: replace ImmutableSetProtocol with typing.AbstractSet 2022-06-08 23:19:09 +03:00
arglist.py Fix typos discovered by codespell 2021-10-10 16:12:25 -04:00
build.py fix regression that broke proper warnings about passing subproject as a dep 2022-06-16 21:19:06 -04:00
coredata.py Update version numbers for rc1. 2022-06-19 22:20:53 +03:00
depfile.py depfile: type annotate 2022-01-10 23:06:20 -05:00
envconfig.py envconfig: use $PKG_CONFIG for pkg-config find_program as well as pkgconfig 2022-03-22 15:15:29 +02:00
environment.py pkgconfig: Use EnvironmentVariables to build PKG_CONFIG_* env 2022-04-30 15:01:28 -04:00
mcompile.py mcompile: Print suggestions when target is ambigous 2022-05-01 23:56:38 +03:00
mconf.py fix: handle the case where the last item of `four_column` results in being < 1 (COLUMNS <= 60) by falling back to `_col`, relevant issue #10211 2022-06-24 00:17:56 -04:00
mdevenv.py devenv: Do not use relative WINEPATH 2022-06-17 11:53:38 -04:00
mdist.py flake8: remove no longer used imports 2022-06-10 09:15:48 -04:00
mesondata.py port from embedded data to importlib.resources 2022-01-10 18:36:57 -05:00
mesonmain.py Move python version check as first thing 2022-06-22 09:13:05 -07:00
minit.py minit: refuse to allow creating broken projects 2022-05-05 20:07:44 -04:00
minstall.py minstall: Add more safety checks when unpickling installdata 2022-06-16 17:06:25 -04:00
mintro.py ast: rename module constant to match PEP8 style 2022-06-01 22:49:10 -04:00
mlog.py mlog: add support for italic/emphasized text in AnsiText 2022-06-09 18:58:33 -04:00
mparser.py Add support for multiline f-strings 2022-05-01 12:47:37 -04:00
msetup.py devenv: Use PkgConfigDependency.get_env() 2022-05-04 00:16:32 +03:00
msubprojects.py treewide: various cleanups to move imports for mypy into typechecking blocks 2022-06-10 09:15:48 -04:00
mtest.py Improve WINEPATH reduction 2022-06-17 11:53:38 -04:00
munstable_coredata.py fix coding errors in unstable-coredata subcommand 2021-08-22 13:56:41 +03:00
optinterpreter.py Allow deprecating an option for a new one 2022-04-21 14:18:29 -04:00
programs.py ExternalProgram: Make get_version() work without interpreter 2022-06-17 11:53:38 -04:00
rewriter.py ast: rename module constant to match PEP8 style 2022-06-01 22:49:10 -04:00