* camlibs/agfa-cl18/agfa.c: Use gp_file_* instead of directly
accessing the struct.
* camlibs/barbie/barbie.c: And here.
* camlibs/directory/directory.c: And here.
* camlibs/konica/library.c: And here.
* camlibs/sierra/sierra.c: And here.
* camlibs/panasonic/l859/l859.c: And here.
* camlibs/dimera/dimera3500.c: And here.
* frontends/command-line/main.c: And here.
* libgphoto2/camera.c: And here.
* libgphoto2/file.c:
* include/gphoto2-file.h: Introduce some more gp_file_* functions.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2059 67ed7778-7388-44ab-90cf-0a291f65f57c
that issued warnings and broke the build...
* camlibs/kodak/dc240/library.c (dc240_wait_for_busy_completion):
cast a const to a char to avoid a serious warning on Solaris sparc
gcc. Fix bug #454183
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2049 67ed7778-7388-44ab-90cf-0a291f65f57c
* Could not retrieve movies from the cameras (got the image having
the same base name instead). Same behaviour for movie thumbnails,
* After correction of problem 1, got movie thumbnails that do
not fit the JPEG format.
* After correction of problem 1 & 2, part of some movie thumbnails had a
very bad quality! The phenomenon was aleatory.
Following corrections were made :
* Rewrite the sierra_read_packet routine : now it downloads movie thumbnails
correctly (third bug).
* Correction in the sierra_capture routine to make it generic regarding name
of the folder the captured image is stored in.
* Move update_fs_for_folder and sierra_change_folder from sierra.c
to here.
* Plus various other changes to try to be consistent between the
different routines (when do we need to retry, error codes).
Still work to be done there.
* Add gp_filesystem_delete_all at the beginning of update_fs_for_folder.
* Start documenting routines.
Tests :
* Stuff was tested with an Epson 3000z (both USB and serial link).
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2030 67ed7778-7388-44ab-90cf-0a291f65f57c
* Could not retrieve movies from the cameras (got the image having
the same base name instead). Same behaviour for movie thumbnails.
* After correction of problem 1, got movie thumbnails that do
not fit the JPEG format.
* After correction of problem 1 & 2, part of some movie thumbnails had a
very bad quality! The phenomenon was aleatory.
Following corrections were made :
* Add call to sierra_change_folder in camera_file_get_generic,
camera_file_get_info, camera_folder_delete_all, camera_file_delete.
Remove sierra_folder_set from camera_start (then delete the routine
since it is not used anymore).
* Correct camera_file_get_generic to handle movie thumbnails
correctly.
* Correction in camera_file_get_generic regarding the properties
(type and name) of the return file : it is always jpeg for thumbnails.
* Move update_fs_for_folder and sierra_change_folder to library.c.
* Remove formatting of the filesystem from camera_folder_delete_all : it
is now performed by sierra_update_fs_for_folder.
* Add a camera specific error code GP_ERROR_BAD_CONDITION which is raised
when a picture cannot be captured (for instance if the lens protection was
not removed, or the memory card is full).
* Start documenting routines.
Tests :
* Stuff was tested with an Epson 3000z (both USB and serial link).
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2029 67ed7778-7388-44ab-90cf-0a291f65f57c
* Could not retrieve movies from the cameras (got the image having
the same base name instead). Same behaviour for movie thumbnails,
* After correction of problem 1, got movie thumbnails that do
not fit the JPEG format.
* After correction of problem 1 & 2, part of some movie thumbnails had a
very bad quality! The phenomenon was aleatory.
In camlibs/sierra/library.c,h :
* Rewrite the sierra_read_packet routine : now it downloads movie thumbnails
correctly (third bug).
* Correction in the sierra_capture routine to make it generic regarding name
of the folder the captured image is stored in.
* Move update_fs_for_folder and sierra_change_folder from sierra.c
to here.
* Plus various other minor changes to try to be consistent between the
different routines (when do we need to retry, error codes).
Still work to be done there.
* Add gp_filesystem_delete_all at the beginning of update_fs_for_folder.
* Start documenting routines.
In camlibs/sierra/sierra.c :
* Add call to sierra_change_folder in camera_file_get_generic,
camera_file_get_info, camera_folder_delete_all, camera_file_delete.
Remove sierra_folder_set from camera_start (then delete the routine
since it is not used anymore).
* Correct camera_file_get_generic to handle movie thumbnails
correctly.
* Correction in camera_file_get_generic regarding the properties
(type and name) of the return file : it is always jpeg for thumbnails.
* Move update_fs_for_folder and sierra_change_folder to library.c.
* Remove formatting of the filesystem from camera_folder_delete_all : it
is now performed by sierra_update_fs_for_folder.
* Add a camera specific error code GP_ERROR_BAD_CONDITION which is raised
when a picture cannot be captured (for instance if the lens protection was
not removed, or the memory card is full).
* Start documenting routines.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2028 67ed7778-7388-44ab-90cf-0a291f65f57c
* doc/OVERVIEW: Cruft, not up to date, incorrect. Removed.
* doc/NOTES: Redundant. Removed.
* libgphoto2/camera.c: Be nice to frontend-writers, call gp_init if
it hasn't been called yet on gp_camera_new.
* libgphoto2/core.c: Same here with gp_autodetect and gp_camera_count.
* include/gphoto2-core.h: Kill compile warning
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2025 67ed7778-7388-44ab-90cf-0a291f65f57c
* tests/test-filesys.c: New
* tests/Makefile.am: Compile test-filesys.c
* libgphoto2/filesys.c: Several bugfixes - there are still bugs in
there.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2014 67ed7778-7388-44ab-90cf-0a291f65f57c
* README: Add notice about USB Mass Storage cameras.
* include/*:
* libgphoto2/*: Major cleanup - add licence notice to begin of each
file, remove unused files/functions, ...
* camlibs/konica/Makefile.am: There's no ChangeLog here...
* tests/test-gphoto2.c: Adjust headers
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2003 67ed7778-7388-44ab-90cf-0a291f65f57c
* include/gphoto2-camera.h:
* include/gphoto2-file.h:
* include/gphoto2-widget.h: Sort some stuff, put in LGPL notice.
* libgphoto2/widget.c: Hide CameraWidget internals here. No need to
publish all that stuff.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2002 67ed7778-7388-44ab-90cf-0a291f65f57c
* include/gphoto2-datatypes.h: Move the declaration of the lists to ...
* include/gphoto2-lists.h: ... here. This is a first step towards
cleaning up the include-mess. Realized that CameraListType isn't
needed at all - removed.
* include/gphoto2-filesys.h: Hide the actual contents of
the CameraFilesystem ...
* libgphoto2/filesys.c ... here. The normal user doesn't need to
know what's inside.
* libgphoto2/core.c:
* libgphoto2/lists.c:
* camlibs/*: Reflect above changes
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2001 67ed7778-7388-44ab-90cf-0a291f65f57c
* frontents/Makefile.am: Remove libpghoto2_frontend from SUBDIRS.
* frontents/gtk/*: Removed those ancient files. For GUI frontends,
refer to gtkam or GnoCam. They are distributed separately.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1997 67ed7778-7388-44ab-90cf-0a291f65f57c
It adds code in configure.in to detect when '.libs' is not detected
and in this case defined a variable "dotlibs" which is then
substitued in all Makefile.in. This fix a build problem with
newer libtool (1.4)
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1993 67ed7778-7388-44ab-90cf-0a291f65f57c