summaryrefslogtreecommitdiff
path: root/docs
AgeCommit message (Collapse)Author
2022-10-24Add missing since annotations in docsElliott Sales de Andrade
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 Cohn
2022-10-24Add MASM compilerXavier Claessens
ml and armasm are Microsoft's Macro Assembler, part of MSVC.
2022-10-24Accept disablers in summary valuesElliott Sales de Andrade
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 Claessens
2022-10-24Add yasm as fallback for nasm languageXavier Claessens
2022-10-24Add NASM compilerXavier Claessens
2022-10-23Merge pull request #10916 from xclaesse/preprocessJussi Pakkanen
Add cc.preprocess() method
2022-10-23Add doc and release notes for cc.preprocess()Xavier Claessens
2022-10-23Fix typos in docsElliott Sales de Andrade
2022-10-22doc: Fix linkZhao, Gang
2022-10-13Add b_thinlto_cache for automatically configuring incremental ThinLTOTatsuyuki Ishi
2022-10-11Make `meson wrap update` command update all wraps in parallelXavier Claessens
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 Pakkanen
Automatically use WrapDB fallback
2022-10-10Document and test new WrapDB auto fallbackXavier Claessens
2022-10-09Add BSD support to the JNISystemDependencyTristan Partin
Supports all BSDs that Meson currently supports. Fixes #10883
2022-10-09compilers: Add optimization=plain optionJan Tojnar
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 Claessens
2022-09-29doc: Fix wayland release notesXavier Claessens
The core_only kwarg got renamed to include_core_only.
2022-09-28gnome: add support for update-mime-databasePaolo Borelli
Fixes https://github.com/mesonbuild/meson/issues/10865
2022-09-28Automatically tag systemtap filesXavier Claessens
2022-09-28Automaticall tag installed testsXavier Claessens
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 Schwartz
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 Claessens
2022-09-19python module: allow specifying the pure kwarg in the installation objectEli Schwartz
Fixes #10523
2022-09-14docs: note the automatic creation of gitignore in build directoriesEli Schwartz
2022-09-12rust: Generate a rust-project.json file when rust targets are presentDylan Baker
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 Schwartz
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 Claessens
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 Bolhuis
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 Bolhuis
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 Bolhuis
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: make note of the path restriction on subdir()Eli Schwartz
It's mentioned in the error message if you try to do it, that you cannot use `..`, but it is probably useful to mention this in the online docs too.
2022-08-29docs: mention in the native-file docs, the command line argument to useEli Schwartz
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 Lange
2022-08-23install modes should not apply sticky bit to filesEli Schwartz
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 Baker
`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 Schwartz
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 Schwartz
This is wrong, it should use "meson setup builddir".
2022-08-12add AdwCustomizer0xMRTT
2022-07-31documentation: extend custom_target installGerion Entrup
custom_target allows selective installation if it outputs more than one file. Mention this explicitly in install. Additionally, fix the types for install_dir. see: https://github.com/mesonbuild/meson/issues/505
2022-07-14docs: add some function linkification in code snippetsEli Schwartz
Let people easily find the documentation for concepts we are trying to teach.
2022-07-13docs: Suggest using depth=1 by default for wrap-gitPhilip Withnall
It saves bandwidth and disk usage on downloaded subprojects, and people very rarely need more than the single commit they’re using. Add `depth=1` to the `[wrap-git]` examples in the rest of the documentation, to make it more likely that people will copy-and-paste it into their `.wrap` files. Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
2022-07-11docs: add cross-file exampleMichael Davidsaver
2022-07-08implement the new preserve_path kwarg for install_data tooEli Schwartz
Primarily interesting to me because it is then available for the python module's install_sources method. Based on the new feature in install_headers.
2022-07-07Users.md: Add SciPyAmit D
2022-07-04Update Users.mdAmit D
2022-07-04Update Users.mdAmit D
2022-07-03Finalize the release.Jussi Pakkanen
2022-07-02Users.md: remove wxFormBuildersmowzy
according to commit https://github.com/wxFormBuilder/wxFormBuilder/commit/8a3d1697c819b8a8b41a136a865439b205997ae1