5208 Commits

Author SHA1 Message Date
Nyall Dawson
c49b5b777f Change a lot of arguments to const references in core/gui
Rationale:
- there was a lot of large objects passed by value, so potentially
there's a speed bump from this
- even for implicitly shared classes like QString/QList there's still
a (small) cost for copying the objects when there's no reason to
- it's the right thing to do!
2015-10-07 12:02:04 +11:00
volaya
09f87c952a [processing] remember params/outputs collapsed stated when editing alg in modeler
fixes #13499
2015-10-06 16:06:37 +02:00
volaya
19eca9a84b [processing] do not collapse tree when updating models or scripts 2015-10-06 15:52:28 +02:00
Juergen E. Fischer
ca697dbaf2 [processing] update algorithm help link (fixes #13506) 2015-10-06 00:20:30 +02:00
Nyall Dawson
0caf944747 Misc optimisations identified by clazy:
- call reserve on container classes where applicable
- make sure Q_FOREACH uses references
- remove dynamic casts to base classes
- fix some implicit bool conversions
2015-10-05 18:43:18 +11:00
Juergen E. Fischer
c3b027121a debian packaging update and typo fix 2015-10-05 00:17:05 +02:00
Nyall Dawson
e553a79256 [composer] Fix image size/resolution was not honored during export (fix #13438) 2015-10-05 08:21:36 +11:00
Giuseppe Sucameli
396ec2290b DBManager: fix int/float conversion to unicode (partially revert changes in 401f43c and fix #13505) 2015-10-04 18:02:14 +02:00
Juergen E. Fischer
7408151916 remove whatsnew from api and install (followup 95c377a) 2015-10-04 09:51:00 +02:00
Juergen E. Fischer
e694474f62 indentation update 2015-10-03 21:42:13 +02:00
Salvatore Larosa
67082a9588 [processing] sort alphabetically the online scripts 2015-10-03 14:05:33 +02:00
Juergen E. Fischer
24fe216270 spelling fixes 2015-10-01 19:12:29 +02:00
Nathan Woodrow
28196684af Show Python error stack trace when in blocking dialog 2015-10-01 22:57:27 +10:00
volaya
87d8a12e79 [processing] GRASS: prevent exception when deleting GISBASE env variable 2015-10-01 09:57:45 +02:00
volaya
ae71e1f098 [processing] fix problems with names with capital letters when importing to postgis
fixes #11585
2015-10-01 09:51:47 +02:00
volaya
e8003f26e6 [processing] write log dates in ISO format
fixes #13226
2015-10-01 09:06:33 +02:00
volaya
e27f6a12c6 [processing] fixed handling null values in Processing settings in Mac 2015-10-01 08:46:09 +02:00
volaya
7ee2ff66d8 [processing] fixed import placement 2015-10-01 08:13:09 +02:00
volaya
7f061d2d75 [processing] fixed adding extension to output filenames in batch interface
fixes #10444
2015-10-01 08:11:39 +02:00
volaya
a9dab06a6a [processing]fixed SAGA when using a version newer than the latest supported one
fixes #13279
2015-10-01 07:45:38 +02:00
volaya
d4cb3465b2 [processing] partially fixed handling of non-ascii chars when running grass algorithms in windows 2015-10-01 07:45:37 +02:00
volaya
5d4a8d9ad6 [processing] fixed issues with spaces in paths when using GRASS algorithms 2015-10-01 07:45:36 +02:00
Nyall Dawson
a8f8cfefe5 Finish implementation of @value context variable 2015-10-01 15:42:02 +10:00
Nyall Dawson
5cfdea569b More removal of const from QgsRenderContext in symbology 2015-10-01 15:42:02 +10:00
Nyall Dawson
1491d5636f Remove const from labeling QgsRenderContext usage 2015-10-01 15:42:02 +10:00
Nathan Woodrow
1e6c8908b2 Add stack trace button to message bar for Python errors 2015-10-01 11:54:13 +10:00
Giuseppe Sucameli
401f43c590 DBManager: fix data conversion to unicode (errors='replace' should be enough) 2015-10-01 00:29:38 +02:00
Nyall Dawson
0587a59b39 Only save effect element if it is non-default
(decreases file size of qgs project files)
2015-10-01 06:54:59 +10:00
Juergen E. Fischer
2126011d31 revive QSqlDatabase (followup c894357a) 2015-09-30 17:32:53 +02:00
volaya
56af1068db [processing] recover previous value of formula in modeler calculator
#fixes 11539
2015-09-30 10:11:46 +02:00
volaya
3bb677e906 [processing] fixed message to indicate unconfigured GRASS provider
It now displays the same message for GRASS 6 than for GRASS 7
2015-09-30 09:44:30 +02:00
volaya
ea712c6c23 [processing] prevent otb algorithms being run if otb not configured
fixes #13215
2015-09-30 09:44:29 +02:00
volaya
1d67ce7ca7 [processing] fixed ordering of outputs in models
fixes #13217
2015-09-30 09:44:28 +02:00
Martin Dobias
1c877f116c Fix another crash with rule-based labeling + data-defined properties (fixes #13453)
The writing of data-defined properties to XML was using invalid data.
Also fixes a possible memory leak in assignment operator.
Thanks Nyall for help tracking it down!

This code has been funded by Tuscany Region (Italy) - SITA (CIG: 63526840AE) and commissioned to Gis3W s.a.s.
2015-09-30 12:36:44 +08:00
Giuseppe Sucameli
0c480a93c6 DBManager: fix unicode error display table data (fix #13447) 2015-09-30 00:12:11 +02:00
Giuseppe Sucameli
ece1169a44 DBManager: trap RuntimeError when disconnecting signals from a deleted object 2015-09-30 00:12:11 +02:00
Nyall Dawson
fea4ed9926 Store layer list in canvas order for visibility presets, fixes
data defined style preset for composer maps changing layer
order
2015-09-30 07:11:37 +10:00
volaya
8e971c2a60 [processing] Batch: ensure correct processing of extent params after other params are set 2015-09-29 20:24:04 +02:00
volaya
67d70f8572 [processing] Fix multiple error dialogs in batch processes
Errors when postprocessing layers are now added to the log console
2015-09-29 20:24:03 +02:00
volaya
1c69373af1 [processing] fixed issue with min covering extent when layers are passed as layer names
#fixes 13441
2015-09-29 20:24:02 +02:00
Tom Kralidis
712354e985 [MetaSearch] remove merged endpoint 2015-09-29 11:10:13 -04:00
Salvatore Larosa
7c2195802b [processing] really fix cmakelist file: followup a4151d7 2015-09-29 16:57:30 +02:00
Tom Kralidis
ac38d891af [MetaSearch] add guidance as comment 2015-09-29 06:42:08 -04:00
Giovanni Manghi
22b1c087cc add official CSW services for Portugal 2015-09-29 10:02:11 +01:00
Salvatore Larosa
a4151d7770 [processing] fixes cmakelist file: followup c7961b1 2015-09-29 09:57:29 +02:00
Giovanni Manghi
8b17e8b50c fix grass7 v.sample 2015-09-28 18:08:13 +01:00
Tom Kralidis
63306ed226 add about metadata 2015-09-28 08:11:56 -04:00
Tom Kralidis
3863b6031a [MetaSearch] update release version 2015-09-28 08:04:19 -04:00
Nyall Dawson
8a9009d83b Avoid python PendingDeprecationWarning on startup 2015-09-28 20:29:43 +10:00
Nathan Woodrow
216821ff38 Don't spam message bar with more of the same error 2015-09-28 17:33:13 +10:00