248 Commits

Author SHA1 Message Date
Sandro Santilli
cc1797fde1 Allow upgrading from 1.0.1 2015-02-12 17:20:53 +01:00
Sandro Santilli
492b8e06a8 Strip aggregates, types and casts from upgrade scripts
Closes #39 (again)
2015-02-12 17:20:13 +01:00
Sandro Santilli
3fa32dd33f Note last updated version for pointcloud_columns view 2015-02-12 17:20:09 +01:00
Sandro Santilli
28b4c1f817 Update expected version 2015-02-12 16:07:21 +01:00
Sandro Santilli
fdf25688ef Ignore generated files 2015-02-12 16:05:49 +01:00
Sandro Santilli
7ad56b66be Set version to 1.1.0 2015-02-12 16:01:12 +01:00
Sandro Santilli
490bce0ae0 Get version from Version.config 2015-02-12 13:41:40 +01:00
Sandro Santilli
77985c0b5c Centralize version into Version.config
Works with both autoconf and cmake
2015-02-12 13:39:26 +01:00
Sandro Santilli
196a623ad7 Only create pointcloud_formats table if it doesn't exist 2015-02-12 13:25:58 +01:00
Sandro Santilli
0a668a703e Automate creation of extension scripts, including upgrades
Closes #39
2015-02-12 13:15:03 +01:00
Sandro Santilli
30f18f3ce0 Fix unused variable warnings in pc_bytes.c 2015-02-12 12:25:17 +01:00
Sandro Santilli
2ecca0b602 Expose PC_Get(pcpoint) returning an array of float8 at the SQL level
Initial code by Remi-C, refactored to reduce code extent and equipped
with regress test.
2015-02-12 12:08:23 +01:00
Sandro Santilli
225327468d Fix unused variables warnings 2015-02-12 10:37:21 +01:00
Sandro Santilli
74a0818f6a Add pc_point_to_double_array function
The function was written by Remi-C and slightly modified by me
to avoid the check for NULL and be const-correct.

Also I've added a unit test for the new library function.
2015-02-12 10:34:17 +01:00
Sandro Santilli
1a4ed998ae [TRAVIS] update packages cache 2015-02-10 10:48:47 +01:00
Sandro Santilli
2c25529a73 Fix pointcloud_columns view definition to handle null-typmoded cols
Closes #27
2015-02-10 10:41:26 +01:00
Sandro Santilli
59b5db04b2 Cleanup after test 2015-02-10 10:39:15 +01: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
Sandro Santilli
aebb3cb0d3 Add test for #28
Involves registering cu_tester specific error handler
2015-02-09 19:55:59 +01:00
Sandro Santilli
5c9532c00d Revert recently introduced double free on pcpoint (only in test) 2015-02-09 19:55:01 +01:00
Sandro Santilli
2025de2625 Do not assume schema XML has a name for each dimension
Closes #28
2015-02-09 19:53:24 +01:00
Sandro Santilli
62fd168379 Allow passing NULLs to pc_set_handlers to keep previous handlers 2015-02-09 19:46:00 +01:00
Sandro Santilli
e7b8fb8810 Fix typo in pc_patch_dimensional_compute_extent
Includes testcase.
Closes #23
2015-02-09 18:24:17 +01:00
Sandro Santilli
0c7bd2778d Fix unused variables warnings 2015-02-09 18:07:40 +01:00
Sandro Santilli
9a764780e3 Fix some uninitialized and unused variables warnings
Closes #37
2015-02-04 12:28:17 +01:00
Sandro Santilli
fb7823930e Enable GHT regress testing, allow configuring --without-libght 2015-02-04 11:59:01 +01:00
Sandro Santilli
df7532f011 Build with warning flags 2015-02-04 11:12:50 +01:00
Sandro Santilli
a5deb4136f Run installcheck 2015-02-04 11:10:12 +01:00
Sandro Santilli
7b7d063591 Add top-level "installcheck" rule, fix expected result 2015-02-04 10:28:50 +01:00
Sandro Santilli
a4df1e54cd Do not assume pc_patch_ght_from_uncompressed cannot return NULL
Print an error if it does, and use pcerror from within the function
to reduce the likelihood of returning NULL w/out an actual error.

Fixes the crash reported in #31
2015-02-04 10:06:38 +01:00
Sandro Santilli
cdbf2837a6 Enable travis-ci 2015-02-04 10:04:09 +01:00
Remi-C
604fcd352d fixing the missing attribute for correct wkb uncompressed patch 2015-01-22 15:45:03 +01:00
Paul Ramsey
bcb593857e Merge pull request #24 from abellgithub/castfix
Cast char *'s to proper type.
2014-11-24 16:32:44 -08:00
Andrew Bell
5d6dac27cb Cast char *'s to proper type. 2014-11-24 18:27:27 -06:00
Paul Ramsey
46657233b4 Formatting 2014-11-24 14:22:27 -08:00
Paul Ramsey
e6d9158d3c Update for PDAL changes 2014-11-24 14:20:27 -08:00
Paul Ramsey
5b99c403ee Fix up directions for build a little 2014-11-24 12:15:36 -08:00
Paul Ramsey
7821b47242 Add libm to libpc build 2014-11-17 16:05:13 -08:00
Paul Ramsey
746d6c571b Ignore build bits 2014-11-17 16:01:46 -08:00
Paul Ramsey
d0e39ac27b Support missing CUnit 2014-10-08 11:12:41 -07:00
Paul Ramsey
af0e262701 Merge pull request #15 from hobu/master
doc tweak
2014-05-13 11:19:21 -07:00
Paul Ramsey
d2433a3921 Merge pull request #19 from gadomski/remove-mandatory-cunit-dep
Provide cmake option to disable testing
2014-05-13 11:18:48 -07:00
Pete Gadomski
a61874cb52 Provide cmake option to disable testing
CUnit does not need to be a dependency for installation and usage, so
this patch adds a cmake option (WITH_TESTS) that can be used to disable
building of the test suite. WITH_TESTS is set to TRUE by default to keep
the default behavior consistent.

This patch also adds a one-liner to the README mentioning the option.
2014-05-13 12:16:59 -06:00
Howard Butler
75e08608ab doc tweak 2013-11-04 13:31:21 -06:00
Paul Ramsey
4c4bb5d394 Rework OS dependncies 2013-10-29 13:32:28 -07:00
Paul Ramsey
10f2810c6b Formalize mingw linking line in CMake file 2013-10-29 11:45:31 -07:00
Paul Ramsey
8612f906a0 Set internal version to 1.0 2013-10-23 12:03:27 -07:00
Paul Ramsey
0658d31712 -fPIC 2013-10-23 11:30:35 -07:00
Paul Ramsey
71b93a757c Add -fpic to build for debbie fix 2013-10-23 11:29:55 -07:00
Paul Ramsey
b1c4aad8df Tweak for cmake support 2013-10-23 11:09:03 -07:00