Commit graph

27 commits

Author SHA1 Message Date
Regina Obe e72dcc2643 change variable used to __MINGW64_VERSION_MAJOR (the mingw64_w32 doesn't have __MINGW64_ (only the mingw64-w64 has that)
git-svn-id: http://svn.osgeo.org/postgis/trunk@11218 b70326c6-7e19-0410-871a-916f4a2858ee
2013-03-28 13:32:44 +00:00
Regina Obe 1aa9515cfc #1668: if mingw64 and it returns <0 switch to _vscprintf native windows implementation. Thanks to swoodbridge for pointing out the define to use.
git-svn-id: http://svn.osgeo.org/postgis/trunk@11217 b70326c6-7e19-0410-871a-916f4a2858ee
2013-03-28 09:30:19 +00:00
Paul Ramsey 820079f092 Roll back changes for autodetecting C99 vsnprintf (#1688)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9485 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-13 16:23:38 +00:00
Paul Ramsey 8be09879c7 Complete alternate implementation of vsnprintf, vasprintf for non-C99 systems. (#1668)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9477 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-12 21:27:39 +00:00
Paul Ramsey a0a812c9b6 Work around difference between behavior of MS snprintf and C99 snprintf. (#1668)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9435 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-09 17:46:29 +00:00
Sandro Santilli a34480837e Reduce number of includes from liblwgeom.h (closest header to a public API).
Update other files accordingly. [RT-SIGTA]

git-svn-id: http://svn.osgeo.org/postgis/trunk@7704 b70326c6-7e19-0410-871a-916f4a2858ee
2011-08-06 18:17:31 +00:00
Paul Ramsey 36d9eeba5a KML crashes on EMPTY (#681)
git-svn-id: http://svn.osgeo.org/postgis/trunk@6402 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-15 17:46:41 +00:00
Paul Ramsey 5a57623290 Fix regressions in the new KML emitter
git-svn-id: http://svn.osgeo.org/postgis/trunk@6381 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-14 20:21:27 +00:00
Paul Ramsey 79320ce2bb Second thoughts on stringbuffer changes
git-svn-id: http://svn.osgeo.org/postgis/trunk@6367 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-13 23:50:52 +00:00
Paul Ramsey 447c10e294 Potential minor speed-up functions for stringbuffering
git-svn-id: http://svn.osgeo.org/postgis/trunk@6366 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-13 23:40:03 +00:00
Paul Ramsey 394b847ab5 Improve stringbuffer_t performance (#439). This is largely done already in past passes. Added one small memory fix.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6359 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-13 20:25:48 +00:00
Paul Ramsey 0675c21e43 Add stringbuffer_create_size() to allow different starting sizes for the buffer
git-svn-id: http://svn.osgeo.org/postgis/trunk@6221 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-01 01:02:20 +00:00
Paul Ramsey 0bb9c409dd Flip all the internal liblwgeom files over to use liblwgeom_internal.h
git-svn-id: http://svn.osgeo.org/postgis/trunk@6160 b70326c6-7e19-0410-871a-916f4a2858ee
2010-11-01 01:28:12 +00:00
Paul Ramsey 7ff5ee83dd Add in more parser cases and test an EMPTY case.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6094 b70326c6-7e19-0410-871a-916f4a2858ee
2010-10-22 02:14:06 +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 77b245cb34 Rename vasbappend to stringbuffer_aprintf
git-svn-id: http://svn.osgeo.org/postgis/trunk@5623 b70326c6-7e19-0410-871a-916f4a2858ee
2010-05-17 23:38:04 +00:00
Paul Ramsey 7a6b0b636c Fix syntax error.
git-svn-id: http://svn.osgeo.org/postgis/trunk@5469 b70326c6-7e19-0410-871a-916f4a2858ee
2010-03-29 20:03:35 +00:00
Paul Ramsey e90cae99af Reorganize avprintf a litle.
git-svn-id: http://svn.osgeo.org/postgis/trunk@5468 b70326c6-7e19-0410-871a-916f4a2858ee
2010-03-29 20:02:59 +00:00
Paul Ramsey 624f8a909e Propogate vsnprintf errors up verbatim
git-svn-id: http://svn.osgeo.org/postgis/trunk@5467 b70326c6-7e19-0410-871a-916f4a2858ee
2010-03-29 19:57:15 +00:00
Paul Ramsey 701469d92b Add comments on error return values.
git-svn-id: http://svn.osgeo.org/postgis/trunk@5462 b70326c6-7e19-0410-871a-916f4a2858ee
2010-03-25 05:09:14 +00:00
Paul Ramsey 0e9cfef4d4 Improved stringbuffer again. Always write directly into the buffer, no more memcpy'ing. Change return values for printing calls to int, so that print errors can be detected and handled by the layers above, if desired.
git-svn-id: http://svn.osgeo.org/postgis/trunk@5461 b70326c6-7e19-0410-871a-916f4a2858ee
2010-03-25 05:06:39 +00:00
Paul Ramsey 4eb4127299 Restore original license terms.
git-svn-id: http://svn.osgeo.org/postgis/trunk@5460 b70326c6-7e19-0410-871a-916f4a2858ee
2010-03-24 17:54:39 +00:00
Paul Ramsey ecbea23876 Add a couple functions (length, copy) to stringbuffer, and add comments.
git-svn-id: http://svn.osgeo.org/postgis/trunk@5364 b70326c6-7e19-0410-871a-916f4a2858ee
2010-03-02 23:16:44 +00:00
Paul Ramsey 0505e74fee Remove unused va_copy.
git-svn-id: http://svn.osgeo.org/postgis/trunk@5327 b70326c6-7e19-0410-871a-916f4a2858ee
2010-02-23 21:41:52 +00:00
Paul Ramsey d8b67bdd4d Improve performance and cut back stringbuffer_t to the minimum.
git-svn-id: http://svn.osgeo.org/postgis/trunk@5324 b70326c6-7e19-0410-871a-916f4a2858ee
2010-02-23 21:29:57 +00:00
Paul Ramsey 51eb7b3969 First cut of new WKT output functions, need more unit tests.
git-svn-id: http://svn.osgeo.org/postgis/trunk@5302 b70326c6-7e19-0410-871a-916f4a2858ee
2010-02-22 19:53:22 +00:00
Paul Ramsey 147a101d25 Move stringbuffer from ./loader to ./liblwgeom for use in string emitter functions.
git-svn-id: http://svn.osgeo.org/postgis/trunk@5284 b70326c6-7e19-0410-871a-916f4a2858ee
2010-02-22 15:30:10 +00:00
Renamed from loader/stringbuffer.c (Browse further)