summaryrefslogtreecommitdiff
path: root/camlibs/casio
Commit message (Collapse)AuthorAgeFilesLines
* camlib build var cleanupHans Ulrich Niedermann2022-09-011-12/+20
| | | | | | | | | | | | | | | Consistently use the same notation and formatting for all camlib Makefile-files, which uses * common $(camlib_cflags) * common $(camlib_cppflags) * common $(camlib_dependencies) * common $(camlib_ldflags) * common $(camlib_libadd) and then groups additional related definitions together, making it obvious when e.g. bar_la_LIBADD adds FOO_LIBS but bar_la_CPPFLAGS forgot to add FOO_CFLAGS.
* 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.
* utf-8: Convert ISO-8859 text to UTF-8Hans Ulrich Niedermann2021-10-092-6/+6
| | | | | | | Convert the easy ISO-8859 text to UTF-8. The difficult ISO-8859 text will will be eliminated by future commits.
* Use consistently named non-reserved CPP macros for header filesHans Ulrich Niedermann2021-10-053-9/+9
| | | | | | | | | | | | | | | | | | | | | | | C preprocessor macros beginning/ending with underscores are reserved for system use as well as macros containing a double underscore anywhere, so application software macros are supposed to be named differently. For a header file gphoto2-abilities-list.h, this consistently uses a macro name LIBGPHOTO2_GPHOTO2_ABILITIES_LIST_H for the usual #ifndef LIBGPHOTO2_GPHOTO2_ABILITIES_LIST_H #define LIBGPHOTO2_GPHOTO2_ABILITIES_LIST_H ... content of the header file ... #endif /* !defined(LIBGPHOTO2_GPHOTO2_ABILITIES_LIST_H) */ Found using "clang -Weverything". This should work, unless when run with an ancient C preprocessor which might only the first 8 or 10 characters to distinguish macro names and ignores the remainder of the name.
* Fix casio camlib compilation warnings.Siim Meerits2020-08-031-1/+1
| | | | Adds missing field initialization values.
* Remove trailing whitespace from all *.h and *.c files.Siim Meerits2020-07-275-29/+29
|
* Fix typos throughout the codebaseSijawusz Pur Rahnama2020-05-252-10/+10
|
* BSD_SOURCE -> DEFAULT_SPURCEMarcus Meissner2018-06-201-1/+1
|
* Help editors treat as Makefiles all our Makefile-files filesHans Ulrich Niedermann2016-10-281-0/+2
|
* remove probably unistd.h include , or protected by ifdef forMarcus Meissner2016-01-031-1/+0
| | | | | | building better with Visual C https://github.com/gphoto/libgphoto2/issues/33
* removed copyright umlauts and replaced other umlautsMarcus Meissner2014-06-272-2/+2
| | | | | | | by international spelling git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@15027 67ed7778-7388-44ab-90cf-0a291f65f57c
* Add <unistd.h> to files which use usleep()Daniel P. Berrange2014-06-041-0/+1
| | | | | | | | | | | | | | The usleep() function is defined to be provided by unistd.h. On Linux this is pulled in indirectly so the missing includes don't cause build problems, but on Mingw32 the explicit include of unistd.h is required. Since sleep() is not available on Mingw32, #define it to usleep(). Remove some _POSIX_C_SOURCE macros which restricted code to 1993 POSIX standard which blocks use of usleep(). git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@14997 67ed7778-7388-44ab-90cf-0a291f65f57c
* From: "Daniel P. Berrange" <dan@berrange.com>Marcus Meissner2014-04-112-4/+4
| | | | | | | | | Fixes to misc functions to address char * vs unsigned char * sign mis-matches, by adding casts to silence the compiler. git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@14902 67ed7778-7388-44ab-90cf-0a291f65f57c
* iFrom: "Daniel P. Berrange" <dan@berrange.com>Marcus Meissner2014-04-111-16/+16
| | | | | | | | | | Many calls of gp_port_* functions are passing a 'unsigned char *' rather than the 'char *' they expect. Add explicit casts to silence the compiler. git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@14899 67ed7778-7388-44ab-90cf-0a291f65f57c
* From: "Daniel P. Berrange" <berrange@redhat.com>Marcus Meissner2014-04-111-2/+0
| | | | | | | | | | A great many functions have variables which are set to some value, but never read thereafter. All these variables can be removed with no functional impact. git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@14896 67ed7778-7388-44ab-90cf-0a291f65f57c
* updated fsf addressMarcus Meissner2014-01-017-14/+14
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@14608 67ed7778-7388-44ab-90cf-0a291f65f57c
* added _BSD_SOURCE or _POSIX_C_SOURCE for -ansi buildingMarcus Meissner2013-02-201-0/+2
| | | | | | | replaced // comments with /* */ comments git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@14246 67ed7778-7388-44ab-90cf-0a291f65f57c
* removed unneeded gp_file_set_nameMarcus Meissner2009-02-161-3/+1
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@11817 67ed7778-7388-44ab-90cf-0a291f65f57c
* typoMarcus Meissner2008-10-191-1/+1
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@11449 67ed7778-7388-44ab-90cf-0a291f65f57c
* EXTRA_DIST + ChangelogMarcus Meissner2008-10-191-1/+1
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@11441 67ed7778-7388-44ab-90cf-0a291f65f57c
* more gone .cvsignore filesMarcus Meissner2008-09-261-6/+0
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@11350 67ed7778-7388-44ab-90cf-0a291f65f57c
* u_char -> unsigned charMarcus Meissner2007-11-092-23/+15
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@10850 67ed7778-7388-44ab-90cf-0a291f65f57c
* 2.3.1.0.trunk, non-recursive camlibs buildHans Ulrich Niedermann2006-12-262-14/+14
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@9736 67ed7778-7388-44ab-90cf-0a291f65f57c
* Consistently use #include <gphoto2/gphoto2-foo.h> everywhere.Hans Ulrich Niedermann2006-09-284-4/+4
| | | | | | | | | | 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
* converted to fsfuncs.Marcus Meissner2006-03-311-3/+8
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@8680 67ed7778-7388-44ab-90cf-0a291f65f57c
* add *.sym file to _DEPENDENCIESHans Ulrich Niedermann2006-01-031-0/+1
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@8401 67ed7778-7388-44ab-90cf-0a291f65f57c
* 2005-07-22 Lutz Mueller <lutz@users.sourceforge.net>Lutz Mueller2005-07-222-19/+36
| | | | | | | | | | Patch by Michael Haardt <michael@moria.de>: * casio-qv.c: Fix capture function and name of captured picture. List all authors in about. Fix camera abilities. git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@8193 67ed7778-7388-44ab-90cf-0a291f65f57c
* build camlibs as libtool modules with simple names and symbol listHans Ulrich Niedermann2005-06-111-4/+5
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@8065 67ed7778-7388-44ab-90cf-0a291f65f57c
* remove redundant INCLUDE = definitions from Makefile.amHans Ulrich Niedermann2005-04-141-5/+0
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7830 67ed7778-7388-44ab-90cf-0a291f65f57c
* * Makefile.am: PROTOCOL.txt added to EXTRA_DISTMarcus Meissner2005-03-311-0/+1
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7695 67ed7778-7388-44ab-90cf-0a291f65f57c
* * M��ller is Mueller in "C" language, to be translated.Marcus Meissner2005-01-241-1/+1
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7549 67ed7778-7388-44ab-90cf-0a291f65f57c
* mark up strings for translationMarcus Meissner2005-01-212-15/+35
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7535 67ed7778-7388-44ab-90cf-0a291f65f57c
* 2005-01-10 Michael Haardt <michael@moria.de>Lutz Mueller2005-01-103-6/+25
| | | | | | | | | | | | | | | (Committed by Lutz Mueller <lutz@users.sourceforge.net>): * casio-qv.c: corrected preview type to PPM do not explictly append filename of captured image to filesystem reset line speed and power down interface on exit * casio-qv-commands.c: capture works now ping camera after changing line speed git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7501 67ed7778-7388-44ab-90cf-0a291f65f57c
* Some code clean up by Edward KunsHubert Figuiere2004-12-232-3/+7
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7460 67ed7778-7388-44ab-90cf-0a291f65f57c
* 2004-05-03 Lutz Mueller <lutz@users.sourceforge.net>Lutz Mueller2004-05-034-42/+79
| | | | | | | | | * casio-qv.c * casio-qv-commands.[c,h]: New patch by Michael Haardt <michael@moria.de>. Default speed now 115200. git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7196 67ed7778-7388-44ab-90cf-0a291f65f57c
* 2004-05-02 Lutz Mueller <lutz@users.sourceforge.net>Lutz Mueller2004-05-024-2/+62
| | | | | | | | * casio-qv.c (and others): Patch that enables deletion of pictures. Provided by Michael Haardt. git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7195 67ed7778-7388-44ab-90cf-0a291f65f57c
* 2004-05-02 Lutz Mueller <lutz@users.sourceforge.net>Lutz Mueller2004-05-024-1/+124
| | | | | | | | * ycctoppm.[c,h]: New files on request of Micael Haardt. * Makefile.am git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7194 67ed7778-7388-44ab-90cf-0a291f65f57c
* 2004-04-06 Lutz Mueller <lutz@users.sourceforge.net>Lutz Mueller2004-04-076-42/+198
| | | | | | | | | * cam2jpgtab.h: New. * casio-qv.c: According to Michael Haardt <michael@moria.de>, the driver now downloads images. git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7169 67ed7778-7388-44ab-90cf-0a291f65f57c
* 2004-04-06 Lutz Mueller <lutz@users.sourceforge.net>Lutz Mueller2004-04-064-0/+273
| | | | | | | | | * camtojpeg.[c,h] * jpegtab_f.h: New file submitted by Michael Haardt <michael@moria.de>. git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7167 67ed7778-7388-44ab-90cf-0a291f65f57c
* 2004-03-23 Lutz Mueller <lutz@users.sourceforge.net>Lutz Mueller2004-03-232-3/+10
| | | | | | | | * casio-qv.c (camera_init): Patch by Michael Haardt <michael@moria.de>. git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7143 67ed7778-7388-44ab-90cf-0a291f65f57c
* * casio-qv.c (camera_init): hardcode speed to 9600 baudsHubert Figuiere2003-12-032-11/+9
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@6938 67ed7778-7388-44ab-90cf-0a291f65f57c
* * PROTOCOL.txt: added protocol descriptionHubert Figuiere2003-09-052-0/+654
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@6721 67ed7778-7388-44ab-90cf-0a291f65f57c
* Update Lutz's emailArnaud Launay2003-07-131-1/+1
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@6576 67ed7778-7388-44ab-90cf-0a291f65f57c
* Added colons for new Manufacturer:Model notation.Michael Rensing2003-01-101-9/+9
| | | | | | | Corrected Lutz's address git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@6035 67ed7778-7388-44ab-90cf-0a291f65f57c
* 2003-01-08 Lutz M�ller <lutz@users.sourceforge.net>Lutz Mueller2003-01-082-1/+5
| | | | | | | * casio-qv.c (camera_init): Cosmetic change. git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@6018 67ed7778-7388-44ab-90cf-0a291f65f57c
* Seems I've been too violent with �Arnaud Launay2002-12-221-1/+1
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@5978 67ed7778-7388-44ab-90cf-0a291f65f57c
* replace (c) and (C) by �Arnaud Launay2002-12-153-4/+4
| | | | 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-292-2/+2
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@5859 67ed7778-7388-44ab-90cf-0a291f65f57c
* moved definition of camlibdir to configure.inHans Ulrich Niedermann2002-11-061-1/+0
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@5547 67ed7778-7388-44ab-90cf-0a291f65f57c
* 2002-10-03 Lutz M�ller <lutz@users.sourceforge.net>Lutz Mueller2002-10-032-1/+6
| | | | | | | * Makefile.am -I$(top_builddir)/libgphoto2 git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@5346 67ed7778-7388-44ab-90cf-0a291f65f57c