Commit graph

14 commits

Author SHA1 Message Date
Sandro Santilli 89bb89d9d1 Give PARSER_CHECK macros an LW_ prefix [RT-SIGTA]
git-svn-id: http://svn.osgeo.org/postgis/trunk@7725 b70326c6-7e19-0410-871a-916f4a2858ee
2011-08-11 07:51:45 +00:00
Paul Ramsey 60b4daef28 Remove old WKB/WKT parsers and generators and switch all internal references remaining (mostly in cunit) over to the new implementations.
git-svn-id: http://svn.osgeo.org/postgis/trunk@7721 b70326c6-7e19-0410-871a-916f4a2858ee
2011-08-10 22:28:05 +00:00
Sandro Santilli 092bfedef2 Implement ptarray_clone (shallow) and update clone documentation (doxygen), have lw*_clone clone the POINTARRAY but not the serialized point list (using ptarray_clone), add unit testing for lwgeom_clone. See ticket #1102.
git-svn-id: http://svn.osgeo.org/postgis/trunk@7608 b70326c6-7e19-0410-871a-916f4a2858ee
2011-07-06 14:29:26 +00:00
Sandro Santilli 16548d95d2 Plug some more easy leaks in testers
git-svn-id: http://svn.osgeo.org/postgis/trunk@7592 b70326c6-7e19-0410-871a-916f4a2858ee
2011-07-05 21:01:18 +00:00
Sandro Santilli 71b1b8c465 Do not deep-free return from lwcollection_homogenize as it doesn't copy POINTARRAY memory. See #1104.
git-svn-id: http://svn.osgeo.org/postgis/trunk@7579 b70326c6-7e19-0410-871a-916f4a2858ee
2011-07-04 13:56:04 +00:00
Sandro Santilli 4b7b728608 Plug some memory leaks in the unit tests, to help finding lower-level ones...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7578 b70326c6-7e19-0410-871a-916f4a2858ee
2011-07-04 12:29:40 +00:00
Paul Ramsey 1826cb4795 Remove libgeom.h
git-svn-id: http://svn.osgeo.org/postgis/trunk@6192 b70326c6-7e19-0410-871a-916f4a2858ee
2010-11-23 20:22:25 +00:00
Olivier Courtin c09ea80cd2 Astyle session on whole trunk
git-svn-id: http://svn.osgeo.org/postgis/trunk@5825 b70326c6-7e19-0410-871a-916f4a2858ee
2010-08-15 08:30:08 +00:00
Paul Ramsey bd255f724f Making test methods static to avoid compiler warnings.
git-svn-id: http://svn.osgeo.org/postgis/trunk@5331 b70326c6-7e19-0410-871a-916f4a2858ee
2010-02-23 22:14:07 +00:00
Paul Ramsey 1eba8fabf7 Made unit tests easier to add. New suites now just need to be added to two lines in cu_tester.c, no changes to header files necessary, new tests need one line in the appropriate .c file. From Jeff Adams.
git-svn-id: http://svn.osgeo.org/postgis/trunk@5329 b70326c6-7e19-0410-871a-916f4a2858ee
2010-02-23 22:07:14 +00:00
Olivier Courtin e0e94794e1 add explicit void return type
git-svn-id: http://svn.osgeo.org/postgis/trunk@5279 b70326c6-7e19-0410-871a-916f4a2858ee
2010-02-21 21:34:45 +00:00
Sandro Santilli 34d920339c Make stylish
git-svn-id: http://svn.osgeo.org/postgis/trunk@5271 b70326c6-7e19-0410-871a-916f4a2858ee
2010-02-21 12:21:04 +00:00
Olivier Courtin e2bcbb862e use the rights homogenize cunit suite handlers
git-svn-id: http://svn.osgeo.org/postgis/trunk@5270 b70326c6-7e19-0410-871a-916f4a2858ee
2010-02-20 19:47:49 +00:00
Olivier Courtin 3152537b81 Add lwgeom_homogenize function. Related to #375. Add cunit related tests
git-svn-id: http://svn.osgeo.org/postgis/trunk@5265 b70326c6-7e19-0410-871a-916f4a2858ee
2010-02-20 18:25:42 +00:00