Commit Graph
837 Commits
Author SHA1 Message Date
Eric Fischer 8c7ac58ba1 Fix memory leaks and questionable arithmetic
Fix memory leaks and questionable arithmetic
2016-04-27 12:11:24 -07:00
Eric Fischer 737ae44dd7 Fix warnings about questionable numeric operations 2016-04-27 11:57:46 -07:00
Eric Fischer d4504da2f5 Rationalize the highest allowed maxzoom in terms of detail 2016-04-27 11:46:24 -07:00
Dane Springmeyer 3182930f35 fix 'negation of 1 cannot be represented in type unsigned int' error - refs #227 2016-04-27 11:46:16 -07:00
Dane Springmeyer d35ef72a99 fix 'runtime error: left shift of negative value -12' error - refs #227 2016-04-27 11:46:05 -07:00
Eric Fischer 87fea8082f Make indent, and finish writing a comment that I started 2016-04-27 10:51:54 -07:00
Eric Fischer 5cfd7cf68f Don't leak layer names 2016-04-27 10:46:01 -07:00
Eric Fischer 1e16eb9294 Don't leak whatever is left of one parse tree when starting another 2016-04-27 10:45:55 -07:00
Eric Fischer 39c180a673 Don't leak the non-GeoJSON objects in the JSON parse tree 2016-04-27 10:45:41 -07:00
Eric Fischer 60318e664e Fix leak of pools for -x and -y options 2016-04-27 10:45:33 -07:00
Eric Fischer 6a37ea4e54 Fix leaks of input source lists and bounding boxes 2016-04-27 10:45:25 -07:00
Eric Fischer 0205086886 Fix memory leak of temporary filenames 2016-04-27 10:45:17 -07:00
Dane Springmeyer 235939ea23 Merge pull request #226 from mapbox/c++-math
use std::fabs instead of clib fabs
2016-04-26 17:03:00 -07:00
Dane Springmeyer 65964c93f5 more std:: usage in c++ files 2016-04-26 16:56:24 -07:00
Dane Springmeyer d0b5ba3862 use std::fabs instead of clib fabs 2016-04-26 16:51:12 -07:00
Dane Springmeyer b2063108b2 Merge pull request #222 from mapbox/debug-builds
Explict Release/Debug modes to build
2016-04-26 15:52:45 -07:00
Dane Springmeyer 86e6cd717a Add OSX Debug build 2016-04-26 15:46:58 -07:00
Dane Springmeyer ef3b9bea7c Explict Release/Debug modes to build 2016-04-26 15:39:42 -07:00
Dane Springmeyer ce64565b38 [build] use AR variable in Makefile 2016-04-26 15:26:15 -07:00
Eric Fischer bd5dc4ad18 Merge pull request #187 from mapbox/earcut-polygon
Upgrade Clipper to 07b828b1 to fix self-intersecting polygons
2016-04-26 14:26:10 -07:00
Eric Fischer 77bc24d743 Bump version number 2016-04-26 14:16:19 -07:00
Eric Fischer bebb0dda90 Add missing #include 2016-04-26 14:01:59 -07:00
Eric Fischer 49d29ad368 But no, I still left a few more dependencies 2016-04-26 13:54:08 -07:00
Eric Fischer 33f9d91a4c Remove protobuf prerequisites again 2016-04-26 13:50:08 -07:00
Eric Fischer a9a14b33e0 Merge remote-tracking branch 'origin/master' into earcut-polygon 2016-04-26 13:48:03 -07:00
Dane Springmeyer 535b328425 add libprotobuf back to packages (not sources) 2016-04-26 12:51:48 -07:00
Dane Springmeyer 3570d93434 whoops, libprotobuf is still required a bit (for now) 2016-04-26 12:48:32 -07:00
Dane Springmeyer c4a13fc6e0 fix clang++ build by upgrading to 3.5 2016-04-26 12:41:27 -07:00
Eric Fischer 8c82ee4c5f Merge branch 'master' into earcut-polygon
Conflicts:
	tile.cc
2016-04-26 12:09:56 -07:00
Eric Fischer d72639b8f7 Merge pull request #219 from mapbox/protozero
Use protozero for reading and writing vector tile protocol buffers
2016-04-25 17:00:32 -07:00
Eric Fischer aaec2c98b6 Clearer names 2016-04-25 16:52:20 -07:00
Eric Fischer 52f2804122 Make lexical feature ordering work again, and add a test for it 2016-04-25 16:47:30 -07:00
Eric Fischer e10a71e152 Use the mvt constant pool when tiling 2016-04-25 16:19:52 -07:00
Eric Fischer 7bb4c7dbe9 Add a helper method to manage the tile layer's key-value constant pool 2016-04-25 14:20:21 -07:00
Eric Fischer 2dea1d1564 Fix hardwired layer version number 2016-04-25 12:23:40 -07:00
Eric Fischer 23934166b1 Methods instead of functions 2016-04-25 12:13:52 -07:00
Eric Fischer 2afd0bf31b Try with clang++ instead 2016-04-25 10:22:14 -07:00
Eric Fischer 4e71c40f54 Try backing off to older C++ standard for older g++ 2016-04-25 09:58:36 -07:00
Eric Fischer 03d5c89742 These are version 2 tiles 2016-04-25 09:24:36 -07:00
Eric Fischer 9e9afb06d2 Fix signedness warnings, missing #includes, and code formatting. 2016-04-22 23:32:02 -07:00
Eric Fischer b15956b476 Oops, was still linking to -lprotobuf-lite 2016-04-22 19:30:37 -07:00
Eric Fischer 4cee508e95 Add missing #include 2016-04-22 17:51:35 -07:00
Eric Fischer 135aea8527 Use protozero for writing tiles 2016-04-22 17:45:24 -07:00
Eric Fischer 5ec41d7bbb Use protozero for tile decoding 2016-04-22 17:10:33 -07:00
Eric Fischer f9c4fb8374 Factor out tile reading and writing from tile-join 2016-04-22 15:47:06 -07:00
Eric Fischer f837577b38 Rename pb_ prefixes to mvt_ 2016-04-22 15:10:16 -07:00
Eric Fischer 358f019372 Factor out vector tile writing 2016-04-22 15:06:26 -07:00
Eric Fischer f902721dab Abstraction of tile decoding 2016-04-22 13:27:03 -07:00
Eric Fischer b91e8f6d3e Start factoring out protocol buffer handling code 2016-04-22 12:00:19 -07:00
Eric Fischer 2607a76c63 Merge pull request #215 from mapbox/no-clipping
Add an option not to clip features if they appear in the tile at all
2016-04-21 10:36:51 -07:00