21 Commits

Author SHA1 Message Date
jobi
4ec847d71c ** Changed to simple macros for detecting QT and GDAL
** Added code for detecting QGIS as m4 file to tools
** this will be installed together with QT and GDAL detection to
   $prefix/share/aclocal/qgis.m4
   so the plugins can just use those simple unique macros
** updated German translation
!! Developers have to link the installed qgis.m4 to /usr/share/aclocal/
!! or where ever aclocal keeps the m4 files
!! otherwise it's not detected by the plugins autogen.sh (more exactly
!! aclocal)
!! It can be cheated by adding -I path/to/qgis.m4 to the aclocal of
!! autogen.sh. But be carefull not to commit that to CVS


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1213 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-04-18 23:44:41 +00:00
mcoletti
61671c486b Rolling forward QgsFeature::setGeometry() interface change whereby the size of
the well known type geometry binary buffer is also now passed in.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1137 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-04-02 19:18:42 +00:00
jobi
9c2601d125 ** fixed strange warning: object 'foo.$(OBJEXT)' created both
with libtool and without
** also cleaned the other Makefiles that way


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1127 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-31 22:06:54 +00:00
mcoletti
a58281c4ef QGuardedPtr can only be used on classes derived from QObject. Since OGRFeature
isn't derived from QObject it was inappropriate to use QGuardedPtr for
OGRFeature objects.  Fixed to use old fashioned pointer checking and deleting.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1106 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-26 22:52:10 +00:00
mcoletti
e059645ea2 - plugged memory leak in QgsShapeFileProvider::getFirstFeature() whereby the
OGRFeature wasn't getting destroyed

- made getFirstFeature() a little more robust with regards to handling memory
  related errors

- implementation files should include their own headers first, so moved its
  #include accordingly to top; the meant creating class forward declarations
  in header file.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1105 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-26 22:29:54 +00:00
gsherman
1928a66e71 Indentation changes, stub for new getNextFeature function that will be implemented to plug memory leaks
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1008 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-10 23:21:01 +00:00
mcoletti
0d37078e52 Added copy of .indent.pro file from src directory to this provider directory
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@980 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-04 21:03:48 +00:00
mcoletti
efa17e0ae5 - ran files through GNU indent to make it easier to read code
- isValid() was always returning true when, in fact, occasionally the
  provider was not in a valid state


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@978 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-04 20:35:14 +00:00
gsherman
338ba29011 backed out changes related to memory leak fixes
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@899 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-23 06:22:35 +00:00
gsherman
90e6ba84bd changed #ifdef DEBUG to #ifdef QGISDEBUG to fix rh/fedora problem
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@873 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-20 17:17:36 +00:00
jobi
c70ac6993c Added make release, what creats a tar.gz and a tar.bz2
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@855 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-14 17:28:18 +00:00
gsherman
aa1c37a993 changes to build system
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@791 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-11 05:47:36 +00:00
gsherman
2069a6dac4 didge updates to gnu build configuration
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@766 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-10 03:56:45 +00:00
gsherman
872cafa9d2 added intersect option to select to properly select features during select and identify operations. OGR does not support intersects so this is only implemented in the postgres provider
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@739 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-07 19:07:50 +00:00
mhugent
18434add54 cleaned up a few things in the shapefile provider
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@734 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-07 14:09:00 +00:00
gsherman
4caad536f0 fixed std::cerr messages
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@679 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-02 06:19:28 +00:00
gsherman
1c629792e6 added #ifdef to std::cout and std::cerr statements
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@678 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-02 06:10:46 +00:00
mcoletti
39be93ed70 Added GDAL compiler flags.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@598 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-26 19:06:30 +00:00
mhugent
8a61ce4e81 various changes (downtime of sf)
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@592 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-25 08:05:16 +00:00
gsherman
d60680544c added validity checking at the data provider level. Modified logging in postgres provider
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@591 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-25 07:41:36 +00:00
gsherman
fbb024a65f merge with datasource branch
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@519 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-19 18:17:13 +00:00