Commit Graph

12242 Commits

Author SHA1 Message Date
Marcus Meissner
271db31286 added somre more uint32 ones 2023-06-23 16:49:22 +02:00
Marcus Meissner
31123beed6 also decode EOS_LvCFilterKind as 32bit 2023-06-23 16:44:03 +02:00
Marcus Meissner
22be87a93f added PTP_DPC_CANON_EOS_StroboDispState with 32bit 2023-06-23 16:39:51 +02:00
paolodepetrillo
c8b177e1f0 Fix string overflow in camera_summary (#910)
* Avoid buffer overflow

* Truncate long arrays
2023-06-22 09:48:23 +02:00
Ed Maste
16d1eca0b9 Update CI FreeBSD image to latest supported release (#915) 2023-06-22 09:47:35 +02:00
Marcus Meissner
f418c5d518 rename mirrorup -> mirrorlock, disable writeability of status props 2023-06-21 15:47:04 +02:00
Marcus Meissner
aa69ce7a85 renamed mirrorupstatus to mirrorup on EOS; it seems this is the settable option
https://github.com/gphoto/libgphoto2/issues/913
2023-06-20 10:25:55 +02:00
Marcus Meissner
a20e9e4096 decode 1 more EOS mirror prop as uitn32.
hook up 2 other EOS mirror props into config tree.
https://github.com/gphoto/libgphoto2/issues/913
2023-06-20 10:22:55 +02:00
Marcus Meissner
5e1416df25 allow writing to mirrorup state 2023-06-18 10:44:45 +02:00
Marcus Meissner
50338bdc27 decoce mirrorlock up state for EOS, as mirrorstatus for config. https://github.com/gphoto/libgphoto2/issues/913 2023-06-18 10:26:12 +02:00
Marcus Meissner
17a362e3f8 added sonly ilce 7m3 debug 2023-06-18 10:15:23 +02:00
Marcus Meissner
431c780aeb added ILCE-7M3 to the sony wait logic.
fixes https://github.com/gphoto/libgphoto2/issues/912
2023-06-18 10:13:30 +02:00
Marcus Meissner
638a74f27d more debug in ptp_sigma_fp_getcapturestatus 2023-05-26 12:07:47 +02:00
Marcus Meissner
a4fa393271 disable checking on the 0x80 flag as success, mightz not be correct 2023-05-26 12:04:37 +02:00
Marcus Meissner
0d2b455ced allow trigger capture for panasonic 2023-04-24 11:06:58 +02:00
Marcus Meissner
893122bf80 synthesize a capturecomplete event for panasonic cameras, as they dont send on on their own 2023-04-24 11:03:11 +02:00
Marcus Meissner
53a4b75d3c make it default fuzz ptp ... so --enable-vusb will give us a camera 2023-04-22 10:39:59 +02:00
Marcus Meissner
48d9bafe1f added Ricoh GR IIIx
https://github.com/libmtp/libmtp/issues/148
2023-04-03 13:19:51 +02:00
Marcus Meissner
0562e8ad20 use uint32_t instead of unsigned int
imported from chromium

https://source.chromium.org/chromiumos/chromiumos/codesearch/+/main:src/third_party/chromiumos-overlay/media-libs/libmtp/files/libmtp-1.1.20-01_build_fixes.patch
2023-03-13 19:58:26 +01:00
Marcus Meissner
3042872b4b added sony ilce-1 , https://github.com/gphoto/libgphoto2/issues/892 2023-03-13 19:58:26 +01:00
Marcus Meissner
51b3c23cfe mark when the put function already set the value in the camera,
to avoid doublesetting

https://github.com/gphoto/libgphoto2/issues/896
2023-03-06 13:42:43 +01:00
Marcus Meissner
c0aa5db5f2 remove incorrect superflous exit code. is handled below 2023-03-06 11:55:35 +01:00
Marcus Meissner
17bc4149da break out of the setter loop if we reached the correct state
fixes https://github.com/gphoto/libgphoto2/issues/896
2023-03-06 11:06:48 +01:00
Marcus Meissner
3aa4e89ac8 added some apparent missijng include unistd.h to make it build for mingw/llvm . fixes https://github.com/gphoto/libgphoto2/issues/890 2023-02-14 14:56:26 +01:00
Marcus Meissner
236f51e113 fixed one superflous argument to debug (Coverity) 2023-02-14 14:56:26 +01:00
Marcus Meissner
c6fa741bbc aded z30 dsate 2023-02-07 10:35:49 +01:00
Marcus Meissner
6dcd50c55b added x-t5 2023-02-02 17:30:13 +01:00
Marcus Meissner
c413a00274 handle time_t as long (Coverity) 2023-02-01 17:10:36 +01:00
Marcus Meissner
d244b106d7 switch debug print of a time_t based variable to long int (Coverity) 2023-02-01 17:08:03 +01:00
Marcus Meissner
8719b4f122 avoid uninitialized variable when setting non standard values (Coverity) 2023-02-01 17:05:40 +01:00
Marcus Meissner
a4832258a8 use unsigned long for time_t usage (Coverity) 2023-02-01 17:01:24 +01:00
Marcus Meissner
f5a1a8835b make it clear we only use 32bit of time_t (Coverity) 2023-02-01 16:59:44 +01:00
Marcus Meissner
2e965d29c1 fixed ptp_debug parameters (Coverity) 2023-02-01 16:58:00 +01:00
Marcus Meissner
36b245ab3f added a missing return code check for ptp_fuji_getdeviceinfo (Coverity) 2023-02-01 16:54:38 +01:00
Marcus Meissner
58cd99c447 fix WSACleanup condition
fixes https://github.com/gphoto/libgphoto2/issues/885
2023-01-18 11:08:59 +01:00
Marcus Meissner
3249cf6e65 canon eos: if half press succeeds, and full press fails, roll back half-press again
might help
https://github.com/gphoto/gphoto2/issues/538
2023-01-17 15:33:49 +01:00
Laurent Clévy
0a39341562 Create canon-eos-discovery.md (#884)
allows to document discovered Canon PTP commands using Python syntax or not. Suggested format is Markdown instead of plain text.
2023-01-08 15:01:53 +01:00
Mark Watson
1aaf870ede Add properties to control Sony focus assist magnification, useful for remotely dialing in focus using live view / preview. (#883)
The following toggle actions control the focus assist magnification:

- focusmagnify      : enter focus magnification mode, toggles through magnification levels
- focusmagnifyexit  : exit focus magnification mode, back to normal live view / preview image
- focusmagnifyup    : move magnification zone up
- focusmagnifydown  : move magnification zone down
- focusmagnifyleft  : move magnification zone left
- focusmagnifyright : move magnification zone right

These are toggle actions and may need to be set twice to be noticed by the camera:

gphoto2 --set-config=focusmagnify=1 --set-config=focusmagnify=0
gphoto2 --set-config=focusmagnifyexit=1 --set-config=focusmagnifyexit=0
2022-12-23 09:47:44 +01:00
Marcus Meissner
896e6e5350 name it R6m2 2022-12-21 13:39:16 +01:00
Marcus Meissner
fb7c1494bf added canon eos r6 2 2022-12-21 13:38:19 +01:00
Marcus Meissner
8f9ee0039b updated NEWS to current state 2022-12-20 16:18:30 +01:00
Marcus Meissner
e89ff47ee1 fixed 2.5.30.1 dev entry 2022-12-20 16:06:16 +01:00
Mark Watson
833aa08b08 Only format log messages when a log function is registered for given log level. (#871)
This speeds up large file downloads considerably, as the data log string generation is skipped.
2022-12-20 16:01:26 +01:00
Marcus Meissner
dd8d66a05f added sigma fp l
https://github.com/gphoto/libgphoto2/issues/882
2022-12-20 12:52:11 +01:00
Marcus Meissner
4e212b3df3 if we fail to spot a direction, use single stepping instead.
https://github.com/gphoto/libgphoto2/issues/694
2022-12-19 13:55:03 +01:00
Marcus Meissner
0fc36ea617 added some more z6-2 debug 2022-12-19 11:34:53 +01:00
Li kunyu
d8d50f3d60 serial: Add check after malloc allocation (#878) 2022-12-15 08:36:37 +01:00
Marcus Meissner
7be692414f nikon z6 2 workaround, it reports a devicepropchanged 0x501c event, but the property is not avauilable 2022-12-06 13:25:04 +01:00
Daniel
949a6be31d Fix SHUTTER_SPEED_1_6_SEC (#877)
Tested on my 1300D
2022-12-05 10:39:07 +01:00
Marcus Meissner
9fd14ca6f4 added gopro hero11 black 2022-11-30 15:59:20 +01:00