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
Marcus Meissner
56eef2c53a
fixed return code checking logic
...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@14531 67ed7778-7388-44ab-90cf-0a291f65f57c
2013-09-01 11:14:36 +00:00
Marcus Meissner
b4af65be7c
remove gp_file_free which will zero out the returned data which we still
...
need (makes CameraFile* leak here).
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@14392 67ed7778-7388-44ab-90cf-0a291f65f57c
2013-05-03 22:31:13 +00:00
Marcus Meissner
ca55fb156d
fixed sample_open_camera to load the abilities and portinfolist
...
(was done by sample_autodetect before)
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@14352 67ed7778-7388-44ab-90cf-0a291f65f57c
2013-04-25 07:39:18 +00:00
Marcus Meissner
60038db2e4
cleaned up AM_CPPFLAGS and CPPFLAGS usage patterns.
...
AM_CPPFLAGS and CPPFLAGS are used both during build, so
no need to use merge them together in configure.
also move the -I$(xx) stuff into Makefile* to avoid
shell expansion issues.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@14269 67ed7778-7388-44ab-90cf-0a291f65f57c
2013-03-10 14:59:08 +00:00
Marcus Meissner
ece1fcf209
C comment, not C++
...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@14249 67ed7778-7388-44ab-90cf-0a291f65f57c
2013-02-20 21:52:05 +00:00
Marcus Meissner
e1a6f1b6ca
added sample-justfocus.c file
...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@14197 67ed7778-7388-44ab-90cf-0a291f65f57c
2013-01-24 22:10:58 +00:00
Marcus Meissner
75fb88d5de
use a -3 to 3 range
...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@14175 67ed7778-7388-44ab-90cf-0a291f65f57c
2013-01-09 20:04:22 +00:00
Marcus Meissner
4d3129c1c7
added a bit focusing to the preview sample, also added manual focusing
...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@14174 67ed7778-7388-44ab-90cf-0a291f65f57c
2013-01-09 19:58:56 +00:00
Marcus Meissner
bd7d4e26dc
add a focusing sample to preview
...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@14173 67ed7778-7388-44ab-90cf-0a291f65f57c
2013-01-09 19:11:52 +00:00
Marcus Meissner
8f84b9c22b
added a focus sample
...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@14172 67ed7778-7388-44ab-90cf-0a291f65f57c
2013-01-09 18:53:14 +00:00
Marcus Meissner
b6b947ddae
correct compile line
...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@13941 67ed7778-7388-44ab-90cf-0a291f65f57c
2012-03-20 08:18:03 +00:00
Marcus Meissner
b08aef4453
added tethering sample
...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@13939 67ed7778-7388-44ab-90cf-0a291f65f57c
2012-03-20 08:07:55 +00:00
Marcus Meissner
a217a2329c
update ignore list.
...
add timestamps to error dumper
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@13152 67ed7778-7388-44ab-90cf-0a291f65f57c
2010-07-17 06:14:40 +00:00
Marcus Meissner
c7d639a0fd
testcase for eos zooming
...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@13059 67ed7778-7388-44ab-90cf-0a291f65f57c
2010-05-24 12:27:44 +00:00
Marcus Meissner
d52d005932
updated trigger sample test
...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@12909 67ed7778-7388-44ab-90cf-0a291f65f57c
2010-04-05 20:44:46 +00:00
Marcus Meissner
1f9373e771
added new trigger capture sample program (not fully working yet)
...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@12885 67ed7778-7388-44ab-90cf-0a291f65f57c
2010-04-01 21:28:56 +00:00
Hans Ulrich Niedermann
a1046f9c2b
Text cosmetics, testing commit mails.
...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@12798 67ed7778-7388-44ab-90cf-0a291f65f57c
2010-03-20 12:48:04 +00:00