Daniel Eklöf
e837e71179
font: set pixman filter when re-scaling glyph
2019-11-27 21:41:49 +01:00
Daniel Eklöf
c72893637c
font: force a pixel fixup factor for scalable bitmap fonts
...
That is, for color bitmap fonts (typically emoji fonts). Use the same
calculation used by fontconfig's 10-scale-bitmap-fonts.conf.
Note: if the user has enabled bitmap font scaling in general, we'll
pick it up and scale the final glyph image, regardless of whether the
font is a regular bitmap font, or a color bitmap font.
But, if the user has disabled bitmap font scaling, we only force a
fixup factor on color bitmap fonts.
2019-11-27 21:41:29 +01:00
Daniel Eklöf
7e8617f090
font: use FT_Set_Pixel_Sizes() instead of FT_Set_Char_Size()
...
And bail out if we fail
2019-11-27 21:40:02 +01:00
Daniel Eklöf
feddc19b36
font: rename 'size' -> 'pixel_size'
2019-11-27 21:39:30 +01:00
Daniel Eklöf
b48365aa86
font: remove the fextents sub-struct
2019-11-27 21:38:49 +01:00
Daniel Eklöf
9fb3c58588
generate-version: redirect *both* stdout and stderr to /dev/null
2019-11-27 21:20:41 +01:00
Daniel Eklöf
928c7ff4d3
tllist: finally, a static copy of external/tllist
2019-11-24 15:19:04 +01:00
Daniel Eklöf
6875bea64a
tllist: remove what still appears to be a git submodule from subprojects
2019-11-24 15:18:22 +01:00
Daniel Eklöf
c2da3184c8
Merge branch 'dont-use-git-submodules-in-subprojects'
2019-11-24 15:15:55 +01:00
Daniel Eklöf
a26f00c249
tllist: subprojects/tllist is now a static copy of external/tllist
...
Having git submodules as source makes making releases really really
hard, since submodules are not included when downloading a tarball
from the git repository host.
The idea now is to keep a submodule of tllist under 'external', and a
static copy under 'subprojects'.
This means builds will use the static copy, while having easy access
to the git submodule makes it easy to update the static copy (git
submodule update --remote + cp -r)
2019-11-24 15:13:01 +01:00
Daniel Eklöf
5207b56e94
tllist: move submoodule from 'subprojects' -> 'external'
2019-11-24 15:12:04 +01:00
Daniel Eklöf
d60d00ffe4
gitignore: makepkg generated directories, pkg + src
2019-11-24 14:29:13 +01:00
Daniel Eklöf
379c8917c5
Revert ".gitmodules: remove tllist (to be replaced with static content in release)"
...
This reverts commit 951e544b14
.
2019-11-24 14:28:42 +01:00
Daniel Eklöf
64c8721fcf
Merge branch 'releases/1.2'
2019-11-24 14:27:53 +01:00
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