1089 Commits

Author SHA1 Message Date
jobi
657f6f1f18 ** autogen.sh now passes paramters to configure
** fixed tools/qgiscommit by using mktemp, thanx mcoletti
** pluginpath is now taken of libdir to be 64bit compliant (e.g./usr/lib64/qgis)


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1109 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-27 13:50:25 +00:00
timlinux
123aecac07 These files should not be in cvs they are generated by moc
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1108 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-27 12:41:16 +00:00
mhugent
9e45e64f35 added classes for a dialog to select markers
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1107 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-27 11:55:07 +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
mhugent
7c05b872c1 passing window focus back to the vector properties dialog after chosing a color/ linestyle/ image
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1104 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-26 17:44:28 +00:00
gsherman
f289cfa491 Added GRASS support from Radim
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1103 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-26 17:42:11 +00:00
gsherman
f8aeda2cf4 Added GRASS provider from Radim
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1102 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-26 17:37:07 +00:00
mcoletti
bc4fca7b7d Corrected error in which <iostream> wasn't getting included in implementation
file.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1101 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-26 17:20:53 +00:00
jobi
cf0c186139 ** forgot to remove tempfile
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1100 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-26 13:48:57 +00:00
jobi
fe65ecb246 Removed Newline after statusline
Should work now fine!
Have fun


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1099 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-26 13:30:49 +00:00
jobi
9398f0de52 Added qgiscommit tool
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1098 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-26 13:23:55 +00:00
jobi
28920611be updated changelog and version
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1097 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-26 12:24:40 +00:00
timlinux
3814f9e46a Added missing bracket in init function.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1096 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-26 11:58:21 +00:00
mhugent
0328b87ff4 fix for crashes when chosing very small scale factors in the single marker dialog
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1095 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-26 11:23:48 +00:00
jobi
3ba3b259be Fixed bug #920070
Made plugin-libdir 64bit compatible


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1094 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-26 11:10:51 +00:00
gsherman
3ea3ce046f 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/qgis@1093 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-26 05:54:17 +00:00
gsherman
e94b9c979b Added qgsfield.cpp to libqgis_la_SOURCES so it gets built into the library.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1092 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-26 04:45:34 +00:00
timlinux
268854c43a Changed wkt entry box to a combo and coded the wkt projections into code itself. Various other minor changes
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1091 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-26 01:17:59 +00:00
mcoletti
f910716948 qgisapp.cpp :
- moved #include <qgsconfig.h> to header

qgisapp.h :

 - #include <qgsconfig.h> moved here because otherwise addDataBaseLayer() not
    declared

qgisappbase.ui.h :

 - added debug statement for when QgisAppBase::addDatabaseLayer() invoked
   instead of QgisApp::addDataBaseLayer()

qgsvectorlayer.h

 - deleted extra #include <map>


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1090 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-25 22:18:58 +00:00
mcoletti
a373560737 This file, too, was inadvertantly commited to CVS and has been restored to its
prior version.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1089 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-25 21:13:54 +00:00
mcoletti
ed9e5ffcc5 While making changes for the new plug-in library and Makefile.am structure, I
inadvertantly made changes to this file that apparently broke dependent
files.  This restores the ui file to the previous, working version.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1088 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-25 20:49:03 +00:00
timlinux
0e2f843eca Disabled standalone build profile for now
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1083 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-24 23:44:24 +00:00
timlinux
15b3e24014 Replaced image of gps and set grid layout for form.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1082 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-24 21:57:55 +00:00
timlinux
e99be64f04 Added missing list.cpp file
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1081 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-24 16:13:24 +00:00
mhugent
f9fc54ce01 added pointers to the two paint devices (used for double buffering) in QgsMapLayer::draw(...). The idea is, that, if it takes a long time to paint a layer, the layer has the possibility, to copy the buffer image to the canvas before drawing is complete. Like this, it is more interesting for a user to wait as he can observe the progresses of the drawing process. I changed QgsVectorLayer::draw such that after drawing 1000 features to the background buffer, a bitBlt is made. The additional computing time due to these additional bitBlts seem to be very small. I did a few performance tests (times in milliseconds) with a dataset containing over 9000 features (5 paints for each configuration to get a good average). ctour1.shp without additional bitBlts[ms]: 4424 / 5189 / 5060 / 5070 / 5071. ctour1.shp with bitBlt every 1000 elements (9 additional bitBlts) [ms]: 4528 / 5243 / 5104 / 5102 / 5104. ctour1.shp with bitBlt every 500 elements (18 additional bitBlts) [ms]: 4751 / 5127 / 5087 / 5094 / 5113
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1080 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-24 10:18:43 +00:00
timlinux
d1b42e9be5 Forgot to add this file...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1079 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-24 09:25:18 +00:00
timlinux
2d37bff7b9 Removed default values in constructor.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1078 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-24 08:39:51 +00:00
timlinux
f2342cc895 Removed calls to om _log global
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1077 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-24 08:38:59 +00:00
timlinux
6887a3a0ca Latest versions of these headers - they need to be kept in sync with om sources.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1076 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-24 08:37:25 +00:00
timlinux
651a5b7d34 Updated to build standalone om gui too - still not working properly yet though methinks...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1075 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-24 08:36:31 +00:00
timlinux
03c07e7628 Removed these files as having them there in the first place was a nasty hack. With didges new install system, only headers that are not installed during openmodeller make install need to be copied into this plugind dir.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1074 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-24 08:15:41 +00:00
timlinux
82024aae4a Removed these files as having them there in the first place was a nasty hack. With didges new install system, only headers that are not installed during openmodeller make install need to be copied into this plugind dir.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1073 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-24 08:08:50 +00:00
timlinux
731ebec949 Changed include from config.h to qgsconfig.h
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1072 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-23 15:06:22 +00:00
mhugent
b96bc9b5c2 made several methods of QgsPoints inline and added Method to QgsCoordinateTransform which takes a pointer to a QgsPoint (thus no QgsPoint objects have to be copied). Changed QgsVectorlayer::draw to use the new method of QgsCoordinateTransform
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1071 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-23 14:41:55 +00:00
mhugent
cce9d3a8d7 minor refactoring of QgsRenderItem and QgsRangeRenderItem
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1070 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-23 13:31:50 +00:00
gsherman
4313618955 Removed unneeded BINDIR from AM_CXXFLAGS
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1069 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-23 06:49:20 +00:00
gsherman
0f3c348075 Added tools/qgis_config/Makefile to AC_CONFIG_FILES. The qgis_config program is patterned almost exactly after pg_config (PostgreSQL) and can be used to determine the prefix, lib, include, and bin directories of a QGIS install.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1068 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-23 06:21:15 +00:00
gsherman
8892ea6c9b Added qgis_config which is patterned almost exactly after pg_config (PostgreSQL) and can be used to determine the prefix, lib, include, and bin directories of a QGIS install.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1067 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-23 06:17:59 +00:00
gsherman
ad7ae64dd0 Added snapshots for plugin documentation
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1066 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-23 04:40:20 +00:00
timlinux
fe03a46dd6 Null detection for labels and got rid of the fprintf stuff that caused raised eyebrows and stern disapproval from Mcoletti
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1065 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-23 01:37:31 +00:00
timlinux
4a76e9b933 Gui clean up to detect incorrect input file, and to allow hand entered file names. Layer now displays properly in gui after importing.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1064 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-23 01:36:19 +00:00
timlinux
2278100d93 Backdated changelog comments I forgot to commit
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1063 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-23 01:02:28 +00:00
timlinux
68b079d4d3 Updated version no
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1062 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-23 01:01:51 +00:00
timlinux
a96b1ebb06 Make cancel button work...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1061 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-23 00:44:31 +00:00
timlinux
a58d252cdb This is a sample garmin dump file kindly provided by Shuyler for testing....
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1060 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-23 00:05:29 +00:00
timlinux
fc60fe6bb7 Added gps_importer to make process
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1059 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-22 23:59:11 +00:00
timlinux
44e3978880 This is a c++ first draft of a port of a perl script by Schuyler to import Garmin gps dump files as a shapefile. The resulting imported file will be displayed in the map view. At the moment it only generates a point layer of the waypoints but a future version will generate polylines and perhaps polygons too using similar logic to that used by Shuylers perl stuff. Note this plugin is still under construction and I am commiting it mainly so that other developers can assist me when I get stuck. Also note that the plugins Makefile builds a standalone app based on the plugin gui that can be run separately from qgis.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1058 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-22 23:38:26 +00:00
mcoletti
8d156a3c00 Version 0.1.0devel8
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1057 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-22 20:04:56 +00:00
mcoletti
6d02614cef - 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/qgis@1056 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-22 20:00:55 +00:00