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
Scott Fritzinger
a5f243e0fe
added widget refs and widget value changes
...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1181 67ed7778-7388-44ab-90cf-0a291f65f57c
2000-10-11 18:29:04 +00:00
Lutz Mueller
eb80abf145
Added ref_count to CameraFile struct.
...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1180 67ed7778-7388-44ab-90cf-0a291f65f57c
2000-10-11 17:47:13 +00:00
Lutz Mueller
04fc8e9042
Added GP_CAPTURE_PREVIEW and corresponding option to the command-line frontend.
...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1102 67ed7778-7388-44ab-90cf-0a291f65f57c
2000-10-04 09:17:46 +00:00
Scott Fritzinger
a388c2d413
whoops. removed dynamic.h dependency
...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1079 67ed7778-7388-44ab-90cf-0a291f65f57c
2000-09-27 22:05:36 +00:00
Scott Fritzinger
cb81a75d56
fixed debuggin output
...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1069 67ed7778-7388-44ab-90cf-0a291f65f57c
2000-09-26 23:43:39 +00:00
Scott Fritzinger
ab3af6f0dc
added callback functionality to the widgets
...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1048 67ed7778-7388-44ab-90cf-0a291f65f57c
2000-09-14 21:14:09 +00:00
Scott Fritzinger
74c088d8a9
renamed gp_camera_message/status/... to gp_frontend_message/... added gp_frontend_prompt, added gp_camera_init, replace camera_config_set/get with camera_config, other misc fixes
...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1033 67ed7778-7388-44ab-90cf-0a291f65f57c
2000-09-13 20:50:33 +00:00
Scott Fritzinger
a18475f57b
build flag updates
...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1017 67ed7778-7388-44ab-90cf-0a291f65f57c
2000-09-07 18:37:51 +00:00
Scott Fritzinger
44044bd181
added port.h
...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1015 67ed7778-7388-44ab-90cf-0a291f65f57c
2000-09-07 17:53:48 +00:00
Scott Fritzinger
dc8dbd0e63
organizing code
...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1014 67ed7778-7388-44ab-90cf-0a291f65f57c
2000-09-07 17:43:19 +00:00
Scott Fritzinger
f701975a61
added camera capture support
...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1013 67ed7778-7388-44ab-90cf-0a291f65f57c
2000-09-06 22:41:30 +00:00
Scott Fritzinger
efecb7b27c
added Kodak DC120 library. fixed gp_filesystem.
...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1006 67ed7778-7388-44ab-90cf-0a291f65f57c
2000-09-06 16:23:05 +00:00