summaryrefslogtreecommitdiff
path: root/docs
AgeCommit message (Collapse)Author
2022-01-26docs: correct weakref typo in Reference-tables.mdArsen Arsenović
2022-01-26compilers/c_function_attributes: add retainArsen Arsenović
retain is a relatively young attribute which has proven itself useful for working with --gc-sections -z start-stop-gc.
2022-01-26Add docs for JDK system dependencyTristan Partin
For whatever reason, the original PR was merged without documentation.
2022-01-25docs: fix bad advice in the READMEEli Schwartz
Do not recommend running the 'upload' target by default in order to build the docs. That will fail with permission errors when trying to push to a repo most people don't have commit access to, and if they did have commit access it would be an even worse problem -- unpredictably overwriting the main website without any guarantee it was generated from the latest version of the docs! Plus, it does not actually work. The first thing it does is spawn an error message that required files do not exist, because the actual docs were not, in fact, built. So they cannot be uploaded either. The docs will build by default if you do not specify a non-default target. Fixes #9873
2022-01-23Contributing.md:specify max line length for docsandy5995
I thought it would good to specify a general rule here so people can set their line wrapping appropriately. [skip ci]
2022-01-23Subprojects.md:add extra detailandy5995
This adds a link https://mesonbuild.com/Builtin-options.html#specifying-options-per-subproject in two different places and provides an example for changing the default options. This info is partially based on a [recent discussion](https://github.com/mesonbuild/meson/discussions/9830) between me and @eli-schwartz [skip ci]
2022-01-23Subprojects.md:add link to is_subproject()andy5995
2022-01-22fix broken version annotations for the new itstool_join featureEli Schwartz
It was not added in 0.61.0 as that was already released.
2022-01-22Merge pull request #9742 from ximion/wip/itstoolJussi Pakkanen
i18n: Add support for joining XML localization via itstool
2022-01-21i18n: Add support for joining XML localization via itstoolMatthias Klumpp
2022-01-18interpreterobjects: deprecated passing a number to configuration_data.set10Dylan Baker
This is currently allowed, and is used in at least a few projects. It was not intended to work or documented, but it does and since it is in use a full deprecation period must be used. A warning has also been added for values < 0, which have surprising behavior.
2022-01-17index.md:add link to GitHub Discussions sectionandy5995
2022-01-16Subprojects.md:add single quotes around subproject and variable nameAndy Alt
2022-01-15gnome.genmarshal: restore the ability to pass sources as Files objectsEli Schwartz
It used to support: - a single string - an array of anything And as long as CustomTarget supported it too, everything worked fine. So, a `files('foo')` worked but a `files('foo')[0]` did not, which is silly... and it's not exactly terrible to use files() here, the input is literally a list of source files. Fixes building gnome-terminal Fixes #9827 Test updated by Nirbheek Chauhan <nirbheek@centricular.com>
2022-01-14docs/dep.yaml: davault -> defaultDylan Baker
2022-01-11link to mesa website instead of gitlabErik Faye-Lund
The mesa website is a bit more helpful as an introduction to the project than the gitlab-project. So it seems better to link there instead.
2022-01-10bump minimum required version of python to 3.7Eli Schwartz
Comment out the pending deprecation notice. It cannot be reached anymore, but is still useful for the next time we do a version bump.
2022-01-10docs: fix rust module bindgen argumentsDylan Baker
Fixes: 9795
2022-01-10remove the RPM moduleEli Schwartz
It is unmaintained, broken (frequently for long periods of time) and not really required for any meson functionality. Its purpose is to be used as a one-shot tool for creating a distro package recipe, and then deleted from your meson.build files. Due to its fragile dependency on coredata implementation details, we cannot assume it will reliably work, or continue to work, without someone who is actively willing to take responsibility for it. Even if that were to happen, this might be better off as an external script that parses introspection data. Closes #9764 Closes #9763
2022-01-10Merge pull request #9739 from mathstuf/armclang-supportJussi Pakkanen
Armclang support
2022-01-10Prepare release 0.61.0.Jussi Pakkanen
2022-01-10add pending deprecation notice for python 3.6Eli Schwartz
2022-01-10Running-Meson.md: fix a broken linkx-yuri
2022-01-09Remove docs for ghwt that got deleted ages ago.Jussi Pakkanen
2022-01-07Merge pull request #9773 from annacrombie/masterJussi Pakkanen
Add a man page backend to refman
2022-01-06add release notes for refman man pageStone Tickle
2022-01-06add man page generation to buildStone Tickle
2022-01-06add man page backend to refmanStone Tickle
2022-01-05Fix syntax highlighting Continuous-Integration.mdJohn Kilpatrick
2022-01-05cleanup _extract_meson_version()Stone Tickle
2022-01-03armltdclang: add support for ARM Ltd.'s `armclang` toolchainBen Boeckel
This is another toolchain also called `armclang`, but it is not a cross compiler like Keil's `armclang`. It is essentially the same as `clang` based on its interface and CMake's support of the toolchain. Use an `armltd` prefix for the compiler ID. Fixes: #7255
2022-01-02docs: Update yelp documentation to reflect what it is actually doingPablo Correa Gómez
2021-12-30fix incorrect docs for add_*_scriptEli Schwartz
They claimed that all of these functions accepted any posargs or varargs that install scripts supported. This was inconsistent with both the types that meson currently allowed, and the types that we documented in refman 1.0 *should* be allowed. Take the opportuninty to be clear as refman 1.0 never was, about the difference between types supported in the first posarg, and the ypes supported in succeeding varargs.
2021-12-17add ft32 cpu familyRafael Silva
2021-12-15rewriter: create {add,rm}_extra_files commandsCeleste Wouters
Add ability to mutate a target's `extra_files` list through the rewriter. The logic is copied from sources add/rm, but changes the `extra_files` kwarg instead of the sources positional argument. Has additional logic to handle creating the `extra_files` list if it doesn't exist.
2021-12-08docs: Add the `configuration` keyword argument to `configure_File`Dylan Baker
We were missing the most important keyword argument of them all!
2021-12-07gnome/genmarshal: Add missing kwargs to permittedKwargsDylan Baker
There are thee arguments that are passed directly to CustomTarget which are not in the permittedKwargs: depends, depend_files, and build_always. The first two are obviously generically useful, as they allow creating correct ordering. The latter, not so much. Since it was an error to pass it, we'll just delete it.
2021-12-06gnome module: document and fix install_dir x3, by allowing false *_gir and ↵Eli Schwartz
*_typelib generate_gir forces building both the typelib and gir, and some people only want one or the other (probably only the typelib?) which means flagging the other as install_dir: false in the same way custom_target supports. As this always worked, albeit undocumented, make sure it keeps working. It's pretty reasonable to allow, anyway. Fixes https://github.com/mesonbuild/meson/pull/9484#issuecomment-980131791
2021-12-06interpreter: allow extract_objects to receive generated sourcesPaolo Bonzini
Fixes: #8333
2021-12-06doc: fix missing kwarg in qt5 moduleEli Schwartz
compile_moc accepts "dependencies" for the same reason preprocess does, but the original documentation never copied this over from the preprocess docs. See: https://github.com/mesonbuild/meson/issues/9683#issuecomment-986825041
2021-12-01gnome module: document that yelp(languages: ...) is deprecatedEli Schwartz
If you use it, we emit a warning telling you to use LINGUAS instead. So we should warn people in the documentation as well. Fixes #9495
2021-12-02cmake: Deprecate CMake <3.14 and warn for <3.17 (#9677)Daniel Mensinger
* cmake: Deprecate CMake <3.14 and warn for <3.17 See: - #7832 - #9676 * cmake: Add deprecation release note snippet
2021-12-01add install_symlink functionPablo Correa Gómez
Allows installing symlinks directly from meson, which can become useful in multiple scenarios. Current main use is to help moving forward #9557
2021-11-29docs: add missing argument documentation for run_command captureDylan Baker
2021-11-25Stop backend_startup_project from erasing the last project in a VS solutionLuke Elliott
if it is not the specified project.
2021-11-24shared_module: Add soname when used as a link targetNirbheek Chauhan
Emit a detailed deprecation warning that explains what to do instead. Also add a unittest. ``` DEPRECATION: target prog links against shared module mymod, which is incorrect. This will be an error in the future, so please use shared_library() for mymod instead. If shared_module() was used for mymod because it has references to undefined symbols, use shared_libary() with `override_options: ['b_lundef=false']` instead. ``` Fixes https://github.com/mesonbuild/meson/issues/9492
2021-11-21Clarify some wording for compiler.first_supported_argumentLuke Drummond
After a discussion implementing this for muon [1] and clarification on IRC on Meson's behaviour. [1] https://lists.sr.ht/~lattis/muon/patches/26722
2021-11-21Support Visual Studio 2022 backendCrend King
2021-11-15Merge pull request #9520 from dcbaker/submit/gnome-first-typed-kwargsJussi Pakkanen
Add typed_kwargs to some of the gnome module functions
2021-11-15dependencies/zlib: Add system zlib method for androidDudemanguy
The same method that the BSDs use should also work for android. Also update the tests and docs where appropriate.