Commit graph

766 commits

Author SHA1 Message Date
Daniel Eklöf
b6b47bd0b0
tllist: imported current HEAD as static content, for release 2019-11-24 14:25:49 +01:00
Daniel Eklöf
85c0d1dc07
tllist: remove (to be replaced with static content for release) 2019-11-24 14:25:20 +01:00
Daniel Eklöf
951e544b14
.gitmodules: remove tllist (to be replaced with static content in release) 2019-11-24 14:22:28 +01:00
Daniel Eklöf
8e9c4376e3
meson/PKGBUILD: bump version to 1.2.0 2019-11-24 14:10:36 +01:00
Daniel Eklöf
6c12ea3811
generate-version: handle builds that aren't git clones 2019-11-24 14:00:21 +01:00
Daniel Eklöf
199a7ccd21
bar/wayland: change disconnected log type from warn -> info
Because being disconnected from Wayland is how we typically exit.
2019-11-23 13:50:29 +01:00
Daniel Eklöf
8c4865e0e3
PKGBUILD: update url to point to new hosting service 2019-11-23 12:41:28 +01:00
Daniel Eklöf
eac3f53f1a
PKGBUILD: update url to point to new hosting service 2019-11-23 12:40:45 +01:00
Daniel Eklöf
9dcc0eb8f8
tllist: switch to codeberg repo + bump 2019-11-18 22:27:12 +01:00
Daniel Eklöf
f3dd4b4c34
Revert "Dummy commit to test gitlab mirroring from other repo"
This reverts commit 81cc0feb8e.
2019-11-18 22:10:15 +01:00
Daniel Eklöf
81cc0feb8e
Dummy commit to test gitlab mirroring from other repo 2019-11-18 21:35:50 +01:00
Daniel Eklöf
d70cb90090
meson: add tllist dependency to decorations SDK 2019-11-17 19:22:30 +01:00
Daniel Eklöf
0550d2799d
tllist: use tllist from external git repository 2019-11-17 19:17:34 +01:00
Daniel Eklöf
736e07b15e
wayland: verify server implements the required interface versions 2019-11-03 16:17:17 +01:00
Daniel Eklöf
c409e9adf4
PKGBUILD: fix breakage after pacman 5.2 upgrade 2019-10-24 21:20:58 +02:00
Daniel Eklöf
4250ae0a01
generate-version: conform to POSIX sh 2019-10-19 22:07:38 +02:00
Daniel Eklöf
c4f9168191
meson: fix version generation from git
run_command() was only run at configure time, meaning the generated
version (that was passed on to the sources via -DYAMBAR_VERSION)
became stale.

Fix by implementing a shell script that generates a header file, and
wrap this in a custom target that is run every time (but the generated
file is only updated when the version changes)
2019-10-19 21:47:21 +02:00
Daniel Eklöf
e9d5c620a4
desktop: add Desktop Entry file 2019-09-29 20:58:15 +02:00
Daniel Eklöf
e5fb7f32b4
font: add commented out code to calculate underline/strikeout metrics
This is just to sync the font implementation in yambar with my other
projects. Underlines and strikouts aren't (yet) used in yambar.
2019-09-29 13:07:06 +02:00
Daniel Eklöf
3cbdc13f39
screenshot: update 2019-09-28 21:20:03 +02:00
Daniel Eklöf
13dda3b999
Revert "README: dummy commit to test CI"
This reverts commit ecb91ebda5.
2019-09-28 20:55:39 +02:00
Daniel Eklöf
c50e23f17a
Revert "ci: break"
This reverts commit 5da5307a7c.
2019-09-28 20:55:27 +02:00
Daniel Eklöf
5da5307a7c
ci: break 2019-09-28 20:53:45 +02:00
Daniel Eklöf
ecb91ebda5
README: dummy commit to test CI 2019-09-28 20:46:06 +02:00
Daniel Eklöf
9dbbc480e4
Rename project: f00bar -> yambar 2019-09-28 20:39:45 +02:00
Daniel Eklöf
9b9344877f
Merge branch 'releases/1.1' 2019-09-27 22:17:11 +02:00
Daniel Eklöf
85c06a427f
Bump version to 1.1.1 2019-09-27 22:13:18 +02:00
Daniel Eklöf
0e7db5f397
module/removables: relaxed mountinfo matching criteria
Fixes mount detection on e.g. Artix Linux.
2019-09-27 19:31:12 +02:00
Daniel Eklöf
43157e42cc
Bump version to 1.1.0 2019-09-24 19:56:09 +02:00
Daniel Eklöf
012162837d
particle/progress-bar: expand and replace on-click handler on click events only
No need to do it in motion events.
2019-09-23 18:39:03 +02:00
Daniel Eklöf
6e50872933
particle/progress-bar: improve accuracy of 'where' tag
The progress-bar took *all* particle elements into account when
calculating the (relative) mouse position on mouse events.

This is wrong, since only the progress bar (that is, the empty and
filled cells) should be used. Not the start/end elements.

We now also pass the mouse event through to the start/end elements.
2019-09-23 18:34:43 +02:00
Daniel Eklöf
288428ca22
particle: add missing argument to debug log 2019-09-23 18:34:23 +02:00
Daniel Eklöf
384e9d0849
particle: add on-click handler to debug log message 2019-09-23 18:33:57 +02:00
Daniel Eklöf
4e73ec669b
font: don't try to do fontconfig fallback on a fallback font 2019-09-22 12:44:08 +02:00
Daniel Eklöf
274255f9ab
bar: repair border drawing (was using wrong height)
Fix regression after porting from cairo to pixman. The bar border was
drawn using the wrong height info.
2019-09-22 12:38:30 +02:00
Daniel Eklöf
bd70a4dc37
bar: fix build failure with -Werror=unused-result 2019-09-22 12:32:02 +02:00
Daniel Eklöf
bff097c3e8
Merge branch 'font-fallback' 2019-09-22 12:30:36 +02:00
Daniel Eklöf
e169263851
ci: install pixman+freetype+fontconfig instead of cairo 2019-09-22 12:29:00 +02:00
Daniel Eklöf
e8a1efeeb5
meson: add freetype dependency to decorations and modules
Fixes build failures when building plugins as shared libraries
2019-09-22 12:25:11 +02:00
Daniel Eklöf
f29f96be96
bar/wayland: use preferred monitor if user didn't specify one 2019-09-22 12:08:08 +02:00
Daniel Eklöf
18e9d67d77
bar/wayland: fail when we can't find the specified monitor 2019-09-22 11:59:48 +02:00
Daniel Eklöf
5d6df44a79
bar: signal abort (to main loop) when backend fails 2019-09-22 11:59:34 +02:00
Daniel Eklöf
4ce314e328
cairo: drop all remaining references to cairo
We now use pixman (and freetype + fontconfig) exclusively.
2019-09-22 11:52:37 +02:00
Daniel Eklöf
01e71590e0
bar: don't use cairo
This is trivial in the Wayland backend; just instantiate a pixman
pointing to the same mmapped memory as the wayland buffer.

In the XCB backend, we change the implementation slightly; instead of
rendering via a cairo XCB surface backend (to a server side pixmap),
which is then blitted to the window in commit(), we now render to a
client-side pixman pixmap, and blit it using xcb_put_image() in
commit().
2019-09-22 11:46:46 +02:00
Daniel Eklöf
c11fee4ce3
cairo: replace cairo with pixman in decos, particles and modules
All decoration, particle and module interfaces now takes a
pixman_image_t parameter, and all drawing is done using pixman APIs.

The wayland/xcb backends implement a new interface functions,
get_pixman_image(), that should return a pixman image instance that is
suitable for rendering.

In the wayland backend, the image uses the same backing data as the
cairo surface.

In the XCB backend, we create a new image each time, and then blit it
to the cairo surface at commit time.
2019-09-22 01:56:58 +02:00
Daniel Eklöf
95385863ae
particle: remove cairo context from begin_expose() 2019-09-22 00:55:06 +02:00
Daniel Eklöf
54797ffbd8
font: remove lock (all rendering happens in the main thread) 2019-09-22 00:51:02 +02:00
Daniel Eklöf
b3a5e0b5d7
font: initial port from cairo scaled fonts to raw freetype + pixman 2019-09-22 00:50:11 +02:00
Daniel Eklöf
393e1909b7
module/i3: plug valgrind detected memory leak
Free previous 'application' string before replacing it with a new one.
2019-09-22 00:44:51 +02:00
Daniel Eklöf
12feaf1ccd
ci: has alpine:edge finally moved to python3? 2019-09-21 20:57:21 +02:00