Finished the GPContext stuff - changes all over the place. Basically,
gp_[file,camera]_progress has been replaced by gp_context_progress_*.
Well, we haven't release a gphoto2-2.0 yet, therefore I hope you don't
mind the API change...
* libgphoto2/gphoto2-camera.[c,h]: Added a GPContext parameter to
any function that can possibly communicate with the camera. That
makes every function cancellable (which is good), makes it possible
to report multiple errors during execution of a command, offers
several (nested) progress reports, and many other goodies.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3841 67ed7778-7388-44ab-90cf-0a291f65f57c
* libgphoto2/gphoto2-filesys.[c,h]: Add a GPContext to all functions
that potentially access the camera. This makes cancelling of
all operations possible and improves error reporting.
* tests/test-filesys.c:
* libgphoto2/gphoto2-camera.c:
* camlibs: Adjust to reflect above changes
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3798 67ed7778-7388-44ab-90cf-0a291f65f57c
* camlibs: Instead of camera->port_info->speed, use
settings.serial.speed. That lets us ...
* libgphoto2/gphoto2-camera.[c,h]: ... remove camera->port_info
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2653 67ed7778-7388-44ab-90cf-0a291f65f57c
* 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/minolta/dimagev/dimagev.[c,h]:
Fix compile warnings by declaring some functions static.
Use camera->port and camera->fs.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2458 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-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
* 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
to core dump. It's not freeing a null pointer, since gdb confirms that there
is value there, it just dumps core. I'll deal with this later.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1820 67ed7778-7388-44ab-90cf-0a291f65f57c