Commit Graph

131 Commits

Author SHA1 Message Date
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
Scott Fritzinger
d336ba802d replaced abilities capture with capture_setting
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1681 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-03-07 17:12:34 +00:00
Scott Fritzinger
2937a467fa changed camera_capture API, added camera_file_info, added serial_flush
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1680 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-03-07 17:02:22 +00:00
bvl
7bdd855856 bvl: OS/2 updates and stupid bugfix in libgphoto2_port\library.c
sorry folks


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1632 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-03-01 00:16:42 +00:00
bvl
9f4241fa1b bvl: OS/2 build updates/changes
sonydscf1 development continued


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1630 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-02-28 22:34:44 +00:00
bvl
5966d9b44f bvl: OS/2 updates
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1621 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-02-26 23:29:31 +00:00
Lutz Mueller
927d83bde5 More error checking...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1586 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-02-19 16:02:10 +00:00
Lutz Mueller
5940b3e318 Once again: Better error checking and passing.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1534 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-01-23 20:10:08 +00:00
Lutz Mueller
3d7fe225b3 Better error checking.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1533 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-01-23 19:51:55 +00:00
Lutz Mueller
456ca53b9f Fixed error handling which was broken due to API changes.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1531 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-01-23 12:14:43 +00:00
Scott Fritzinger
ded91bec92 finished GP_PORT renaming
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1527 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-01-22 21:25:25 +00:00
Scott Fritzinger
3dd042f150 added libgphoto2_port into tree. ouch.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1526 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-01-22 19:19:02 +00:00
Lutz Mueller
88fc3040ce Remove unused global variable glob_abilities.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1521 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-01-18 22:25:42 +00:00
Lutz Mueller
416f05b22a Remove --port requirement. Let libgphoto2 report error (until auto-probe is implemented).
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1520 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-01-18 22:18:11 +00:00
Lutz Mueller
6d1d368b70 Use gp_camera_result_as_string instead of gp_result_as_string.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1519 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-01-17 16:38:43 +00:00
Lutz Mueller
de1289c3ef Let the command line frontend report errors.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1518 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-01-17 16:28:47 +00:00
Lutz Mueller
7020e3d72f Don't require the --camera option.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1516 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-01-16 12:18:06 +00:00
Lutz Mueller
ea00e0efca Move loading of library to gp_camera_init. This is in order to make auto-detection possible.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1514 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-01-16 12:01:51 +00:00
Lutz Mueller
7dd3b98242 API change: gp_camera_init (Camera *camera, CameraInit *init) -> gp_camera_init (Camera *camera).
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1504 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-01-09 18:58:09 +00:00
Scott Fritzinger
af4f5584b1 added updated dc240 library. needs testing
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1378 67ed7778-7388-44ab-90cf-0a291f65f57c
2000-12-04 23:16:52 +00:00
Scott Fritzinger
fa06d011bc fixed sierra. minor patches
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1375 67ed7778-7388-44ab-90cf-0a291f65f57c
2000-12-02 00:06:55 +00:00
bvl
9b479cc4aa OS/2 Updates
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1369 67ed7778-7388-44ab-90cf-0a291f65f57c
2000-11-30 23:27:41 +00:00