1
0
mirror of https://github.com/qgis/QGIS.git synced 2025-03-26 00:08:20 -04:00

2488 Commits

Author SHA1 Message Date
Nyall Dawson
7f2bdcf342 Update legend test masks, fix for PyQt5 2016-07-14 07:12:15 +10:00
Nyall Dawson
2f8c6f5207 [composer] Add a checkbox for legends to prevent automatic resizing
A new checkbox has been added to the legend settings to control
whether or not a legend should be automatically resized to fit
its contents.

If unchecked, then the legend will never resize and instead just
stick to whatever size the user has set. Any content which
doesn't fit the size is cropped out.

Refs 

On behalf of Faunalia, sponsored by ENEL
2016-07-13 17:35:44 +10:00
Nyall Dawson
4f31ab656e [composer] Fix setting legend content by map not resizing legend
When a legend was set to filter content by map, it wasn't
consistently being resized to fit the legend contents. This caused
issues for atlas exports where legends could grow but never
shrink.

Fix 

On behalf of Faunalia, sponsored by ENEL
2016-07-13 17:35:44 +10:00
Nyall Dawson
93f2eec711 [composer] Fix initial size of legend is wrong if symbol size in
map units is used (fix )

On behalf of Faunalia, sponsored by ENEL
2016-07-13 17:35:44 +10:00
Alessandro Pasotti
b5f02e3d25 [offline editing] Wait for the WFS server to stop 2016-07-12 09:27:43 +02:00
Alessandro Pasotti
b5c0bc9b83 [offline editing] Added insert and update tests 2016-07-12 09:27:43 +02:00
Nyall Dawson
b08dd47091 Add a doxygen test to ensure all classes have a brief description 2016-07-11 09:28:46 +10:00
Juergen E. Fischer
daea10c126 support utf-8 encoded release names
(cherry picked from commit c9838ccea481c8ca87c4e1647099cfe78777e795)
2016-07-10 12:09:29 +02:00
Daan Goedkoop
d2c986343c Add null handling to value map edit widget (fixes ) ()
* Add null handling to value map edit widget (fixes )

* Return QVariant type

* Use hardcoded value for 'null' representation

* Detect "null" value when loading value map from csv; use null QString constructor

* Use configured "null" representation for display in value map

* Use single definition for value map null representation guid

* Added unit test for value map widget and fixed value displaying bug
2016-07-09 12:25:52 +02:00
Hugo Mercier
2257d711ed Fix virtual layer construction from joined layer 2016-07-07 15:37:29 +02:00
Nyall Dawson
f9d839fac5 [oracle] Fix handling of date/time types
Also add test for Oracle default values

On behalf of Faunalia, sponsored by ENEL
2016-07-07 22:17:45 +10:00
Nyall Dawson
156e7e0f78 Merge pull request from ahuarte47/Issue_DestinationCrsChanged
[Bugfix] Fix position and scale when on-the-fly CRS transformation is disabled (fixes )
2016-07-07 07:17:55 +10:00
Nyall Dawson
38e65c3f75 [oracle] Implement provider test suite
On behalf of Faunalia, sponsored by ENEL
2016-07-06 16:35:58 +10:00
Nyall Dawson
64bfbaaf5b [oracle] Fixes for oracle expression compilation
On behalf of Faunalia, sponsored by ENEL
2016-07-06 16:35:58 +10:00
Nyall Dawson
8eeceb0dc7 Merge pull request from ahuarte47/Issue_MeasureDialog
[Bugfix] Fix MeasureTool when DestinationCRS changes (fixes )
2016-07-06 10:34:34 +10:00
Martin Dobias
cdf82a2640 Use QGSCOMPARENEAR macro in tracer test 2016-07-05 22:41:26 +02:00
Nyall Dawson
fd88d91bde Use QgsCRSCache in more places 2016-07-05 15:59:15 +10:00
Nyall Dawson
339d061693 Use QgsCRSCache instead of looking up CRS by srs id (refs ) 2016-07-05 13:35:01 +10:00
Nyall Dawson
cfb1895fff Reenable Doxygen ingroup test 2016-07-05 10:54:21 +10:00
Nyall Dawson
e10211178c Followup 5daa54, add unit tests 2016-07-05 09:23:40 +10:00
Nyall Dawson
3d8269ef6d Fix Doxygen "added in" check 2016-07-05 09:16:09 +10:00
Nyall Dawson
2122c4db89 Temporarily disable doxygen group test 2016-07-04 22:11:47 +10:00
Alessandro Pasotti
43d415394d Merge pull request from elpaso/offline_editing_tests
Added offline editing WFS tests and debug info
2016-07-04 13:57:09 +02:00
Nyall Dawson
0a0c5e4271 Make doxygen test check that classes have "added in QGIS ..." note 2016-07-04 20:29:46 +10:00
Nyall Dawson
0a056f8a1f Add doxygen test to force use of \ingroup for classes
Using the group tag helps keep the API docs organized
2016-07-04 19:57:13 +10:00
Alessandro Pasotti
a058c36bce Added offline editing WFS tests and debug info 2016-07-04 11:47:44 +02:00
Nyall Dawson
a0f329e304 Fix QgsMapLayerRegistry test on Travis builds 2016-07-04 13:30:53 +10:00
Nyall Dawson
1a08f0ab53 Add full test suite for QgsMapLayerRegistry, also don't emit
any layer removed signals when no layers will actually be
removed
2016-07-04 12:26:25 +10:00
Alvaro Huarte
4057c3a6b4 Add test code 2016-07-01 11:05:01 +02:00
Alvaro Huarte
70d2c9b780 Fix MeasureTool when DestinationCRS changes 2016-07-01 00:15:11 +02:00
Even Rouault
6a93df753a Remove outdated comment 2016-06-30 18:44:33 +02:00
Even Rouault
5188a522bb Merge branch 'fix_release_conn_on_ogr_and_spatialite_closing' 2016-06-30 18:18:35 +02:00
Even Rouault
4ad50a708b [Spatialite provider] Make sure to release dangling connections on provider closing
Fixes 
2016-06-30 17:09:47 +02:00
Even Rouault
2d825bcdf0 [OGR provider] Make sure to release dangling connections on provider closing
Fixes 
2016-06-30 17:09:02 +02:00
Martin Dobias
bf07d2bf58 Support also curved geometries for tracing (fixes ) 2016-06-30 17:04:47 +02:00
Even Rouault
3cba1aa263 test_provider_shapefile: add test for correct repacking on feature deletion (test fix for ) 2016-06-30 12:04:22 +02:00
Nyall Dawson
e95a8a979a Followup 172953, add unit tests 2016-06-30 07:38:23 +10:00
Alessandro Pasotti
b819f2baa8 Added multiple edit and attributes tests 2016-06-29 16:30:47 +02:00
Nyall Dawson
af9b4a7f45 Fix failing distance area test on OSX 2016-06-29 10:10:21 +10:00
Nyall Dawson
039a77d5bb Fix indentation 2016-06-29 09:59:17 +10:00
Nyall Dawson
724d3e0832 Fix failing test 2016-06-29 09:59:00 +10:00
Nathan Woodrow
3d6ea7b489 Fix windows build 2016-06-28 21:16:34 +10:00
Even Rouault
45a4ae2b3c Merge pull request from rouault/fix_transformCoords
QgsCoordinateTransform::transformCoords(): do not convert elevations to radians
2016-06-28 12:44:57 +02:00
Sandro Santilli
f0e0ba5bb0 Add test for QgsGeometryUtils::sqrDistToLine
See 
2016-06-28 12:24:20 +02:00
Sandro Santilli
ba1d38c2ed Add comment describing the invalid polygon
Follow up to
https://github.com/qgis/QGIS/pull/3246#discussion_r68661723
2016-06-28 06:17:36 +02:00
Sandro Santilli
3d319d90bd Add test for selecting invalid geometries ()
See 
The test passes
2016-06-28 00:27:16 +02:00
mhugent
21b8ef0e4a Merge pull request from mhugent/full_circle
Change full circle interpretation, fixes 
2016-06-27 16:15:07 +02:00
Marco Hugentobler
663333de7d Indentation 2016-06-27 15:00:18 +02:00
Even Rouault
83683be3dc Adjust testqgsgeometry expected results after af2993e97b5a4ab98107bdce86780d11dca91109 2016-06-27 13:37:45 +02:00
Marco Hugentobler
ef90c0b2f7 Add unit test for ticket 2016-06-27 13:32:36 +02:00