summaryrefslogtreecommitdiff
path: root/libgphoto2/gphoto2-result.c
Commit message (Collapse)AuthorAgeFilesLines
* Factor out i18n stuff into separate i18n.h filesHans Ulrich Niedermann2021-10-251-13/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Factor out the i18n definitions into i18n.h include files: One include file each for libgphoto2 and for libgphoto2_port. This removes the complete #ifdef ENABLE_NLS # include <libintl.h> # undef _ # define _(String) dgettext (GETTEXT_PACKAGE, String) # ifdef gettext_noop # define N_(String) gettext_noop (String) # else # define N_(String) (String) # endif #else # define _(String) (String) # define N_(String) (String) #endif block (which in some occasions defines even more macros) and replaces it with a single line #include "libgphoto2/i18n.h" for camlibs and libgphoto2 itself and with #include "libgphoto2_port/i18n.h" for iolibs and libgphoto2_port itself. This gives us two central locations to change the defintions.
* Remove trailing whitespace from all *.h and *.c files.Siim Meerits2020-07-271-5/+5
|
* updated fsf addressMarcus Meissner2014-01-011-2/+2
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@14610 67ed7778-7388-44ab-90cf-0a291f65f57c
* added usbdiskdirect stuff, new error codeMarcus Meissner2010-03-131-0/+1
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@12755 67ed7778-7388-44ab-90cf-0a291f65f57c
* comment tuningHans Ulrich Niedermann2007-09-041-1/+1
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@10643 67ed7778-7388-44ab-90cf-0a291f65f57c
* doxygenifiedMarcus Meissner2007-05-261-4/+7
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@10328 67ed7778-7388-44ab-90cf-0a291f65f57c
* marked up some files for doxygen.Marcus Meissner2007-05-201-1/+1
| | | | | | | marked 2 unexported variables static in gphoto2-settings.c. git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@10264 67ed7778-7388-44ab-90cf-0a291f65f57c
* Consistently use #include <gphoto2/gphoto2-foo.h> everywhere.Hans Ulrich Niedermann2006-09-281-1/+1
| | | | | | | | | | This moves the header files to a new subdirectory gphoto2 in both libgphoto2 and libphoto2_port/libgphoto2. All references are adapted appropriately. git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@9221 67ed7778-7388-44ab-90cf-0a291f65f57c
* another set of doxygen annotation changes from Steve Fox.Marcus Meissner2006-05-251-1/+1
| | | | | | | removed the literal (c) symbol. git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@8818 67ed7778-7388-44ab-90cf-0a291f65f57c
* Added two new error codes:Stephen H. Westin2004-12-171-0/+2
| | | | | | | | GP_ERROR_CAMERA_ERROR for errors reported by the camera GP_ERROR_OS_FAILURE for errors reported by the operating system git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7447 67ed7778-7388-44ab-90cf-0a291f65f57c
* * libgphoto/gphoto-result.h: Add gcc attributesMarcus Meissner2004-08-221-2/+2
| | | | | | | | | | | | | to specify format strings, so the compiler can warn about misuse. * libgphoto2/gphoto2-filesys.c: Fixed 2 problems with format strings / arguments. * libgphoto2/gphoto2-result.h: Translate libgphoto errors. git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7285 67ed7778-7388-44ab-90cf-0a291f65f57c
* Return GP_ERROR_CAMERA_BUSY if a command or I/O is in progress.Patrick Mansfield2003-11-171-0/+1
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@6924 67ed7778-7388-44ab-90cf-0a291f65f57c
* replace (c) and (C) by �Arnaud Launay2002-12-151-1/+1
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@5969 67ed7778-7388-44ab-90cf-0a291f65f57c
* <config.h> -> "config.h"Arnaud Launay2002-11-291-1/+1
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@5859 67ed7778-7388-44ab-90cf-0a291f65f57c
* gettext stuff for ArnaudHans Ulrich Niedermann2002-11-231-1/+1
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@5776 67ed7778-7388-44ab-90cf-0a291f65f57c
* 2002-01-15 Lutz M�ller <lutz@users.sourceforge.net>Lutz Mueller2002-01-151-2/+3
| | | | | | | * libgphoto2/*.h: Fix headers: no config.h, ifdef __cplusplus ... git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3900 67ed7778-7388-44ab-90cf-0a291f65f57c
* Include stddef.h to get definition of NULLDan Fandrich2002-01-021-0/+1
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3666 67ed7778-7388-44ab-90cf-0a291f65f57c
* 2001-12-28 Lutz M�ller <urc8@rz.uni-karlsruhe.de>Lutz Mueller2001-12-281-10/+19
| | | | | | | | | * libgphoto2/gphoto2-file.[c,h]: Implement progress reporting here. That makes file upload and file download cancellable. * frontends/command-line/main.c: Use file-specific progress reporting. git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3600 67ed7778-7388-44ab-90cf-0a291f65f57c
* More translation fixes.Lutz Mueller2001-11-171-7/+7
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3082 67ed7778-7388-44ab-90cf-0a291f65f57c
* 2001-11-04 Stephane Castejon <scastejo@club-internet.fr>Stephane Castejon2001-11-041-1/+0
| | | | | | | | | * liggphoto2/gphoto2-result.c,h : remove GP_ERROR_LOW_BATTERY * camlibs/sierra/library.c : add an error message regarding the low battery level. git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2912 67ed7778-7388-44ab-90cf-0a291f65f57c
* 2001-11-03 Stephane Castejon <scastejo@club-internet.fr>Stephane Castejon2001-11-031-0/+1
| | | | | | | | | | | | * camlibs/sierra/sierra.c,h * camlibs/sierra/library.c,h Add support for the upload feature. Replace gp_port_settings_[get/set] by gp_port_[get/set]_settings * liggphoto2/gphoto2-result.c,h : add GP_ERROR_LOW_BATTERY git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2894 67ed7778-7388-44ab-90cf-0a291f65f57c
* Documentation fixesLutz Mueller2001-10-271-1/+0
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2798 67ed7778-7388-44ab-90cf-0a291f65f57c
* 2001-10-23 Lutz M�ller <urc8@rz.uni-karlsruhe.de>Lutz Mueller2001-10-231-1/+1
| | | | | | | | | | | * 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-16 Lutz M�ller <urc8@rz.uni-karlsruhe.de>Lutz Mueller2001-10-161-1/+0
| | | | | | | | * libgphoto2/gphoto2-result.[c,h]: GP_ERROR_NOT_SUPPORTED now in libgphoto2_port. git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2547 67ed7778-7388-44ab-90cf-0a291f65f57c
* 2001-10-14 Lutz M�ller <urc8@rz.uni-karlsruhe.de>Lutz Mueller2001-10-141-0/+74
* libgphoto2/gphoto2-result.[c,h]: Documented. git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2513 67ed7778-7388-44ab-90cf-0a291f65f57c