* README: no glib-dependency any more
* camlibs: gp_abilities_new doesn't exist any more
* doc/api: Even more documentation
* libgphoto2/gphoto2-abiltiies.h: Cleaned up.
* libgphoto2/gphoto2-abilities-list.c: Documented
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2569 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
* 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
* include/gphoto2-filesys.h:
* libgphoto2/filesys.c: Cache folders and files, too (that is, only
query them from the camera when needed.
* frontends/command-line/main.c: Don't require a port with
"Directory Browse".
* camlibs/konica/library.c: Use the new functions
* camlibs/directory/directory.[c,h]: Use the filesystem
* tests/test-filesys.c: Demonstrate the use of the new functions.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2095 67ed7778-7388-44ab-90cf-0a291f65f57c
* include/gphoto2-file.h:
* include/gphoto2-library.h:
* include/gphoto2-camera.h: Support for raw data.
* libpghoto2/file.c: Adjust to above changes.
* libgphoto2/frontend.c: Kill a warning.
* libgphoto2/libgphoto-2.0.pc.in: CFlags -> Cflags
* libgphoto2/widget.c: Include gphoto2-result.h instead of gphoto2.h
* camlibs/*: Prepare support for download of raw data. Remove lots of
redundant code (people just copied & pasted the code for file_get
and file_get_preview...). I hope everything works as it did before.
* frontend/command-line/*: Prepare support for download of raw data
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2072 67ed7778-7388-44ab-90cf-0a291f65f57c
* libgphoto2/abilities.c:
* include/gphoto2-abilities.h: Let gp_abilities_new return an error
code. This was the last one.
* camlibs/*: Adjust to above change.
* camlibs/canon/canon.c: #if 0 some code to kill some warnings
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2068 67ed7778-7388-44ab-90cf-0a291f65f57c
* 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
* 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
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