4027 Commits

Author SHA1 Message Date
timlinux
9d7af64e64 Bug fix for sed regex when checking automake version contributed by Tom Russo
git-svn-id: http://svn.osgeo.org/qgis/trunk@5734 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-08-24 20:13:53 +00:00
mhugent
3c0e0c99ec made the selection in the delimited text provider working again (which was broken by myself in a recent commit)
git-svn-id: http://svn.osgeo.org/qgis/trunk@5733 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-08-24 15:20:40 +00:00
mhugent
5891b1f964 fixed a bug in QgsGeometry wkt export and made QgsDataProvider::endian() const
git-svn-id: http://svn.osgeo.org/qgis/trunk@5732 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-08-24 14:27:16 +00:00
g_j_m
f880882db4 Fix for ticket #226 (saved projects with postgres layers in a map composition won't reload).
git-svn-id: http://svn.osgeo.org/qgis/trunk@5730 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-08-24 09:58:37 +00:00
rblazek
744f78f610 destructor fix, delete mCanvasEdit etc.
git-svn-id: http://svn.osgeo.org/qgis/trunk@5729 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-08-24 08:35:12 +00:00
g_j_m
6a3431a072 add some space to an error message
git-svn-id: http://svn.osgeo.org/qgis/trunk@5728 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-08-24 01:14:22 +00:00
g_j_m
866694f340 Fix for ticket #245 (georeferencer cancel button doesn't work)
git-svn-id: http://svn.osgeo.org/qgis/trunk@5727 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-08-23 09:24:39 +00:00
g_j_m
a1b9be0586 Fix for ticket #122 (projection set incorrectly for some raster
layers). The way that the raster layer sets it's srs is a bit complex
- hopefully these changes fix the problem without introducing other
problems (seems ok from the testing that I've done).


git-svn-id: http://svn.osgeo.org/qgis/trunk@5726 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-08-23 09:11:00 +00:00
g_j_m
fbf57e0e2f On first displaying the postgres connection details dialog box, ensure that
the 'where to search' toggles are consistent.


git-svn-id: http://svn.osgeo.org/qgis/trunk@5725 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-08-23 05:32:50 +00:00
timlinux
35c2c966c3 Updated splash screen for 0.8 release
git-svn-id: http://svn.osgeo.org/qgis/trunk@5724 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-08-22 10:47:07 +00:00
g_j_m
c14a020700 Further changes to fix ticket #8 (wms not working through a web proxy). Should work now, but needs a bit of testing to be sure, which I'll do over the next few days.
git-svn-id: http://svn.osgeo.org/qgis/trunk@5723 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-08-22 01:00:38 +00:00
telwertowski
82b18a223b Add svn version to Mac GetInfo window.
git-svn-id: http://svn.osgeo.org/qgis/trunk@5722 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-08-21 16:50:23 +00:00
telwertowski
aac3bee945 Don't rewrite qgssvnversion.h unless svnversion has changed.
git-svn-id: http://svn.osgeo.org/qgis/trunk@5721 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-08-21 15:50:40 +00:00
mhugent
de503b4a28 In QgsAttributeTable: pass the QMouseEvent to Q3Table prior to check for changed selections
git-svn-id: http://svn.osgeo.org/qgis/trunk@5720 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-08-21 14:12:55 +00:00
mhugent
c2e86b3221 Fix for smarter attribute insertion in QgsOgrProvider::addFeature. This is e.g. usefull for copying/pasting features
git-svn-id: http://svn.osgeo.org/qgis/trunk@5719 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-08-21 11:55:22 +00:00
g_j_m
379e1d169b Provide the user with the option to only display spatial tables that
are listed in the geometry_columns table. For well-maintained
databases (where all the spatial tables of interest have been
listed in the geometry_columns table) this can considerably speed 
up the initial display of available spatial tables.


git-svn-id: http://svn.osgeo.org/qgis/trunk@5718 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-08-21 11:17:49 +00:00
mhugent
a1069f960e Made 'saveAsShapefile' a slot in QgsVectorLayer such that it works again. Enter the 'save as shapefile' option into the legend layer right click menu
git-svn-id: http://svn.osgeo.org/qgis/trunk@5717 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-08-21 10:00:44 +00:00
morb_au
18d2744935 Potential fix for trac-ticket #8.
* Propagate proxy information from the Server Selection dialog to the WMS provider (used by the QgsRasterLayer).

Possible bonus feature:

* Proxy information is saved and restored from the project file.

I cannot test this locally, so would appreciate somebody else giving it a go.



git-svn-id: http://svn.osgeo.org/qgis/trunk@5716 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-08-21 09:37:02 +00:00
g_j_m
d04ea69044 Fix for ticket #208. configure now accepts an optional
--with-projlibdir option to explicitly set the directory that the
proj4 library is in.

Fix an error in the summary at the end of the configure run too.



git-svn-id: http://svn.osgeo.org/qgis/trunk@5715 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-08-21 09:20:41 +00:00
mhugent
a0cfe97285 Fix for the problem where the attribute table of delimited text layers just showed the visible features
git-svn-id: http://svn.osgeo.org/qgis/trunk@5714 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-08-21 08:14:47 +00:00
timlinux
fdd9ceefd6 Updated splash master image for final release version of qgis 0.8
git-svn-id: http://svn.osgeo.org/qgis/trunk@5713 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-08-21 03:03:18 +00:00
g_j_m
a82af4d987 Fix a typo
git-svn-id: http://svn.osgeo.org/qgis/trunk@5712 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-08-20 00:28:40 +00:00
g_j_m
cb20fd4c7f Provide an option to the user to constrain searches for spatial tables not
in the geometry_columns table to just those in the public schema. For some
databases which have a lot of ancillary stuff out of the public schema this
can significantly reduce the time that qgis takes to produce the list of 
tables to load.  

Also tidy up the cause of some console warning messages about unknown
geometry types that happened when a spatial table not in the geometry_columns
table had no non-null geometries in it.


git-svn-id: http://svn.osgeo.org/qgis/trunk@5711 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-08-20 00:21:35 +00:00
g_j_m
c6d88ade05 Fix for ticket #232. A make, make install, or make all in the toplevel
qgis directory will update a file (qgssvnversion.h) that contains the
svn version of the qgis code, which is visible with the --help command
line argument or in the Help:About dialog box.


git-svn-id: http://svn.osgeo.org/qgis/trunk@5710 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-08-19 09:33:59 +00:00
mhugent
e5076060d4 Enabled changing attribute values for OGR Layers
git-svn-id: http://svn.osgeo.org/qgis/trunk@5709 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-08-18 13:42:14 +00:00
g_j_m
bed6a25ca1 Make the BUGS file point to the trac system
git-svn-id: http://svn.osgeo.org/qgis/trunk@5707 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-08-18 10:24:16 +00:00
mhugent
99ff0493d6 Changed the selection behaviour of the attribute table. The repaintRequest signal is now only emitted if the mouse button is released and if the selected rows have changed. This minimises repaint events and allows to selecting multiple rows with mouse drag without generating a seperate repaint event for each new row
git-svn-id: http://svn.osgeo.org/qgis/trunk@5706 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-08-18 05:32:55 +00:00
g_j_m
336ae2a8e4 Fix for ticket #239 (selected polygons lost their boundary). Needed to
do different things for lines and polygons


git-svn-id: http://svn.osgeo.org/qgis/trunk@5705 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-08-17 10:40:00 +00:00
g_j_m
f5433e853d Fix for bug whereby toggling layers on/off using the toggles in the
menu wouldn't rexpect the globabl 'render' toggle setting. Compliments
closed ticket #149.


git-svn-id: http://svn.osgeo.org/qgis/trunk@5704 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-08-17 10:01:18 +00:00
g_j_m
fce66036cf Fix for ticket #238 (zoom to map fails on startup). If there are no command line
arguments, the extent is -1,-1,1,1, but if there, the extent is determined by t
he layers loaded.


git-svn-id: http://svn.osgeo.org/qgis/trunk@5703 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-08-17 01:16:36 +00:00
morb_au
b61cda3248 Fix for trac ticket #236 (Cannot stop editing mode when nothing was edited), which was carelessly introduced in the second dot point of r5694.
git-svn-id: http://svn.osgeo.org/qgis/trunk@5702 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-08-16 21:16:38 +00:00
g_j_m
fa43c9d3fe Fix for ticket #237 (delimited layers don't select properly). Was
caused by changes in recent delimited text provider commits.


git-svn-id: http://svn.osgeo.org/qgis/trunk@5701 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-08-16 10:24:16 +00:00
g_j_m
91b1482073 Actual fix for the previous commit...
git-svn-id: http://svn.osgeo.org/qgis/trunk@5700 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-08-16 08:10:14 +00:00
g_j_m
c62dbcd4e0 Fix for ticket #233.
git-svn-id: http://svn.osgeo.org/qgis/trunk@5699 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-08-16 08:02:49 +00:00
g_j_m
80c49f64e3 - Fixed reading of text file (ticket #203). Seemed to be a problem with a
combination of QFile and QTextStream which worked under Qt3, but not
  under Qt4
- fixed generation of wkb version of delimited text geometry. Again,
  it appeared to be a problem with code that worked under qt3, but
  not under qt4.
- corrected the calculation of the bounding rectangle for delimited
  text layers (was always including the (0,0) point).
- Bonus features: 
  - a default layer name is constructed from the filename
  - the user is told about lines that didn't yield x/y coords


git-svn-id: http://svn.osgeo.org/qgis/trunk@5698 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-08-15 10:54:55 +00:00
morb_au
07a42c171a A further speculative fix for trac ticket #8.
QgsHttpTransaction needed to wait for the done() signal from QHttp, not just requestFinished().  When QHttp::setProxy() was called, it actually triggered its own QHttp request (before QHttp::get()).  Previously QgsHttpTransaction interpreted the requestFinished() from setProxy() as the requestFinished() from get(), therefore not actually doing anything when a proxy was used.

I cannot test until a Windows build is available based on this commit (or somebody else can confirm instead and update #8 appropriately).



git-svn-id: http://svn.osgeo.org/qgis/trunk@5697 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-08-15 10:29:46 +00:00
morb_au
52e80e90a8 Potential fix for bug in trac ticket #140.
The Qt3 idiom QToolButton::setPaletteBackgroundColor() has been replaced with a Qt4 idiom of extracting the QPalette from the QToolButton, changing the color in the Window ColorRole, then adding the QPalette back in again.

Only the QGIS Options and Project Properties dialogs have been converted.  If this change fixes the bug in Windows (which I don't have access to a compiler for), then this idiom should be propagated to all instances of setPaletteBackgroundColor (e.g. vector symbology dialog).



git-svn-id: http://svn.osgeo.org/qgis/trunk@5696 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-08-15 09:02:01 +00:00
morb_au
38dddd45f5 Fix for bug in trac ticket #134 and #131.
* (#134) If a feature is edited using the Identify tool and QgsAttributeDialog, now only user-edited values are saved to the mChangedAttributes of the layer, previously it was all values.  This now means that only those user-edited values are attempted to be committed when the user stops editing and saves (similar to if those values were edited using the Attribute Table).

* (#131) Modify QgsVectorLayer::stopEditing so that if a commit fails, the editing state is left alone (previously editing was still turned off anyway).  This should be a better fix than r5591.  I triggered the bug in #131 while testing for #134, therefore getting a 2-for-1 fix.

Some bonus features to assist people in the triggered situations described in #131 and #134:

* The Postgres Provider now reports an error to the user if a commit of changed attributes fails.  This brings it up to the same behaviour of if a commit of changed geometries fails.  Previously there was no response given on an changed attribute error, leaving the user to think the commit was successful.

* The Postgres Provider now reports the contents of the SQL used in a failed UPDATE statement.  This may help the user to pinpoint which of his edits caused the error.



git-svn-id: http://svn.osgeo.org/qgis/trunk@5694 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-08-13 09:30:12 +00:00
telwertowski
e407cee949 Fix raster file filter so that only the first JPEG2000 driver found is added to the list; this is the one GDAL uses. Use the driver's name rather than "JPEG 2000" so that the user knows which one is being used.
git-svn-id: http://svn.osgeo.org/qgis/trunk@5691 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-08-12 01:17:46 +00:00
rblazek
d94c4bbdd5 added -Wl,--enable-runtime-pseudo-reloc
git-svn-id: http://svn.osgeo.org/qgis/trunk@5690 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-08-11 17:34:20 +00:00
rblazek
ee7a7d612b postgres and grass conditional
git-svn-id: http://svn.osgeo.org/qgis/trunk@5689 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-08-11 17:32:14 +00:00
rblazek
817e01be78 added -Wl,--enable-runtime-pseudo-reloc
git-svn-id: http://svn.osgeo.org/qgis/trunk@5688 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-08-11 17:15:44 +00:00
rblazek
12a9850c26 use PG_LIB variable to enable compilation when configured without postgres
git-svn-id: http://svn.osgeo.org/qgis/trunk@5687 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-08-11 16:00:13 +00:00
rblazek
a148dcca8c fixed ticket 45 - new field does not appear in vector label properties dialog
git-svn-id: http://svn.osgeo.org/qgis/trunk@5686 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-08-10 16:19:19 +00:00
rblazek
d24fadd180 fixed ticket 187 (crash if user is not owner of the vector)
git-svn-id: http://svn.osgeo.org/qgis/trunk@5685 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-08-10 14:11:29 +00:00
g_j_m
5fb61d3b16 This should of gone in with r5681
git-svn-id: http://svn.osgeo.org/qgis/trunk@5684 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-08-10 11:31:15 +00:00
rblazek
3dd4fe4d67 fixed ticket 107, but it will only work with GRASS >= 6.1, breaks GRASS 6.0.0 because they changed parameter name
git-svn-id: http://svn.osgeo.org/qgis/trunk@5682 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-08-10 11:13:53 +00:00
g_j_m
80821514d6 Applied patches r5669, r5668, r5667, r5666, as applied to the
lib-refactoring branch, to head. These were signed/unsigned int mods
and boolean comparison mismatches. Many of the changes in these
commits had already been done in head


git-svn-id: http://svn.osgeo.org/qgis/trunk@5681 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-08-10 10:51:04 +00:00
rblazek
e86319037e fix for ticket 104 (GRASS-PAGER not set)
git-svn-id: http://svn.osgeo.org/qgis/trunk@5680 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-08-10 10:34:06 +00:00
g_j_m
6e48f22843 Fix for bug in ticket #230 (zoom to all doesn't work when a layer has
changed it's extent, e.g., by changing the where clause on a postgres layer).


git-svn-id: http://svn.osgeo.org/qgis/trunk@5679 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-08-10 09:59:53 +00:00