Commit Graph

10 Commits

Author SHA1 Message Date
61bdfb4bc5 Add/update copyright notice on all C++ files
This adds a copyright notice to all C++ files and the README clarifying
the license. (There is no change of the license.) This also removes a
few names explicitly mentioned as copyright holders, instead refering to
the git log which has a full list of all osm2pgsql developers. (There is
also still the AUTHORS file which names the most important developers.)

The only exception is the sprompt.cpp file which was taken from
PostgreSQL and keeps its original license information (and, of course,
the files in contrib).
2020-12-19 11:25:07 +01:00
4385d22a51 Move common pg testing code into "testing" namespace
This is more consistent with the other testing code which is also in
this namespace.
2020-12-09 15:20:11 +01:00
afe33df8d7 Various cleanups and fixes based on clang-tidy reports
Fiddle with the clang-tidy config and add fixes.
2020-08-11 09:09:21 +02:00
dc98cf7863 Make SQL capitalization more consistent 2020-04-14 19:51:51 +02:00
e2b6d1afe7 Various code cleanups
* Fix typos
* Modernize C++
* Fix clang-tidy warnings
* Formatting cleanups
2020-03-25 10:57:11 +01:00
6e8f3572da make object deleter replacable in the copy manager 2019-12-01 21:24:10 +01:00
4eea0a0274 Put fmt library into contrib and use it
Changes all uses of boost::format to use the "xxx"_format syntax of the
fmt library. Starting from C++14 this will parse the format strings at
compile time making sure the format string and the arguments fit
together.

This also changes the CMake config so that you can set the C++ version
to compile with by using something like -DCMAKE_CXX_STANDARD=14 . C++11
is still the default.

On travis bionic builds are now using C++14.
2019-11-29 14:56:52 +01:00
56927b8cfb Move catch2 into contrib, update to current version
This way it can be included as system include and is easier to set apart
in coverage checks etc.
2019-11-20 12:14:00 +01:00
4dc31c5411 fixes for review comments
Mostly style fixes. Also increased the size for the test
cache to make Windows builds happy.
2019-11-15 21:52:42 +01:00
8859b6eb8e move new tests into place 2019-11-15 21:52:42 +01:00