aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown
AgeCommit message (Collapse)AuthorFilesLines
2025-01-09Merge pull request #13304 from chubinou/qml_modulesJussi Pakkanen1-1/+79
Qml modules
2025-01-09qt module: update add qml_module documentationPierre Lamot1-2/+76
2025-01-08rust: add 2024 editionPaolo Bonzini1-0/+5
Rust edition 2024 is being released in February, add support for rust_std=2024. Resolves: #14074 Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2025-01-08rust: add warning_level=0 to downloaded Cargo subprojectsPaolo Bonzini1-0/+8
This adds --cap-lints allow, matching how Cargo builds them. In the case of Cargo, this is only applied to non-path dependencies. Without this change, clippy will complain about dependencies as well. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2025-01-08rust: change warning_level=0 to "--cap-lints allow"Paolo Bonzini1-0/+2
This is a better and more backwards-compatible way to disable all warnings, compared to "-A warnings". The Rust RFC (https://rust-lang.github.io/rfcs/1193-cap-lints.html) explains the rationale: > We would very much like to be able to modify lints, however. For example > rust-lang/rust#26473 updated the missing_docs lint to also look for missing > documentation on const items. This ended up breaking some crates in the > ecosystem due to their usage of #![deny(missing_docs)]. While at it, document that Rust deviates from the other languages in its interpretation of warning_level=0. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2025-01-08qt module: allow moc to generate json introspection filePierre Lamot1-0/+4
2025-01-07ninja backend: don't rebuild all tests by defaultEli Schwartz1-0/+29
When running `ninja all` we shouldn't build testsuite programs as these might not be wanted e.g. in order to just install the project. We do want them to be built when running `ninja test`. Since meson 0.63 we actually have a dedicated ninja alias for test dependencies -- move these from the "all" rule to the dedicated test/benchmark rules. Closes: https://github.com/mesonbuild/meson/issues/1704 Closes: https://github.com/mesonbuild/meson/issues/1949 Closes: https://github.com/mesonbuild/meson/issues/2518 Closes: https://github.com/mesonbuild/meson/issues/3662 Closes: https://github.com/mesonbuild/meson/pull/5728 Closes: https://github.com/mesonbuild/meson/pull/5867 Closes: https://github.com/mesonbuild/meson/pull/6511 Closes: https://github.com/mesonbuild/meson/pull/11317 Closes: https://github.com/mesonbuild/meson/issues/13378
2025-01-08First draft version of Tasking MIL linking with b_lto and prelinkinggerioldman2-11/+2
2025-01-08Add TASKING compiler supportgerioldman2-2/+2
2025-01-08Add TASKING to docsgerioldman2-0/+12
2025-01-07Add run0 as a way to raise privilegesrusty-snake1-1/+1
2025-01-06docs: fix cxx -> cppDylan Baker1-1/+1
2024-12-29dependencies: add custom atomic dependencyDudemanguy2-0/+19
Almost exactly the same as how the dl dependency works. On certain systems (like BSDs that use clang), stdatomic is provided by compiler-rt and doesn't need a separate library explictly linked. On a typical GNU/LINUX system, atomic is a separate library that must be explictly found and linked against. So just add a builtin and system method for these two use cases.
2024-12-19rust: raise a warning if clippy is used instead of rustcPaolo Bonzini1-0/+3
clippy-driver is not meant to be a general-purpose compiler front-end. Since Meson can now provide natively the ability to invoke clippy, raise a warning if someone uses it that way. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2024-12-19ninjabackend: add support for "ninja clippy"Paolo Bonzini3-1/+26
Add a target that builds all crates that could be extern to others, and then reruns clippy. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2024-12-19scripts: convert run_tool to asyncioPaolo Bonzini1-1/+2
This improves the handling of keyboard interrupt, and also makes it easy to buffer the output and not mix errors from different subprocesses. This is useful for clang-tidy and will be used by clippy as well. In addition, the new code supports MESON_NUM_PROCESSES. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2024-12-19introspect: add machine to target_sourcesPaolo Bonzini2-0/+13
Even though the "targets" introspection info already includes the command line arguments used to invoke the compiler, this is not enough to correlated with the "compilers" introspection info and get extra information from there. Together with the existing "language" key, adding a "machine" key is enough to identify completely an entry in the compilers info. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2024-12-19mtest: move determine_worker_count to utils, generalizePaolo Bonzini2-3/+12
It is useful to apply a limit to the number of processes even outside "meson test", and specifically for clang tools. In preparation for this, generalize determine_worker_count() to accept a variable MESON_NUM_PROCESSES instead of MESON_TESTTHREADS, and use it throughout instead of multiprocessing.cpu_count(). Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2024-12-06format: allow input from stdinCharles Brunet2-0/+8
Fixes #13791
2024-11-20Remove trailing full stops from entries in list of usersNoah Gitsham1-7/+7
Makes all entries consistent
2024-11-17docs: fix description of `py.install_sources` argumentsRalf Gommers1-6/+9
There is actually very little overlap between `install_sources` and `install_data` in arguments they accept: only 2/7 keywords for `install_data` apply to `install_sources`. Closes gh-12601
2024-11-17Update Users.md with netatalkDaniel Markstedt1-0/+1
2024-11-11Add Linux PAM to list of usersNoah Gitsham1-0/+1
They recently made the switch from Autotools to Meson
2024-11-06Check for uppercase 'head' when updating subprojectsandy59951-2/+2
2024-11-06vcs_tag: Add install kwargsXavier Claessens1-0/+4
Fixes: #4893
2024-11-05Document hotdoc.generate_doc(depends:) kwargFrank Dana1-2/+9
Document the results of commit bcc127b3f, which added 'depends' and deprecated using 'dependencies' for custom targets. Fixes: #11479
2024-11-04Add archiver to reference tablesSebastian Ehlert1-0/+1
Meson allows to set the archiver via the `AR` environment variable and a native / cross file. Only the latter approach seems to be documented. This patch adds the `AR` environment variable to the reference tables next to the compilers.
2024-11-01modules/wayland: document that scan_xml can take any protocol.Érico Nogueira1-2/+3
The quick example can be slightly misleading in implying that scan_xml must use find_protocol, which is not the case. So explicitly mention it in the scan_xml docs.
2024-10-31Correct typo in example Python module optionLuke Smith1-1/+1
python.install_env is the correct command, as documented in https://mesonbuild.com/Builtin-options.html#python-module. python.install_venv causes an error, it is not immediately obvious that the slight typo is the cause.
2024-10-28external-project: Setup devenv to run programsXavier Claessens2-2/+13
2024-10-26Reimplement several methods for Fortran compilersSébastien Villemot1-0/+8
The output_is_64bit, sizeof, cross_sizeof, compute_int and cross_compute_int methods are reimplemented for Fortran compilers. Those inherited from CLikeCompiler do not work since they assume C or C++. Note that those tests rely on Fortran 2008 features (notably the c_sizeof operator). Closes #12757
2024-10-24cargo: Fix feature resolutionXavier Claessens2-21/+14
Introduce a global Cargo interpreter state that keeps track of enabled features on each crate. Before generating AST of a Cargo subproject, it downloads every sub-subproject and resolves the set of features enabled on each of them recursively. When it later generates AST for one its dependencies, its set of features and dependencies is already determined.
2024-10-21docs: grammar suggestion ("Clarity..")andy59951-1/+1
2024-10-21docs: fix typoBenoit Pierre1-1/+1
2024-10-20Add GNU/Hurd kernel resultsSamuel Thibault1-0/+1
uname -s does return gnu there. Resolves: https://github.com/mesonbuild/meson/issues/13740 Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
2024-10-20Update docs and version number for release.1.6.0Jussi Pakkanen16-152/+175
2024-10-17Update release notes for 1.6.0.Aditya Vidyadhar Kamath1-0/+7
Closes: #13773.
2024-10-11cargo: Document that cargo subprojects is an experimental featureXavier Claessens2-0/+14
2024-10-11Add options for standard parameter for nvc and nvc++Kevin Meagher1-0/+6
fixes #13271
2024-10-05docs: Add windres to cross-compiling exampleandy59951-0/+1
2024-10-04docs: Mention that rust edition/standard 2018 or later should be usedDylan Baker1-1/+3
As the 2018 standard changes the way rust handles externs, and is the first edition that allows `--extern crate=path` to completely replace (in all but a few corner cases) the use of `extern crate` in the rust files.
2024-10-01Add a simple reproducibility test command.Jussi Pakkanen2-0/+43
2024-09-29docs: update the Visual Studio guide for the post-0.59 era with automatic vsenvEli Schwartz1-3/+11
For many years now, meson hasn't required manually entering a Visual Studio command prompt but has autodetected it. This confuses some readers of this outdated documentation into thinking it is much harder than it is.
2024-09-24linkers: basic support for the 'zig cc' linkerAndrei Alexeyev2-0/+19
2024-09-24qt module: allow has_tools to specify which tools to checkPierre Lamot2-0/+15
This allows checking for tools that may not be available in older version of qt or avoiding requesting tools that may not be necessary for a given project Co-authored-by: Nirbheek Chauhan <nirbheek@centricular.com>
2024-09-21add doc snippetunknown1-0/+3
2024-09-21add descriptionunknown1-0/+28
2024-09-21Document get_variable(system)unknown2-2/+5
2024-09-19Fix typosspaette3-4/+4
2024-09-14Fix various incorrect uses of `its` vs `it's`.Andrew McNulty1-2/+2
These errors can make reading comments and documentation unnecessarily confusing for users and contributors who do not speak English as their first language.