Commit Graph

1085 Commits

Author SHA1 Message Date
Mariusz Woloszyn
e02bfb07c0 Added DX-3600 Vendor and Product IDs.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3532 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-20 08:44:51 +00:00
Hubert Figuiere
4952215c2d * library.h:
* library.c:
	* dc240.c (camera_summary): Implemented summary.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3531 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-19 21:48:30 +00:00
Marcus Meissner
34ab7ac071 changed status to testing, since the commonly used functions work.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3523 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-17 09:03:18 +00:00
Marcus Meissner
a8a43ce2f1 Added models which apparently are the same from the documentation:
- IOMagic MagicImage 400
- Hawking DC120 Pocketcam
- Fuji IX-1 (unconfirmed, due to utterly javascript/shockwave disabled website)


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3522 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-16 10:52:11 +00:00
Fredrik
084892ce4e forgot to mention that I changed canon_usb_dialogue() to read data the same
way the windows driver does.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3521 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-15 15:18:28 +00:00
Fredrik
e542661b11 USB init/model detection changes.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3520 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-15 15:12:28 +00:00
Fredrik
77a7c25e35 added prototype for canon_usb_identify().
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3519 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-15 15:11:49 +00:00
Fredrik
9212a5cfb0 init based on USB vendor/product ID.
add special init code for EOS D30 cameras.
simplified canon_usb_camera_init().
moved stuff from canon_usb_ready() to canon_usb_init().


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3518 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-15 15:11:20 +00:00
Fredrik
3072dd48e6 s/_CANON_H/_LIBRARY_H/
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3517 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-15 15:09:46 +00:00
Fredrik
b025f70da0 Moved models[] from library.c to canon.h and added canonCamModel model to
models[].
s/_LIBRARY_H/_CANON_H/.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3516 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-15 15:09:12 +00:00
Mariusz Woloszyn
89562e0ba3 fixed small bug in file_delete_func
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3510 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-14 12:26:25 +00:00
Mariusz Woloszyn
29b9e41cf4 * file deleting implemented
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3509 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-14 12:22:02 +00:00
Mariusz Woloszyn
924bc98fdb small improvements, plus file_delete implementation.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3508 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-14 12:15:03 +00:00
Mariusz Woloszyn
cb5688cdfb * whole parts of code has been rewriten
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3506 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-13 15:57:21 +00:00
Mariusz Woloszyn
e3690b71ab added implementation of Object Format, fixing get_info_func
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3501 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-13 09:26:20 +00:00
Mariusz Woloszyn
a3a31a81c4 Adapted get_info_func to Object Types other than image.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3499 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-12 17:33:57 +00:00
Mariusz Woloszyn
27ec07e844 Added proper implementation of Object Format Codes and mapping to MIME
types.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3492 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-12 16:55:43 +00:00
Mariusz Woloszyn
d4babf93fe Added Object Format Codes
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3491 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-12 15:53:41 +00:00
Mariusz Woloszyn
9cf5c9a75d bugfix
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3490 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-12 15:23:34 +00:00
Mariusz Woloszyn
bcb9048161 Reversed prevoiuce workaround and added workaround not allowing downloading
of non-image objects (listing is allowed).


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3489 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-12 15:11:07 +00:00
Mariusz Woloszyn
802f2de650 Workaround not adding no-image files fo filesystem interface.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3488 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-12 15:06:32 +00:00
Lutz Mueller
3e968170e6 2001-12-11 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* library.c: Add some debugging stuff.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3485 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-11 19:08:48 +00:00
Lutz Mueller
1d0a457331 2001-12-11 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* lowlevel.c: Clean up.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3484 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-11 12:45:50 +00:00
Lutz Mueller
f967e2d00d 2001-12-11 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* camlibs: Remove references to GP_ERROR_IO_TIMEOUT - we use
          GP_ERROR_TIMEOUT instead.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3482 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-11 12:29:56 +00:00
Lutz Mueller
c8dc2897b7 2001-12-11 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* lowlevel.c: Fix bug introduced with last patch.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3478 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-11 10:51:34 +00:00
Johannes Erdfelt
57d62f42cc Null terminate path name correctly
Move colorspace conversion from libgphoto2/gphoto2-file.* to here since
we're the only people to do it


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3476 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-10 00:52:33 +00:00
Johannes Erdfelt
af2999a867 Adding a path with a trailing / confuses the core it seems. Strip it off
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3475 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-09 23:51:58 +00:00
Johannes Erdfelt
1031bc6881 28400 isn't quite a valid speed, supposed to be 38400
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3474 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-09 23:48:04 +00:00
Lutz Mueller
c7edc71ecc 2001-12-09 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* lowlevel.c: Do not read one byte after another - that makes
          debugging output easier to read.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3473 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-09 21:41:15 +00:00
Marcus Meissner
e67157bede CMDID_UPLOAD_IMAGE does not return the image_header as found in the
documentation, but something else, with just the first 8 byte the same.
Added CMDID_GET_IMAGE_HEADER to get the exposure values.
Dump the additional image information into the pnms as comment.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3472 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-09 09:14:11 +00:00
Marcus Meissner
b99f4e1582 Added "l'elegante by DigitalDream" (reported by Michael Menegakis)
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3471 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-09 08:34:57 +00:00
Johannes Erdfelt
19f1cbd036 Clean up some thumbnail stuff
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3469 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-09 05:11:48 +00:00
Johannes Erdfelt
b6f5a9158b Return correct error code if we fail the beacon phase
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3468 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-09 04:28:10 +00:00
Johannes Erdfelt
d95f77fb0b Remove old workarounds
Check trailing / seperately
printf -> fprintf(stderr
Add trailing / to directory name


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3467 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-09 04:27:21 +00:00
Johannes Erdfelt
9c901dc4d1 Zero out command structure
Check result when fetching file data


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3466 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-09 04:25:21 +00:00
Johannes Erdfelt
a31368f672 unknown is actually version and 3 reserved bytes
status is called result in the specs


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3465 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-09 04:24:23 +00:00
Johannes Erdfelt
622b84490f Don't use C structures for beacon's anymore. Pack them by hand to ensure
sizes are correct, we don't get padding and endianess is handled correctly

Retry a couple of times if necessary

Set correct delay's which work much better

Simplify some poll logic

Correctly check checksums and status fields in beacon's


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3464 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-09 04:01:46 +00:00
Marcus Meissner
6a6b4c68f1 * camlibs/stv0680: Added 'capture-image'. Tried implementing a
different 'capture-preview' method, but failed (yet).
          Merged image enhancements from pencam-0.42 (sharpening, white
          balancing, gamma enhancement). Not really perfect yet, but the
          images do look better already.
          Added 'get-raw-image', for getting just the (old) only bayer
          processed images.
        * camlibs/stv0680/sharpen.[ch]: GIMP Sharpening Plugin.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3459 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-08 16:40:38 +00:00
Marcus Meissner
54afe4443d * camlibs/stv0680/stv0680.html: Removed, replaced by pdf below.
* camlibs/stv0680/680_commands_and_communication_sdk.pdf.gz:
          Extract from STV 680 SDK describing USB command set. Supplied
          by STM for 'interested developers'. Not officially supported.
        * camlibs/stv0680/CREDITS, README.pdf: Adjusted.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3457 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-08 08:38:34 +00:00
Lutz Mueller
0947dcd160 2001-12-07 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* configure.in: Remove dotlib hack
        * camlibs: Do it "the right way"


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3422 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-07 00:21:17 +00:00
Hubert Figuiere
d0f9b61675 * library.c: Definitive fix for bug 438155.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3416 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-06 21:14:09 +00:00
Fredrik
93edef30da Re-worked file deleting routines after reports it didn't work. Now it works
for me at least.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3414 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-06 08:45:42 +00:00
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
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