Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[processing] Fix and improve eliminate #4011

Closed
wants to merge 565 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
565 commits
Select commit Hold shift + click to select a range
c30eb9e
Merge pull request #4097 from alexbruy/plugin-from-zip
borysiasty Feb 1, 2017
46404f7
Merge pull request #4081 from ghtmtt/rename_sql
nyalldawson Feb 2, 2017
fbcf624
remove old designer folder
3nids Jan 30, 2017
1d118e9
Merge pull request #4016 from nyalldawson/template_error
nyalldawson Feb 2, 2017
02b7a55
do not run spell check on Travis if no files were edited (only deleted)
3nids Feb 2, 2017
95091d9
Merge pull request #4062 from alexbruy/raster-provider
alexbruy Feb 2, 2017
5939ae2
Merge pull request #4076 from volaya/remove_processing_providers
alexbruy Feb 2, 2017
2a77ba7
[BUGFIX][DB Manager] Detect query layer like providers do
rldhont Feb 2, 2017
f84508a
Fix Coverity uninitialized member warnings
nyalldawson Feb 2, 2017
7619cba
Fix/avoid Coverity null pointer dereference warnings
nyalldawson Feb 2, 2017
a1bdb8f
Fix return value warning in defaultZValue function.
alisovenko Feb 3, 2017
74c65c8
[processing] qgis voronoi test
ghtmtt Feb 2, 2017
cb9314a
Merge pull request #4100 from rldhont/bugfix_dbmanager_detect_query_l…
rldhont Feb 3, 2017
d780ba7
Merged master fixed conflict.
alisovenko Feb 3, 2017
ab03453
[processing] Rename 'export/add geometry columns' alg + add tags for …
nyalldawson Feb 3, 2017
11150dd
Add additional curvepolygon with compound curve to reference geometry…
nyalldawson Feb 4, 2017
a0cb645
Merge pull request #4095 from nyalldawson/label_engine_layers
nyalldawson Feb 4, 2017
4f20979
Partially revert ab0345
nyalldawson Feb 4, 2017
4a38713
fix initial crash on windows
jef-n Feb 4, 2017
e20bbd5
translation string fixes
jef-n Feb 4, 2017
2c65a66
revert more of ab0345
jef-n Feb 4, 2017
fa8189a
Tweak property definitions for size type properties
nyalldawson Feb 5, 2017
54089ff
Follow up 4a3871, fix broken data defined properties
nyalldawson Feb 5, 2017
be9e93d
Refactor internals of QgsPropertyOverrideButton
nyalldawson Feb 5, 2017
ac55f39
Fix reading project properties fails if any child element
nyalldawson Feb 5, 2017
c5546b0
Allow conversion of QgsPropertyTransfomers to expressions (when possi…
nyalldawson Feb 5, 2017
8b36ad5
Updated Qt connections to the new style qgis/QGIS-Enhancement-Proposa…
jgrocha Feb 5, 2017
20eea32
Replaced QLibrary * with more safer QScopedPointer
jgrocha Feb 5, 2017
6ca2cc1
Fix label font size unit from 2.x projects incorrectly restored (fix …
nyalldawson Feb 5, 2017
4f7d9cd
Merge pull request #4064 from jgrocha/delete-style-from-db-provider-p…
nyalldawson Feb 5, 2017
48e5c09
Fix a lot of memory leaks when fetching provider libraries
nyalldawson Feb 5, 2017
a80cca0
Fix indentation
nyalldawson Feb 5, 2017
737c92d
Fix logically dead code identified by Coverity
nyalldawson Feb 6, 2017
748acc6
osgeo4w: packaging fixes
jef-n Feb 6, 2017
aa392dc
Add method to retrieve dependent layers for map renderer cached images
nyalldawson Feb 6, 2017
c1b5da4
Clear cached map renders if dependent layer is removed
nyalldawson Feb 6, 2017
d99faec
[ui] make layer rendering collapsed by default (#4108)
nirvn Feb 6, 2017
6f5161a
spelling fix
3nids Feb 6, 2017
332961f
Add test for map edit tool. Test the correctness of getting default z.
alisovenko Feb 6, 2017
d84725f
[custom widgets] add missing file widget
3nids Feb 6, 2017
64748aa
compile custom widgets on Travis
3nids Feb 6, 2017
bfd18c4
Update Startup tips
DelazJ Feb 4, 2017
d47d31d
Rename "Db"/"DB" in API to "Database"
nyalldawson Feb 5, 2017
9475850
* update INSTALL
jef-n Feb 6, 2017
33eb4bc
[FEATURE] Cache labeling result to avoid unnecessary redraws
nyalldawson Jan 31, 2017
2b3805e
Reuse existing labeling results if cached labels were redrawn
nyalldawson Feb 6, 2017
d0d9bab
Don't cache labeling if blend modes are used
nyalldawson Feb 6, 2017
9757116
Fix crash
nyalldawson Feb 6, 2017
a08137f
Add unit tests for map renderer label caching
nyalldawson Feb 7, 2017
aed6c73
Swap QScopedPointer to std::unique_ptr
nyalldawson Feb 7, 2017
337dabe
Swap QSharedPointer to std::shared_ptr
nyalldawson Feb 7, 2017
8408777
Replace deprecated qSwap with std::swap
nyalldawson Feb 7, 2017
3ed6f5b
Replace deprecated qSort/qStableSort/qGreater/qLess with std:: algs
nyalldawson Feb 7, 2017
a43abec
Fix failing test
nyalldawson Feb 7, 2017
f3d53b8
Fix inefficient code
nyalldawson Feb 7, 2017
57d6f6d
Merge pull request #4107 from DelazJ/tips
nyalldawson Feb 7, 2017
61523c8
Update label test masks following sort algorithm change
nyalldawson Feb 7, 2017
0f5b3fd
Merge pull request #4110 from nyalldawson/label_cache
nyalldawson Feb 7, 2017
6f2045f
fix QgsProject::readNumEntry() validity check (#4112)
nirvn Feb 7, 2017
0d1b7dc
add missing QScintilla includes
3nids Feb 7, 2017
ae74220
fix crash caused by use of std::sort and sort function to conforming …
nirvn Feb 7, 2017
11f0836
UI update to the raster & vector save as dialogs (#4083)
DelazJ Feb 7, 2017
0293bc7
[FEATURE][processing] algorithm to fix invalid geometries using native
alexbruy Feb 1, 2017
5a5c1bf
test for Processing "fix geometries" algorithm
alexbruy Jan 27, 2017
7df04ac
[processing] Fix Geometry algorithm always produces multi-geometry
alexbruy Feb 1, 2017
91fe2f9
explicitly convert geometry to multi
alexbruy Feb 2, 2017
d3003de
[processing] add tags and short help
alexbruy Feb 7, 2017
94a2639
Merge branch 'processing-makevalid'
alexbruy Feb 7, 2017
5b27d82
update scripts/update_ts.sh to use pylupdate5
jef-n Feb 7, 2017
e5fd81f
osgeo4w: fix running of python tests
jef-n Feb 7, 2017
07aa559
fix directory detection in check_spelling.sh when pre-commit hook is …
jef-n Feb 7, 2017
0dc1257
make sipdiff available on mac
3nids Feb 7, 2017
af519ba
reduce margings main layout in the Style tab of the vector properties
alexbruy Feb 7, 2017
9bd0d7a
strip trailing slash from the help path if necessary (fix #16156)
alexbruy Feb 7, 2017
4963548
[processing] warn user about incorrect input data when calculating
alexbruy Feb 7, 2017
bb4c8c0
[processing] fix R syntax highlighting (fix #16082)
alexbruy Feb 7, 2017
44698d4
[processing] don't quote geometry column name (fix #16122)
alexbruy Feb 7, 2017
02c2886
sipdiff remove function definitions and Q_OBJECT/ENUM/PROPERTY
3nids Feb 7, 2017
835ffb0
sipdiff also remove nullptr
3nids Feb 7, 2017
4f7caa0
Fix macOS bundling of server service libraries
dakcarto Feb 7, 2017
2555d28
[composer] Fix use of uninitialized member (unlikely to occur outside…
nyalldawson Feb 7, 2017
aad7c5e
Fix leak in QgsCoordinateReferenceSystem
nyalldawson Feb 7, 2017
15dcb6f
Fix expressions leaking internal data
nyalldawson Feb 7, 2017
826a867
Fix large memory leak in vector file writer (fix #16003)
nyalldawson Feb 7, 2017
cb1849f
Fix leaks, multiple connects in QgsFileDownloader
nyalldawson Feb 7, 2017
c400326
Fix memory leak in geometry snapper
nyalldawson Feb 7, 2017
c80d84e
Fix jump on uninitialized value
nyalldawson Feb 7, 2017
91d2e4f
Fix leak in QgsGeometry make valid
nyalldawson Feb 7, 2017
42ec4e6
Fix some leaks in geometry test suite
nyalldawson Feb 7, 2017
39fa842
Fix leak of label engine when start called on single render job multi…
nyalldawson Feb 7, 2017
f945123
Fix leak in QgsSymbolLegendNode
nyalldawson Feb 7, 2017
a80258f
Fix some leaks in test suite
nyalldawson Feb 8, 2017
586631b
Fix leak in expressions
nyalldawson Feb 8, 2017
2f68d1a
Fix build warning when debug mode disabled
nyalldawson Feb 8, 2017
f999970
[processing] small fix to R provider
ghtmtt Feb 8, 2017
2dfb6dc
Moved check single value in expressionFromOgcFilter
luipir Feb 8, 2017
566c058
fix some ogr tools in master
gioman Feb 8, 2017
bd6e068
Merge pull request #4117 from NaturalGIS/fix_qgis3_ogrtools
alexbruy Feb 8, 2017
4b730c3
sipdiff: remove forward declarations and option to keep comments
3nids Feb 8, 2017
d55ab85
processing: fix escaping
jef-n Feb 9, 2017
7ff894a
include private headers in install
jef-n Feb 9, 2017
732b501
[processing] support only SAGA LTR
alexbruy Feb 8, 2017
c43b04f
Fix modeler and batch file dialog
arnaud-morvan Feb 9, 2017
3a12f2a
Fix Boolean widget wrapper in batch dialog
arnaud-morvan Feb 8, 2017
71f1d28
Merge pull request #4121 from arnaud-morvan/processing_fix_modeler_op…
alexbruy Feb 9, 2017
452641b
Merge pull request #4115 from alexbruy/vector-style-layout
alexbruy Feb 9, 2017
09df5f5
Make single symbol render properties widget similar to other
SrNetoChan Jan 18, 2017
2d06cf0
Remove margins from symbol selector
SrNetoChan Jan 18, 2017
552b6b8
set margins in code instead of .ui file
alexbruy Feb 9, 2017
5489f85
Merge branch 'symbolselector_fix'
alexbruy Feb 9, 2017
f66646c
[processing] remove code with GDAL 1.x API as QGIS 3 will require GD…
alexbruy Feb 9, 2017
2c188b2
[processing] fix helper function from system module (fix #16128)
alexbruy Feb 9, 2017
482aadc
[processing] Add possibility to pass additionnal parameters to widget…
arnaud-morvan Feb 9, 2017
dda6670
[processing] Add class ExpressionEnabledWidgetWrapper
arnaud-morvan Feb 9, 2017
2ea3ac4
Merge pull request #4122 from alexbruy/processing-gdal2
alexbruy Feb 9, 2017
533e796
Drop deprecated win api call for handling win 9.x compatibility
nyalldawson Feb 10, 2017
a46afca
Fix signature difference between header and cpp
nyalldawson Feb 10, 2017
c0eb997
Merge pull request #4118 from alexbruy/processing-saga-ltr
alexbruy Feb 10, 2017
501a5f9
[processing] always load ExecuteSQL algorithm
alexbruy Feb 10, 2017
c768edf
[processing] Add postgis widget wrappers
arnaud-morvan Feb 9, 2017
7bffef7
[processing] Fix ModelerParametersDialog when len(widget) == 0
arnaud-morvan Feb 9, 2017
337d188
[processing] Use ExpressionWidgetWrapperMixin in StringWidgetWrapper
arnaud-morvan Feb 10, 2017
f07154b
[processing] Remove obsolete GeometryPredicateWidgetWrapper
arnaud-morvan Feb 10, 2017
b964777
osgeo4w: fix designer path
jef-n Feb 9, 2017
0e7d428
[Server] The RFC 7946 GeoJSON specification recommends limiting coord…
rldhont Feb 10, 2017
2b12a15
Merge pull request #4129 from rldhont/server-geojson-precision
rldhont Feb 10, 2017
16384cf
Merge pull request #4128 from arnaud-morvan/processing_geometrypredic…
alexbruy Feb 10, 2017
5ade65a
remove usless options form ogr offset line tool
gioman Feb 10, 2017
47d46bb
[processing] fix initialization of GdalAlgorithmDialog
alexbruy Feb 10, 2017
cc1adc5
[processing] handle case when default CRS is None and parameter is no…
alexbruy Feb 10, 2017
2644836
make ogr postgis parameters mandatory where needed
gioman Feb 10, 2017
40dfdd7
Merge pull request #4131 from NaturalGIS/fix_ogr_offset_lines
alexbruy Feb 10, 2017
5c8c53c
[processing] more fixes to GdalAlgorithm dialog (followup 47d46bb8c3)
alexbruy Feb 10, 2017
e8be083
[processing] remove unused parameters from test (followup 5ade65aa16)
alexbruy Feb 10, 2017
f7380c1
Merge pull request #4132 from NaturalGIS/fix_ogr_postgis_mandatory_pa…
alexbruy Feb 10, 2017
565ad28
fix doxygen comment
alexbruy Feb 10, 2017
801821f
osgeo4w: fix quoting in batch files
jef-n Feb 10, 2017
6afd9a4
update_ts: avoid excessive number of arguments (for windows)
jef-n Feb 11, 2017
4aa67fc
debian packaging: add missing dependency (fixes #16179)
jef-n Feb 11, 2017
fe75e1f
processing: fix warning
jef-n Feb 11, 2017
f3102bb
option to show a search icon in QgsFilterLineEdit
3nids Feb 6, 2017
a136995
allow to search and higlight options
3nids May 30, 2016
4cba478
use stylesheet rather than palette
3nids Feb 8, 2017
9ceb6c6
Merge pull request #4109 from nyalldawson/db
nyalldawson Feb 11, 2017
767e7a5
Expose QgsGeometryUtils to python bindings
nyalldawson Feb 12, 2017
9a7c829
[ui] fix touch icon rendering a black background (#4137)
nirvn Feb 12, 2017
c26ed69
Rework map touch tool
nyalldawson Feb 12, 2017
40ebca7
[ui] adjust size and spacing of welcome screen title (#4139)
nirvn Feb 12, 2017
a124fbf
Add API break notes for QgsMapToolTouch
nyalldawson Feb 12, 2017
bb2a6c8
oracle provider: followup 9ceb6c67
jef-n Feb 12, 2017
92091c5
dxf export: consider layer styles (fixes #15946)
jef-n Feb 12, 2017
04d392b
Allow QgsMapLayer::triggerRepaint to defer updates
nyalldawson Feb 6, 2017
9b9d49a
Add unit tests for deferred layer refresh
nyalldawson Feb 6, 2017
38f87a6
[FEATURE] Allow layers to be automatically refreshed at a specified i…
nyalldawson Feb 6, 2017
95d000f
[FEATURE] Background saving of vector layers
nyalldawson Feb 11, 2017
15f8cfb
Register vector file writer task as dependent on layer
nyalldawson Feb 11, 2017
4b3d401
Add unit tests for QgsVectorFileWriterTask
nyalldawson Feb 11, 2017
8182ec2
QgsFeedback can handle report progress reports
nyalldawson Feb 12, 2017
c42f1ec
Allow QgsVectorFileWriter to report approx progress
nyalldawson Feb 12, 2017
35bb5c6
Flip task manager to use weak layer pointers instead of layer ids
nyalldawson Feb 12, 2017
77bf999
Merge pull request #3905 from nextgis/25d_enhancement
vmora Feb 13, 2017
787c846
Set a name to the raster resampling dialog
DelazJ Feb 3, 2017
5028cc7
[processing] Fix infinite recursion in DbError.__str__
arnaud-morvan Feb 10, 2017
f2ac60a
Merge pull request #4111 from nyalldawson/refresh_layers
nyalldawson Feb 13, 2017
fbf99af
Add method to retrieve all valid srs ids from CRS databases
nyalldawson Feb 10, 2017
3ecafb3
[processing] Allow extent parameters to avoid matching layer CRS check
nyalldawson Feb 10, 2017
91eea30
[FEATURE][processing] Algorithm to find an unknown layer's projection
nyalldawson Feb 10, 2017
e025b58
Fix build warning
nyalldawson Feb 13, 2017
e740890
Add custom layer property to render a layer over labels in the map ca…
nyalldawson Feb 13, 2017
bd46b78
Merge pull request #4140 from nyalldawson/label_order
nyalldawson Feb 14, 2017
edb30a2
Merge pull request #4134 from nyalldawson/save_task
nyalldawson Feb 14, 2017
f70a031
Add basic shell for widget
nyalldawson Feb 1, 2017
b376ae1
Adds methods which attempt to parse expression based properties
nyalldawson Feb 8, 2017
1b5bf1d
Deprecate QgsScaleExpression
nyalldawson Feb 8, 2017
be46f78
Remove QgsDataDefinedButton
nyalldawson Feb 8, 2017
d457a89
Remove QgsDataDefined
nyalldawson Feb 8, 2017
516bdfe
Fix build
nyalldawson Feb 9, 2017
3371003
Small tweaks to property override button behavior
nyalldawson Feb 9, 2017
90dd988
Fix legend display of scaled sizes for QgsSingleSymbolRenderer
nyalldawson Feb 13, 2017
84dd983
Restore legend preview in symbol size assistant
nyalldawson Feb 13, 2017
2aae6e4
If transformer set on property, allow transformer to handle null values
nyalldawson Feb 13, 2017
a380bda
Show size assistant for stroke width properties
nyalldawson Feb 13, 2017
a3b50e9
Fix clearing data defined outline width
nyalldawson Feb 13, 2017
42df2c8
Use width assistant for arrow width/start width
nyalldawson Feb 13, 2017
8567719
Show a default symbol in assistant legend preview if none set
nyalldawson Feb 13, 2017
613ef63
Remove last use of QgsSizeScaleWidget
nyalldawson Feb 13, 2017
077e880
Remove deprecated QgsScaleExpression and QgsSizeScaleWidget classes
nyalldawson Feb 13, 2017
76e2781
[FEATURE] Interactive color assistant for data defined colors
nyalldawson Feb 13, 2017
7bf97be
Use a vertical layout for property assistant when in dock mode
nyalldawson Feb 13, 2017
9c19142
Add some spacing around preview icons in property assistant
nyalldawson Feb 13, 2017
2df37a2
Some visual tweaks to property assistant widget
nyalldawson Feb 13, 2017
a30fe35
[FEATURE] Add a generic numeric transform assistant for easy scaling …
nyalldawson Feb 13, 2017
c4ec256
Tweaked numeric assistant for rotation properties
nyalldawson Feb 13, 2017
2468b27
Replace QgsDataDefinedButton custom widget with QgsPropertyOverrideBu…
nyalldawson Feb 13, 2017
c78f940
Fix doxygen warnings and failing test
nyalldawson Feb 13, 2017
3ca0b90
Update sip bindings
nyalldawson Feb 13, 2017
3215173
Fix failing equality operator test
nyalldawson Feb 13, 2017
28d9c44
Tweak dialogs
nyalldawson Feb 13, 2017
599d985
Fix diagram distance property override button association (refs #16164)
nyalldawson Feb 14, 2017
852b1df
Fix potential crash in color assistant, set a default ramp
nyalldawson Feb 14, 2017
3230e7b
Fix diagram legend symbol selector missing associated layer (refs #16…
nyalldawson Feb 14, 2017
0dfa4ef
Fix diagram property buttons do not hide with associated widget (fix …
nyalldawson Feb 14, 2017
efb0c40
Add missing diagram is obstacle property button
nyalldawson Feb 14, 2017
e4d45e4
Merge pull request #4141 from nyalldawson/props_gui
nyalldawson Feb 14, 2017
391e2f8
Install qgsmaplayerref.h
m-kuhn Feb 14, 2017
1430e93
[processing] improve SAGA version check. Fix getCopy() method
alexbruy Feb 14, 2017
77b2e97
Fix links to official documentation
DelazJ Feb 10, 2017
3496871
Add new help links
DelazJ Feb 10, 2017
620ad41
Merge pull request #4127 from arnaud-morvan/processing_fix_postgis_db…
alexbruy Feb 14, 2017
dccf010
Fix building with -DWITH_BINDINGS=OFF
m-kuhn Feb 14, 2017
23c09fc
api_break.dox: QgsMapLayerRegistry was removed
jef-n Feb 14, 2017
eaa97f3
add anchor to help URL only if necessary
alexbruy Feb 14, 2017
063c80e
GDAL translate algorithm: Default value for EXPAND, make PROJWIN opti…
jdugge Feb 14, 2017
f2ac88b
Update translate.py
jdugge Feb 14, 2017
e851b68
Add some utils functions for QgsPointV2 (distance3D, midpoint)
lbartoletti Feb 10, 2017
3703bf7
Move midpoint to QgsGeometryUtils
lbartoletti Feb 11, 2017
65e2dda
Update indentation
nyalldawson Feb 14, 2017
d2a2b18
QgsFeature: add pythonic notes to api doc and add QgsFeature.attribut…
jef-n Feb 14, 2017
ca33329
update some documentation references to QgsDataDefinedButton/QgsDataD…
jef-n Feb 15, 2017
13e7cd9
show shortcuts in advanced digitizing tools tooltips + fix small typo…
tudorbarascu Feb 15, 2017
34b277a
[processing] test poly_from_extent (#4149)
ghtmtt Feb 15, 2017
46a9891
[processing] update bar plot
alexbruy Feb 10, 2017
a352773
[processing] update vector layer scatterplot
alexbruy Feb 10, 2017
e0131a7
[processing] update vector layer histogram
alexbruy Feb 10, 2017
2abc3f7
[processing] update raster layer histogram
alexbruy Feb 15, 2017
19289cc
[processing] update mean and std.dev plot
alexbruy Feb 15, 2017
b3ab554
[processing] update polar plot
alexbruy Feb 15, 2017
58b9c82
remove old imports
alexbruy Feb 15, 2017
1d68c16
don't open output file automatically
alexbruy Feb 15, 2017
f706c71
Make saving shapefiles slightly faster
nyalldawson Feb 16, 2017
5f5c1dd
Use a path resolver class instead of QgsProject::instance() in map la…
wonder-sk Feb 16, 2017
7d2d6e8
Better feedback and responsiveness when saving large shapefile layers
nyalldawson Feb 16, 2017
cdb35d6
Merge pull request #4119 from arnaud-morvan/processing_postgis_wrappers
volaya Feb 16, 2017
7f1ff08
Merge pull request #4116 from ghtmtt/r_prov
volaya Feb 16, 2017
35d9b83
Merge pull request #4138 from nyalldawson/touch
m-kuhn Feb 16, 2017
f587ae5
Merge pull request #4150 from alexbruy/processing-graphs
alexbruy Feb 16, 2017
aa86281
Merge pull request #4146 from jdugge/master
alexbruy Feb 16, 2017
441f6e6
Merge pull request #4120 from arnaud-morvan/processing_fix_boolean_wr…
alexbruy Feb 16, 2017
f46b25b
Merge pull request #4049 from boundlessgeo/master-SldRotationFix
m-kuhn Feb 16, 2017
dd32eae
[processing] replace alg Eliminate with new alg EliminateSelection
Jan 13, 2017
1393f73
Deprecate Eliminate algorithm
Jan 17, 2017
8453baf
Expose new EliminateSelection algorithm in GUI
Jan 17, 2017
3125a48
Rename oupt layer
Jan 17, 2017
f0de5e3
Reflect algorithm changes in help
Jan 17, 2017
c4ca203
Remove superfluous init method
Jan 19, 2017
7689f73
Simplify code, thanks Nyall
Jan 19, 2017
a743df6
Improve transfer of selection to processLayer
Jan 21, 2017
56f146d
Remove merge conflict between branch and master
Feb 16, 2017
0b27d55
Remove deprecated Eliminate algorithm
Feb 16, 2017
f9242b7
Remove test for Eliminate
Feb 17, 2017
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
33 changes: 9 additions & 24 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ IF (WITH_BINDINGS)
SET (WITH_QSCIAPI TRUE CACHE BOOL "Whether to generate PyQGIS QScintilla2 API file. (For devs) run 'make qsci-pap-src' in between QGIS build and install to regenerate .pap file in source tree for console auto-completion.")
# keep casual users from updating their source tree via WITH_QSCIAPI
MARK_AS_ADVANCED (WITH_QSCIAPI)
ADD_DEFINITIONS(-DWITH_BINDINGS)
ENDIF (WITH_BINDINGS)

#BUILD WITH QtMobility by default on android only. Other platform can force it
Expand Down Expand Up @@ -268,23 +269,6 @@ IF (WITH_QTMOBILITY)
FIND_PACKAGE(QtMobility 1.1.0)
ENDIF (WITH_QTMOBILITY)

IF (ANDROID)
SET (DEFAULT_WITH_TOUCH TRUE)
ELSE (ANDROID)
SET (DEFAULT_WITH_TOUCH FALSE)
ENDIF (ANDROID)

#Add a touch mode if Qt has Qt Gestures
SET (WITH_TOUCH ${DEFAULT_WITH_TOUCH} CACHE BOOL "Determines if touch interface related code should be build")

IF (WITH_TOUCH)
# following variable is used in qgsconfig.h
SET (HAVE_TOUCH TRUE)
MESSAGE (STATUS "Touch support enabled")
ELSE (WITH_TOUCH)
MESSAGE (STATUS "Touch support disabled")
ENDIF (WITH_TOUCH)

# search for QScintilla2 (C++ lib)
FIND_PACKAGE(QScintilla REQUIRED)

Expand Down Expand Up @@ -569,15 +553,16 @@ IF(COMMAND cmake_policy)
IF(NOT "${CMAKE_VERSION}" VERSION_LESS "3.3")
cmake_policy(SET CMP0063 NEW)
ENDIF(NOT "${CMAKE_VERSION}" VERSION_LESS "3.3")
IF(MSVC)
cmake_policy(SET CMP0020 NEW)
ENDIF(MSVC)
ENDIF(COMMAND cmake_policy)

IF (WIN32)
IF(PEDANTIC AND NOT APPLE)
SET(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--no-undefined")
SET(CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -Wl,--no-undefined")
SET(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,--no-undefined")
ENDIF(PEDANTIC AND NOT APPLE)
ENDIF(WIN32)
IF (PEDANTIC AND NOT WIN32 AND NOT APPLE)
SET(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--no-undefined")
SET(CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -Wl,--no-undefined")
SET(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,--no-undefined")
ENDIF(PEDANTIC AND NOT WIN32 AND NOT APPLE)

SET(CMAKE_CXX_VISIBILITY_PRESET hidden)
INCLUDE(GenerateExportHeader)
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTE.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ by running the prepare commit script **before** issuing `git commit`.

This can be automated by setting up the pre-commit hook properly.

ln -s scripts/prepare-commit.sh .git/hooks/pre-commit
ln -s ../../scripts/prepare-commit.sh .git/hooks/pre-commit

Getting your pull request merged
--------------------------------
Expand Down
70 changes: 16 additions & 54 deletions INSTALL
Original file line number Diff line number Diff line change
@@ -1,26 +1,24 @@
QGIS
Building QGIS from source - step by step
Monday January 09, 2017
Wednesday January 25, 2017


Last Updated: Monday January 09, 2017
Last Change : Monday January 09, 2017
Last Updated: Wednesday January 25, 2017
Last Change : Friday January 20, 2017


1. Introduction
2. Overview
3. Building on GNU/Linux
3.1. Building QGIS with Qt 4.x
3.1. Building QGIS with Qt 5.x
3.2. Prepare apt
3.3. Install build dependencies
3.4. Setup ccache (Optional)
3.5. Prepare your development environment
3.6. Check out the QGIS Source Code
3.7. Starting the compile
3.8. Building Debian packages
3.9. Building QGIS with Qt 5.x
3.10. On Debian Linux
3.11. On Fedora Linux
3.9. On Fedora Linux
4. Building on Windows
4.1. Building with Microsoft Visual Studio
4.2. Building using MinGW
Expand Down Expand Up @@ -139,13 +137,13 @@ those formats in GDAL.
========================


3.1. Building QGIS with Qt 4.x
3.1. Building QGIS with Qt 5.x
==============================

Requires: Ubuntu / Debian derived distro

/!\ Note: Refer to the section Building Debian packages for building
debian packages. Unless you plan to develop on QGIS, that is probably the
debian packages. Unless you plan to develop on QGIS, that is probably the
easiest option to compile and install QGIS.

These notes are for Ubuntu - other versions and Debian derived distros may
Expand Down Expand Up @@ -263,6 +261,11 @@ be pressed several times before the 'g' option becomes available.
After the 'g' generation is complete, press 'q' to exit the ccmake
interactive dialog.

/!\ Warning: Make sure that your build directory is completely empty when you
enter the command. Do never try to "re-use" an existing Qt4 build directory.
If you want to use `ccmake` or other interactive tools, run the command in
the empty build directory once before starting to use the interactive tools.

Now on with the build:

make -jX
Expand Down Expand Up @@ -349,56 +352,15 @@ Install them using dpkg. E.g.:
sudo debi


3.9. Building QGIS with Qt 5.x
==============================

/!\ Warning: Qt 5 is not officially supported. Building against Qt 5
libraries seems to work quite well already but be prepared that you are one
of very few with this setup. We strongly recommend using QGIS with Qt 4 for
production work.

Python bindings in particular are not expected to be compatible. When Qt 5
is enabled, the build system automatically activates Python 3 and PyQt5 as well.
There are no plugins and not even the python code shipped along the QGIS source
code is compatible with PyQt5.

You have been warned.


3.10. On Debian Linux
=====================

We assume that you have the source code of QGIS ready and created a new
subdirectory called `build` or `build-qt5` in it.


3.10.1. Install build dependencies
==================================

apt-get install git build-essential cmake flex bison pyqt5-dev qttools5-dev qtpositioning5-dev libqt5svg5-dev libqt5webkit5-dev libqt5gui5 libqt5scripttools5 qtscript5-dev libqca-qt5-2-dev grass-dev libgeos-dev libgdal-dev libqt5xmlpatterns5-dev libqt5scintilla2-dev pyqt5.qsci-dev python3-pyqt5.qsci libgsl-dev txt2tags libproj-dev libqwt-qt5-dev libspatialindex-dev pyqt5-dev-tools qttools5-dev-tools qt5-default python3-future python3-pyqt5.qtsql python3-psycopg2 python3-sip-dev

Make sure that your build directory is completely empty when you enter the
following command. Do never try to "re-use" an existing Qt4 build directory.
If you want to use `ccmake` or other interactive tools, run the following
command in the empty build directory once before starting to use the
interactive tools.

cmake

If everything went ok you can finally start to compile. (As usual append a -jX where X is the number of available cores option to make to speed up your build process)

make


3.11. On Fedora Linux
=====================
3.9. On Fedora Linux
====================

We assume that you have the source code of QGIS ready and created a
new subdirectory called `build` or `build-qt5` in it.


3.11.1. Install build dependencies
==================================
3.9.1. Install build dependencies
=================================

dnf install qt5-qtwebkit-devel qt5-qtlocation-devel qt5-qttools-static
qt5-qtscript-devel qca-qt5-devel python3-qt5-devel python3-qscintilla-qt5-devel
Expand Down
26 changes: 13 additions & 13 deletions NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,9 @@ This release has following new features:
- Rendering: New options for on the fly simplification
- Rendering: Quantile based classification for raster layers
- Rendering: Live hillshade renderer
- Digitising: "Repeating" locking mode for constraints
- Digitising: Extend linestring geometries with reshape tool
- Digitising: Segmentation tolerance
- Digitizing: "Repeating" locking mode for constraints
- Digitizing: Extend linestring geometries with reshape tool
- Digitizing: Segmentation tolerance
- Data management: New configuration options for attribute table
- Data management: Multiple columns in attribute forms
- Data management: Control over attributes to export when saving a vector layer
Expand Down Expand Up @@ -163,9 +163,9 @@ This release has following new features:
- Data management : Vector joins are now saved within QLR layer-definition-files
- Data management : N:M relation editing
- Data management : External Resource widget
- Digitising : Configurable rubber band color
- Digitising : Autotrace
- Digitising : Trace digitising tool
- Digitizing : Configurable rubber band color
- Digitizing : Autotrace
- Digitizing : Trace digitizing tool
- General : Changed behavior of strpos function
- General : Field calculator can be used to update feature's geometry
- General : Virtual layers
Expand Down Expand Up @@ -230,7 +230,7 @@ This release has following new features:
- Data management : DBManager Improvements
- Data management : Conditional formatting for attribute table cells
- Data management : Support for relative paths in widgets
- Digitising : Digitising improvements
- Digitizing : Digitizing improvements
- General : New welcome screen
- General : Ongoing improvements to code quality
- General : Advanced settings editor
Expand Down Expand Up @@ -427,7 +427,7 @@ This is the minor release sports a number of great new features:
- When pasting a selection, it is now possible to create a new layer on the fly
from the pasted features.
- WMS Legend is now available via a getLegendGraphic request.
- It is now possible to digitise a new feature as an interior ring of an
- It is now possible to digitize a new feature as an interior ring of an
existing feature.
- Recent expressions are saved in the expression builder for quick re-use.
- You can now set the color for the zebra map border style in composer.
Expand Down Expand Up @@ -571,7 +571,7 @@ key new features.
- Heatmap tool - a new core plugin has been added for generating raster heatmaps from point data. You may need to activate this plugin using the plugin manager.
- GPS Tracking - The GPS live tracking user interface was overhauled and many fixes and improvements were added to it.
- Menu Re-organisation - The menus were re-organised a little - we now have separate menus for Vector and Raster and many plugins were updated to place their menus in the new Vector and Raster top level menus.
- Offset Curves - a new digitising tool for creating offset curves was added.
- Offset Curves - a new digitizing tool for creating offset curves was added.
- Terrain Analysis Plugin - a new core plugin was added for doing terrain analysis - and it can make really good looking colored relief maps.
- Ellipse renderer - symbollayer to render ellipse shapes (and also rectangles, triangles, crosses by specifying width and height). Moreover, the symbol layer allows setting all parameters (width, height, colors, rotation, outline with) from data fields, in mm or map units
- New scale selector with predefined scales
Expand Down Expand Up @@ -1376,7 +1376,7 @@ This release includes over 120 bug fixes and enhancements
over the QGIS 0.9.1 release. In addition we have added
the following new features:

- Improvements to digitising capabilities.
- Improvements to digitizing capabilities.
- Supporting default and defined styles (.qml) files for file based
vector layers. With styles you can save the symbolisation
and other settings associated with a vector layer and they
Expand All @@ -1396,7 +1396,7 @@ improvements 'under the hood'.
- This release candidate includes over 40 bug fixes and enhancements
over the QGIS 0.9.1 release. In addition we have added
the following new features:
- Imrovements to digitising capabilities.
- Improvements to digitizing capabilities.
- Supporting default and defined styles (.qml) files for file based
vector layers. With styles you can save the symbolisation
and other settings associated with a vector layer and they
Expand Down Expand Up @@ -2012,7 +2012,7 @@ Implemented a new map cursor type : Capture Point (little pencil icon on your to
are placed into the system clipboard.

In release 0.5 this will be extended to provide simple point vector file data capture /
digitising facility. This will be implemented by means of a plugin which will utilise the
digitizing facility. This will be implemented by means of a plugin which will utilise the
aforementioned xyClickCoordinate(QgsPoint) signal.

2004-06-12 [gsherman] 0.3.0devel30
Expand Down Expand Up @@ -2724,7 +2724,7 @@ July 20, 2002

July 18, 2002
Point, line and polygon PostGis layers can be drawn. Still issues with
map exent and positioning of layers on the canvas. Drawing is manual and
map extent and positioning of layers on the canvas. Drawing is manual and
not tied to the paint event. No zooming or panning yet.

July 10, 2002
Expand Down
9 changes: 7 additions & 2 deletions ci/travis/check_spelling.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,15 @@ export PATH=${HOME}/osgeo4travis/bin:${PATH}

echo "Spell check"

if [[ ! -z $TRAVIS_PULL_REQUEST_BRANCH ]]; then
if [[ ! -z $TRAVIS_PULL_REQUEST_BRANCH ]]; then
# if on a PR, just analyse the changed files
echo "TRAVIS PR BRANCH: $TRAVIS_PULL_REQUEST_BRANCH"
FILES=$(git diff --diff-filter=AM --name-only $(git merge-base HEAD master) | tr '\n' ' ' )
else
echo "TRAVIS COMMIT RANGE: $TRAVIS_COMMIT_RANGE"
FILES=$(git diff --diff-filter=AM --name-only ${TRAVIS_COMMIT_RANGE/.../..} | tr '\n' ' ' )
fi

./scripts/spell_check/check_spelling.sh -r $FILES
if [[ ! -z $FILES ]]; then
./scripts/spell_check/check_spelling.sh -r $FILES
fi
2 changes: 1 addition & 1 deletion ci/travis/linux/before_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ wget https://www.orfeo-toolbox.org/packages/archives/OTB/OTB-5.6.0-Linux64.run -

popd

pip install psycopg2 numpy nose2 pyyaml mock future termcolor
pip install psycopg2 numpy nose2 pyyaml mock future termcolor autopep8
2 changes: 2 additions & 0 deletions ci/travis/linux/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,14 @@ if [ "$CACHE_WARMING" = true ] ; then
${CMAKE_FLAGS}
-DWITH_DESKTOP=OFF
-DWITH_SERVER=OFF
-DWITH_CUSTOM_WIDGETS=OFF
"
else
CMAKE_FLAGS="
${CMAKE_FLAGS}
-DWITH_DESKTOP=ON
-DWITH_SERVER=ON
-DWITH_CUSTOM_WIDGETS=ON
"
fi

Expand Down
2 changes: 1 addition & 1 deletion cmake/FindProj.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ FIND_PATH(PROJ_INCLUDE_DIR proj_api.h
"$ENV{LIB_DIR}/include"
)

FIND_LIBRARY(PROJ_LIBRARY NAMES proj proj_i PATHS
FIND_LIBRARY(PROJ_LIBRARY NAMES proj_i proj PATHS
"$ENV{LIB}"
"$ENV{LIB_DIR}/lib"
)
Expand Down
2 changes: 1 addition & 1 deletion cmake/FindQwt.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ FIND_PATH(QWT_INCLUDE_DIR NAMES qwt.h PATHS
/usr/local/include
"$ENV{LIB_DIR}/include"
"$ENV{INCLUDE}"
PATH_SUFFIXES qwt-qt4 qwt qwt5 qwt6
PATH_SUFFIXES qwt-qt5 qwt qwt5 qwt6
)

IF (QWT_INCLUDE_DIR AND QWT_LIBRARY)
Expand Down
4 changes: 2 additions & 2 deletions cmake/MacBundleMacros.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ ENDFUNCTION (COPY_FRAMEWORK)

FUNCTION (UPDATEQGISPATHS LIBFROM LIBTO)
IF (LIBFROM)
STRING (REGEX MATCH "\\.dylib$" ISLIB "${LIBTO}")
STRING (REGEX MATCH "\\.(dylib|so)$" ISLIB "${LIBTO}")
IF (ISLIB)
SET (LIBPOST "${LIBTO}")
SET (LIBMID "${QGIS_LIB_SUBDIR}")
Expand Down Expand Up @@ -228,7 +228,7 @@ FILE (GLOB QGFWLIST RELATIVE "${QFWDIR}" "${QFWDIR}/qgis*.framework")
STRING(REPLACE ".framework" ";" QGFWLIST ${QGFWLIST})
# don't collect any library symlinks, limit to versioned libs
SET (Q_LIBVER ${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR})
FILE (GLOB QGLIBLIST RELATIVE "${QLIBDIR}" "${QLIBDIR}/libqgis*.dylib")
FILE (GLOB QGLIBLIST RELATIVE "${QLIBDIR}" "${QLIBDIR}/libqgis*.dylib" "${QLIBDIR}/qgis/server/lib*.so")
FILE (GLOB QGPLUGLIST "${QPLUGDIR}/*.so")
FILE (GLOB QGPYLIST "${QGISPYDIR}/qgis/*.so")
FILE (GLOB QGAPPLIST RELATIVE "${QBINDIR}" "${QBINDIR}/q*.app")
Expand Down
2 changes: 1 addition & 1 deletion cmake/PyQtMacros.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ ENDMACRO(PYQT_WRAP_UI)
IF(NOT PYRCC_PROGRAM)
IF (MSVC)
FIND_PROGRAM(PYRCC_PROGRAM
NAMES ${PYRCC_PROG_NAME}.exe
NAMES ${PYRCC_PROG_NAME}.bat
PATHS $ENV{LIB_DIR}/bin
)
ELSE(MSVC)
Expand Down
6 changes: 0 additions & 6 deletions cmake/SIPMacros.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -97,12 +97,6 @@ MACRO(GENERATE_SIP_PYTHON_MODULE_CODE MODULE_NAME MODULE_SIP CPP_FILES)
ENDIF(MSVC)

SET(SIPCMD ${SIP_BINARY_PATH} ${_sip_tags} -w -e ${_sip_x} ${SIP_EXTRA_OPTIONS} -j ${SIP_CONCAT_PARTS} -c ${CMAKE_CURRENT_BINARY_DIR}/${_module_path} ${_sip_includes} ${_abs_module_sip})
SET(SUPPRESS_SIP_WARNINGS FALSE CACHE BOOL "Hide SIP warnings")
MARK_AS_ADVANCED(SUPPRESS_SIP_WARNINGS)
IF(SUPPRESS_SIP_WARNINGS)
SET(SIPCMD ${SIPCMD} 2> /dev/null || true)
ENDIF(SUPPRESS_SIP_WARNINGS)

ADD_CUSTOM_COMMAND(
OUTPUT ${_sip_output_files}
COMMAND ${CMAKE_COMMAND} -E echo ${message}
Expand Down
Loading