Commit Graph

12343 Commits

Author SHA1 Message Date
Hans Ulrich Niedermann
a57b7d8f05 Revert "Fix -Wcalloc-transposed-args warnings"
This reverts commit f97c27efe9.
2024-01-31 23:18:45 +01:00
Hans Ulrich Niedermann
f97c27efe9 Fix -Wcalloc-transposed-args warnings
This switches the arguments of calloc() in a few cases such that
the sizeof() does not happen in the nmemb first argument.

An example warning would be
warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args]
2024-01-31 23:00:11 +01:00
Hans Ulrich Niedermann
7b9df7164c Use "grep -E" instead of deprecated "egrep" 2024-01-30 17:51:35 +01:00
Dmitry D. Chernov
108af91798 camlibs/mars: Fix copy-paste mistake in mars_white_balance() (#955) 2024-01-24 12:09:11 +01:00
Marcus Meissner
915086f798 help L810 a bit by not calling events 2024-01-23 15:45:58 +01:00
Colin Leroy-Mira
cd9230b6d5 Fix build on Mac OS X (#953)
* Fix build on Mac OS X

Fixes #952

* Fix FreeBSD build

Include unistd.h in every file calling usleep()
2024-01-12 10:38:56 +01:00
Marcus Meissner
08d03695ea some translation updates for german 2024-01-10 11:15:20 +01:00
Marcus Meissner
6d62f02556 remove translation("%d") 2024-01-10 11:07:02 +01:00
Marcus Meissner
88e6fa3637 hook in quicktake 2024-01-10 10:46:21 +01:00
Colin Leroy-Mira
9a07ec3adb Add support for QuickTake 100/150 (#936)
* Add support for QuickTake 100/150

- Summary
- Get/Set configuration
- Get preview
- Get PPM files
- Get raw files (QTK format)

Serial protocol reference: https://www.colino.net/wordpress/en/archives/2023/10/29/the-apple-quicktake-100-serial-communication-protocol/
QTKT / QTKN decoding algorithms from dcraw (GPL licensed).

* Fix theorical integer overflows

* Fix license after careful re-reading of dcraw's license

* Fix quality mode index

* Fix Quicktake 150 thumbnails

* Fix unused variables and document thumbnail formats
2024-01-07 11:18:19 +01:00
weebney
5858949c57 Update README.md (#948) 2024-01-07 11:04:25 +01:00
Marcus Meissner
9ce6c6c0cd try to get ftruncate enabled on FreeBSD with _XOPEN_SOURCE 500 2024-01-07 10:12:42 +01:00
Marcus Meissner
04aea1599e add some more strict compile flags that will become default at some point with clang and gcc 2023-12-23 10:20:14 +01:00
Marcus Meissner
259a83aa7f added Sony ALPHA 6100
fixes https://github.com/gphoto/libgphoto2/issues/943
https://github.com/gphoto/libgphoto2/issues/944
2023-12-11 13:07:55 +01:00
Marcus Meissner
721f7f8c3e align outlen length with jpeg jeaders. fixes https://github.com/gphoto/libgphoto2/issues/941 2023-12-04 13:26:08 +01:00
Marcus Meissner
af2a91f82e check for HAVE_LIBUSB_OPTION_NO_DEVICE_DISCOVERY enum
https://github.com/gphoto/gphoto2/issues/614
2023-11-25 20:40:26 +01:00
Richard
aecbc5d455 breaks support for ILCE-7C (#938) 2023-11-23 17:23:07 +01:00
Marcus Meissner
8931db28af leave the read loop on an unknown packet. we might have overread somehow. (reported by email, user had shortened the file on the SD card, camera still offered original size) 2023-11-22 16:34:32 +01:00
Marcus Meissner
29cb9da420 added fuji h2s 2023-11-20 18:54:06 +01:00
Colin Leroy-Mira
57de6e2f18 Serial fixes (#935)
- Allow changing parity mode after connection is opened
- Fix return value of gp_port_serial_write so that bytes written
  can be --debug-ged
- Fix inverted logic on parity error checking

Co-authored-by: Colin Leroy-Mira <colin.leroy-mira@sigfox.com>
2023-11-16 10:19:38 +01:00
Marcus Meissner
14f422d317 added rawcompression 2023-11-10 15:02:48 +01:00
Marcus Meissner
34dcc7feb7 graineffect more 2023-11-10 14:47:13 +01:00
Marcus Meissner
1d7f44f38b Updated fuji xt4 debug 2023-11-10 14:38:00 +01:00
Marcus Meissner
194bae5180 add some more properties seen in usb dump of xt45 2023-11-10 14:27:48 +01:00
Ryan Heimbuch
5f57bc1edb improvements to fuji preview capture, liveview state tracking 2023-11-10 14:15:29 +01:00
Marcus Meissner
c5df0f56a1 fuji: recover better after focus not found during capture 2023-11-10 13:30:04 +01:00
Ryan Heimbuch
359834774a fuji fixes
- Ensure AFDrive correctly releases in the event of failure
- Alternate AFDrive codes for X-Pro2
- Support AFDrive in manual focus mode
- Minor changes to fuji preview
2023-11-10 11:35:07 +01:00
Ryan Heimbuch
1b176262bc Order matters synthesizing fuji files_added events
The fuji shot buffer is senstive to out-of-order deletions, so make sure
that file_added events arrive in the same order as the files in the shot
buffer.
2023-11-09 14:33:53 +01:00
Marcus Meissner
fb1069df98 try switch prio mode again 2023-11-09 14:12:54 +01:00
Marcus Meissner
2c7bc0d0f9 fixed typo in RAF / RAW 2023-11-09 14:10:50 +01:00
Marcus Meissner
c1748774cf translate RAF files to x-fuji-raw mime 2023-11-09 14:08:45 +01:00
Ryan Heimbuch
ebe4e9caaf - add setting "manualfocusdrive" 2023-11-09 13:43:20 +01:00
Ryan Heimbuch
7fbe4c2373 - GetPartialObject appears to be broken on xt4, so disable it for fuji cameras for now
also https://github.com/gphoto/libgphoto2/issues/653
2023-11-09 13:14:32 +01:00
Ryan Heimbuch
999344da79 - add ExposureBiasCompensation to list of supported device properties 2023-11-09 12:02:17 +01:00
Ryan Heimbuch
5150740357 - add setting for "availableshots" 2023-11-09 12:02:17 +01:00
Marcus Meissner
a67dddeebe switch on Pc control or tether mode for Fuji on demand.
fixes https://github.com/gphoto/gphoto2/issues/570
fixes https://github.com/gphoto/libgphoto2/issues/932
2023-11-09 12:02:17 +01:00
Ryan Stout
ad610a4537 sony manual focus is actually INT16, not UINT16. #793 2023-11-04 11:50:21 +01:00
Marcus Meissner
f97c3059af added EOS R3 2023-11-02 15:25:23 +01:00
Marcus Meissner
1c639d4141 add some new camera debugs 2023-10-31 09:50:50 +01:00
Artyom Beilis
807d44d0dc Android support (#918)
* Support of alternative layout and basic cmake

* Added ltdl link

* Added open from FD

* Changed behavoir of library... integration of autotools

* Redesign of USB device access, crash fix

* Removed non needed cmake files

* Fixed missing merge
2023-10-24 09:40:15 +02:00
Marcus Meissner
c1a96bffd8 added R8 comment 2023-10-24 09:33:12 +02:00
Marcus Meissner
29a0972b9e added Sony A6700 2023-10-23 13:14:41 +02:00
Marcus Meissner
7d8ef8c3ea added eos r8 debug 2023-10-20 15:22:46 +02:00
Marcus Meissner
c7616fe0f2 added eos r50 2023-10-10 14:57:24 +02:00
Marcus Meissner
78774103dd reorder R50 entry to be numerically sorted 2023-10-10 13:31:29 +02:00
Marcus Meissner
b3568a208d add PTP_NO_CAPTURE_COMPLETE for leica q3 2023-10-10 13:31:01 +02:00
David Rosca
789fe8f85c Add Canon EOS R50 (#930) 2023-10-10 13:29:25 +02:00
Marcus Meissner
5f88308f86 better leica detection mode
https://github.com/gphoto/gphoto2/issues/601
2023-09-30 18:20:16 +02:00
Marcus Meissner
1c4f113138 added usb ids for K3III and K1II
https://github.com/asalamon74/pktriggercord/issues/21
2023-09-29 16:13:26 +02:00
Marcus Meissner
3118a77915 merged with pktriggercord
largely renames of functions

added K-3III
2023-09-28 10:28:22 +02:00