2246 Commits

Author SHA1 Message Date
g_j_m
1879b2709d Fix for bug 1077196 (plugin icons incorrect on first load). A tricky one.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3198 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-23 11:45:27 +00:00
mcoletti
bf23e14be9 - removed completed TODO items
- now catches expected exceptions for not finding map extents since there
  aren't going to be any in the test simulation


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3197 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-22 22:34:10 +00:00
mcoletti
7a3a3ec1c0 QgsProject is now a *little* bit more robust with regards to dealing with
project files that have missing or relocated layers.  Now it least pops up a
dialog that tells you that it was unable to open the layer instead of just
silently failing.

Better than nothing, I suppose.  Will continue to improve error handling.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3196 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-22 22:32:04 +00:00
timlinux
80379b1aea JDigiguere's fixes for sqlite3 detection on ubuntu
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3195 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-22 17:05:00 +00:00
gsherman
f6901bf90f Updated bookmarks icons
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3194 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-22 14:43:28 +00:00
mhugent
ef160811bc added the possibility to choose encoding for postgis layers
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3193 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-22 04:48:28 +00:00
mcoletti
2db5e7fe57 qgslabeldialog.cpp :
- define constants via "const" and not through #defines
  - adding some debugging messages

qgsmaplayer.cpp :

  - trivial reformatting

qgsmaplayer.h :

  - header file includes generally should use brackets and not double quotes

qgssinglesymrenderer.cpp :

  - more robust checking of XML elements

qgsproject, qgsvectorlayer :

  - no longer bombs when loading a project where one or more layers are
    missing (e.g., relocating the data)


Mostly this commit is for code to stop core dumps when loading projects with
layers with missing or relocated data.  Unfortunately it just silently fails.
Next step will be to add some feedback and then to implement a clever means of
pointing to new data location.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3192 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-21 21:46:37 +00:00
mcoletti
daa40df02c Compensated for new binaries to link against, including sqlite3
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3191 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-21 21:41:33 +00:00
g_j_m
fbae813f55 Remove an extraneous / in the test for sqlite3.h headers
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3190 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-21 21:00:08 +00:00
telwertowski
016f2cee0f Remove whitespace inserted into middle of filename during last edit.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3189 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-21 18:05:33 +00:00
gsherman
37ca5398f9 Tests for proj4 and sqlite3 added (thanks to jdgiguere)
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3188 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-21 04:06:58 +00:00
g_j_m
61cfe03260 - rationalisation of transform functions in qgsmaptopixel.h
- improvement in code flow when trimming is necessary in qgsvectorlayer.cpp


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3187 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-19 05:59:20 +00:00
g_j_m
c798699029 Previous version compiled on my compiler, but not some others. This should fix it.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3186 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-18 19:38:27 +00:00
mhugent
3d88fe5a5f fixed two bugs in the table function 'bringSelectedToTop' and store the chosen encoding in the QSettings file
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3185 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-18 15:23:25 +00:00
g_j_m
121ea51e3f - rationalisation of polygon and linestring trimming for X11 zoom bug
- rearrangement of misc. transform functions to reduce CPU effort
- mods to exception catching (gave a 10-15% reduction in drawing time)
- some ready to use code to help debug any remaining X11 zoom bugs
- trims at 30000 instead of 32760


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3184 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-18 10:48:53 +00:00
gsherman
5924035e43 Stubbed in function to add a new bookmark.
Added icon for the new bookmark menu item.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3183 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-18 04:30:40 +00:00
gsherman
9460946da1 Icon for spatial bookmarks menu item.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3182 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-18 02:45:54 +00:00
gsherman
ef5a280cee Wired bookmarks dialog into the gui. The bookmarks dialog is
still non-functional.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3181 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-18 02:00:49 +00:00
gsherman
9ad5c615c2 Base dialog for displaying and working with spatial bookmarks. Not
connected to the UI yet.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3180 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-18 00:36:31 +00:00
timlinux
d108b0b098 User projections now shown in projection selector but are still not useable
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3179 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-17 22:19:11 +00:00
timlinux
dc0600f772 customprojectiondialog updates : delete now works and its all more or less hunky dory & ready to use.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3178 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-17 20:46:50 +00:00
timlinux
7537deb5ef Various bugfixes plus insert and update of new records possible. Still need to add close button logic and a delete button.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3177 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-17 02:42:35 +00:00
gsherman
1db99e11d8 Fix for bug 1177637 that prevented complete deletion of a PostgreSQL
connection.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3176 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-17 01:51:56 +00:00
mhugent
b756fc99f0 some cleanups in qgsvectorlayer.cpp
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3175 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-16 21:14:25 +00:00
mhugent
70dda7d59f avoid adding the geometry column to the attribute vector of QgsPostgresProvider
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3174 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-16 20:53:56 +00:00
stevehalasz
68e614c891 Fix for compile problem. No uic files in designer_plugins
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3173 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-16 20:46:18 +00:00
gsherman
338fb63c48 Updated README in preparation for 0.7 release
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3170 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-16 15:15:56 +00:00
larsl
5c7aa94c50 Changed QgsMapLayer to initialise mCoordinateTransform to NULL instead of a random value, changed QgsVectorLayer to initialise valid to false (it might be initialised to false by default on some compilers, but it doesn't hurt to do it explicitly). These changes fixes project loading for me.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3168 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-16 15:07:01 +00:00
timlinux
ef09086cb6 Record navigation is now sane - buttons disable at top and bottom of rec set as needed. Ellisoids now disply properly. Next will come save and update tools
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3167 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-16 00:09:17 +00:00
mcoletti
1bb47e98ea - Kludgey repair for bug where reading shape files from a project causes core
dump.  (Call setCoordinateTransform() in readXML_() if coordinateTransform()
  returns NULL.)

- added more initializers for new data members


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3166 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-15 23:55:41 +00:00
mcoletti
66f5b8c357 Appeased plug-in linkage
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3165 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-15 23:05:18 +00:00
g_j_m
550a4e78b9 Added some debugging code for polygon trimming. Commented out for the moment
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3164 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-15 22:01:45 +00:00
g_j_m
ee5a8ef061 Remove those pesky ? cvs messages when doing an update
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3163 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-15 05:18:45 +00:00
timlinux
d27fd16e61 More bugfixes for record navigation....
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3162 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-15 02:50:45 +00:00
timlinux
e8a7f6cd86 Remove extraneous buttons from ui. Move first on form load. Still not ready for use.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3161 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-15 01:53:25 +00:00
timlinux
0438ccdfaf Further updates to record navigation...still in progress
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3160 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-15 01:09:01 +00:00
g_j_m
f8d24a0ae8 commot forogtten file to go with the .h
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3159 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-14 19:52:56 +00:00
timlinux
04d928b88a Wired up move first and move last button sin custom projections dialog.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3158 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-14 10:36:55 +00:00
g_j_m
b4d18a7b80 Comment out timing code
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3157 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-14 10:29:46 +00:00
g_j_m
755816efbd Efficiency improvements to coordinate transformation code. Didn't make
much difference, but the code is tidier, and some code repetition have been
cleaned up :)


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3156 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-14 10:28:06 +00:00
g_j_m
9ec4c61dfe Remove duplication of the code that draws linestrings.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3155 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-14 08:17:56 +00:00
g_j_m
833d7f66df Bug fix: transform(double, double, ...) version wasn't returning anything
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3154 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-14 01:00:33 +00:00
timlinux
f0aea604bd Close bug 1077217
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3153 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-14 00:40:01 +00:00
g_j_m
321141e6a5 Apparently it's 'good practise' to not put inline in front of the
functions inside the class, but only on the function bodies.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3152 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-14 00:38:47 +00:00
timlinux
86f199a9f3 Set status bar widgets fonts to 8pt arial o remove issues with coordinates and scale display
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3151 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-14 00:36:17 +00:00
timlinux
613302e003 Show proj params when selecting one in combo box
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3150 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-13 22:44:57 +00:00
g_j_m
abd2ddd9ad Inlined all of the QgsClipper functions to improve clipping speed
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3149 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-13 22:15:49 +00:00
g_j_m
60b55104f7 Fic for bug 1182276 (there was a missing #include <cmath>).
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3148 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-13 21:16:11 +00:00
g_j_m
2fe36074e6 Remove #define QGSIDEBUG
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3147 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-13 10:21:01 +00:00
g_j_m
1a8ba167da Fix for bug due to recent change to qgsrect (data from postgres wasn't
being drawn).


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3146 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-13 10:16:02 +00:00