Commit Graph

397 Commits

Author SHA1 Message Date
Lutz Mueller
391f1e96b2 2002-07-28 Lutz M�ller <lutz@users.sourceforge.net>
* configure.in: Detect new version of libexif (forgot to check
	  that in the last time).
	* frontends: Removed. Now in the "gphoto2" module.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4937 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-07-28 22:09:30 +00:00
Lutz Mueller
7340af8061 2002-07-25 Lutz M�ller <lutz@users.sourceforge.net>
* configure.in: Detect new version of libexif.
	* frontends/command-line/actions.c:
	* libgphoto2/gphoto2-filesys.c: Adjust to new version of libexif
	  (if found).


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4908 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-07-25 16:03:22 +00:00
Hans Ulrich Niedermann
c1fbc79734 comment rephrased
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4899 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-07-23 13:30:12 +00:00
Dan Fandrich
d154ebeb70 Added missing MIN and MAX macros.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4743 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-06-19 22:08:05 +00:00
Christophe Barbe
701768c88b fixed my previous fix
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4538 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-05-20 14:26:49 +00:00
Christophe Barbe
2252c17db2 fixed fparams initialization in command-line frontends
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4536 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-05-20 01:16:59 +00:00
Christophe Barbe
762bffab23 replaced missused #if with #ifdef
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4535 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-05-19 15:46:04 +00:00
Hans Ulrich Niedermann
7ab59e6cec added gphoto2(3) man page
added examples to gphoto2(1)
moved man pages from frontends/command-line/ to doc/


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4527 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-05-18 15:06:28 +00:00
Lutz Mueller
cd564fc4bb 2002-05-07 Lutz M�ller <lutz@users.sourceforge.net>
* frontends/command-line: Remove more globals.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4497 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-05-07 12:37:10 +00:00
Lutz Mueller
abeb034f10 2002-05-07 Lutz M�ller <lutz@users.sourceforge.net>
* acconfig.h: #undef HAVE_PTHREAD
        * configure.in: Check for pthread.
        * frontends/command-line: Support for gp_camera_set_timeout_funcs.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4496 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-05-07 12:06:29 +00:00
Lutz Mueller
c44fe6d6f1 2002-04-28 Lutz M�ller <lutz@users.sourceforge.net>
* frontends/command-line/main.c: %s/licence/license


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4480 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-04-28 20:57:33 +00:00
Hans Ulrich Niedermann
9ef376a321 improved description of usb-usermap stuff
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4402 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-04-07 02:32:26 +00:00
Hans Ulrich Niedermann
0ebbf06ec9 added description of --usb-usermap-script option
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4401 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-04-07 02:21:46 +00:00
Hans Ulrich Niedermann
2eb214e6db added *~ .*~ *.ced
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4400 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-04-07 02:19:39 +00:00
Hans Ulrich Niedermann
3984799dce improved descr of --usb-usermap-script option
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4399 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-04-07 02:16:27 +00:00
Hans Ulrich Niedermann
5197ec2c8d added --usb-usermap-script option
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4398 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-04-07 02:13:27 +00:00
Hans Ulrich Niedermann
cbd2582154 changed copyright from "2000,2001" to "2000-2002"
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4397 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-04-07 02:07:59 +00:00
Hans Ulrich Niedermann
b1c57cbb3f added option --usb-usermap-script name which lets user specify
the name of the hotplug usb script


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4394 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-04-07 01:48:16 +00:00
Marcus Meissner
8bbb296dd0 * frontends/command-line/main.*: Dump USB class style entries into
the usb.usermap too.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4382 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-04-04 17:24:33 +00:00
Dan Fandrich
ae1b2ed316 Added definition of MIN and MAX macros.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4345 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-03-25 00:15:49 +00:00
Lutz Mueller
65e14b1e02 Fix indentation.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4343 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-03-24 21:51:47 +00:00
Lutz Mueller
339b55b02c 2002-03-24 Lutz M�ller <lutz@users.sourceforge.net>
Patch by Patrick Mansfield <patman@aracnet.com> (without ChangeLog
        entry, therefore I am just quoting the e-mail):

        * frontends/command-line/gphoto2-cmd-config.c: This patch fixes
          scaling when using the command line interface with
          a range widget with an increment value with non-zero decimal digits
          (like .5). (...) I also used the A_STANDOUT (like Cliff's patch)
          rather than "-" so negative numbers work correctly. Also included is
          a change to set page increment based on the range of
          values, so really large ranges can more easily be adjusted. The page
          increment is set so you can go through all values in 20 key strokes
          or fewer - this still doesn't work well, but it is better than
          trying to go from 0 -> 8000000 in chunks of 10. It is clunky in
          that the page increment is not always a multiple of the increment.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4342 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-03-24 21:49:30 +00:00
Lutz Mueller
3e115de3ab 2002-03-23 Lutz M�ller <lutz@users.sourceforge.net>
Patch by Cliff Wright <cliff@snipe444.org> (comments quoted from
        the e-mails):

        * frontends/command-line/main.c: The command line program does not
          allow one to have a combination of --config, and --capture-image
          where the config will occur first, and then the capture. Since some
          cameras do not retain all config info between connections This is a
          feature I wanted, so the below patch fixes this by moving config in
          front of capture.
        * frontends/command-line/gphoto2-cmd-config.c: Unless cdk has changed
          the way they handle month's for the config calendar display, their
          is a bug in the command line configure in file gphoto2-cmd-config.c.
          The patch below fixed this for me.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4335 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-03-23 06:23:46 +00:00
Lutz Mueller
02f180e526 2002-03-22 Lutz M�ller <lutz@users.sourceforge.net>
* frontends/command-line/Makefile.am: Remove "-g" from [C,LD]FLAGS. If
          you need it, please add it again in configure.in.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4317 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-03-22 22:06:39 +00:00
Hans Ulrich Niedermann
8c34e17995 Made log messages be output with timestamps. Works with GNU libc and
should work with BSD (according to BSDI man pages). Don't know about other
systems, though.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4271 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-03-13 16:05:47 +00:00
Hans Ulrich Niedermann
89f8ede924 removed decoding of numeric debug message priorities
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4267 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-03-13 14:49:38 +00:00
Lutz Mueller
b15fa008aa 2002-03-11 Lutz M�ller <lutz@users.sourceforge.net>
* frontends/command-line/Makefile.am:
        * frontends/command-line/main.c: Add --authors and --licence.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4264 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-03-11 18:35:44 +00:00
Lutz Mueller
b3f50d409a 2002-03-11 Lutz M�ller <lutz@users.sourceforge.net>
* frontends/command-line/globals.h:
        * frontends/command-line/main.c: 1 global variable less.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4258 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-03-11 12:17:26 +00:00
Mariusz Woloszyn
9d4b9320d4 2002-03-11 Mariusz Woloszyn
* frontends/command-line/main.c: you can now specify --filename
	  while uploading, thx to Lutz.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4257 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-03-11 12:09:20 +00:00
Lutz Mueller
94b9336b07 2002-03-09 Lutz M�ller <lutz@users.sourceforge.net>
* frontends/command-line/shell.c: Fix readline stuff (automatic
          completion).


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4255 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-03-09 14:27:34 +00:00
Tim Waugh
9fe3a92339 Regenerated.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4230 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-02-27 08:33:41 +00:00
Tim Waugh
a5985a6e34 New commands in shell.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4229 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-02-27 08:33:33 +00:00
Lutz Mueller
2e0c520799 2002-02-26 Lutz M�ller <lutz@users.sourceforge.net>
* frontends/command-line/foreach.c (for_each_file_in_range): If
          deleting files not recursively, adjust the image ID for subsequent
          images.
        * frontends/commane-line/main.c (main): If deleting files, do
          it in reverse order such that above case does never occur. Fixes
          #522796.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4225 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-02-26 10:09:17 +00:00
Lutz Mueller
6b40e962e4 2002-02-26 Lutz M�ller <lutz@users.sourceforge.net>
* frontends/command-line/shell.c: Patch from Rob Hillis
          <rob@hillis.dyndns.org>: Use SHELL_PROMPT instead of
          shell_prompt_text.
        * frontends/command-line/actions.c: Use %li instead of %i to kill
          some warnings.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4219 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-02-26 07:28:50 +00:00
Lutz Mueller
d3d342deda 2002-02-25 Lutz M�ller <lutz@users.sourceforge.net>
* acconfig.h:
        * configure.in: Add optional readline support.
        * frontends/command-line/main.c: Show remaining time in progress bar.
        * frontends/command-line/globals.h: Export glob_cancel.
        * frontends/command-line/shell.[c,h]: Clean up and add (optional)
          readline support. Support deletion of files.

2002-02-25  Lutz M�ller <lutz@users.sourceforge.net>

        * configure.in: Version 2.0


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4216 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-02-25 15:20:03 +00:00
Fredrik
248ea28d6e add line break in
int
delete_file_action ( ...


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4190 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-02-19 20:40:42 +00:00
Dan Fandrich
46549399bc Fixed long int printf conversion specifier.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4184 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-02-18 17:57:34 +00:00
Lutz Mueller
65742d2f32 2002-02-18 Lutz M�ller <lutz@users.sourceforge.net>
Bug reported by Marcus Meissner <marcus@jet.franken.de>:

        * frontends/command-line/options.c: The option "-" is invalid.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4179 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-02-18 09:07:20 +00:00
Dan Fandrich
f2482e6017 Added MIN and MAX macro definitions.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4163 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-02-15 05:48:02 +00:00
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
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
Christophe Barbe
30e5d59f51 * override usb IDs only when the usbid option is used.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4143 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-02-12 22:22:02 +00:00
Tim Waugh
91c2527881 s/man1_MANS/man_MANS/
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4140 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-02-12 15:47:25 +00:00
Tim Waugh
ee00b6160c Ship man page, with source.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4139 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-02-12 15:14:51 +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
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
Fredrik
8fe151a995 clean up USB ID override code and fix memory leak when no override was done
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4112 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-02-09 14:14:02 +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