Commit Graph

1066 Commits

Author SHA1 Message Date
Dane Springmeyer
3dd5d4cd24 add 'make setup' target a simplier way to get started than running ./setup-libraries.sh 2014-05-30 13:56:48 -07:00
Dane Springmeyer
b24dc07fdd [travis] build with libc++ when building with clang++ - refs #287 2014-05-30 13:44:25 -07:00
Dane Springmeyer
5f03cc1595 [hardening] fix double const& declaration 2014-05-30 13:41:07 -07:00
Dane Springmeyer
42a2c252b8 use malloc/free from c++: fixes compile with libc++ on linux - refs #287 2014-05-30 13:38:09 -07:00
Dane Springmeyer
78ad025973 [travis] -Wno-unknown-pragmas 2014-05-30 13:28:37 -07:00
Dane Springmeyer
74c534b07a avoid unused variable warning 2014-05-30 13:28:06 -07:00
Dane Springmeyer
a944018367 [hardening] must return from non void function 2014-05-30 13:27:48 -07:00
Dane Springmeyer
7adbc8371f [hardening] avoid accessing potentially uninitialized memory 2014-05-30 13:26:59 -07:00
Dane Springmeyer
d19870d9d2 fix another potential invalid memory access 2014-05-30 12:41:41 -07:00
Dane Springmeyer
552b9a0f1b fix potential crash in line wrapping:
- shaping.size() == 0 would result in unsigned overflow because uint32_t(0) - 1 == huge number
2014-05-30 12:35:49 -07:00
Konstantin Käfer
c5fd7a0cdd add token replacement system
fixes #212
2014-05-30 21:13:55 +02:00
Konstantin Käfer
da29a16370 skip second loop 2014-05-30 21:13:55 +02:00
Dane Springmeyer
7124580294 fix function signature 2014-05-30 12:13:26 -07:00
Dane Springmeyer
8edf4a7796 [build] debug back to -O0 to ensure fullest symbol visibility 2014-05-30 11:54:28 -07:00
Dane Springmeyer
925c64d906 gitignore cleanup after build improvements 2014-05-30 11:29:47 -07:00
Dane Springmeyer
c83aac0518 [build] remove obsolete clean targets + add fuller distclean ops 2014-05-30 11:25:45 -07:00
Mike Morris
59774f7e93 shaped to shaping, pass by reference instead of returning a copy 2014-05-30 14:19:22 -04:00
Dane Springmeyer
de1fa07bc6 fix travis link in readme [skip ci] 2014-05-30 10:53:07 -07:00
Dane Springmeyer
e69ec277ec [build] on osx accept either libtool or glibtool 2014-05-30 10:26:30 -07:00
Ansis Brammanis
0dd78c96e3 Merge remote-tracking branch 'origin/linebreak' 2014-05-30 13:06:25 -04:00
Ansis Brammanis
c0c43ef518 fix compile error 2014-05-30 13:06:08 -04:00
Konstantin Käfer
d5e63cea21 retain the uv loop until all things deconstructed
fixes #261
2014-05-30 17:32:09 +02:00
Konstantin Käfer
78fda8bb62 make sure we retain shared state when destructing the map object
refs #261
2014-05-30 17:00:47 +02:00
Young Hahn
2d0b3482ec Merge branch 'master' into linebreak
Conflicts:
	src/map/tile_parser.cpp
	src/text/glyph_store.cpp
2014-05-30 09:00:29 -04:00
Konstantin Käfer
3e7f801de1 mark all sprites as uninitialized on pixelRatio changes
fixes #226
2014-05-30 14:28:42 +02:00
Konstantin Käfer
3a8b88dbbd fix nearest neighbor image scaling
refs #226
2014-05-30 14:26:26 +02:00
Konstantin Käfer
31d9dbefea pass shaping directly instead of looking it up 2014-05-30 14:01:53 +02:00
Konstantin Käfer
461a19dfa2 fallback to default properties instead of not rendering when we don't have a style
refs #272
2014-05-30 13:36:53 +02:00
Konstantin Käfer
942da9cecc don't convert twice 2014-05-30 13:23:48 +02:00
Konstantin Käfer
ec973af82e skip characters that don't have metrics 2014-05-30 13:02:40 +02:00
Konstantin Käfer
ca41046dff Merge pull request #275 from mapbox/correct-calloc
Correct calloc
2014-05-30 11:26:19 +02:00
Konstantin Käfer
2aa9174507 Merge pull request #281 from mapbox/cleanup
post-glyphrange cleanup
2014-05-30 11:24:48 +02:00
Konstantin Käfer
ad3151bf52 Merge pull request #280 from mapbox/quiet-release
Quiet release mode
2014-05-30 11:19:05 +02:00
Ansis Brammanis
9ac55e0d74 add text letterSpacing 2014-05-30 04:02:23 -04:00
Justin R. Miller
cc9521c5e2 update iOS bundle ID 2014-05-30 00:57:50 -07:00
Ansis Brammanis
7c653895c6 translate as a text bucket property
When used, text is translated before being checked for collisions.
2014-05-30 03:50:25 -04:00
Justin R. Miller
2bf23a7d77 bump MVK for latest pinch enhancements 2014-05-30 00:40:49 -07:00
Ansis Brammanis
41c310c762 add verticalAlign for text
Default is center. Other options are "top" and "bottom"
2014-05-30 03:11:57 -04:00
Ansis Brammanis
9057c4980d line wrapping 2014-05-30 01:32:15 -04:00
Ansis Brammanis
63729a5009 fix make run-linux 2014-05-30 01:02:33 -04:00
Mike Morris
3442403e67 parse maxWidth, lineHeight and alignment, pass to FontStack::getShaping 2014-05-30 00:07:22 -04:00
Young Hahn
6e53a0328b Remove VectorTileGlyph, VectorTileFace, IndexedFaces, Faces and glyph related parts of vector_tile.proto. Refs #274. 2014-05-29 22:54:46 -04:00
Dane Springmeyer
2be6fefdf8 make shapingWarning and glyphWarning off for release builds 2014-05-29 18:13:41 -07:00
Dane Springmeyer
f5394a7638 release mode: silent debug output + ifdef any potentially expensive calls 2014-05-29 18:07:19 -07:00
Dane Springmeyer
0b9c45721f [travis] turn off a few clang++ warnings 2014-05-29 17:11:11 -07:00
Dane Springmeyer
d4f4547358 [test] fix signed/unsigned comparisons 2014-05-29 17:10:50 -07:00
Dane Springmeyer
5da28670e0 merge 2014-05-29 16:55:57 -07:00
Dane Springmeyer
7c589b9da4 sanitizer needs CFLAGS set for libtess 2014-05-29 16:54:36 -07:00
Dane Springmeyer
deaa1f2824 [travis][build] run clang's address sanitizer + fixup cxxflags on linux 2014-05-29 16:40:07 -07:00
Justin R. Miller
be01b42854 Merge branch 'master' of github.com:mapbox/llmr-native 2014-05-29 16:12:38 -07:00