Commit Graph

165 Commits

Author SHA1 Message Date
Jeremy Attali
992d97e94d fix(dependencies): include glib2
Closes #11
2020-05-17 12:58:43 -04:00
Jeremy Attali
d787586b9e fix(buffer): properly include required functions
Closes #10
2020-05-17 12:58:43 -04:00
Jeremy Attali
097b35bb27
docs(README): update readme for install dependencies
Closes #11
2020-02-26 17:21:01 -05:00
Jeremy Attali
b5cc433d75 fix(application): properly save output file upon clean exit
The bug was introduced by `f3e5d86`.

Closes #8
2020-02-20 23:33:51 -05:00
pathetic-lynx
320dae02d0 fix(application): fix file loop and use of GTK object after lifecycle
Swappy tried to access Gtk data after the end of the mainloop and the
file save routine had infinite recursion
2020-02-18 15:55:22 -05:00
pathetic-lynx
f4e9a19407 fix(init): fix segfault for unknown flags
Swappy segfaults if it is invoked with unknown command-line flags
2020-01-23 10:03:01 -05:00
Jeremy Attali
196f7f4dea feat(application): print final surface to file or stdout
This allows a user to output the final surface to `stdout` using:

- `-0`
- `--output-file``

Also adding another keybinding to exit the application `Ctrl+w` which is
pretty standard.

Closes #2
2020-01-19 23:48:55 -05:00
Jeremy Attali
f967eb458a chore(ci): apt-get update before script 2020-01-19 23:48:55 -05:00
Jeremy Attali
38b96e35f8 refactor(pixvuf): move pixbuf to separate file 2020-01-19 23:48:55 -05:00
Jeremy Attali
ce42a0e5b6 docs(application): no dot in desc 2020-01-19 23:48:55 -05:00
Jeremy Attali
ef24851dee feat(config): have overridable defaults
Defaults:

 - `save_dir`
 - `line_size`
 - `text_font`
 - `text_size`

Closes #1
2020-01-12 22:00:41 -05:00
Jeremy Attali
7f2f6da754 fix(application): suffix saved file with png 2020-01-05 23:15:48 -05:00
Jeremy Attali
f9d70fc0e2 fix(application): memory leak for pixbuf 2020-01-05 23:13:37 -05:00
Jeremy Attali
665295b497 fix(clipboard): memory leak for pixbuf 2020-01-05 23:10:50 -05:00
Jeremy Attali
f963a76c5c fix(clipboard): handle bad write to pipe fd 2020-01-05 22:44:10 -05:00
Jeremy Attali
6a598cb4c8 docs(readme): update documentation 2020-01-05 22:40:33 -05:00
Jeremy Attali
51b27d768e feat(clipboard): use wl-copy if present 2020-01-05 22:34:16 -05:00
Jeremy Attali
f48f36e7fe revert:"wip(copy): handle data control protocol"
This reverts commit c0db845620.
2020-01-05 16:30:37 -05:00
Jeremy Attali
c03f628de7 feat(text): add controls in toggle panel 2020-01-05 16:17:19 -05:00
Jeremy Attali
f9e231fba5 style(ui): rename size label 2020-01-05 15:53:16 -05:00
Jeremy Attali
c0db845620 wip(copy): handle data control protocol 2020-01-05 15:37:19 -05:00
Jeremy Attali
65cefc1da7 fix(wayland): initalize done copies to 0 2020-01-04 19:07:10 -05:00
Jeremy Attali
0c5e458d4c fix(window): quit when delete event is received 2020-01-04 19:06:35 -05:00
Jeremy Attali
b287fefd6d chore(vscode): update launcher 2020-01-04 18:46:10 -05:00
Jeremy Attali
7d5997a236 chore(paint): remove debug logs 2020-01-04 18:02:04 -05:00
Jeremy Attali
903ad114f5 fix(ui): prevent focus in panel buttons 2020-01-04 18:01:55 -05:00
Jeremy Attali
f356ff9b17 refactor(text): use size_t instead of int for cursor 2020-01-04 17:48:02 -05:00
Jeremy Attali
bc3264e9f1 fix(string): fix algo to insert chars at location 2020-01-04 17:22:05 -05:00
Jeremy Attali
3d7eee792e style(render): reduce opacity for text outline 2020-01-04 16:46:28 -05:00
Jeremy Attali
0fd82974cf refactor(render): use pango conversion function 2020-01-04 16:11:52 -05:00
Jeremy Attali
c81d8982ff docs(man): update man page 2020-01-04 15:33:37 -05:00
Jeremy Attali
6d00c3a0f2 docs(readme): update documentation 2020-01-04 15:13:23 -05:00
Jeremy Attali
3347bf23bf feat(paint): introduce text paint 2020-01-03 23:53:08 -05:00
Jeremy Attali
87fd4db304 chore(vscode): update settings 2020-01-03 23:42:01 -05:00
Jeremy Attali
49be066079 refactor(swappy): rename painting into settings 2020-01-01 15:21:36 -05:00
Jeremy Attali
7e8b2a4641 revert:"chore(ci): run clang format during build"
This reverts commit c8f1bb89b8.
2020-01-01 14:56:26 -05:00
Jeremy Attali
c8f1bb89b8 chore(ci): run clang format during build 2019-12-31 02:05:39 -05:00
Jeremy Attali
ac1059b35a chore(ci): update config spaces 2019-12-31 01:36:15 -05:00
Jeremy Attali
cf33f3a4fb refactor(wayland): make all wayland code optional 2019-12-31 01:25:55 -05:00
Jeremy Attali
c4ea305ae6 fix(init): properly handle null geometry 2019-12-31 00:44:33 -05:00
Jeremy Attali
af8035bf8c docs(readme): update documentation 2019-12-30 00:46:47 -05:00
Jeremy Attali
7f2eac276f docs(readme): fix typo 2019-12-30 00:46:14 -05:00
Jeremy Attali
6118498364 docs(readme): update documentation 2019-12-30 00:44:42 -05:00
Jeremy Attali
541ec21ca0 fix(file): properly check file system errors if any 2019-12-30 00:07:22 -05:00
Jeremy Attali
319a6107f5 refactor(file): use glib helpers for file checking 2019-12-30 00:00:51 -05:00
Jeremy Attali
aed2bfe294 fix(paint): fix memory leak for brush paints 2019-12-29 23:50:03 -05:00
Jeremy Attali
02bc464564 feat(buffer): ability to read from stdin 2019-12-29 16:48:13 -05:00
Jeremy Attali
5f06804eea chore(code): add file launcher 2019-12-29 12:37:48 -05:00
Jeremy Attali
50e7c97042 fix(ui): move paint area inside GtkFixed 2019-12-29 12:12:49 -05:00
Jeremy Attali
7a688cc6dd remove(render): remove g_warning 2019-12-29 12:03:55 -05:00