2660 Commits

Author SHA1 Message Date
mhugent
dfb42e64a0 added an extern C method in the ogr provider to create new datasources. This method will replace the QgsVectorFileWriter class soon. Other providers may add methods with the same signature for creation of new data sources
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4072 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-12 22:19:46 +00:00
mhugent
d35911dc8c added code for writing legend settings with writeEntry()
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4071 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-12 18:19:40 +00:00
mhugent
c517eb1a29 fixed a bug in QgsGeometry::boundingBox for multipolygons
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4067 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-11 18:37:21 +00:00
mhugent
ae9360060b use fast geos export method on little- and big endian machine since QgsGeometry::geosGeometry is now endian-aware. Fixed a memory leak in the OgrProvider. Use ->getNextFeature(false) when selecting vector features because attributes are not needed for geometric selection
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4066 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-11 17:39:22 +00:00
mhugent
5f5264f7c2 more changes to consider for endianness in QgsGeometry
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4065 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-11 05:39:31 +00:00
morb_au
0b80f2b280 Make the WMS provider more fully understand the WMS metadata XML schema - (part 1).
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4059 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-10 22:33:14 +00:00
mhugent
2ac1e1a392 fixed a memory leak and removed some dead code
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4055 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-10 20:14:10 +00:00
morb_au
49c275598a WMS provider now handles memory management of images more appropriately. Firstly it doesn't leak an image on each redraw and secondly it will cache the last image for faster redraw.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4051 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-09 21:02:34 +00:00
morb_au
7d48128513 Fix up raster data providers (i.e. WMS) in line with mcoletti's changes in the vector data provider area. WMS really should work again now.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4048 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-09 11:47:23 +00:00
gsherman
c2736a3004 M. Loskot patch for bug 1313365
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4047 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-09 06:27:43 +00:00
gsherman
ab2a64d8d5 Reverted changes committed by mcoletti that prevented HEAD from compiling since
he's just left for a week. HEAD compiles; filters are missing when opening
an OGR layer.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4046 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-08 07:13:48 +00:00
mcoletti
c4abbbe993 QgsDataManager :
- s/name/dataSource/ in member function parameter lists

 - started implementation of openVector()

QgsProviderRegistry :

 - added openVector() which will eventually be called by
   QgsDataManager::openVector()

 - made naming convention consistent for fileVectorFilters so that OGR
   supported formats get properly loaded again


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4045 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-07 18:31:50 +00:00
mcoletti
281e3a92bb Added mDataSourceLayerNum
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4044 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-07 18:15:52 +00:00
mcoletti
8a0fc5cd6f moved omgdal to libqgis so that provider libraries would pass dltest
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4043 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-07 17:57:54 +00:00
telwertowski
adc6c5c69c Use different print font scaling factor for Mac.
Define factor in header file so it can be adjusted with one edit.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4041 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-07 04:55:03 +00:00
telwertowski
71a0e7f62b Merge from 0.7 release branch:
For Mac, don't call QPrinter::setOutputToFile(true) before QPrinter::setup().
Doing so will suppress the Mac Print dialog and disable paper printing.
This edit disables Mac eps output but the Mac has a pdf option in its
standard Print dialog.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4040 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-07 02:40:37 +00:00
morb_au
1592a0ef43 Minor cleanup after mcoletti's Aug 26 changes to get WMS going again.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4039 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-06 21:20:12 +00:00
mhugent
f53e89f608 fixed two little memory leaks in ogrprovider
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4038 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-06 20:10:07 +00:00
telwertowski
f1cc220667 Change dependency rules to match names of generated files
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4037 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-06 19:50:06 +00:00
gsherman
3084e8c381 Makfile.am changed to conform to the rest of the build system with regard to
uic.h/cpp generation.
Changed qgsgrassmapcalc.cpp to use pow(double, double) calls to permit compiliation
on gcc 3.3.x


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4034 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-06 05:52:35 +00:00
gsherman
90e4bfeb24 Show Qt link parameter at end of configure process
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4033 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-06 02:24:35 +00:00
timlinux
9ff0615892 Apply wonders make patch for geos issues
Try to improve errror checking for when ~/.qgis.db doesnt exist


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4032 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-05 20:19:24 +00:00
rabla
f6f6309e81 mapcalc
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4030 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-04 15:16:51 +00:00
rabla
b131cbbd5b added czech
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4029 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-04 14:26:02 +00:00
rabla
0c5e1808f9 updated czech translation by Martin Landa <landa@gama.fsv.cvut.cz>
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4028 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-04 14:25:24 +00:00
timlinux
547d04529e Updated minor version number to 0.7.9 (this follows the system used by kde folks which seems to work well. So consider version x.x.9.x to be beta of upcoming release.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4027 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-04 14:03:13 +00:00
g_j_m
4ea7936049 bug fix: the search for tables with geometry columns was including
database objects that weren't tables or views


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4025 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-03 10:01:03 +00:00
g_j_m
06fbe0b440 Bug fix: reporting of a postgres error was using the wrong sql for the error message
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4023 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-03 05:58:51 +00:00
mhugent
2bb9d07e7f added two icons for the legend and removed a bug which prevented to put the correct in overview pixmap to legend layer files
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4021 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-02 20:03:17 +00:00
telwertowski
b9ab71c71d bugfix for [ 1309122 ] inconsistent behavior of labels
Use correct index when retrieving columns.
Also add some PQclears for queries which weren't being freed.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4019 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-02 08:04:06 +00:00
mhugent
8ddab4908b reading/writing of the legend from/to project files. At the moment, readXML and writeXML functions are used. This may be changed to use QgsProject or QSettings functions in future
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4017 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-01 19:59:54 +00:00
timlinux
f22e4d8876 bugfix for [ 1282854 ] Some dialog widgets too narrow
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4016 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-01 11:07:55 +00:00
telwertowski
9974881da3 Merge from 0.7 release branch:
Adjust button dimensions so that text looks ok on Mac for PGQueryBuilder
operator buttons. (Height is now unconstrained because Qt/Mac is placing
default space below text and clipping text on top if it doesn"t fit.)


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4014 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-30 06:54:19 +00:00
telwertowski
e9f8bc2776 Merge from 0.7 release branch:
Use QToolButton instead of QPushButton to display a color setting
because Mac pushbuttons are always drawn using the standard system
button color. Also don"t change button color if the color picker
dialog was cancelled.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4013 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-30 06:21:26 +00:00
telwertowski
7e28239ce1 Merge from 0.7 release branch:
Adjust dialog construction for Mac so that right dialog type is used.
- Set modal flag: LayerProjectionSelector, LUDialog, Options, PGQueryBuilder, ProjectProperties, RasterLayerProperties.
- Construct without parent to make modeless: Bookmarks, CustomProjection.
Also allow only one instance of Bookmarks to be created.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4012 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-30 05:26:37 +00:00
telwertowski
d350434c48 Merge from 0.7 release branch:
Remove empty font property tag which was causing an oversize button
on Mac OS X.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4011 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-30 03:17:30 +00:00
telwertowski
f20e13a558 Merge from 0.7 release branch:
Changes to fix display anomalies on OS X and Linux. All toggle buttons
for selecting line or fill type are now QToolButton widgets. Adjusted
the graphics displayed on each button to make it easier to distinguish
which is active.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4008 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-30 02:16:24 +00:00
rabla
1139a968fa module options separated into new class
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4007 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-29 12:39:19 +00:00
g_j_m
d9a596e797 Tell cvs to ignore some files
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4006 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-29 01:07:10 +00:00
timlinux
89f4d13b92 Just some minor update to the splash screen...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4005 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-29 00:43:44 +00:00
timlinux
2e6f16bb5d Fix typo in variable name in new stuff mark committed.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4004 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-29 00:27:03 +00:00
timlinux
e22e23b7ed Applied patch from Karl
[ 1305377 ] constructor initialization order warnings


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4003 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-29 00:07:22 +00:00
timlinux
83244e8788 Applied patch from Karl
[ 1305377 ] constructor initialization order warnings


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4002 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-28 23:59:13 +00:00
mcoletti
421ec1a8c9 qgsdataprovider :
- added fileVectorFilters() and fileRasterFilters() virtual functions that
   return an empty string by default

qgsproviderregistry :

 - now stores vector file filter strings

 - builds the file filter string upon construction by concatenating strings
   returned from successive calls to all data provider fileVectorFilter()s

 - added fileVectorFilters() member that returns QFileDialog friendly filter
   string built as described in previous item

qgisapp :

 - now uses vector file filter string returned from QgsProviderRegistry
   vectorFileFilters() call


Note that currently only OGR data provider builds and returns this vector file
filter string.  Maintainers of other vector data providers should also
implement vector file filter functions as necessary.  Please see
QgsOgrDataProvider source for examples.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4001 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-28 20:17:44 +00:00
timlinux
961ac9068f Merged in some projection stuff from 0.7 to hopefully help stabilise head a little. There is still stuff in canvas etc that needs to come in I think. I tried to test with Radims plugin, but cant find how to get the screen with the projection selector like he had in his screenies.
With apologies to Brendan if I broke any of his qt4 compat edits...


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3999 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-28 00:50:13 +00:00
g_j_m
afa8bf59b0 tell cvs to ignore some files
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3998 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-27 18:04:45 +00:00
rabla
7795e8a4e3 <br> must be at the end of line?
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3997 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-27 16:22:34 +00:00
rabla
f859ca2cb6 create new vector
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3996 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-27 16:14:53 +00:00
rabla
37fca95853 static list of vector layers
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3995 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-27 16:12:59 +00:00
rabla
0147d212d1 fix bug in select vector/raster
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3994 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-27 15:36:23 +00:00