Kirill Primak
640b015053
util: allow size 0 in dp_zalloc()
2025-01-31 23:09:33 +03:00
Kirill Primak
0ccb868b39
seat: use crosshair cursor when the whole output is selected
...
Closes: https://codeberg.org/vyivel/dulcepan/issues/19
2025-01-31 20:07:17 +00:00
Kirill Primak
7cc26b8e38
select: redraw on interaction start
...
This fixes a mismatch between the actual selection and its visual
representation when the right mouse button is clicked but not moved
(easier to reproduce with animations disabled).
2025-01-30 22:27:28 +03:00
Kirill Primak
d2620c60c5
main: refuse to dump the result into tty
...
Closes: https://codeberg.org/vyivel/dulcepan/issues/17
2024-11-06 23:38:01 +03:00
Kirill Primak
c343fc1f73
main: validate args before loading everything else
2024-11-06 23:27:05 +03:00
Kirill Primak
f9665e2661
meson: bump version to 1.0.2
v1.0.2
2024-09-09 14:36:14 +03:00
Kirill Primak
fccc2e2e97
Fix processing of multiple output modes
2024-09-09 06:24:33 +03:00
Kirill Primak
5bbfbd4d84
config: document where the persistent state is stored
v1.0.1
2024-08-09 16:06:26 +03:00
Kirill Primak
e797e5a324
output: make swapchain lazy
2024-08-09 15:58:04 +03:00
Kirill Primak
bdf8308c4e
seat: make cursor-shape-v1 support optional
2024-08-09 15:58:00 +03:00
Kirill Primak
6158dd112b
meson: bump version to 1.0.1
2024-08-09 15:47:20 +03:00
Kirill Primak
6f7dfab735
seat: use correct serial when updating cursor shape
2024-08-09 15:46:37 +03:00
Kirill Primak
553147259b
Explain controls in the help message
2024-07-05 07:45:06 +03:00
Kirill Primak
e81e274380
output: don't redraw if there's nothing to animate
2024-07-03 13:34:35 +03:00
Kirill Primak
5ce4818cd5
Mark dp_log_fatal() as noreturn
v1.0.0
2024-07-02 22:14:47 +03:00
Kirill Primak
842aa907ae
meson: 1.0.0
2024-07-02 21:23:19 +03:00
Kirill Primak
a67cad14bc
meson: install default config
2024-07-02 21:16:24 +03:00
Alexey Yerin
56860d672f
Add option to disable persistence
2024-06-30 17:49:46 +03:00
Kirill Primak
4c7575b10e
Fix selection size rounding
2024-06-30 16:10:53 +03:00
Kirill Primak
cd836cc6fa
Align borders with the pixel grid
2024-06-28 20:39:50 +03:00
Kirill Primak
bc97934371
More scale changes :3
...
Surely this has no bugs in it
2024-06-28 20:35:44 +03:00
Kirill Primak
8794cbdeb2
Add fancy borders
2024-06-28 20:14:29 +03:00
Kirill Primak
f590bd2b73
persistent: fix selection geometry validation
2024-06-26 20:17:33 +03:00
Kirill Primak
5babf54a32
Remember last selection
2024-06-24 16:48:51 +03:00
Kirill Primak
9fb42b9869
Store sfdo-basedir ctx in state
2024-06-24 16:48:26 +03:00
Kirill Primak
447f2a8e5b
output: store name
2024-06-24 16:38:02 +03:00
Kirill Primak
29c6ebf48c
output,seat: name => global_name
2024-06-24 16:32:47 +03:00
Kirill Primak
8a9a5689c4
config: don't die on unknown keys
2024-06-24 16:06:42 +03:00
Kirill Primak
13d4fa8d86
select: fix clamping for transformed outputs
2024-06-24 14:09:08 +03:00
Kirill Primak
6dc506daed
output: don't draw borders for empty selections
2024-06-24 14:00:08 +03:00
Kirill Primak
e1424a42bb
Apply output scale correctly
2024-06-24 14:00:08 +03:00
Kirill Primak
218b498814
config: improve load_int()
2024-06-24 14:00:08 +03:00
Kirill Primak
2c721ef054
Switch back to Cairo for drawing selection
2024-06-24 13:35:15 +03:00
Kirill Primak
a7ea928b1c
config: store colors as float arrays
2024-06-23 20:59:39 +03:00
Kirill Primak
a2d13cbdf8
select: clamp pointer position on resize
2024-06-23 20:50:24 +03:00
Kirill Primak
eba288479e
Add customizable keybinds
2024-06-21 13:08:22 +00:00
Kirill Primak
8e8cdf1f32
Rework mouse controls
2024-06-21 16:05:53 +03:00
Kirill Primak
164594603e
Fix message capitalization
2024-06-21 14:56:09 +03:00
Kirill Primak
f0e2f08ed6
meson: bump libsfdo wrap version
2024-06-20 11:55:35 +03:00
Kirill Primak
9c7520bef4
Add a "show cursors" option
2024-06-20 09:16:05 +03:00
Kirill Primak
254e138a4e
Destroy the cursor shape manager global on exit
2024-06-20 08:42:51 +03:00
Kirill Primak
afb4bf1a39
seat: set default cursor on enter
...
Fixes: https://codeberg.org/vyivel/dulcepan/issues/5
2024-06-20 08:30:23 +03:00
sewn
4ffc074c10
use fallback subproject git for libspng
...
Stated in the libspng README:
> Download the latest release and include spng.c/spng.h in your
> project, you can also build with CMake or Meson [...]
libspng was intended to be included within the project, not used
as a system dependency.
2024-06-19 19:18:40 +00:00
psykose
7652fb16bd
implement png compression levels
2024-06-19 22:15:43 +03:00
Kirill Primak
3f7609a5d3
output: ignore configures before initial commit
2024-06-19 22:12:17 +03:00
Kirill Primak
dfd6a493e0
save: use a8b8g8r8 instead of x8b8g8r8
...
This fixes writing PNG files.
2024-06-19 21:17:29 +03:00
Kirill Primak
1da6068f43
buffer: fix template
2024-06-19 21:03:03 +03:00
Kirill Primak
a97d3d520e
meson: bump libsfdo version
2024-06-19 19:27:58 +03:00
Kirill Primak
17e6001e6e
Exit with 1 on quit
2024-06-19 19:05:38 +03:00
Kirill Primak
9de568024b
config: fix default selected color
2024-06-19 19:02:00 +03:00