38884 Commits

Author SHA1 Message Date
Nyall Dawson
80a000cd98 Immediately show progress bar when opening attribute table
...instead of waiting 1 second before first showing it. It's a
placebo which doesn't affect the actual opening time, but
makes it seem more responsive to users by avoiding the
initial 1 second blocking delay before any feedback is
given.
2017-05-23 09:59:56 +10:00
Nyall Dawson
0b95c7764d Don't prefetch attribute table sort values when no sorting set
Shaves some seconds off opening the attribute table in certain
circumstances (no sorting applied)

Refs #16577, #16239
2017-05-23 09:59:14 +10:00
Nyall Dawson
ebd3e0d7a5 Greatly speed up attribute table loading
Don't advise for rows added when a model reset is in progress.
Otherwise the rows are tested for sort order, etc triggering
a bunch of useless calculations, given that the model is in
the process of being reset anyway.

Tested using a 150k point shapefile, decreased attribute table
load times from 50+ seconds to 4 seconds.

Refs #16577, #16239

(forward port from b97a980b99a32f7cbbb8cc32ac6a781246df1171)
2017-05-23 09:35:14 +10:00
Salvatore Larosa
48ecee5643 [processing] fix duplicates fields name in field calculator algorithm when switching between layers (followup c2699b4) 2017-05-22 23:29:26 +02:00
Juergen E. Fischer
403dc35dac don't set friendly name without sublayers (followup e0a2267; fixes #16593, #16594, #16598) 2017-05-22 21:43:48 +02:00
Nathan Woodrow
7fee0b2036 [mssql] Ignore computed columns in insert/update 2017-05-22 22:31:53 +10:00
rldhont
2b39c1e1e9 Merge pull request #4597 from rldhont/server-wms-configparser-getcapabilities-part2
[Server] WMS GetCapabilities refactoring - Part 2
2017-05-22 12:42:48 +02:00
Denis Rouzaud
d93d0a8066 [sipify] detect multiple variable declarations oneliners 2017-05-22 10:17:51 +02:00
Denis Rouzaud
1df3c51606 sipify batch 2017-05-22 10:12:08 +02:00
Nyall Dawson
2a5420a7d0 Fix debug noise 2017-05-22 12:17:40 +10:00
Nyall Dawson
9e331dc0d3 Fix duplicate layout warnings 2017-05-22 12:17:40 +10:00
Nathan Woodrow
3cd714affe Fix Windows build 2017-05-22 10:27:48 +10:00
Nyall Dawson
1577a57a19 Don't clear locator model immediately when a new search triggers
Instead delay the search until either a tiny timeout (100ms) or
the first new results come in, whichever happens first.

This avoids the list view clearing too frequently and giving
a distracting "flashing" appearance when users type quickly
into to locator bar.
2017-05-22 09:46:13 +10:00
Jürgen Fischer
d55fa22628 Merge pull request #4599 from ismailsunni/fix_geos_c
Fix geos_c.h not found.
2017-05-21 16:34:11 +02:00
Juergen E. Fischer
3452e8de69 fix osx build 2017-05-21 12:21:09 +02:00
Ismail Sunni
592c92e15e
Fix geos_c.h not found. 2017-05-21 17:16:41 +07:00
Juergen E. Fischer
beed86e19d db manager: fix spatialite plugin (followup c77172ed; fixes #16542) 2017-05-21 10:45:30 +02:00
rldhont
087e7f75dc [Server] wmsInfoFormatSIA2045 to wmsInfoFormatSia2045: Qt style naming 2017-05-21 10:43:03 +02:00
Juergen E. Fischer
212d07f3a2 sipify.pl: consider structs in exported classes also exported 2017-05-21 10:09:57 +02:00
Martin Dobias
551a907329 Fix a crash when confirming config dialog of a locator filter
The locator was getting invalidated, but there was no feedback object associated for cancellation.
2017-05-21 14:39:17 +08:00
Juergen E. Fischer
401c4637d9 creatensis.pl: avoid (harmless) postinstall.log message
(cherry picked from commit 0be274f4675ae6d8c35927369f0a8c9ea8ed9907)
2017-05-20 20:43:27 +02:00
rldhont
ca29b221c0 [Server] Update QgsServerProjectUtils SIP file 2017-05-20 16:29:58 +02:00
rldhont
33b4582f49 [Server] WMS GetCapabilities refactoring - Part 2
Part 2 (the last) for removing QgsWMSProjectParser from GetCapabilities
2017-05-20 15:54:39 +02:00
Juergen E. Fischer
258c872c45 Once again fix QgsFeatureRequest::OrderBy on windows (followup b0bb873, 1d5d92e, 8f29f28 and 3c843a8) 2017-05-19 21:56:31 +02:00
Juergen E. Fischer
59d97be354 fix build of oracle provider 2017-05-19 17:56:26 +02:00
Denis Rouzaud
f0ed77ee18 fix sip coverage test 2017-05-19 15:35:47 +02:00
Denis Rouzaud
fb8edea112 [sipify] implement template inheritance 2017-05-19 15:35:47 +02:00
Alexander Bruy
bbcc8725fc Merge pull request #4587 from alexbruy/processing-saga
[processing][needs-docs] always use SAGA shipped with QGIS (refs #16422)
2017-05-19 15:08:45 +03:00
Hugo Mercier
0a82ab51fe Merge pull request #4432 from pblottiere/bugfix_sld
[bugfix] Fix unit of sizes when reading a SLD file (uom attribute from SLD 1.1 version is supported)
2017-05-19 08:54:14 +02:00
Alexander Bruy
b9929d4c2a [processing][needs-docs] always use SAGA shipped with QGIS (refs #16422) 2017-05-19 09:00:02 +03:00
Matthias Kuhn
fe2350c50b Merge pull request #4557 from m-kuhn/expressionModulaizing
Modularizing the expression engine file structure and some cleanup
2017-05-19 07:48:18 +02:00
Alexander Bruy
d7b952b4c0 Merge pull request #4579 from alexbruy/layer-naming
homogenize layer naming when adding via browser and add vector dialog (fix #15510)
2017-05-19 08:32:25 +03:00
Matthias Kuhn
24b16c5fb3 Fix runtime added functions 2017-05-19 07:16:04 +02:00
Matthias Kuhn
171222b59b Revert expression TVL as boolean to int 2017-05-19 07:16:04 +02:00
Matthias Kuhn
b2cd626dd2 Revert expression NULL value to invalid QVariant 2017-05-19 07:16:03 +02:00
Matthias Kuhn
b0bb873360 Fix build 2017-05-19 07:16:03 +02:00
Matthias Kuhn
ad7ce981fb Update sip files 2017-05-19 07:13:11 +02:00
Matthias Kuhn
b789cc3067 Fix more include paths 2017-05-19 07:13:11 +02:00
Matthias Kuhn
1e4c1595c0 Adapt “@qgsfunction" decorator to new expression structure 2017-05-19 07:13:11 +02:00
Matthias Kuhn
e02cd570a6 Migrate expression usage in server 2017-05-19 07:13:11 +02:00
Matthias Kuhn
9b77006592 Add missing include 2017-05-19 07:13:11 +02:00
Matthias Kuhn
9eedbb7e12 Fix compiling on mac 2017-05-19 07:13:11 +02:00
Matthias Kuhn
227108e879 Add QgsExpressionUtils class 2017-05-19 07:13:11 +02:00
Matthias Kuhn
a2d70f3dd1 Document API changes 2017-05-19 07:13:11 +02:00
Matthias Kuhn
80533faaf5 Reorganize code from qgsexpression.cpp 2017-05-19 07:13:11 +02:00
Matthias Kuhn
82455588c8 General include cleanup
This unifies the way the include directories are handled in the
CMakeLists.txt files.
Paths are now normally relative to the root of the source- or build dir.
They may still be relative for paths withing a plugin subdirectory but
should no longer be relative to paths outside of the current source- or
build-directory.

The previous approach had resultet in many different styles which are
hard to wrap ones head around if new to the build system.
It sometimes defined includes twice
By using relative paths, it was not possible to copy paste the paths
between different files.
2017-05-19 07:13:11 +02:00
Matthias Kuhn
ec40199862 Modularize expressions
The file qgsexpressions.h has grown to one monolithic piece over the
years. This makes it hard to maintain and slows down compilation because
even small changes at one end will result in recompiling big parts of
the source tree. It also requires the compiler to keep track of all
these implementation details for said big parts of the source tree.

This splits this implementation into smaller pieces. There are soe API
changes connected to this, but since these can be considered
implementation details, on which not many plugins rely, this shouldn't
have a big impact on the ecosystem outside the source tree.
2017-05-19 07:13:11 +02:00
Matthias Kuhn
ac50214347 Declutter header files
Implementations of virtual methods will never be inlined, there's no
reason to keep them in headers. It just makes code less readable and
potentially slows down compilation.
2017-05-19 07:13:11 +02:00
Matthias Kuhn
95ac7d0f7b Merge pull request #4567 from pblottiere/clone
Add clone() methods for layers
2017-05-19 07:10:49 +02:00
Juergen E. Fischer
c82bffe5db debian packaging: drop release-sponsors.html 2017-05-19 03:26:15 +02:00