Jeremy Attali
6bfb36734c
chore(git): format with new lines at eof
2021-02-15 14:01:43 -05:00
Jeremy Attali
5bcffdbb01
fix(ui): compute window sizes and buffers properly
...
Compute maximum width and height of area container based on monitor size
and fix image ratio based on appropriate values.
Note that this will lower the resolution of the final image.
Closes #56
2021-02-15 13:53:33 -05:00
Gustavo Costa
4a0eb82369
feat(i18n): add brazilian portuguese translations
2021-02-15 13:38:48 -05:00
Jeremy Attali
c24e56a165
fix(application): unlink temp file coming from stdin
...
Stop mutating `file_str`, use a dedicated `temp_file_str` to store the
location of the temporary file when using swappy with `-f -` option.
Closes #80
2021-02-13 19:32:22 -05:00
Jeremy Attali
22432c4dea
chore(vscode): use clang 11 path
2021-02-13 19:32:22 -05:00
snakedye
eb53e5c2b2
fix(notification): notification shows the image icon
2021-01-08 16:18:14 -05:00
Jeremy Attali
a7fda1f998
docs(readme): add support for Void Linux
2021-01-08 16:14:39 -05:00
apiraino
597f0055b9
feat(cli): add configure options for filename save
2020-12-12 13:03:38 -05:00
Jeremy Attali
a931acb2cf
fix(clipboard): wl-copy mimetype should be png
...
Closes #68
2020-12-01 19:46:28 -05:00
Brodi
b4be847635
feat(i18n): add german translations
2020-11-16 15:55:10 -05:00
Oğuz Ersen
c8419da7fa
feat(i18n): add turkish translations
2020-10-29 15:13:47 -04:00
Jeremy Attali
f3a4ae9009
chore(release): 1.2.1
2020-07-11 12:17:09 -04:00
Jeremy Attali
b41f824585
chore(license): happy new year
2020-07-10 23:19:47 -04:00
Jeremy Attali
717ab0c2d1
fix(text): properly handle utf-8 chars
...
UTF-8 characters are now handled porperly. Also re-worked some helper
functions with UTF-8 in mind.
I secretly no real C developers will look at this. I might have to ask
for witness protection.
Closes #43
2020-07-08 21:48:31 -04:00
Michael Vetter
79614a55b7
docs(readme): add opensuse install
...
swappy will be in the official repos for openSUSE Tumbleweed.
2020-07-08 12:50:53 -04:00
Max Verevkin
de88325a7e
docs(man): swap description and synopsis sections
2020-07-07 21:32:44 -04:00
Jeremy Attali
59d60dbaf1
chore(release): 1.2.0
2020-07-05 14:54:03 -04:00
Jeremy Attali
fd3ab976b5
chore(build): remove rt dependency
2020-07-01 22:10:00 -04:00
Jan Beich
606ce38914
chore(config): unbreak -Werror on 32-bit architectures
...
../src/config.c:119:11: error: format specifies type 'long' but the argument has type 'guint64' (aka 'unsigned long long') [-Werror,-Wformat]
line_size);
^~~~~~~~~
/usr/local/include/glib-2.0/glib/gmessages.h:339:32: note: expanded from macro 'g_warning'
__VA_ARGS__)
^~~~~~~~~~~
../src/config.c:136:11: error: format specifies type 'long' but the argument has type 'guint64' (aka 'unsigned long long') [-Werror,-Wformat]
text_size);
^~~~~~~~~
/usr/local/include/glib-2.0/glib/gmessages.h:339:32: note: expanded from macro 'g_warning'
__VA_ARGS__)
^~~~~~~~~~~
2 errors generated.
2020-06-26 08:45:44 -04:00
Jan Beich
772c60523e
chore(build): allow downstream force enable/disable libnotify
2020-06-26 08:45:44 -04:00
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