Commit Graph

269 Commits

Author SHA1 Message Date
Jan Beich
1c8022c9a9 chore(build): look for gio via pkg-config
meson.build:45:0: ERROR: C library 'gio-2.0' not found
2020-06-26 08:45:44 -04:00
Jeremy Attali
cf3d7a5283 feat(i18n): add translatable desktop file
- Includes the first swappy logo, yay !
- Includes a desktop file that registers mime type for png files

Closes #35
2020-06-23 23:32:33 -04:00
Jeremy Attali
5b3c8aded8 feat(i18n): setup i18n for swappy
This makes swappy more i18n friendly through the use of `gettext` with
`meson` i18n module.
2020-06-23 23:32:33 -04:00
Jeremy Attali
cab6a0ee7a refactor(ci): rename main into build 2020-06-23 23:11:17 -04:00
Jeremy Attali
24d30d8106 chore(ci): add commitlint for pull_requests 2020-06-23 23:11:17 -04:00
Jeremy Attali
177c2d45fa
chore(release): 1.1.0 2020-06-22 23:05:18 -04:00
Jeremy Attali
2878474e7c
chore(release): add bump meson script (#39)
Mixing C code with Javascript files, what's not to love.

Simply run the following line to generate a new standard version:

```
npx standard-version --sign
```
2020-06-22 23:03:37 -04:00
Веревкин Максим
e32c02454a
feat(cli): add -v and --version flags
* feat(cli): add -v and --version flags
* fix(code): typo
* fix(code): clang-format src/application.c
* docs(swappy.1.scd): add version flags and long names for 'help' and 'file'
2020-06-22 22:35:42 -04:00
Bob Hepple
af8231e3ad
Update README.md (#33)
docs(readme): add temporary fedora install
2020-06-21 19:22:58 -04:00
Jeremy Attali
8c2268f3dc chore(ci): allow actions to be run for PR 2020-06-21 17:35:23 -04:00
Jeremy Attali
88e2e2dcb7
chore(release): 1.0.1 2020-06-21 17:17:48 -04:00
Jeremy Attali
9b5e3f2af0 chore(vscode): update -f screenshot file 2020-06-21 17:08:57 -04:00
MaxVerevkin
78b5d0f396 docs(readme): better styling in config section 2020-06-21 16:58:46 -04:00
MaxVerevkin
5595934cf5 docs(readme): Add non-git aur package in installation section 2020-06-21 12:44:31 -04:00
MaxVerevkin
ee06d6685f fix(cli): stop showing -g option 2020-06-21 12:44:31 -04:00
Jeremy Attali
bfe01c78d1 docs(screenshot): update screenshot with 1.0.0 release 2020-06-20 22:44:09 -04:00
Jeremy Attali
36160c8794
chore(release): 1.0.0 2020-06-20 21:19:58 -04:00
Jeremy Attali
c63e55ccd0 docs(readme): update dependencies 2020-06-20 21:19:40 -04:00
Jeremy Attali
204a93eb0f refactor!(wayland): remove wayland code
BREAKING CHANGE: We do no support the `-g` option anymore.

This tool simply makes more sense as the output of `grim` rather than
trying to be `grim`.

RIP my ugly wayland code, long live maintainable code.

Next stop, rust?
2020-06-20 21:19:40 -04:00
Jeremy Attali
ceb907a5dc fix(man): remove blur_level related config 2020-06-17 23:04:57 -04:00
Jeremy Attali
307f57956f feat(config): add show_panel config
Allows to toggle paint panel on/off upon startup.

Closes #12
2020-06-17 23:04:57 -04:00
Jeremy Attali
8a82e796bb fix(pixbuf): possibly fix core dump
Not really sure, would need to investigate a bit more.
2020-06-17 00:03:46 -04:00
Jeremy Attali
7a9be5d2a6 refactor(application): remove scaling logic 2020-06-16 23:07:25 -04:00
Jeremy Attali
ad564ebc33 chore(vscode): add build pre task 2020-06-16 23:07:25 -04:00
Jeremy Attali
0e9f66ad5b perf(render): improve rendering for scaled surfaces 2020-06-16 23:07:25 -04:00
Jeremy Attali
f405d5a473 style(workflows): fix typo in clang build name 2020-06-14 11:57:09 -04:00
Jeremy Attali
7674d7db8b feat(ui): add toggle panel button
Closes #24
2020-06-14 11:57:09 -04:00
Jeremy Attali
82ec80efc4 style(ui): reduce spacing between boxes 2020-06-14 11:57:09 -04:00
Jeremy Attali
596194360e style(ui): move trash into redo/undo actions 2020-06-14 11:57:09 -04:00
Jeremy Attali
d386ed371b style(ui): use icons and tooltips in place of text 2020-06-14 11:57:09 -04:00
Jeremy Attali
d5f0729856 docs(readme): update sentence 2020-06-14 11:57:09 -04:00
Jeremy Attali
d373157813 docs(readme): add font awesome dependency 2020-06-13 20:32:24 -04:00
Jeremy Attali
63e1d34e22 chore(ui): upgrade glade file 2020-06-13 20:32:24 -04:00
Jeremy Attali
97cd6072c9 fix(blur): use better glyph icon 2020-06-13 20:32:24 -04:00
Jeremy Attali
af5effc1e3 refactor(ui): rename into more standard glade file 2020-06-13 20:32:24 -04:00
Jeremy Attali
e8a96364dc chore(clang): add more linting tasks 2020-06-13 19:45:57 -04:00
Jeremy Attali
58aef1ef37 chore(algebra): make valgrind happy 2020-06-13 14:42:50 -04:00
Jeremy Attali
b4a202ef48 refactor(blur): use cleanup label 2020-06-13 14:42:50 -04:00
Jeremy Attali
361be6aa80 feat(blur): remove blur configuration 2020-06-13 14:42:50 -04:00
Jeremy Attali
b9d685b7b2 refactor(blur): reuse gaussian size 2020-06-13 14:42:50 -04:00
Jeremy Attali
f9737d78c9 feat(blur): add multiple passes logic 2020-06-13 14:42:50 -04:00
Jeremy Attali
1699474c39 fix(blur): blur based on device scaling factor 2020-06-13 14:42:50 -04:00
Jeremy Attali
46fb08dce1 fix(blur): use rendered surface after commit
- Fix blur logic
- Reused rendered surface to optimize future render on comitted blur
- Include gaussian kernel function

Closes #20
Closes #22
2020-06-13 14:42:50 -04:00
Jeremy Attali
416b0adad9 chore(wayland): remove unused variable 2020-06-13 14:42:50 -04:00
Jeremy Attali
6b2ec90efd fix(blur): adjust blur bounding box based on scaled monitor 2020-06-02 00:08:21 -04:00
Jeremy Attali
1be7798a8b feat(blur): use rect blur instead of brush
Use a rectangle to blur instead of brushes.

Does not improve the performance that much, will come in a later patch.

Will fix the UX of the feature though.

Closes #17
2020-06-01 23:32:07 -04:00
Jeremy Attali
befb61e291 chore(paint): remove false information 2020-06-01 23:32:07 -04:00
Jeremy Attali
fae0aeacab feat(tool): introduce blurring capability
The blur algorithm is largely inspired from Kristian Høgsberg & Chris
Wilson in [this file](https://www.cairographics.org/cookbook/blur.c/)

Closes #17
2020-05-31 23:25:37 -04:00
Jeremy Attali
2eb4ebbc28 chore(vscode): add large file test 2020-05-31 23:25:37 -04:00
Jeremy Attali
099634b9da chore(vscode): update include path for project 2020-05-24 16:14:38 -04:00