Commit Graph

207 Commits

Author SHA1 Message Date
Dan Fandrich
c00c27f9db * libgphoto2_port/acconfig.h
* libgphoto2_port/configure.in
	* libgphoto2_port/libgphoto2_port/gphoto2-port-log.c
	* libgphoto2_port/libgphoto2_port/gphoto2-port-log.h
	* frontends/command-line/main.c
	* frontends/command-line/main.h
	* acconfig.h
	* configure.in: Added --disable-debugging option to configure


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3364 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-03 01:42:29 +00:00
Hans Ulrich Niedermann
90cc09aefc how to create debug messages
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3353 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-02 16:04:37 +00:00
Dan Fandrich
f4bc0dc73d Added explicit include of locale.h for when --disable-nls is configured
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3301 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-30 17:48:12 +00:00
Dan Fandrich
412560db27 * configure.in
* frontends/command-line/Makefile.am
* libgphoto2/Makefile.am
* libgphoto2_port/configure.in
* libgphoto2_port/libgphoto2_port/Makefile.am: libtool won't generate
  shared dlopenable libraries when given -lintl and libintl is a
  static library.  Now, only use -lintl when linking other targets.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3289 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-29 23:01:27 +00:00
Colin Marquardt
7cc7978469 * frontends/command-line/options.c (usage):
Make the help table format string translatable.
  Make table lines 79 chars wide.

* de.po (Message): All command line help table entries are now
  translated.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3164 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-22 23:20:16 +00:00
Lutz Mueller
c5a35cef10 2001-11-22 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* frontends/command-line/main.c: Mark more strings for translation


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3150 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-22 06:59:31 +00:00
Colin Marquardt
97191be750 frontends/command-line/options.c: Make help descriptions translatable.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3149 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-21 23:48:44 +00:00
Colin Marquardt
784d87086c * frontends/command-line/main.c: Mark up more strings for
translation.

* camlibs/sierra/sierra.c: Spelling fixes.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3147 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-21 23:03:57 +00:00
Dan Fandrich
80b46fae70 Added definitions of MIN and MAX
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3141 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-21 20:58:21 +00:00
Lutz Mueller
25b9808904 2001-11-21 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
I quote from an e-mail: "You (Lutz) should remove the code you added
        that broke (at least) two of the supported 'libgphoto2' camera
        libraries!!!" *sigh*.

        * conigure.in: Add a --with-multi option and a warning that people
          who use it will run into troubles with digita and dc240 and that
          people who don't use it will run into troubles when using Nautilus
          or Konqueror for browsing their camera.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3140 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-21 19:07:53 +00:00
Lutz Mueller
f80fd2a911 Finish implementation of GP_WIDGET_DATE.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3135 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-21 01:09:27 +00:00
Lutz Mueller
c0412e5b84 2001-11-17 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* frontends/command-line/options.c: Mark some more strings for
          translation.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3091 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-17 18:10:50 +00:00
Lutz Mueller
0762a27642 2001-11-17 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* frontends/command-line: Fix translation. You use N_(...) to _mark_ a
          string for translation. In order to convert it, you need to call
          _(...). That is, call gp_camera_get_error in order to get a string
          and after that, convert this string using _(...) before displaying
          it.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3077 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-17 12:14:24 +00:00
Lutz Mueller
6f01b585a5 2001-11-17 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* camlibs/ptp/ptp.[c,h]: Hide some internals
        * frontends/command-line/main.c: Fix translation by calling
          setlocale (LC_ALL, "") (?).


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3076 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-17 11:42:56 +00:00
Lutz Mueller
c65503abaa Remove unnecessary #ifdef.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3048 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-16 11:31:55 +00:00
Lutz Mueller
5137cc1bc8 2001-11-11 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* frontends/command-line/main.c: Add a switch for GP_FILE_TYPE_AUDIO.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2994 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-11 16:44:16 +00:00
Lutz Mueller
0f47ae4092 2001-11-08 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* camlibs/sierra: Improve error reporting. Use register 47 for
          pic-info retrieval. Support GP_FILE_TYPE_AUDIO.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2971 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-08 15:48:40 +00:00
Lutz Mueller
568aab05c3 Small fix for handling GP_FILE_TYPE_AUDIO
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2967 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-08 09:06:25 +00:00
Lutz Mueller
57357935e6 Support GP_FILE_TYPE_AUDIO. Put in lots of "const".
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2965 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-08 08:33:22 +00:00
Hans Ulrich Niedermann
def9a80033 added note for user that the error msg from _set_error may be unrelated to real error
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2899 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-04 02:10:46 +00:00
Hans Ulrich Niedermann
b7135b72fb clarified comment
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2898 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-04 02:09:16 +00:00
Marcus Meissner
b01fc85d11 When dumping serial speeds, x was not 0 (since it was used before), but
some random value. Fixed.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2886 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-01 16:02:39 +00:00
Lutz Mueller
227da34fb5 2001-11-01 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
Patch from Chris <adapt@ihug.co.nz>:

        * frontends/command-line/main.c: Don't gp_file_free twice


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2883 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-01 09:24:33 +00:00
Lutz Mueller
334681a30d 2001-10-30 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* frontends/command-line/gphoto2-cmd-config.c:
          Implement GP_WIDGET_TEXT and GP_WIDGET_TOGGLE
        * camlibs/directory/directory.c: Expand configuration dialog
          for testing purposes. Additions #ifdef'd out.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2862 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-30 18:18:23 +00:00
Fredrik
8c8372bbee 2001-10-30 Fredrik <fredrik@krixor.xy.org>
* frontends/command-line/interface.c: Since status messages are
	  now written to stderr, flush stderr instead of stdout.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2861 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-30 14:40:29 +00:00
Lutz Mueller
43731db125 2001-10-30 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* frontends/command-line/main.c: Be more elaborate about wrong ports.
          Fixes #475320


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2860 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-30 13:18:27 +00:00
Lutz Mueller
3a6966bd00 2001-10-30 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* frontends/command-line/main.[c,h]: Fix --capture-image


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2858 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-30 09:06:54 +00:00
Lutz Mueller
e3095951b3 2001-10-29 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* frontends/command-line/interface.c: Suppress empty status
          messages. Those indicate that we should _clear_ the status and
          not print _anything_.
        * frontends/command-line/main.c: No need for gp_camera_init
          anymore
        * libgphoto2/gphoto2-camera.c: Make sure the camera is
          initialized.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2846 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-29 17:57:15 +00:00
Hans Ulrich Niedermann
cc6a97d0d3 2001-10-28 Hans Ulrich Niedermann <gp@n-dimensional.de>
* frontends/command-line/interface.c: moved status msgs to stderr
	* libgphoto2/gphoto2-abilities-list.c: don't scan USB for ID 0,
	  better (?) error handling and reporting
	* libgphoto2_port/libgphoto2_port/gphoto2-port.c: removed report
	  about param that is only passed on
	* libgphoto2_port/usb/libusb.c: improved error reporting
	* packaging/usbcam.console: improved chown/chmod handling
	  (race condition removed)
	* packaging/rpm/package.spec.in: begun support for automatic file lists


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2831 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-28 20:32:55 +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
42dc42be81 Again, documentation fixes
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2802 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-27 16:37:51 +00:00
Lutz Mueller
0763f7bba0 Updated to new API
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2788 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-27 08:07:41 +00:00
Lutz Mueller
5d75a3977b Take previews continuously
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2756 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-26 12:37:26 +00:00
Lutz Mueller
7a78a3261f Use render instead of renderpalette...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2755 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-26 12:21:50 +00:00
Lutz Mueller
f83ebcd01d 2001-10-16 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* frontends/command-line/gphoto2-cmd-capture.c: Adjust brighness
          and contrast with arrow keys


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2754 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-26 11:09:38 +00:00
Lutz Mueller
eb62663081 Remove cruft
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2753 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-26 07:39:54 +00:00
Lutz Mueller
f71f5df658 Make resizing work
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2751 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-26 07:11:55 +00:00
Lutz Mueller
a1f9283ed8 If not HAVE_JPEG, skip the preview instead of failing.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2746 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-25 22:56:59 +00:00
Lutz Mueller
6178dba97a 2001-10-26 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* configure.in: Check for jpeglib and aalib.
        * frontends/command-line/main.c
        * frontends/command-line/Makefile.am
        * frontends/command-line/gphoto2-cmd-capture.[c,h]: New. Display
          the preview prior saving it.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2745 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-25 22:53:50 +00:00
Lutz Mueller
74365008dc 2001-10-25 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* frontends/command-line/main.c: Remember --camera and --port


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2739 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-25 11:37:45 +00:00
Lutz Mueller
867b2b4f5f 2001-10-25 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* frontends/command-line/main.c: Adapt to changes in gphoto2-port
        * libgphoto2: Here, too.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2735 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-25 07:12:56 +00:00
Hans Ulrich Niedermann
02e82bb49c added debug output of guessed port
moved debugging interface to final log level handling


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2721 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-24 21:48:32 +00:00
Lutz Mueller
b1b98b4996 Rearrange a bit in preparation of some additions...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2715 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-24 17:29:08 +00:00
Lutz Mueller
8561471d4e Small fix.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2714 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-24 14:41:25 +00:00
Lutz Mueller
87334eba31 2001-10-24 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* configure.in
        * acconfig.h: Check for CDK
        * frontends/command-line/Makefile.am
        * frontends/command-line/gphoto2-cmd-config.[c,h]: New
        * frontends/command-line/main.c: Hook up --config


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2713 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-24 14:31:00 +00:00
Lutz Mueller
e19c48d4ea 2001-10-23 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
Bug reported by David Robert <david@ombrepixel.com>:

        * frontends/command-line/shell.c: Fix bug (leading blanks with
          filenames)


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2709 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-23 19:57:37 +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
1e2bac556b 2001-10-22 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* frontends/command-line/main.c: Don't use gphoto2-core.h - use
          gphoto2-abilities-list.h.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2689 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-22 12:40:05 +00:00