Commit graph

48 commits

Author SHA1 Message Date
Peter Hutterer 671410b3bf pw-mon: add support for colored output
Same CLI as pw-dump, i.e. -N, --no-colors, --color=always etc are
supported.

This uses a for-loop macro hack to automatically print prefixes and
suffixes, the with_prefix() macro resolves into the correct printf
statements to insert either just the marker "*" or the ansi sequences
for color/reset. Use of the macro is simply:
```
   with_prefix(true, stderr) {
	fprintf(stderr, "this will be prefixed\n");
   }
```
2021-11-11 08:21:58 +00:00
Peter Hutterer eb688a9f57 man: add a man page for pipewire-pulse 2021-11-11 08:19:51 +00:00
Peter Hutterer abd5f9fbe8 Remove remaining tabs from meson.build files
No changes, just tab-to-space replacement and a little bit of manual
twiddling.
2021-09-30 00:08:27 +00:00
Peter Hutterer 7d58ce9e24 pw-cli: add a 'quit' command to exit
Slightly less confusing for new users if we have at least one
help-listed command to exit.
2021-09-28 07:19:13 +00:00
Peter Hutterer 69e935e8a4 daemon: allow for a -v, -vv, -vvv argument to increase verbosity
Sometimes that's faster than having to play with PIPEWIRE_DEBUG.
Same for pipewire-media-session.
2021-09-24 10:49:42 +00:00
Peter Hutterer 39fa2e503f man: fix an indentation issue in pipewire.1 2021-09-24 10:49:42 +00:00
Niklāvs Koļesņikovs 40cbcf2887 Meson: Update two pipewire.org URLs to HTTPS 2021-09-03 11:41:45 +00:00
Niklāvs Koļesņikovs e41187d643 man: move from xmltoman to rst2man
xmltoman looks dead and uses XML as well as pulls in a long list of
Perl dependencies. This replaces it with rst2man that has almost no
dependencies beyond Python, which is already required for the Meson
build system.

Naturally rst2man uses reStructuredText and the pages were rewritten
via regex and manual editing to be as close to original XML format
as possible. A few fixes and updates were done too. Most notably a
note was added to indicate that production deployments should not be
starting the session manager via pipewire.conf file.

There's three slight formatting issues/differences:
1. rst2man produces simpler footer.
2. "-f | --foo=value" confuses the parser and it fails to correctly
   add argument specific syntax highlighting to assignment value.
3. XML version had inconsistent use of <arg> and <opt> which has
   been partially addressed. But different manual pages still have
   their differences to what and how is highlighted.
2021-09-03 11:41:45 +00:00
Nils Tonnätt dd12910769 Revert "[Meson] Fix all deprecation warnings"
This reverts commit f7e1175ef0.
2021-08-08 19:18:40 +00:00
Nils Tonnätt f7e1175ef0 [Meson] Fix all deprecation warnings 2021-08-06 07:56:16 +00:00
Peter Hutterer d51634a2f1 man: add --config to the pipewire man page 2021-07-05 08:57:41 +00:00
Peter Hutterer c8c0a152b7 man: drop --name documentation from pipewire.1
Support for this was dropped in 80825aeaea
2021-05-27 11:27:39 +00:00
Peter Hutterer 9af86b7b76 man: specify the xdg and confdata dirs in the pipewire.conf man page 2021-05-20 07:34:17 +00:00
Peter Hutterer 59a8253047 man: fix the pipewire.conf man page
This still referred to a config file format prior to 49d11acde0. Reword
sections accordingly and try to explain the actual configuration file format.

xmltoman is quite limited in its supported tags, so we need to use wrong tags
to get some sensible formatting, notably <opt> to get a bold word.
2021-05-20 07:34:17 +00:00
Andrea Gelmini 85b136d8ce Fix typos
Signed-off-by: Andrea Gelmini <andrea.gelmini@gelma.net>
2021-04-30 16:27:34 +00:00
Eric S. Edstrom d2de4a2248 Fix typo and remove unnecessary capitalization 2021-04-24 14:06:35 +00:00
Peter Hutterer 83ed03d4cf Remove .gitignore files in subdirectories
With meson we no longer have generated files messing up the tree, so we no
longer need these files.
2021-04-20 07:10:15 +00:00
Peter Hutterer 4b7a2df0b7 man: replace the custom man array with a filename-based section extraction
Use the file names as-is in meson.build (which makes it possible to grep for
them easily) and use the various string methods to extract the section from
the file name and compile the intermediate xml file.
2021-04-15 06:57:00 +00:00
Peter Hutterer 223f20709d meson: replace join_paths(a, b) with a / b
More readable and from the meson reference manual:
(since 0.49.0) Using the/ operator on strings is equivalent to calling join_paths.
2021-04-15 06:57:00 +00:00
Erkki Seppälä 6a10ac36aa pw-dot: added -9/--90 for outputting using 'splines = ortho'
This results in always drawing edges with 90-degree angles instead of
smooth splines. Graphs laid out this way may be look nicer sometimes,
but it is slower to lay out with large graphs.
2021-04-02 12:04:32 +03:00
Erkki Seppälä 71b53f1590 pw-dot: added -L/--lr for outputting the graph using 'rankdir = "LR"'
Graphs laid out this way may be look nicer sometimes.
2021-04-02 12:04:32 +03:00
Erkki Seppälä 21a36f3c51 pw-dot: using output - will write the output to stdout
This enables single-liners for viewing the graph in applicable shells.
2021-04-02 12:04:32 +03:00
Thibault Saunier 485bae5eb0 meson: Use feature options everywhere it makes sense 2021-03-10 20:18:34 +00:00
Wim Taymans 58d2fe4440 man: update man page
Add PIPEWIRE_CONFIG_PREFIX environment variable as well
2021-02-12 10:33:23 +01:00
Wim Taymans 91b0d3bb39 Remove pipewire-libpulse
We use the original pulseaudio client library and the replacement
server pipewire-pulse.
2020-12-17 15:44:49 +01:00
Emmanuel Gil Peyrot 14fdf07e8f Run codespell on the entire codebase
This tool detects and fixes common English spelling mistakes, with
generally very few mistakes.

Here is the command I used to generate this commit.  There were a few
changes that had to be done manually, and of course adding the ignore
file:
```shell
codespell -I .codespell-ignore -x .codespell-ignore -w
```

I didn’t add it to the CI, but this would be a good place for it.
2020-08-17 17:16:31 +00:00
Simon McVittie b91a718018 man: Add man pages for pw-jack, pw-pulse
Signed-off-by: Simon McVittie <smcv@debian.org>
2020-06-08 13:28:44 +00:00
Wim Taymans 91ef2fc68c man: add metadata man page 2020-05-06 17:12:01 +02:00
Wim Taymans 8adc4ad3b6 man: complete pw-cat man page 2020-05-05 12:30:37 +02:00
Wim Taymans ab03e3230e man: add pw-dot man page
Fix some arguments to parameters
2020-05-03 21:08:01 +02:00
Wim Taymans 3dc0602650 man: add mididump man page 2020-05-03 20:50:38 +02:00
Wim Taymans f46cbd2ac2 man: add pw-cat beginnings 2020-05-03 07:25:28 +02:00
Wim Taymans 3037dd6b48 update man pages. 2020-05-02 20:19:20 +02:00
Wim Taymans 9bd21d6c18 man: improve man pages a little 2020-02-18 10:36:28 +01:00
Wim Taymans 34e776a930 man: fix command names and issues ref 2020-01-28 16:09:56 +01:00
Wim Taymans 85f2e93c54 Relicense as MIT/X11
Remove some obsolete files
2018-11-05 17:48:52 +01:00
Wim Taymans 391643271e man: fix man page install path
Fixes #85
2018-09-19 16:26:24 +02:00
Wim Taymans 1352c7555e man: install manpages in the right directory 2018-08-30 14:52:45 +02:00
Wim Taymans c06d775ddc man: add man page for config file 2018-08-17 10:19:20 +02:00
Wim Taymans e2c2b54742 man: update man page 2018-08-16 18:28:20 +02:00
Wim Taymans 807af5b983 man: update man pages
Add man page for pipewire-cli
2017-09-19 10:19:53 +02:00
Wim Taymans 21cd5a2918 Add example to play sine wave
Various build fixes and cleanups
Move port_add to private and make node ports based on implementation.
Improve pull based scheduling on remote nodes
2017-09-07 10:22:32 +02:00
Wim Taymans 6df165315c man: fixes 2017-06-16 17:56:18 +02:00
Wim Taymans 573e032cc1 man: update man build 2017-06-16 17:31:40 +02:00
Wim Taymans 83964cec87 pinos -> pipewire 2017-05-23 19:15:33 +02:00
Wim Taymans 1b66bbcffd Remove old makefiles 2016-12-21 17:21:25 +01:00
Linus Svensson d654a1bcd6 Ignore generated files 2016-08-29 13:15:03 +02:00
Wim Taymans dd32d65faf man: add some man pages 2015-09-02 14:58:03 +02:00