Commit graph

7069 commits

Author SHA1 Message Date
Dane Springmeyer
88ca6fca5d Followup to #1642, closes #1859
This change adds back the ability to throw out both empty strings
and null values with the not equals statement like `[attr] != ''`

Note: this does not mean null == '' because the needed compatibility
fix only addresses the "not equals` operator to retain the historical
usage of not matching nulls.
2013-05-31 13:23:59 -07:00
Dane Springmeyer
1da3bee032 implement == and != operators on the value_null struct - no functional change, but helpful to consolidate logic for comparisions 2013-05-31 12:24:59 -07:00
Dane Springmeyer
6826920c53 add tests for #1872 2013-05-31 12:11:30 -07:00
Dane Springmeyer
f63196849d Merge pull request #1879 from mapnik/value_bool
Value bool
2013-05-31 12:07:58 -07:00
Dane Springmeyer
6831f87be8 re-enable all filter tests when run from command line 2013-05-31 11:57:45 -07:00
artemp
4a60bc7be5 + add value_bool support in not_equals 2013-05-31 18:51:11 +01:00
artemp
c8630696d4 + add explicit value_bool/value_integer/value_double equality comparison 2013-05-31 18:48:13 +01:00
Dane Springmeyer
791863bf9f Merge pull request #1878 from mapnik/mapped-memory-keepalive
shape.input: keep shared ptr to mapped region
2013-05-31 09:07:31 -07:00
Dane Springmeyer
370609feed shape.input: when reading from mapped memory cache keep a mapped_region_ptr member to ensure the memory stays alive - refs #1877 2013-05-30 14:32:20 -07:00
Dane Springmeyer
af8b5d8e40 fix signed/unsigned comparison warning 2013-05-30 09:19:18 -07:00
Dane Springmeyer
481fb3d380 no need to explicitly link to cairo on osx in python bindings if using dynamic lookup 2013-05-30 09:19:05 -07:00
Dane Springmeyer
bf7e353304 python.input: workaround broken box2d python->c++ conversion on osx/clang - closes #1876 2013-05-30 09:18:25 -07:00
Dane Springmeyer
eba62d3c56 be more explicit about ctor kwargs for python datasource tests 2013-05-30 09:16:03 -07:00
Dane Springmeyer
600fed2bf5 note that over 500 new tests have been added in Mapnik 2.2 2013-05-29 16:43:33 -07:00
Dane Springmeyer
d1e1c3f1c1 2.2.0 changelog summary touchups 2013-05-29 15:26:18 -07:00
Dane Springmeyer
b0f15bf5de avoid muffling proj_init at render time and instead catch at load_map - closes #646 2013-05-29 15:16:44 -07:00
Dane Springmeyer
97fe52ac04 use a truly invalid expression for the broken text symbolizer test 2013-05-29 15:09:55 -07:00
Dane Springmeyer
7da0028ed9 load map assertions were not working, fix them 2013-05-29 14:11:28 -07:00
Dane Springmeyer
fa362113b3 remove uneeded datasource template usage 2013-05-29 14:11:03 -07:00
Dane Springmeyer
080f500af3 more tests for #1859, and make note of bug #1873 2013-05-29 13:27:47 -07:00
Dane Springmeyer
1b9c4a63af more null/empty string filter tests - refs #1859 2013-05-29 10:35:02 -07:00
Dane Springmeyer
74fd456653 make the mapnik-config test slightly more cross platform 2013-05-25 19:54:53 -07:00
Dane Springmeyer
51d1542428 Merge branch 'master' of https://github.com/mapnik/mapnik 2013-05-25 18:11:47 -07:00
Dane Springmeyer
a41c2205d5 more cpp test cleanup 2013-05-25 18:16:18 -07:00
Dane Springmeyer
d34661f7d7 expose vpgen_clip_polyline so cpp tests will work on windows 2013-05-25 18:13:39 -07:00
Dane Springmeyer
738c2e5566 set working dir of map_request.cpp 2013-05-25 18:04:49 -07:00
Dane Springmeyer
3ff290ac07 enable passing working directory to cpp tests that hit the filesystem and expect files to be relative to the mapnik source folder 2013-05-25 17:56:10 -07:00
Dane Springmeyer
5184ef3e42 fix conversions tests on windows 2013-05-25 17:19:54 -07:00
Dane Springmeyer
6844226156 remove an uninteresting cpp test 2013-05-25 17:09:35 -07:00
Dane Springmeyer
37a1c07051 remove uneeded dependence of cpp tests on sqlite 2013-05-25 17:07:08 -07:00
Dane Springmeyer
4bd63ce7a0 iwyu and fix compile on linux 2013-05-25 16:04:40 -07:00
Dane Springmeyer
8f84146948 run in quiet mode 2013-05-24 17:22:28 -07:00
Dane Springmeyer
1211211f98 quiet mode for c++ tests 2013-05-24 17:21:55 -07:00
Dane Springmeyer
b86303202e remove a few seemingly valid pngs that no longer fail with libpng > 1.6 - closes #1854 2013-05-24 16:47:18 -07:00
Dane Springmeyer
04496dfaed Merge branch 'master' of github.com:mapnik/mapnik 2013-05-24 16:45:54 -07:00
Dane Springmeyer
7302b3b654 fix #1865 2013-05-24 16:45:02 -07:00
Dane Springmeyer
db7e5919d2 Fix example of building vs files with gyp on windows 2013-05-24 14:29:11 -06:00
Dane Springmeyer
73d53008de Merge branch 'master' of https://github.com/mapnik/mapnik 2013-05-24 13:27:10 -07:00
Dane Springmeyer
d1d688bb8a fix typo 2013-05-24 13:26:52 -07:00
Dane Springmeyer
69f5f8ba65 Merge branch 'master' of github.com:mapnik/mapnik 2013-05-24 12:47:14 -07:00
Dane Springmeyer
2291c8b698 disable hidden visibility for plugins and hidden inlines for the library by default for 2.2 release - can re-enable after more testing - refs #1863 2013-05-24 12:46:51 -07:00
artemp
d0671098d1 OGR.input
+ set tolerance tol=0.001 in features_at_point test
  older versions of GDAL are not handling empty bounding boxes
  correctly e.g SetSpatialFilterRect(x0,y0,x0,y0)
  tested on ubuntu-12.04/64-bit g++-4.6.3 gdal-1.7.3
2013-05-24 09:32:48 +01:00
Dane Springmeyer
8cbb8aa1c0 Merge branch 'master' of github.com:mapnik/mapnik 2013-05-23 18:18:33 -07:00
Dane Springmeyer
fe6d860fa4 remove mapnik-config.bat (for windows only) which is now versioned in mapnik-packaging repo: 173186c77b 2013-05-23 16:06:07 -07:00
Dane Springmeyer
4057c2c822 ensure that the input plugin directory exists even if we don't put any plugins in it 2013-05-23 15:40:05 -07:00
Dane Springmeyer
62434041e3 clean up hello.input if stale 2013-05-23 15:36:43 -07:00
Dane Springmeyer
05f010a43b ensure that when statically linking plugins we remove previously built ones that are stale 2013-05-23 15:20:17 -07:00
Dane Springmeyer
47e62804be rundemo.gyp now working on windows 2013-05-23 00:46:55 -07:00
Dane Springmeyer
bd6ca681b6 Merge branch 'master' of github.com:mapnik/mapnik 2013-05-23 00:15:37 -07:00
Dane Springmeyer
9ede00abf8 rundemo standalone build fixes 2013-05-23 00:15:18 -07:00