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
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
5925f61737
2001-08-20 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
...
* doc/OVERVIEW: Cruft, not up to date, incorrect. Removed.
* doc/NOTES: Redundant. Removed.
* libgphoto2/camera.c: Be nice to frontend-writers, call gp_init if
it hasn't been called yet on gp_camera_new.
* libgphoto2/core.c: Same here with gp_autodetect and gp_camera_count.
* include/gphoto2-core.h: Kill compile warning
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2025 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-08-20 15:59:19 +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
ce9063beb2
2001-08-19 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
...
* configure.in: Don't generate camlibs/template/Makefile
* libgphoto2/filesys.c:
* include/gphoto2-filesys.h (gp_filesystem_delete_all): New
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2013 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-08-19 13:00:44 +00:00
Lutz Mueller
7cea530666
2001-08-19 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
...
* include/gphoto2-filesys.h:
* libgphoto2/filesys.c (gp_filesystem_get_folder): New
* libgphoto2/widget.c (gp_widget_get_parent): Corrected typo
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2010 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-08-19 12:07:16 +00:00
Lutz Mueller
332a78a0e2
2001-08-18 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
...
* include/gphoto2-widget.h:
* libgphoto2/widget.c (gp_widget_get_parent): New function
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2006 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-08-18 16:52:56 +00:00
Lutz Mueller
ff4be46cec
2001-08-18 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
...
* include/Makefile.am: Oops, add gphoto2-result.h.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2005 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-08-18 16:47:43 +00:00
Lutz Mueller
6b2e913e1e
2001-08-18 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
...
* README: Add notice about USB Mass Storage cameras.
* include/*:
* libgphoto2/*: Major cleanup - add licence notice to begin of each
file, remove unused files/functions, ...
* camlibs/konica/Makefile.am: There's no ChangeLog here...
* tests/test-gphoto2.c: Adjust headers
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2003 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-08-18 14:39:12 +00:00
Lutz Mueller
5e52f2dbab
2001-08-17 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
...
* include/gphoto2-camera.h:
* include/gphoto2-file.h:
* include/gphoto2-widget.h: Sort some stuff, put in LGPL notice.
* libgphoto2/widget.c: Hide CameraWidget internals here. No need to
publish all that stuff.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2002 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-08-18 01:07:46 +00:00
Lutz Mueller
39657609dd
2001-08-17 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
...
* include/gphoto2-datatypes.h: Move the declaration of the lists to ...
* include/gphoto2-lists.h: ... here. This is a first step towards
cleaning up the include-mess. Realized that CameraListType isn't
needed at all - removed.
* include/gphoto2-filesys.h: Hide the actual contents of
the CameraFilesystem ...
* libgphoto2/filesys.c ... here. The normal user doesn't need to
know what's inside.
* libgphoto2/core.c:
* libgphoto2/lists.c:
* camlibs/*: Reflect above changes
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2001 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-08-18 00:03:06 +00:00
Lutz Mueller
88761a470c
2001-08-08 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
...
* camlibs/sierra/library.[c,h]: (do_capture): Return the right location
of the picture (on my camera, it is in /DCIM/100OLYMP)
(sierra_file_count): Move that function into ...
* camlibs/sierra/sierra.c: (update_fs_for_folder): New. Check the
contents of the camera once at the beginning (init), then don't access
the card anymore.
(camera_init): Populate the filesystem
(camera_folder_list_files): Use gp_filesystem_list_files
(camera_folder_list_folders): Use gp_filesystem_list_folders
(camera_file_get_info): The thumbnails aren't in quicktime format
(camera_capture): Add the picture to the filesystem
* include/gphoto2-filesys.h:
* libgphoto2/filesys.c: (gp_filesystem_append): Allow filename == NULL
for appending just folders
(gp_filesystem_dump): New
(gp_filesystem_list_files): New
(gp_filesystem_list_folders): New
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1973 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-08-08 19:48:43 +00:00
Scott Fritzinger
b70083145d
added widget name
...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1804 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-03-30 18:18:27 +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
48dbaf845d
Added some information to some widgets.
...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1776 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-03-19 16:06:19 +00:00
Lutz Mueller
a194588765
Documented widget.c. Changed naming/parameters/return values of some
...
functions there to be consistent.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1770 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-03-19 10:48:44 +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
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
624c7e3164
Implemented file_info_set for directory.
...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1692 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-03-08 18:07:51 +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
8e4f83c3fb
gphoto2-port.h is in gphoto2-port.
...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1688 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-03-08 11:35:39 +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
3c5e1fd9d7
changed GP_CAMERA_FILE_* to just GP_FILE_*
...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1682 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-03-07 17:33:07 +00:00
Lutz Mueller
58e132fe20
Added CameraConfigType: GP_CONFIG_CAMERA, GP_CONFIG_FOLDER, GP_CONFIG_FILE.
...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1645 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-03-03 15:07:15 +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
108b1e5167
bvl: OS/2 platform dependant include file
...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1622 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-02-26 23:35:52 +00:00
Lutz Mueller
42e2b01686
Added reference to root.
...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1570 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-02-13 19:50:16 +00:00
Scott Fritzinger
860a08d6a7
put CameraPortInfo and gp_port_info together
...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1548 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-01-24 21:12:48 +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
a7b7df8acc
removed gphoto2-port.h from gphoto2 include
...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1528 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-01-22 21:30:14 +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
Scott Fritzinger
2844640b06
added fab's patches for sierra/canon/sony/build
...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1522 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-01-19 17:42:44 +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
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
f2b07bb85b
extern "C" for c++
...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1508 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-01-09 22:48:03 +00:00
Lutz Mueller
1c8ae9a440
Removed debug in the Camera struct. We use gp_debug_printf, nothing else.
...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1506 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-01-09 20:04:01 +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
Lutz Mueller
d27e931733
GP_CAPTURE_NONE introduced.
...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1454 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-01-01 12:04:11 +00:00
Lutz Mueller
39fc7884f0
Added ID to CameraWidget struct.
...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1441 67ed7778-7388-44ab-90cf-0a291f65f57c
2000-12-31 01:21:12 +00:00
Lutz Mueller
030af07695
Added configuration options for cameras, folders and files.
...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1426 67ed7778-7388-44ab-90cf-0a291f65f57c
2000-12-27 23:58:58 +00:00
Lutz Mueller
5c9d46c9ca
gphoto2-frontend.h added to gphotohead_HEADERS
...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1397 67ed7778-7388-44ab-90cf-0a291f65f57c
2000-12-20 20:46:51 +00:00
bvl
585cb712d0
OS/2 Update
...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1360 67ed7778-7388-44ab-90cf-0a291f65f57c
2000-11-30 22:22:24 +00:00
Lutz Mueller
728f4e3a02
Support for GP_ERROR variations added.
...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1347 67ed7778-7388-44ab-90cf-0a291f65f57c
2000-11-28 21:05:48 +00:00
Lutz Mueller
d4d9e1ea86
New GP_ERROR variations.
...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1344 67ed7778-7388-44ab-90cf-0a291f65f57c
2000-11-28 12:32:15 +00:00
Scott Fritzinger
afe030cac5
updated value_set/get to use char* references and strdup
...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1202 67ed7778-7388-44ab-90cf-0a291f65f57c
2000-10-13 18:50:34 +00:00
Scott Fritzinger
e7f8142079
added ref/unref for camera and file
...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1188 67ed7778-7388-44ab-90cf-0a291f65f57c
2000-10-11 23:30:51 +00:00
Scott Fritzinger
c139e5308a
added camerafile ref/unref
...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1182 67ed7778-7388-44ab-90cf-0a291f65f57c
2000-10-11 19:16:38 +00:00