Commit Graph

269 Commits

Author SHA1 Message Date
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
Lutz Mueller
9de2d0ec43 2001-10-10 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* frontends/command-line/interface.c: Don't jump to the next line
          for status messages - this disturbs the nice formatting of listings.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2474 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-10 09:44:22 +00:00
Lutz Mueller
f630cceb1b 2001-10-09 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* camlibs/casio/casio-qv.c: On capture, append the file to the
          filesystem
        * camlibs/polaroid/pdc640.c: Here, too.
        * include/gphoto2-camera.h: Add some more warnings
        * libgphoto2/filesys.c:
        * include/gphoto2-filesys.h: We don't need to expose
          gp_filesystem_folder_number, that doesn't make sense


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2464 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-09 17:26:07 +00:00
Lutz Mueller
648a547376 2001-10-08 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* include/gphoto2-frontend.h
        * libgphoto2/frontend.c: Removed
        * command-line
        * include/Makefile.am
        * libgphoto2: Remove references to above


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2445 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-08 10:16:52 +00:00
Lutz Mueller
d9fbdff268 gp_frontend_message -> gp_camera_message
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2442 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-08 09:51:38 +00:00
Lutz Mueller
7d8e842fb1 Reorder gp_camera_set_[status,progress]_func
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2433 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-08 07:44:28 +00:00
Lutz Mueller
38d918b76e 2001-10-08 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* libgphoto2/camera.c
        * include/gphoto2-camera.h (gp_camera_status*), (gp_camera_progress*):
        New


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2432 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-08 07:41:04 +00:00
Lutz Mueller
e65b39d675 2001-10-06 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* configure.in: Bump version up to 2.0beta3

2001-10-06  Lutz M�ller <urc8@rz.uni-karlsruhe.de>

        Patch from Hans Ulrich Niedermann <hun@n-dimensional.de>:

        * frontends/command-line: Add --version


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2410 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-06 23:47:54 +00:00
Fabrice Bellet
9f6cc06c6b 2001-10-05 Fabrice Bellet <fabrice@gnu.org>
* frontends/command-line/actions.c:
	* frontends/command-line/foreach.c:
	* frontends/command-line/main.c: Print directory names at
	each step of the recursion when using '--list-folders --recurse'.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2392 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-05 14:04:34 +00:00
Fabrice Bellet
46160ac5f6 2001-10-05 Fabrice Bellet <fabrice@gnu.org>
* command-line/actions.c:
	* command-line/actions.h:
	* command-line/foreach.c:
	* command-line/main.c: The --recurse option should now work
	with --get-all-thumbnails, --get-all-images, --get-all-raw-data,
	--list-files and --list-folders.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2390 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-05 10:47:13 +00:00
Lutz Mueller
4afcf0d3f1 2001-10-04 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* camlibs/konica/library.c: const
        * frontents/command-line/main.c: Print out last debugging messages
        on error
        * include/gphoto2-debug.h:
        * libgphoto2/debug.c: Remember history
        * include/gphoto2-result.h:
        * libgphoto2/result.c: Revert the result_as_description thing


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2375 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-04 16:11:43 +00:00
Lutz Mueller
75a62a299f 2001-10-03 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* frontends/command-line/main.c: Print out additional information
        on error.
        * include/gphoto2-result.h:
        * libgphoto2/result.c (gp_result_as_description): New.

CVS


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2366 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-03 14:48:08 +00:00
Lutz Mueller
9c2cc70d6b 2001-09-24 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* frontends/command-line/main.c: glob_debug is now static in libgphoto2


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2317 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-24 06:46:03 +00:00
Lutz Mueller
2a059fc96e Forgot that...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2302 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-22 10:05:43 +00:00
bvl
95e1767b78 bvl: OS/2 Updates
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2207 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-07 20:02:33 +00:00
Lutz Mueller
28ceb67ece 2001-09-02 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* frontends/command-line/options.c: #include <config.h>


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2164 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-02 08:19:22 +00:00
Lutz Mueller
06c627f6f5 2001-08-31 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* configure.in: Added polaroid.
        * camlibs/samsung/samsung.c: Added GP_DRIVER_STATUS_EXPERIMENTAL;
        * frontends/command-line/main.c: print the EXPERIMENTAL/TESTING flag
        * include/gphoto2-abilities.h:
        * libgphoto2/abilities.c: Added CameraDriverStatus
        * camlibs/polaroid/pdc320.c:
        * camlibs/polaroid/Makefile.am: New


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2156 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-08-31 20:49:33 +00:00
Lutz Mueller
205d6f1081 2001-08-29 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* camlibs/sierra/*:
        * camlibs/directory/directory.c (camera_folder_list_folders),
        (camera_folder_list_files), (camera_file_[get,set]_info): Removed.
        Use the camera->fs. Use camera->port.
        * camlibs/*: camera->port->* -> camera->port_info->*
        * include/gphoto2-camera.h:
        * libgphoto2/camera.c: Open the port before accessing a camera,
        close it after.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2115 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-08-29 10:09:57 +00:00
Lutz Mueller
db161947e9 2001-08-27 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* include/gphoto2-filesys.h:
        * libgphoto2/filesys.c: Cache folders and files, too (that is, only
        query them from the camera when needed.
        * frontends/command-line/main.c: Don't require a port with
        "Directory Browse".
        * camlibs/konica/library.c: Use the new functions
        * camlibs/directory/directory.[c,h]: Use the filesystem
        * tests/test-filesys.c: Demonstrate the use of the new functions.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2095 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-08-27 17:13:55 +00:00
Lutz Mueller
90daea45ad 2001-08-27 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
Suggestion from Ilya Konstantinov <gphoto-devel@future.galanet.net>:

        * include/gphoto2-camera.h:
        * libgphoto2/camera.c (gp_camera_[get,set]_port_name) and
        (gp_camera_[get,set]_port_path): New
        * frontends/command-line/main.c: Call those functions.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2091 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-08-27 14:48:56 +00:00