Commit graph

  • 3031b7cf6a SVG parse_svg_value/parse_font_size: re-initialise default val on parser failure Artem Pavlenko 2021-04-19 08:54:34 +0100
  • 4ff25eb2a8 remove token Artem Pavlenko 2021-04-16 17:25:39 +0100
  • d7858565ff remove token svg-viewport Artem Pavlenko 2021-04-16 17:25:39 +0100
  • 792519e66a SVG - add experimental "target" width and height which overwrite SVG's outermost "width" and "height" attributes [WIP] Artem Pavlenko 2021-04-16 16:01:39 +0100
  • 21fd41b9a9
    Merge pull request #4225 from mapnik/svg-rendering-improvements Artem Pavlenko 2021-04-16 09:51:25 +0100
  • 7c5f4539e1 Fix error message + update SVG parser unit test Artem Pavlenko 2021-04-15 16:29:05 +0100
  • fd204874ec svg2png - avoid writing to an empty image Artem Pavlenko 2021-04-15 15:53:04 +0100
  • 654a3c1f9f SVG : refactor and simplify width/height+viewBox logic (https://www.w3.org/TR/SVG11/struct.html#SVGElement) + check font_sizes_ size before accesing last element Artem Pavlenko 2021-04-15 15:38:59 +0100
  • 0feabeb7e8 SVG circle: ignore when r = 0 Artem Pavlenko 2021-04-13 13:48:05 +0100
  • 55370c3453 Update visual data Artem Pavlenko 2021-04-13 10:26:39 +0100
  • f293371a9d SVG rendering improvements: * process font-size attributes and use them to scale em units * fix default color-stop value * store viewBox and use it to calculate % values correctly * add more absolute/relative values * default DPI:96 * default font-size: 10 * process style attributes on <svg> element * use viewBox width, height and normalized_diagonal for relevant length values * apply scale factor to gradient transforms Artem Pavlenko 2021-04-13 09:19:33 +0100
  • 9c2132f895 Fix gradient transform calc (apply scale factor) Artem Pavlenko 2021-04-13 09:17:48 +0100
  • ff8c411749 Use DPI=96 + add absolute and relative sizes + add missing value units Artem Pavlenko 2021-04-12 14:16:39 +0100
  • 4f783f61ed Init by value Artem Pavlenko 2021-04-12 14:16:09 +0100
  • e1fa32f21f install dependencies. Required for windows (and ?macos?). Needs testing on linux. Mathis Logemann 2021-04-10 14:36:22 +0200
  • 1929fbc0ba add an option to disable plugin and font copying Mathis Logemann 2021-04-09 15:53:21 +0200
  • 02f78e4ce5 fixed Dll copying on windows; copy plugins and fonts into appropiate directories when building. Mathis Logemann 2021-04-09 15:50:50 +0200
  • b6d8f54779 Merge branch 'master' of https://github.com/mapnik/mapnik into cmake-support Mathis Logemann 2021-04-06 18:38:51 +0200
  • 6bab4e56fd Move MAPNIK_DECL to the front (ref https://github.com/mapnik/mapnik/pull/4220#issuecomment-814259514) Artem Pavlenko 2021-04-06 17:36:46 +0100
  • 9049a7e58d Merge branch 'master' of https://github.com/mapnik/mapnik into cmake-support Mathis Logemann 2021-04-06 17:27:28 +0200
  • 8c3b9758eb
    Merge pull request #4220 from mapnik/proj6 Artem Pavlenko 2021-04-06 11:58:44 +0100
  • b974a4a683 Simplify proj_transform_cache implementation (ref https://github.com/mapnik/mapnik/pull/4191#issuecomment-813377082) Artem Pavlenko 2021-04-06 10:30:12 +0100
  • 5963c64960 Merge branch 'master' of https://github.com/mapnik/mapnik into cmake-support Mathis Logemann 2021-04-01 18:17:39 +0200
  • bb18a5ba0a
    Merge pull request #4219 from mathisloge/proj_transform_fix Artem Pavlenko 2021-04-01 17:16:48 +0100
  • bed3ffb3dc fix typo grid renderer -> svg renderer Mathis Logemann 2021-04-01 18:01:43 +0200
  • ee90425de1 fixes proj_transform_cache incomplete type for gcc Mathis Logemann 2021-04-01 17:57:20 +0200
  • f57d39378d add BIGINT and MAPNIK_MEMORY_MAPPED_FILE; require cxx standard, disable compiler specific flags (CXX_EXTENSIONS) Mathis Logemann 2021-04-01 16:15:32 +0200
  • b1e1ea66f5 try fix linux take II Mathis Logemann 2021-04-01 16:03:58 +0200
  • 7121bd6fbf Revert "hopefully fix unstatisfied proj_transform_cache" Mathis Logemann 2021-04-01 15:55:57 +0200
  • d2066da339 hopefully fix unstatisfied proj_transform_cache Mathis Logemann 2021-03-31 20:25:46 +0200
  • 8cd78b6945 Merge branch 'master' of https://github.com/mapnik/mapnik into cmake-support Mathis Logemann 2021-03-26 20:04:30 +0100
  • 53669bc42e
    Merge pull request #4202 from mapnik/proj6 Artem Pavlenko 2021-03-26 16:55:10 +0000
  • 7897bb5c83 add threads to mapnik::core Mathis Logemann 2021-03-26 15:45:15 +0100
  • 1367e7007f print version strings if available Mathis Logemann 2021-03-25 21:28:41 +0100
  • 2b977f14c9 changed proj; add mapnik_proj_version; use boost regex icu workaround Mathis Logemann 2021-03-25 18:46:18 +0100
  • eb943d11d0 add postgis to unit tests Mathis Logemann 2021-03-25 18:42:17 +0100
  • 3489bdbe36 rename PROJ_VERSION to MAPNIK_PROJ_VERSION to avoid clashes with libproj Artem Pavlenko 2021-03-25 16:38:21 +0000
  • 0ab47e1fc6 Merge branch 'proj6' of https://github.com/mapnik/mapnik into cmake-support Mathis Logemann 2021-03-25 17:28:06 +0100
  • b2116fd9e9 added benchmarks; needed mutex header Mathis Logemann 2021-03-25 17:26:29 +0100
  • f093d0cf6e Fix potential iterator out of range condition by using appropriate function (ref #4218) via @mathisloge Artem Pavlenko 2021-03-25 16:03:15 +0000
  • 5dfd1a24fc Fix potential iterator out of range condition by using appropriate function (ref #4218) via @mathisloge Artem Pavlenko 2021-03-25 16:03:15 +0000
  • c29c84327a add proj_transform_cache to source list Mathis Logemann 2021-03-25 13:34:25 +0100
  • f8b159f8ff Merge branch 'proj6' of https://github.com/mapnik/mapnik into cmake-support Mathis Logemann 2021-03-25 13:26:30 +0100
  • 503b9c5bbf Move proj_transform_cache declarations and implementaion into separate translation unit (ref VC++ C2492) Artem Pavlenko 2021-03-25 12:16:15 +0000
  • 0a3bb4e8bd update test data deps. somehow got messed up in last commit Mathis Logemann 2021-03-25 08:52:09 +0100
  • 31c0b08548 renamed MAPNIK_USE_PROJ4 to MAPNIK_USE_PROJ and removed ACCEPT_USE_OF_DEPRECATED_PROJ_API_H Mathis Logemann 2021-03-24 23:55:12 +0100
  • 59b97a57fc test data changes Mathis Logemann 2021-03-24 23:31:11 +0100
  • 4eed15f87a Merge branch 'proj6' of https://github.com/mapnik/mapnik into cmake-support Mathis Logemann 2021-03-24 23:30:50 +0100
  • 772e50ba79 copy basic dlls for mapnik-demo Mathis Logemann 2021-03-24 23:28:36 +0100
  • e963af53a5 find proj without config Mathis Logemann 2021-03-24 15:21:39 +0100
  • 61a1248262 fix false default cmake install dir Mathis Logemann 2021-03-24 15:17:08 +0100
  • db6d1a1293 fix typo in text Mathis Logemann 2021-03-24 15:16:12 +0100
  • 9835f07179 find and link icu first Mathis Logemann 2021-03-24 14:57:27 +0100
  • c76f65a49a Add missing header (linux) Artem Pavlenko 2021-03-24 11:44:56 +0000
  • d756b534e3 Fix names and add welsh reference for good measure Artem Pavlenko 2021-03-24 11:42:18 +0000
  • 2bb5bdb9fe Fix existing and add more transformation test + test for is_geographic (ref 3a302667a1) Artem Pavlenko 2021-03-24 11:23:27 +0000
  • f82ed08d6a Replace remaining MAPNIK_USE_PROJ4 -> MAPNIK_USE_PROJ Artem Pavlenko 2021-03-24 11:22:32 +0000
  • b24fc9a8da Remove proj4 related stuff Artem Pavlenko 2021-03-24 11:21:50 +0000
  • 3a302667a1 Fix return value (MAPNIK_WEBMERCATOR_PROJ is not geographic SRS) Artem Pavlenko 2021-03-24 09:42:52 +0000
  • 59aa5087fc upgrade libpq to 9.6.5 Artem Pavlenko 2021-03-22 16:03:08 +0000
  • 602948f783 Upgrade mason pkgs: * libgdal 2.2.3 * libpng 1.6.32 * jpeg_turbo 1.5.2 * libtiff 4.0.8 Artem Pavlenko 2021-03-22 15:43:34 +0000
  • 167461ccc4 rename internal name mapnik-core to core since the exported name would be mapnik::mapnik-core instead of mapnik::core. This fixes the issue Mathis Logemann 2021-03-19 22:51:50 +0100
  • 5afe22030f Fix proj_version on macOS Artem Pavlenko 2021-03-19 16:37:21 +0000
  • 9df7afd0a3 Add 'proj_version' check + define PROJ_MIN_VERSION as 7.2.0 Artem Pavlenko 2021-03-19 13:24:14 +0000
  • 6af16764aa proj - add version check based on major*10000+minor*100+patch format Artem Pavlenko 2021-03-19 13:22:16 +0000
  • 6b9b42f314 Declare proj_cache_ thread_local static to allow mapnik::Map to be thread-safe under certain conditions + refactor (benchmark/src/test_rendering_shared_map.cpp) Artem Pavlenko 2021-03-18 16:05:58 +0000
  • ebbd544d75 Add text to indicate if proj_transform is internal or external (libproj) Artem Pavlenko 2021-03-18 16:05:09 +0000
  • 9c7e21fa47 Re-use proj_transform as creating a new one is extremely expensive on libproj >= 6 (NOTE: epsg:4326 and epsg:3857 are special cases which use internal implementations and are not expensive to create on stack). Artem Pavlenko 2021-03-18 15:32:13 +0000
  • 07477f089a
    Merge d5b2239347 into 7754b6f70b Chris Mayo 2021-03-18 16:16:49 +0100
  • 36be4fe594 renamed target mapnik::headers to mapnik::core Mathis Logemann 2021-03-18 15:35:55 +0100
  • a8dd3380c9
    Merge d93f17c19b into 7754b6f70b Chris Mayo 2021-03-17 23:13:57 +0100
  • 4604aee202 3.15 is the minium supported target. tested. Mathis Logemann 2021-03-17 23:06:49 +0100
  • 4e898b2a52 added some basic READMEs Mathis Logemann 2021-03-17 22:37:46 +0100
  • d1e942a2c5
    Merge cf9bde7bf1 into 74c79eb17c fidomax 2021-03-17 22:18:50 +0100
  • ae43a49b71 add dependencies to cmake config. Provieded a new macro for better maintance Mathis Logemann 2021-03-17 22:18:21 +0100
  • a0d60f233b fixes cairo renderer debug configuration. Copied FindCairo had a lot of issues with the multiconfiguration settings. Rewrite of the whole file Mathis Logemann 2021-03-17 21:29:00 +0100
  • 199e609a79 Fix compiler warning - use non-reference type 'boost::tuples::cons<...>' Artem Pavlenko 2021-03-16 11:49:53 +0000
  • fbc6bec12a Update visual data references Artem Pavlenko 2021-03-15 18:18:24 +0000
  • 56d63073b4 Update test Artem Pavlenko 2021-03-15 18:10:09 +0000
  • 387d54fe9d Defer projection init Artem Pavlenko 2021-03-15 18:09:21 +0000
  • 6099804559 Use POSIX definition of pi constant (M_PI) + define tau in terms of pi + better namings + remove deprecated proj4 style definitions Artem Pavlenko 2021-03-15 18:06:26 +0000
  • c1d9bde886 fix find cairo Mathis Logemann 2021-03-15 10:03:26 +0100
  • f9d65edf20 oops. do not push github workflow Mathis Logemann 2021-03-15 08:57:50 +0100
  • 79d369db1f Merge branch 'master' of https://github.com/mapnik/mapnik into cmake-support Mathis Logemann 2021-03-15 08:52:15 +0100
  • b3fb65edaa Merge branch 'master' of https://github.com/mathisloge/mapnik into cmake-support Mathis Logemann 2021-03-15 08:49:27 +0100
  • baad6b3819 Update data and data-visual to use epsg:XXXX syntax to define SRS (old proj4 syntax is not recommended in proj >=6) Artem Pavlenko 2021-03-12 16:24:11 +0000
  • c71bcdc92d update visual tests affected by switching to well_known_srs Artem Pavlenko 2021-03-12 14:39:14 +0000
  • f432204180 Update test/data-visual Artem Pavlenko 2021-03-12 13:14:31 +0000
  • 68efb709ed Fix mason version Artem Pavlenko 2021-03-11 15:16:31 +0000
  • ec880947e0 fix merge artifacts Artem Pavlenko 2021-03-11 15:04:53 +0000
  • 342bf2947b Merge branch 'master' into proj6 Artem Pavlenko 2021-03-11 14:51:01 +0000
  • 74c79eb17c
    Merge pull request #4217 from mapnik/scons-4.1.0 Artem Pavlenko 2021-03-11 14:45:32 +0000
  • 689aa4cdef Remove Proj.4 reference in preference to Proj Artem Pavlenko 2021-03-11 14:11:44 +0000
  • d9b7055cbe travis-ci - brew link postgresql postgis Artem Pavlenko 2021-03-11 13:58:53 +0000
  • b70e5adad0 remove extract token Artem Pavlenko 2021-03-11 13:57:12 +0000
  • a6ced1622c .travis.yml - use 'brew list --formula + brew link git` Artem Pavlenko 2021-03-11 13:41:35 +0000
  • 13a6b0c03a .travis.yml - fix syntax typo Artem Pavlenko 2021-03-11 12:40:15 +0000
  • 5f78b90572 travis-ci - revive postgis.input tests (call unlink brew pkga in script section) Artem Pavlenko 2021-03-11 12:32:58 +0000
  • 466ff8c319 travis-ci - unlink all brew pkgs Artem Pavlenko 2021-03-11 11:15:33 +0000
  • e91d1ec0a5 travis-ci - brew list Artem Pavlenko 2021-03-11 10:56:47 +0000