Commit Graph

11741 Commits

Author SHA1 Message Date
Hans Ulrich Niedermann
095ac0ce28 gitignore: Add /tmpwrk*/
The /tmpwkr*/ subdirectories are used by "make distcheck"
in a very short term and temporary fashion.

They still occasionally show up in "git gui", so we now
ignore them.
2021-03-31 22:03:33 +02:00
Hans Ulrich Niedermann
ab92666f87 gitignore: Anchor patterns at top_srcdir
Anchor the gitignore patterns at top_srcdir where
applicable.
2021-03-31 22:03:29 +02:00
Marcus Meissner
6a818776df fix movieexposurebiascompensation 2021-03-30 16:54:28 +02:00
Marcus Meissner
01347da3f5 added movieexposurecompensation 2021-03-30 16:42:42 +02:00
gregmag
88a687b777 Update library.c
Add Hero9 support
2021-03-28 14:40:05 +02:00
Marcus Meissner
2a8857b82f added coolpix b500 2021-03-24 17:04:33 +01:00
Arkell Rasiah
5bf98e7f09 camlibs/ptp2/ptp-pack.c: Qualify previous change only for olcver=0x13 cameras. 2021-03-19 08:58:04 +01:00
Arkell Rasiah
f5f5f010c1 camlibs/ptp2/ptp-pack.c: Fix get-config aperture for R5.
Fixes '-get-config aperture' for R5 always returning lowest aperture of lens instead of current aperture value.
2021-03-19 08:58:04 +01:00
Marcus Meissner
0cffc1e10a added d780 aapture settings.
fixes https://github.com/gphoto/libgphoto2/issues/631
2021-03-16 13:12:41 +01:00
Daniel Schulte
ca807b8dd6 camlibs/ptp2: Reduce log level of debug message 2021-03-16 10:16:35 +01:00
Daniel Schulte
dc3399fe20 camlibs/ptp2: Add timeout support for connect/read/write socket operations
This switches all sockets to non blocking mode and uses select with a
timeout to limit the maximum wait time for any network operation.

As Windows doesn't use errno for the network ptpip_set_socket_error is
introduced which handles setting the socket error code when a timeout is
encountered so the rest of the camlib can deal handle the error.
2021-03-16 10:16:35 +01:00
Daniel Schulte
8a74d44053 camlibs/ptp2: Add more error handling to camera_exit
This adds more error handling to camera exit code which detects when an
operation failed. As there is no retry logic we it's likely the operations
after the failed one will fail as well. Therefore other exit steps after an
error will be ignored and the exit procedure just finalized.

This change also returns the error from camera_exit to gp_camera_exit
calling the camera_exit function for further error handling/escalation.
2021-03-16 10:16:35 +01:00
Daniel Schulte
aafab94d92 camlibs/ptp2: Better network timeout handling
Explicitly check for network timeout error and return them as such to the
upper layers instead of as generic I/O errors.
2021-03-16 10:16:35 +01:00
Daniel Schulte
adea87b167 camlibs/ptp2: fuji: Also close jpg socket if connection fails 2021-03-16 10:16:35 +01:00
Daniel Schulte
0a356a664c camlibs/ptp2: Better cross-platform error handling
WinSock2 doesn't use errno for indicating errors in the network stack.
This breaks the usage of checking errno for network errors as well as
printing them via perror. This introduces the ptpip_perror and
ptpip_get_socket_error function which get the error code and message from
the right pace depending on the platform.
2021-03-16 10:16:35 +01:00
Daniel Schulte
717b893d97 gp_camera_exit: Return result of camera exit function if possible 2021-03-16 10:16:35 +01:00
Marcus Meissner
b3a616be18 support sony prioritymode, init it to 1. 2021-03-14 19:08:12 +01:00
Marcus Meissner
06e36375e2 use darwin_c_source ... isoc99 source does not seem to cut it for macos. https://github.com/gphoto/libgphoto2/issues/633 2021-03-10 07:47:31 +01:00
Marcus Meissner
9f76a47687 use isoc99 source https://github.com/gphoto/libgphoto2/issues/633 2021-03-09 07:19:32 +01:00
Marcus Meissner
98029edc03 added #define _DARWIN_C_SOURCE as in other files to avoid implicit
https://github.com/gphoto/libgphoto2/issues/633
2021-03-09 07:14:44 +01:00
Marcus Meissner
db78865d0c add download when announcing 2021-03-07 08:51:17 +01:00
Marcus Meissner
dc997dc9a9 also wait 3 seconds for the A7C 2021-03-05 17:19:25 +01:00
Marcus Meissner
9784188aa7 added sony a7c 2021-03-05 16:21:26 +01:00
Marcus Meissner
a5259549cb added note about manual focusing not needing delay 2021-02-28 18:04:48 +01:00
Hans Ulrich Niedermann
f9dda47010 Fix typos found by codespell in *.m4
See https://github.com/gphoto/libgphoto2-python/issues/4
2021-02-28 15:15:24 +01:00
Marcus Meissner
e625427e8b also added DSC-RX0M2 here for intiial wait, see https://github.com/gphoto/gphoto2/issues/349 2021-02-28 13:15:25 +01:00
Marcus Meissner
01954e7817 added polympus note 2021-02-28 09:14:40 +01:00
Marcus Meissner
43091e4335 olympus would wait twice the time due to a missing return
fixes https://github.com/gphoto/libgphoto2/issues/576
2021-02-27 18:14:08 +01:00
Marcus Meissner
d3ab822e6d move Fujifilm X100V to corect ordered by place 2021-02-27 08:32:46 +01:00
Marcus Meissner
2671d730b0 Merge branch 'master' of github.com:gphoto/libgphoto2 2021-02-27 08:32:06 +01:00
Marcus Meissner
564ba5762b added Konica-Minolta:DiMAGE Z6 2021-02-27 08:31:54 +01:00
Gergely Erdélyi
31d78456d6 Add model detection for Fujifilm X100V (#627)
Starting with firmware version 2.0 the camera supports movie
capture in the X WEBCAM USB connection mode.
2021-02-27 08:18:43 +01:00
Zeranoe
d86ffa2cb6 Fix byte swap calls (#626)
gphoto2-endian.h provides shims for the standard byte swap macros, so
using the standard name is preferred.
2021-02-24 07:43:33 +01:00
Zeranoe
a9bf8e4751 Remove stdint.h shim (#625)
stdint.h has wide adoption at this point, so it should be safe to use.
2021-02-22 13:18:30 +01:00
Marcus Meissner
7bb5934c95 2.5.27.1 dev release 2021-02-22 09:47:02 +01:00
Marcus Meissner
08a93c2bc2 update RELEASE-HOWTO.md 2021-02-21 13:17:15 +01:00
Marcus Meissner
07241531bf 2.5.27 release v2.5.27 libgphoto2-2_5_27-release 2021-02-21 12:06:07 +01:00
Stéphane Aulery
0108c7f8e7 updated french 2021-02-21 11:08:22 +01:00
Marcus Meissner
492648bd3b fixed incorrect NULL check (Coverity)
CID 1457198
2021-02-21 11:03:47 +01:00
Marcus Meissner
dfc56d5cb9 fixed a memleak (Coverity)
CID 1458706
2021-02-21 11:01:58 +01:00
Marcus Meissner
93cfaa9991 updated to current state 2021-02-21 10:59:35 +01:00
Marcus Meissner
a07dd81d39 removed a superflous argument (Coverity)
CID 1458729
2021-02-21 10:59:00 +01:00
Marcus Meissner
5245dbb031 imported from libmtp 2021-02-21 10:47:39 +01:00
Marcus Meissner
1f648dcd7a removed a double free (Coverity)
CID 1473268
2021-02-21 10:46:37 +01:00
Marcus Meissner
ef2e9f51be movie is a toggle,. not text 2021-02-21 10:32:39 +01:00
Marcus Meissner
8c732563a7 added some missing free propdesc and free objectinfo in sony trigger capture 2021-02-14 20:01:21 +01:00
Marcus Meissner
9904b9abd4 added missing propdescfree 2021-02-14 19:57:28 +01:00
Marcus Meissner
1a89478296 added a missing propdesc freeing
fixes https://github.com/gphoto/libgphoto2/issues/587
2021-02-14 19:54:51 +01:00
Marcus Meissner
f887621bbf added more sniffed data 2021-02-14 16:47:45 +01:00
Marcus Meissner
f73bb8b25a added panasonic deviceprop sniffs 2021-02-14 16:06:02 +01:00