* camlibs/panasonic/coolshot/README
camlibs/panasonic/coolshot/coolshot.c
camlibs/panasonic/coolshot/library.c: changed thumbnail code to
properly decode thumbnails after discovering they are encoded in
YUV 4:1:1 format.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2196 67ed7778-7388-44ab-90cf-0a291f65f57c
* camlibs/panasonic/coolshot/coolshot.c
camlibs/panasonic/coolshot/library.c: code cleanup
* camlibs/panasonic/coolshot/README: added TODO list for driver
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2177 67ed7778-7388-44ab-90cf-0a291f65f57c
* camlibs/panasonic/coolshot/coolshot.c: Use gp_list_populate instead
of accessing the filesystem. The filesystem is clever enough to do
that itself.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2169 67ed7778-7388-44ab-90cf-0a291f65f57c
* camlibs/casio: New
* configure.in: Add casio. Like the polaroid and samsung, those drivers
DON'T WORK and therefore are signed as EXPERIMENTAL. I add those only
to give you a basic framework on which to build.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2161 67ed7778-7388-44ab-90cf-0a291f65f57c
* camlibs/samsung/Makefile.am:
* camlibs/samsung/samsung.c: New but untested. (Just ported it from
old gphoto).
* configure.in: Added samsung
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2155 67ed7778-7388-44ab-90cf-0a291f65f57c
* camlibs/agfa-cl18/agfa.c: Remove gp_port_usb_find_device, that's in
libgphoto2/camera.c now.
* camlibs/canon/canon.c: Move the declaration of the models struct here. * camlibs/canon/canon.h: The models struct is no longer needed here.
* camlibs/psa50.[c,h]: cs->gdev is now camera->port.
* camlibs/canon/serial.[c,h]
(canon_usb_probe): Removed. Now in libgphoto2/camera.c
(canon_serial_init): Don't create/free a port here. Use camera->port.
(canon_serial_close): Removed. No longer needed. Handled by libgphoto2
(canon_serial_restore): Same here.
* digita/commands.c: Indicate usb product/vendor in the abilities
so that gphoto2 can autodetect. Use camera->port.
* camlibs/digita/serial.c: Don't create/free the port here. Handled by
libgphoto2
* camlibs/digita/usb.c: No probe, no port creation (->libgphoto2)
* camlibs/directory/directory.c: Declare lots of functions static.
* camlibs/kodak/dc240/library.[c,h]:
* camlibs/kodak/dc240/dc240.[c,h]: Use camera->port
* camlibs/konica/library.c: No gp_port_usb_find_device here.
* libgphoto2/camera.c (gp_camera_init): In case of USB,
find the device. That removes redundancy in the camera libraries.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2151 67ed7778-7388-44ab-90cf-0a291f65f57c
* camlibs/agfa.c:
* camlibs/commands.c:
* camlibs/commands.h: Use a macro CHECK for most of the simple
error checks. That makes the code much cleaner.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2140 67ed7778-7388-44ab-90cf-0a291f65f57c
* camlibs/barbie/*: Use camera->port and camera->fs.
* camlibs/dimera/dimera3500.c
(populate_filesystem): Removed.
(camera_folder_list_folders): Removed. We don't support folders anyways
(camera_folder_list_files): Renamed to
(file_list_func): Don't access the CameraFilesystem here. Just
populate the list. The CameraFilesystem will get updated by libgphoto2.
(camera_file_get_info): Renamed to
(get_info_func): New
(camera_file_set_info): Removed. Not supported.
(camera_init): Correctly gp_filesystem_set_list_funcs and
gp_filesystem_set_info_funcs so that the CameraFilesystem has full
control over the information
* include/gphoto2-list.h:
* libgphoto2/list.c: (gp_list_populate): New. Please use this
function to populate the list passed to you on file_list_func.
* libgphoto2/filesys.c: Don't remove the dirty flag on folders
on gp_filesystem_append (thanks, Dan!)
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2136 67ed7778-7388-44ab-90cf-0a291f65f57c
* camlibs/template/*: Updated
* include/gphoto2-camera.h: Add a note about c_folder_list_folders and
c_folder_list_files not to be used. Same with [get,set]_info.
* include/gphoto2-filesys.h: Remove an uneeded typedef.
* libgphoto2/filesys.c: Here, too.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2134 67ed7778-7388-44ab-90cf-0a291f65f57c
* gphoto2-library.h: Clean up this file.
* gphoto2-camera.h: We don't need camera_init, camera_abilities, and
camera_id here. That belongs into gphoto2-library.h.
* libgphoto2/camera.c:
* libgphoto2/core.c: Adapt
* camlibs/*: Move camera_init to the bottom of the file. Camera
driver authors, could you please declare the functions above static?
Except camera_id and camera_abilities.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2124 67ed7778-7388-44ab-90cf-0a291f65f57c
* camlibs/sierra/*:
* camlibs/directory/directory.c (camera_folder_list_folders),
(camera_folder_list_files), (camera_file_[get,set]_info): Removed.
Use the camera->fs. Use camera->port.
* camlibs/*: camera->port->* -> camera->port_info->*
* include/gphoto2-camera.h:
* libgphoto2/camera.c: Open the port before accessing a camera,
close it after.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2115 67ed7778-7388-44ab-90cf-0a291f65f57c
Patch from Fabrice Bellet <Fabrice.Bellet@creatis.insa-lyon.fr>:
* camlibs/sierra/library.[c,h]:
* camlibs/sierra/sierra.c: Use the new filesystem to cache file
information and for listing files/folders.
* include/gphoto2-file.h:
* libgphoto2/file.c (gp_file_detect_mime_type),
(gp_file_adjust_name_for_mime_type): New
* libgphoto2/camera.c: list->count = 0;
* libpghoto2/filesys.c (gp_filesystem_number): If this function is
called, scan the whole filesystem.
* tests/test-filesys.c: Test gp_filesystem_get_folder, too.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2102 67ed7778-7388-44ab-90cf-0a291f65f57c
* camlibs/sierra/sierra.c: And correctly use the macros CHECK (won't
stop the camera) and CHECK_STOP (after the connection has been started).
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2093 67ed7778-7388-44ab-90cf-0a291f65f57c
* include/gphoto2-filesys.h:
* libgphoto2/filesys.c: Implement caching for file information.
* tests/test-filesys.c: Test it here.
* camlibs/konica/library.c: Use gp_filesystem_[get,set]_info. This
stuff is really incredibly fast.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2090 67ed7778-7388-44ab-90cf-0a291f65f57c
Daniel Resare <noa@metamatrix.se> suggested using AC_CONFIG_SUBDIRS:
* configure.in: Use AC_CONFIG_SUBDIRS(libgphoto2_port).
* Makefile.am: build.sh isn't needed any more
* INSTALL: Update installation instructions
* doc/Makefile.am: Removed OVERVIEW and NOTES. This should have
happened a long time ago.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2088 67ed7778-7388-44ab-90cf-0a291f65f57c
* include/gphoto2-core.h:
* libgphoto2/core.c (gp_autodetect): Revert an API change I committed
by error. Sorry.
* libgphoto2/camera.c:
* frontends/command-line/main.c: Here too.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2085 67ed7778-7388-44ab-90cf-0a291f65f57c
Suggestions from Fabrice Bellet <Fabrice.Bellet@creatis.insa-lyon.fr>:
* camlibs/sierra/library.c (sierra_change_folder): Just return if we
are already in the requested folder.
(sierra_update_fs_for_folder): Dont jump into the folder twice.
* camlibs/sierra/sierra.c (camera_init): Use camera_start here instead
of reimplementing everything again.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2083 67ed7778-7388-44ab-90cf-0a291f65f57c