diff --git a/configure b/configure index 0a7811053..fe39e7767 100755 --- a/configure +++ b/configure @@ -45,7 +45,7 @@ case ${MASON_PLATFORM} in LIBUV_VERSION=0.10.28 ZLIB_VERSION=system BOOST_VERSION=system - NUNICODE_VERSION=1.5-dev + NUNICODE_VERSION=1.5.1 ;; esac diff --git a/gyp/mbgl-linux.gypi b/gyp/mbgl-linux.gypi index 7a249d863..5bfa8f757 100644 --- a/gyp/mbgl-linux.gypi +++ b/gyp/mbgl-linux.gypi @@ -8,7 +8,7 @@ 'variables': { 'cflags_cc': [ '<@(png_cflags)', - '<@(jpeg_cflags)', + '<@(jpeg_cflags)', '<@(uv_cflags)', '<@(curl_cflags)', '<@(nu_cflags)', diff --git a/include/mbgl/map/map.hpp b/include/mbgl/map/map.hpp index 9d00d0f52..25cbf8bde 100644 --- a/include/mbgl/map/map.hpp +++ b/include/mbgl/map/map.hpp @@ -26,7 +26,7 @@ class Style; class StyleLayer; class StyleLayerGroup; class StyleSource; -class Texturepool; +class TexturePool; class FileSource; class View; @@ -82,12 +82,12 @@ public: void setAppliedClasses(const std::vector &classes); void toggleClass(const std::string &name); const std::vector &getAppliedClasses() const; - void setDefaultTransitionDuration(uint64_t duration_milliseconds = 0); + void setDefaultTransitionDuration(uint64_t milliseconds = 0); uint64_t getDefaultTransitionDuration(); void setStyleURL(const std::string &url); void setStyleJSON(std::string newStyleJSON, const std::string &base = ""); std::string getStyleJSON() const; - void setAccessToken(std::string access_token); + void setAccessToken(std::string accessToken); std::string getAccessToken() const; // Transition @@ -160,9 +160,9 @@ private: std::unique_ptr loop; std::unique_ptr workers; std::unique_ptr thread; - std::unique_ptr async_terminate; - std::unique_ptr async_render; - std::unique_ptr async_cleanup; + std::unique_ptr asyncTerminate; + std::unique_ptr asyncRender; + std::unique_ptr asyncCleanup; bool terminating = false; bool pausing = false; @@ -174,24 +174,24 @@ private: // If cleared, the next time the render thread attempts to render the map, it will *actually* // render the map. - std::atomic_flag is_clean = ATOMIC_FLAG_INIT; + std::atomic_flag isClean = ATOMIC_FLAG_INIT; // If this flag is cleared, the current back buffer is ready for being swapped with the front // buffer (i.e. it has rendered data). - std::atomic_flag is_swapped = ATOMIC_FLAG_INIT; + std::atomic_flag isSwapped = ATOMIC_FLAG_INIT; // This is cleared once the current front buffer has been presented and the back buffer is // ready for rendering. - std::atomic_flag is_rendered = ATOMIC_FLAG_INIT; + std::atomic_flag isRendered = ATOMIC_FLAG_INIT; // Stores whether the map thread has been stopped already. - std::atomic_bool is_stopped; + std::atomic_bool isStopped; View &view; #ifndef NDEBUG - const unsigned long main_thread; - unsigned long map_thread = -1; + const unsigned long mainThread; + unsigned long mapThread = -1; #endif Transform transform; @@ -204,7 +204,7 @@ private: util::ptr glyphStore; SpriteAtlas spriteAtlas; util::ptr sprite; - util::ptr texturepool; + util::ptr texturePool; Painter painter; diff --git a/include/mbgl/map/raster_tile_data.hpp b/include/mbgl/map/raster_tile_data.hpp index cbbd864aa..42070d9c6 100644 --- a/include/mbgl/map/raster_tile_data.hpp +++ b/include/mbgl/map/raster_tile_data.hpp @@ -10,13 +10,13 @@ namespace mbgl { class Painter; class SourceInfo; class StyleLayer; -class Texturepool; +class TexturePool; class RasterTileData : public TileData { friend class TileParser; public: - RasterTileData(Tile::ID const& id, Texturepool&, const SourceInfo&); + RasterTileData(Tile::ID const& id, TexturePool&, const SourceInfo&); ~RasterTileData(); virtual void parse(); diff --git a/include/mbgl/map/source.hpp b/include/mbgl/map/source.hpp index c36376fd5..8976f67b0 100644 --- a/include/mbgl/map/source.hpp +++ b/include/mbgl/map/source.hpp @@ -23,7 +23,7 @@ class GlyphStore; class SpriteAtlas; class Sprite; class FileSource; -class Texturepool; +class TexturePool; class Style; class Painter; class StyleLayer; @@ -39,7 +39,7 @@ public: util::ptr