Commit Graph

152 Commits

Author SHA1 Message Date
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
Lutz Mueller
8709af2d56 2001-08-27 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* include/gphoto2-core.h:
        * libgphoto2/core.c (gp_autodetect): Revert an API change I committed
        by error. Sorry.
        * libgphoto2/camera.c:
        * frontends/command-line/main.c: Here too.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2085 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-08-27 07:58:03 +00:00
Lutz Mueller
506d0b6591 2001-08-26 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* camlibs/dimera3500.c: Move the raw->pnm conversion ...
        * include/gphoto2-file.h:
        * libgphto2/file.c: ... here. Now, other camera drivers can use this,
        too.
        * include/gphoto2-core.c:
        * libgphoto2/core.c: Small change to make the API consistent.
        * frontends/command-line/main.c: Add possibility for download of raw
        data.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2077 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-08-26 10:42:54 +00:00
Lutz Mueller
3d950c6be6 2001-08-25 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* include/gphoto2-file.h:
        * include/gphoto2-library.h:
        * include/gphoto2-camera.h: Support for raw data.
        * libpghoto2/file.c: Adjust to above changes.
        * libgphoto2/frontend.c: Kill a warning.
        * libgphoto2/libgphoto-2.0.pc.in: CFlags -> Cflags
        * libgphoto2/widget.c: Include gphoto2-result.h instead of gphoto2.h
        * camlibs/*: Prepare support for download of raw data. Remove lots of
        redundant code (people just copied & pasted the code for file_get
        and file_get_preview...). I hope everything works as it did before.
        * frontend/command-line/*: Prepare support for download of raw data


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2072 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-08-25 18:14:25 +00:00
Lutz Mueller
3e2bbb93b9 2001-08-24 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* camlibs/agfa-cl18/agfa.c: Use gp_file_* instead of directly
        accessing the struct.
        * camlibs/barbie/barbie.c: And here.
        * camlibs/directory/directory.c: And here.
        * camlibs/konica/library.c: And here.
        * camlibs/sierra/sierra.c: And here.
        * camlibs/panasonic/l859/l859.c: And here.
        * camlibs/dimera/dimera3500.c: And here.
        * frontends/command-line/main.c: And here.
        * libgphoto2/camera.c: And here.
        * libgphoto2/file.c:
        * include/gphoto2-file.h: Introduce some more gp_file_* functions.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2059 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-08-23 12:02:20 +00:00
Lutz Mueller
bca686fbfd 2001-08-24 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* include/gphoto2-file.h: Make gp_file_new return an error code.
        * */*: Adjust everything for above change.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2054 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-08-23 08:59:22 +00:00
Stephane Castejon
e8e17623d7 2001-08-22 Stephane Castejon <scastejo@club-internet.fr>
* frontends/command-line/main.c : fix option --debug so that it
	  really set the GP_DEBUG_HIGH mode.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2048 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-08-22 19:37:46 +00:00
Lutz Mueller
abe27e1c98 2001-08-22 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* */*: Small parameter changes to make gphoto2 API more consistent.
        More to follow.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2046 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-08-22 18:09:42 +00:00
Lutz Mueller
a8d8eb4870 2001-08-19 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* configure.in: -Wmissing-prototypes -Wmissing-declarations
        * camlibs/agfa-cl18/commands.c:
        * camlibs/agfa-cl18/usb.c:
        * frontends/command-line/foreach.c:
        * frontends/command-line/interface.c:
        * frontends/command-line/main.c:
        * frontends/command-line/options.c:
        * frontends/command-line/range.c:
        * frontends/command-line/shell.h:
        * include/gphoto2-file.h:
        * libgphoto2/file.c: First step towards a compilation with -Werror


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2017 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-08-19 21:38:48 +00:00
Lutz Mueller
f2bc06c8d5 2001-08-17 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* tests/*: New
        * configure.in:
        * Makefile.am: Add tests to SUBDIRS and generate the Makefile
        * frontents/command-line/test.[c,h]: Removed
        * frontends/command-line/main.c:
        * frontents/command-line/Makefile.am: Reflect changes


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1999 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-08-17 22:35:50 +00:00
Lutz Mueller
cbf3e936e7 2001-08-17 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* frontends/command-line/Makefile.am: Remove reference to
        libgphoto2_frontend.la which wasn't needed anyways.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1996 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-08-17 21:59:44 +00:00
bvl
058c6ee5e1 bvl: OS/2 update
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1930 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-07-19 22:52:46 +00:00
Gus Hartmann
881df42322 Modified command line options to more consistently use the term 'image'
instead of 'picture'. Previously, the two terms were used interchangably,
which lead to some confusion.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1896 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-07-06 07:02:58 +00:00
Scott Fritzinger
7586d6c49a added Dan Fandrich's patches
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1812 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-03-31 19:00:01 +00:00
Scott Fritzinger
479f3eba0e added gp_autodetect to the core
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1801 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-03-28 18:01:54 +00:00
Lutz Mueller
3aab03700d Another patch from Colin Marquardt regarding translation.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1779 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-03-20 09:30:12 +00:00
Lutz Mueller
dd13ff1183 Fix -a option. Thanks to Dan Fandrich.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1741 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-03-13 18:48:55 +00:00
Lutz Mueller
f384e17c71 Changed some "char *" to "const char *".
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1734 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-03-13 11:47:41 +00:00
bvl
0b11738ebd bvl: Updated complete OS/2 Make system
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1731 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-03-13 00:51:15 +00:00
Scott Fritzinger
73ea02062f finished updating backend API. fixed camera_capture hack
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1727 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-03-12 18:54:40 +00:00
Lutz Mueller
9105dd3c7f Renamed some functions in gphoto2-camera.h.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1697 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-03-09 22:57:18 +00:00
Lutz Mueller
3337453246 GP_FOLDER_OPERATION_PUT_FILE instead of simply GP_FOLDER_OPERATION_PUT. It could be that we find cameras that support remote creation of folders.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1690 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-03-08 14:03:27 +00:00
Lutz Mueller
c976213d13 Ifdef'd out not compiling code. Introduced abilities->file_operations and abilities->folder_operations. Renamed gp_file_delete_all in gp_folder_delete_all. Other clean up.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1687 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-03-08 11:14:22 +00:00