summaryrefslogtreecommitdiff
path: root/src/mbgl/util
Commit message (Collapse)AuthorAgeFilesLines
* [core] Remove std:: namespace for some functionsThiago Marcos P. Santos2017-08-071-1/+1
| | | | They are not available on Android + GCC (needed by Qt)
* [all] Merge View into RendererBackendJohn Firebaugh2017-07-261-4/+3
|
* [core] Fix issues with the std:: namespace and old compilersThiago Marcos P. Santos2017-07-262-0/+4
| | | | Specifically when building Android with GCC 4.9 (which Qt still does :-/)
* [Qt] Rename files with same nameThiago Marcos P. Santos2017-07-191-0/+0
| | | | | QMake is having some issues with files with same names when building the Qt Location plugin.
* [core] fix undefined behavior for division through 0Konstantin Käfer2017-07-171-0/+13
|
* [core] Use gmtime_s on WindowsThiago Marcos P. Santos2017-07-121-2/+9
| | | | gmtime_r is POSIX
* [core] Use std::to_string on WindowsThiago Marcos P. Santos2017-07-122-1/+14
| | | | Clang on Window's can't parse rapidjson's dtoa.
* [core] Prefer std:: functions over POSIXThiago Marcos P. Santos2017-07-121-4/+2
| | | | s/unlink/std::remove
* [core] fix transformMat4Ansis Brammanis2017-07-111-4/+5
| | | | | It used to overwrite values in the middle of the calculation which would cause problems when `out` and `a` were a reference to the same vector.
* [core] Isolate pthread-based tls implementationThiago Marcos P. Santos2017-07-071-34/+10
|
* [core] Updated script detection for Unicode 10Minh Nguyễn2017-07-061-2/+14
| | | | Updated script detection code to reflect changes in Unicode 10 and UTR 50 revision 17.
* [core] Fix iterator invalidation in erase_ifJohn Firebaugh2017-07-051-4/+4
| | | | vector::erase invalidates iterators. It's not safe for erase_if to cache the end iterator nor increment, then erase.
* [core] Rename ThreadedObject to ThreadThiago Marcos P. Santos2017-06-211-7/+7
| | | | | Now that the old Thread class is gone, we can give ThreadedObject a better name.
* [core] Remove util::ThreadThiago Marcos P. Santos2017-06-214-209/+1
| | | | Fixes #6425
* [core] Added the ThreadedObjectThiago Marcos P. Santos2017-06-211-0/+163
| | | | Actor model version of util::Thread.
* [core] Added Backend::{assume,set}ScissorTestBruno de Oliveira Abinader2017-06-131-0/+1
|
* [core] Disable letter-spacing for Arabic labels (issue #9057)Chris Loer2017-05-222-5/+18
|
* [core] leave Image objects in a valid state after premultiply/unpremultiplyKonstantin Käfer2017-05-191-0/+2
|
* [core] Throttle tiles to redo symbol placement at most once every 300ms.Chris Loer2017-05-172-0/+58
| | | | Fixes issue #8435 and prepares for pitch-scaling changes in issue #8967.
* [core] Remove WorkQueueJohn Firebaugh2017-05-172-78/+0
| | | | No longer used as of 5cdf838a387cae446dba500ac49a1c5524bf7949.
* [linux] loop-uv depends on mbgl-core for linkingJohn Firebaugh2017-05-121-1/+1
|
* [core] Immutable ImplsJohn Firebaugh2017-05-121-0/+106
|
* [tidy] modernize-use-overrideBruno de Oliveira Abinader2017-05-121-1/+1
|
* [tidy] modernize-use-usingBruno de Oliveira Abinader2017-05-121-1/+1
|
* [tidy] modernize-use-autoBruno de Oliveira Abinader2017-05-122-2/+2
|
* [tidy] llvm-namespace-commentBruno de Oliveira Abinader2017-05-121-1/+1
|
* [core] Make deleted members publicBruno de Oliveira Abinader2017-05-121-5/+5
| | | | warning: deleted member function should be public [modernize-use-equals-delete]
* [core, android] Factor JSON string conversionsJohn Firebaugh2017-05-082-0/+16
| | | | | | | | | | | This adds a `convertJSON` template, to be used like: Error error optional<Foo> foo = convertJSON<Foo>(string, error); Internally, it parses the string with RapidJSON and then calls `convert<Foo>(parsed, error)`. While here, rationalize GeoJSON converters and fix error handling for Tileset conversion in OfflineDownload.
* [core] Reuse fill-extrusion textures between frames (#8896)Lauren Budorick2017-05-082-25/+30
|
* [core] Make Map.addImage tests pass (#8843)Asheem Mamoowala2017-05-021-12/+0
| | | | | Fix Node tests suite implementation to parse pixelRatio from style json Premultiply images in the node binding before sending to mbgl core
* [core] Render fill-extrusion layers (#8431)Lauren Budorick2017-04-276-102/+38
|
* [core] More complete fix for composite function interpolation edge caseJohn Firebaugh2017-04-201-1/+3
| | | | b5b4549 / #8613 handled the edge case for layout properties, but not paint properties. Move the check for a degenerate range to interpolationFactor in order to handle both correctly.
* [core] Tighten geo.hpp ctorsBruno de Oliveira Abinader2017-04-141-2/+2
|
* [core] Updated Size::isEmpty and TransformState::valid checksBruno de Oliveira Abinader2017-04-102-2/+4
|
* [Qt] Fix build when zlib is compiled with -DZ_PREFIXThiago Marcos P. Santos2017-04-071-1/+1
| | | | Proper fix this time.
* [all] Make LatLng coordinates read-onlyJohn Firebaugh2017-04-061-7/+7
|
* [core] De-mutex GlyphAtlas and SpriteAtlasChris Loer2017-04-041-27/+0
| | | | | | | | | | | | - Expose glyph and icon information to workers via message interface. - Glyph/SpriteAtlas track which tiles have outstanding requests and send messages to them when glyphs/icons become available. - Remove obsolete "updateSymbolDependentTiles" pathway - Symbol preparation for a tile now depends on all glyphs becoming available before it can start. - Start tracking individual icons needed for a tile, although we don't do anything with the information yet. - Introduce typedef for GlyphID
* [core] return empty optional when color could not be parsedIvo van Dongen2017-04-041-8/+12
|
* [core] Remove unused ThreadLocal constructorJohn Firebaugh2017-04-031-5/+0
|
* [core] Do not throw on dtorsThiago Marcos P. Santos2017-04-011-1/+4
| | | | Fix build on GCC6 + Ubuntu 16.04.
* [node] Move util/async_task.hpp to public include directoryKonstantin Käfer2017-03-281-24/+0
|
* [core] Remove private header includes from CLI utilitiesKonstantin Käfer2017-03-282-14/+0
|
* [core] Move ignore.hpp to public include directoryJohn Firebaugh2017-03-281-26/+0
|
* [core] Avoid public dtoa.hpp includeJohn Firebaugh2017-03-281-0/+20
|
* [core] Move interpolate.hpp to public include directoryJohn Firebaugh2017-03-281-89/+0
|
* [core] cache binary shaders on AndroidKonstantin Käfer2017-03-222-0/+13
|
* [build] Fix build when using a Z_PREFIX zlibThiago Marcos P. Santos2017-03-141-0/+5
| | | | | It will redefine mbgl::util::compress to mbgl::util::z_compress and cause a link error. Aka pre-processor hell.
* [core] privatize OffscreenTexture implementationKonstantin Käfer2017-03-012-24/+55
|
* [core] Add pause/resume to the Thread classThiago Marcos P. Santos2017-02-251-0/+45
| | | | | | | | | | Make a thread completely halt and not process any message on the message queue until resume() is called. Sending a sync message to a halted thread will result on a deadlock, thus the assertion. Deleting a paused thread will trigger a resume.
* [core] add tests for user/password, port, trailing dot, and IPv4/IPv6 ↵Konstantin Käfer2017-02-131-2/+4
| | | | address parsing