[Tile-serving] [openstreetmap/osm2pgsql] The great rename (#997)

Jochen Topf notifications at github.com
Fri Nov 22 09:54:51 UTC 2019


Use clang-format and clang-tidy to reformat all code. Move code into new `src` directory. See the individual commits for the steps.
You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/osm2pgsql/pull/997

-- Commit Summary --

  * Ran clang-format on the whole source code.
  * Always use braces around if/while/for
  * Various small changes noticed when checking the last two commits
  * Moves all src files into new `src` directory

-- File Changes --

    M CMakeLists.txt (80)
    D osmtypes.hpp (185)
    A src/CMakeLists.txt (75)
    R src/db-copy.cpp (64)
    R src/db-copy.hpp (58)
    R src/expire-tiles.cpp (290)
    R src/expire-tiles.hpp (7)
    R src/gazetteer-style.cpp (29)
    R src/gazetteer-style.hpp (3)
    R src/geometry-processor.cpp (51)
    R src/geometry-processor.hpp (21)
    R src/id-tracker.cpp (70)
    R src/id-tracker.hpp (0)
    R src/middle-pgsql.cpp (125)
    R src/middle-pgsql.hpp (4)
    R src/middle-ram.cpp (42)
    R src/middle-ram.hpp (20)
    R src/middle.hpp (16)
    R src/node-persistent-cache.cpp (4)
    R src/node-persistent-cache.hpp (0)
    R src/node-ram-cache.cpp (57)
    R src/node-ram-cache.hpp (1)
    R src/options.cpp (301)
    R src/options.hpp (17)
    R src/osm2pgsql.cpp (26)
    R src/osmdata.cpp (114)
    R src/osmdata.hpp (4)
    R src/osmium-builder.cpp (18)
    R src/osmium-builder.hpp (8)
    A src/osmtypes.hpp (192)
    R src/output-gazetteer.cpp (55)
    R src/output-gazetteer.hpp (22)
    R src/output-multi.cpp (107)
    R src/output-multi.hpp (14)
    R src/output-null.cpp (60)
    R src/output-null.hpp (9)
    R src/output-pgsql.cpp (261)
    R src/output-pgsql.hpp (18)
    R src/output.cpp (69)
    R src/output.hpp (11)
    R src/parse-osmium.cpp (99)
    R src/parse-osmium.hpp (24)
    R src/pgsql.cpp (79)
    R src/pgsql.hpp (12)
    R src/processor-line.cpp (3)
    R src/processor-line.hpp (0)
    R src/processor-point.cpp (3)
    R src/processor-point.hpp (0)
    R src/processor-polygon.cpp (3)
    R src/processor-polygon.hpp (0)
    R src/reprojection.cpp (33)
    R src/reprojection.hpp (15)
    R src/sprompt.cpp (176)
    R src/sprompt.hpp (0)
    R src/table.cpp (89)
    A src/table.hpp (102)
    R src/taginfo-impl.hpp (38)
    A src/taginfo.cpp (229)
    R src/taginfo.hpp (6)
    R src/tagtransform-c.cpp (46)
    R src/tagtransform-c.hpp (2)
    R src/tagtransform-lua.cpp (46)
    R src/tagtransform-lua.hpp (3)
    R src/tagtransform.cpp (0)
    R src/tagtransform.hpp (0)
    A src/util.cpp (14)
    R src/util.hpp (2)
    R src/wildcmp.cpp (7)
    R src/wildcmp.hpp (2)
    R src/wkb.hpp (15)
    D table.hpp (100)
    D taginfo.cpp (234)
    M tests/common-import.hpp (2)
    M tests/common-pg.hpp (13)
    M tests/test-options-parse.cpp (2)
    M tests/test-output-multi-line.cpp (2)
    M tests/test-output-multi-point-multi-table.cpp (2)
    M tests/test-output-multi-point.cpp (2)
    M tests/test-output-multi-polygon.cpp (2)
    D util.cpp (13)

-- Patch Links --

https://github.com/openstreetmap/osm2pgsql/pull/997.patch
https://github.com/openstreetmap/osm2pgsql/pull/997.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/pull/997
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20191122/0a3e31f1/attachment-0001.html>


More information about the Tile-serving mailing list