31 Commits

Author SHA1 Message Date
Blottiere Paul
7b431437f2 Allman brackets 2022-02-08 09:14:32 +01:00
Blottiere Paul
1cef6c78a5 Custom llvm style 2022-02-08 09:10:45 +01:00
Blottiere Paul
61f229c304 clang-format 5 2022-02-07 17:14:19 +01:00
Blottiere Paul
063a5b1651 Remove GHT support 2018-06-14 18:34:05 +01:00
Éric Lemoine
6e7023f80a Add asserts to pc_patch_*_free functions 2018-04-30 10:50:20 +02:00
Éric Lemoine
a7c046e013 Rename pc_patch_common_free to pc_patch_free_stats 2018-04-30 09:47:55 +02:00
Éric Lemoine
3aefbe250c Fix code style 2018-04-30 09:47:55 +02:00
Adam Chidlow
6e3d61a50a Move the freeing of stats into its own function
And call that function from all the different pc_patch_*_free functions.
2018-04-30 09:47:55 +02:00
Mathieu Brédif
f62481bc9b pcpoint_set/get API normalisation and testing
- definition of CU_ASSERT_FAILURE and CU_ASSERT_SUCCESS for easy checking of return values in tests.
- pcpoint_set functions were returning the PC_SUCCESS/PC_FAILURE as a double (!)
- add simple xy, xyz, xym and xyzm xml schemas for unit tests (test_point_xyzm)
2017-04-01 10:03:22 +02:00
Éric Lemoine
4ba2fe6d8f Revert "testing : pcpoint_get/set and pc_point_to_geometry_wkb" 2017-03-30 10:15:50 +02:00
Mathieu Brédif
30a680f94a pcpoint_set/get API normalisation and testing
- definition of CU_ASSERT_FAILURE and CU_ASSERT_SUCCESS for easy checking of return values in tests.
- pcpoint_set functions were returning the PC_SUCCESS/PC_FAILURE as a double (!)
- add simple xy, xyz, xym and xyzm xml schemas for unit tests (test_point_xyzm)
2017-03-21 13:57:19 +01:00
Mathieu Brédif
266113d1cb pointlist memory fix, pc_pointlist_from_dimensional memory optimization
pointlist: opaque mem pointer rather than readonly attribute
pc_patch_uncompressed_readonly: transfers data ownership
pc_pointlist_from_dimensional: 1 pcalloc/patch rather than 1/point
2017-02-16 10:47:37 +01:00
Mathieu Brédif
ef5fc167d8 indentation normalization 2017-02-12 23:52:15 +01:00
Mathieu Brédif
5a0f7944fd new PC_PointN function 2016-03-07 15:57:05 +01:00
Sandro Santilli
cd7a644818 Drop a memory copy in pc_patch_to_string (#74) 2015-04-21 11:12:07 +02:00
Sandro Santilli
db42b12e0c Fix memory leak in pc_patch_uncompressed_compute_extent 2015-04-13 15:48:15 +02:00
Sandro Santilli
9243eeaaee Add a couple of return values check
now that pcerror is not guaranteed to exit it is worth checking returns
2015-02-09 19:56:37 +01:00
Paul Ramsey
1d586ee151 Add a stats-based pre-filter to the generic filtering 2013-07-03 13:26:09 -07:00
Paul Ramsey
567e2979ac Remember to clone stats on patch copy 2013-06-13 14:22:47 -07:00
Paul Ramsey
12123bdbb1 astyle pass 2013-06-12 17:13:19 -07:00
Paul Ramsey
668d2413b2 Tests in place for patchlevel filtering
much optimization left to do
2013-06-04 14:53:42 -07:00
Paul Ramsey
3655ec0ab2 Rejigging 2013-05-31 16:12:08 -07:00
Paul Ramsey
b76a3b8300 Continue with stats calculation reworking 2013-05-30 16:18:42 -07:00
Paul Ramsey
52d6e0243f Rough draft of stats w/ serialize/deserialize 2013-05-28 19:20:53 -07:00
Paul Ramsey
af3b93e226 Platform support 2013-05-16 15:06:27 -07:00
Paul Ramsey
6e7dc88520 Update copyright to reference NrCan 2013-03-08 13:53:06 -08:00
Paul Ramsey
73da920ff0 Remove trailing white space from .c files 2013-03-08 13:46:06 -08:00
Paul Ramsey
d4a104bd77 Enable dimensional storage in the db 2013-03-06 22:06:23 -08:00
Paul Ramsey
e80fc20244 Fix memory error in allocator 2013-03-04 13:00:13 -08:00
Paul Ramsey
b457b2faee Add in aggregate functions for pc_union(pcpatch) 2013-03-04 11:55:12 -08:00
Paul Ramsey
c7060031b5 Add dimensional compression routines, right out to the
patch level. Now to add them to SQL.
2013-03-01 16:42:15 -08:00