Commit Graph

151 Commits

Author SHA1 Message Date
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
Lutz Mueller
1a857eec11 2001-08-26 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* camlibs/dimera/dimera3500.c: explicitly set the conversion method
        to GP_FILE_CONVERSION_METHOD_CHUCK.
        * camlibs/digita/digita.c: Move the conversion raw -> ppm to ...
        * include/gphoto2-file.h:
        * libgphoto2/file.c: ... here.
        * include/gphoto2-filesystem.h:
        * libgphoto2/filesys.c: Implement "dirty" folders.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2080 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-08-26 16:06:41 +00:00
Lutz Mueller
506d0b6591 2001-08-26 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* camlibs/dimera3500.c: Move the raw->pnm conversion ...
        * include/gphoto2-file.h:
        * libgphto2/file.c: ... here. Now, other camera drivers can use this,
        too.
        * include/gphoto2-core.c:
        * libgphoto2/core.c: Small change to make the API consistent.
        * frontends/command-line/main.c: Add possibility for download of raw
        data.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2077 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-08-26 10:42:54 +00:00
Lutz Mueller
3d950c6be6 2001-08-25 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* 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
2001-08-25 18:14:25 +00:00
Lutz Mueller
dd9fb9311a 2001-08-24 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* 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
2001-08-24 21:23:12 +00:00
Lutz Mueller
6e16accf87 2001-08-24 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* include/gphoto2-abilities-list.h: Make gp_abilities_list_new
        return an error code. Introduce gp_abilities_list_sort and
        gp_abilities_list_count.
        * libgphoto2/abilities-list.c: See above.
        * libgphoto2/core.c: Sorting code now is in abilibies-list.
        * libgphoto2/file.c: "image/x-png" -> "image/png"


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2067 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-08-24 17:42:02 +00:00
Lutz Mueller
3e2bbb93b9 2001-08-24 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* 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
2001-08-23 12:02:20 +00:00
Lutz Mueller
bca686fbfd 2001-08-24 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* include/gphoto2-file.h: Make gp_file_new return an error code.
        * */*: Adjust everything for above change.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2054 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-08-23 08:59:22 +00:00
Lutz Mueller
abe27e1c98 2001-08-22 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* */*: Small parameter changes to make gphoto2 API more consistent.
        More to follow.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2046 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-08-22 18:09:42 +00:00
Lutz Mueller
5925f61737 2001-08-20 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* doc/OVERVIEW: Cruft, not up to date, incorrect. Removed.
        * doc/NOTES: Redundant. Removed.
        * libgphoto2/camera.c: Be nice to frontend-writers, call gp_init if
        it hasn't been called yet on gp_camera_new.
        * libgphoto2/core.c: Same here with gp_autodetect and gp_camera_count.
        * include/gphoto2-core.h: Kill compile warning


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2025 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-08-20 15:59:19 +00:00
Lutz Mueller
a8d8eb4870 2001-08-19 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* configure.in: -Wmissing-prototypes -Wmissing-declarations
        * camlibs/agfa-cl18/commands.c:
        * camlibs/agfa-cl18/usb.c:
        * frontends/command-line/foreach.c:
        * frontends/command-line/interface.c:
        * frontends/command-line/main.c:
        * frontends/command-line/options.c:
        * frontends/command-line/range.c:
        * frontends/command-line/shell.h:
        * include/gphoto2-file.h:
        * libgphoto2/file.c: First step towards a compilation with -Werror


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2017 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-08-19 21:38:48 +00:00
Lutz Mueller
ce9063beb2 2001-08-19 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* configure.in: Don't generate camlibs/template/Makefile
        * libgphoto2/filesys.c:
        * include/gphoto2-filesys.h (gp_filesystem_delete_all): New


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2013 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-08-19 13:00:44 +00:00
Lutz Mueller
7cea530666 2001-08-19 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* include/gphoto2-filesys.h:
        * libgphoto2/filesys.c (gp_filesystem_get_folder): New
        * libgphoto2/widget.c (gp_widget_get_parent): Corrected typo


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2010 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-08-19 12:07:16 +00:00
Lutz Mueller
332a78a0e2 2001-08-18 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* include/gphoto2-widget.h:
        * libgphoto2/widget.c (gp_widget_get_parent): New function


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2006 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-08-18 16:52:56 +00:00
Lutz Mueller
ff4be46cec 2001-08-18 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* include/Makefile.am: Oops, add gphoto2-result.h.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2005 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-08-18 16:47:43 +00:00
Lutz Mueller
6b2e913e1e 2001-08-18 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* 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
2001-08-18 14:39:12 +00:00
Lutz Mueller
5e52f2dbab 2001-08-17 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* include/gphoto2-camera.h:
        * include/gphoto2-file.h:
        * include/gphoto2-widget.h: Sort some stuff, put in LGPL notice.
        * libgphoto2/widget.c: Hide CameraWidget internals here. No need to
        publish all that stuff.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2002 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-08-18 01:07:46 +00:00
Lutz Mueller
39657609dd 2001-08-17 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* 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
2001-08-18 00:03:06 +00:00
Lutz Mueller
88761a470c 2001-08-08 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* camlibs/sierra/library.[c,h]: (do_capture): Return the right location
        of the picture (on my camera, it is in /DCIM/100OLYMP)
        (sierra_file_count): Move that function into ...
        * camlibs/sierra/sierra.c: (update_fs_for_folder): New. Check the
        contents of the camera once at the beginning (init), then don't access
        the card anymore.
        (camera_init): Populate the filesystem
        (camera_folder_list_files): Use gp_filesystem_list_files
        (camera_folder_list_folders): Use gp_filesystem_list_folders
        (camera_file_get_info): The thumbnails aren't in quicktime format
        (camera_capture): Add the picture to the filesystem
        * include/gphoto2-filesys.h:
        * libgphoto2/filesys.c: (gp_filesystem_append): Allow filename == NULL
        for appending just folders
        (gp_filesystem_dump): New
        (gp_filesystem_list_files): New
        (gp_filesystem_list_folders): New


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1973 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-08-08 19:48:43 +00:00
Scott Fritzinger
b70083145d added widget name
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1804 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-03-30 18:18:27 +00:00
Scott Fritzinger
479f3eba0e added gp_autodetect to the core
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1801 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-03-28 18:01:54 +00:00
Lutz Mueller
48dbaf845d Added some information to some widgets.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1776 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-03-19 16:06:19 +00:00
Lutz Mueller
a194588765 Documented widget.c. Changed naming/parameters/return values of some
functions there to be consistent.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1770 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-03-19 10:48:44 +00:00
Lutz Mueller
f384e17c71 Changed some "char *" to "const char *".
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1734 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-03-13 11:47:41 +00:00
Scott Fritzinger
73ea02062f finished updating backend API. fixed camera_capture hack
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1727 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-03-12 18:54:40 +00:00
Lutz Mueller
9105dd3c7f Renamed some functions in gphoto2-camera.h.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1697 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-03-09 22:57:18 +00:00
Lutz Mueller
624c7e3164 Implemented file_info_set for directory.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1692 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-03-08 18:07:51 +00:00
Lutz Mueller
3337453246 GP_FOLDER_OPERATION_PUT_FILE instead of simply GP_FOLDER_OPERATION_PUT. It could be that we find cameras that support remote creation of folders.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1690 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-03-08 14:03:27 +00:00
Lutz Mueller
8e4f83c3fb gphoto2-port.h is in gphoto2-port.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1688 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-03-08 11:35:39 +00:00
Lutz Mueller
c976213d13 Ifdef'd out not compiling code. Introduced abilities->file_operations and abilities->folder_operations. Renamed gp_file_delete_all in gp_folder_delete_all. Other clean up.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1687 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-03-08 11:14:22 +00:00
Scott Fritzinger
3c5e1fd9d7 changed GP_CAMERA_FILE_* to just GP_FILE_*
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1682 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-03-07 17:33:07 +00:00
Lutz Mueller
58e132fe20 Added CameraConfigType: GP_CONFIG_CAMERA, GP_CONFIG_FOLDER, GP_CONFIG_FILE.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1645 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-03-03 15:07:15 +00:00