4183 Commits

Author SHA1 Message Date
g_j_m
302754693c add some space to an error message
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5728 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-08-24 01:14:22 +00:00
g_j_m
0342081a14 Fix for ticket #245 (georeferencer cancel button doesn't work)
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5727 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-08-23 09:24:39 +00:00
g_j_m
fb98e1353d 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/qgis@5726 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-08-23 09:11:00 +00:00
g_j_m
842e0a7063 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/qgis@5725 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-08-23 05:32:50 +00:00
timlinux
5d8f572e5e Updated splash screen for 0.8 release
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5724 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-08-22 10:47:07 +00:00
g_j_m
879400db6e 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/qgis@5723 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-08-22 01:00:38 +00:00
telwertowski
84c41ebfc7 Add svn version to Mac GetInfo window.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5722 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-08-21 16:50:23 +00:00
telwertowski
87ac96cc87 Don't rewrite qgssvnversion.h unless svnversion has changed.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5721 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-08-21 15:50:40 +00:00
mhugent
5d4bec33e6 In QgsAttributeTable: pass the QMouseEvent to Q3Table prior to check for changed selections
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5720 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-08-21 14:12:55 +00:00
mhugent
42dcd4af91 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/qgis@5719 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-08-21 11:55:22 +00:00
g_j_m
d4626da18b 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/qgis@5718 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-08-21 11:17:49 +00:00
mhugent
d5d423ab80 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/qgis@5717 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-08-21 10:00:44 +00:00
morb_au
c2db9e6e24 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/qgis@5716 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-08-21 09:37:02 +00:00
g_j_m
4a21ccc5ba 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/qgis@5715 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-08-21 09:20:41 +00:00
mhugent
dea3bc99c1 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/qgis@5714 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-08-21 08:14:47 +00:00
timlinux
75cd4b7d3f Updated splash master image for final release version of qgis 0.8
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5713 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-08-21 03:03:18 +00:00
g_j_m
44f3a57c22 Fix a typo
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5712 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-08-20 00:28:40 +00:00
g_j_m
bd510571d4 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/qgis@5711 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-08-20 00:21:35 +00:00
g_j_m
2b697f84a6 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/qgis@5710 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-08-19 09:33:59 +00:00
mhugent
b1233721c6 Enabled changing attribute values for OGR Layers
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5709 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-08-18 13:42:14 +00:00
g_j_m
b76c0ed5c1 Set the Id keyword
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5708 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-08-18 10:26:59 +00:00
g_j_m
5969922408 Make the BUGS file point to the trac system
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5707 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-08-18 10:24:16 +00:00
mhugent
27ce9ef383 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/qgis@5706 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-08-18 05:32:55 +00:00
g_j_m
37afa70394 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/qgis@5705 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-08-17 10:40:00 +00:00
g_j_m
cec5c94510 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/qgis@5704 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-08-17 10:01:18 +00:00
g_j_m
b2ce7e9ace 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/qgis@5703 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-08-17 01:16:36 +00:00
morb_au
7716974a0f 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/qgis@5702 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-08-16 21:16:38 +00:00
g_j_m
c4939aa795 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/qgis@5701 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-08-16 10:24:16 +00:00
g_j_m
becbe502f4 Actual fix for the previous commit...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5700 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-08-16 08:10:14 +00:00
g_j_m
665c14a401 Fix for ticket #233.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5699 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-08-16 08:02:49 +00:00
g_j_m
6e84284463 - 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/qgis@5698 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-08-15 10:54:55 +00:00
morb_au
ef6e0dc8c0 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/qgis@5697 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-08-15 10:29:46 +00:00
morb_au
95722bbf36 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/qgis@5696 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-08-15 09:02:01 +00:00
g_j_m
1eff11379e Add *.loT to the ignore property
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5695 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-08-13 21:07:44 +00:00
morb_au
5e7f191a1b 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/qgis@5694 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-08-13 09:30:12 +00:00
telwertowski
2b686f46b7 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/qgis@5691 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-08-12 01:17:46 +00:00
rblazek
085284ad6c added -Wl,--enable-runtime-pseudo-reloc
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5690 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-08-11 17:34:20 +00:00
rblazek
071bbc584d postgres and grass conditional
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5689 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-08-11 17:32:14 +00:00
rblazek
15083c3d11 added -Wl,--enable-runtime-pseudo-reloc
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5688 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-08-11 17:15:44 +00:00
rblazek
31953ac509 use PG_LIB variable to enable compilation when configured without postgres
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5687 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-08-11 16:00:13 +00:00
rblazek
ec9e8dbdea fixed ticket 45 - new field does not appear in vector label properties dialog
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5686 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-08-10 16:19:19 +00:00
rblazek
c4ebc22922 fixed ticket 187 (crash if user is not owner of the vector)
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5685 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-08-10 14:11:29 +00:00
g_j_m
eec7b18714 This should of gone in with r5681
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5684 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-08-10 11:31:15 +00:00
g_j_m
377298ba01 Set the svn:ignore property so that a svn status command reports
useful information. Resolved ticket #228



git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5683 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-08-10 11:22:36 +00:00
rblazek
f13db98edb 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/qgis@5682 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-08-10 11:13:53 +00:00
g_j_m
bdceac2e7b 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/qgis@5681 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-08-10 10:51:04 +00:00
rblazek
d7fee517cd fix for ticket 104 (GRASS-PAGER not set)
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5680 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-08-10 10:34:06 +00:00
g_j_m
561f27c111 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/qgis@5679 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-08-10 09:59:53 +00:00
morb_au
8199a91c98 For WMS layers, clean-up the raster Properties dialog so that it better reflects the relatively implemented capabilities of the WMS provider. The Pyramids and Histogram tabs have been disabled (not necessarily removed since a future QGIS version may wish to extend this raster functionality into WMS layers).
The symbology tab still needs to be cleaned-up in operation but at least it's set to "Color Image" by default now.



git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5678 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-08-09 21:43:52 +00:00
g_j_m
a393517777 Fix for ticket #223. (selecting rows in attribute table didn't update
the map when selected by clicking on the header)


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