Siim Meerits
456a1d598b
Remove trailing whitespace from all *.h and *.c files.
2020-07-27 17:37:00 +03:00
Marcus Meissner
55b7b003c6
Revert "also test for usbscsi, usbdiskdirect and serial"
...
This reverts commit dcb34f94e5 .
(fixes travis)
2020-05-26 08:16:18 +02:00
Sijawusz Pur Rahnama
fd0be84db5
Fix typos throughout the codebase
2020-05-25 17:55:09 +02:00
Marcus Meissner
dcb34f94e5
also test for usbscsi, usbdiskdirect and serial
2020-03-29 16:12:38 +02:00
Hans Ulrich Niedermann
fb75d3632d
examples: Remove unused TESTS= instance
...
Any TESTS definition causes "make check" to run a test suite,
even if no tests are actually defined.
So we remove the empty TESTS= from examples/Makefile.am, and
keep on using the TESTS in the tests/Makefile.am file.
2020-02-18 18:56:09 +01:00
Marcus Meissner
8cfca5b2dd
fix gp_file reference count usage, its a bit weird
2020-01-25 18:14:16 +01:00
Marcus Meissner
560e15d3f4
let the sample-afl do autodetection to allow fuzzing all USB cameras
2019-04-23 11:48:13 +02:00
Marcus Meissner
88df661051
added unistd.h include for older systems
2019-03-09 14:12:25 +01:00
Marcus Meissner
9ae48976c5
disable capture fuzzing
2019-01-20 17:34:53 +01:00
Marcus Meissner
2799307539
try more calls
2019-01-20 17:13:03 +01:00
Marcus Meissner
79e7fdb455
unref the context in afl sample
2018-12-21 10:30:15 +01:00
Marcus Meissner
663401e3c4
c++ protect
2018-10-14 09:21:13 +02:00
Marcus Meissner
76bfee1646
free various event data
...
added GP_EVENT_FILE_CHANGED
2018-04-16 19:25:28 +02:00
Marcus Meissner
2ea49c29fa
also log the domain
2017-07-31 08:11:28 +02:00
Marcus Meissner
9c4aef574b
various fixes to free parameters and coverity issues
2017-06-05 19:13:32 +02:00
Marcus Meissner
3ad0c48f38
recursively list directories until the first file is found,
...
retrieve information and MTP metadata
2017-04-29 13:07:24 +02:00
Marcus Meissner
e366d6a1f0
list folders and files too
2017-04-29 10:16:15 +02:00
Marcus Meissner
f98954b981
add event handling to afl
2016-12-23 18:46:10 +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
peterbud
7f00f3ba22
do not use the signals in win32
2016-11-20 00:02:48 +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
Marcus Meissner
0ff0f34c7a
check for open return
2016-11-19 21:23:02 +01:00
Marcus Meissner
fe935d45f2
fixed reading configuration
...
better progress output
2016-10-11 09:20:22 +02:00
Marcus Meissner
4cb1c943f3
handle raw captures too
2016-10-11 08:54:10 +02:00
Marcus Meissner
dbcc6fea14
clear read_cofnig after reading
2016-10-11 08:44:24 +02:00
Marcus Meissner
d388199946
added configuration reading to photobooth sample
2016-10-11 08:36:18 +02:00
Marcus Meissner
45fe362730
add event polling / tethering to sample photobooth
2016-10-11 08:29:11 +02:00
Marcus Meissner
b4c961bf13
start a photobooth sample program
2016-10-10 09:43:07 +02:00
Marcus Meissner
4950324701
simplified using sample_open_camera
2016-09-25 17:52:08 +02:00
Marcus Meissner
1101b617c3
add a sample program for using AFL without the gphoto2 commandline tool
...
overhead
2016-09-24 12:12:09 +02:00
Marcus Meissner
4d751d6d75
use single config getter/setter
2016-03-14 08:02:11 +01:00
Marcus Meissner
16b34e5803
use the new single api in the example
2016-02-20 17:29:00 +01:00
Marcus Meissner
14aab4929c
remove probably unistd.h include , or protected by ifdef for
...
building better with Visual C
https://github.com/gphoto/libgphoto2/issues/33
2016-01-03 18:25:33 +01:00
Marcus Meissner
6b5f4ef1b0
free context
...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@15257 67ed7778-7388-44ab-90cf-0a291f65f57c
2014-12-06 11:42:00 +00:00
Marcus Meissner
1b9ead0602
pass onoff argument to autofocus
...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@15209 67ed7778-7388-44ab-90cf-0a291f65f57c
2014-10-09 10:24:16 +00:00
Marcus Meissner
63c99943a0
handle "no camera" case
...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@15100 67ed7778-7388-44ab-90cf-0a291f65f57c
2014-07-22 06:30:49 +00:00
Marcus Meissner
46df3126e6
fixed some leaks
...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@14986 67ed7778-7388-44ab-90cf-0a291f65f57c
2014-06-01 17:22:43 +00:00
Marcus Meissner
480629e83b
determine with preview enabled
...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@14985 67ed7778-7388-44ab-90cf-0a291f65f57c
2014-06-01 17:20:55 +00:00
Marcus Meissner
a3b9afebf0
handle an error (coverity)
...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@14984 67ed7778-7388-44ab-90cf-0a291f65f57c
2014-06-01 17:15:21 +00:00
Marcus Meissner
b1340dea32
small improvements. sample preview enablement
...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@14932 67ed7778-7388-44ab-90cf-0a291f65f57c
2014-05-04 14:47:00 +00:00
Marcus Meissner
83fe1b32f8
remove warning
...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@14928 67ed7778-7388-44ab-90cf-0a291f65f57c
2014-05-02 14:41:17 +00:00
Marcus Meissner
93ff38ea14
made standalone
...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@14927 67ed7778-7388-44ab-90cf-0a291f65f57c
2014-05-02 14:08:01 +00:00
Marcus Meissner
f658b9b9b1
also add release trigger
...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@14926 67ed7778-7388-44ab-90cf-0a291f65f57c
2014-05-02 12:22:41 +00:00
Marcus Meissner
ba1ae0f175
added a best-iso sample program for Canon EOS
...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@14925 67ed7778-7388-44ab-90cf-0a291f65f57c
2014-05-02 10:51:22 +00:00
Marcus Meissner
73861f1203
From: "Daniel P. Berrange" <dan@berrange.com>
...
A bunch of static functions are unused, so wrap them in
#if 0
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@14898 67ed7778-7388-44ab-90cf-0a291f65f57c
2014-04-11 20:12:39 +00:00
Marcus Meissner
c1ddde0315
From: "Daniel P. Berrange" <berrange@redhat.com>
...
A great many functions have variables which are set to some
value, but never read thereafter. All these variables can be
removed with no functional impact.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@14896 67ed7778-7388-44ab-90cf-0a291f65f57c
2014-04-11 20:10:32 +00:00
Marcus Meissner
d56a9d3d57
fixed format string problem
...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@14620 67ed7778-7388-44ab-90cf-0a291f65f57c
2014-01-01 21:36:12 +00:00