Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Lets see whether this gives us both C and C++ compilerswip | Hans Ulrich Niedermann | 2020-02-19 | 1 | -1/+3 |
| | |||||
* | Print a bunch of CC and CXX version messages | Hans Ulrich Niedermann | 2020-02-18 | 1 | -2/+16 |
| | | | | This should help a bit. | ||||
* | Report unchanged CC and CXX at the start of configure | Hans Ulrich Niedermann | 2020-02-18 | 1 | -0/+5 |
| | |||||
* | FIXMEUP: Remove -ansi cases from pendantic compile tests | Hans Ulrich Niedermann | 2020-02-18 | 2 | -24/+9 |
| | |||||
* | FIXMEUP: pendantic compilation for ANSI C | Hans Ulrich Niedermann | 2020-02-18 | 1 | -0/+6 |
| | | | | | | ANSI C apparently does not define __STDC_VERSION__, so the C source code needs to be changed to become ANSI C compatible. | ||||
* | m4_pattern: Forbid everything related to GP, then allow specific uses | Hans Ulrich Niedermann | 2020-02-18 | 7 | -27/+44 |
| | | | | | | Forbid the patterns [GP_] and [_GP] (while allowing [_GPHOTO], then explicitly allow uses of GP_ and _GP in variables and messages where needed. | ||||
* | gp-set.m4: _GP_SET_INIT is required once, even for test suite | Hans Ulrich Niedermann | 2020-02-18 | 1 | -1/+1 |
| | |||||
* | gp-set.m4: Reduce indentation level by repeated conditional aborts | Hans Ulrich Niedermann | 2020-02-18 | 1 | -8/+8 |
| | |||||
* | Use standard syntax for the AC_DEFUN()ed macros | Hans Ulrich Niedermann | 2020-02-18 | 1 | -6/+9 |
| | |||||
* | Use GP_INIT | Hans Ulrich Niedermann | 2020-02-18 | 2 | -0/+14 |
| | |||||
* | In C++ pendantic compilation source, use actual C++ code | Hans Ulrich Niedermann | 2020-02-18 | 1 | -2/+2 |
| | | | | | In C++ pendantic compilation source, use actual C++ code instead of relying on C code working when compiled as C++ code. | ||||
* | Check that programs including gphoto2 headers compile and run | Hans Ulrich Niedermann | 2020-02-18 | 3 | -4/+257 |
| | | | | | | | | | | | | | | | | | | | Check that programs including libgphoto2 headers compile and run when compiled for a number of different language standards: C: ansi c99 c11 C++: ansi c++98 c++11 c++14 c++17 For each of these language standards, if the compiler does not compile an empty example program, we do not test whether compiling with the gphoto2/*.h headers included works. This will work with GCC as the compiler, and also should work with CLANG as the compiler as CLANG is mostly compatible in these matters. On other compilers, the test compile of the empty program should fail, and thus no checks with the gphoto2/*.h headers included will be performed. | ||||
* | Try AC_PROG_SED before setting SED by hand | Hans Ulrich Niedermann | 2020-02-18 | 1 | -0/+2 |
| | |||||
* | gp-set.m4: m4_pattern_allow _GP_EOF | Hans Ulrich Niedermann | 2020-02-18 | 1 | -0/+1 |
| | |||||
* | configure.ac: explicitly m4_pattern_allow the _GPEOF marker | Hans Ulrich Niedermann | 2020-02-18 | 1 | -2/+3 |
| | | | | | Explicitly m4_pattern_allow the _GPEOF marker so that any other m4_pattern_forbid() calls cannot disallow it. | ||||
* | configure: Set SLEEP=no now to disable warning sleeps | Hans Ulrich Niedermann | 2020-02-18 | 4 | -7/+40 |
| | | | | | | | | | Allow setting SLEEP=no to disable sleep on warnings like ../configure SLEEP=no --prefix=/foo/bar ... This is implemented with GP_SLEEP and gp_sleep similar to m4sh's AS_ECHO and $as_echo. | ||||
* | tests/Makefile.am: Consistent comments and definitions | Hans Ulrich Niedermann | 2020-02-18 | 1 | -31/+56 |
| | | | | | Consistently define test programs, and use comments to structurize the tests/Makefile.am file. | ||||
* | gphoto-m4/*.m4: Remove BEGIN and END comments | Hans Ulrich Niedermann | 2020-02-18 | 2 | -9/+0 |
| | | | | | We do not need those any more, and they only clutter up the source code and the generated configure script. | ||||
* | examples: Remove unused TESTS= instance | Hans Ulrich Niedermann | 2020-02-18 | 1 | -82/+0 |
| | | | | | | | | Any TESTS definition causes "make check" to run a test suite, even if no tests are actually defined. So we remove the empty TESTS= from examples/Makefile.am, and keep on using the TESTS in the tests/Makefile.am file. | ||||
* | added some new SONY Property defines, hook up sony capturetarget | Marcus Meissner | 2020-02-18 | 2 | -2/+25 |
| | |||||
* | New set based camlib definition and --with-camlibs handling | Hans Ulrich Niedermann | 2020-02-17 | 8 | -206/+1436 |
| | | | | | | | | | | | | | | This uses proper set operations both for GP_CAMLIB and for handling the --with-camlibs value. This allows all GP_CAMLIB definitions to be present at autoreconf time (as m4 code) time while some camlib definitions being conditional at the time of the configure run (in the sh code). The ./configure output is still a bit verbose, but we can reduce that verbosity later when we have found out that this works well on people's different systems. Fixes: https://github.com/gphoto/libgphoto2/issues/467 | ||||
* | travis-ci: "make uninstall" needs sudo as well, of course | Hans Ulrich Niedermann | 2020-02-17 | 1 | -1/+1 |
| | | | | | If "make install" runs with sudo, of course "make uninstall" will need to run under sudo as well. | ||||
* | travis-ci: Apart from .travis-script.sh, only one quick build | Hans Ulrich Niedermann | 2020-02-17 | 1 | -3/+1 |
| | | | | | | | That one quick build is in-tree, includes sudo for "make install", and does both "make clean" and "make uninstall". That should exercise a few more code paths. | ||||
* | travis-ci script: clean up directory usage, add usage comment | Hans Ulrich Niedermann | 2020-02-17 | 1 | -9/+16 |
| | |||||
* | travis-ci: Move builds to separate script file | Hans Ulrich Niedermann | 2020-02-17 | 2 | -0/+61 |
| | | | | | | | | | | | | | | | | | | | | | | | The handling of failing build steps has become too involved to put it into a single command line in a ".travis.yml". The new build script does a few things differently: * No sudo use. * Builds for and installs into separate root --prefix * Builds as out of tree builds per build The new things the new build script does: * Print config.log and the test-suite.log files if the configure or the "make check" stages have failed. * Print the version information, both short and verbose. * Print a list of the installed files. The things the new build script does NOT do: * Run "make clean" or "make uninstall" We are keeping the old script lines around for the time being. I cannot see a difference, but someone more familiar with "vusb" and "examples/sample-afl" might. | ||||
* | travis-ci: sleep after autoreconf as possible workaround | Hans Ulrich Niedermann | 2020-02-17 | 1 | -1/+1 |
| | | | | | Sleeping after generating the configure file might help avoid the build system sanity check fails. | ||||
* | libgphoto2-port: Add libexif to version information | Hans Ulrich Niedermann | 2020-02-17 | 1 | -0/+10 |
| | |||||
* | Add print-libgphoto2-version program | Hans Ulrich Niedermann | 2020-02-15 | 2 | -0/+161 |
| | | | | | | | | | The new print-libgphoto2-version program prints the complete libgphoto2 version message in both short and verbose. This functionality had not been available before, and we want it for checking later changes to the camlib list part of the version messages. | ||||
* | travis-ci: If make check fails, cat the test-suite.log files | Hans Ulrich Niedermann | 2020-02-15 | 1 | -2/+2 |
| | | | | | This should help with finding the actual causes of test suite failures during travis-ci checks. | ||||
* | travis-ci: print system date and ls -l configure to help with debugging | Hans Ulrich Niedermann | 2020-02-14 | 1 | -0/+2 |
| | | | | | Print the system date and "ls -l configure" to help with debugging the sane build system check failure. | ||||
* | error checking during file retrieval (AFL) | Marcus Meissner | 2020-02-14 | 1 | -2/+7 |
| | |||||
* | initialize memory to NULL, check if read (AFL) | Marcus Meissner | 2020-02-14 | 2 | -2/+3 |
| | |||||
* | Avoid "echo" in configure.ac in some places | Hans Ulrich Niedermann | 2020-02-14 | 1 | -13/+15 |
| | | | | | | | This should avoid some possible incompatibities in the case of the multi line string argument to "echo", and cleans up the code by replacing a number of "echo" commands with a single AC_MSG_WARN. | ||||
* | check buffersize before decoding to avoid overread (AFL) | Marcus Meissner | 2020-02-13 | 1 | -6/+11 |
| | |||||
* | check for filesize to avoid overread (AFL) | Marcus Meissner | 2020-02-13 | 1 | -0/+5 |
| | |||||
* | avoid going below arrax index 0 (AFL) | Marcus Meissner | 2020-02-11 | 1 | -1/+1 |
| | |||||
* | log invaliddram and return error to avoid endless loop (AFL) | Marcus Meissner | 2020-02-10 | 1 | -1/+2 |
| | |||||
* | do not sleep during fuzzing (AFL) | Marcus Meissner | 2020-02-10 | 2 | -0/+9 |
| | |||||
* | fixed integer overflow check to avoid overflow (AFL) | Marcus Meissner | 2020-02-08 | 1 | -1/+1 |
| | |||||
* | Added nikon coolpix 4100 (sierra) (It also works in PTP mode though) | Marcus Meissner | 2020-02-03 | 1 | -0/+3 |
| | |||||
* | added fix for GoPro files not appearing caused by another hack for another ↵ | Marcus Meissner | 2020-02-02 | 2 | -3/+8 |
| | | | | device | ||||
* | faster fuzzing | Marcus Meissner | 2020-02-01 | 1 | -0/+4 |
| | |||||
* | handle partial read files, avoid crashes (AFL) | Marcus Meissner | 2020-02-01 | 2 | -1/+5 |
| | |||||
* | added gopro hero 7 silver | Marcus Meissner | 2020-02-01 | 1 | -0/+2 |
| | |||||
* | avoid usleep during fuzzing (AFL) | Marcus Meissner | 2020-02-01 | 1 | -0/+5 |
| | |||||
* | handle size 0 to avoid buffer underread (AFL) | Marcus Meissner | 2020-02-01 | 1 | -0/+2 |
| | |||||
* | init revision in case of errors to avoid uninit usage (AFL) | Marcus Meissner | 2020-01-31 | 1 | -0/+1 |
| | |||||
* | added Z50 | Marcus Meissner | 2020-01-28 | 1 | -1/+1 |
| | |||||
* | added nikon z50 | Marcus Meissner | 2020-01-28 | 1 | -0/+4 |
| | |||||
* | Merge pull request #459 from tail-feather/support-fuji-iso | Marcus Meissner | 2020-01-28 | 1 | -0/+49 |
|\ | | | | | Support for Fujifilm ISO extension |