Commit Graph

12144 Commits

Author SHA1 Message Date
Ingvar Stepanyan
0a87bb875f Remove printf leftover (#836)
I noticed this in my logs and... according to Git blame it's been there for over 21 years? 😂
2022-09-26 09:05:25 +02:00
Marcus Meissner
cf154a3d81 report storereadonly instead of generalerror, as generalerror is ignored in our ptp stack.
https://github.com/gphoto/libgphoto2/issues/835
2022-09-24 09:10:47 +02:00
Marcus Meissner
3d038b9080 added eos r7 debug 2022-09-21 11:24:24 +02:00
Marcus Meissner
08cdbe6a9d added canon eos r7 https://github.com/gphoto/libgphoto2/issues/832 2022-09-21 11:11:07 +02:00
Ingvar Stepanyan
51d5d4a083 Fix GP_UNKNOWN_EVENT leaks in examples (#833)
Most of the examples give wrong impression that `GP_UNKNOWN_EVENT` data does not need to be freed / is not heap allocated, however it's not the case - those messages are always `malloc`'d by corresponding drivers.
2022-09-21 09:28:25 +02:00
Dmitry D. Chernov
77aad1cf4c Fix empty PTP strings not being null-terminated in parse_9301_value() (#830) 2022-09-17 10:28:33 +02:00
Marcus Meissner
129a2ab9fa init position_new as an exit condition 2022-09-15 15:03:05 +02:00
Marcus Meissner
620af03ac8 Rewrite the OLC handling logic to be table driven, as we now have too many choices. 2022-09-15 14:27:50 +02:00
Marcus Meissner
2a5d2efaae fixed an endless loop due to the DCIM being a '' name 2022-09-09 12:26:04 +02:00
Marcus Meissner
d1c30fa704 Merge remote-tracking branch 'origin/master' 2022-09-09 11:50:15 +02:00
Marcus Meissner
571afbf902 fixed the non-fuzz camera detection in vusb
fixes https://github.com/gphoto/libgphoto2/issues/828
2022-09-09 11:49:39 +02:00
Hans Ulrich Niedermann
e69ff8c032 Use LIBWS232_* with $(...) instead of @...@ 2022-09-06 23:36:06 +02:00
Hans Ulrich Niedermann
4f21b567f8 Use LIBGD_* with $(...) instead of @...@ 2022-09-06 23:35:45 +02:00
Marcus Meissner
e20663d6fb added another trace to EOS R 2022-09-05 18:01:45 +02:00
Hans Ulrich Niedermann
8a81970cf8 gh workflow: remove apt-get dist-upgrade
We probably do not need to dist-upgrade (or upgrade), and dist-upgrade
can take a long time on the github runners.

We only had this while trying to work out how to work around the
libgd-dev dependency issue, so we can remove the dist-upgrade step.
2022-09-04 19:13:57 +02:00
Hans Ulrich Niedermann
ff5a43e0a7 gh workflow: work around libgd-dev dependency problem
Work around libgd-dev dependency issue apparently caused by a 3rd party
repository with PHP and nginx and related stuff like libgd.

So we remove nginx and libgd3 to get rid of the relevant 3rd party
packages which pull in their libgd, and only then install libgd-dev
which then comes from Ubuntu proper and works.

As we need neither nginx nor php, this should work for libgphoto2.

This appears to be a reoccuring problem on github runners, so keeping
this workaround in place looks like the way to go for the future.

See also https://github.com/actions/runner-images/issues/6153
and recursively follow the linked issues and comments for more
information.
2022-09-04 19:02:49 +02:00
Marcus Meissner
346ff9c8b8 report only fstype, not fsname ... otherwise might like pths or UUIDs in logfiles 2022-09-04 13:07:38 +02:00
Marcus Meissner
df4f130723 added eos r5 c 2022-09-04 13:07:38 +02:00
Hans Ulrich Niedermann
d725bbab44 gh workflow: actually upgrade the system 2022-09-04 00:43:20 +02:00
Hans Ulrich Niedermann
fa07a92c47 camlib build var cleanup
Consistently use the same notation and formatting for all
camlib Makefile-files, which uses

  * common $(camlib_cflags)
  * common $(camlib_cppflags)
  * common $(camlib_dependencies)
  * common $(camlib_ldflags)
  * common $(camlib_libadd)

and then groups additional related definitions together,
making it obvious when e.g. bar_la_LIBADD adds FOO_LIBS
but bar_la_CPPFLAGS forgot to add FOO_CFLAGS.
2022-09-01 22:36:00 +02:00
Marcus Meissner
22a8459c68 added EOS R10 2022-08-31 13:59:53 +02:00
Daniel Schulte
087864609a camlibs/ptp2: Add support for Panasonic cameras in camera_trigger_capture (#822) 2022-08-29 15:24:39 +02:00
Marcus Meissner
b06cd5210a extra dist for the olc info document 2022-08-29 09:22:00 +02:00
Marcus Meissner
54ccef7fea added olc infos 2022-08-28 17:23:02 +02:00
Marcus Meissner
6480d6c826 fixes https://github.com/gphoto/libgphoto2/issues/821. 2022-08-28 16:02:44 +02:00
Marcus Meissner
b4bb9ab432 fixed incorrect size to printf , fixes https://github.com/gphoto/libgphoto2/security/code-scanning/27 2022-08-28 16:01:09 +02:00
Marcus Meissner
a366d03239 fixed a too small loop bound value. fixes https://github.com/gphoto/libgphoto2/issues/820 2022-08-28 15:59:28 +02:00
Marcus Meissner
2a11eca1aa updates for EOS 100D 2022-08-28 15:11:52 +02:00
Marcus Meissner
83302481cb note that m10 is also type 8 2022-08-27 13:41:48 +02:00
Marcus Meissner
b1ca489a65 added m6 mark 2 entry, also added powershot sx720hs entry, and some notes on eos 750d/eos 5ds 2022-08-27 10:50:40 +02:00
Marcus Meissner
41533c8cd3 more debugging output in olc code 2022-08-27 07:15:49 +02:00
Marcus Meissner
c78f1ff67e merged the v11 olc info we have in 1 github issue 2022-08-24 12:39:09 +02:00
Marcus Meissner
d3a0971868 statred to work on new olcsize handling 2022-08-24 09:44:25 +02:00
Marcus Meissner
c408a6e5a7 fix bitmask 2022-08-24 09:29:59 +02:00
Marcus Meissner
2811b40d64 added a "testolc" option to help with EOS OLC size detection 2022-08-23 16:56:06 +02:00
Marcus Meissner
3773ad1988 olc info ver instead of curoff in check§ 2022-08-20 11:28:17 +02:00
Marcus Meissner
a14ea3b9f3 added pentax kp in ptp mode 2022-08-15 10:18:10 +02:00
Marcus Meissner
6d7787f0a1 use the same flags for the 1500D and 2000D, fixes https://github.com/gphoto/libgphoto2/issues/812 2022-07-23 10:52:37 +02:00
Marcus Meissner
c7cce560c1 added nikon z30 2022-07-20 10:36:35 +02:00
Marcus Meissner
4e56b0bda9 from https://github.com/gphoto/libgphoto2/issues/792 2022-07-16 10:58:39 +02:00
Marcus Meissner
904c28302e added eos 850d alias
fixes https://github.com/gphoto/libgphoto2/issues/810
2022-07-05 14:30:32 +02:00
Marcus Meissner
cb70e5fadc 2.5.30.1 development snapshot 2022-07-02 11:55:57 +02:00
Marcus Meissner
6511898c4b 2.5.30 release v2.5.30 libgphoto2-2_5_30-release 2022-07-02 11:29:52 +02:00
Marcus Meissner
c89a566f85 imported from libmtp 2022-07-02 10:28:11 +02:00
Hans Ulrich Niedermann
0cfd9bff23 Update libgphoto2_port/NEWS for 0.12.1, fixing distcheck
Commit e47c13fd8e updates the
libgphoto2_port version from 0.12.0 to 0.12.1, but fails to
update libgphoto2_port/NEWS accordingly.

This updates libgphoto2_port/NEWS with the 0.12.1 version number,
thus fixing the "make distcheck" target's part checking NEWS.
2022-05-31 22:41:24 +02:00
Hans Ulrich Niedermann
e47c13fd8e Call libgphoto2_port 0.12.1, add pc file requirement
Change the libgphoto2_port version from 0.12.0 to 0.12.1 so that
the libgphoto2 pkgconfig files can require libgphoto2_port >= 0.12.1
due to new symbols added.

This will not catch all possible build/install/link messups, but
will not hurt anyone and could catch some messups.
2022-05-30 22:30:38 +02:00
Hans Ulrich Niedermann
5edddb534d source-code-check refers to srcdir, not builddir 2022-05-29 06:43:40 +02:00
Hans Ulrich Niedermann
e7a4146464 remove unused file camlibs/largan/Makefile.am 2022-05-29 00:43:44 +02:00
Hans Ulrich Niedermann
85f2b9fdf5 gh CI workflow: Add "make installcheck" target 2022-05-27 21:46:59 +02:00
Marcus Meissner
160be50f1d added Sony HDR-PJ710V 2022-05-23 15:33:30 +02:00