Commit Graph

163 Commits

Author SHA1 Message Date
Michael Rensing
367cc8cc03 Added colons for new Manufacturer:Model notation.
Changed Lutz's e-mail to the lutz_AT_users.sourceforge.net


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@6033 67ed7778-7388-44ab-90cf-0a291f65f57c
2003-01-10 19:04:17 +00:00
Arnaud Launay
b9d58ca88b replace (c) and (C) by �
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@5969 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-12-15 11:45:10 +00:00
Arnaud Launay
64e420e288 <config.h> -> "config.h"
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@5859 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-11-29 16:09:58 +00:00
Hans Ulrich Niedermann
917ba5e7c3 gettext stuff for Arnaud
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@5776 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-11-23 00:47:57 +00:00
Marcus Meissner
e668c630d6 * library.c: Got rid of some broken long*/int*/time_t* casts
(would break 64bit on big endian).


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@5627 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-11-17 16:38:40 +00:00
Lutz Mueller
236b2f9dd8 2002-07-11 Lutz M�ller <lutz@users.sourceforge.net>
* library.c: Add a couple of 'gp_context_idle's.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4845 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-07-11 13:38:15 +00:00
uid34756
4bf938a08a 2002-07-05 Lutz M�ller <lutz@users.sourceforge.net>
* library.c: We can't change the name of files.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4821 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-07-05 21:15:24 +00:00
uid34756
1a949c7bcb 2002-07-05 Lutz M�ller <lutz@users.sourceforge.net>
* library.c: We can't change the name of files.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4819 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-07-05 21:00:49 +00:00
Lutz Mueller
19c6594ea4 2002-07-04 Lutz M�ller <lutz@users.sourceforge.net>
* library.c: (camera_capture): Fix bug.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4812 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-07-04 22:09:30 +00:00
Lutz Mueller
bdf1fe7c71 2002-05-06 Lutz M�ller <lutz@users.sourceforge.net>
* library.c: ping the camera every minute to prevent shutdown.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4492 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-05-06 22:01:32 +00:00
Marcus Meissner
ec95509290 * lowlevel.c: Check for lesser escape codes, since the HP PhotoSmart
does not escape as much.
	* library.c: Added the original HP PhotoSmart (no type identifier)


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4249 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-03-08 13:41:17 +00:00
Lutz Mueller
d672c15974 2002-03-04 Lutz M�ller <lutz@users.sourceforge.net>
With the help of Thomas Ronayne <trona@ameritech.net>:

	* konica.c (konica_get_image_info): The C200 needs up to 2 seconds
	  to respond.
	* library.c: The image ids for a C200 are 2 bytes long, not 4.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4236 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-03-04 19:25:25 +00:00
Colin Marquardt
1d196add0d Add small comment fixes for translators.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4185 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-02-18 18:01:31 +00:00
Lutz Mueller
651280e27e Progress support.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4046 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-29 21:32:01 +00:00
Lutz Mueller
1b03087df2 2002-01-29 Lutz M�ller <lutz@users.sourceforge.net>
* library.h: Removed.
        * konica.[c,h]: Prepare support for progress information.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4045 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-29 20:51:46 +00:00
Lutz Mueller
c701bbadf3 Check for cancellation.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3937 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-19 09:53:01 +00:00
Lutz Mueller
19a0c3a76f 2002-01-16 Lutz M�ller <lutz@users.sourceforge.net>
Black magic by Marcus Meissner <marcus@jet.franken.de>:

        find . -type f | xargs grep -l gp_debug_printf | xargs perl -pi -e 's/gp_debug_printf\(\s*GP_DEBUG[^,]*,[^,]*,(.*)$/GP_DEBUG(\1/'


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3902 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-15 23:49:39 +00:00
Lutz Mueller
603159e742 2002-01-15 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
More GPContext changes:

        * libgphoto2/gphoto2-context.[c,h]: Add message functionality
        * camlibs: Use it.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3886 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-15 12:29:46 +00:00
Lutz Mueller
2359d993aa Small update.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3859 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-13 21:16:56 +00:00
Lutz Mueller
a7732cb44b 2002-01-13 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* library.c: More progress reporting. Remove references to
          gp_camera_set_error.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3852 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-13 19:46:50 +00:00
Lutz Mueller
8e0815d45f 2002-01-13 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* library.c: More progress reporting.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3848 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-13 18:54:14 +00:00
Lutz Mueller
cd437aae95 2002-01-13 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
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
2002-01-12 23:31:45 +00:00
Dan Fandrich
cbef4a0915 * library.c: fgetc() returns type int, not char.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3822 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-11 19:41:43 +00:00
Lutz Mueller
0dedb0e163 2002-01-10 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* 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
2002-01-10 23:06:56 +00:00
Johannes Erdfelt
209f2c941c Automatically set config, interface, altsetting, inep and outep based on
the parsed descriptors


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3734 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-06 01:04:42 +00:00
Lutz Mueller
908429e2df 2002-01-02 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* libgphoto2/Makefile.am
        * camlibs/ * /Makefile.am: Install drivers into versioned
          subdirectories.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3648 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-02 12:34:05 +00:00
Johannes Erdfelt
3b234b95cc Zero out the CameraAbilities struct so we don't have garbage in fields
This should help fix some of the problems with the new USB class matching
code people have reported


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3628 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-30 18:19:10 +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
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
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
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
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
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
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