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
Lutz Mueller
9be99d5e66
2001-10-22 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
...
* frontends/command-line/main.c: Adjust to changes in
gphoto2-port-log.h.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2687 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-22 10:55:27 +00:00
Lutz Mueller
aef1d17990
Not very clever fix that tries to clear the status message by printing a whole lot of blanks...
...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2685 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-22 10:36:32 +00:00
Lutz Mueller
8f5bce99e4
2001-10-22 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
...
* libgphoto2/gphoto2-camera.c: Autodetect also in case of
camera->port != NULL.
* frontends/command-line/main.c: Only call gp_camera_set_abilities
if a model has been specified. Same with gp_camera_set_port_path.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2682 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-22 06:29:29 +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
Dan Fandrich
1c8733ea1c
Added code to guess at the port type when it isn't specified.
...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2634 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-19 20:17:09 +00:00
Lutz Mueller
b83bcadd99
2001-10-18 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
...
* frontends/command-line/main.c: Port to gp_log
* libgphoto2/gphoto2-debug.[c,h]: Clean up even more.
* po/POTFILES.in: Add frontends/command-line/main.c
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2611 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-18 17:06:52 +00:00
Lutz Mueller
79ca233b97
2001-10-18 Fredrik <fredrik@krixor.xy.org>
...
* frontends/command-line/main.c: Only try to set port speed if port
begins with 'serial' since gp_camera_set_port_speed() now fails
if called for non-serial port.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2607 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-18 11:13:43 +00:00
Lutz Mueller
464828a9ee
Fix mem-leak.
...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2583 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-17 13:21:02 +00:00
Lutz Mueller
0f93c2d58a
2001-10-17 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
...
* frontends/command-line/main.c: Use gp_log.
* libgphoto2/gphoto2-debug.[c,h]: Use gp_log.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2579 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-17 09:24:30 +00:00
Hans Ulrich Niedermann
dd0c9fb0fc
added --print-usb-usermap command
...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2556 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-16 17:54:07 +00:00
Lutz Mueller
2ae7089818
2001-10-16 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
...
* frontends/command-line/main.c: Use gp_camera_set_abilities.
* include/gphoto2-camera.h:
* libgphoto2/camera.c:Introduce gp_camera_[set,get]_abilities.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2552 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-16 17:30:13 +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
c222d7e261
*** empty log message ***
...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2500 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-12 14:46:03 +00:00
Lutz Mueller
f6ced7cf4e
2001-10-11 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
...
* camlibs/canon/psa50.c
* camlibs/dimera/dimera3500.c:
* camlibs/kodak/dc120/library.c:
* camlibs/kodak/dc240/library.c:
* camlibs/kodak/dc3200/library.c:
* camlibs/panasonic/dc1000.c:
* camlibs/panasonic/dc1580.c:
* camlibs/panasonic/l859/l859.c:
* camlibs/sierra/library.c:
* frontends/command-line/interface.c: Unify percentage handling and
define 0.0 <= percentage <= 1.0.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2487 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-11 22:01:25 +00:00