Commit graph

572 commits

Author SHA1 Message Date
Daniel Eklöf
3f6030df68 tag: add support for "hex" and "oct" format modifiers 2019-01-21 21:05:38 +01:00
Daniel Eklöf
1152f161e1 README: improve description of "realtime" tags 2019-01-21 20:46:48 +01:00
Daniel Eklöf
f71251502c README: highlighting 2019-01-21 20:46:38 +01:00
Daniel Eklöf
6d659b6a24 README: document tags, and the available types 2019-01-21 20:31:32 +01:00
Daniel Eklöf
be13eb4980 Merge branch 'string-supports-tag-range' 2019-01-21 20:15:46 +01:00
Daniel Eklöf
a0ecc1ff03 tag: add support for "min", "max" and "unit" tag arguments 2019-01-21 20:15:04 +01:00
Daniel Eklöf
7936e197af tag: add support for an optional tag argument in a tag format string
E..g {volume:max}
2019-01-21 20:14:25 +01:00
Daniel Eklöf
09fcedc33f tag: pull in logging 2019-01-21 20:14:09 +01:00
Daniel Eklöf
a4c13b1978 README: indent alsa example 2019-01-21 19:59:00 +01:00
Daniel Eklöf
b99e3d8ea2 README: document the alsa module 2019-01-21 19:58:17 +01:00
Daniel Eklöf
a5980cd3d3 README: document common module configuration attributes 2019-01-21 19:57:53 +01:00
Daniel Eklöf
451a450cec README: cleanup bar configuration table 2019-01-21 19:57:25 +01:00
Daniel Eklöf
d90aff22d6 README: re-arrange, turn bar attribute documentation into a table 2019-01-21 19:34:02 +01:00
Daniel Eklöf
b86f8b753d PKGBUILD: add missing dependency, i3-wm 2019-01-21 19:07:52 +01:00
Daniel Eklöf
2791fa6f4f PKGBUILD: we don't need all of systemd, just libudev 2019-01-21 19:07:27 +01:00
Daniel Eklöf
f26892d938 bar: allow user to specify _which_ monitor to place the bar on
If not specified, the primary monitor will be used.
2019-01-20 22:05:12 +01:00
Daniel Eklöf
ef04097bef README: gitlab didn't see the nested list. Maybe now? 2019-01-20 19:49:42 +01:00
Daniel Eklöf
30978e70d1 README: gitlab didn't see the nested list. Maybe now? 2019-01-20 19:47:49 +01:00
Daniel Eklöf
fcf36615e4 README: more text, but mostly place holders 2019-01-20 19:47:12 +01:00
Daniel Eklöf
83979cee6f README: some text; let's see what this looks like 2019-01-20 19:26:31 +01:00
Daniel Eklöf
f6d09ffb3b README: initial 2019-01-20 18:42:06 +01:00
Daniel Eklöf
fe7128030f cmake: make sure we check for *all* xcb libs we need 2019-01-20 15:16:14 +01:00
Daniel Eklöf
7f320353b5 ci: build both debug and release 2019-01-20 14:37:25 +01:00
Daniel Eklöf
9e2ebf3cab module/network: thrd_t isn't an integer in musl 2019-01-20 14:30:39 +01:00
Daniel Eklöf
6c9f8777b3 ci: more deps 2019-01-20 14:26:03 +01:00
Daniel Eklöf
d0bd6bf864 ci: more deps 2019-01-20 14:24:07 +01:00
Daniel Eklöf
5364d4dbda ci: more deps 2019-01-20 14:20:36 +01:00
Daniel Eklöf
467aac8522 ci: do we need musl-dev? 2019-01-20 14:18:33 +01:00
Daniel Eklöf
413bffe55c ci: ubuntu sucks 2019-01-20 14:16:50 +01:00
Daniel Eklöf
fbb283cc34 ci: ubuntu 18.10 has outdated libs. Try 19.04 (devel) 2019-01-20 14:04:25 +01:00
Daniel Eklöf
8c07a50c5b ci: pull in i3-wm 2019-01-20 13:59:04 +01:00
Daniel Eklöf
378151c225 ci: pull in libxcb-ewmh-dev 2019-01-20 13:54:58 +01:00
Daniel Eklöf
50ef9fceb2 ci: gcc image's glibc is too old, try with ubuntu 18.10 2019-01-20 13:51:50 +01:00
Daniel Eklöf
10709da832 ci: way too much overhead to create a job
Just run configure and make in the same job
2019-01-20 13:44:13 +01:00
Daniel Eklöf
2ffedb9c48 ci: don't run configure and build jobs in the same stage 2019-01-20 13:39:55 +01:00
Daniel Eklöf
ccfb318212 decorations: cmake: we don't *really* need 3.13 2019-01-20 13:36:06 +01:00
Daniel Eklöf
20f44814cb ci: last dependency? 2019-01-20 13:34:26 +01:00
Daniel Eklöf
62134e628a ci: even more dependencies 2019-01-20 13:32:03 +01:00
Daniel Eklöf
cc049f0686 ci: more and better dependencies 2019-01-20 13:25:15 +01:00
Daniel Eklöf
8da8adc4c4 ci: install more dependencies 2019-01-20 13:10:03 +01:00
Daniel Eklöf
2b3d432164 cmake: we don't *really* need 3.13 2019-01-20 13:07:38 +01:00
Daniel Eklöf
b92134dd0d ci: install cmake in before_script, don't use ninja 2019-01-20 13:01:20 +01:00
Daniel Eklöf
b173f36e7e gitlab-ci: initial commit 2019-01-20 12:52:15 +01:00
Daniel Eklöf
4f5e22e231 module/xwindow: de-registering events from active window may fail
De-registering events from the previous active window may fail (when
the previous window has been destroyed).

Catch this early, and only log a debug message. This avoids having a
normal occurrence polluting the output with error messages.
2019-01-20 12:04:29 +01:00
Daniel Eklöf
d86c9914e5 module/mpd: silence overflow warning 2019-01-20 11:35:20 +01:00
Daniel Eklöf
fa7a2f90a5 PKGBUILD: add dependencies
For now, we *require* everything.

We _could_ modify the build system to exclude modules whose
dependencies haven't been met. That would allow us to make some of the
dependencies optional.
2019-01-20 11:17:22 +01:00
Daniel Eklöf
383e03127a PKGBUILD: new 2019-01-20 10:33:28 +01:00
Daniel Eklöf
498a3e3d78 particle/string: free glyphs and clusters in destroy() 2019-01-20 10:06:17 +01:00
Daniel Eklöf
5a0d192ec1 particle/string: re-use glyphs calculated in begin_expose()
In begin_expose(), we call cairo_scaled_font_text_to_glyphs()
with (x,y) = (0,0), in order to calculate the glyph extents (needed
for width calculation).

Then, in expose(), we called it again, but with correct (x,y) offsets.

Simplify this, by caching the glyphs from begin_expose(). Then, in
expose(), simply adjust the glyph offsets before calling
cairo_show_text_glyphs().
2019-01-20 10:02:13 +01:00
Daniel Eklöf
b1453fd65e font: simplify configuration format; it's just a string now 2019-01-20 09:51:44 +01:00