32 Commits

Author SHA1 Message Date
jobi
23ebfe5edc A lot of small changes to make release work again
Probably more cleaning in the Makefiles needed


git-svn-id: http://svn.osgeo.org/qgis/trunk@1121 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-30 22:23:08 +00:00
mcoletti
b5aee9e66e 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@1106 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-26 22:52:10 +00:00
mcoletti
4f120dc186 - 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@1105 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-26 22:29:54 +00:00
gsherman
96fed52767 Added GRASS support from Radim
git-svn-id: http://svn.osgeo.org/qgis/trunk@1103 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-26 17:42:11 +00:00
gsherman
50a0b01fe2 Added GRASS provider from Radim
git-svn-id: http://svn.osgeo.org/qgis/trunk@1102 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-26 17:37:07 +00:00
gsherman
8ea97250ab Changed parsing/splitting to use regular expressions. This allows special
characters such as tab (\t) to be specified.


git-svn-id: http://svn.osgeo.org/qgis/trunk@1093 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-26 05:54:17 +00:00
mcoletti
27740e4155 - s/config.h/qgsconfig.h [0]
- qgsconfig.h now has header sentinals

- now will install headers in $(prefix)/qgis/include and libqis.* library in
  $(prefix)/lib [1]

- "src/Makefile" no longer relies on explicit dependencies and uses better
  naming scheme for created source files [2]

Notes:

[0] To eliminate any file namespace collisions.  Unfortunately there will
    still be some macro name collisions.  These are harmless, though annoying.
    What needs to happen is that all header file references to "qgsconfig.h"
    be moved to implementation files, thus breaking any include dependencies
    for external software.

[1] There currently does not exist a way to make this optional; these will
    always install.  In the future, this might be something toggleable by a
    configure script option.  Moreover, there does not currently exist a
    "qgis-config" script for getting command line options for external,
    dependant software; there might be one in a future release.

    I decided to err on including too many header files; almost certainly some
    of the header files that are currently installed can be culled from the
    "to install" list.

    The new make file has two targets: the old qgis application target, and a
    second one for the library.  As plug-ins are developed, there may be a
    need to add more source files to the library to link against.  I just
    added in the bare minimum for the current set of plug-ins.  If more
    sources need to be added, just add them to libqgis_la_SOURCES, near the
    bottom of  "src/Makefile.am".

[2] All *.ui files will create corresponding *.uic.h and *.uic.cpp files.
    Since these also need MOC files, *.moc.uic.cpp files are also
    automatically created.


git-svn-id: http://svn.osgeo.org/qgis/trunk@1056 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-22 20:00:55 +00:00
gsherman
ac26abcb51 Minor code reformatting
git-svn-id: http://svn.osgeo.org/qgis/trunk@1029 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-12 16:45:32 +00:00
gsherman
15a79c50c2 Indentation changes, stub for new getNextFeature function that will be implemented to plug memory leaks
git-svn-id: http://svn.osgeo.org/qgis/trunk@1008 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-10 23:21:01 +00:00
gsherman
c788079aba Fixed implementation for tables and identify. Select and highlight of features does not work yet. This is the inital version, work on bugs is ongoing
git-svn-id: http://svn.osgeo.org/qgis/trunk@1007 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-10 23:18:52 +00:00
gsherman
9ec26ace64 Added delimited text provider to Makefile.am
git-svn-id: http://svn.osgeo.org/qgis/trunk@1006 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-10 23:17:37 +00:00
gsherman
4cc1581835 *** empty log message ***
git-svn-id: http://svn.osgeo.org/qgis/trunk@999 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-10 02:30:45 +00:00
jobi
adf8745e87 - Changed configure stuff to write DEFINES in config.h.
Postgresql stuff needs testing as I commented the compileflags in src/Makefile.am
- Infos will be posted on the devel mailinglist


git-svn-id: http://svn.osgeo.org/qgis/trunk@983 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-05 23:30:29 +00:00
mcoletti
922ff0ec11 Added copy of .indent.pro file from src directory to this provider directory
git-svn-id: http://svn.osgeo.org/qgis/trunk@980 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-04 21:03:48 +00:00
mcoletti
ab3b85fdbb - 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@978 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-04 20:35:14 +00:00
gsherman
edd805f9a2 1. Added bounds checking for selecting features.
2. Created wkbPoint structure for building WKB (well known binary) representation
	 of the point.
3. Implementation is not complete.


git-svn-id: http://svn.osgeo.org/qgis/trunk@971 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-01 06:34:46 +00:00
gsherman
cffcd1a49c Made changes required by refactoring QgsField
git-svn-id: http://svn.osgeo.org/qgis/trunk@967 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-29 01:59:55 +00:00
gsherman
025257d40d initial import
git-svn-id: http://svn.osgeo.org/qgis/trunk@959 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-29 00:46:46 +00:00
gsherman
bca5aa031a backed out changes related to memory leak fixes
git-svn-id: http://svn.osgeo.org/qgis/trunk@899 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-23 06:22:35 +00:00
gsherman
f5337a7d69 changed #ifdef DEBUG to #ifdef QGISDEBUG to fix rh/fedora problem
git-svn-id: http://svn.osgeo.org/qgis/trunk@873 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-20 17:17:36 +00:00
jobi
2b4c42d03f Added make release, what creats a tar.gz and a tar.bz2
git-svn-id: http://svn.osgeo.org/qgis/trunk@855 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-14 17:28:18 +00:00
gsherman
3456a47638 added GEOS detection and warning
git-svn-id: http://svn.osgeo.org/qgis/trunk@824 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-13 17:51:56 +00:00
gsherman
b47cee3de3 changes to build system
git-svn-id: http://svn.osgeo.org/qgis/trunk@791 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-11 05:47:36 +00:00
gsherman
261ac997f0 didge updates to gnu build configuration
git-svn-id: http://svn.osgeo.org/qgis/trunk@766 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-10 03:56:45 +00:00
gsherman
80f901f76c 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@739 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-07 19:07:50 +00:00
mhugent
eb6c570363 cleaned up a few things in the shapefile provider
git-svn-id: http://svn.osgeo.org/qgis/trunk@734 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-07 14:09:00 +00:00
gsherman
c1313d8e6c fixed std::cerr messages
git-svn-id: http://svn.osgeo.org/qgis/trunk@679 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-02 06:19:28 +00:00
gsherman
7d610fdd14 added #ifdef to std::cout and std::cerr statements
git-svn-id: http://svn.osgeo.org/qgis/trunk@678 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-02 06:10:46 +00:00
mcoletti
d565d76ba5 Added GDAL compiler flags.
git-svn-id: http://svn.osgeo.org/qgis/trunk@598 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-26 19:06:30 +00:00
mhugent
ad21f8da38 various changes (downtime of sf)
git-svn-id: http://svn.osgeo.org/qgis/trunk@592 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-25 08:05:16 +00:00
gsherman
f87e2178d4 added validity checking at the data provider level. Modified logging in postgres provider
git-svn-id: http://svn.osgeo.org/qgis/trunk@591 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-25 07:41:36 +00:00
gsherman
47af50b1e3 merge with datasource branch
git-svn-id: http://svn.osgeo.org/qgis/trunk@519 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-19 18:17:13 +00:00