25573 Commits

Author SHA1 Message Date
Denis Rouzaud
2b37e40b17 allow defining custom clear value for Qgs(Double)SpinBox 2014-12-03 15:14:03 +01:00
Salvatore Larosa
2d3f05ba78 [custom crs ui] adds scrollarea to dialog and done some minor changes 2014-12-03 12:30:16 +01:00
Salvatore Larosa
b699069b29 [custom crs ui] adds collapsible groupbox 2014-12-03 12:29:47 +01:00
Nyall Dawson
ad32bbf40c Add some atlas reference images for precise (part 2) 2014-12-03 21:58:52 +11:00
Nyall Dawson
b07e4db27b Add some atlas reference images for precise (part 1) 2014-12-03 21:23:25 +11:00
Matthias Kuhn
352fe2a2cd CTest retry submit to dashboard when failed 2014-12-03 10:23:05 +01:00
Nyall Dawson
3e6d784a62 Try increasing color tolerance for composer tests slightly 2014-12-03 19:44:13 +11:00
Nyall Dawson
16b4dfe12b Fix some compiler warnings 2014-12-03 19:43:50 +11:00
Martin Dobias
b278ea1a93 API: Added support for bulk loading of spatial index
This is much faster way of initializing a spatial index. From python it is as simple as
>>> index = QgsSpatialIndex( layer.getFeatures() )

From a simple test with 50K points in a memory layer:
- bulk loading ~ 100 ms
- inserting features ~ 600 ms

The index tree should be in theory also better constructed and may result in faster lookups.
2014-12-03 10:59:28 +07:00
Matthias Kuhn
94a276e7c7 Revert "Let travis compile debug binaries so ASSERTS are also considered"
This reverts commit b1de41ca49d44eb5068d60c29f7960d363aadd75.

Led to unstable test results for no reason

See

https://travis-ci.org/qgis/QGIS/builds/42811273

Different results for the very same commit:
http://dash.orfeo-toolbox.org/buildSummary.php?buildid=165433
http://dash.orfeo-toolbox.org/buildSummary.php?buildid=165427
2014-12-03 02:20:33 +01:00
Matthias Kuhn
f03ab8a64d Merge pull request #1482 from serialc/patch-1
Checkbox for sub index was missing tooltip text
2014-12-03 01:54:06 +01:00
Matthias Kuhn
b1de41ca49 Let travis compile debug binaries so ASSERTS are also considered 2014-12-02 21:39:39 +01:00
Matthias Kuhn
49c10fc466 MapTip: ParagraphSeparator to \n to support multiline expressions
This allows to properly use multiline expressions in the expression builder
when the map tip HTML definition contains newlines (which are formatted as
ParagraphSeparators in QTextCursor)
See http://qt-project.org/doc/qt-4.8/qtextcursor.html#selectedText
2014-12-02 15:15:40 +01:00
Jürgen Fischer
327f3e9c73 Merge pull request #1717 from manisandro/int_ogrwkbgeometrytype
Store result of OGR_FD_GetGeomType into a OGRwkbGeometryType, not in an int, ...
2014-12-02 14:20:44 +01:00
Sandro Mani
81895f9ca0 Store result of OGR_FD_GetGeomType into a QGis::WkbType, not in an int, which causes an integer overflow 2014-12-02 13:32:44 +01:00
Salvatore Larosa
d034a6677c [labeling] use QgsColorButtonV2 for label property dialog 2014-12-02 10:51:22 +01:00
Salvatore Larosa
2eb0ca343c [codeeditor] set case insensitive for SQL Lexer: followup #1686 2014-12-02 10:18:08 +01:00
Nyall Dawson
0f761949b8 Fix calculation of smart breaks when html has transparent background
Should finally fix troublesome composer html tests
2014-12-02 12:11:21 +11:00
Matthias Kuhn
823d45a37c Merge pull request #1714 from manisandro/intsafe_doublesafe
Fix isIntSafe and isDoubleSafe not considering some QVariant types
2014-12-01 20:26:46 +01:00
Sandro Mani
29d0166475 Fix isIntSafe and isDoubleSafe not considering QVariant::UInt, QVariant::LongLong, QVariant::ULongLong (Funded by Sourcepole) 2014-12-01 19:38:36 +01:00
alexbruy
974511f4e3 Merge pull request #1710 from mach0/master
fix typo in processing description
2014-12-01 18:53:41 +02:00
Nathan Woodrow
6da0058f6f Swap expression and custom function box in expression widget 2014-12-01 20:12:36 +10:00
Nyall Dawson
d815ac0061 Try to fix some more intermittent composer tests 2014-12-01 20:30:39 +11:00
Nyall Dawson
118a9f63dc Add some missing exitQgis() calls to unit tests
Also ensure that compositions are deleted before exiting
Qgis during tests.
2014-12-01 19:52:04 +11:00
Radim Blazek
4fde34a723 Fixed crash in browser startup on Mac 2014-12-01 09:34:57 +01:00
Nyall Dawson
48edab4fe6 Hopefully fix intermittently failing composer html test 2014-12-01 19:28:50 +11:00
Nathan Woodrow
78141c497f Layout expression widget as horizontal. Fits better on screens and means less dialog resizing. 2014-12-01 13:25:35 +10:00
Werner Macho
cb32d31c3a fix typo in processing description
Signed-off-by: Werner Macho <werner.macho@gmail.com>
2014-11-30 23:28:49 +01:00
Radim Blazek
445675abfb Revert "Followup to d897aa5; fix crash on Mac"
This reverts commit 9837f430b313eceeee246f966fc60115df3ee722.
2014-11-30 17:28:46 +01:00
Radim Blazek
6aa84c9726 QgsBrowserWatcher made QFutureWatcher descendant 2014-11-30 17:21:23 +01:00
Juergen E. Fischer
3a2e7a24ce debian packaging fix 2014-11-30 16:52:41 +01:00
Alexander Bruy
b2ba8e9c85 [processing] fix GRASS output parser (fix #10660) 2014-11-30 12:50:36 +02:00
Alexander Bruy
72fe56cfe4 [processing] fix Convex hull algorithm (fix #11725) 2014-11-30 12:50:35 +02:00
Matthias Kuhn
7d8a3b1a29 Change unary minus test --1 to -(-1)
See http://lists.osgeo.org/pipermail/qgis-developer/2014-November/035835.html
2014-11-30 10:34:19 +01:00
Matthias Kuhn
77e62b97c1 Add line comments to QgsExpression
Delimited by double-minus and EOL/EOF

Example:
  $id -- This is the feature id
2014-11-30 10:34:19 +01:00
Matthias Kuhn
a92d1a6e31 QgsExpression: some const fixes 2014-11-30 10:34:19 +01:00
Matthias Kuhn
5a883c0a9f Preserve expression formatting 2014-11-30 10:34:18 +01:00
Matthias Kuhn
13255b13ae Add block comment tests 2014-11-30 10:34:18 +01:00
Matthias Kuhn
0a7facbe2e [FEATURE] Add comment functionality to QgsExpression 2014-11-30 10:34:18 +01:00
Juergen E. Fischer
e48a6f642f indentation update [ci skip] 2014-11-30 10:26:39 +01:00
Nathan Woodrow
4d4fa44605 [Feature] Allow custom expression functions in expression widget 2014-11-30 17:36:35 +10:00
Juergen E. Fischer
98c0771b1a update scripts/fix_allows_to.sh and run it 2014-11-30 01:42:27 +01:00
Juergen E. Fischer
269d4d1fb4 travis: irc notification if build status changes 2014-11-29 17:14:52 +01:00
Nathan Woodrow
391d105ce0 [Expression] Don't unregister function if not registering 2014-11-30 00:40:22 +10:00
Nathan Woodrow
7942325fd7 Remove qgsfunction from qgis.utils.
Import from qgis.core so we don't break API
2014-11-29 23:36:18 +10:00
Nathan Woodrow
e14b7e4868 Reform qgis.uitls file 2014-11-29 23:18:18 +10:00
Alexander Bruy
902b932968 [processing] use extent instead of width, height and center in Create
Grid algorithm (fix #11481)
2014-11-29 13:58:16 +02:00
Nathan Woodrow
6a17a60ae2 Move qgsfunction to qgis.core.
Add new register_function method when not using decorator
Wrap function call in try block to catch and report errors
2014-11-29 18:37:26 +10:00
Nyall Dawson
d532af0b33 Add some test images and tweak test tolerances for utopic 2014-11-29 14:51:55 +11:00
Nyall Dawson
20f57c90d9 [composer] Make html tests text-free
Minimises cross platform rendering differences
2014-11-29 11:50:18 +11:00