2244 Commits

Author SHA1 Message Date
g_j_m
e3f307e610 Fix for bug 1077196 (plugin icons incorrect on first load). A tricky one.
git-svn-id: http://svn.osgeo.org/qgis/trunk@3198 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-23 11:45:27 +00:00
mcoletti
3f519be7fc - 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@3197 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-22 22:34:10 +00:00
mcoletti
7d8aedd8db 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@3196 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-22 22:32:04 +00:00
timlinux
6bee52f55f JDigiguere's fixes for sqlite3 detection on ubuntu
git-svn-id: http://svn.osgeo.org/qgis/trunk@3195 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-22 17:05:00 +00:00
gsherman
c3d2f0d574 Updated bookmarks icons
git-svn-id: http://svn.osgeo.org/qgis/trunk@3194 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-22 14:43:28 +00:00
mhugent
0bc807899f added the possibility to choose encoding for postgis layers
git-svn-id: http://svn.osgeo.org/qgis/trunk@3193 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-22 04:48:28 +00:00
mcoletti
aafcc84b8b 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@3192 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-21 21:46:37 +00:00
mcoletti
74d84da489 Compensated for new binaries to link against, including sqlite3
git-svn-id: http://svn.osgeo.org/qgis/trunk@3191 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-21 21:41:33 +00:00
g_j_m
185c1c5cef Remove an extraneous / in the test for sqlite3.h headers
git-svn-id: http://svn.osgeo.org/qgis/trunk@3190 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-21 21:00:08 +00:00
telwertowski
48386c378c Remove whitespace inserted into middle of filename during last edit.
git-svn-id: http://svn.osgeo.org/qgis/trunk@3189 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-21 18:05:33 +00:00
gsherman
31d3be9bea Tests for proj4 and sqlite3 added (thanks to jdgiguere)
git-svn-id: http://svn.osgeo.org/qgis/trunk@3188 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-21 04:06:58 +00:00
g_j_m
d659466bea - 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@3187 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-19 05:59:20 +00:00
g_j_m
043d91e27b Previous version compiled on my compiler, but not some others. This should fix it.
git-svn-id: http://svn.osgeo.org/qgis/trunk@3186 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-18 19:38:27 +00:00
mhugent
8198feb36f 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@3185 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-18 15:23:25 +00:00
g_j_m
3f9cc5d3e7 - 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@3184 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-18 10:48:53 +00:00
gsherman
2ad5e0841a 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@3183 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-18 04:30:40 +00:00
gsherman
6f777e8c9b Icon for spatial bookmarks menu item.
git-svn-id: http://svn.osgeo.org/qgis/trunk@3182 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-18 02:45:54 +00:00
gsherman
b554267dda Wired bookmarks dialog into the gui. The bookmarks dialog is
still non-functional.


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


git-svn-id: http://svn.osgeo.org/qgis/trunk@3180 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-18 00:36:31 +00:00
timlinux
58b5bffa82 User projections now shown in projection selector but are still not useable
git-svn-id: http://svn.osgeo.org/qgis/trunk@3179 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-17 22:19:11 +00:00
timlinux
84136bd939 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@3178 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-17 20:46:50 +00:00
timlinux
78c785dd9b 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@3177 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-17 02:42:35 +00:00
gsherman
4325352001 Fix for bug 1177637 that prevented complete deletion of a PostgreSQL
connection.


git-svn-id: http://svn.osgeo.org/qgis/trunk@3176 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-17 01:51:56 +00:00
mhugent
1634528076 some cleanups in qgsvectorlayer.cpp
git-svn-id: http://svn.osgeo.org/qgis/trunk@3175 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-16 21:14:25 +00:00
mhugent
451708971b avoid adding the geometry column to the attribute vector of QgsPostgresProvider
git-svn-id: http://svn.osgeo.org/qgis/trunk@3174 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-16 20:53:56 +00:00
stevehalasz
d57f247cc4 Fix for compile problem. No uic files in designer_plugins
git-svn-id: http://svn.osgeo.org/qgis/trunk@3173 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-16 20:46:18 +00:00
gsherman
e8bdd5af04 Updated README in preparation for 0.7 release
git-svn-id: http://svn.osgeo.org/qgis/trunk@3170 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-16 15:15:56 +00:00
larsl
29229c25ef 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@3168 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-16 15:07:01 +00:00
timlinux
f3d9883f02 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@3167 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-16 00:09:17 +00:00
mcoletti
701303ed00 - 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@3166 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-15 23:55:41 +00:00
mcoletti
289f6be108 Appeased plug-in linkage
git-svn-id: http://svn.osgeo.org/qgis/trunk@3165 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-15 23:05:18 +00:00
g_j_m
99fc5f8316 Added some debugging code for polygon trimming. Commented out for the moment
git-svn-id: http://svn.osgeo.org/qgis/trunk@3164 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-15 22:01:45 +00:00
g_j_m
a6c69afbc1 Remove those pesky ? cvs messages when doing an update
git-svn-id: http://svn.osgeo.org/qgis/trunk@3163 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-15 05:18:45 +00:00
timlinux
1f63a07bfe More bugfixes for record navigation....
git-svn-id: http://svn.osgeo.org/qgis/trunk@3162 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-15 02:50:45 +00:00
timlinux
e4c92bb8e4 Remove extraneous buttons from ui. Move first on form load. Still not ready for use.
git-svn-id: http://svn.osgeo.org/qgis/trunk@3161 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-15 01:53:25 +00:00
timlinux
ccd5c4fea2 Further updates to record navigation...still in progress
git-svn-id: http://svn.osgeo.org/qgis/trunk@3160 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-15 01:09:01 +00:00
g_j_m
7546fca7fb commot forogtten file to go with the .h
git-svn-id: http://svn.osgeo.org/qgis/trunk@3159 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-14 19:52:56 +00:00
timlinux
6446f0e1ea Wired up move first and move last button sin custom projections dialog.
git-svn-id: http://svn.osgeo.org/qgis/trunk@3158 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-14 10:36:55 +00:00
g_j_m
69b88d72d9 Comment out timing code
git-svn-id: http://svn.osgeo.org/qgis/trunk@3157 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-14 10:29:46 +00:00
g_j_m
a058328507 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@3156 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-14 10:28:06 +00:00
g_j_m
163cbb0175 Remove duplication of the code that draws linestrings.
git-svn-id: http://svn.osgeo.org/qgis/trunk@3155 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-14 08:17:56 +00:00
g_j_m
70bb3e1d20 Bug fix: transform(double, double, ...) version wasn't returning anything
git-svn-id: http://svn.osgeo.org/qgis/trunk@3154 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-14 01:00:33 +00:00
timlinux
b4d806b13c Close bug 1077217
git-svn-id: http://svn.osgeo.org/qgis/trunk@3153 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-14 00:40:01 +00:00
g_j_m
3851cdea4f 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@3152 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-14 00:38:47 +00:00
timlinux
40c11575f5 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@3151 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-14 00:36:17 +00:00
timlinux
6263852384 Show proj params when selecting one in combo box
git-svn-id: http://svn.osgeo.org/qgis/trunk@3150 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-13 22:44:57 +00:00
g_j_m
955d35e13a Inlined all of the QgsClipper functions to improve clipping speed
git-svn-id: http://svn.osgeo.org/qgis/trunk@3149 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-13 22:15:49 +00:00
g_j_m
d769d09625 Fic for bug 1182276 (there was a missing #include <cmath>).
git-svn-id: http://svn.osgeo.org/qgis/trunk@3148 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-13 21:16:11 +00:00
g_j_m
b0314196b2 Remove #define QGSIDEBUG
git-svn-id: http://svn.osgeo.org/qgis/trunk@3147 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-13 10:21:01 +00:00
g_j_m
a9c77c6d4f 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@3146 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-13 10:16:02 +00:00