Commit Graph

9664 Commits

Author SHA1 Message Date
Marcus Meissner
27bd3196ae fixed missing struct component for last diff 2015-12-26 21:23:47 +01:00
Marcus Meissner
c60256d9b2 if we get a 2009 error from deleting sdram pictures, remember this
and do not try again, as this confuses the D750

fixes https://github.com/gphoto/libgphoto2/issues/22
2015-12-26 20:25:19 +01:00
Marcus Meissner
35081ae9ec generic opcode , default getdata 2015-12-23 19:15:18 +01:00
Marcus Meissner
c770226124 whitespace adjustment 2015-12-23 19:15:18 +01:00
Marcus Meissner
da0fb234bd report objectremoved event too 2015-12-23 19:15:18 +01:00
Marcus Meissner
eb263d2683 handle arguments in opcode config correctly 2015-12-23 19:15:18 +01:00
Marcus Meissner
813c95e740 add a vcamera specific opcode 9999 which can be used to generate
special actions
2015-12-23 19:15:18 +01:00
Marcus Meissner
d2d7a93de1 implement sending data to the camera
implement setting properties
implement datetime set
2015-12-23 19:15:18 +01:00
Marcus Meissner
2e0bb8deb4 use correct size in array size on 16bit unpacker 2015-12-22 12:20:49 +01:00
Marcus Meissner
de329963fc correctly clear out the freed pointers for irqs, irqlens and
and the irqcount on _close (we might just reopen the same port later).
2015-12-21 21:06:52 +01:00
Marcus Meissner
020964a205 check total datasize during uint16 unpacking 2015-12-21 14:25:23 +01:00
Marcus Meissner
1246cad6b9 check array size in the uint32 array unpacker
should fix https://sourceforge.net/p/gphoto/bugs/1023/
2015-12-21 14:16:51 +01:00
Marcus Meissner
9aa52b39a9 fuji x-t1 info added 2015-12-21 10:19:41 +01:00
Marcus Meissner
b9ad66687f do not try to use libusb libusb_strerror, its presence seems to fluctuate 2015-12-21 10:15:12 +01:00
Marcus Meissner
431a93becb check for setenv/getenv and only use if present (fixes mingw32) 2015-12-21 09:08:49 +01:00
Marcus Meissner
17b803a14c added canon eos 750 d reported by Johannes Goecke <jg-ml@web.de> 2015-12-20 17:40:52 +01:00
Marcus Meissner
7c71a38ff9 rename the secondary datetime widget on eos, so it does not conflict 2015-12-16 22:04:16 +01:00
Marcus Meissner
71d3700972 avoid direct 32bit access as it might be unaligned 2015-12-16 11:08:16 +01:00
Marcus Meissner
cfb01b8b3f increment capcnt even on storefull event 2015-12-13 20:13:35 +01:00
Marcus Meissner
f8b714f676 handle storefull events during capture 2015-12-13 20:13:20 +01:00
Marcus Meissner
0ce0063700 emit a storefull error, bothj as return code and during capture 2015-12-13 19:41:37 +01:00
Marcus Meissner
de9ca87beb create a new directory every 100 captured images, including objectadded
events
2015-12-13 19:24:09 +01:00
Marcus Meissner
57d27f56c4 the nikon s1 detection also mistakenly
detected coolpix s7000

this should fix https://github.com/gphoto/libgphoto2/issues/25
2015-12-13 15:09:53 +01:00
Marcus Meissner
d2d5f08a62 check parameters of initatecapture 2015-12-12 13:35:23 +01:00
Marcus Meissner
1410430126 report captureformats, report capturecompleteevent 2015-12-11 18:32:05 +01:00
Marcus Meissner
fdb220114a first working initiatecapture version 2015-12-11 18:25:41 +01:00
Marcus Meissner
55d8766817 missing break 2015-12-11 17:50:28 +01:00
Marcus Meissner
d273a42f3f add possibility to inject and remove interrupts 2015-12-11 17:42:40 +01:00
Marcus Meissner
20c74a8f00 hook in interrupt reading 2015-12-11 16:43:26 +01:00
Marcus Meissner
8c8431eda4 support more filetypes -> objectformatcode, guess on extension 2015-12-10 16:18:41 +01:00
Marcus Meissner
d20cc22c40 use a libgphoto2_port based /usr/share directory as base directory
install a README.txt  there
2015-12-10 15:54:06 +01:00
Marcus Meissner
306018ee6e implement deleteobject (but not yet recursive) 2015-12-10 15:23:32 +01:00
Marcus Meissner
46920445e4 add datetime property 2015-12-10 14:58:42 +01:00
Marcus Meissner
d2a1d965b1 implement getnumobjects 2015-12-10 14:43:09 +01:00
Marcus Meissner
32f0a6ae57 implement getthumb using libexif
use libexif to read image width, height, thumbsize
2015-12-10 14:26:57 +01:00
Marcus Meissner
538eeaaba3 also add the generic usb: wildcard matcher 2015-12-10 14:26:39 +01:00
Marcus Meissner
df3ca8fbb5 check for libexif. this is used by the vusb/vcamera 2015-12-10 13:09:44 +01:00
Marcus Meissner
795851750b implement getpropdesc and getpropval
support querying (read) of battery level
2015-12-09 18:01:17 +01:00
Marcus Meissner
108d262525 implemented a simple getobject
reformatting a bit
report JPEG as imageformat
2015-12-09 16:30:28 +01:00
Marcus Meissner
620b00f789 filetree walk, impleent getobjectinfo and getobjecthandles correctly 2015-12-09 16:00:23 +01:00
Marcus Meissner
1ca21d3542 implemented getstorageinfo, getobjecthandles, getstorageids
on unknonw commands send back 0x2005
2015-12-09 14:28:43 +01:00
llo
1f8d8d6d94 add imagequality for Nikon D40 2015-12-09 13:20:35 +01:00
Marcus Meissner
adc05d9baf add closesession 2015-12-09 13:15:53 +01:00
Marcus Meissner
68cb369dcc put_string corrected
deviceinfo now works
2015-12-09 13:08:33 +01:00
Marcus Meissner
1fa3e41e39 started on getdeviceinfo 2015-12-08 18:06:21 +01:00
Marcus Meissner
48da910f21 handle transaction ids correctly 2015-12-08 16:39:34 +01:00
Marcus Meissner
84d210182a decode ptp opcodes
handle ptp opensession
2015-12-08 16:29:56 +01:00
Marcus Meissner
6d726d3cdf more work, sttart data processing 2015-12-07 17:53:01 +01:00
Marcus Meissner
dbe3ea061b assign eps
first level data handling
2015-12-07 17:21:35 +01:00
Marcus Meissner
8e43c05900 hook in more functions into vcamera 2015-12-07 16:31:43 +01:00