Commit Graph

1763 Commits

Author SHA1 Message Date
Crend King 809792c223 Support Visual Studio 2022 backend 2021-11-21 08:08:11 -05:00
Jussi Pakkanen cad109607d
Merge pull request #9520 from dcbaker/submit/gnome-first-typed-kwargs
Add typed_kwargs to some of the gnome module functions
2021-11-15 22:07:03 +02:00
Dudemanguy a4b4b21908 dependencies/zlib: Add system zlib method for android
The same method that the BSDs use should also work for android. Also
update the tests and docs where appropriate.
2021-11-15 12:40:00 -05:00
Dudemanguy f873b9ae2f Users.md: add mpv 2021-11-14 23:01:26 -05:00
Eli Schwartz 39ceb67774 docs: fix refman 2.0 regression in correctly describing find_library(has_headers)
All kwargs inherited from has_header need to be prefixed `header_` so we
cannot just do straight inheritance. And the part of the description
that highlighted the way kwargs are derived and evolved, went entirely
missing.

Fixes #9551
2021-11-09 16:59:36 -08:00
Eli Schwartz 4029705cf3 docs: fix some spelling typos 2021-11-09 16:59:36 -08:00
Dylan Baker 6137c21eb6 modules/gnome: use typed_kwargs for compile_resources 2021-11-08 12:29:01 -08:00
rusty-snake 5af556e2b8 Fix markdown formating in find_program.yaml
fixes #9528
2021-11-05 21:03:44 +05:30
Jussi Pakkanen 53febd08cd Add tutorial for building an SDL app from scratch. 2021-11-02 21:07:38 +02:00
Dylan Baker 98a9cc079c FAQ: Add entry about `add_project_link_arguments` and multiple languages
This seems to come up fairly often, so having an FAQ entry seems useful.
2021-11-02 14:03:18 -04:00
Volker Weißmann 2c079d855e Added warning if run_command is called without the check kwarg 2021-10-30 22:26:28 -04:00
rusty-snake 3c103fe49c Typo fixes (CustomTaget -> CustomTarget) 2021-10-30 14:29:17 -04:00
Jussi Pakkanen af85738daf
Merge pull request #9375 from dcbaker/submit/windows-module-typing
Typing for the Windows module
2021-10-29 22:45:04 +03:00
Xavier Claessens 5e2c251eda Add note in release notes that thin archives has been reverted 2021-10-29 11:12:02 -04:00
Matthieu Gautier 135b3bc0fd Fix markdown list in Bultin-options.md [skip ci]
The broken list was introduce by commit f72ee8e7 which fix too long lines.
2021-10-27 10:07:25 -04:00
Xavier Claessens 89e9b50292 doc: Requires hotdoc >=0.13.7
Building documentation fails with older hotdoc versions.
2021-10-26 18:02:09 +02:00
Xavier Claessens 6298e29070 message: Allow bool
It has always been working even if not documented and there is no reason
to not accept it. However, change "True/False" to "true/false" to be
consistent with meson language.

Fixes: #9436
2021-10-26 10:59:13 -04:00
Jussi Pakkanen 4840c86ec9 Add sccache support. 2021-10-25 19:59:49 -04:00
Nirbheek Chauhan 6ea4e21b6d Fix typos in release notes for 0.60.0 2021-10-25 00:35:11 -04:00
Jussi Pakkanen 39c268ce0d Create release notes page for 0.60. 2021-10-24 18:45:35 +03:00
Jussi Pakkanen 475b8b1ad8
Merge pull request #9377 from mensinda/jsonDocs
docs: Add a JSON documentation backend
2021-10-24 17:46:05 +03:00
Hofer-Julian 939394ed31 Fix typos
"seperator" -> "separator"
2021-10-21 06:57:57 -04:00
Eli Schwartz 1d17ef3edb
docs: fix a typoed arg name and another missing arg
More stuff that got overlooked during the big refman migration.
2021-10-11 21:20:36 -04:00
Xavier Claessens 437745b028 Add missing release snippet for option() deprecated kwarg 2021-10-10 16:18:08 -04:00
Xavier Claessens 928078982c Add --vsenv command line option and active VS only when needed 2021-10-10 23:15:18 +03:00
Daniel Jacobs 31bea202c9 improve wraptool search 2021-10-10 16:12:57 -04:00
Christian Clauss a5020857f3 Fix typos discovered by codespell 2021-10-10 16:12:25 -04:00
Xavier Claessens 32b7cbd4a7 clangformat: Only format files tracked by git by default 2021-10-10 14:13:35 -04:00
Eli Schwartz 0a3a9fa0c3
ar linker: generate thin archives for uninstalled static libraries
Since they will never be used outside of the build directory, they do
not need to literally contain the .o files, and references will be
sufficient.

This covers a major use of object libraries, which is that the static
library would potentially take up a lot of space by including another
copy of every .o file.

Fixes #9292
Fixes #8057
Fixes #2129
2021-10-10 13:32:22 -04:00
Eli Schwartz 4d9cc9ceab Add release notes for `subprojects packagefiles`. 2021-10-10 10:17:55 -04:00
Eli Schwartz 2a2c246df2
Zipapp docs (#9356)
* Revert "README: Don't recommend using as a standalone script"

This reverts commit 9763bf65c6.

zipapps work fine now that we have a single entry point. Time to
recommend them again.

* update zipapp documentation to recommend the current packaging script

Also update the website documentation to mention this at all.
2021-10-10 14:20:17 +03:00
Dylan Baker 6849baa476 modules/windows: allow CustomTargets with more than one output for compile_resources 2021-10-09 21:34:54 -07:00
Xavier Claessens 77ef437cc4 optinterpreter: Add deprecated kwarg
It can be either:
- boolean: the option is completely deprecated.
- list: some choices are deprecated.
- dict: some choices are deprecated and replaced by another.

Fixes: #7444
2021-10-09 18:13:34 -04:00
Daniel Mensinger 88db532bf9
docs: Update docs 2021-10-09 23:07:24 +02:00
Daniel Mensinger 2ab5620769
docs: GitHub Action up the JSON docs 2021-10-09 23:07:21 +02:00
Daniel Mensinger d7ea066c5c
docs: Add a validator for the new JSON docs 2021-10-09 22:50:55 +02:00
Daniel Mensinger d427c8fdb6
docs: Added JSON generator 2021-10-09 22:41:18 +02:00
Xavier Claessens 329d111709 python: Add platlibdir and purelibdir options 2021-10-08 17:47:35 -04:00
Eli Schwartz 9b2bc0be6d
doc: fix yaml indentation typo that broke building the website 2021-10-08 17:42:10 -04:00
Eli Schwartz 108bd996ee
add install_emptydir function
This replaces the absolute hack of using

```
install_subdir('nonexisting', install_dir: 'share')
```

which requires you to make sure you don't accidentally or deliberately
have a completely different directory with the same name in your source
tree that is full of files you don't want installed. It also avoids
splitting the name in two and listing them in the wrong order.

You can also set the install mode of each directory component by listing
them one at a time in order, and in fact create nested structures at
all.

Fixes #1604
Properly fixes #2904
2021-10-08 14:35:00 -04:00
Ismayil Mirzali 54e17ad597 Add Mac installation instructions for Homebrew 2021-10-08 14:34:15 -04:00
Eli Schwartz a864269817
docs: restore build_target method documentation which went missing
In the refman rewrite, these functions vanished. I noticed this when I
went looking at the docs for extract_all_objects(), or should I say I
tried to go looking.
2021-10-07 21:30:55 -04:00
Daniel Mensinger ba93dd20ca
docs: Added pickle RefMan loader 2021-10-07 19:46:06 +02:00
Daniel Mensinger f06cdf0606
docs: minor model refectoring 2021-10-07 19:20:58 +02:00
Dylan Baker bcfbfbb343 modules/gnome: deprecate yelp variadic sources
Yelp currently can take sources two different ways, the first is via
variadic arguments, the second is by a keyword argument. If the keyword
is passed then the variadic arguments are silently ignored, which is
obviously not ideal. Fortunately the variadic form was never documented,
and is likely not in wide use.

This patch fixes it by deprecating the variadic form, and warning if
both are passed. It does not change behavior as someone may be relying
on it.
2021-10-07 09:26:35 -07:00
Daniel Mensinger a8189d0c70 docs: Temporarily disable modules and move RefMan --> Reference-manual 2021-10-04 23:11:48 +02:00
Daniel Mensinger b672ebca88
Minor fixups 2021-10-04 19:39:36 +02:00
Daniel Mensinger 0b9c7b74be
docs: Update YAML docs after rebase 2021-10-03 12:19:46 +02:00
Daniel Mensinger af24d18842
docs: Added new static docs 2021-10-03 12:19:45 +02:00
Daniel Mensinger 239219220e
docs: Fix mypy 2021-10-03 12:19:45 +02:00