38899 Commits

Author SHA1 Message Date
Denis Rouzaud
694c8113e5 sipify gui part 1 2017-05-24 09:49:46 +02:00
Juergen E. Fischer
5c6ab71342 spelling fix 2017-05-24 09:43:16 +02:00
Juergen E. Fischer
b3f2fe2b55 fix windows build (followup dd40a3d) 2017-05-24 08:00:03 +02:00
Denis Rouzaud
dd40a3dfe1 sipify diagram classes 2017-05-24 07:24:31 +02:00
Denis Rouzaud
8157cf6e44 template classes are not imperatively exported
followup a14ad32b676664cef99f4d43f0a54b4d1ee88f52
fixes win build
2017-05-24 07:22:59 +02:00
Luigi Pirelli
f1383e240a Avoid row sorts during attribute editing in AttributeTable Fix #15976 2017-05-23 21:56:26 +02:00
Denis Rouzaud
2929f9d693 [sip] more reverse engineering 2017-05-23 21:03:56 +02:00
Alessandro Pasotti
fe9594f668 [bugfix] Fixes an unreported crash in WFS 2017-05-23 17:10:39 +02:00
Denis Rouzaud
a14ad32b67 sipify QgsVectorLayerFeatureIterator 2017-05-23 15:02:55 +02:00
Denis Rouzaud
8d2f42af2d reverse sipify override methods 2017-05-23 13:40:01 +02:00
Denis Rouzaud
00fcc6e0cd sipify auth classes 2017-05-23 11:43:34 +02:00
Denis Rouzaud
e99f54854b sipify batch 2017-05-23 10:35:12 +02:00
Nyall Dawson
90bef91d66 Revert "Immediately show progress bar when opening attribute table"
This reverts commit 80a000cd98f3caa90d43f44e0b4bde22cffc1c43.

Causes issues with relation editor widgets
2017-05-23 10:30:59 +10:00
Nyall Dawson
381eef08c6 Microoptimise opening attribute table - don't call sort on model when no sort order set 2017-05-23 10:09:17 +10:00
Nyall Dawson
ebee101969 Microoptimise and avoid cache lookup when no sort order set 2017-05-23 10:04:44 +10:00
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