1
0
mirror of https://github.com/django/django.git synced 2025-03-26 09:10:50 +00:00

214 Commits

Author SHA1 Message Date
Claude Paroz
6e55e1d88a Refs -- Replaced six.reraise by raise 2017-01-22 20:08:04 +01:00
Tim Graham
7aba69145d Refs -- Removed django.test.mock Python 2 compatibility shim. 2017-01-20 08:17:20 -05:00
Tim Graham
4e729feaa6 Refs -- Removed django.utils._os.upath()/npath()/abspathu() usage.
These functions do nothing on Python 3.
2017-01-20 08:01:02 -05:00
Simon Charette
cecc079168 Refs -- Stopped inheriting from object to define new style classes. 2017-01-19 08:39:46 +01:00
Claude Paroz
2b281cc35e Refs -- Removed most of remaining six usage
Thanks Tim Graham for the review.
2017-01-18 21:33:28 +01:00
Claude Paroz
7b2f2e74ad Refs -- Removed six.<various>_types usage
Thanks Tim Graham and Simon Charette for the reviews.
2017-01-18 20:18:46 +01:00
Claude Paroz
f3c43ad1fd Refs -- Removed python_2_unicode_compatible decorator usage 2017-01-18 13:44:34 +01:00
Claude Paroz
d7b9aaa366 Refs -- Removed encoding preambles and future imports 2017-01-18 09:55:19 +01:00
Tim Graham
1691782652 Refs -- Removed contrib.gis.utils.precision_wkt() per deprecation timeline. 2017-01-17 20:52:04 -05:00
Tim Graham
7e63e84572 Refs -- Removed deprecated geos.MultiPolygon.cascaded_union property. 2017-01-17 20:52:02 -05:00
Tim Graham
997c9f7099 Refs -- Removed deprecated getter/setter of Point.tuple. 2017-01-17 20:52:02 -05:00
Tim Graham
19d8e64ac3 Refs -- Removed deprecated getters/setters of Point coordinate properties. 2017-01-17 20:52:02 -05:00
Tim Graham
a0149848f7 Refs -- Removed GEOSGeometry.get/set_srid() per deprecation timeline. 2017-01-17 20:52:01 -05:00
Tim Graham
56a5760543 Refs -- Removed contrib.gis.geoip per deprecation timeline. 2017-01-17 20:52:00 -05:00
Tim Graham
a0d166306f Removed GeoManager and GeoQuerySet per deprecation timeline. 2017-01-17 20:51:56 -05:00
Claude Paroz
946dd5bde2 Refs -- Fixed test failure introduced by OpenLayers 3 update. 2017-01-03 11:11:00 -05:00
Tim Graham
c04207cd38 Replaced some GIS has_X_method skips with supports_X_aggr/has_X_function. 2017-01-03 09:49:00 -05:00
Claude Paroz
2ebfda38e6 Fixed -- Updated OpenLayers-based widget to OpenLayers 3
Thanks Tim Graham for the review.
2017-01-02 19:45:52 +01:00
Sergey Fedoseev
af5983e4f5 Removed unneeded SpatiaLite workarounds in GIS tests. 2016-12-17 08:31:17 -05:00
Sergey Fedoseev
17a9e0cd07 Used assertJSONEqual() in GISFunctionsTests.test_asgeojson(). 2016-12-17 08:23:47 -05:00
Sergey Fedoseev
5d28fef8f9 Made NumPoints raise TypeError on MySQL when it's used on fields besides LineStringField. 2016-12-16 10:34:02 -05:00
Sergey Fedoseev
b01ceae843 Fixed -- Factored out CPointerBase base class for GEOSBase/GDALBase. 2016-12-15 16:59:08 -05:00
Sergey Fedoseev
4884472447 Fixed -- Made get_srid_info() fallback to GDAL if SpatialRefSys is unavailable. 2016-12-15 16:36:18 -05:00
Sergey Fedoseev
986c7d522a Fixed -- Improved support of geodetic coordinates on SpatiaLite.
Area function, Distance function, and distance lookups now work with
geodetic coordinates on SpatiaLite.
2016-12-15 15:31:07 -05:00
Sergey Fedoseev
38a6df555f Fixed -- Added Oracle support for BoundingCircle GIS function. 2016-12-15 14:16:09 -05:00
Sergey Fedoseev
5a23cc00f5 Fixed -- Added Oracle support for AsGML GIS function. 2016-12-15 14:00:08 -05:00
Sergey Fedoseev
d013134ffb Improved testing of num_seg kwarg of BoundingCircle GIS function. 2016-12-15 12:40:04 -05:00
Sergey Fedoseev
e36a9d3fd1 Simplified a GIS test by using an SRID available on all backends. 2016-12-15 09:32:12 -05:00
Sergey Fedoseev
9b79281e31 Fixed -- Fixed GEOSGeometry('POINT EMPTY').transform crash. 2016-12-08 10:24:05 -05:00
Sergey Fedoseev
a413ef2155 Refs -- Fixed OGRGeometry('POINT EMPTY').geos crash. 2016-12-08 10:24:05 -05:00
Sergey Fedoseev
65a1f32319 Refs -- Fixed GEOSGeometry('POINT EMPTY').ogr crash. 2016-12-08 10:24:05 -05:00
Tim Graham
b5f0b3478d Fixed -- Added aliases for Python 3's assertion names in SimpleTestCase. 2016-12-07 17:42:31 -05:00
Sergey Fedoseev
f909fa84be Fixed -- Fixed annotations with geometry values. 2016-12-07 14:16:29 -05:00
Sergey Fedoseev
183f501540 Fixed -- Fixed handling of empty geometries in BaseSpatialField.get_db_prep_save(). 2016-12-06 13:58:22 -05:00
Sergey Fedoseev
b90d72facf Refs -- Fixed output of WKBWriter for empty points and polygons. 2016-12-06 13:58:22 -05:00
Sergey Fedoseev
30657d7836 Removed test workarounds for PROJ.4 < 4.7.0.
PROJ.4 4.7.0 was released on 25 Sep 2009 and is available in Ubuntu 12.04.
2016-12-05 16:23:17 -05:00
Claude Paroz
cc9e429701 Fixed -- Casted GEOSGeometry only when necessary
Thanks Pete Flugstad for the report, and Tim Graham for the review.
2016-11-30 17:49:41 +01:00
Sergey Fedoseev
4464b9b9ad Fixed -- Added Oracle support for IsValid function and isvalid lookup. 2016-11-30 11:22:56 -05:00
Sergey Fedoseev
f24eea3b69 Simplified union GIS tests with equals() rather than equals_exact(). 2016-11-30 07:49:05 -05:00
Sergey Fedoseev
21322f9271 Fixed -- Added docs/test for GEOSGeometry.normalize(). 2016-11-30 07:39:03 -05:00
Sergey Fedoseev
fb3716b156 Enabled GeoQuerySetTest.test_unionagg on Oracle; refs .
It's not clear when it started to work.
2016-11-29 09:06:17 -05:00
Jackie Leng
50613d957a Fixed -- Made GEOSGeometry equality check consider the srid 2016-11-23 09:23:06 +01:00
Nicolas Noé
a269018e86 Fixed -- Fixed test failure with recent GDAL versions 2016-11-19 16:41:18 +01:00
Adam Chainz
7c6efb3233 Refs -- Removed obsolete workarounds in GIS tests for lack of GDAL.
Missed in f7a363ee1d2039824d95f35e54219e09c5af67b0.
2016-11-15 11:46:06 -05:00
Ramin Farajpour Cami
0a63ef3f61 Fixed -- Fixed E741 flake8 warnings. 2016-11-14 17:40:28 -05:00
Ramin Farajpour Cami
967be82443 Fixed E305 flake8 warnings. 2016-11-14 12:30:46 -05:00
Christian von Roques
cbae4d3184 Fixed -- Switched use of functions deprecated in PostGIS 2.2.
Thanks Claude Paroz and Tim Graham for reviews, and
Mjumbe Wawatu Poe for the initial regression test.
2016-11-12 16:18:22 -05:00
Claude Paroz
8c7778884b Dropped support for GDAL 1.7 and 1.8 2016-11-12 17:28:03 +01:00
Daniel Wiesmann
2dc07da497 Fixed -- Added shape, size, and offset controls to GDALRaster constructor.
Thanks Tim Graham for the review.
2016-11-11 07:09:38 -05:00
za
321e94fa41 Refs -- Removed "Tests that", "Ensures that", etc. from test docstrings. 2016-11-10 21:30:21 -05:00