Skip to content
Permalink
Browse files

Merge branch 'master' of https://github.com/qgis/QGIS into direction_…

…neutral_segmentation
  • Loading branch information
mhugent committed Feb 21, 2017
2 parents 3da4413 + e20ed4b commit 975b5890b959b6913d79d653b47e5434aa9ecdaf
Showing with 653 additions and 714 deletions.
  1. +14 −0 CMakeLists.txt
  2. +59 −12 cmake/FindQGIS.cmake
  3. +4 −0 python/core/raster/qgsrasterdataprovider.sip
  4. +16 −0 python/core/symbology-ng/qgsfillsymbollayer.sip
  5. +4 −0 python/core/symbology-ng/qgslinesymbollayer.sip
  6. +4 −0 python/core/symbology-ng/qgsvectorfieldsymbollayer.sip
  7. +9 −9 scripts/release.pl
  8. +7 −0 src/analysis/CMakeLists.txt
  9. +0 −8 src/analysis/interpolation/Point3D.cc
  10. +0 −1 src/analysis/interpolation/Point3D.h
  11. +0 −15 src/analysis/interpolation/Vector3D.cc
  12. +0 −3 src/analysis/interpolation/Vector3D.h
  13. +0 −5 src/analysis/interpolation/qgsinterpolator.cpp
  14. +1 −1 src/analysis/interpolation/qgsinterpolator.h
  15. +0 −5 src/analysis/network/qgsvectorlayerdirector.cpp
  16. +1 −1 src/analysis/network/qgsvectorlayerdirector.h
  17. +0 −5 src/analysis/raster/qgsderivativefilter.cpp
  18. +1 −1 src/analysis/raster/qgsderivativefilter.h
  19. +0 −5 src/analysis/raster/qgsninecellfilter.cpp
  20. +1 −1 src/analysis/raster/qgsninecellfilter.h
  21. +1 −1 src/analysis/raster/qgsrastermatrix.cpp
  22. +0 −6 src/analysis/raster/qgsruggednessfilter.cpp
  23. +1 −1 src/analysis/raster/qgsruggednessfilter.h
  24. +0 −5 src/analysis/raster/qgsslopefilter.cpp
  25. +1 −1 src/analysis/raster/qgsslopefilter.h
  26. +0 −5 src/analysis/raster/qgstotalcurvaturefilter.cpp
  27. +1 −1 src/analysis/raster/qgstotalcurvaturefilter.h
  28. +4 −4 src/analysis/vector/mersenne-twister.cpp
  29. +1 −1 src/analysis/vector/qgstransectsample.cpp
  30. +0 −1 src/app/CMakeLists.txt
  31. +4 −3 src/app/mainwin.cpp
  32. +8 −0 src/core/CMakeLists.txt
  33. +0 −3 src/core/annotations/qgshtmlannotation.cpp
  34. +1 −1 src/core/annotations/qgshtmlannotation.h
  35. +1 −1 src/core/auth/qgsauthmethodregistry.cpp
  36. +6 −6 src/core/composer/qgsatlascomposition.cpp
  37. +0 −2 src/core/composer/qgscomposerarrow.cpp
  38. +1 −1 src/core/composer/qgscomposerattributetablev2.cpp
  39. +3 −3 src/core/composer/qgscomposerhtml.cpp
  40. +1 −3 src/core/composer/qgscomposeritem.cpp
  41. +1 −1 src/core/composer/qgscomposerlabel.cpp
  42. +1 −1 src/core/composer/qgscomposermap.cpp
  43. +1 −1 src/core/composer/qgscomposermap.h
  44. +1 −1 src/core/composer/qgscomposernodesitem.cpp
  45. +1 −8 src/core/composer/qgscomposerpicture.cpp
  46. +1 −8 src/core/composer/qgscomposertablev2.cpp
  47. +3 −3 src/core/composer/qgscomposition.cpp
  48. +0 −8 src/core/diagram/qgsdiagram.cpp
  49. +1 −1 src/core/geometry/qgsabstractgeometry.h
  50. +20 −20 src/core/geometry/qgsgeometrymakevalid.cpp
  51. +2 −16 src/core/geometry/qgsgeometryutils.cpp
  52. +1 −1 src/core/geometry/qgsgeos.cpp
  53. +3 −3 src/core/geometry/qgsinternalgeometryengine.cpp
  54. +1 −1 src/core/gps/qextserialport/posix_qextserialport.cpp
  55. +1 −1 src/core/gps/qextserialport/qextserialport.cpp
  56. +1 −1 src/core/layertree/qgslayertreemodel.cpp
  57. +2 −2 src/core/pal/feature.cpp
  58. +2 −9 src/core/pal/problem.cpp
  59. +1 −1 src/core/qgsattributetableconfig.cpp
  60. +0 −4 src/core/qgscacheindex.cpp
  61. +5 −1 src/core/qgscacheindex.h
  62. +0 −1 src/core/qgscolorramp.cpp
  63. +0 −5 src/core/qgscolorscheme.cpp
  64. +4 −1 src/core/qgscolorscheme.h
  65. +9 −9 src/core/qgscoordinatereferencesystem.cpp
  66. +4 −7 src/core/qgscoordinatetransform.cpp
  67. +2 −6 src/core/qgsdataitem.cpp
  68. +3 −3 src/core/qgsdataitemproviderregistry.cpp
  69. +1 −1 src/core/qgsdatetimestatisticalsummary.cpp
  70. +3 −3 src/core/qgseditformconfig.cpp
  71. +14 −19 src/core/qgsexpression.cpp
  72. +5 −5 src/core/qgsexpressioncontext.cpp
  73. +1 −1 src/core/qgsexpressioncontext.h
  74. +3 −3 src/core/qgsfeature.cpp
  75. +4 −16 src/core/qgsfeaturerequest.cpp
  76. +2 −2 src/core/qgsfield.cpp
  77. +1 −1 src/core/qgsfieldformatter.cpp
  78. +3 −3 src/core/qgsfields.cpp
  79. +0 −1 src/core/qgsfontutils.cpp
  80. +1 −1 src/core/qgslabelingengine.cpp
  81. +1 −1 src/core/qgslocalec.cpp
  82. +1 −0 src/core/qgsmaprendererjob.cpp
  83. +1 −1 src/core/qgsmapsettings.cpp
  84. +2 −2 src/core/qgsnetworkaccessmanager.cpp
  85. +1 −2 src/core/qgsnetworkcontentfetcher.cpp
  86. +6 −6 src/core/qgsogcutils.cpp
  87. +1 −1 src/core/qgspallabeling.cpp
  88. +2 −8 src/core/qgspoint.cpp
  89. +4 −4 src/core/qgspointlocator.cpp
  90. +2 −2 src/core/qgsproject.cpp
  91. +1 −1 src/core/qgsproject.h
  92. +0 −4 src/core/qgsprojectfiletransform.cpp
  93. +1 −1 src/core/qgsprojectproperty.cpp
  94. +2 −2 src/core/qgsproperty.cpp
  95. +1 −1 src/core/qgsproviderregistry.cpp
  96. +0 −7 src/core/qgspythonrunner.cpp
  97. +1 −1 src/core/qgspythonrunner.h
  98. +6 −6 src/core/qgsspatialindex.cpp
  99. +3 −3 src/core/qgssqlstatement.cpp
  100. +1 −1 src/core/qgsstringstatisticalsummary.cpp
  101. +2 −2 src/core/qgsstringutils.cpp
  102. +1 −1 src/core/qgstaskmanager.cpp
  103. +1 −1 src/core/qgstextlabelfeature.cpp
  104. +14 −14 src/core/qgstextrenderer.cpp
  105. +5 −7 src/core/qgstracer.cpp
  106. +2 −1 src/core/qgstracer.h
  107. +4 −5 src/core/qgsvectorfilewriter.cpp
  108. +21 −24 src/core/qgsvectorlayer.cpp
  109. +1 −1 src/core/raster/qgscolorrampshader.cpp
  110. +10 −20 src/core/raster/qgspalettedrasterrenderer.cpp
  111. +6 −7 src/core/raster/qgsrasterblock.cpp
  112. +14 −0 src/core/raster/qgsrasterdataprovider.h
  113. +1 −1 src/core/raster/qgsrasterfilewriter.cpp
  114. +11 −0 src/core/raster/qgsrasteriterator.cpp
  115. +1 −2 src/core/raster/qgsrasterpipe.cpp
  116. +10 −20 src/core/raster/qgssinglebandgrayrenderer.cpp
  117. +1 −4 src/core/symbology-ng/qgscategorizedsymbolrenderer.cpp
  118. +2 −6 src/core/symbology-ng/qgscptcityarchive.cpp
  119. +6 −15 src/core/symbology-ng/qgsfillsymbollayer.cpp
  120. +3 −4 src/core/symbology-ng/qgsfillsymbollayer.h
  121. +1 −3 src/core/symbology-ng/qgsgraduatedsymbolrenderer.cpp
  122. +0 −1 src/core/symbology-ng/qgsheatmaprenderer.cpp
  123. +1 −3 src/core/symbology-ng/qgsinvertedpolygonrenderer.cpp
  124. +5 −12 src/core/symbology-ng/qgslinesymbollayer.cpp
  125. +1 −3 src/core/symbology-ng/qgslinesymbollayer.h
  126. +5 −12 src/core/symbology-ng/qgsstyle.cpp
  127. +1 −1 src/core/symbology-ng/qgssvgcache.cpp
  128. +1 −1 src/core/symbology-ng/qgssymbol.cpp
  129. +1 −2 src/core/symbology-ng/qgssymbollayer.cpp
  130. +1 −2 src/core/symbology-ng/qgssymbollayerutils.cpp
  131. +1 −7 src/core/symbology-ng/qgsvectorfieldsymbollayer.cpp
  132. +2 −3 src/core/symbology-ng/qgsvectorfieldsymbollayer.h
  133. +8 −0 src/gui/CMakeLists.txt
  134. +2 −2 src/gui/editorwidgets/core/qgseditorwidgetautoconf.cpp
  135. +1 −1 src/gui/qgisgui.cpp
  136. +1 −1 src/gui/qgsadvanceddigitizingdockwidget.cpp
  137. +3 −3 src/gui/qgsfiledownloader.cpp
  138. +3 −3 src/gui/qgsfiledownloader.h
  139. +0 −1 src/gui/qgsgradientstopeditor.cpp
  140. +1 −1 src/gui/qgsmapcanvas.cpp
  141. +1 −1 src/gui/qgsmapoverviewcanvas.cpp
  142. +2 −6 src/gui/qgsoptionsdialogbase.cpp
  143. +2 −3 src/gui/qgsoptionsdialogbase.h
  144. +1 −1 src/gui/qgsshortcutsmanager.cpp
  145. +1 −1 src/gui/qgsshortcutsmanager.h
  146. +2 −0 src/gui/qgsvariableeditorwidget.cpp
  147. +6 −6 src/gui/symbology-ng/qgsstylemanagerdialog.cpp
  148. +0 −3 src/gui/symbology-ng/qgssymbollayerwidget.cpp
  149. +0 −1 src/gui/symbology-ng/qgssymbollayerwidget.h
  150. +1 −1 src/gui/symbology-ng/qgssymbolslistwidget.cpp
  151. +8 −0 src/providers/delimitedtext/CMakeLists.txt
  152. +8 −0 src/providers/gdal/CMakeLists.txt
  153. +3 −4 src/providers/gdal/qgsgdalprovider.cpp
  154. +1 −1 src/providers/gdal/qgsgdalproviderbase.cpp
  155. +8 −0 src/providers/memory/CMakeLists.txt
  156. +8 −0 src/providers/ogr/CMakeLists.txt
  157. +0 −9 src/providers/ogr/qgsogrdataitems.cpp
  158. +0 −2 src/providers/ogr/qgsogrdataitems.h
  159. +1 −1 src/providers/ogr/qgsogrprovider.cpp
  160. +7 −0 src/providers/postgres/CMakeLists.txt
  161. +1 −1 src/providers/postgres/qgscolumntypethread.cpp
  162. +1 −1 src/providers/postgres/qgscolumntypethread.h
  163. +0 −4 src/providers/postgres/qgspgnewconnection.cpp
  164. +0 −1 src/providers/postgres/qgspgnewconnection.h
  165. +0 −4 src/providers/postgres/qgspgtablemodel.cpp
  166. +0 −1 src/providers/postgres/qgspgtablemodel.h
  167. +3 −19 src/providers/postgres/qgspostgresdataitems.cpp
  168. +3 −7 src/providers/postgres/qgspostgresdataitems.h
  169. +2 −2 src/providers/postgres/qgspostgresprovider.cpp
  170. +2 −2 src/providers/postgres/qgspostgresprovider.h
  171. +8 −0 src/providers/spatialite/CMakeLists.txt
  172. +1 −1 src/providers/spatialite/qgsspatialiteconnection.cpp
  173. +1 −1 src/providers/spatialite/qgsspatialitedataitems.cpp
  174. +8 −0 src/providers/wms/qgswmscapabilities.cpp
  175. +6 −0 src/providers/wms/qgswmscapabilities.h
  176. +3 −1 src/providers/wms/qgswmsprovider.h
  177. +8 −0 src/providers/wms/qgswmssourceselect.cpp
  178. +7 −0 src/server/CMakeLists.txt
  179. +1 −1 src/server/qgis_map_serv.cpp
  180. +24 −31 src/ui/qgsdiagrampropertiesbase.ui
  181. +58 −42 src/ui/qgswmssourceselectbase.ui
  182. +0 −3 src/ui/symbollayer/qgsarrowsymbollayerwidgetbase.ui
@@ -671,6 +671,20 @@ INCLUDE_DIRECTORIES(${CMAKE_BINARY_DIR})
# that may be in the same install prefix
LINK_DIRECTORIES(${CMAKE_BINARY_DIR}/src/core ${CMAKE_BINARY_DIR}/src/gui)

####################################################
# clang-tidy
FIND_PROGRAM(
CLANG_TIDY_EXE
NAMES "clang-tidy"
DOC "Path to clang-tidy executable"
)
IF(NOT CLANG_TIDY_EXE)
MESSAGE(STATUS "clang-tidy not found.")
ELSE(NOT CLANG_TIDY_EXE)
MESSAGE(STATUS "clang-tidy found: ${CLANG_TIDY_EXE}")
SET(DO_CLANG_TIDY "${CLANG_TIDY_EXE}" "-checks=*,-clang-analyzer-alpha.*,-cppcoreguidelines*,-readability-implicit-bool-cast,-llvm-include-order,-cert-err58-cpp,-modernize-pass-by-value,-google-readability-braces-around-statements,-modernize-use-auto,-modernize-loop-convert,-readability-else-after-return,-readability-braces-around-statements,-google-runtime-references,-readability-named-parameter,-google-default-arguments,-google-readability-todo,-readability-inconsistent-declaration-parameter-name,-cert-flp30-c,-google-readability-casting,-clang-analyzer-security.FloatLoopCounter,-google-runtime-int,-modernize-use-using,-google-explicit-constructor,-google-build-using-namespace,-cert-err34-c,-clang-analyzer-core.CallAndMessage,-google-readability-function-size,-modernize-make-shared,-modernize-use-nullptr,-clang-analyzer-cplusplus.NewDeleteLeaks,-clang-analyzer-core.NonNullParamChecker,performance-unnecessary-copy-initialization,-readability-simplify-boolean-expr,-modernize-raw-string-literal,-performance-unnecessary-copy-initialization")
ENDIF(NOT CLANG_TIDY_EXE)

#############################################################
# create qgsversion.h
IF (EXISTS ${CMAKE_SOURCE_DIR}/.git/index)
@@ -7,11 +7,30 @@
## QGIS_ANALYSIS_LIBRARY = full path to the ANALYSIS library
## QGIS_PLUGIN_DIR = full path to where QGIS plugins are installed
## QGIS_INCLUDE_DIR = where to find headers
## QGIS_UI_INCLUDE_DIR = where to find ui_* generated headers
##
## Definitions or ENV variables affecting search locations
##
## OSGEO4W_ROOT = [A-Z]:/path/to/OSGeo4W/install/root
## (^ use forward slashes!)
## OSGEO4W_QGIS_SUBDIR = qgis[-rel|-ltr][-dev], in OSGEO4W_ROOT/apps/
## QGIS_MAC_PATH = /path/to/any/QGIS.app/Contents
## QGIS_BUILD_PATH = [A-Z:]/path/to/QGIS/build/directory
##
## Tim Sutton
## Larry Shaffer (2017-01-31)

#MESSAGE("Searching for QGIS")
IF(WIN32)
# OSGEO4W_QGIS_SUBDIR relative install: qgis[-rel|-ltr][-dev], etc.
IF (NOT OSGEO4W_QGIS_SUBDIR OR "${OSGEO4W_QGIS_SUBDIR}" STREQUAL "")
IF (NOT "$ENV{OSGEO4W_QGIS_SUBDIR}" STREQUAL "")
SET (OSGEO4W_QGIS_SUBDIR $ENV{OSGEO4W_QGIS_SUBDIR})
ELSE ()
SET (OSGEO4W_QGIS_SUBDIR qgis)
ENDIF ()
ENDIF ()

#MESSAGE("Searching for QGIS in $ENV{PROGRAMFILES}/QGIS")
IF (MINGW)
FIND_PATH(QGIS_PLUGIN_DIR
@@ -40,7 +59,7 @@ IF(WIN32)
FIND_PATH(QGIS_PLUGIN_DIR
NAMES spatialqueryplugin.dll
PATHS
"$ENV{OSGEO4W_ROOT}/apps/qgis/plugins"
"$ENV{OSGEO4W_ROOT}/apps/${OSGEO4W_QGIS_SUBDIR}/plugins"
"$ENV{PROGRAMFILES}/QGIS/plugins"
)
FIND_PATH(QGIS_INCLUDE_DIR
@@ -49,6 +68,7 @@ IF(WIN32)
"$ENV{INCLUDE}"
"$ENV{LIB_DIR}/include/qgis"
"$ENV{OSGEO4W_ROOT}/include"
"$ENV{OSGEO4W_ROOT}/apps/${OSGEO4W_QGIS_SUBDIR}/include"
"$ENV{PROGRAMFILES}/QGIS/include"
)
FIND_LIBRARY(QGIS_CORE_LIBRARY
@@ -57,6 +77,7 @@ IF(WIN32)
"$ENV{LIB_DIR}/lib/"
"$ENV{LIB}"
"$ENV{OSGEO4W_ROOT}/lib"
"$ENV{OSGEO4W_ROOT}/apps/${OSGEO4W_QGIS_SUBDIR}/lib"
"$ENV{PROGRAMFILES}/QGIS/lib"
)
FIND_LIBRARY(QGIS_GUI_LIBRARY
@@ -65,6 +86,7 @@ IF(WIN32)
"$ENV{LIB_DIR}"
"$ENV{LIB}"
"$ENV{OSGEO4W_ROOT}/lib"
"$ENV{OSGEO4W_ROOT}/apps/${OSGEO4W_QGIS_SUBDIR}/lib"
"$ENV{PROGRAMFILES}/QGIS/lib"
)
FIND_LIBRARY(QGIS_ANALYSIS_LIBRARY
@@ -73,86 +95,111 @@ IF(WIN32)
"$ENV{LIB_DIR}"
"$ENV{LIB}"
"$ENV{OSGEO4W_ROOT}/lib"
"$ENV{OSGEO4W_ROOT}/apps/${OSGEO4W_QGIS_SUBDIR}/lib"
"$ENV{PROGRAMFILES}/QGIS/lib"
)
ENDIF (MSVC)
ELSE(WIN32)
IF(UNIX)
# try to use bundle on mac
SET (QGIS_MAC_PATH /Applications/QGIS.app/Contents)
#MESSAGE("Searching for QGIS in /usr/bin; /usr/local/bin")
FIND_PATH(QGIS_PLUGIN_DIR
NAMES libspatialqueryplugin.so
PATHS
${QGIS_BUILD_PATH}/PlugIns/qgis
${QGIS_MAC_PATH}/PlugIns/qgis
${QGIS_PREFIX_PATH}/lib/qgis/plugins/
/usr/lib64/qgis/plugins
/usr/lib/qgis
/usr/lib/qgis/plugins
/usr/local/lib/qgis/plugins
${QGIS_MAC_PATH}/PlugIns/qgis
"$ENV{LIB_DIR}/lib/qgis/plugins"
"$ENV{LIB_DIR}/lib/qgis"
)
FIND_PATH(QGIS_INCLUDE_DIR
NAMES qgis.h
PATHS
${QGIS_BUILD_PATH}/output/lib/qgis_core.framework/Headers
${QGIS_MAC_PATH}/Frameworks/qgis_core.framework/Headers
{QGIS_PREFIX_PATH}/include/qgis
/usr/include/qgis
/usr/local/include/qgis
/Library/Frameworks/qgis_core.framework/Headers
${QGIS_MAC_PATH}/Frameworks/qgis_core.framework/Headers
"$ENV{LIB_DIR}/include/qgis"
)
FIND_PATH(QGIS_UI_INCLUDE_DIR
NAMES ui_qgscredentialdialog.h
PATHS
${QGIS_BUILD_PATH}/src/ui
${QGIS_MAC_PATH}/Frameworks/qgis_gui.framework/Headers
{QGIS_PREFIX_PATH}/include/qgis
/usr/include/qgis
/usr/local/include/qgis
/Library/Frameworks/qgis_gui.framework/Headers
"$ENV{LIB_DIR}/include/qgis"
)
# also get other frameworks' headers folders on OS X
IF (APPLE)
FIND_PATH(QGIS_GUI_INCLUDE_DIR
NAMES qgisgui.h
PATHS
/Library/Frameworks/qgis_core.framework/Headers
${QGIS_MAC_PATH}/Frameworks/qgis_gui.framework/Headers
${QGIS_BUILD_PATH}/output/lib
${QGIS_MAC_PATH}/Frameworks
/Library/Frameworks
PATH_SUFFIXES qgis_gui.framework/Headers
)
FIND_PATH(QGIS_ANALYSIS_INCLUDE_DIR
NAMES qgsinterpolator.h
PATHS
/Library/Frameworks/qgis_analysis.framework/Headers
${QGIS_MAC_PATH}/Frameworks/qgis_analysis.framework/Headers
${QGIS_BUILD_PATH}/output/lib
${QGIS_MAC_PATH}/Frameworks
/Library/Frameworks
PATH_SUFFIXES qgis_analysis.framework/Headers
)
SET(QGIS_INCLUDE_DIR
${QGIS_INCLUDE_DIR}
${QGIS_GUI_INCLUDE_DIR}
${QGIS_ANALYSIS_INCLUDE_DIR}
${QGIS_UI_INCLUDE_DIR}
)
ENDIF (APPLE)

FIND_LIBRARY(QGIS_CORE_LIBRARY
NAMES qgis_core
PATHS
${QGIS_BUILD_PATH}/output/lib
${QGIS_MAC_PATH}/Frameworks
${QGIS_MAC_PATH}/lib
${QGIS_PREFIX_PATH}/lib/
/usr/lib64
/usr/lib
/usr/local/lib
/Library/Frameworks
${QGIS_MAC_PATH}/Frameworks
"$ENV{LIB_DIR}/lib/"
)
FIND_LIBRARY(QGIS_GUI_LIBRARY
NAMES qgis_gui
PATHS
${QGIS_BUILD_PATH}/output/lib
${QGIS_MAC_PATH}/Frameworks
${QGIS_MAC_PATH}/lib
${QGIS_PREFIX_PATH}/lib/
/usr/lib64
/usr/lib
/usr/local/lib
/Library/Frameworks
${QGIS_MAC_PATH}/Frameworks
"$ENV{LIB_DIR}/lib/"
)
FIND_LIBRARY(QGIS_ANALYSIS_LIBRARY
NAMES qgis_analysis
PATHS
${QGIS_BUILD_PATH}/output/lib
${QGIS_MAC_PATH}/Frameworks
${QGIS_MAC_PATH}/lib
${QGIS_PREFIX_PATH}/lib/
/usr/lib64
/usr/lib
/usr/local/lib
/Library/Frameworks
${QGIS_MAC_PATH}/Frameworks
"$ENV{LIB_DIR}/lib/"
)
ENDIF(UNIX)
@@ -312,6 +312,10 @@ class QgsRasterDataProvider : QgsDataProvider, QgsRasterInterface
static QString identifyFormatLabel( QgsRaster::IdentifyFormat format );
static Capability identifyFormatToCapability( QgsRaster::IdentifyFormat format );

//! Step width and height for raster iterations
virtual int stepWidth() const;
virtual int stepHeight() const;

signals:
/** Emit a signal to notify of the progress event.
* Emitted theProgress is in percents (0.0-100.0) */
@@ -487,6 +487,10 @@ class QgsImageFillSymbolLayer: QgsFillSymbolLayer
protected:

virtual void applyDataDefinedSettings( QgsSymbolRenderContext& context );

private:

QgsImageFillSymbolLayer( const QgsImageFillSymbolLayer& other );
};

/** \ingroup core
@@ -844,6 +848,10 @@ class QgsLinePatternFillSymbolLayer: QgsImageFillSymbolLayer

QSet<QString> usedAttributes( const QgsRenderContext& context ) const;

private:

QgsLinePatternFillSymbolLayer( const QgsLinePatternFillSymbolLayer& other );

};

class QgsPointPatternFillSymbolLayer : QgsImageFillSymbolLayer
@@ -945,6 +953,10 @@ class QgsPointPatternFillSymbolLayer : QgsImageFillSymbolLayer

protected:
void applyDataDefinedSettings( QgsSymbolRenderContext& context );

private:

QgsPointPatternFillSymbolLayer( const QgsPointPatternFillSymbolLayer& other );
};

class QgsCentroidFillSymbolLayer : QgsFillSymbolLayer
@@ -1001,4 +1013,8 @@ class QgsCentroidFillSymbolLayer : QgsFillSymbolLayer
/** Returns whether a point is drawn for all parts or only on the biggest part of multi-part features.
* @note added in 2.16 */
bool pointOnAllParts() const;

private:

QgsCentroidFillSymbolLayer( const QgsCentroidFillSymbolLayer& other );
};
@@ -283,4 +283,8 @@ class QgsMarkerLineSymbolLayer : QgsLineSymbolLayer
void renderPolylineVertex( const QPolygonF& points, QgsSymbolRenderContext& context, Placement placement = Vertex );
void renderPolylineCentral( const QPolygonF& points, QgsSymbolRenderContext& context );
double markerAngle( const QPolygonF& points, bool isRing, int vertex );

private:

QgsMarkerLineSymbolLayer( const QgsMarkerLineSymbolLayer& other );
};
@@ -85,4 +85,8 @@ class QgsVectorFieldSymbolLayer : QgsMarkerSymbolLayer
const QgsMapUnitScale& distanceMapUnitScale() const;

QRectF bounds( QPointF point, QgsSymbolRenderContext& context );

private:

QgsVectorFieldSymbolLayer( const QgsVectorFieldSymbolLayer& other );
};
@@ -76,7 +76,6 @@ ($$)
$i++ if defined $dopoint;
pod2usage("Exactly one of -major, -minor or -point expected") if $i!=1;
pod2usage("Release name for major and minor releases expected") if !$dopoint && !defined $newreleasename;
pod2usage("Long term releases only for major and minor releases") if $doltr && $dopoint;
pod2usage("Pre-major releases can only be minor releases") if $dopremajor && !$dominor;
pod2usage("No CMakeLists.txt in current directory") unless -r "CMakeLists.txt";

@@ -155,7 +154,7 @@ ($$)
print "Pulling transifex translations...\n";
run( "scripts/pull_ts.sh", "pull_ts.sh failed" );
run( "git add i18n/*.ts", "adding translations failed" );
run( "git commit -a -m \"translation update for $release from transifex\"", "could not commit translation updates" );
run( "git commit -n -a -m \"translation update for $release from transifex\"", "could not commit translation updates" );
} else {
print "TRANSIFEX UPDATE SKIPPED!\n";
}
@@ -167,7 +166,7 @@ ($$)
unless( $dopoint ) {
run( "scripts/update-news.pl $newmajor $newminor '$newreleasename'", "could not update news" ) if $major>2 || ($major==2 && $minor>14);

run( "git commit -a -m \"changelog and news update for $release\"", "could not commit changelog and news update" );
run( "git commit -n -a -m \"changelog and news update for $release\"", "could not commit changelog and news update" );

print "Creating and checking out branch...\n";
run( "git checkout -b $relbranch", "git checkout release branch failed" );
@@ -190,14 +189,15 @@ ($$)
print "WARNING: NO images/splash/splash-release.xcf.bz2\n";
}

run( "git commit -a -m 'Release of $release ($newreleasename)'", "release commit failed" );
run( "git commit -n -a -m 'Release of $release ($newreleasename)'", "release commit failed" );
run( "git tag $reltag -m 'Version $release'", "release tag failed" );
run( "git tag $ltrtag -m 'Long term release $release'", "ltr tag failed" ) if $doltr;
} else {
run( "git commit -a -m 'Release of $version'", "release commit failed" );
run( "git commit -n -a -m 'Release of $version'", "release commit failed" );
run( "git tag $reltag -m 'Version $version'", "tag failed" );
}

run( "git tag $ltrtag -m 'Long term release $release'", "ltr tag failed" ) if $doltr;

print "Producing archive...\n";
run( "git archive --format tar --prefix=qgis-$version/ $reltag | bzip2 -c >qgis-$version.tar.bz2", "git archive failed" );
run( "md5sum qgis-$version.tar.bz2 >qgis-$version.tar.bz2.md5", "md5sum failed" );
@@ -216,7 +216,7 @@ ($$)
run( "cp /tmp/changelog debian", "restore changelog failed" );
run( "dch -r ''", "dch failed" );
run( "dch --newversion $newmajor.$newminor.0 'New development version $newmajor.$newminor after branch of $release'", "dch failed" );
run( "git commit -a -m 'New development branch for interim $newmajor.x releases'", "bump version failed" );
run( "git commit -n -a -m 'New development branch for interim $newmajor.x releases'", "bump version failed" );

push @topush, "master_$newmajor";

@@ -228,7 +228,7 @@ ($$)
run( "cp /tmp/changelog debian", "restore changelog failed" );
run( "dch -r ''", "dch failed" );
run( "dch --newversion $newmajor.$newminor.0 'New development version $newmajor.$newminor after branch of $release'", "dch failed" );
run( "git commit -a -m 'Bump version to $newmajor.$newminor'", "bump version failed" );
run( "git commit -n -a -m 'Bump version to $newmajor.$newminor'", "bump version failed" );

push @topush, $branch;
}
@@ -238,7 +238,7 @@ ($$)

print "Push dry-run...\n";
run( "git push -n --follow-tags origin $topush", "push dry run failed" );
print "Now manually push and upload the tarballs :\n\tgit push --follow-tags origin $topush\n\trsync qgis-$version.tar.bz2* qgis.org:/var/www/downloads/\n\n";
print "Now manually push and upload the tar balls:\n\tgit push --follow-tags origin $topush\n\trsync qgis-$version.tar.bz2* ssh.qgis.org:/var/www/downloads/\n\n";
print "WARNING: TRANSIFEX UPDATE SKIPPED!\n" if $skipts;


@@ -217,6 +217,13 @@ ENDIF (NOT ANDROID)

TARGET_LINK_LIBRARIES(qgis_analysis qgis_core)

# clang-tidy
IF(CLANG_TIDY_EXE)
SET_TARGET_PROPERTIES(
qgis_analysis PROPERTIES
CXX_CLANG_TIDY "${DO_CLANG_TIDY}"
)
ENDIF(CLANG_TIDY_EXE)

# install

@@ -17,14 +17,6 @@
#include "Point3D.h"
#include "qgslogger.h"

Point3D& Point3D::operator=( const Point3D & p )
{
mX = p.mX;
mY = p.mY;
mZ = p.mZ;
return ( *this );
}

bool Point3D::operator==( const Point3D& p ) const
{
return ( mX == p.getX() && mY == p.getY() && mZ == p.getZ() );
@@ -36,7 +36,6 @@ class ANALYSIS_EXPORT Point3D
//! Constructor with the x-, y- and z-coordinate as arguments
Point3D( double x, double y, double z );
Point3D( const Point3D& p );
Point3D& operator=( const Point3D& p );
bool operator==( const Point3D& p ) const;
bool operator!=( const Point3D& p ) const;
//! Calculates the three-dimensional distance to another point

0 comments on commit 975b589

Please sign in to comment.
You can’t perform that action at this time.