aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown
AgeCommit message (Collapse)AuthorFilesLines
2022-11-19modules/rust: stabilizeDylan Baker2-1/+5
Mesa is using the rust module in production, so we should stabilize it.
2022-11-15Change `unstable_external_project` to `unstable-external_project`Tristan Partin3-4/+4
Apparently this is a misspelling even though it has been in the docs since the creation of the module.
2022-11-15escape asterisk used for footnotetastytea1-1/+1
unescaped it's turned into a list item
2022-11-13Update Qt6-module.mdHagen Möbius1-2/+173
- qt5 -> qt6 - remove version information from when the Qt6 module was not a thing - linked to dependency function - highlight version information with *...* and placing it at the front of options or on new lines in text - reformatted for shorter lines
2022-11-13Add a note on relocatable pkg-config files to reference manual.Ralf Gommers1-0/+6
2022-11-13docs: installation tags for the GNOME moduleKleis Auke Wolthuizen1-2/+7
PR #10826 adds a couple of missing installation tags for the GNOME module, ensure we document these.
2022-11-11docs: improve ESL text, fix some English errorsGuilherme Janczak1-37/+39
Fixes: - Incorrect, redundant, or overabundant usage of "just" - Missing punctuation - Missing "the" - Parenthesized text far from what it describes There are some subjective changes, I hope those aren't controversial.
2022-11-10fix typoGuilherme Janczak1-1/+1
2022-11-06Implement `in` operator on stringXavier Claessens1-0/+11
2022-11-06Generate release notes for 0.64.Jussi Pakkanen20-159/+185
2022-11-02Document binary literals.Garrett D'Amore1-0/+2
2022-10-24Add missing since annotations in docsElliott Sales de Andrade3-9/+11
This is based on searching for `@FeatureNew*` decorators. There is also one correction to a version in a decorators; `build_by_default` was added in #1303, which is 0.38.0, not 0.40.0.
2022-10-24basic support for oneapi compilersRobert Cohn2-0/+10
2022-10-24Add MASM compilerXavier Claessens2-4/+11
ml and armasm are Microsoft's Macro Assembler, part of MSVC.
2022-10-24Accept disablers in summary valuesElliott Sales de Andrade1-0/+3
They are commonly used as a replacement for a `dependency`, and not accepting them in `summary` breaks the last example in [1] when used as a value. [1] https://mesonbuild.com/Disabler.html#disabling-parts-of-the-build
2022-10-24Add missing doc for NASM languageXavier Claessens1-0/+4
2022-10-24Add yasm as fallback for nasm languageXavier Claessens1-4/+1
2022-10-24Add NASM compilerXavier Claessens1-0/+18
2022-10-23Merge pull request #10916 from xclaesse/preprocessJussi Pakkanen1-0/+14
Add cc.preprocess() method
2022-10-23Add doc and release notes for cc.preprocess()Xavier Claessens1-0/+14
2022-10-23Fix typos in docsElliott Sales de Andrade11-13/+13
2022-10-13Add b_thinlto_cache for automatically configuring incremental ThinLTOTatsuyuki Ishi2-17/+27
2022-10-11Make `meson wrap update` command update all wraps in parallelXavier Claessens2-0/+11
This moves the implementation into msubprojects because it has all the infrastructure to update wraps in parallel while keeping "meson wrap" UX.
2022-10-10Merge pull request #8941 from xclaesse/wrapdbJussi Pakkanen2-0/+20
Automatically use WrapDB fallback
2022-10-10Document and test new WrapDB auto fallbackXavier Claessens2-0/+20
2022-10-09Add BSD support to the JNISystemDependencyTristan Partin1-0/+4
Supports all BSDs that Meson currently supports. Fixes #10883
2022-10-09compilers: Add optimization=plain optionJan Tojnar3-19/+29
https://github.com/mesonbuild/meson/pull/9287 changed the `optimization=0` to pass `-O0` to the compiler. This change is reasonable by itself but unfortunately, it breaks `buildtype=plain`, which promises that “no extra build flags are used”. `buildtype=plain` is important for distros like NixOS, which manage compiler flags for optimization and hardening themselves. Let’s introduce a new optimization level that does nothing and set it as the default for `buildtype=plain`.
2022-09-29doc: Add missing netrc release notesXavier Claessens1-0/+5
2022-09-29doc: Fix wayland release notesXavier Claessens1-2/+2
The core_only kwarg got renamed to include_core_only.
2022-09-28gnome: add support for update-mime-databasePaolo Borelli2-0/+7
Fixes https://github.com/mesonbuild/meson/issues/10865
2022-09-28Automatically tag systemtap filesXavier Claessens1-0/+2
2022-09-28Automaticall tag installed testsXavier Claessens1-0/+2
It is common, at least in GNOME projects, to install tests. Files goes into various locations, including: - /usr/lib/x86_64-linux-gnu/installed-tests - /usr/share/installed-tests - /usr/libexec/installed-tests It is safe to assume that everything that goes into a "installed-tests" subdir should be tagged as "tests" by default.
2022-09-23mtest: implement a maxfail optionEli Schwartz1-0/+6
This allows early exit of the project tests once a certain number of failures are detected. For example `meson test --maxfail=1` will abort as soon as a single test fails. Currently running tests are marked as failed via INTERRUPT. Resolves #9352
2022-09-22Add release notes snippet for new mconf behaviourXavier Claessens1-0/+6
2022-09-19python module: allow specifying the pure kwarg in the installation objectEli Schwartz1-0/+8
Fixes #10523
2022-09-14docs: note the automatic creation of gitignore in build directoriesEli Schwartz2-2/+13
2022-09-12rust: Generate a rust-project.json file when rust targets are presentDylan Baker2-0/+16
When at least one Rust target is present, we now generate a rust-project.json file, which can be consumed by rust-analyzer. This is placed in the build directory, and the editor must be configured to look for this (as it is not a default search path).
2022-09-12docs: fix broken porting advice for intl dependency in release notesEli Schwartz1-1/+1
See https://github.com/theimpossibleastronaut/rmw/pull/345#discussion_r967876201 The check for `.found()` implies the dependency lookup should be optional, but the example didn't make it optional.
2022-09-09doc: Recommend tags for libraries utilitiesXavier Claessens1-0/+6
GLib installs a few executables that are not needed by applications that use the glib libraries, but are used either by build systems or by user scripts. Debian splits them into libglib2.0-dev-bin and libglib2.0-bin packages. Another example is GStreamer tools (e.g. gst-launch-1.0) that Debian packages separately in gstreamer1.0-tools. It is common enough that Meson documentation should recommend a tag for consistency across projects.
2022-09-07modules/wayland: Change default value of include_core_only to trueMark Bolhuis1-1/+1
The use of wayland-<client|server>.h is discouraged, therefore change the default value of include_core_only to true.
2022-09-07modules/wayland: Rename core_only to include_core_onlyMark Bolhuis1-3/+4
Rename the core_only option in scan_xml to include_core_only to match the flag used by wayland-scanner.
2022-09-06modules/wayland: Support --include-core-onlyMark Bolhuis2-0/+8
wayland-scanner can generate header files that only include wayland-client-core.h using a flag. Add a core_only option to scan_xml to support this use case.
2022-08-29docs: mention in the native-file docs, the command line argument to useEli Schwartz1-0/+7
We mention --cross-file in the relevant page, but the fact that --native-file is the command line argument to use is mentioned nowhere other than a couple of release notes and the --help text for meson setup. This should be described in the docs.
2022-08-27Users.md: Add AudaciousThomas Lange1-0/+1
2022-08-23install modes should not apply sticky bit to filesEli Schwartz1-0/+14
This is generally a bad idea, e.g. it causes OSError on freebsd. It also gets ignored by solaris and thus causes unittest failures. The proper solution is to simply reject any attempt to set this, and log a warning. The install_emptydir function does apply the mode as well, and since it is a directory it actually does something. This is the only place where we don't reset the mode. Although install_subdir also installs directories, and in theory it could set the mode as well, that would be a new feature. Also it doesn't provide much granularity and has mixed semantics with files. Better to let people use install_emptydir + install_subdir. Fixes #5902
2022-08-18modules/fs: Replace configure_file(copy:) with fs.copyfileDylan Baker2-0/+44
`configure_file` is both an extremely complicated implementation, and a strange place for copying. It's a bit of a historical artifact, since the fs module didn't yet exist. It makes more sense to move this to the fs module and deprecate this `configure_file` version. This new version works at build time rather than configure time, which has the disadvantage it can't be passed to `run_command`, but with the advantage that changes to the input don't require a full reconfigure.
2022-08-16deprecate running "meson builddir" without setup subcommandEli Schwartz1-1/+3
This is ambiguous, if the build directory has the same name as a subcommand then we end up running the subcommand. It also means we have a hard time adding *new* subcommands, because if it is a popular name of a build directory then suddenly scripts that try to set up a build directory end up running a subcommand instead. The fact that we support this at all is a legacy design. Back in the day, the "meson" program was for setting up a build directory and all other tools were their own entry points, e.g. `mesontest` or `mesonconf`. Then in commit fa278f351fe3d6924b4d1961f77b5b4a36e133f8 we migrated to the subcommand mechanism. So, for backwards compatibility, we made those tools print a warning and then invoke `meson <tool>`. We also made the `meson` tool default to setup. However, we only warned for the other tools whose entry points were eventually deleted. We never warned for setup itself, we just continued to silently default to setup if no tool was provided. `meson setup` has worked since 0.42, which is 5 years old this week. It's available essentially everywhere. No one needs to use the old backwards-compatible invocation method, but it continues to drag down our ability to innovate. Let's finally do what we should have done a long time ago, and sunset it.
2022-08-16docs: fix various references to "meson builddir"Eli Schwartz14-21/+21
This is wrong, it should use "meson setup builddir".
2022-08-12add AdwCustomizer0xMRTT1-0/+1
2022-07-14docs: add some function linkification in code snippetsEli Schwartz7-21/+21
Let people easily find the documentation for concepts we are trying to teach.