ede8880e72
Update copyright date
2025-01-13 09:07:30 +01:00
7b6ed0d2bc
Use anonymous namespace instead of static in test code
...
This is recommended in C++ Core Guidelines SF.22
https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#Rs-unnamed2
2024-08-15 22:24:35 +02:00
0ce67d1fe7
Refactor how COPY is handled, use variant instead of virtual class
...
COPYs are handled in extra threads through a worker queue. Using
std::variant instead of virtual classes simplifies the code, because we
don't need the indirection through a unique_ptr any more.
2024-07-09 11:21:46 +02:00
6c949b0919
Remove gazetteer output and --with-forward-dependencies option
2024-04-03 21:36:40 +02:00
abd6554636
Rename conninfo to connection_params everywhere
...
This is really part of the previous commit but was factored out to keep
that one reasonably legible.
2024-02-01 10:39:19 +01:00
ff91d49869
Update copyright date
2024-01-26 16:45:53 +01:00
565aa31bbd
Refactor db_target_descr_t: Always need schema on construction
...
We now always construct this fully with schema, name, and id column.
This way we make sure all data is there and the schema is not defaulted.
2023-08-14 14:35:52 +02:00
7ba523ba37
Update copyright date to 2023
2023-01-15 16:13:42 +01:00
8e4f21a6d7
Cleanup some test code, use const and new constructor {} syntax
2022-07-31 15:24:15 +02:00
56d5145615
Updates copyright date to 2022 in all files
2022-01-11 14:30:34 +01:00
0d8d829185
Remove use of boost::lexical_cast
...
One less dependency and UB sanitizer warns that boost::lexical_cast has
undefined behaviour.
Fixes #1028
2021-05-27 12:03:33 +02:00
d35dd358d6
Use std::make_unique to make code cleaner
...
Now that we are using C++14, make_unique is available.
2021-05-12 21:39:03 +02:00
d45018f88b
Update copyright year to 2021
2021-01-28 09:38:17 +01:00
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
afd5dd2d80
Various code cleanups
2020-03-28 15:38:33 +01:00
3533eb1174
add tests for new db_deleter_place_t
2019-12-01 21:28:29 +01:00
6e8f3572da
make object deleter replacable in the copy manager
2019-12-01 21:24:10 +01:00
f543a73f18
move object deletion into its own class
2019-12-01 21:23:10 +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
069c2830ec
clang-format tests
2019-11-15 21:52:42 +01:00
8859b6eb8e
move new tests into place
2019-11-15 21:52:42 +01:00