1793 Commits

Author SHA1 Message Date
timlinux
977ff433ad Refactored QgsCoordinateTransform to QgsMapToPixel
git-svn-id: http://svn.osgeo.org/qgis/trunk@2536 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-12-30 02:52:37 +00:00
gsherman
b8293946bd Fix for bug 1090940 Zoom to all on empty map
Added a count function to the maplayer registry singelton


git-svn-id: http://svn.osgeo.org/qgis/trunk@2535 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-12-30 01:07:22 +00:00
mhugent
5dacddc480 updated the german translation
git-svn-id: http://svn.osgeo.org/qgis/trunk@2534 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-12-29 21:05:31 +00:00
gsherman
5e5af2d353 update japanese translation
git-svn-id: http://svn.osgeo.org/qgis/trunk@2533 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-12-24 01:06:07 +00:00
gsherman
47df218509 Fix for bug 1090436 (removed CVS from list of installed files)
git-svn-id: http://svn.osgeo.org/qgis/trunk@2532 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-12-23 17:16:15 +00:00
gsherman
0e99ce7e4f Update French translation from lroubeyrie
git-svn-id: http://svn.osgeo.org/qgis/trunk@2529 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-12-23 05:45:45 +00:00
mhugent
d7e24c857f implemented writeXML methods for the renderers which use the qt XML classes
git-svn-id: http://svn.osgeo.org/qgis/trunk@2528 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-12-22 21:30:34 +00:00
gsherman
fcf4f353bb Merged changes from the 0.6.0 release branch
git-svn-id: http://svn.osgeo.org/qgis/trunk@2526 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-12-20 07:13:35 +00:00
larsl
448f0751ee Removed unnecessary casts (thanks to Oleg Gusev)
git-svn-id: http://svn.osgeo.org/qgis/trunk@2389 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-12-01 15:45:39 +00:00
gsherman
b98d9dbfb7 Update author list
git-svn-id: http://svn.osgeo.org/qgis/trunk@2385 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-12-01 04:22:50 +00:00
gsherman
bbbdc11dee Beginning of GIST index implementation for spit
git-svn-id: http://svn.osgeo.org/qgis/trunk@2382 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-12-01 03:53:40 +00:00
mcoletti
8061b19d09 qgslabel.cpp :
- readXML() now performs a variety of paranoid checks and emits lots
   debugging messages; also all the attributes have default values if the DOM
   element doesn't have that attribute

 - writeXML() relaxes some string checks from isNull() to isEmpty(); actually,
   these are about to be overwritten by Tim's superior changes

qgsvectorlabel.cpp :

 - fixed bug where the "label" DOM node instead of "labelattributes" node was
   getting passed to QgsLabel::readXML() thus fixing annoying "labels not
   restored from project file" bug


git-svn-id: http://svn.osgeo.org/qgis/trunk@2381 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-12-01 01:07:36 +00:00
timlinux
4e820fef20 Tidy up sanity checking in writeXML
git-svn-id: http://svn.osgeo.org/qgis/trunk@2380 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-12-01 01:03:08 +00:00
larsl
ed0550acc8 Fixed bug that would crash QGIS if the user right-clicked in the Identify dialog below the last attribute
git-svn-id: http://svn.osgeo.org/qgis/trunk@2379 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-30 15:33:13 +00:00
gsherman
dff58827d0 Fixed bug that caused only records selected as part of last identify or
select operation to be displayed in the attribute table.


git-svn-id: http://svn.osgeo.org/qgis/trunk@2378 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-30 04:50:54 +00:00
mcoletti
44bb6ca13e qgslabel.cpp :
- writeXML() now checks that label fields are set before allowing
    corresponding XML project tags to be emitted

  - in the case of some label members, also check to see if some of the
    returned string values are non-empty before allowing that specific XML to
    be emitted

  - writeXML() was emitting broken XML because some of the fields were null.
    It now emits valid XML, but with all the values set to zero or empty
    strings.  This is an indication of a serious problem with QgsLabel.  I'm
    guessing a disconnect between the vector layer properties dialog and the
    actual setting of label state.  Can the original QgsLabel author please
    look into this?

qgslabelattributes :

  - const members are now const

  - members now get set to default values regardless whether ctor "def"
    argument is true or not

  - ctor "def" argument defaults to true, meaning presumably some special
    default values are assigned to some members

qgsvectorlayer.cpp :

  - wasteful looping getline() replaced by direct string buffer copying

  - noticed that the label variables still had renderer names from
    cut-n-paste so renamed them


git-svn-id: http://svn.osgeo.org/qgis/trunk@2377 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-30 01:32:44 +00:00
timlinux
1c8479cae3 Allow geos 2.x.x instead of geos 2.0.x
git-svn-id: http://svn.osgeo.org/qgis/trunk@2376 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-29 23:05:44 +00:00
mhugent
9dc2c6eb13 fix for restoring marker size in unique value marker dialog
git-svn-id: http://svn.osgeo.org/qgis/trunk@2375 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-29 21:44:18 +00:00
mcoletti
5e8e39bd04 - The application caption now syncs to new project titles; previously it would
only do so if a project was loaded.

- Application caption now (hopefully) made consistent regardless of how the
  project title is set, whether from reading an existing project, changing the
  project properties, or setting up a new project.


git-svn-id: http://svn.osgeo.org/qgis/trunk@2374 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-29 19:43:04 +00:00
mcoletti
67f279f022 qgisapp :
- now catches qgs project read errors and displays appropriate critical
    dialog

qgsproject :

  - (most) all qDebug()'s now use utf8() strings (I may have missed a few)

  - fixed bug where projects with no layers (i.e., they're empty) would cause
    app to bomb when trying to read same


git-svn-id: http://svn.osgeo.org/qgis/trunk@2373 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-29 18:10:58 +00:00
gsherman
fab1388151 Oleg's utf8 patch
git-svn-id: http://svn.osgeo.org/qgis/trunk@2372 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-29 06:55:31 +00:00
gsherman
e6afa4c84c Changed #include <qapp.h> to #include <qapplication.h> to solve compile
problem on debian.


git-svn-id: http://svn.osgeo.org/qgis/trunk@2371 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-29 06:48:24 +00:00
gsherman
4f216df47f more minor fixes to vector dialog
git-svn-id: http://svn.osgeo.org/qgis/trunk@2370 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-29 05:46:51 +00:00
gsherman
5718f85046 fixed too-tall syndrome for vector props dialog -- may need some tweaking
git-svn-id: http://svn.osgeo.org/qgis/trunk@2369 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-29 05:13:23 +00:00
telwertowski
355d84b1ed Remove font <family> tags so that the default font for each platform is used.
Odd fonts and button sizes were being displayed on a Mac when a font not present on a Mac were specified.


git-svn-id: http://svn.osgeo.org/qgis/trunk@2368 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-29 04:26:40 +00:00
gsherman
7c9f43f23b Fix for too-tall dialogs.
git-svn-id: http://svn.osgeo.org/qgis/trunk@2367 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-29 01:33:10 +00:00
timlinux
53549fa20b Changed frame width constraints to 350px
git-svn-id: http://svn.osgeo.org/qgis/trunk@2366 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-28 22:07:15 +00:00
mhugent
de1ba5c588 commented out qDebug statement which someone inserted. It was the reason for a crash which occured when the renderer type was changed
git-svn-id: http://svn.osgeo.org/qgis/trunk@2365 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-28 21:19:36 +00:00
mhugent
8c0b8e6376 fixed selection in the delimited text provider
git-svn-id: http://svn.osgeo.org/qgis/trunk@2364 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-28 21:17:04 +00:00
gsherman
b3e1023768 Modified lib creation so the postgresql utility class doesn't get built
into the library if qgis is being built without postgresql support


git-svn-id: http://svn.osgeo.org/qgis/trunk@2363 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-28 17:11:27 +00:00
gsherman
28381cebf7 Fixed bug that displays bogus raster warning message box when loading a
vector layer from the command line (bug 1068369)


git-svn-id: http://svn.osgeo.org/qgis/trunk@2362 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-28 16:56:19 +00:00
gsherman
12e9062d66 Icons for the field name editor -- left out of previous commit -- sorry...
git-svn-id: http://svn.osgeo.org/qgis/trunk@2361 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-28 16:34:43 +00:00
gsherman
621178fc50 Spit stores last shapefile directory used in qgisrc (or registry) and
uses it the next time the Add files dialog is opened.


git-svn-id: http://svn.osgeo.org/qgis/trunk@2360 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-28 07:04:40 +00:00
gsherman
b945d3cf5a Implementation of reserved word handling. Reserved PostgreSQL keywords are
detected and the user is given the change to change the column names prior
to import into the database. Column names can be changed for any field if
desired.


git-svn-id: http://svn.osgeo.org/qgis/trunk@2359 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-28 05:49:30 +00:00
gsherman
6caa05fd38 Dialog for editing column names prior to loading into postgresql
git-svn-id: http://svn.osgeo.org/qgis/trunk@2358 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-28 05:46:10 +00:00
gsherman
765a9d394b Added accessor for reserved word list
git-svn-id: http://svn.osgeo.org/qgis/trunk@2357 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-28 05:40:58 +00:00
gsherman
85813237f9 Updated list of reserved words to include only those that cannot be used
as a column name in postgresql and are not used as a function name


git-svn-id: http://svn.osgeo.org/qgis/trunk@2356 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-27 22:55:31 +00:00
gsherman
0a65bcb951 Removed all calls to ascii() to hopefully solve utf-8/latin string issue
git-svn-id: http://svn.osgeo.org/qgis/trunk@2355 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-27 19:19:17 +00:00
mhugent
43925bbf74 added code to restore unique value marker from projects. Needs more testing though
git-svn-id: http://svn.osgeo.org/qgis/trunk@2354 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-27 15:37:18 +00:00
mhugent
815e2d67c3 fix for restoring labels in graduated marker dialog
git-svn-id: http://svn.osgeo.org/qgis/trunk@2353 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-27 14:36:58 +00:00
larsl
79ca0c6a17 ** Fixed feature addition in GPX layers, it now works again
git-svn-id: http://svn.osgeo.org/qgis/trunk@2352 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-27 13:46:30 +00:00
timlinux
86d1a1fe29 Move properties entry in context menu to bottom for consistancy with 'normal' gui standards
git-svn-id: http://svn.osgeo.org/qgis/trunk@2351 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-27 12:41:13 +00:00
mhugent
871634c3a1 fix in readXML for single markers
git-svn-id: http://svn.osgeo.org/qgis/trunk@2350 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-27 12:41:02 +00:00
gsherman
38eb11c486 Icon for gps latex documentation source (missed on the last commit)
git-svn-id: http://svn.osgeo.org/qgis/trunk@2349 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-27 03:02:52 +00:00
gsherman
aa1d1b59ff Added latex source for GPS plugin documentation from Lars
git-svn-id: http://svn.osgeo.org/qgis/trunk@2348 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-27 03:02:06 +00:00
gsherman
2c726d9d44 Images for the user guide
git-svn-id: http://svn.osgeo.org/qgis/trunk@2347 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-27 02:06:48 +00:00
gsherman
9189d348ad user guide images
git-svn-id: http://svn.osgeo.org/qgis/trunk@2346 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-27 02:04:25 +00:00
gsherman
8e1db6d076 Latex source
git-svn-id: http://svn.osgeo.org/qgis/trunk@2345 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-27 01:56:11 +00:00
gsherman
cba4058ecb Changed supportsSaveAsShapefile to false since this won't be implemented until after version 0.6
git-svn-id: http://svn.osgeo.org/qgis/trunk@2344 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-26 22:02:52 +00:00
gsherman
89b861cb0d Added geos flags
git-svn-id: http://svn.osgeo.org/qgis/trunk@2343 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-26 22:01:26 +00:00