summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Lets see whether this gives us both C and C++ compilerswipHans Ulrich Niedermann2020-02-191-1/+3
|
* Print a bunch of CC and CXX version messagesHans Ulrich Niedermann2020-02-181-2/+16
| | | | This should help a bit.
* Report unchanged CC and CXX at the start of configureHans Ulrich Niedermann2020-02-181-0/+5
|
* FIXMEUP: Remove -ansi cases from pendantic compile testsHans Ulrich Niedermann2020-02-182-24/+9
|
* FIXMEUP: pendantic compilation for ANSI CHans Ulrich Niedermann2020-02-181-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 usesHans Ulrich Niedermann2020-02-187-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 suiteHans Ulrich Niedermann2020-02-181-1/+1
|
* gp-set.m4: Reduce indentation level by repeated conditional abortsHans Ulrich Niedermann2020-02-181-8/+8
|
* Use standard syntax for the AC_DEFUN()ed macrosHans Ulrich Niedermann2020-02-181-6/+9
|
* Use GP_INITHans Ulrich Niedermann2020-02-182-0/+14
|
* In C++ pendantic compilation source, use actual C++ codeHans Ulrich Niedermann2020-02-181-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 runHans Ulrich Niedermann2020-02-183-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 handHans Ulrich Niedermann2020-02-181-0/+2
|
* gp-set.m4: m4_pattern_allow _GP_EOFHans Ulrich Niedermann2020-02-181-0/+1
|
* configure.ac: explicitly m4_pattern_allow the _GPEOF markerHans Ulrich Niedermann2020-02-181-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 sleepsHans Ulrich Niedermann2020-02-184-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 definitionsHans Ulrich Niedermann2020-02-181-31/+56
| | | | | Consistently define test programs, and use comments to structurize the tests/Makefile.am file.
* gphoto-m4/*.m4: Remove BEGIN and END commentsHans Ulrich Niedermann2020-02-182-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= instanceHans Ulrich Niedermann2020-02-181-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 capturetargetMarcus Meissner2020-02-182-2/+25
|
* New set based camlib definition and --with-camlibs handlingHans Ulrich Niedermann2020-02-178-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 courseHans Ulrich Niedermann2020-02-171-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 buildHans Ulrich Niedermann2020-02-171-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 commentHans Ulrich Niedermann2020-02-171-9/+16
|
* travis-ci: Move builds to separate script fileHans Ulrich Niedermann2020-02-172-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 workaroundHans Ulrich Niedermann2020-02-171-1/+1
| | | | | Sleeping after generating the configure file might help avoid the build system sanity check fails.
* libgphoto2-port: Add libexif to version informationHans Ulrich Niedermann2020-02-171-0/+10
|
* Add print-libgphoto2-version programHans Ulrich Niedermann2020-02-152-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 filesHans Ulrich Niedermann2020-02-151-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 debuggingHans Ulrich Niedermann2020-02-141-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 Meissner2020-02-141-2/+7
|
* initialize memory to NULL, check if read (AFL)Marcus Meissner2020-02-142-2/+3
|
* Avoid "echo" in configure.ac in some placesHans Ulrich Niedermann2020-02-141-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 Meissner2020-02-131-6/+11
|
* check for filesize to avoid overread (AFL)Marcus Meissner2020-02-131-0/+5
|
* avoid going below arrax index 0 (AFL)Marcus Meissner2020-02-111-1/+1
|
* log invaliddram and return error to avoid endless loop (AFL)Marcus Meissner2020-02-101-1/+2
|
* do not sleep during fuzzing (AFL)Marcus Meissner2020-02-102-0/+9
|
* fixed integer overflow check to avoid overflow (AFL)Marcus Meissner2020-02-081-1/+1
|
* Added nikon coolpix 4100 (sierra) (It also works in PTP mode though)Marcus Meissner2020-02-031-0/+3
|
* added fix for GoPro files not appearing caused by another hack for another ↵Marcus Meissner2020-02-022-3/+8
| | | | device
* faster fuzzingMarcus Meissner2020-02-011-0/+4
|
* handle partial read files, avoid crashes (AFL)Marcus Meissner2020-02-012-1/+5
|
* added gopro hero 7 silverMarcus Meissner2020-02-011-0/+2
|
* avoid usleep during fuzzing (AFL)Marcus Meissner2020-02-011-0/+5
|
* handle size 0 to avoid buffer underread (AFL)Marcus Meissner2020-02-011-0/+2
|
* init revision in case of errors to avoid uninit usage (AFL)Marcus Meissner2020-01-311-0/+1
|
* added Z50Marcus Meissner2020-01-281-1/+1
|
* added nikon z50Marcus Meissner2020-01-281-0/+4
|
* Merge pull request #459 from tail-feather/support-fuji-isoMarcus Meissner2020-01-281-0/+49
|\ | | | | Support for Fujifilm ISO extension