Commit Graph

131 Commits

Author SHA1 Message Date
Lutz Mueller
6edd5098ac 2001-09-22 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* libgphoto2/filesys.c: Fix two small bugs.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2303 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-22 10:41:40 +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
Raymond Penners
4e0061a120 Fixes & eliminated compiler warnings
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2298 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-22 09:31:19 +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
89c062b49b 2001-09-22 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
Patch from Ilya Konstantinov <future@shiny.co.il>:

        * camlibs/sierra/sierra.c (get_info_func): Set the filename.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2293 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-22 07:36:22 +00:00
Raymond Penners
f89149e818 Added Sony DSC-F55/MSAC-SR1
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2292 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-21 21:30:11 +00:00
Chris Pinkham
1c52ca63a3 2001-09-18 Chris Pinkham <cpinkham@infi.net>
* camlibs/canon/psa50.c
      camlibs/canon/serial.c
      libgphoto2_port/include/gphoto2-port.h
      libgphoto2_port/libgphoto2_port/gp_port.c
      libgphoto2_port/usb/libusb.c: changed *usb_msg_read* and
      *usb_msg_write* functions to allow passing in of request and
      index values.

    * MAINTAINERS
      configure.in
      camlibs/jamcam/Makefile.am
      camlibs/jamcam/jamcam.c
      camlibs/jamcam/library.c
      camlibs/jamcam/library.h: added camera library for KBGear JamCam v3.0


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2282 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-19 00:56:25 +00:00
Lutz Mueller
0aab0d14ab 2001-09-12 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* libgphoto2/core.c: Add some CHECK_INITs.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2234 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-12 06:34:35 +00:00
Hubert Figuiere
6f0a88afa7 * libgphoto2_port/usb/libusb.c (gp_port_usb_find_device_lib): if
device and vendor IDs are 0, return not found.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2224 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-10 17:00:03 +00:00
Lutz Mueller
2536cce23f 2001-09-10 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* camlibs/kodak/dc240/dc240.c (camera_init): Don't open/close the port.
        This is done by libgphoto2.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2223 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-10 16:40:41 +00:00
Lutz Mueller
9c7eff54fe 2001-09-10 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* libgphoto2/camera.c
        (gp_camera_init): Do a simple CHECK_RESULT_OPEN_CLOSE on the init_func
        (gp_camera_set_port): Set the path if the port is a serial one.
        * camlibs/template/template.c:
        * camlibs/sierra/sierra.c:
        * camlibs/samsung/samsung.c:
        * camlibs/polaroid/pdc700.c:
        * camlibs/polaroid/pdc320.c:
        * camlibs/panasonic/coolshot/coolshot.c:
        * camlibs/konica/library.c:
        * camlibs/dimera/mesalib.c:
        * camlibs/digita/usb.c:
        * camlibs/digita/serial.c:
        * camlibs/casio/casio-qv.c:
        * camlibs/canon/serial.c:
        * camlibs/barbie/barbie.c:
        * camlibs/agfa-cl18/agfa.c: Don't open the port. This is always done
        by libgphoto2.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2222 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-10 16:32:38 +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
0ee6e9ef6b 2001-09-10 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* camlibs/sierra/sierra.c (get_info_func): Fix copy & paste bug.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2220 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-10 12:00:17 +00:00
Lutz Mueller
96c8e614ad 2001-09-10 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* libgphoto2/core.c: Additional debugging stuff.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2219 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-10 11:47:24 +00:00
Lutz Mueller
37177dd782 2001-09-09 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* libgphoto2/core.c: Use "... == GP_OK" instead of "!...". That should
        prevent that every USB camera shows up on gp_autodetect...


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2215 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-09 20:06:24 +00:00
Hubert Figuiere
d6628785ae * libgphoto2_port/usb/libusb.c (gp_port_usb_close): Fixed a
segfault when passed device handle was NULL.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2206 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-07 17:00:11 +00:00
Lutz Mueller
e8fb3015ab 2001-09-07 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* libgphoto2/filesys.c (gp_filesystem_format): Don't request any
        listings here.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2205 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-07 13:16:09 +00:00
Lutz Mueller
056fddc0b6 2001-09-07 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* camlibs/polaroid/pdc640.c: New
        * camlibs/polaroid/Makefile.am: Added pdc640


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2204 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-07 10:25:17 +00:00
Lutz Mueller
bc8e6b344b 2001-09-06 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* MAINTAINERS: Added Marius for panasonic
        * camlibs/panasonic/coolshot/Makefile.am: @dotlibs


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2197 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-06 12:48:43 +00:00
Chris Pinkham
bd87d198dc 2001-09-06 Chris Pinkham <cpinkham@infi.net>
* camlibs/panasonic/coolshot/README
      camlibs/panasonic/coolshot/coolshot.c
      camlibs/panasonic/coolshot/library.c: changed thumbnail code to
      properly decode thumbnails after discovering they are encoded in
      YUV 4:1:1 format.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2196 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-06 06:33:58 +00:00
Lutz Mueller
db10ed0519 2001-09-05 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* camlibs/polaroid/pdc320.c: Bug fixes from Nathan Stenzel
        <nathanstenzel@motion.net>


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2186 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-05 07:37:16 +00:00
Chris Pinkham
086c094906 2001-09-03 Chris Pinkham <cpinkham@infi.net>
* camlibs/panasonic/coolshot/README
      camlibs/panasonic/coolshot/coolshot.c
      camlibs/panasonic/coolshot/library.h
      camlibs/panasonic/coolshot/library.c: added thumbnail support.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2185 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-04 02:21:03 +00:00
Chris Pinkham
fd9352f12a 2001-09-02 Chris Pinkham <cpinkham@infi.net>
* camlibs/panasonic/coolshot/coolshot.c
      camlibs/panasonic/coolshot/library.c: code cleanup
    * camlibs/panasonic/coolshot/README: added TODO list for driver


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2177 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-03 01:29:26 +00:00
Lutz Mueller
e3b20487fb *** empty log message ***
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2176 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-02 18:02:40 +00:00
Lutz Mueller
ed90b0af73 2001-09-02 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* camlibs/panasonic/coolshot/coolshot.c: Use gp_list_populate instead
        of accessing the filesystem. The filesystem is clever enough to do
        that itself.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2169 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-02 12:34:01 +00:00
Lutz Mueller
cb5b83a3f3 2001-09-02 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* camlibs/stv0680/pattrec.[c,h]: Move those files ...
        * libgphoto2/pattrec.[c,]: ...here.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2166 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-02 09:34:01 +00:00
Lutz Mueller
cb459d1d05 2001-09-01 Chris Pinkham <cpinkham@infi.net>
* configure.in: added line to generate
        camlibs/panasonic/coolshot/Makefile
        * MAINTAINERS: added line for camlibs/panasonic/coolshot driver
        * camlibs/panasonic/Makefile.am: added coolshot to SUBDIRS declaration
        * camlibs/panasonic/coolshot/Makefile.am
        * camlibs/panasonic/coolshot/README
        * camlibs/panasonic/coolshot/TODO
        * camlibs/panasonic/coolshot/coolshot.[c,h]
        * camlibs/panasonic/coolshot/library.[c,h]:added files to support
        Panasonic Coolshot KXL-600A & KXL-601A digital cameras.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2165 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-02 09:01:09 +00:00
Lutz Mueller
28ceb67ece 2001-09-02 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* frontends/command-line/options.c: #include <config.h>


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2164 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-02 08:19:22 +00:00
Lutz Mueller
94a95dab94 2001-09-01 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* camlibs/casio: New
        * configure.in: Add casio. Like the polaroid and samsung, those drivers
        DON'T WORK and therefore are signed as EXPERIMENTAL. I add those only
        to give you a basic framework on which to build.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2161 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-01 15:24:13 +00:00
Lutz Mueller
c0b97124de 2001-08-31 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* camlibs/polaroid/pdc700.c: New


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2157 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-08-31 22:34:26 +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
Lutz Mueller
d5816a15c9 2001-08-31 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* camlibs/samsung/Makefile.am:
        * camlibs/samsung/samsung.c: New but untested. (Just ported it from
        old gphoto).
        * configure.in: Added samsung


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2155 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-08-31 18:16:31 +00:00
Lutz Mueller
b4ab3459a1 2001-08-31 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* libgphoto2/camera.c: Add debugging messages


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2154 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-08-31 13:44:54 +00:00
Lutz Mueller
3db04995ee 2001-08-31 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* 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
2001-08-31 09:28:54 +00:00
Dan Fandrich
a16ad359da * libgphoto2/file.c:
* include/gphoto2-file.h:
* camlibs/dimera/dimera3500.c: removed traces of the PNM
pseudo-file type and added PGM.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2150 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-08-31 03:31:46 +00:00
Lutz Mueller
257a15f010 2001-08-30 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* camlibs/dimera/dimera3500.c (camera_file_get): Use
        gp_file_adjust_name_for_mime_type
        * libgphoto2/file.c (gp_file_adjust_name_for_mime_type):
        GP_MIME_RAW -> *.raw


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2141 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-08-30 20:10:40 +00:00
Lutz Mueller
9f0311ea68 2001-08-30 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* camlibs/agfa.c:
        * camlibs/commands.c:
        * camlibs/commands.h: Use a macro CHECK for most of the simple
        error checks. That makes the code much cleaner.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2140 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-08-30 20:04:31 +00:00
Lutz Mueller
510bca1694 2001-08-30 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* camlibs/agfa-cl18/agfa.h: Renamed to
        * camlibs/agfa-cl18/commands.h
        * camlibs/Makefile.am: Reflect this change.
        * camlibs/commands.c:
        * camlibs/agfa.c: Improve error reporting.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2139 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-08-30 19:34:26 +00:00
Lutz Mueller
4fdf510202 2001-08-30 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* camlibs/agfa-cl18/*: Bring it up to date (camera->port and camera->fs)


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2138 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-08-30 18:05:54 +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
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
999cac37ed 2001-08-29 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
Dan Fandrich <dan@coneharvesters.com> found this bug:

        * libgphoto2/camera.c (list_files, list_folders): If
        gp_filesystem_list_files returns 0 files, try the old method. Same with
        folders.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2133 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-08-30 08:51:33 +00:00
Lutz Mueller
d501dfff13 2001-08-29 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
Fabrice did it again:

        * camlibs/sierra/*: Actually use camera->fs.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2131 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-08-30 08:30:53 +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
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
3451744b2f 2001-08-29 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
All work from Fabrice Bellet <Fabrice.Bellet@creatis.insa-lyon.fr>:

        * libgphoto2/filesys.c (gp_filesystem_number): Check if the folder
        is dirty (like in gp_filesystem_folder_number).


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2122 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-08-29 15:09:21 +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
71d1b6d0a6 *** empty log message ***
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2111 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-08-28 11:00:22 +00:00
Lutz Mueller
5bbd164d9b 2001-08-29 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
Another patch from Ilya Konstantinov <future@shiny.co.il>:

        * libgphoto2/camera.c (gp_camera_new): Correctly initialize the speed
        to 0


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2106 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-08-28 05:41:27 +00:00