Commit Graph

175 Commits

Author SHA1 Message Date
Lutz Mueller
1d0a457331 2001-12-11 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* lowlevel.c: Clean up.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3484 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-11 12:45:50 +00:00
Lutz Mueller
f967e2d00d 2001-12-11 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* camlibs: Remove references to GP_ERROR_IO_TIMEOUT - we use
          GP_ERROR_TIMEOUT instead.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3482 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-11 12:29:56 +00:00
Lutz Mueller
c8dc2897b7 2001-12-11 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* lowlevel.c: Fix bug introduced with last patch.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3478 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-11 10:51:34 +00:00
Lutz Mueller
c7edc71ecc 2001-12-09 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* lowlevel.c: Do not read one byte after another - that makes
          debugging output easier to read.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3473 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-09 21:41:15 +00:00
Lutz Mueller
0947dcd160 2001-12-07 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* configure.in: Remove dotlib hack
        * camlibs: Do it "the right way"


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3422 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-07 00:21:17 +00:00
Lutz Mueller
c11497ad5c 2001-12-05 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
$builddir != $srcdir fixes.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3402 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-05 21:37:57 +00:00
Lutz Mueller
9d52a2d47f 2001-12-04 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* libgphoto2: Support for GP_FILE_TYPE_EXIF. Not that there is not
          support for it in the frontends (yet).


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3380 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-04 20:24:20 +00:00
Lutz Mueller
ecc7a552c7 Fix file information
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3266 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-28 13:51:11 +00:00
Lutz Mueller
b444e827c7 Kill warnings.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3237 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-27 15:03:58 +00:00
Lutz Mueller
2d7e3926df 2001-11-27 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* libgphoto2/gphoto2-filesys.c: Recover from errors during
          file-deletion.
        * camlibs/sierra/sierra.c: Report an error if, after delete_all, there
          are still pictures on the camera. That makes libgphoto2 able to
          fix that.
        * camlibs/konica/library.c: Here, too.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3234 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-27 13:33:19 +00:00
Hans Ulrich Niedermann
6cdfca6e26 set_timeout, not timeout_set
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3231 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-27 08:37:37 +00:00
Lutz Mueller
b219dc05d4 2001-11-26 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* camlibs/directory/directory.c (set_info_func): Rewrite
        * camlibs/ptp/library.c:
        * camlibs/fuji/fuji.c: Don't advertise what you don't support.
        * camlibs/konica/library.c (set_info_func): Rewrite
        * libgphoto2: Make *set_info consistent


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3224 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-26 14:00:37 +00:00
Lutz Mueller
4778cc2609 Speed improvements in the konica driver (avoid redundant traffic).
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3221 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-26 12:37:33 +00:00
Lutz Mueller
d1d9ffb8bd Image numbers start with 1.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3203 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-25 17:41:53 +00:00
Lutz Mueller
9c37a91c98 Correctly initialize CameraFileInfo (didn't get it right the first time...).
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3200 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-25 17:22:27 +00:00
Lutz Mueller
78e84a7e57 Speed improvement.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3167 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-23 10:28:58 +00:00
Lutz Mueller
a7b434e192 2001-11-21 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* libgphoto2/gphoto2-camera.[c,h]: Add a pre_func and a post_func
          that gets called before and after each access to the camera driver.
        * camlibs/konica/library.c: Use above functions.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3138 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-21 14:55:54 +00:00
Dan Fandrich
b49de71c57 Added -module flag to libtool link command for each library that is dlopen'ed
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2876 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-31 19:27:55 +00:00
Lutz Mueller
ccceeb07dd Remove camera_manual.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2859 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-30 13:04:56 +00:00
Lutz Mueller
5c77c77bd0 2001-10-27 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* camlibs/canon/canon.c: rmdir/mkdir support
        * camlibs/canon/psa50.c (psa50_directory_operations): Consistently
          return a gphoto2 error code.
        * camlibs/directory: Add rmdir/mkdir support
        * libgphoto2/gphoto2-camera.[c,h]
        * libgphoto2/gphoto2-filesys.[c,h]: Add rmdir/mkdir support


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2823 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-28 07:45:47 +00:00
Lutz Mueller
4b1c56eaeb Localization fixes for konica driver
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2819 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-27 22:25:49 +00:00
Lutz Mueller
7a06c34fd2 *** empty log message ***
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2778 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-26 21:13:42 +00:00
Lutz Mueller
a3364e4b63 2001-10-23 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* libgphoto2/gphoto2-core.[c,h]: Removed. All functions redirected
          to gphoto2-abilities-list. Caching of this list should be done
          in the frontend.
        * frontends/command-line/main.c: Don't use gp_autodetect, use
	  gp_abilities_list_detect instead.
        * libgphoto2/setting.c: Move some initialization stuff from
          gphoto2-core to here.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2705 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-23 18:00:18 +00:00
Lutz Mueller
46555f8514 2001-10-23 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* camlibs: Remove every reference to gp_camera_result_as_string
          including camera->functions->result_as_string. It was mostly
          unused anyways.
        * frontends/command-line/main.c: No history any more
        * libgphoto2/gphoto2-camera.[c,h] (gp_camera_[get,set]_error): New


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2701 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-23 16:43:38 +00:00
Lutz Mueller
18d0b4e7b0 2001-10-20 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* camlibs/minolta/dimagev/dimagev.[c,h]: Prepare for removal of
          camera->camlib_data. Fix memory leaks (in case of errors).


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2662 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-20 19:14:46 +00:00
Lutz Mueller
acd9ef46b6 2001-10-20 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* camlibs/digita:
        * camlibs/dimera: Prepare for elimination of camera->camlib_data.
        * camlibs/konica: Some additional debugging messages


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2660 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-20 18:05:55 +00:00
Lutz Mueller
76a19b0b53 2001-10-20 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* 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
2001-10-20 12:36:15 +00:00
Hans Ulrich Niedermann
ffd1837c38 added missing files to EXTRA_DIST and *_SOURCES
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2638 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-19 23:10:32 +00:00
Lutz Mueller
693a47077e *** empty log message ***
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2602 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-18 08:20:29 +00:00
Lutz Mueller
477b3c1e1f 2001-10-17 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* camlibs: Don't use camera->port_info->path. This one has already
          be set by gphoto2


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2592 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-17 21:53:12 +00:00
Lutz Mueller
2731365d90 2001-10-17 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* camlibs/konica/library.c: Use camera->pl
        * libgphoto2/gphoto2-camera.[c,h]: Move lots of internals into
          camera->pc (for core use only) and offer hook for camera libraries
          (camera->pl) and frontends (camera->pf)


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2585 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-17 20:06:40 +00:00
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
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
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
8bfa358b6b Use gp_filesystem_reset
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2473 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-10 08:53:30 +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
063ac2418b 2001-10-09 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* camlibs/konica/library.c: Remove reference to gphoto2-frontend.h.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2454 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-09 08:21:37 +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
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
d04c926018 Forgot const
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2376 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-04 16:12:16 +00:00
Lutz Mueller
fc7f53d445 *** empty log message ***
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2359 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-02 19:35:47 +00:00
Lutz Mueller
44f67bc9ba 2001-10-01 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* camlibs/konica/localization/Makefile.am: EXTRA_DIST the localization
        data to get the stuff included in the dist tarball.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2349 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-01 21:31:19 +00:00
Lutz Mueller
6de0760d28 2001-10-01 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* camlibs/konica: Rejoice, we no longer have a glib dependency!


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2348 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-01 18:00:19 +00:00
Lutz Mueller
1d2956d026 Another one...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2343 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-01 16:48:48 +00:00
Lutz Mueller
dc363869dc Another glib patch...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2342 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-01 16:44:50 +00:00
Lutz Mueller
193b3f3de7 2001-10-01 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* camlibs/konica/konica.[c,h]:
        * camlibs/konica/library.c: Moving towards glib-free code...


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2341 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-01 16:17:05 +00:00
Lutz Mueller
8d38d124dd 2001-10-01 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* camlibs/konica/konica.[c,h]:
        * camlibs/konica/library.c: Moving towards glib-free code...


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2340 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-01 15:35:07 +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
bvl
95e1767b78 bvl: OS/2 Updates
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2207 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-07 20:02:33 +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