6037 Commits

Author SHA1 Message Date
wonder
70edae8be1 Correct fix for #849. Use actual installation directory, not just default directory.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8316 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-04-03 21:47:15 +00:00
jef
a448d95204 fix grass toolbox
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8315 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-04-03 13:06:32 +00:00
timlinux
301375a4e3 Added some mac specific notes to fix SDK link path issues
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8314 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-04-03 00:38:44 +00:00
jef
1e40e14191 postgres provider update
- handle PQsendQuery in one getNextFeature run (fixes nested iteration of
  cursors with connection pooling)
- beautify DELETE and ALTER TABLE statements


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8313 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-04-02 22:35:33 +00:00
jef
35a950dc30 catch more GEOS exceptions a bit cleaner
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8312 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-04-02 18:31:09 +00:00
timlinux
93bc4c71dd Updated all ts files in preparation for string freeze
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8311 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-04-02 18:27:14 +00:00
jef
942d3cc97b fix #1024
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8310 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-04-02 18:16:08 +00:00
jef
a3e7727c92 support unset fields in OGR provider (like NULL in postgres provider; fixes #1023)
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8309 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-04-02 00:10:03 +00:00
timlinux
28e92656b6 Fixed some issues with formatting in mkspecs section of os x notes
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8308 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-04-01 20:27:42 +00:00
jef
d2e5a78f20 postgres provider update
- remove some unnecessary includes
- add private PQexec method with additional debug output
- update all changed attributes of a feature at once
- fix quoting and beautify creation of SQL statements
- replace assertion on unexpected field types with useful debug output and
    consider values as NULL


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8307 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-03-31 19:02:58 +00:00
jef
aa4e0a1473 remove CRs
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8306 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-03-31 18:59:59 +00:00
timlinux
ef8e34200d Fix for double commit of qgsprojectversion header
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8305 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-03-31 13:42:13 +00:00
timlinux
6a1e5e10ce Added missing qgsprojectversion.h to list of headers to install
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8304 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-03-31 12:58:25 +00:00
jef
73c901f976 include qgsprojectversion.h in core header install
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8303 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-03-31 12:05:03 +00:00
gsherman
51e3330a9d Dont write FILTER keyword if the SQL filter doesn't exists
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8302 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-03-30 23:18:40 +00:00
timlinux
a7a81fe592 Updated to work under qt 4.2.1
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8296 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-03-28 20:34:21 +00:00
jef
27942449cf only encode to unicode once
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8295 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-03-28 20:09:06 +00:00
jef
de07d465ff fix #962: the image of the previously rendered feature was used instead of an empty one.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8294 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-03-28 20:00:21 +00:00
jef
1e3cdb143a spit plugin fix
- quote values and identifiers properly
- remove now unnecessary reserved word dialog
- also consider primary key field and geometry field in double field check
- allow rename of primary key field
- remove disabled connect button (spit automatically connects on OK)
- keep the window open window if there was an error
- fixes #865 and #930


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8293 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-03-28 17:36:20 +00:00
jef
07f74faf9d yet another postgres provider update
- apply patch #1009 from Steven Mizuno. Thanks.
- remove column name and use of PQfnumber for cursors


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8292 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-03-28 11:02:05 +00:00
jef
11347cae5f our trac is now at osgeo
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8291 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-03-28 10:55:27 +00:00
jef
3eb5b80eb9 another postgres provider update:
- make declareCursor and getFeature private
- there's no need to track column names in cursors
  (which contained a bug triggering #962 again and more)
- introduce private method field(index) that verifies that
  the index in valid or throws an exception.
- use that in public methods that get indexes from
  outside (minValue, maxValue, uniqueValues...)


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8290 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-03-27 23:50:45 +00:00
jef
a0757cd9d0 check schema privilege before table privilege
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8289 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-03-27 14:50:11 +00:00
timlinux
857da2ea46 Fix for msvc so python parts build with nmake not vcexpress
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8288 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-03-27 13:08:30 +00:00
jef
acb2f35752 put out a warning message when accessible postgis cannot be determined
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8287 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-03-27 12:27:48 +00:00
jef
6440138c7f put out a warning message when no accessible postgis tables were found
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8286 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-03-27 09:13:21 +00:00
jef
d5bdbb4caf More work on the postgres provider:
- put common code from select/getNextFeature and getFeatureById methods 
  to new declareCursor and getFeature methods
- unify type handling and support bool, arrays and time types
  (fixes #1009)
- ignore columns not explicitly supported (might apply to columns
  previously supported implicitly; please file a bug if you run into
  one)
- fixes a unreported problem with getFeatureById returning only NULL
  attributes.

Please test!


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8285 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-03-27 00:44:22 +00:00
timlinux
e668e57ed4 Fix include search path when using LIB_DIR on msvc with prepackaged libs
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8284 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-03-26 21:07:02 +00:00
jef
933719f70f fix other aspect of #962
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8282 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-03-26 08:30:20 +00:00
timlinux
de8be38753 Added missing braces
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8281 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-03-26 03:16:41 +00:00
gsherman
b3eb98c1c2 Updated doxygen config file and index
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8280 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-03-26 03:10:14 +00:00
timlinux
a1008e1dd0 Defined application services linkage for mac since we dont just globally link to all qgis libs now (which used to give us ap services libs in the process). Applies to OS X only.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8279 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-03-26 03:03:44 +00:00
timlinux
b43d6595af Suport for splitting into modules in doxygen
Added front page for doxygen


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8278 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-03-26 02:47:59 +00:00
gsherman
c21158275c Document private members/methods
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8277 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-03-26 02:35:33 +00:00
timlinux
18e73aa4b5 Clean ups to doc generation
- filter out non useful / generated / copied in sources
 - various other small tweaks to formatting


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8276 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-03-26 02:16:31 +00:00
timlinux
e342450604 Link to explicit qt libs to avoid linking to qttest
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8275 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-03-26 01:56:24 +00:00
gsherman
9f6ed18211 Updated output directory for docs to point to qgis_api_doc
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8274 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-03-26 00:55:43 +00:00
jef
14cf4b4a46 reintroduce connection pooling, but use cursors independantly of transactions
by declaring them "WITH HOLD" and "CLOSE" them when done.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8273 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-03-25 21:24:56 +00:00
jef
850331f6fb speed up loading of projects using unique value renderers
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8272 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-03-25 20:19:53 +00:00
jef
256081e575 fix msvc warning
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8271 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-03-25 20:16:03 +00:00
timlinux
67f2d9e07d Added missing header install line that got removed accidentally in r8236
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8270 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-03-25 20:08:26 +00:00
jef
60bb94823c code reindentation
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8269 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-03-25 20:06:25 +00:00
jef
680499ddaf fix #1008
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8268 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-03-25 18:55:19 +00:00
jef
53ad04e844 fix #1007
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8267 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-03-25 17:55:34 +00:00
mhugent
513a0ea1cf Applied patch 1004 that adds zoom to direction of mouse cursor
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8265 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-03-25 15:36:49 +00:00
telwertowski
0a79f08417 Patch #878 for PrintComposer SVG Export from Steven Bell with conditional compilation directives added to use QSvgGenerator for Qt4.3 or greater while continuing to use Q3Picture for Qt 4.2 or lower.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8264 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-03-25 07:50:49 +00:00
jef
a0001eea4c - speed up QgsSpatialRefSys after migration to OGR C-API:
- create and destroy OGRSpatialReferenceH in constructor/destructor
  - move the PROJ.4 strings to OGR instead of a member variable and keep
    track its validity in mIsValidFlag.
  This reduces the need to allocate/deallocate of OGR structures and PROJ.4
  parsing and thereby speeds it up quite a bit.  Especially when on-the-fly
  projection is in use.
- collect common code of createFromSrid, createFromEpsg and createFromSrsId
  in the new loadFromDb method

NOTE: invalid PROJ.4 strings are now lost, I hope that doesn't break
      anything.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8263 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-03-24 18:31:08 +00:00
jef
d096779ec9 fix #916
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8259 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-03-21 11:58:36 +00:00
jef
759b29c3fe fix GCC 4.3 compatibility issues (still compiles with GCC 4.2 and MSVC8)
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8257 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-03-21 00:45:50 +00:00
jef
5d6e78e401 fix #1005 by making GRASS work in paths with blanks (windows-only)
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8256 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-03-20 21:39:51 +00:00