- get rid of warnings
- add a few command line parameters
- support multiple output formats:
CSV, flat text list, text list with headers, experimental XML,
or just the number of supported cameras.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@8092 67ed7778-7388-44ab-90cf-0a291f65f57c
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/jamcam/.cvsignore:
* camlibs/sonydscf55/.cvsignore: New
* include/gphoto2-debug.h:
* libgphoto2/debug.c: Debugging stuff can be found here.
* frontends/command-line/main.c: Use gp_debug_set_level and don't
use gp_init any more (this is done automatically).
* include/Makefile.am:
* libgphoto2/Makefile.am: Add the debugging files
* include/gphoto2-core.h: Remove debugging and initialization stuff
* libgphoto2/core.c: Make gp_init a static function.
* (...) Various smaller changes regarding gp_init and gp_debug_*.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2301 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
* 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-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
* 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