Regina Obe
089c55720d
fix commenting style so function descriptions are picked up by doxygen
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@4210 b70326c6-7e19-0410-871a-916f4a2858ee
2009-06-25 03:03:42 +00:00
Paul Ramsey
cfb44a749f
astyle --style=ansi --indent=tab ( #133 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@4168 b70326c6-7e19-0410-871a-916f4a2858ee
2009-06-11 16:44:03 +00:00
Paul Ramsey
254e6bdcbb
Fix goof in box2d computation.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3809 b70326c6-7e19-0410-871a-916f4a2858ee
2009-03-08 21:41:23 +00:00
Paul Ramsey
919bac6d62
Fix for GBT #116 , EMPTY hex polygon no longer causes crash.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3803 b70326c6-7e19-0410-871a-916f4a2858ee
2009-03-08 15:37:27 +00:00
Sandro Santilli
5c20f8b020
Fix parse_hex to support lower-case A-F too (issue 120)
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3762 b70326c6-7e19-0410-871a-916f4a2858ee
2009-02-23 15:19:37 +00:00
Mark Cave-Ayland
862fd30292
Rearrange liblwgeom.h as per Paul's comment on GBT#97: Rename LWCURVE to LWCIRCSTRING. Also rename lwfree_circstring() to lwcircstring_free() so that it matches the others (I guess this was missed in the first pass).
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3521 b70326c6-7e19-0410-871a-916f4a2858ee
2009-01-13 12:59:03 +00:00
Mark Cave-Ayland
ce6b5889c8
Commit for GBT#97: Rename LWCURVE to LWCIRCSTRING (also know as restoring balance to the universe).
...
Having gone through and re-read sections of the CIRCULARSTRING code, it is amazing how much easier the code is to read without the confusion of a curve being either a CIRCULARSTRING or LINESTRING as per the SQL-MM spec. The resulting commit compiles & installs cleanly for me, passes "make check" and also Regina's torture script. Please let me know if I accidentally broke anything :)
git-svn-id: http://svn.osgeo.org/postgis/trunk@3520 b70326c6-7e19-0410-871a-916f4a2858ee
2009-01-13 12:27:39 +00:00
Paul Ramsey
8fe9ec35db
Rename lwfree_inspected to lwinspected_release, per it's "shallow free" behavior.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3511 b70326c6-7e19-0410-871a-916f4a2858ee
2009-01-09 19:17:03 +00:00
Paul Ramsey
6744f68423
Rename lwfree_* to *_free.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3510 b70326c6-7e19-0410-871a-916f4a2858ee
2009-01-09 17:41:23 +00:00
Paul Ramsey
825548243f
Alter lwfree_* to deep-free memory. Add variants of *_release to support shallow-free. Go through lwgeom/ and replace any lwfree_* instances with *_release where appropriate. (Surprisingly few.)
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3502 b70326c6-7e19-0410-871a-916f4a2858ee
2009-01-08 17:04:00 +00:00
Paul Ramsey
761363721f
Fix based on test case from MAC.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3482 b70326c6-7e19-0410-871a-916f4a2858ee
2009-01-01 00:31:47 +00:00
Paul Ramsey
78c109c5c4
Complete the pfree_ to lwfree_ renaming.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3450 b70326c6-7e19-0410-871a-916f4a2858ee
2008-12-18 20:42:09 +00:00
Paul Ramsey
d33c9f9c04
Complete the pfree_* to lwfree_* renaming.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3448 b70326c6-7e19-0410-871a-916f4a2858ee
2008-12-18 20:35:27 +00:00
Paul Ramsey
4dc0a4cf91
Rename pfree_* memory management function lwfree_*
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3447 b70326c6-7e19-0410-871a-916f4a2858ee
2008-12-18 20:30:30 +00:00
Mark Cave-Ayland
678e623139
Add missing lwgeom_getcurve_inspected() function which is required for some of the latest GBT fixes.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3275 b70326c6-7e19-0410-871a-916f4a2858ee
2008-11-07 14:05:53 +00:00
Mark Cave-Ayland
4f8c4b5e8f
More work on improving the EWKT/B parser; remove all references to allocator functions from outside of liblwgeom by generating wrapper functions with more meaningful names. As well as cleaning up the API, it also makes the code much more readable
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@2839 b70326c6-7e19-0410-871a-916f4a2858ee
2008-07-13 10:50:56 +00:00
Mark Cave-Ayland
ffde636dc0
Split the basic geometry accessors into a separate static library liblwgeom.a; this potentially allows re-use of the liblwgeom functions from within PostGIS, or could be extended at a later date to include databases other than MySQL. This patch includes a change to the liblwgeom handler functions; instead of sprinkling init_pg_func()s around the source, I have changed the default liblwgeom handlers to make use of a callback to allow linked libraries to set their own handlers the first time any of them are called. I have also tidied up the parser API a little in liblwgeom.h, which means wktparse.h can be removed from all of the headers in the lwgeom/ directory, plus renamed wktunparse.c to lwgunparse.c to keep things similar to lwgparse.c. Finally, I renamed liblwgeom.c to lwutil.c to avoid confusion within the new interface. TODO: the liblwgeom Makefile has some gcc-specific options, but these can be fixed later - it seemed more important to make the warnings visible to developers.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@2815 b70326c6-7e19-0410-871a-916f4a2858ee
2008-06-29 19:11:48 +00:00