Sandro Santilli
fed95d2f73
Remove unused include
2015-04-20 19:17:29 +02:00
Sandro Santilli
e5605e9292
Fix crash in schema parser
...
Closes #71 .
Includes testcase.
2015-04-14 11:26:28 +02:00
Sandro Santilli
667dcf3ec0
Fix handling of sigbits encoding with 0 common bits
...
Includes online check
Closes #69
2015-04-13 16:58:35 +02:00
Sandro Santilli
db42b12e0c
Fix memory leak in pc_patch_uncompressed_compute_extent
2015-04-13 15:48:15 +02:00
Sandro Santilli
c72199f1f8
Fix 64bit sigbits encoding
2015-04-13 14:17:01 +02:00
Sandro Santilli
45c0fc7820
Revert "Fix sigbits decoding to handle the 0-commonbits case"
...
This reverts commit ca64830e53cdae288e80fb8a127c2a86cf141c2f.
It broke other cases, better to rethink (#69 )
2015-04-13 14:10:49 +02:00
Sandro Santilli
ca64830e53
Fix sigbits decoding to handle the 0-commonbits case
...
See #67
2015-04-13 13:40:36 +02:00
Sandro Santilli
3011d8dace
Fix crash on cloning schema with missing dimension name/description
...
Closes #66
Includes testcase
2015-04-09 16:00:27 +02:00
Sandro Santilli
53b4fa1dcb
Add test for pc_schema_clone and plug memory leaks in the test
...
See #65
2015-04-09 12:24:47 +02:00
Sandro Santilli
bfc1998b53
Fix memory leak in dimensional encoding when all values are equal
2015-04-02 16:33:02 +02:00
Sandro Santilli
11012357fd
Support sigbits encoding for 64bit integers
...
Fixes #61
2015-04-02 16:26:30 +02:00
Pete Gadomski
868b78c1eb
Compile the static library with -fPIC
...
On Ubuntu precise64, gcc/g++ 4.8, cmake 2.8.11.2, I get a link error
between the static libpc and the (default shared) libpointcloud.so. This
patch fixes the link error.
Fixes #26
2015-03-28 01:15:29 +00:00
Sandro Santilli
3fe9d4599f
Implement PC_Summary(pcpatch)
...
Includes test and docs
2015-03-19 16:54:09 +01:00
Sandro Santilli
48faede812
More unused variables and definitions dropped
2015-02-12 18:22:08 +01:00
Sandro Santilli
7ca2b21c47
Fix a couple more unused variable warnings
...
Improves error checking in pc_patch_dimensional_compute_extent
2015-02-12 18:17:43 +01:00
Sandro Santilli
7d92ab50da
Move INTERPRETATION_STRINGS and INTERPRETATION_SIZES to .c file
...
Closes #41
2015-02-12 17:36:46 +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
30f18f3ce0
Fix unused variable warnings in pc_bytes.c
2015-02-12 12:25:17 +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
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
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
Andrew Bell
5d6dac27cb
Cast char *'s to proper type.
2014-11-24 18:27:27 -06:00
Paul Ramsey
7821b47242
Add libm to libpc build
2014-11-17 16:05:13 -08:00
Paul Ramsey
d0e39ac27b
Support missing CUnit
2014-10-08 11:12:41 -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
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
Paul Ramsey
b225423337
Merge branch 'master' into cmake
2013-10-23 11:04:02 -07:00
Paul Ramsey
b9c7bff40f
Move version numbers into config.h
2013-10-23 10:31:57 -07:00
Paul Ramsey
643fcd29ca
Merge branch 'master' into filtershortcut
2013-10-22 16:42:34 -07:00
Paul Ramsey
87f875eabf
Build against Centos6
2013-10-22 12:55:55 -07:00
Paul Ramsey
28da32e323
First cut of cmake support
2013-10-21 21:38:43 -07:00
Paul Ramsey
0bc752fea9
Clean build on OSX Mountain Lion
2013-10-21 14:43:21 -07:00
Paul Ramsey
a2678313d1
Clean build on OSX Mountain Lion
2013-10-21 14:43:03 -07:00
Paul Ramsey
e92de9f3f3
Remove hard requirement for CUnit to build
2013-10-21 10:51:01 -07:00
Paul Ramsey
97bd62d18c
Fix configuration for cases where pg_config
...
not on path. Also quiet some linux warnings
2013-08-27 10:14:36 -07:00
Paul Ramsey
a28ba81bdf
Add patch for mingw and windows vsnprintf
2013-07-04 09:46:19 -07:00
Paul Ramsey
1d586ee151
Add a stats-based pre-filter to the generic filtering
2013-07-03 13:26:09 -07:00
Paul Ramsey
75fdd0fb90
Fix test to declare length of pcbytes correctly
2013-07-03 11:48:02 -07:00
Paul Ramsey
0909faa673
Do efficient filtering in RLE encoded dimensions
2013-06-28 17:34:41 -07:00