Commit Graph

12011 Commits

Author SHA1 Message Date
Marcus Meissner
48643b86de switch to 2.5.28.1 development 2022-01-03 12:08:57 +01:00
Marcus Meissner
7ac02fa09a 2.5.28 release v2.5.28 libgphoto2-2_5_28-release 2022-01-03 11:57:09 +01:00
Marcus Meissner
07a2176e11 keep canon eos remotemode=1 on exit, to keep the display on
https://github.com/gphoto/gphoto2/issues/465
2022-01-03 10:30:12 +01:00
Marcus Meissner
a829e5088d added more NEWS 2021-12-29 16:24:16 +01:00
Marcus Meissner
8c2ee45f8d sync from libmtp 2021-12-29 16:08:33 +01:00
Marcus Meissner
1bcb968969 fix camera name, fixes https://github.com/gphoto/libgphoto2/issues/754 2021-12-27 13:36:07 +01:00
Marcus Meissner
2df30adbc0 adjust hex id to have 4 digits, fixes https://github.com/gphoto/libgphoto2/issues/753 2021-12-20 11:05:54 +01:00
Hans Ulrich Niedermann
35bdaf146c Verbose gettext domain consistency checks
Make the gettext domain consistency checks more verbose to help
debugging https://github.com/gphoto/libgphoto2/issues/751.
2021-12-16 23:12:49 +01:00
Hans Ulrich Niedermann
d65a7211d4 Add test-i18n.c i18n test program 2021-12-12 16:35:48 +01:00
Hans Ulrich Niedermann
397ae74674 Add pull-translations target
Add pull-translations target to make it easier to pull translations
from the Translation Project:

    make pull-translations
2021-12-12 16:35:47 +01:00
Hans Ulrich Niedermann
d18b440a72 Require gettext >= 0.18.3; remove GP_GETTEXT_HACK
This requires gettext version 0.18.3 or later, and it removes
the GP_GETTEXT_HACK which used to generate a po/Makevars file
from the po/Makevers.template.

gettext 0.18.3 is the same gettext version requirement
as libexif uses.

gettext 0.18.3 has been released 2013-07-07, which is
a similar timeframe of the autoconf, automake and libtool
releases we require.

If you ever need to build a post 2021 libgphoto2 from
git on a system with pre 0.18.3 gettext, you can can
always prepare a tarball using "make dist" on a system
with gettext 0.18.3 or later, and build that tarball
on the older machine.

Not generating the po/Makevars file any more means that
we need additional consistency checks for the parts of
po/Makevars which cannot be derived from the Autoconf
standard set of AC_SUBST()ed Makefile.in variables.
2021-12-10 21:47:34 +01:00
Ole Dalgaard
b2d8e106ae Add Nikon Zfc support 2021-12-09 16:58:41 +01:00
Hans Ulrich Niedermann
d5718faf16 RELEASE-HOWTO.md: Improve markdown readability
Improve markdown readability, both as text and rendered
as HTML.
2021-12-09 11:50:14 +01:00
Hans Ulrich Niedermann
22ea3d2f6f Document translating languages outside Translation Project
Document translating languages outside Translation Project,
as we are maintaining the German ("de") translation by
ourselves.
2021-12-09 11:43:15 +01:00
Hans Ulrich Niedermann
cea7987b9b MAINTAINERS: remove rpm builds
Remove rpm builds from the MAINTAINERS file, as we have already removed
the rpm builds in commit 69b3fc54bc.
2021-12-09 11:30:02 +01:00
Hans Ulrich Niedermann
dc78aec97b Add TODO comment about possibly using gettext's gettext.h 2021-12-09 11:17:24 +01:00
Hans Ulrich Niedermann
e23a3780ff Remove commented out hack for pre-2001 gettext
Remove the commented out hack needed for pre-2001
gettext-0.10.35 and earlier.
2021-12-09 11:17:17 +01:00
Marcus Meissner
1411713cf5 remove dup k1 2021-12-08 12:02:54 +01:00
Marcus Meissner
87685f8af1 added Sony ILCE-7RM4A https://github.com/gphoto/libgphoto2/issues/749 2021-12-08 11:24:34 +01:00
Marcus Meissner
200520d212 added pentax k1 id 2021-12-06 14:42:33 +01:00
Marcus Meissner
efaa845934 aded sony sx-hx80 2021-12-06 13:57:25 +01:00
Marcus Meissner
4bd1999aaf added pentax k1
https://github.com/gphoto/gphoto2/issues/469
2021-12-06 13:57:25 +01:00
Marcus Meissner
67b9668d6b added pentax k1 2021-12-06 13:57:25 +01:00
Wolfram Sang
bd1591ea87 ptp2: add Canon IXUS 132 2021-12-03 13:31:39 +01:00
Hans Ulrich Niedermann
173a9fa5d6 Require at least libtool 2.4.2, use LT_INIT
This gives us a few more features and fixes to rely
on which are present in libtool 2.4.2 (released
2011-10-18), which is older than our autoconf,
automake, and gettext requirements and should therefore
not exclude anyone from building libgphoto2.

Update the libtool initialization to use the more
modern (modern in the sense of libtool 1.9b from
2004-08-29) LT_INIT macro.

We still do not use LTDL_INIT() as that (like AC_WITH_LTDL
used to) insists on us shipping libltdl sources in our
release tarballs, and we do not like shipping third party
sources.
2021-12-01 18:42:04 +01:00
Hans Ulrich Niedermann
9270f0d69e Invoke AC_PROG_SED before using ${SED} 2021-12-01 18:42:03 +01:00
Hans Ulrich Niedermann
e88f5d1066 RELEASE-HOWTO.md: Change the name of the IRC network 2021-12-01 18:41:36 +01:00
tomsch1
056cf78bff Create sony-a7r3a.txt
Added description for Sony ILCE-7RM3A
2021-11-29 13:44:10 +01:00
tomsch1
25d0eadafa Update library.c
Added USB id for Sony ILCE-7RM3A
2021-11-29 13:44:10 +01:00
Marcus Meissner
e43230ef45 avoid crash on freed memory 2021-11-28 15:28:37 +01:00
Marcus Meissner
27939ca769 remove superflous ; 2021-11-28 11:15:45 +01:00
Marcus Meissner
f24715260c added c++ wrappers 2021-11-28 11:03:20 +01:00
Marcus Meissner
3833721e85 fixed an uninit variable 2021-11-23 13:46:31 +01:00
Marcus Meissner
564d9ca8c1 updated de 2021-11-23 11:02:30 +01:00
Stéphane Aulery
f9bd907d09 updated french 2021-11-23 11:01:47 +01:00
Marcus Meissner
0a276d832d factor out more instances of 'add handle to filesystem' 2021-11-21 16:29:57 +01:00
Marcus Meissner
7d3f1b7143 factory out 2 more instances for standardized object adding 2021-11-21 11:21:10 +01:00
Marcus Meissner
204d41b26e Factored out more things into add_object_to_fs_and_path helper
(tested: nikon z, and eos m6 m2)
2021-11-21 11:15:44 +01:00
Marcus Meissner
4099bca723 we need to refetch the ptp object after get_folder_from_handle, as that call might invalidatze the poionter 2021-11-20 15:52:28 +01:00
Hans Ulrich Niedermann
2fa2726d91 The pedantic compilation flags might ignore some warnings 2021-11-17 19:30:53 +01:00
Hans Ulrich Niedermann
7c926d74b5 rearrange test-pedantic definitions 2021-11-14 21:26:56 +01:00
Hans Ulrich Niedermann
24cae685e1 Remove --with-doc-dir and --with-html-dir
autoconf 2.59c has introduced docdir, htmldir, so we do not need to
have --with-doc-dir= and --with-html-dir= any more. --docdir= and
--htmldir= will do the job.
2021-11-14 13:19:51 +01:00
Hans Ulrich Niedermann
88b6c0dc26 remove whitespace around AS_HELP_STRING options
Remove whitespace in `configure --help` before and after
--without-* and --disable-*.
2021-11-14 13:15:28 +01:00
Jan Tojnar
44cf70907f print-camera-list: clarify help
Use “version” instead of “mode” to avoid confusion with the “(file) mode” argument.
2021-11-12 01:48:00 +01:00
Hans Ulrich Niedermann
b6fae4fcce ptp2/ptp.c: Rewrite PTP_CNT_INIT to build with pure C99
This rewrites the variadic macro PTP_CNT_INIT() and the ptp_init_container()
function such that they compile with the strictest compiler available:

    clang -std=c99 -pedantic -Wall -Wextra -Weverything

This is achieved by moving the code argument to be the first of the
variable arguments, and adapting the parameter counting and argument
handling inside ptp_init_container() accordingly.

As the code in ptp_init_container() which handles the va_args and puts
them into PTPContainer Param<N> fields relies on a particular memory
layout of the PTPContainer struct, this adds compile time assertions
which check the memory layout is the one the code expects.

Closes: https://github.com/gphoto/libgphoto2/pull/740
2021-11-12 00:54:39 +01:00
Hans Ulrich Niedermann
8527242022 ptp2/ptp.c: tell emacs the c-file-style 2021-11-11 23:41:48 +01:00
Hans Ulrich Niedermann
a154a91599 Add compiletime-assert.h for COMPILETIME_ASSERT() macro
C11 has added static_assert(EXPR, MSG) to assert.h, but C99
only knows runtime assertions using assert(EXPR). This
defines the COMPILETIME_ASSERT(EXPR) macro which works with
both C11 and later using static_assert(), and another way
if compiling using a pre-C11 language standard.
2021-11-11 23:41:48 +01:00
Hans Ulrich Niedermann
4a0d9dcb1f Use non-reserved macro name for generated gphoto-endian.h 2021-11-10 00:33:16 +01:00
Hans Ulrich Niedermann
7d4313ce36 with-camlibs: document "everything" set in the --help output
As configuring --with-camlibs=everything is a very valid option
for build tests, document it.
2021-11-07 22:28:48 +01:00
Hans Ulrich Niedermann
7f2b3946fd with-camlibs: grammar fix for standard set description 2021-11-07 22:28:48 +01:00