2219 Commits

Author SHA1 Message Date
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
telwertowski
984fc7c19d Use Mac OS X Launch Services instead of QProcess to open a URL in a browser.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3145 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-13 07:45:49 +00:00
telwertowski
173c17fb00 Use glibtool and glibtoolize for Mac build.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3144 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-13 07:37:41 +00:00
telwertowski
e77f68e937 Remove unused compile-time path flags (instead of putting them inside
a !HAVE_QTMAC conditional).


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3143 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-13 07:26:14 +00:00
telwertowski
2e99595690 Add HAVE_QTMAC conditional to configure. Use it to suppress compile-time
paths which cause errors when building with Qt/Mac which obtains paths
from qApp->applicationDirPath() at runtime.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3142 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-13 07:16:57 +00:00
telwertowski
dafb74805b #ifdef Q_OS_MACX needs #include <qapplication.h> for qApp
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3141 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-13 06:56:23 +00:00
g_j_m
3dad95ceeb The extent display on the status bar now sets the number of decimal
places automatically, so as to always show enough to cover the size
of the extent


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3140 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-13 05:40:45 +00:00
gsherman
a05ea0293a Applied patches from Markus Neteler to allow compilation on Qt 3.1
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3139 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-13 05:04:18 +00:00
mhugent
231ac4d493 use postgis srid instead of hardcoded -1
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3138 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-12 20:49:53 +00:00
timlinux
c12a870fe2 Fix for [ 1181249 ] Crash when loading shape files
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3137 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-12 11:51:30 +00:00
g_j_m
67fbb91aac Yet more fixes for bugs in the X11 zoom clipping code. Hopefully all sorted
now. Still need to optimise the code a bit.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3136 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-12 10:23:06 +00:00
g_j_m
e6374fd6e2 Fix for bug 1180930.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3135 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-12 10:21:42 +00:00
rabla
67712e9781 init mTotal
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3134 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-12 09:46:29 +00:00
g_j_m
00dbef3624 - Fix X11 zoom bug for multipoints
- some code layout changes


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3133 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-12 07:06:02 +00:00
g_j_m
4a8992cde1 Bug fix: drawing of multilinestrings was causing crashes
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3132 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-12 04:36:31 +00:00
timlinux
0e29b63637 Data binding on ellipsod and projection controls in custom projection dialog
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3131 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-12 00:16:42 +00:00
timlinux
6d8eaf9e6c Ellipsoid list now populated from sql ite db too
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3130 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-11 23:42:41 +00:00
timlinux
270a7bf59a Porjections list now shows list of available projection families
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3129 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-11 23:36:25 +00:00
gsherman
50d9c25814 Applied patches from Markus Neteler to allow compilation on Qt 3.2
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3128 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-11 23:35:07 +00:00
timlinux
547e6969e2 Local copy of user projection database now made in ~/.qgis/ if it does not already exist
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3127 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-11 23:11:18 +00:00
gsherman
bd0fcafb90 Fixed default projection (WGS 84) so it is now selected when the project
properties dialog is opened and no projection has been set.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3126 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-11 17:09:00 +00:00
timlinux
a78b7105cf Take dtor out of slots section
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3125 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-11 16:35:18 +00:00
rabla
f42a0648b2 repaint changed region
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3124 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-11 16:28:03 +00:00
timlinux
bb9f0f39d5 Added custom projection maker to gui menu
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3123 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-11 13:29:11 +00:00
timlinux
68f2f81dbc Added custom projection builder to app menus. Doesnt do anything yet exept pop up the dialog.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3122 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-11 13:24:41 +00:00
rabla
bf32308705 toolbar title
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3121 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-11 12:22:56 +00:00
g_j_m
6b4b7f8ad9 - further changes for the X11 zoom bug
- clipped polygons now have correct borders
- polygons now have borders back
- multipolygons now render holes correctly
- multipoints now appear on the canvas
- polygon redraw speed still a bit slow
- some odd polygon filling from shape files (will look at later)


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3120 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-11 11:14:49 +00:00
timlinux
b2c22fa355 SQLite user projections database
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3119 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-10 23:51:30 +00:00