Commit Graph

182 Commits

Author SHA1 Message Date
Lutz Mueller
2f3fa5134d 2001-10-17 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* 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
2001-10-16 22:38:58 +00:00
Lutz Mueller
cc4880ad35 2001-10-17 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* libgphoto2/gphoto2-camera.[c,h]: Documented


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2566 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-16 20:40:40 +00:00
Lutz Mueller
605b294811 More DEPRECATED stuff...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2554 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-16 17:41:24 +00:00
Lutz Mueller
2ae7089818 2001-10-16 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* frontends/command-line/main.c: Use gp_camera_set_abilities.
        * include/gphoto2-camera.h:
        * libgphoto2/camera.c:Introduce gp_camera_[set,get]_abilities.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2552 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-16 17:30:13 +00:00
Lutz Mueller
7875bbf172 2001-10-16 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* libgphoto2/camera.c:
        * camlibs/konica/library.c:
        * camlibs/kodak/dc240/dc240.c:
        * camlibs/sierra: GP_ERROR_IO_UNKNOWN_PORT -> GP_ERROR_UNKNOWN_PORT
        * frontends/command-line: Kill warnings
        * configure.in: There are now some header files in
          libgphoto2_port/libgphoto2_port
        * include/gphoto2-camera.h: Use the new GPPort and GPPortInfo


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2539 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-16 15:12:31 +00:00
Lutz Mueller
108c192d6e Use $(includedir)
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2534 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-16 10:14:55 +00:00
Lutz Mueller
a225b0b1c7 2001-10-15 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* libgphoto2/gphoto2-debug.[c,h]: Documented.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2524 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-15 14:49:00 +00:00
Lutz Mueller
6a3d6413b8 2001-10-14 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* include/gphoto2-library.h: Moved to ...
        * libgphoto2/gphoto2-libary.h: ... here.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2520 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-14 20:05:52 +00:00
Lutz Mueller
61d90857cf 2001-10-14 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* libgphoto2/gphoto2-result.[c,h]: Documented.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2513 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-14 17:42:02 +00:00
Lutz Mueller
bf92a9a8b3 2001-10-14 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* libgphoto2/gphoto2-list.[c,h]: Documented.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2508 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-14 16:00:54 +00:00
Lutz Mueller
30eb62723e 2001-10-12 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* include
        * libgphoto2: More renaming in order to make gtk-doc happy.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2499 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-12 14:38:32 +00:00
Lutz Mueller
02fb0e6b48 2001-10-12 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* include/gphoto2-widget.h
        * include/gphoto2-filesys.h: Moved to ...
        * libgphoto2/gphoto2-widget.h
        * libgphoto2/gphoto2-filesys.h: ... here.
        * libgphoto2/widget.c
        * libgphoto2/filesys.c: Moved to ...
        * libgphoto2/gphoto2-widget.c
        * libgphoto2/gphoto2-widget.h: ... here.
        * include/Makefile.am
        * libgphoto2/Makefile.am: Updated.
        * camlibs/.../Makefile.am: Updated to reflect changes above


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2496 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-12 10:59:00 +00:00
Lutz Mueller
f6ced7cf4e 2001-10-11 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* camlibs/canon/psa50.c
        * camlibs/dimera/dimera3500.c:
        * camlibs/kodak/dc120/library.c:
        * camlibs/kodak/dc240/library.c:
        * camlibs/kodak/dc3200/library.c:
        * camlibs/panasonic/dc1000.c:
        * camlibs/panasonic/dc1580.c:
        * camlibs/panasonic/l859/l859.c:
        * camlibs/sierra/library.c:
        * frontends/command-line/interface.c: Unify percentage handling and
        define 0.0 <= percentage <= 1.0.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2487 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-11 22:01:25 +00:00
Lutz Mueller
43be9184ca 2001-10-11 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* include/gphoto2-widget.h
        * libgphoto2/exif.[c,h]
        * libgphoto2/widget.c: Fix stuff gtk-doc was complaining about.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2479 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-11 13:00:20 +00:00
Lutz Mueller
f630cceb1b 2001-10-09 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* camlibs/casio/casio-qv.c: On capture, append the file to the
          filesystem
        * camlibs/polaroid/pdc640.c: Here, too.
        * include/gphoto2-camera.h: Add some more warnings
        * libgphoto2/filesys.c:
        * include/gphoto2-filesys.h: We don't need to expose
          gp_filesystem_folder_number, that doesn't make sense


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2464 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-09 17:26:07 +00:00
Lutz Mueller
555b67ddb6 2001-10-09 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* camlibs/agfa/agfa.c: delete_file_func, get_file_func
        * camlibs/canon/canon.c: Add warning that upload and deletion is
          broken
        * camlibs/jd350e/jd350e.c: Tiny update
        * camlibs/kodak/dc120/dc120.c: folder_list_func, file_list_func,
          get_file_func, delete_file_func
        * camlibs/kodak/dc240.c: Add warning that changes have to be made
        * camlibs/konica/library.c: delete_all_func, delete_file_func
        * camlibs/minolta/dimagev/dimagev.c: delete_file_func, put_file_func,
        * camlibs/panasonic/dc1000.c: file_list_func, get_file_func,
          put_file_func, delete_file_func
        * camlibs/panasonic/dc1580.c: get_file_func, put_file_func,
          delete_file_func
        * camlibs/panasonic/l859.c: delete_file_func, delete_all_func
        * camlibs/polaroid/pdc320.c: get_file_func, delete_all_func
        * camlibs/polaroid/pdc640.c: get_file_func, delete_file_func
        * camlibs/sierra/library.c:
        * camlibs/sierra/sierra.c: delete_all_func, delete_file_func
        * camlibs/sonydscf1/sonydscf1.c: delete_file_func
        * camlibs/sonydscf55/sonydscf55.c: Tiny update
        * camlibs/stv0680/stv0680.c: Tiny update
        * frontens/command-line/interface.c: Don't show "" status and 0.0
          progress
        * libgphoto2/camera.c:
        * include/gphoto2-camera.h: Remove put_file, delete_all and delete -
          this should all be done using the filesystem. In the future,
          file_get and the listing functions will also disappear.
        * include/gphoto2-filesys.h:
        * libgphoto2/filesys.c: Add deletion and upload.
        * libgphoto2/jpeg.c: Kill unused variable
        * tests/test-filesys.c: Update


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2462 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-09 16:25:04 +00:00
Lutz Mueller
648a547376 2001-10-08 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* include/gphoto2-frontend.h
        * libgphoto2/frontend.c: Removed
        * command-line
        * include/Makefile.am
        * libgphoto2: Remove references to above


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2445 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-08 10:16:52 +00:00
Lutz Mueller
c6cbeb2bbb 2001-10-08 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* include/gphoto2-[camera,frontend].h
        * libgphoto2/[camera,frontend].c: gp_frontend_message ->
          gp_camera_message
        * camlibs: Reflect above


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2440 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-08 09:46:32 +00:00
Lutz Mueller
27c1b166f9 2001-10-08 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* include/gphoto2-frontend.h
        * libgphoto2/frontend.c
        * camlibs: gp_frontend_progress -> gp_camera_progress,
        gp_frontend_status -> gp_camera_status


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2436 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-08 08:18:30 +00:00
Lutz Mueller
b986bf57d4 2001-10-08 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* libgphoto2/camera.c
        * include/gphoto2-camera.h (gp_camera_status*), (gp_camera_progress*):
        New


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2431 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-08 07:15:27 +00:00
Lutz Mueller
8b17c13639 2001-10-08 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* include/gphoto2-frontend.h
        * libgphoto2/frontend.c: Remove gp_frontend_prompt. This and the other
        gp_frontend functions will reappear some day in gphoto2-camera.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2428 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-08 00:54:30 +00:00
Lutz Mueller
44dadb9e15 Added a const
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2423 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-07 13:23:23 +00:00
Lutz Mueller
b4c8d63d20 GP_FILE_OPERATION_RAW
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2413 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-07 08:28:10 +00:00
Lutz Mueller
946329c77b 2001-10-06 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* include/gphoto2-list.h
        * libgphoto2/list.c (gp_list_ref), (gp_list_unref): New


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2407 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-06 20:27:41 +00:00
Lutz Mueller
2957bc9ed5 2001-10-06 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* include/gphoto2-debug.h
        * libgphoto2/debug.c (gp_debug_history_get_size): New


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2404 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-06 16:25:59 +00:00
Lutz Mueller
2ba2a66a9e 2001-10-04 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* include/gphoto2-debug.h: #include <gphoto2-port-debug.h>
        * include/gphoto2-result.h: #include <gphoto2-port-result.h>
        * libgphoto2/debug.c: #include <gphoto2-port.h>


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2380 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-04 21:20:53 +00:00
Lutz Mueller
4afcf0d3f1 2001-10-04 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* camlibs/konica/library.c: const
        * frontents/command-line/main.c: Print out last debugging messages
        on error
        * include/gphoto2-debug.h:
        * libgphoto2/debug.c: Remember history
        * include/gphoto2-result.h:
        * libgphoto2/result.c: Revert the result_as_description thing


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2375 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-04 16:11:43 +00:00
Lutz Mueller
e6c1c0aea9 2001-10-04 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* libgphoto2/result.c:
        * libgphoto2/camera.c:
        * include/gphoto2-camera.h:
        * include/gphoto2-result.h: Put in some consts.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2372 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-04 10:13:37 +00:00
Lutz Mueller
75a62a299f 2001-10-03 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* frontends/command-line/main.c: Print out additional information
        on error.
        * include/gphoto2-result.h:
        * libgphoto2/result.c (gp_result_as_description): New.

CVS


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2366 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-03 14:48:08 +00:00
Lutz Mueller
91e5af5a5d 2001-09-22 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* 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
2001-09-22 10:05:09 +00:00
Lutz Mueller
75f1a1c9f9 2001-09-22 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
Patch from Carsten Pfeiffer <carpdjih@sp.zrz.tu-berlin.de>

        * camlibs/sonydscf1.sonydscf1.c:
        * include/gphoto2-core.h:
        * include/gphoto2-file.h:
        * include/gphoto2-filesys.h:
        * libgphoto2/core.c:
        * libgphoto2/file.c:
        * libgphoto2/filesys.c: char *whatever -> const char *whatever.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2295 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-22 07:55:00 +00:00
Lutz Mueller
24b4cb93b5 2001-09-10 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* libgphoto2/camera.c (gp_camera_list_folders), (gp_camera_list_files):         Return the result instead of GP_OK if anything goes wrong
        * libgphoto2/filesys.c: Check if path to folder is absolute. If not,
        return GP_ERROR_PATH_NOT_ABSOLUTE.
        * libgphoto2/result.c:
        * include/gphoto2-result.h: GP_ERROR_PATH_NOT_ABSOLUTE: New error.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2221 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-10 15:40:07 +00:00
Lutz Mueller
055f79b2be 2001-09-02 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* include/gphoto2-filesys.h:
        * libgphoto2/filesys.c: Cache files, too.
        * libgphoto2/camera.c: Use cached files if exist.
        * camlibs/konica/library.c:
        * camlibs/sierra/sierra.c: Cache files in the filesystem.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2175 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-02 18:02:16 +00:00
Lutz Mueller
06c627f6f5 2001-08-31 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* configure.in: Added polaroid.
        * camlibs/samsung/samsung.c: Added GP_DRIVER_STATUS_EXPERIMENTAL;
        * frontends/command-line/main.c: print the EXPERIMENTAL/TESTING flag
        * include/gphoto2-abilities.h:
        * libgphoto2/abilities.c: Added CameraDriverStatus
        * camlibs/polaroid/pdc320.c:
        * camlibs/polaroid/Makefile.am: New


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2156 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-08-31 20:49:33 +00:00
Dan Fandrich
eb2a7f811c Eliminated GP_MIME_PNM and added GP_MIME_PGM and GP_MIME_AVI
Changed the PGM and PPM MIME types with pseudo-standards beginning with x-


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2149 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-08-31 01:37:23 +00:00
Lutz Mueller
2e2f938991 2001-08-29 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* 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
2001-08-30 10:47:51 +00:00
Lutz Mueller
2b3ff3a07c Cosmetic change.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2135 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-08-30 09:39:17 +00:00
Lutz Mueller
c6577b14dc 2001-08-29 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* 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
2001-08-30 09:32:58 +00:00
Lutz Mueller
c06b27b536 2001-08-29 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* include/gphotoos2.h:
        * include/gphoto2-portability-os2.h: Removed. Contents are now ...
        * include/gphoto2.h: ... here.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2126 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-08-29 18:12:33 +00:00
Lutz Mueller
97b7ab3706 char * -> const char *
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2125 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-08-29 18:00:51 +00:00
Lutz Mueller
90d8c3325c 2001-08-29 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* 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
2001-08-29 17:53:03 +00:00
Lutz Mueller
205d6f1081 2001-08-29 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* 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
2001-08-29 10:09:57 +00:00
Hubert Figuiere
f0096aa835 * include/gphoto2-file.h (GP_MIME_BMP): added this mime type.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2112 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-08-28 18:06:38 +00:00
Lutz Mueller
910bd5293b 2001-08-29 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* include/gphoto2-file.h: Add a note about the crappy API
        * include/gphoto2-abilities-list.h:
        * libgphoto2/abilities-list.c:
        * libgphoto2/core.c: Don't access the CameraAbilitiesList directly
        any more.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2107 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-08-28 07:22:43 +00:00
Lutz Mueller
8388607ec8 2001-08-27 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
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
2001-08-27 21:42:13 +00:00
Lutz Mueller
db161947e9 2001-08-27 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* 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
2001-08-27 17:13:55 +00:00
Lutz Mueller
90daea45ad 2001-08-27 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
Suggestion from Ilya Konstantinov <gphoto-devel@future.galanet.net>:

        * include/gphoto2-camera.h:
        * libgphoto2/camera.c (gp_camera_[get,set]_port_name) and
        (gp_camera_[get,set]_port_path): New
        * frontends/command-line/main.c: Call those functions.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2091 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-08-27 14:48:56 +00:00
Lutz Mueller
f5fd86d5e3 2001-08-27 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* 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
2001-08-27 11:04:29 +00:00
Lutz Mueller
8709af2d56 2001-08-27 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* 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
2001-08-27 07:58:03 +00:00
Lutz Mueller
104a99d9c7 2001-08-26 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* include/gphoto2-camera.h:
        * libgphoto2/camera.c: Add gp_camera_[set,get]_model. Please use
        those functions instead of directly accessing camera->model.
        * libgphoto2/core.c: On exit, set glob_abilities_list = NULL
        * tests/test-gphoto2.c: Add lots of documentation.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2081 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-08-26 17:47:02 +00:00