Commit Graph

434 Commits

Author SHA1 Message Date
Alexey Andreyev
bd45fd2247 Fix minor typo in README.md
media-ctl not media-tcl
2021-12-17 13:22:54 +00:00
Pablo Correa Gómez
ab2f787876 Add standard categories to desktop file
The Photography category is probably an obvious one[1].
For the main category, I think Graphics fits better than Office

[1] https://specifications.freedesktop.org/menu-spec/latest/apas02.html
2021-12-16 12:48:48 +01:00
Benjamin Schaaf
c0e76da4b7 Release 1.4.3 2021-12-13 23:04:07 +11:00
Benjamin Schaaf
e494302cdc Disable flash by default
The current flash implementation isn't great so should be disabled by
default for now.
2021-12-13 22:58:53 +11:00
Benjamin Schaaf
e1d9e49f06 Fix formatting 2021-12-13 22:43:12 +11:00
Benjamin Schaaf
c1701921e5 Fix GVariant leak when display config is changed, ie. device is rotated 2021-12-13 22:35:31 +11:00
Benjamin Schaaf
fd64a9312c Merge branch 'gerror' into 'master'
Avoid g_error_free

See merge request postmarketOS/megapixels!4
2021-12-13 11:30:29 +00:00
Guido Günther
c6db1ab680 flash: Fix GVariant leaks
All functions used there are transfer: full but only two of
them were freed.
2021-11-16 14:47:54 +01:00
Guido Günther
9c5b9d67aa Avoid g_error_free
Rely on g_autoptr() instead. This avoids having to free the
error.
2021-11-16 14:46:14 +01:00
Benjamin Schaaf
34885afac0 Release 1.4.2 2021-11-17 00:08:27 +11:00
Benjamin Schaaf
c277342f74 Fix incorrectly freeing GError 2021-11-16 23:22:32 +11:00
Benjamin Schaaf
3fb5eef160 Merge branch 'readme-update' into 'master'
README: update "Developing" section

See merge request postmarketOS/megapixels!3
2021-11-15 10:38:26 +00:00
Oliver Smith
bfc1b00c72 README: update "Developing" section 2021-11-14 16:07:53 +01:00
Oliver Smith
e86a1519cb Release 1.4.1 2021-11-14 15:17:30 +01:00
Guido Günther
d9866f6029 data: Add StartupNotify to desktop file (MR 2)
As a GTK app it supports startup notifications just fine and this allows
phosh to show a proper splash screen while megapixels is starting.

Reference: https://developer-old.gnome.org/integration-guide/stable/startup-notification.html.en
2021-11-14 13:06:59 +01:00
Benjamin Schaaf
41110321da Release 1.4.0 2021-11-13 00:14:18 +11:00
Benjamin Schaaf
772db36877 Make clang-format more aggressive
clang-format always manages to mix spaces into tab-based indentation.
Since we already require an exact tab-width of 8 it makes more sense to
use spaces.
2021-11-13 00:06:11 +11:00
Benjamin Schaaf
a92104e27c Add clang-format as part of CI 2021-11-12 21:47:34 +11:00
Benjamin Schaaf
e78bd99305 Hide flash button when flash not available 2021-11-12 19:41:54 +11:00
Benjamin Schaaf
4e7120f609 Set brightness to 100% when using display flash 2021-11-12 18:29:34 +11:00
Benjamin Schaaf
24835cdc25 Implement flash
Fixes #5
2021-11-12 18:29:34 +11:00
Benjamin Schaaf
8248b7ab47 Fix compiler warning 2021-11-12 18:23:04 +11:00
Benjamin Schaaf
ea43dbcde0 Merge branch 'metadata' into 'master'
Metadata fixes

See merge request postmarketOS/megapixels!1
2021-11-12 07:14:14 +00:00
Benjamin Schaaf
7643a403f1 Fix memory leak when rotating device 2021-11-12 01:18:55 +11:00
Sebastian Krzyszkowiak
35b212b11e process_pipeline: Don't store unspecified ISO values in metadata
When the camera config does not specify ISO range, all we get there
is garbage.
2021-11-10 21:26:48 +01:00
Sebastian Krzyszkowiak
c03fade3cd process_pipeline: Store a default whitelevel in the DNG file
This helps unpacked 10-bit formats, as otherwise applications
assume the image to be 16-bit because of TIFFTAG_BITSPERSAMPLE.
2021-11-10 21:26:48 +01:00
Benjamin Schaaf
05d6c3fa6d Release 1.3.2 2021-11-10 23:21:57 +11:00
Benjamin Schaaf
c78b2d66ca Fix assertion failure on consecutive pictures
Fixes #23
2021-11-10 23:15:00 +11:00
Benjamin Schaaf
16e9bff190 Release 1.3.1
* Fix memory leak
2021-11-10 20:36:55 +11:00
Benjamin Schaaf
df0e1c91ce Use gitlab for CI 2021-11-09 20:04:55 +11:00
David Hedberg
9ce07167dc Fix an off-by-one error and a memory leak 2021-11-09 18:43:36 +11:00
Martijn Braam
fa5cbb5d9b Bump to 1.3.0 2021-09-10 03:39:03 +02:00
Martijn Braam
7c218cddd3 Redesign data QR dialog 2021-09-10 03:34:30 +02:00
Martijn Braam
7d8404d895 Remove repetiton in the QR code message
As noted by ~ferenc, the message for QR code popups translates to
"QR-Code code" which doesn't look nice.
2021-09-10 02:52:23 +02:00
Martijn Braam
85819660a7 postprocess: Add sigmoidal contrast to imagemagick postprocessing 2021-09-10 02:48:34 +02:00
Martijn Braam
c584583d29 Update version number to 1.2.0 2021-07-30 18:14:42 +02:00
Martijn Braam
68bba0a8a5 Fix glib schemas 2021-07-30 18:14:28 +02:00
Guido Günther
561c10c612 data: Add X-Purism-FormFactor to desktop file
This allows shells like phosh to filter on form factor so
the app list isn't cluttered with applications that don't
fit the screen when not docked.

Reference: https://source.puri.sm/Librem5/phosh/-/merge_requests/639
2021-07-30 17:50:59 +02:00
WebFreak001
974fafc1d1 focus now only triggerable once in parallel 2021-07-30 17:48:20 +02:00
WebFreak001
7314739dfc free cameras on process exit 2021-07-30 17:48:19 +02:00
WebFreak001
ccbaaad72b keep track of bg tasks for clean up 2021-07-30 17:48:18 +02:00
WebFreak001
1282a75db9 run most camera control setting in background
makes trigger focus, continuous focus, autogain, gain ctrl, auto
exposure, exposure ctrl run in background to not block the UI thread.

The camera updates the image while this is in progress, so you can for
example see the camera live focus as on common other phones.
2021-07-30 17:48:17 +02:00
Martijn Braam
5ad97d03f6 Add save-dng setting 2021-06-14 00:32:55 +02:00
Martijn Braam
295476c3f6 Add about dialog 2021-06-13 23:23:13 +02:00
Martijn Braam
8e2c11d5e4 Disable matrices in preview
For some reason it looks work with the matrices, skipped for now
2021-06-13 21:43:41 +02:00
Martijn Braam
95cfc652c8 Matrix cleanup 2021-06-13 21:43:27 +02:00
Martijn Braam
3408d6262d Add debug function to print matrices 2021-06-13 21:30:53 +02:00
Martijn Braam
4cf16a54b4 Update CI for gtk4 2021-06-13 18:24:11 +02:00
Martijn Braam
7a3e470b29 Reverse the matrix and srgb conversion for the preview
The sRGB curve should be applied after the color matrices
2021-06-13 18:22:24 +02:00
Sebastian Krzyszkowiak
b29f04c05d process_pipeline: Drop unnecessary malloc 2021-06-13 17:01:58 +02:00