Commit Graph

3596 Commits

Author SHA1 Message Date
Dan Fandrich
a670274ac1 * configure.in
* libgphoto2_port/m4/stdint.m4
	* camlibs/dimera/dimera3500.c
	* camlibs/dimera/mesalib.h
	* camlibs/panasonic/dc.c
	* camlibs/panasonic/dc.h
	* camlibs/panasonic/dc1000.c
	* camlibs/panasonic/dc1580.c
	* camlibs/panasonic/l859/l859.c
	* camlibs/panasonic/l859/l859.h: add AC_NEED_STDINT_H to configure.in
	  and change camera libraries to use C99-style size-specific integer types


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3413 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-06 01:45:50 +00:00
Lutz Mueller
acf5e06244 Another include fix...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3412 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-05 22:22:46 +00:00
Lutz Mueller
90763721bc Use {} instead of ()...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3411 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-05 22:19:07 +00:00
Lutz Mueller
489b4f7d85 Fix includes.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3410 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-05 22:13:01 +00:00
Lutz Mueller
22bea057ca Fix includes
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3409 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-05 22:11:48 +00:00
Lutz Mueller
ebba3a5868 2001-12-05 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* pdc640.c: Includes again :-)


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3408 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-05 22:06:00 +00:00
Lutz Mueller
5472dfd648 2001-12-05 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* pdc320.h pdc640.c: Still fixing includes


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3407 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-05 22:02:24 +00:00
Lutz Mueller
d45045c327 2001-12-05 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* pdc640.c: Fix includes.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3406 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-05 21:55:56 +00:00
Lutz Mueller
9a31621316 2001-12-05 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* library.c: Fix includes


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3405 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-05 21:53:08 +00:00
Lutz Mueller
43c281408e 2001-12-05 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* serial.c: Include <bayer.h>, not "libgphoto2/bayer.h"


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3404 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-05 21:48:49 +00:00
Lutz Mueller
4807702450 2001-12-05 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* jamcam.c: Don't include <libgphoto2/*.>, include <*.h> instead.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3403 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-05 21:45:19 +00:00
Lutz Mueller
c11497ad5c 2001-12-05 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
$builddir != $srcdir fixes.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3402 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-05 21:37:57 +00:00
Hubert Figuiere
802d236249 Added _stdint.h to ignore files
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3397 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-05 19:57:27 +00:00
Hubert Figuiere
66bfc45a41 * l859/l859.c: Fixed a typo that failed to initialize camera. See
bug 483903.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3396 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-05 19:41:32 +00:00
Dan Fandrich
b464ed4253 Added AC_NEED_STDINT_H
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3395 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-05 17:28:24 +00:00
Dan Fandrich
e42ab13610 Look for a header file that defines size-specific integer types
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3394 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-05 17:27:21 +00:00
Fredrik
066df1d853 error checking improvement, more lock/unlock functionality.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3393 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-05 16:34:03 +00:00
Fredrik
cff05625a5 Improved error checking on return from canon_{usb,serial}_dialogue() calls
and changed some functions to return GP_ codes instead of hard coded
integer values.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3392 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-05 16:33:16 +00:00
Fredrik
92eeb957bc Call canon_usb_unlock_keys() from camera_exit() if using USB.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3391 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-05 16:32:34 +00:00
Fredrik
c81910e794 * usb.h:
Added EOS D30 (and possibly other models) commands to
  lock and unlock camera keys.

* usb.c, usb.h:
  Renamed canon_usb_keylock() to canon_usb_lock_keys().
  Added canon_usb_unlock_keys(), the only camera known to
  support this is the EOS D30. This is called from
  camera_exit().
  Corrected comments about how canon_usb_dialogue() works.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3390 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-05 16:32:05 +00:00
Dan Fandrich
7c1595d4eb Fixed spelling typo
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3389 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-05 08:06:46 +00:00
Dan Fandrich
899b49d2ca Added include of sys/types.h so utime.h will work on FreeBSD
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3388 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-05 03:35:57 +00:00
Dan Fandrich
da52d432e6 add include dir for config.h
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3387 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-05 00:39:53 +00:00
Dan Fandrich
508f90e4b2 fixed incorrect location of config.h
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3386 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-05 00:31:56 +00:00
Dan Fandrich
1718e7524d fixed incorrect location of config.h
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3385 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-05 00:21:53 +00:00
Lutz Mueller
9d52a2d47f 2001-12-04 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* libgphoto2: Support for GP_FILE_TYPE_EXIF. Not that there is not
          support for it in the frontends (yet).


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3380 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-04 20:24:20 +00:00
Fredrik
4d65bd86a6 - switch off status message improvement
- don't keylock EOS D30 since it does not work.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3379 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-04 14:34:09 +00:00
Fredrik
c0b0373cc9 Don't keylock EOS D30 cameras as the current code does not work well with
them. They seem to do some other type of keylocking.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3378 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-04 14:31:30 +00:00
Fredrik
7fba642d3f Clarify switch off 'situation' for USB cameras to avoid user confusion...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3377 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-04 14:29:22 +00:00
Fredrik
c52cefb726 Moved serial and usb _ready() functions from canon.c to serial.c and usb.c.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3375 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-04 10:45:29 +00:00
Lutz Mueller
8e00984283 2001-12-04 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* libgphoto2/gphoto2-camera.c: Don't exit the camera if it is
          currently in use.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3373 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-04 10:23:44 +00:00
Dan Fandrich
62fe287da2 If we check for 'ENABLE_NLS', we need to include <config.h>.
Fix 'redefinition of _' compile warnings due to broken copy & pasted macro
in the camlibs.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3372 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-04 08:43:40 +00:00
Dan Fandrich
58cde6c3b0 If we check for 'ENABLE_NLS', we need to include <config.h>.
Fix 'redefinition of _' compile warnings due to broken copy & pasted macro
in the camlibs.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3371 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-04 08:31:51 +00:00
Dan Fandrich
7d48735ee6 Fixed wrong argument to strncpy now that config.h is implicitly included
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3370 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-04 08:17:26 +00:00
Dan Fandrich
edb2910891 Added missing include of config.h
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3369 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-04 02:10:15 +00:00
Hans Ulrich Niedermann
de0ff351ee Hopefully clarified what can be found in doc/gphoto2.txt
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3368 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-03 15:18:07 +00:00
Fredrik
db52afe7db Some obvious fixes to canon_serial_get_dirents(). Must have missed those
when I implemented the code a few days ago. Sorry about that.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3367 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-03 12:33:07 +00:00
Fredrik
9eb04f3af3 Don't try to keylock model CANON_PS_S100, apparently it does that all by
itself as soon as you connect it to the USB port.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3366 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-03 10:58:31 +00:00
Lutz Mueller
db364d7c6b Documentation
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3365 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-03 07:15:31 +00:00
Dan Fandrich
c00c27f9db * libgphoto2_port/acconfig.h
* libgphoto2_port/configure.in
	* libgphoto2_port/libgphoto2_port/gphoto2-port-log.c
	* libgphoto2_port/libgphoto2_port/gphoto2-port-log.h
	* frontends/command-line/main.c
	* frontends/command-line/main.h
	* acconfig.h
	* configure.in: Added --disable-debugging option to configure


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3364 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-03 01:42:29 +00:00
Marcus Meissner
7a85582563 removed sharpen.c here, not ready yet.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3362 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-02 22:57:35 +00:00
Marcus Meissner
1718d2755c * camlibs/stv0680: Partial rewrite.
Got vendor information on USB communications, moved corrected
          definitions and return data structs into header file.
          Merged serial and USB communications to use the same functions.
          Rewrote almost all functions, fixed lots of bugs and added some
          missing features.
          Added 'delete all', 'capture image' and 'summary' functionality.
          *** Tested with USB only. Serial testers wanted. ***


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3361 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-02 22:55:14 +00:00
Colin Marquardt
a5c632ff12 Update.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3360 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-02 22:51:49 +00:00
Marcus Meissner
8d921c647f added the 2 digital cameras I own.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3359 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-02 22:49:56 +00:00
Fredrik
40ba8bfa92 The S40 needed to be added to one more place, we should really rewrite
that so that new cameras only need to be added in one place.
Patch from Matthias Bunte <M_Bunte@web.de>.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3355 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-02 21:17:15 +00:00
Mariusz Woloszyn
327aaa36f7 2001-12-02 Mariusz Woloszyn
* library.c: Updatet vendor & product numbers for Kodak DX-3900.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3354 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-02 16:43:04 +00:00
Hans Ulrich Niedermann
90cc09aefc how to create debug messages
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3353 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-02 16:04:37 +00:00
Fredrik
486aa9c222 Fix typo in 'Get camera photo abilities' cmd1 value.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3352 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-02 14:53:31 +00:00
Lutz Mueller
971f342b77 Correct id.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3351 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-02 14:47:39 +00:00
Lutz Mueller
52c50b2b5b 2001-12-02 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* library.c: Fix warning


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3349 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-02 10:53:17 +00:00