Commit Graph

42 Commits

Author SHA1 Message Date
Arnaud Launay
b9d58ca88b replace (c) and (C) by �
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@5969 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-12-15 11:45:10 +00:00
Arnaud Launay
64e420e288 <config.h> -> "config.h"
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@5859 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-11-29 16:09:58 +00:00
Hans Ulrich Niedermann
917ba5e7c3 gettext stuff for Arnaud
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@5776 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-11-23 00:47:57 +00:00
Marcus Meissner
efbc719fd4 * Added missing GPContext* arguments.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3844 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-13 10:19:19 +00:00
Lutz Mueller
0dedb0e163 2002-01-10 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* libgphoto2/gphoto2-filesys.[c,h]: Add a GPContext to all functions
          that potentially access the camera. This makes cancelling of
          all operations possible and improves error reporting.
        * tests/test-filesys.c:
        * libgphoto2/gphoto2-camera.c:
        * camlibs: Adjust to reflect above changes


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3798 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-01-10 23:06:56 +00:00
Johannes Erdfelt
3b234b95cc Zero out the CameraAbilities struct so we don't have garbage in fields
This should help fix some of the problems with the new USB class matching
code people have reported


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3628 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-30 18:19:10 +00:00
Lutz Mueller
b219dc05d4 2001-11-26 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* camlibs/directory/directory.c (set_info_func): Rewrite
        * camlibs/ptp/library.c:
        * camlibs/fuji/fuji.c: Don't advertise what you don't support.
        * camlibs/konica/library.c (set_info_func): Rewrite
        * libgphoto2: Make *set_info consistent


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3224 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-26 14:00:37 +00:00
Marcus Meissner
1d99ea4f37 * camlibs/template/template.c: Make it compile with current libraries.
Added NLS macros, missing functions, etc.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2893 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-03 14:35:22 +00:00
Marcus Meissner
cee9badffc gp_widget_new template changed
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2891 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-11-03 14:00:19 +00:00
Lutz Mueller
5c77c77bd0 2001-10-27 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* camlibs/canon/canon.c: rmdir/mkdir support
        * camlibs/canon/psa50.c (psa50_directory_operations): Consistently
          return a gphoto2 error code.
        * camlibs/directory: Add rmdir/mkdir support
        * libgphoto2/gphoto2-camera.[c,h]
        * libgphoto2/gphoto2-filesys.[c,h]: Add rmdir/mkdir support


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2823 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-28 07:45:47 +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
2f3fa5134d 2001-10-17 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* README: no glib-dependency any more
        * camlibs: gp_abilities_new doesn't exist any more
        * doc/api: Even more documentation
        * libgphoto2/gphoto2-abiltiies.h: Cleaned up.
        * libgphoto2/gphoto2-abilities-list.c: Documented


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2569 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-16 22:38:58 +00:00
Lutz Mueller
921df845c9 2001-10-10 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* camlibs/template/template.c: Updated.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2475 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-10 16:00:49 +00:00
Lutz Mueller
9c7eff54fe 2001-09-10 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* libgphoto2/camera.c
        (gp_camera_init): Do a simple CHECK_RESULT_OPEN_CLOSE on the init_func
        (gp_camera_set_port): Set the path if the port is a serial one.
        * camlibs/template/template.c:
        * camlibs/sierra/sierra.c:
        * camlibs/samsung/samsung.c:
        * camlibs/polaroid/pdc700.c:
        * camlibs/polaroid/pdc320.c:
        * camlibs/panasonic/coolshot/coolshot.c:
        * camlibs/konica/library.c:
        * camlibs/dimera/mesalib.c:
        * camlibs/digita/usb.c:
        * camlibs/digita/serial.c:
        * camlibs/casio/casio-qv.c:
        * camlibs/canon/serial.c:
        * camlibs/barbie/barbie.c:
        * camlibs/agfa-cl18/agfa.c: Don't open the port. This is always done
        by libgphoto2.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2222 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-10 16:32:38 +00:00
Lutz Mueller
c6577b14dc 2001-08-29 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* camlibs/template/*: Updated
        * include/gphoto2-camera.h: Add a note about c_folder_list_folders and
        c_folder_list_files not to be used. Same with [get,set]_info.
        * include/gphoto2-filesys.h: Remove an uneeded typedef.
        * libgphoto2/filesys.c: Here, too.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2134 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-08-30 09:32:58 +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
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
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
b59e475cbc Use camera->model instead of init->model. This is in preparation of a removal of the CameraInit struct. We'll be using CameraPortInfo instead (hopefully).
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1501 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-01-08 08:43:21 +00:00
Lutz Mueller
35a5b52447 Bring template up to date.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1482 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-01-05 15:59:31 +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
d62e1ebc0e Support for GP_ERROR variations.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1351 67ed7778-7388-44ab-90cf-0a291f65f57c
2000-11-28 21:19:26 +00:00
Scott Fritzinger
e69eee1ffb template camlib builds again. :)
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@946 67ed7778-7388-44ab-90cf-0a291f65f57c
2000-08-22 21:44:06 +00:00
Scott Fritzinger
c6636e4f32 changed prototype for camera_id to use CameraText (sorry everyone\!)
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@829 67ed7778-7388-44ab-90cf-0a291f65f57c
2000-08-04 20:33:29 +00:00
Scott Fritzinger
e17ef1ed61 corrected template directory's port ability
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@772 67ed7778-7388-44ab-90cf-0a291f65f57c
2000-07-27 03:44:00 +00:00
Scott Fritzinger
e793ef954b moved to object-oriented Camera* design
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@754 67ed7778-7388-44ab-90cf-0a291f65f57c
2000-07-25 19:03:56 +00:00
Scott Fritzinger
c1d1805ffc changed _manual, _about, and _summary to use CameraText to guarantee 32k of text space
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@730 67ed7778-7388-44ab-90cf-0a291f65f57c
2000-07-20 02:20:42 +00:00
Scott Fritzinger
cceb770106 updated camera_capture prototype
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@728 67ed7778-7388-44ab-90cf-0a291f65f57c
2000-07-20 01:36:53 +00:00
Scott Fritzinger
69ac337017 converted over to using mime types in CameraFile->type
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@727 67ed7778-7388-44ab-90cf-0a291f65f57c
2000-07-20 01:23:47 +00:00
Scott Fritzinger
5b4ea5f2c8 finished replacing <gpio/gpio.h> with <gpio.h>
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@699 67ed7778-7388-44ab-90cf-0a291f65f57c
2000-07-18 21:12:18 +00:00
Scott Fritzinger
f61d773170 remove camera_debug_set function, moved to CameraInit flag
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@673 67ed7778-7388-44ab-90cf-0a291f65f57c
2000-07-14 20:14:31 +00:00
Scott Fritzinger
2587bbdcce transferred another image. adding configuration dialog widgets. command-line is usable (yay)
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@611 67ed7778-7388-44ab-90cf-0a291f65f57c
2000-06-29 18:57:03 +00:00
Scott Fritzinger
3fad085750 added camera_config_query function. touched up API.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@605 67ed7778-7388-44ab-90cf-0a291f65f57c
2000-06-28 00:48:51 +00:00
Scott Fritzinger
d780c1230c renamed camera_config to camera_config_set and added camera_config_get to facilitate multiple configuration dialogs. added error checking to the front-end.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@603 67ed7778-7388-44ab-90cf-0a291f65f57c
2000-06-27 23:10:02 +00:00
Scott Fritzinger
2e8119de71 added list/set folders to command-line options
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@592 67ed7778-7388-44ab-90cf-0a291f65f57c
2000-06-26 23:29:25 +00:00
Scott Fritzinger
6858325396 readded serial/usb/parallel/ieee1394 flags in CameraAbilities struct. works much nicer
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@583 67ed7778-7388-44ab-90cf-0a291f65f57c
2000-06-24 01:48:24 +00:00
Scott Fritzinger
17c153bbef *added listing of cameras/port to front-end. *added gpio wrapper for device_count/info
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@582 67ed7778-7388-44ab-90cf-0a291f65f57c
2000-06-24 00:39:11 +00:00
Scott Fritzinger
a3701e9b88 reworked abilities (again). more abstract.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@578 67ed7778-7388-44ab-90cf-0a291f65f57c
2000-06-23 00:05:31 +00:00
Scott Fritzinger
3b12bc6dad removed cancel and lock abilities for now. updated library API to reflect the changes. Need to figure out a way to consolidate specialized features.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@577 67ed7778-7388-44ab-90cf-0a291f65f57c
2000-06-22 20:57:35 +00:00
Scott Fritzinger
6b27ca23c6 changed camera_config call. Removed CameraConfigSetting in place of an array of CameraSetting's.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@576 67ed7778-7388-44ab-90cf-0a291f65f57c
2000-06-22 20:46:25 +00:00
Scott Fritzinger
a972a36e78 *revamped CameraAbilities (no more reset/sleep) *making command-line functional *adding error-checking *removed camera_open/close *added camera_debug_set to get more verbose output *other misc.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@571 67ed7778-7388-44ab-90cf-0a291f65f57c
2000-06-22 18:06:34 +00:00
Scott Fritzinger
4d9b9f86fa added template directory for new camera libraries
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@560 67ed7778-7388-44ab-90cf-0a291f65f57c
2000-06-20 18:28:08 +00:00