Commit Graph

10070 Commits

Author SHA1 Message Date
Marcus Meissner
2eb30982ef updated NEWS to current git state 2017-01-05 16:14:02 +01:00
Marcus Meissner
f59c6a9467 the new EOS objectadded event is slightly shifted
after some position, likely due to size changing from
32 to 64bit
2017-01-05 12:22:50 +01:00
Marcus Meissner
213812eb0b initialize storage id array to NULL in all cases (AFL) 2017-01-05 10:42:59 +01:00
Marcus Meissner
ec0887fffd allocate enough memroy for BulbExposureTime debug (AFL) 2017-01-05 10:17:42 +01:00
Marcus Meissner
06309046f5 merge back previous removed data 2017-01-04 23:16:04 +01:00
Marcus Meissner
3b74eb083e Merge pull request #125 from eliotb/ewb/s45zoom
camlibs: canon_int_get_zoom - work with shorter response from S45
2017-01-04 10:19:37 +01:00
Eliot Blennerhassett
21f7345c47 camlibs: canon_int_get_zoom - work with shorter response from S45
Relax datalen check so it accepts the minimum reqired for referenced data
(15th element).  Canon S45 returns 16 bytes for this query, and failed
the previous requirement for 28 bytes returned.
2017-01-04 18:23:14 +13:00
Marcus Meissner
406738c017 sync from libmtp, comment out gopro hero 2017-01-03 18:57:58 +01:00
Marcus Meissner
5392dd4dc1 added sony a6000 debug data 2017-01-03 17:43:05 +01:00
Marcus Meissner
0bdd77da97 test if we reached the bottom or top of the enumeration in
search for the new value to be set. If we reeach it and it
is not set yet, exit the loop.

Fixes e.g. ISO=25 being returned by the Sony, but it will
be skipped during the setting.

fixes https://github.com/gphoto/libgphoto2/issues/124
2017-01-03 17:30:35 +01:00
Marcus Meissner
99dceba032 changed size calculation in focusinfoex to string decoder (AFL) 2017-01-03 13:52:49 +01:00
Marcus Meissner
4a570e20f0 incorrect array index (AFL) 2017-01-03 09:54:52 +01:00
Marcus Meissner
bd80abb284 canon eos 1dx debug data 2017-01-02 19:50:39 +01:00
Marcus Meissner
890aa365ee change size check 2017-01-02 19:48:05 +01:00
Marcus Meissner
959e7c236e added some more values that were reported 2017-01-02 19:48:05 +01:00
Marcus Meissner
a7f7cecb71 added 2 missing ISO values for Canon EOS 1Dx 2017-01-01 22:17:48 +01:00
Marcus Meissner
94acd693b1 added more size checks for canon changes (AFL) 2017-01-01 21:46:57 +01:00
Marcus Meissner
2027d1dd0d avoid overflowing the decoded focusinfo string (AFL) 2017-01-01 21:15:00 +01:00
Marcus Meissner
12e2a66378 handle property count decoder buffer overflows (AFL) 2017-01-01 20:49:31 +01:00
Marcus Meissner
650586e71e ignore sizes larger than full datasize (AFL) 2017-01-01 20:41:06 +01:00
Marcus Meissner
84b3be9be7 added d3400 2016-12-31 10:17:45 +01:00
Marcus Meissner
80f2562aef added Parrot Sequoia 2016-12-27 23:09:59 +01:00
Marcus Meissner
70633af331 translations 2016-12-27 23:09:37 +01:00
Stéphane Aulery
99c6a64dc6 updated french 2016-12-27 23:09:28 +01:00
Sebastian Rasmussen
61dd952d04 updated svensk 2016-12-27 23:08:42 +01:00
Stéphane Aulery
17e9696d18 updated french 2016-12-27 23:08:13 +01:00
Joe Hansen
0e6b0d3975 updated danish 2016-12-27 23:07:48 +01:00
Marcus Meissner
53b7279a4a on printing out MTP variables, check if its the correct type (AFL) 2016-12-26 17:06:51 +01:00
Marcus Meissner
f354203f5b gopros are handled by libgphoto2 2016-12-25 23:47:12 +01:00
Marcus Meissner
cd98f33236 added more gopro hero models. 2016-12-25 23:15:00 +01:00
Marcus Meissner
a23177874b get sharpness - handle max==min to avoid division by 0 (AFL) 2016-12-25 10:29:00 +01:00
Marcus Meissner
aeb423db57 decode parrot ptp device props and opcodes 2016-12-23 20:40:07 +01:00
Marcus Meissner
6742e3e19e _BSD_SOURCE -> _DEFAULT_SOURCE 2016-12-23 18:54:38 +01:00
Marcus Meissner
01751a7347 max was undefined 2016-12-23 18:53:48 +01:00
Marcus Meissner
f98954b981 add event handling to afl 2016-12-23 18:46:10 +01:00
Marcus Meissner
f3581ecbc7 fixed cnt return (AFL) 2016-12-23 18:46:10 +01:00
Marcus Meissner
c6826e39b4 fixed the SPACE_LEFT macro to not underflow, suggested by Axel
https://github.com/gphoto/libgphoto2/pull/113
2016-12-23 18:44:19 +01:00
Marcus Meissner
4652791d91 added various sequioa defines 2016-12-22 22:31:28 +01:00
Marcus Meissner
e90435dac1 added parrot sequioa
https://github.com/gphoto/libgphoto2/issues/105
2016-12-22 22:21:16 +01:00
Marcus Meissner
d33920f7c6 fixed two potential sprintf overflows in sprintf of event code.
might fix https://github.com/gphoto/libgphoto2/issues/119
2016-12-21 11:13:50 +01:00
Marcus Meissner
3afe07dbfd wait_for_Event needs to be run multiple times to drain
the event queue better. otherwise e.g. Nikon DSLR will
never get to the fileadded event.
2016-12-20 08:43:11 +01:00
Marcus Meissner
eae8a13ac2 adjusted code to handled errors and use buffer and file better
fixes https://github.com/gphoto/libgphoto2/issues/118
2016-12-20 07:10:52 +01:00
Marcus Meissner
14041e1af9 trigger capture: do not use file_read, api does not handle sdram capture currently ... :/ 2016-12-18 21:25:55 +01:00
Marcus Meissner
9284a68343 use _DEFAULT_SOURCE 2016-12-17 11:16:18 +01:00
Marcus Meissner
6f84fc2862 added nikon aw130
fixes https://github.com/gphoto/libgphoto2/issues/116
2016-12-17 11:15:40 +01:00
Marcus Meissner
4044ea3301 correct the size checks in the deviceinfo unpacker (AFL) 2016-12-11 19:12:01 +01:00
Marcus Meissner
61688bc4ed shorten the strings for the fuzzer to have a smaller corpus 2016-12-11 19:12:01 +01:00
Marcus Meissner
6f41ca6dbe sony shutterspeed is UINT32, not INT32 2016-12-10 19:04:14 +01:00
Marcus Meissner
9c28303a2b handle short reads 2016-12-09 19:47:55 +01:00
Marcus Meissner
212d6179fb set the "inliveview" variable also on the config variable setting for
nikon
2016-12-06 17:02:50 +01:00