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
Marcus Meissner
84c285a0f8
updated news
2016-12-06 09:08:23 +01:00
Trần Ngọc Quân
c805ab8567
updated vietnamese
2016-12-06 09:07:04 +01:00
Yuri Chornoivan
64b82a2cd7
update ukrainian
2016-12-06 09:06:41 +01:00
Jakub Bogusz
f7db1dac1a
updated polish
2016-12-06 09:06:23 +01:00
Marcus Meissner
da25c0d128
Merge pull request #113 from axxel/camera_summary-cleanup
...
Cleanup of camera_summary()
2016-12-05 08:32:17 +01:00
Marcus Meissner
4f04d7975a
Merge pull request #112 from axxel/gitignore
...
added missing example binaries to .gitignore
2016-12-05 08:16:12 +01:00
Axel Waggershauser
6ead7c16dd
cleanup of camera_summary() (4/4): remove unnecessary _get_getset() helper
2016-12-05 02:10:14 +01:00
Axel Waggershauser
59a448bf29
cleanup of camera_summary() (3/4):
...
* rename _value_to_str helper to snprintf_ptp_property
* reorder parameters to be consistent with standard snprintf function
* similar spaceleft cleanup as in camera_summary()
2016-12-05 02:08:22 +01:00
Axel Waggershauser
75f530cbcb
cleanup of camera_summary() (2/4): simplify and generalize trailing ',' handling
2016-12-05 02:04:22 +01:00
Axel Waggershauser
b80031bdd1
cleanup camera_summary() (1/4):
...
* remove lots of code duplication (`if (n >= spaceleft) return GP_OK; spaceleft -= n; txt += n;`)
* thereby removing lots of gcc warnings about misleading if statements
* removing manual spaceleft calculation
-> less error prone and better readable code
2016-12-05 01:59:28 +01:00
Axel Waggershauser
3aec7149da
added missing example binaries to .gitignore
2016-12-05 01:41:08 +01:00
Marcus Meissner
4e219122a2
more EOS errorcodes
2016-12-04 18:32:25 +01:00
Marcus Meissner
176186d812
The Nikon 1 V3 reports InvalidStatus on non-autofocus capture,
...
so fallback to autofocus capture.
2016-12-04 18:32:25 +01:00
Marcus Meissner
eeb312235e
do not close the session on 2016 EOS cameras.
...
might fix https://github.com/gphoto/libgphoto2/issues/60 and https://github.com/gphoto/libgphoto2/issues/92
2016-12-04 18:30:10 +01:00
Marcus Meissner
5420c9c3cb
do not set property 0 to EOS cameras.
...
hopefully fixes https://github.com/gphoto/libgphoto2/issues/111
2016-11-25 11:52:13 +01:00
Marcus Meissner
73852ad06a
Merge pull request #110 from ignatenkobrain/hotfix
...
print-camera-list: fix gip_enum_to_string() usage
2016-11-21 15:30:07 +01:00
Igor Gnatenko
d6c6699cb5
print-camera-list: fix gip_enum_to_string() usage
...
print-camera-list.c: In function 'ddb_delayed_head':
print-camera-list.c:887:2: error: too many arguments to function 'gpi_enum_to_string'
gpi_enum_to_string(a->device_type,
^~~~~~~~~~~~~~~~~~
In file included from ../../libgphoto2_port/gphoto2/gphoto2-port-info-list.h:63:0,
from ../../gphoto2/gphoto2-abilities-list.h:30,
from ../../gphoto2/gphoto2-camera.h:50,
from print-camera-list.c:53:
../../libgphoto2_port/gphoto2/gphoto2-port-log.h:185:3: note: declared here
gpi_enum_to_string(const unsigned int _enum,
^~~~~~~~~~~~~~~~~~
print-camera-list.c:897:2: error: too many arguments to function 'gpi_enum_to_string'
gpi_enum_to_string(a->status,
^~~~~~~~~~~~~~~~~~
In file included from ../../libgphoto2_port/gphoto2/gphoto2-port-info-list.h:63:0,
from ../../gphoto2/gphoto2-abilities-list.h:30,
from ../../gphoto2/gphoto2-camera.h:50,
from print-camera-list.c:53:
../../libgphoto2_port/gphoto2/gphoto2-port-log.h:185:3: note: declared here
gpi_enum_to_string(const unsigned int _enum,
^~~~~~~~~~~~~~~~~~
Fixes: 43d9449161 ("New syntax for print-camera-list's udev output")
References: https://github.com/gphoto/libgphoto2/issues/109
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com >
2016-11-21 14:49:37 +01:00
Marcus Meissner
5eac752b8f
increase readlen from 64kb to 512kb to speed it up
2016-11-21 10:36:13 +01:00
Marcus Meissner
232e18b1aa
print trigger capture flag
2016-11-20 22:40:03 +01:00
Marcus Meissner
541571382a
2.5.11.1 devel
2016-11-20 22:19:25 +01:00
Marcus Meissner
00113c9367
2.5.11 release
libgphoto2-2_5_11-release
2016-11-20 21:59:02 +01:00
Marcus Meissner
c9e78531ee
fixed more bugs
2016-11-20 21:52:19 +01:00
Marcus Meissner
ba34799857
fixed gp_log calls
2016-11-20 21:46:32 +01:00
Marcus Meissner
9b1148283b
avoid superflous gp_widget_set_changed
2016-11-20 21:25:38 +01:00
Marcus Meissner
78a0cecbd4
updated NEWS
2016-11-20 21:25:30 +01:00
Marcus Meissner
7ebd16e0f5
Adjust the semantics of gp_widget_changed to not clear the changed state.
...
Adjust the camlibs that use it
(As this is mostly a internal function it should be ok to change.)
Fixes https://github.com/gphoto/libgphoto2/issues/73
2016-11-20 20:42:25 +01:00
Marcus Meissner
c82eae4962
for nikon v , also repeat checks on PTP_RC_NIKON_InvalidStatus
2016-11-20 20:03:09 +01:00
peterbud
7c445e08dc
store the settings on windows in CSIDL_PROFILE/.gphoto and not
...
in the windows directory anymore
2016-11-20 00:06:06 +01:00
peterbud
7f00f3ba22
do not use the signals in win32
2016-11-20 00:02:48 +01:00
peterbud
2832b91497
define ENODATA if not present
2016-11-19 23:53:19 +01:00
Marcus Meissner
29a061ce26
move gp_file_free up
2016-11-19 23:51:59 +01:00
peterbud
230e2554f8
add O_BINARY flag for open() calls to write images in binary mode on Windows
2016-11-19 23:47:21 +01:00