Commit Graph

675 Commits

Author SHA1 Message Date
Lutz Mueller
32a00eb456 Nicer summary.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1745 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-03-14 13:54:06 +00:00
Lutz Mueller
faf1b6958f No longer needed.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1743 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-03-14 09:29:02 +00:00
Lutz Mueller
dd13ff1183 Fix -a option. Thanks to Dan Fandrich.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1741 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-03-13 18:48:55 +00:00
Lutz Mueller
ab86310c5f Additional debugging.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1737 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-03-13 18:11:54 +00:00
Lutz Mueller
5f2b8b9c4c Use gp_filesystem to cache filenames.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1736 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-03-13 13:27:10 +00:00
Lutz Mueller
d20d935826 GP_CAPTURE_* -> GP_OPERATION_CAPTURE_*
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1735 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-03-13 11:50:26 +00:00
Lutz Mueller
f384e17c71 Changed some "char *" to "const char *".
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1734 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-03-13 11:47:41 +00:00
Gus Hartmann
3512e66338 Updated the capture routine to simply call the shutter function and
return a filename instead of downloading an image.

Changed all debug messages to priority low, so they actually show up.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1733 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-03-13 08:38:55 +00:00
Gus Hartmann
47c167b5d4 Added declaration for the uploading function.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1732 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-03-13 08:22:02 +00:00
bvl
0b11738ebd bvl: Updated complete OS/2 Make system
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1731 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-03-13 00:51:15 +00:00
bvl
bc4b605e1b bvl: make this library work, cleared the code and fixed a 10 picture bug
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1730 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-03-13 00:48:41 +00:00
Scott Fritzinger
73ea02062f finished updating backend API. fixed camera_capture hack
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1727 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-03-12 18:54:40 +00:00
Lutz Mueller
781e8ce80c Capture support.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1725 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-03-12 13:27:47 +00:00
Lutz Mueller
8f043bd37f Additional debugging.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1724 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-03-12 13:27:00 +00:00
Gus Hartmann
e0783db555 Added some code to implement retries for a few functions by just
recursively calling functions that send a NAK to the first request.
This is gross, but should work well enough.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1721 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-03-12 07:57:11 +00:00
Gus Hartmann
0eda30d7eb Added tags
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1720 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-03-12 07:50:42 +00:00
Gus Hartmann
b240999eb9 Fixed error condition checking to look for negative numbers, eg < GP_OK.
This avoids the positive, non-null values returned by gpio_read and _write.

Eliminated newlines in all calls to gp_debug_printf(), since one is
appended by the frontend anyway.

Assorted other small changes


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1718 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-03-12 06:32:45 +00:00
Gus Hartmann
3d07f40fe7 Changed to more specific error code reporting.
Also changed debug messages to low priority, as high priority seems broken.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1717 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-03-12 06:15:59 +00:00
Gus Hartmann
0fb17ddde7 Started the basis for uploading images. Still having problems getting the
camera to acknowledge the command.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1716 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-03-12 06:15:02 +00:00
Gus Hartmann
20cc748ce9 Changed error codes to be more specific, as per the current API.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1715 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-03-12 06:14:14 +00:00
Gus Hartmann
f7b8cee335 Updated copyright date to reflect work done in the new year.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1714 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-03-12 04:50:24 +00:00
Gus Hartmann
d593707fcd Added upload.c, in the hopes that uploading may work someday.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1713 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-03-12 04:48:57 +00:00
Gus Hartmann
8f72b5507c Updated put_file function to call camera-specific function.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1712 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-03-12 04:48:21 +00:00
Gus Hartmann
f322cf0d93 Fixed delete_all function.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1711 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-03-12 04:45:50 +00:00
Lutz Mueller
97bfdd35ff Fill abilities on camera_init.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1708 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-03-11 23:05:54 +00:00
Gus Hartmann
ae50a1521d Added a skeleton for uploading images.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1707 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-03-11 10:19:57 +00:00
Gus Hartmann
3d96aaee93 News updates.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1706 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-03-11 10:11:34 +00:00
Gus Hartmann
367ab8ffb9 Added a working delete_all function, and the necessary magic to use it.
Cleaned up some stuff in the sumarry section.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1705 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-03-11 10:08:06 +00:00
Gus Hartmann
15240f280b Reomved thumb_ prefix from thumbnail name format, since the frontend was
also prepending it. thumb_thumb_dv0001.ppm looks just a bit funny.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1704 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-03-11 09:34:06 +00:00
Gus Hartmann
556c28fbfc Fixed dimagev_verify_packet() to return GP_ERROR in case a packet fails to
have valid STX and ETX values. This eliminates some spurious error messages.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1703 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-03-11 09:25:03 +00:00
Gus Hartmann
3d6b6a6739 This is a file containing Minolta's last response regarding newer protocols.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1702 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-03-11 08:43:55 +00:00
Donn Morrison
df6d8433b1 fixed unseeable directories/files after reading the microsoft fat
specification white paper


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1701 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-03-11 02:22:30 +00:00
Scott Fritzinger
ac9691dfb0 slowly updating camera libraries to newer API scheme
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1700 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-03-10 20:32:24 +00:00
Lutz Mueller
9105dd3c7f Renamed some functions in gphoto2-camera.h.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1697 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-03-09 22:57:18 +00:00
Lutz Mueller
fd991c04ae Fixed renaming for the directory driver.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1694 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-03-09 01:42:08 +00:00
Lutz Mueller
624c7e3164 Implemented file_info_set for directory.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1692 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-03-08 18:07:51 +00:00
Lutz Mueller
9ee93fdc13 Activated the fallback solution, if camera library doesn't support file_info_get.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1691 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-03-08 14:39:14 +00:00
Lutz Mueller
3337453246 GP_FOLDER_OPERATION_PUT_FILE instead of simply GP_FOLDER_OPERATION_PUT. It could be that we find cameras that support remote creation of folders.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1690 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-03-08 14:03:27 +00:00
Lutz Mueller
8e4f83c3fb gphoto2-port.h is in gphoto2-port.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1688 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-03-08 11:35:39 +00:00
Lutz Mueller
c976213d13 Ifdef'd out not compiling code. Introduced abilities->file_operations and abilities->folder_operations. Renamed gp_file_delete_all in gp_folder_delete_all. Other clean up.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1687 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-03-08 11:14:22 +00:00
Lutz Mueller
2e7438e9cf Additional sanity check.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1685 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-03-07 23:59:57 +00:00
Philippe Marzouk
c6180fc271 changed to new capture API, still not supported by most canon cameras
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1683 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-03-07 21:38:19 +00:00
Scott Fritzinger
3c5e1fd9d7 changed GP_CAMERA_FILE_* to just GP_FILE_*
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1682 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-03-07 17:33:07 +00:00
Scott Fritzinger
d336ba802d replaced abilities capture with capture_setting
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1681 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-03-07 17:12:34 +00:00
Scott Fritzinger
2937a467fa changed camera_capture API, added camera_file_info, added serial_flush
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1680 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-03-07 17:02:22 +00:00
Lutz Mueller
2bfb803191 Additional debugging stuff.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1663 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-03-05 09:40:50 +00:00
Lutz Mueller
d8043380a3 Applied patch from Gene Cash <gcash@fdn.com>: Declare some internal variables static.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1661 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-03-05 09:10:31 +00:00
Lutz Mueller
b8760f589d Directory Driver can't do upload.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1653 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-03-04 21:28:50 +00:00
Lutz Mueller
5d7e52d134 Additional debugging.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1650 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-03-04 20:34:50 +00:00
Scott Fritzinger
a0014ce954 fixed the build. readded sony dscf1 to build and fixed minor automake build problems with it
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1648 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-03-03 20:18:07 +00:00