2598 Commits

Author SHA1 Message Date
g_j_m
05cb4e4c4a Modify Makefile.am files to get qgis to compile from a clean cvs checkout. No guarantees that it actually will compile yet, but here's hoping (to test a clean
checkout, I need to commit the changes, so that I can do a clean checkout to test if it works).


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3981 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-26 03:32:16 +00:00
timlinux
427b2cb518 First draft of raster file format converter. Adds a 'convert to' option to raster context menu. At the moment its just hard coded to convert to .tif format and also hard coded to write output into /tmp.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3979 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-25 23:45:57 +00:00
timlinux
f7775a6789 Emit signal with srid of selected srs (as a string) as per Radims request.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3978 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-25 09:20:34 +00:00
g_j_m
329aef52c3 Bug fix. Compiling under QT3 didn't work. The changes here are an attempt to fix the problem, but need reviewing by morb_au first before they are applied to all of the other directories that have the same problem.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3976 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-25 05:09:03 +00:00
mcoletti
f9c1ca697d Rolled forward {get,set}DataSourceUri() member function changes from
QgsDataProvider base class.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3971 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-23 21:25:03 +00:00
mcoletti
75c98a30ce qgsdataprovider :
- ctor QString argument now passed by const reference instead of wasteful
   copy

 - added mDataSourceURI private data member

 - setDataSourceUri() and getDataSourceUri() now refer to new data member

(All this because most every data provider was doing the same thing over and
over and over and over again -- a sure need for generalization.)

qgsproviderregistry :

 - now returns null if a data provider was unable to load a given source

 - now also unloads the data provider if there was an error instead of
   wastefully keeping it around in memory

qgsrasterdataprovider :

 - added ctor for URI parameter

qgsvectordataprovider :

 - added ctor for URI parameter

qgsvectorlayer.cpp :

 - added simple debugging probe; was having problems whereby loading projects
   where data has subsequently moved was causing core dumps


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3970 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-23 21:23:08 +00:00
mcoletti
9551c8ff3d - rolled forward named() and description() member changes
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3967 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-23 14:08:35 +00:00
mcoletti
0289e94722 qgisapp.cpp
- merged from branch 0.7

qgsdataprovider.h

 - added name() and description() pure virtual members

qgspluginmanager.cpp

 - plugin directory path now used

qgsproviderregistry.cpp

 - member names now compliant with coding standard

 - limited reformatting and clean-up

qgsvectordataprovider

 - no longer uses Q_OBJECT since it doesn't provide signals or slots

qgsvectorfilewriter.cpp

 - 0.7 branch merge


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3966 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-23 14:08:02 +00:00
gsherman
3bf0a36738 Moved qgsscangeometries.ui.h out of SPIT_UI to prevent its deletion when
doing a make clean. Files ending in ui.h are not generated; they are original
source files and should not be included in BUILT_SOURCES.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3964 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-23 13:56:36 +00:00
mcoletti
ffb3bafc0e - by golly, someone moved QgsScaleCalculator units to QGis
- using the various *config utils generates -I strings that apparently flummox
  qmake; so now strip those out before appending the include strings generated
  from config script invocations

The test suite now runs again successfully.  Go me.  Or something.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3959 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-23 02:24:56 +00:00
mcoletti
8a0d9f3c32 - dump() now checks to see if properties_ is empty before dumping properties
- qDebug() would abort because someone forgot that QString::local8bit()
  _doesn't_ return a C-style string; it returns QCString which will cause
  qDebug() calls to blow up; if you insist on using QString::local8bit() in
  qDebug() then use it this way:

  qDebug( "%s", myQString.local8bit().data() );

Please do pay attention to compiler warnings.  The warnings generated by
mis-using local8bit _do_ _say_ that the program will likely abort when
execution gets to those statements.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3958 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-23 02:22:41 +00:00
mcoletti
c188184b84 Synched with latest snapshot of dependent object files. Also now depend on
qgis library.  Also use cppunit configure script for command line options.

Sadly, QgsProject seems to be broken, though that may have more to do with
local state of source than anything else.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3957 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-23 01:13:12 +00:00
mcoletti
079bbf1363 Stomping link errors and superfluous builds
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3956 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-22 22:50:42 +00:00
mcoletti
10b5739f3e future means of adding and managing data
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3955 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-22 21:34:18 +00:00
mcoletti
d475f90fef Eliminated annoying linker issues.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3954 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-22 21:21:17 +00:00
timlinux
c1352c6e4e Every new version needs some nice splashyness :-)
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3953 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-22 12:39:05 +00:00
telwertowski
6a9e84bac0 Remove duplicate files from qgis app which were also being compiled by libqgis.
Suppress distribution of generated uic.h files.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3952 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-22 07:36:45 +00:00
timlinux
e6fc6ad810 [ 1294894 ] measure distances using geodetic distance
Committing wonder's patch for measuring areas.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3949 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-21 21:46:17 +00:00
morb_au
7f5677d2aa More changes for Qt4 porting readiness.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3948 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-21 21:11:18 +00:00
mhugent
409e1a7c2c bugfixes for the legend
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3947 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-21 16:18:48 +00:00
timlinux
582fad1d2e Fix small bug in select using epsg spotted by Radim
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3940 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-21 00:53:36 +00:00
telwertowski
e1794d1ed8 Move catch outside #ifdef to balance try
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3938 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-21 00:43:05 +00:00
timlinux
c1f2ad47c2 [ 1246882 ] warnings cleanup - missing returns
Applied and tested Karls retrun type warnings patch.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3937 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-20 23:29:18 +00:00
timlinux
8b45a2b99f Karls patch for safer file writing in map composer:
[ 1243390 ] unsafe fileopens in mapcomposer


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3936 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-20 22:53:31 +00:00
telwertowski
86434a5172 Use qApp->applicationDirPath() instead of PKGDATAPATH for Mac and Win
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3934 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-20 16:59:32 +00:00
morb_au
9532721083 More changes for Qt4 porting readiness.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3930 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-19 22:08:30 +00:00
morb_au
d79cb2f351 More changes for Qt4 porting readiness.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3928 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-18 22:15:45 +00:00
timlinux
f4020df369 Added tr updates from BABA Yoshihiko for japanese
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3927 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-18 14:24:11 +00:00
mhugent
83e49f180b added 'expand all' and 'collapse all' functions. Removed some bugs
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3923 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-17 16:26:53 +00:00
timlinux
aaa93894e3 Apply patch
[ 1274887 ] Added tr()


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3922 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-17 10:15:54 +00:00
timlinux
6b1f74b69b Applied following patches:
1293255 SPIT: bugfix for "no fields" problem
1293069 2 bugfixes regarding extent calculation
1292938 added panning to overview
1253211 patch for PostGIS provider
1253027 patch for querybuilder


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3919 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-17 09:51:12 +00:00
morb_au
bd0d5412fe More changes for Qt4 porting readiness. In theory the process described in http://wiki.qgis.org/qgiswiki/Building_a_Qt3_codebase_with_Qt4 should work now.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3917 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-16 23:35:46 +00:00
morb_au
f8fabcbedf More changes for Qt4 porting readiness.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3915 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-16 23:30:38 +00:00
morb_au
e68037634a More changes for Qt4 porting readiness.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3914 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-16 23:08:59 +00:00
morb_au
871860604c More changes for Qt4 porting readiness.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3912 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-15 22:05:05 +00:00
morb_au
03c5046358 More changes for Qt4 porting readiness.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3911 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-15 21:33:04 +00:00
morb_au
370350cb7c More changes for Qt4 porting readiness.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3910 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-15 21:16:10 +00:00
morb_au
b37059bc1c More changes for Qt4 porting readiness.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3909 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-15 20:35:22 +00:00
mhugent
ece5eb22b6 also applied postgis provider changes to head. Removed a bug in ogrprovider which sometimes caused crashes when selecting
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3907 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-14 15:21:04 +00:00
mhugent
3a422d14ed fixed 'zoom to selection' in head. Changed QgsLegend::currentLayer() such that it also returns a layer if a legend layer is active (and not only if a legend layer file is active)
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3906 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-13 17:45:24 +00:00
rabla
627be00353 composer picture
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3905 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-13 09:04:48 +00:00
morb_au
e893c8c1e8 More changes for Qt4 porting readiness.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3904 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-12 22:01:36 +00:00
morb_au
09185f2d22 More changes for Qt4 porting readiness.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3903 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-12 21:46:57 +00:00
timlinux
d7f22f458e Applied patch from Martin Dobias to provide feature searches in attribute table.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3899 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-10 10:34:05 +00:00
rabla
67627f923c slightly modified nviz tool posted by Larissa Junek
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3893 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-07 13:28:43 +00:00
rabla
aebcb395ed fix for enable/disable actions
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3892 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-07 13:05:58 +00:00
rabla
213b300f26 set Select tool before QgsComposerMap constructor
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3891 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-07 12:26:19 +00:00
mhugent
c18520c3b8 functions and icons for adding and removing legend groups
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3890 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-06 17:09:03 +00:00
mhugent
b2053876b5 some code cleanups
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3869 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-08-29 19:35:33 +00:00
mhugent
022af7db8b removed a bug in the new legend
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3868 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-08-28 21:05:57 +00:00