Commit Graph

290 Commits

Author SHA1 Message Date
Jeremy Attali
05e9aede16 build(meson): fix deprecation warnings 2022-11-20 17:19:43 -05:00
Jeremy Attali
cfc79d44ed chore(release): fix CHANGELOG filename during release 2022-11-20 17:19:43 -05:00
Jeremy Attali
a996b2cec6
chore(release): 1.5.1 2022-11-20 16:50:09 -05:00
Jeremy Attali
3083bb74cb chore(release): update release script 2022-11-20 16:48:45 -05:00
MoetaYuko
5dc44f8970 fix(ui): use *-symbolic variant of toolbar icons
The non-symbolic variant might be indistinguishable from the background.

Fixes #34
Ref: https://wiki.gnome.org/Design/OS/SymbolicIcons
2022-11-20 00:20:29 -05:00
Jeremy Attali
3426531dfd build(release): add external gzip command to match github git version for now 2022-11-19 12:45:25 -05:00
Jeremy Attali
6c410c05a1 build(release): update release script
Github has (it seems) updated the way to generate the `tar.gz` file.

I can't reverse engineer the way they do it, but they seem to do more
than just `git archive` now.
2022-11-18 20:22:47 -05:00
Jeremy Attali
689309b55a
chore(release): 1.5.0 2022-11-18 16:32:34 -05:00
Jeremy Attali
b747772e15 chore(package): add package.json 2022-11-18 16:32:27 -05:00
Jeremy Attali
6d9ae725a8 chore(format): fix clang-format 2022-11-18 16:20:18 -05:00
Jeremy Attali
d6b2db1703 chore(i18n): update translations 2022-11-18 16:11:57 -05:00
flow
8ee55f7d52
feat(ui): allow filling rectangles and ellipsis
This adds an option on top of existing brush types, to allow for filled
shapes in addition to non-filled ones.

Signed-off-by: flow <flowlnlnln@gmail.com>

Closes #120
2022-11-18 16:05:37 -05:00
Seppe Soete
60da5491e2 feat(config): add early_exit option 2022-08-03 19:58:00 -04:00
Gaoyang Zhang
0355760816 docs(config): document paint_mode and new save_dir
Signed-off-by: Gaoyang Zhang <gy@blurgy.xyz>
2022-04-03 19:39:36 -04:00
Gaoyang Zhang
2f35f02b4e feat(config): allow paint_mode to be configured through config file
Signed-off-by: Gaoyang Zhang <gy@blurgy.xyz>
2022-04-03 19:39:36 -04:00
Gaoyang Zhang
4fb291ad4b feat(config): try to create save_dir if it does not exist
Signed-off-by: Gaoyang Zhang <gy@blurgy.xyz>
2022-04-03 19:39:36 -04:00
Jeremy Attali
e3bd4992ed
chore(release): 1.4.0 2021-09-06 10:36:15 -04:00
Jeremy Attali
6dbaf93a0e chore(ci): fix clang build 2021-09-06 10:16:13 -04:00
Oğuz Ersen
114b00d1b8 docs(readme): update manpage and package links
- Link for strftime(3) manpage is updated to use Arch Linux's manpage
  website because it is more up-to-date.
- Link for Fedora package is updated to use the official package instead
  of Copr.
2021-09-01 14:56:28 -04:00
Oğuz Ersen
fa5769e940 fix(i18n): add turkish translation to desktop file 2021-09-01 14:56:28 -04:00
Balló György
42425c0657 fix(desktop): various fixes
- It's not a console application, so Terminal must be false.
- It can open only one file at once, so %f should be used instead of %F on the exec line.
- NoDisplay=true should be added, because the application cannot be launched without the file parameter.
2021-05-21 14:08:35 -04:00
Emily Mills
0d383f690b
fix(desktop): remove annotation from desktop categories
I'm working on packaging this for Gentoo, and the Annotation category is
not a valid category in the xdg specification.
2021-03-08 16:13:03 -05:00
Jeremy Attali
cdbd06d7af fix(pixbuf): handle invalid input file
If the input file is invalid (example: `grim` did not work due to
invalid geometry), handle the error gracefully.

Previously we had a coredump due to `g_error`.
2021-02-27 14:34:23 -05:00
Jeremy Attali
a4429e8b7b chore(prettier): prettify css file 2021-02-21 15:13:31 -05:00
Jeremy Attali
185575bf75 fix(pixbuf): handle overflow when filename_format is too long
Most of the filesystems have max filename limited to 255 chars.

Let's set that limit and handle the case where the resulting `strftime`
format is larger.

Closes #74
2021-02-21 15:03:01 -05:00
Brodi
c6b09e5639
fix(i18n): add german translations to desktop file
Added GenericName and Comment
2021-02-21 15:01:10 -05:00
Jason
2916516e2c docs(readme): mention support for image files other than PNG
At the very least, JPEG is working after the below commit:
5bcffdbb01
2021-02-21 13:59:22 -05:00
Jeremy Attali
bf265b69f1 docs(readme): update Arch installation path 2021-02-21 00:30:39 -05:00
Jeremy Attali
5301aebd5e fix(i18n): properly set translation domain during layout init
Most of the `i18n` boilerplate was there, but the app still needed to
know what domain to look for. This must happen after initialization of
the `GtkBuilder` and before loading the glade file.

The domain is simply the `mo` file packaged with the app and usually
located under:

```
/usr/share/locale/$LANG/LC_MESSAGES/$APP.mo
```

Once again thanks to @maximbaz for pointing it out.

Closes #92
2021-02-21 00:25:16 -05:00
Jeremy Attali
cacb2830e4 feat(i18n): add french translations 2021-02-20 22:58:55 -05:00
Jeremy Attali
7fd552e8c4 fix(po): update GETTEXT_PACKAGE value with project name 2021-02-20 22:58:55 -05:00
Jeremy Attali
724d7864f0 docs(readme): add i18n instructions to update po files
Refs #92
2021-02-20 22:58:55 -05:00
lelgenio
d80c361489 feat(draw): draw shape from center if holding control 2021-02-20 22:57:24 -05:00
Jeremy Attali
616c6a61dd revert: chore(readme): prettify readme file
This reverts commit 8b5d7b09e8.
2021-02-20 18:43:01 -05:00
Jeremy Attali
376c56e48e docs(readme): update release section 2021-02-20 18:31:57 -05:00
Jeremy Attali
91985c7994 fix(release): properly check sha256 remote content
We need to verify the sources from github match our local content.
We do this by building our own version of the git release (using `git
archive`) and checking the SHA-256 checksums against the local and
remote.

After that it's safe to sign the remote `tar.gz` and upload the
signature file to the release.

One caveat is that if Github upates their git release commmand, this
script will break. We'll worry about it when that happens.

This drops support for `zip` signature. I wish there was a way to
prevent the zip source code when doing a new release.

Closes #90
2021-02-20 16:25:21 -05:00
Jeremy Attali
78ed552039
chore(release): 1.3.1 2021-02-20 12:54:26 -05:00
Jeremy Attali
57c707a8ab docs(readme): add instructions to build i18n 2021-02-18 22:39:16 -05:00
Jeremy Attali
8b5d7b09e8 chore(readme): prettify readme file 2021-02-17 21:25:28 -05:00
Jeremy Attali
439a3f5ddc chore(script): add sign-post-release helper script 2021-02-17 21:24:40 -05:00
Jeremy Attali
25c8c1683e chore(release): 1.3.0 2021-02-17 19:45:00 -05:00
Jeremy Attali
1bb534fc7c chore(notification): remove libnotify dependency and notifications
Closes #58
2021-02-16 23:21:20 -05:00
Jeremy Attali
46e5854b3c fix(ui): commit state before copying or saving
Closes #52
2021-02-15 21:39:45 -05:00
Jeremy Attali
3db1b13ae9 refactor(swappy): rename surface variables for clarity 2021-02-15 20:44:01 -05:00
Jeremy Attali
7635a2ed4a chore(application): safe free window before allocation 2021-02-15 20:44:01 -05:00
Jeremy Attali
553daa1295 chore(pixbuf): remove dead code 2021-02-15 20:44:01 -05:00
Jeremy Attali
27fcecedae fix(blur): optimize blur to only render after commit 2021-02-15 20:44:01 -05:00
Jeremy Attali
c2e9462e89 chore(blur): remove unused scale variables 2021-02-15 20:44:01 -05:00
Jeremy Attali
9b72571596 fix(ui): adjust rendering surface with proper scaling
Closes #54
2021-02-15 20:44:01 -05:00
Jeremy Attali
ecbcf2b80c chore(swappy): remove unused state variable 2021-02-15 20:44:01 -05:00