Commit Graph

4854 Commits

Author SHA1 Message Date
Marcus Meissner
48dc916623 * added nikon d70 property list.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7957 67ed7778-7388-44ab-90cf-0a291f65f57c
2005-05-07 08:09:54 +00:00
Marcus Meissner
7b2b2f05fe * bayer.c: added cast to fix signedness warning.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7954 67ed7778-7388-44ab-90cf-0a291f65f57c
2005-05-05 19:40:25 +00:00
Marcus Meissner
7510501e01 * gphoto2-abilities-list.c: Initialize *abilities.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7953 67ed7778-7388-44ab-90cf-0a291f65f57c
2005-05-05 19:30:25 +00:00
Marcus Meissner
84d3f512ac * camera.c: Fixed warning with uninitialized rc.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7952 67ed7778-7388-44ab-90cf-0a291f65f57c
2005-05-05 17:18:24 +00:00
Marcus Meissner
346babe1cc * ptp.[ch]: use char* in theme download to avoid warning.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7951 67ed7778-7388-44ab-90cf-0a291f65f57c
2005-05-05 17:13:12 +00:00
Hans Ulrich Niedermann
5769690ad7 fix compile/link flags: canon camlib now (optionally) uses libexif
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7950 67ed7778-7388-44ab-90cf-0a291f65f57c
2005-05-05 16:29:09 +00:00
Stephen H. Westin
07161d2f34 Moved PowerShot SD200/IXUS 30/IXY 40 from class 1 to class 6 for
experimentation. This camera now needs CFLAGS=-DCANON_EXPERIMENTAL_20D
  to be included in the list. I kinda suspect that the SD400/IXUS 50/IXY 55
  will need to go along with them. The A510 has been demonstrated working
  with the older protocol.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7947 67ed7778-7388-44ab-90cf-0a291f65f57c
2005-05-05 16:13:35 +00:00
Mariusz Woloszyn
25f10096a5 Removed extra checking
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7945 67ed7778-7388-44ab-90cf-0a291f65f57c
2005-05-05 10:27:23 +00:00
Marcus Meissner
0ac19a234f * olympus-x450: new olympus ptp style (pictbridge) cameras
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7944 67ed7778-7388-44ab-90cf-0a291f65f57c
2005-05-05 07:54:41 +00:00
Marcus Meissner
bed4e19d8b * added IXUS 700, PowerShot SD500
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7942 67ed7778-7388-44ab-90cf-0a291f65f57c
2005-05-05 07:22:00 +00:00
Stephen H. Westin
1efe735469 Added new "change owner" code for new protocol.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7941 67ed7778-7388-44ab-90cf-0a291f65f57c
2005-05-05 01:13:25 +00:00
Stephen H. Westin
b5983bb73e Added function dump_hex, which had been deleted.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7940 67ed7778-7388-44ab-90cf-0a291f65f57c
2005-05-05 01:12:46 +00:00
Stephen H. Westin
72245222e1 We now set and fetch the owner name correctly in new protocol.
Error messages are improved.
  o more text in place of numeric error codes
  o "amount of data" -> "length"
I think I now have gotten rid of "gp_context_message" (which stops for
  interactive input) when we are surprised at the length returned by
  a command.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7939 67ed7778-7388-44ab-90cf-0a291f65f57c
2005-05-05 01:09:28 +00:00
Marcus Meissner
37f5a5da46 * library.c: Split up reads into 4k parts to avoid timeout
issues.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7938 67ed7778-7388-44ab-90cf-0a291f65f57c
2005-05-04 14:27:56 +00:00
Marcus Meissner
bc49bf9d3f * usb.c: There is no need to get / set settings without any changes.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7937 67ed7778-7388-44ab-90cf-0a291f65f57c
2005-05-04 11:35:48 +00:00
Marcus Meissner
4f30582890 * libusb.c: release / reclaim interface during config handling
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7936 67ed7778-7388-44ab-90cf-0a291f65f57c
2005-05-04 11:29:22 +00:00
Stephen H. Westin
6c37453405 Initial capability to get JPEG thumbnails from CR2 raw files
(but not yet EXIF data).


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7934 67ed7778-7388-44ab-90cf-0a291f65f57c
2005-05-02 22:02:45 +00:00
Hans Ulrich Niedermann
87ab3a76fe only use va_copy if it is available
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7933 67ed7778-7388-44ab-90cf-0a291f65f57c
2005-05-02 19:58:30 +00:00
Hans Ulrich Niedermann
65c718cbfd correctly link print_usb_usermap
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7932 67ed7778-7388-44ab-90cf-0a291f65f57c
2005-05-02 19:39:50 +00:00
Hans Ulrich Niedermann
8bb0626d92 correctly link test programs
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7931 67ed7778-7388-44ab-90cf-0a291f65f57c
2005-05-02 19:37:28 +00:00
Hans Ulrich Niedermann
6b8fd1ecf3 use the same preprocessor syntax for all blocks
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7930 67ed7778-7388-44ab-90cf-0a291f65f57c
2005-05-02 19:36:52 +00:00
Hans Ulrich Niedermann
3a58b1fb5d we use libltdl, and OSX does not have dlfcn.h
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7929 67ed7778-7388-44ab-90cf-0a291f65f57c
2005-05-02 19:36:05 +00:00
Hans Ulrich Niedermann
e37a1f6179 'make clean' should not fail when directory is missing
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7928 67ed7778-7388-44ab-90cf-0a291f65f57c
2005-05-02 19:31:30 +00:00
Hans Ulrich Niedermann
f657c8cd6d cosmetix
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7927 67ed7778-7388-44ab-90cf-0a291f65f57c
2005-05-02 19:27:28 +00:00
Hans Ulrich Niedermann
0f2f926ffc fix typos in doxygen detection
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7926 67ed7778-7388-44ab-90cf-0a291f65f57c
2005-05-02 19:25:35 +00:00
Hans Ulrich Niedermann
be567539c2 compile on systems without va_copy()
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7924 67ed7778-7388-44ab-90cf-0a291f65f57c
2005-05-02 09:48:38 +00:00
Hans Ulrich Niedermann
a6875b702c Fix source files to compile with the shipped convenience libltdl.
HAVE_LTDL is only defined if we are using the system libltdl, so we
cannot use it for conditionally either including ltdl.h or printing
an error message.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7923 67ed7778-7388-44ab-90cf-0a291f65f57c
2005-04-29 22:43:51 +00:00
Hans Ulrich Niedermann
33838dd319 test whether installing camlibs worked
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7922 67ed7778-7388-44ab-90cf-0a291f65f57c
2005-04-29 22:33:50 +00:00
Hans Ulrich Niedermann
31b9e7257c get rid of redundant linefeed in configure output
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7921 67ed7778-7388-44ab-90cf-0a291f65f57c
2005-04-29 18:03:48 +00:00
Hans Ulrich Niedermann
025fe212cb only compile without libusb if explicitly requested
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7920 67ed7778-7388-44ab-90cf-0a291f65f57c
2005-04-29 12:54:25 +00:00
Hans Ulrich Niedermann
c4fa6082d9 only compile without libusb if explicitly requested
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7919 67ed7778-7388-44ab-90cf-0a291f65f57c
2005-04-29 12:38:58 +00:00
Stephen H. Westin
636784417a Added some new info from init packet for certain models.
Corrected init packet info for Optura 20, Optura 40 camcorders.
Corrected one dangling link.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7918 67ed7778-7388-44ab-90cf-0a291f65f57c
2005-04-28 18:03:36 +00:00
Stephen H. Westin
f901200d04 No functional changes.
Made explanation of different protocol classes more precise, esp.
  for "dead" classes where we're pretty sure there will be no new camera
  models.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7917 67ed7778-7388-44ab-90cf-0a291f65f57c
2005-04-28 17:51:49 +00:00
Stephen H. Westin
4006e98908 Corrected byteswap problem on error code decoding.
Added a couple of new (EOS 20D) error codes, though we don't know their
  meaning.
We now treat a non-zero error code returned at offset 50 of the reply
  packet as an error.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7916 67ed7778-7388-44ab-90cf-0a291f65f57c
2005-04-28 17:45:20 +00:00
Stephen H. Westin
39e7ebfdbd Added several camcorders: Elura 50, Optura 10/MVX100i,
Optura Xi/MVX 3i/FV M1, Optura Xi/MVX 3i/FV M1, Optura 40/MVX25i
   based on Web reports and some intelligent (I hope) guesses.
Fixed Optura 20/MVX150i ID: 307f is for PTP, but 3080 is for us.
   Based on reports from psapsa at users.sourceforge.net.
We now attempt to exit from remote control mode on any capture error.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7915 67ed7778-7388-44ab-90cf-0a291f65f57c
2005-04-28 17:42:11 +00:00
Stephen H. Westin
74776a7ec5 We now know the contents of the init packet from PowerShot SD200.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7914 67ed7778-7388-44ab-90cf-0a291f65f57c
2005-04-27 19:28:22 +00:00
Stephen H. Westin
616cc82d2a Unexpected length returned from "get abilities" now handled correctly
for all classes of camera.
Phrases "amount of data", "number of bytes", etc. are now "length" in
  all messages.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7913 67ed7778-7388-44ab-90cf-0a291f65f57c
2005-04-27 19:26:46 +00:00
Stephen H. Westin
fce2924a6d Fixed one long vs. int warning.
Added message for failure of file delete.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7912 67ed7778-7388-44ab-90cf-0a291f65f57c
2005-04-27 18:32:10 +00:00
Stephen H. Westin
025310110a Revised one message on a command code that has different meanings in the
old and new versions of the protocol.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7911 67ed7778-7388-44ab-90cf-0a291f65f57c
2005-04-27 18:22:53 +00:00
Stephen H. Westin
a314b64e7a Learned more about vendor ID's of several cameras.
Moved PowerShot SD200/IXUS 30/Digital IXY 40 from class 4 to class 1
  for testing.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7909 67ed7778-7388-44ab-90cf-0a291f65f57c
2005-04-27 16:18:58 +00:00
Hans Ulrich Niedermann
1f77f67f04 note use of environment variables CAMLIBS and IOLIBS
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7908 67ed7778-7388-44ab-90cf-0a291f65f57c
2005-04-27 15:16:34 +00:00
Hans Ulrich Niedermann
c46d591e07 better docs for GP_CHECK_LIBRARY
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7907 67ed7778-7388-44ab-90cf-0a291f65f57c
2005-04-27 14:37:42 +00:00
Marcus Meissner
7fc3125d2f * added canon powershot A520
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7905 67ed7778-7388-44ab-90cf-0a291f65f57c
2005-04-26 13:28:45 +00:00
Hans Ulrich Niedermann
9344dba3b0 ship symbol list in tarball
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7903 67ed7778-7388-44ab-90cf-0a291f65f57c
2005-04-25 11:56:16 +00:00
Hans Ulrich Niedermann
0150d0e2c1 indentation
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7902 67ed7778-7388-44ab-90cf-0a291f65f57c
2005-04-25 09:14:18 +00:00
Hans Ulrich Niedermann
c6406c6922 improve comment
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7900 67ed7778-7388-44ab-90cf-0a291f65f57c
2005-04-25 09:07:30 +00:00
Hans Ulrich Niedermann
350fc8e3a7 remove redundant assignment
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7899 67ed7778-7388-44ab-90cf-0a291f65f57c
2005-04-25 09:04:07 +00:00
Hans Ulrich Niedermann
81ab9f90e8 abort before buffer overflow could happen in append_folder() and append_file()
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7897 67ed7778-7388-44ab-90cf-0a291f65f57c
2005-04-24 17:30:15 +00:00
Hans Ulrich Niedermann
0b10077369 set camlib/iolib dir at runtime with environment variable CAMLIBS/IOLIBS
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7893 67ed7778-7388-44ab-90cf-0a291f65f57c
2005-04-24 09:21:21 +00:00
Hans Ulrich Niedermann
0f2d5b9e39 log idVendor/idProduct in case of detection by class
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7892 67ed7778-7388-44ab-90cf-0a291f65f57c
2005-04-24 09:06:58 +00:00