Commit Graph

524 Commits

Author SHA1 Message Date
Fredrik
8dd14f05bb Make at least a small attempt at quoting arguments which might need it
when asking users to execute the same command again with --debug.

Patch from Chris Halls.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4157 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-02-14 18:17:05 +00:00
Dan Fandrich
a2473f4568 * libgphoto2/gphoto2-abilities-list.h
* libgphoto2/gphoto2-camera.h
	* libgphoto2/gphoto2-filesys.h: Rearranged some structs and added
	  some empty members to make backward compatibility easier to achieve
	  when API changes are made in the future.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4149 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-02-13 19:36:15 +00:00
Tim Waugh
93bbf90fe9 2002-02-13 Tim Waugh <twaugh@redhat.com>
* frontends/command-line/gphoto2.xml: Mention that files are
        numbered from 1, and that quotes should be used for camera models.
        * frontends/command-line/gphoto2.1: Regenerated.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4148 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-02-13 18:00:01 +00:00
Lutz Mueller
9ffd9ece17 2002-02-13 Lutz M�ller <lutz@users.sourceforge.net>
* libgphoto2/Makefile.am:
        * configure.in: Introduce versions.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4146 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-02-13 08:53:20 +00:00
Fredrik
5be763f680 * libgphoto2/gphoto2-filesys.c: Fix month off-by-one bug in
Lutz's fix of get_exif_mtime.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4142 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-02-12 19:12:17 +00:00
Lutz Mueller
09f93e7623 2002-02-12 Lutz M�ller <lutz@users.sourceforge.net>
* libgphoto2/gphoto-filesys.c: Fix (get_exif_mtime).


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4141 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-02-12 16:45:07 +00:00
Tim Waugh
8c589e6abc 2002-02-12 Tim Waugh <twaugh@redhat.com>
* MAINTAINERS: Add myself.
        * frontends/command-line/gphoto2.xml: New file.
        * frontends/command-line/gphoto2.1: New file.
        * frontends/command-line/Makefile.am: Install man page.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4138 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-02-12 13:23:59 +00:00
Lutz Mueller
acd3d8203f 2002-02-12 Lutz M�ller <lutz@users.sourceforge.net>
* configure.in: Ok, not everybody likes pkg-config. Offer an
          alternative check, too.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4134 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-02-12 08:35:36 +00:00
Lutz Mueller
bca63977ea 2002-02-11 Lutz M�ller <lutz@users.sourceforge.net>
* libgphoto2/gphoto-filesys.c: Previously, we searched thumbnails in
          EXIF data if GP_FILE_TYPE_PREVIEW is not supported by the driver.
          Now, we do it the other way round, too: If GP_FILE_TYPE_EXIF is
          not supported by the driver, get the thumbnail and search for
          EXIF data there.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4125 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-02-11 09:07:49 +00:00
Lutz Mueller
4eae6dfbc5 2002-02-10 Lutz M�ller <lutz@users.sourceforge.net>
* frontends/command-line/actions.[c,h]:
        * frontends/command-line/main.c: Implement --show-info.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4123 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-02-10 13:48:14 +00:00
Fredrik
e420618f85 make the CLI frontend be even more carefull when checking the ID passed to
the context functions from camera drivers.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4115 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-02-09 15:25:44 +00:00
Fredrik
3e5f3696d9 fix bug where new for_each_subfolder() did not descend into subfolders of
folders.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4114 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-02-09 15:09:59 +00:00
Lutz Mueller
b507b1474c 2002-02-08 Lutz M�ller <lutz@users.sourceforge.net>
* frontends/command-line/main.c: Implement a progress bar (code
          adapted from e2fsck).


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4110 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-02-08 22:08:23 +00:00
Christophe Barbe
47167bd89b 2002-02-08 Christophe Barb� <christophe.barbe@ufies.org>
* frontends/command-line/main.c: Add usbid option to override
     vendorID and deviceID for a given vendorID/deviceID couple in
     the table describing all supported cameras. This allows us to
     quickly validate if a new cam could be supported by an existing
     driver.
     This requires from the camlib driver to not use the IDs directly
     but the device name instead.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4107 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-02-08 19:43:17 +00:00
Lutz Mueller
d5a4ec11b2 2002-02-08 Lutz M�ller <lutz@users.sourceforge.net>
* frontends/command-line: s/image/file and s/picture/file with
          the exception of capture-image.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4105 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-02-08 12:58:20 +00:00
Lutz Mueller
592f41bdf0 2002-02-08 Lutz M�ller <lutz@users.sourceforge.net>
* libgphoto2/gphoto2-filesys.c: Make it robust against folders
          with trailing slashes.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4104 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-02-08 11:46:34 +00:00
Lutz Mueller
57b30e2d6a 2002-02-08 Lutz M�ller <lutz@users.sourceforge.net>
* frontends/commend-line/main.c:
        * frontends/command-line/actions[c,h]:
        * frontends/command-line/foreach[c,h]: Clean up, simplify.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4103 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-02-08 11:21:54 +00:00
Lutz Mueller
a8c61b7a75 2002-02-08 Lutz M�ller <lutz@users.sourceforge.net>
* libgphoto2/gphoto2-filesys.c: Add support for getting the
          mtime out of the file data.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4100 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-02-07 23:22:44 +00:00
Lutz Mueller
258eda8e22 2002-02-07 Lutz M�ller <lutz@users.sourceforge.net>
* frontends/command-line: Fix my previous (broken) patch and hide
          all that recursive id look-up stuff.
        * frontends/command-line/gphoto2-cmd-exif.[c,h]: Removed. Now in
          actions.[c,h]


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4096 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-02-07 17:43:04 +00:00
Lutz Mueller
da1c6b9f02 2002-02-07 Lutz M�ller <lutz@users.sourceforge.net>
* frontends/command-line/foreach.[c,h]: Pass CameraList as parameter.
          This be where the const filename is allocated. Before, the string
          got messed up.
        * frontends/command-line/main.c: %s/gp_file_free/gp_file_unref


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4093 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-02-07 14:14:45 +00:00
Fredrik
a1551c42de fixed bug with errors not spotted in subfolders of subfolders when doing
recursive CLI operations.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4092 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-02-06 20:53:07 +00:00
Colin Marquardt
76a6e80ff6 CHANGES (Module): Add info about new chinese translation.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4090 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-02-06 18:08:58 +00:00
Colin Marquardt
f2ffa56d62 configure.in (ALL_LINGUAS): Added zh_CN.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4088 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-02-06 17:51:56 +00:00
Lutz Mueller
8dba175e71 2002-02-06 Lutz M�ller <lutz@users.sourceforge.net>
* libgphoto2_port/m4/Documentation.m4: Fix copy & paste error
        * doc/api/Makefile.am
        * libgphoto2_port/doc/Makefile.am
        * libgphoto2_port/doc/DocRules.am: Fix --enable-docs


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4085 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-02-06 13:15:05 +00:00
Fredrik
31f0a6eed2 fixed --delete-all-images in the CLI frontend.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4073 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-02-04 18:25:50 +00:00
Hans Ulrich Niedermann
99c460ef24 felt like 2.0beta5dev2 - nothing more
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4071 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-02-04 00:50:12 +00:00
Lutz Mueller
7367b7fdd2 2002-02-02 Lutz M�ller <lutz@users.sourceforge.net>
* frontends/command-line: Let --show-exif accept image numbers, too.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4067 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-02-03 08:20:46 +00:00
Lutz Mueller
516ab85411 2002-02-01 Lutz M�ller <lutz@users.sourceforge.net>
* frontends/command-line/gphoto2-cmd-exif.[c,h]: New
        * frontends/command-line/main.c: Hook it up.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4065 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-02-02 23:29:57 +00:00
Raymond Penners
462f837d3b Added Sony DCR-PC100
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4056 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-02-01 18:55:49 +00:00
Lutz Mueller
53ad47e99f 2002-02-01 Lutz M�ller <lutz@users.sourceforge.net>
* configure.in: Only call aalib-config if it exists.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4054 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-02-01 16:18:43 +00:00
Hans Ulrich Niedermann
51ae58556f beta4 has already been released, so we are now at beta5dev1
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4053 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-02-01 14:18:00 +00:00
Lutz Mueller
446899db43 2002-01-31 Lutz M�ller <lutz@users.sourceforge.net>
* camlibs/ricoh:
        * configure.in: Initial version. Not working.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4049 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-31 09:10:23 +00:00
Lutz Mueller
2eeaf6d3c7 2002-01-29 Lutz M�ller <lutz@users.sourceforge.net>
* configure.in: Tell users where to get additional libraries.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4042 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-29 13:46:02 +00:00
Lutz Mueller
7e9c075748 2002-01-29 Lutz M�ller <lutz@users.sourceforge.net>
* Makefile.am
        * configure.in
        * libgphoto2/Makefile.am
        * libgphoto2/gphoto2-filesys.c
        * acconfig.h
        * libexif: Remove libexif and check in configure.in if there is a
          libexif installed on the system.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4033 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-29 12:20:39 +00:00
Christophe Barbe
26038ca761 2002-01-28 Christophe Barb� <christophe.barbe@ufies.org>
* CHANGES: Added with content from beta4 release.
   * *: Tagged all files included in beta4.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4028 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-29 04:13:03 +00:00
Dan Fandrich
eeaf3e0e19 * frontends/command-line/gphoto2-cmd-capture.c: Fixed security problem
in creating temporary file for JPEG preview.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4025 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-27 22:11:57 +00:00
Colin Marquardt
145546b0c2 2002-01-27 Lutz M�ller <lutz@users.sourceforge.net>
* libgphoto2/gphoto2-widget.c: Size of CameraWidget->[labelname] is
	  now 256 instead of 32. Fixes long strings (esp. german translation).


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4021 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-27 16:25:03 +00:00
Lutz Mueller
3e875760ac 2002-01-26 Lutz M�ller <lutz@users.sourceforge.net>
Patch by Hans Ulrich Niedermann <gp@n-dimensional.de> (slightly
        adapted):

        * frontends/command-line/main.c: Only report progress information
          if the user can see it. Same with confirmation of status messages.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4016 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-26 00:34:20 +00:00
Lutz Mueller
4a193fa5f0 2002-01-26 Lutz M�ller <lutz@users.sourceforge.net>
Fixes #506075:

        * frontends/command-line/Makefile.am: Include files into EXTRA_DIST
          that are only conditionally built.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4013 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-25 23:58:35 +00:00
Marcus Meissner
140ea131d9 * **/Makefile.am: Do not use $(prefix)/lib/, but $(libdir).
On some architecturs $(libdir) might not be /lib/, but /lib64/
	  (on s390x for instance).


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4010 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-25 14:13:03 +00:00
Dan Fandrich
11f1fffc23 * libgphoto2/pattrec.c
* libgphoto2/jpeg.c: Added include of config.h


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4005 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-25 02:14:53 +00:00
Lutz Mueller
6112516854 2002-01-21 Lutz M�ller <lutz@users.sourceforge.net>
* frontends/command-line: Fix image numbering when --recurse.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3970 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-21 11:00:18 +00:00
Lutz Mueller
b0dcd53549 2002-01-19 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* libgphoto2/gphoto2-filesys.c: Check for cancellation.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3936 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-19 09:50:14 +00:00
Hans Ulrich Niedermann
e01ffe981d 2.0beta4dev9 (progress is inevitable)
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3929 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-18 00:09:23 +00:00
Lutz Mueller
3b1261e645 2002-01-16 Lutz M�ller <lutz@users.sourceforge.net>
* libexif: New
        * libgphoto2/gphoto2-filesys.c: Use libexif


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3915 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-16 17:29:12 +00:00
Lutz Mueller
c2ee1310b7 2002-01-16 Lutz M�ller <lutz@users.sourceforge.net>
* libgphoto2/gphoto2-file.[c,h] (gp_file_[get,set]_mod_time): New.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3908 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-16 11:55:23 +00:00
Colin Marquardt
ec92961a81 Updated both fr.po's.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3903 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-16 00:27:21 +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
b9a798c58b 2002-01-15 Lutz M�ller <lutz@users.sourceforge.net>
* libgphoto2/*.h: Fix headers: no config.h, ifdef __cplusplus ...


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3900 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-15 22:25:16 +00:00
Lutz Mueller
86a89dcca7 2002-01-15 Lutz M�ller <lutz@users.sourceforge.net>
* dc1000.c:
        * dc1580.c: gp_camera_status -> gp_context_status.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3898 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-15 22:14:28 +00:00