| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@14610 67ed7778-7388-44ab-90cf-0a291f65f57c
|
|
|
|
| |
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@12755 67ed7778-7388-44ab-90cf-0a291f65f57c
|
|
|
|
| |
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@10643 67ed7778-7388-44ab-90cf-0a291f65f57c
|
|
|
|
| |
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@10328 67ed7778-7388-44ab-90cf-0a291f65f57c
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
removed the literal (c) symbol.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@8818 67ed7778-7388-44ab-90cf-0a291f65f57c
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@6924 67ed7778-7388-44ab-90cf-0a291f65f57c
|
|
|
|
| |
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@5969 67ed7778-7388-44ab-90cf-0a291f65f57c
|
|
|
|
| |
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@5859 67ed7778-7388-44ab-90cf-0a291f65f57c
|
|
|
|
| |
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@5776 67ed7778-7388-44ab-90cf-0a291f65f57c
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
| |
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3666 67ed7778-7388-44ab-90cf-0a291f65f57c
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
| |
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3082 67ed7778-7388-44ab-90cf-0a291f65f57c
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
| |
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2798 67ed7778-7388-44ab-90cf-0a291f65f57c
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
| |
* 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
|
|
* 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
|