23 Commits

Author SHA1 Message Date
Xavier Claessens
a4444c21f3 Add snippets.symbol_visibility_header() method
Defining public API in a cross platform library is painful, especially
on Windows. Since every library have to define pretty much the same
macros, better do it in Meson.
2025-10-29 17:37:55 +01:00
Dylan Baker
6aefc92c33 modules/codegen: Add wrapper for lex/flex/reflex
This module is a bit of a dumping ground for code generators,
particularly ones that are important and non-trivial to wrap, either due
to multiple implementations, major command line changes, or complex
outputs (such as those that may output a directory structure).

The initially provided method is for lex. It provides a simple wrapper
that handles win_flex, reflex, flex, and generic lex.
2025-10-24 22:20:49 -07:00
FeRD (Frank Dana)
a8321c6f64 Docs: Set note/warning title color to black text
The white text previously used (inadvertently) doesn't show up well
against the blue color used as the background for Note boxes.
2025-04-03 16:59:15 -04:00
FeRD (Frank Dana)
95d7fac30a Docs: Cleaner admonishment styling 2025-04-03 00:19:37 +03:00
Mark Bolhuis
5a4177523e modules/wayland: Add unstable_wayland module 2022-02-27 14:33:33 -05:00
Eli Schwartz
f67994476d remove the RPM module
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-10 20:21:40 +02:00
Eli Schwartz
aad986b4b5 Fix syntax error that broke the website
Regression in commit be92e37837
2021-08-22 12:06:18 -04:00
Tristan Partin
be92e37837 Add Java module
The Java module will serve as a source for easing Java development
within Meson. Currently it only supports generating native header files.
2021-08-22 07:57:29 -07:00
Xavier Claessens
fbeb62101c doc: Add missing modules to dropdown list 2021-06-17 11:28:01 +02:00
Xavier Claessens
4fda4f5012 doc: Add External Project into the top dropdown menu 2021-03-10 18:31:44 +02:00
Dylan Baker
3d80a88bd3 modules: Add an unstable-rust module
Like other language specific modules this module is module for holding
rust specific helpers. This commit adds a test() function, which
simplifies using rust's internal unittest mechanism.

Rust tests are generally placed in the same code files as they are
testing, in contrast to languages like C/C++ and python which generally
place the tests in separate translation units. For meson this is
somewhat problematic from a repetition point of view, as the only
changes are generally adding --test, and possibly some dependencies.

The rustmod.test() method provides a mechanism to remove the repatition:
it takes a rust target, copies it, and then addes the `--test` option,
then creates a Test() target with the `rust` protocol. You can pass
additional dependencies via the `dependencies` keyword. This all makes
for a nice, DRY, test definition.
2021-01-05 15:10:50 -08:00
Paolo Bonzini
7e15295018 rename unstable-kconfig to unstable-keyval
Discussions in #6524 have shown that there are various possible uses of the
kconfig module and even disagreements in the exact file format between
Python-based kconfiglib and the tools in Linux.  Instead of trying to
reconcile them, just rename the module to something less suggestive and
leave any policy to meson.build files.

In the future it may be possible to add some kind of parsing through
keyword arguments such as bool_true, quoted_strings, etc. and possibly
creation of key-value lists too.  For now, configuration_data objects
provide an easy way to access quoted strings.  Note that Kconfig stores
false as "absent" so it was already necessary to write "x.has_key('abc')"
rather than the more compact "x['abc']".  Therefore, having to use
configuration_data does not make things much more verbose.
2020-05-08 20:56:14 +03:00
Michael Hirsch, Ph.D
a183ce2cff topbar HTML module list 2020-02-06 12:54:38 -05:00
Michael Hirsch, Ph.D
daf7ca2f3c html fs-module link 2020-02-06 12:54:38 -05:00
Iñigo Martínez
05da008480 docs: Fix link to SourceSet module in the navbar [skip ci] 2019-06-27 09:15:48 -07:00
Jussi Pakkanen
d31db565e1 Add white border to logo used on web pages. [skip ci] 2019-05-05 23:07:49 +03:00
Jussi Pakkanen
011c77ee22 New logo and license text. Closes #4921. [skip ci] 2019-02-13 20:45:42 +02:00
Thibault Saunier
1ea743a0bf hotdoc: Add documentation 2018-08-28 18:18:40 -03:00
Mathieu Duponchelle
56fc22075c [fixup]: write documentation 2018-04-09 15:46:06 +02:00
Tense_du
ae3ea22479 Removed duplicate title in doc theme. 2017-08-31 21:59:11 +03:00
Thibault Saunier
3e2c3c9ff0 docs: Fix link to QT5 in the navbar 2017-04-29 00:13:39 +03:00
Thibault Saunier
ef45352f80 docs: website license is CC-BY and code samples are CC0 2017-04-26 17:56:33 +03:00
Thibault Saunier
b371875e02 docs: Import the website and wiki and build with hotdoc
This allows us to more easily have the documentation in sync with
the source code as people will have to document new features etc
right at the time where they implement it.
2017-04-26 17:56:33 +03:00