623 Commits

Author SHA1 Message Date
timlinux
4f1902fd79 First stab at a bash script to automate creation of a new plugin from the template. Not working yet :-(
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@882 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-21 23:55:06 +00:00
timlinux
edfde1b4e6 This is the initial commit for the qgis plugin template. The template consists of:
class Plugin (a subclass of QgisPlugin)
class PluginGuiBase (supplied as a simple qdialog ui)
class PluginGui (the subclass of PluginGuiBase)

The only thing the user would need to change in the makefile is the name of the .so
so you just copy the plugin template dir to a new dir under plugins, change the .so name in the makefile add the plugin dir the configure.in and the plugin dir makefile.

I will be adding a bash script file soon that automates the above process. This template development is in progress.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@881 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-21 22:28:45 +00:00
gsherman
aa4affd630 changes to support project loading from command line, plus fix that prevented ogr layers from loading at all from command line
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@880 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-21 20:54:26 +00:00
gsherman
497b39c0c9 added iostream include
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@879 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-21 07:02:43 +00:00
mcoletti
61e196b525 - fixed command line raster layer bug
main.cpp :

 - greatly simplified main()

 - now will try to load a command line argument first as raster, then
   vector; if it succeeds at the first, it won't try the second

qgisapp.{h,cpp} :

 - added addLayer(QFileInfo const &) [0]

 - added addRasterLayer(QFileInfo const &) [0]

 - do a little better checking for null pointers and freeing up
   resources when an error occurs

Notes:

Also, multiple rasters and vectors should be able to be specified on
the command line without problems.

[0] These will return true if successfully loaded the given file,
otherwise false.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@878 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-21 06:27:11 +00:00
gsherman
1f6f4c9cbc removed fix for bug 882424 since it clobbers raster display. Will fix post-0.1 release
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@877 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-21 03:26:04 +00:00
gsherman
1fd913744e fixed some memory leaks -- many more left to find
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@876 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-21 03:01:39 +00:00
gsherman
d471367572 Fixed Partial map displayed after window resize bug [882424 ]
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@875 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-20 20:53:26 +00:00
stevehalasz
07d60883ad fix for appropriately enabling/disabling vector specific toolbar buttons
(bug #900676)


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@874 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-20 18:44:47 +00:00
gsherman
90e6ba84bd changed #ifdef DEBUG to #ifdef QGISDEBUG to fix rh/fedora problem
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@873 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-20 17:17:36 +00:00
gsherman
8c3c9c0537 added line to strip the qgis binary after make
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@872 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-20 17:13:30 +00:00
gsherman
64533a8c07 changed debug define from DEBUG to QGISDEBUG
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@871 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-20 17:10:57 +00:00
gsherman
51b68bd4b7 added debug message to destructor
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@870 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-20 05:13:29 +00:00
gsherman
3baa5c48dd Plugged a few memory leaks
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@869 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-20 05:12:38 +00:00
gsherman
0e25b32dbe Bumped version to 0.1pre2
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@868 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-20 02:17:00 +00:00
gsherman
2faadc75cf fixed path to help contents (changed to <prefix>/share/qgis/doc)
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@867 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-20 01:53:36 +00:00
stevehalasz
1df72a78d9 don't dirty canvas right after rendering. fix for unnesessary repaints (bug #889466)
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@866 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-19 21:37:49 +00:00
timlinux
a4fe9a1a3f Added addRasterLayer to the plugin interface.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@865 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-19 16:21:31 +00:00
gsherman
f6fa7f52f7 Added port to the new connection dialog. Port is used in connecting to PostgreSQL. If port is not specified, the default of 5432 is used.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@864 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-19 06:55:25 +00:00
jobi
bc572d311e added spec-file for rpm builds
added makefiles to doc/* paths to get a better overview


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@863 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-18 18:49:54 +00:00
gsherman
472544329e added asPolygon function to return the rectangle as a set of polyogn coordinates
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@862 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-16 22:44:47 +00:00
gsherman
6a7590c880 Fixed compile problem under Qt 3.1.2 related to GDAL driver detection code. Qt 3.1.2 does not support the case sensitive argument to QString::startsWith and QString::endsWith. Removed the second argument. This needs to be revisited if case insensitve detection is truly required.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@861 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-16 18:21:51 +00:00
gsherman
b751be01bb Fixed compile problem under Qt 3.1.2 related to GDAL driver detection code. Qt 3.1.2 does not support the case sensitive argument to QString::startsWith and QString::endsWith
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@860 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-16 15:47:10 +00:00
jobi
afb7044aa8 - fixed --with-gdal
- it can now be turned off, because you can also work only with postgis
  - spit is only enable if gdal and postgresql are both available
  - error if gdal and postgresql are both not available
  - changed --with_pg to --with_postgresql to make it more clearly
- fixed small bugbaby in Makefile.am


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@859 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-15 12:23:30 +00:00
mcoletti
d89bc6c162 - fixed bug whereby GDAL drivers with unspecified metadata file
extensions wouldn't show up in open dialog filter list; now these
  drivers show up with the "All (*.*)" category, but only using their
  driver short names to prevent that filter line from getting too long

- compensated for GDAL bug whereby USGS ASCII DEM's use "*.dem" file
  extension, but the GDAL metadata doesn't reflect that; now the file
  filter for the open raster dialog properly displays a filter for
  USGS ASCII DEM instead of putting it into the "catch-all" (*.*) file
  filter  (Reported this GDAL bug, too.)


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@858 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-14 22:51:46 +00:00
gsherman
fc4f5ed8b9 latest spit changes
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@857 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-14 18:01:56 +00:00
jobi
c70ac6993c Added make release, what creats a tar.gz and a tar.bz2
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@855 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-14 17:28:18 +00:00
gsherman
e2e0a1fb16 icon for spit
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@852 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-14 16:53:04 +00:00
gsherman
bb5ca0814d latest fixes
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@851 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-14 16:44:16 +00:00
gsherman
4b4ae3adb9 lars fix for crash when trying to buffer a raster
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@850 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-14 16:34:36 +00:00
stevehalasz
d97f7d0b3b fix for multiple repaints when adding multiple rasters (bug #891870)
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@849 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-14 15:38:50 +00:00
gsherman
78cf60a09d updated changelog for 0.1pre1
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@842 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-14 02:12:51 +00:00
gsherman
aa4017b628 Update readme for 0.1pre1
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@841 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-14 02:11:27 +00:00
timlinux
9ab698d18e Substituted QT_DEBUG with DEBUG for ifdefs.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@836 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-13 23:21:37 +00:00
gsherman
7f84c6304c added debug to the layer name beautification code
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@834 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-13 22:49:17 +00:00
mcoletti
cd31958e1f Fixed bug whereby some supported raster formats weren't getting
included in the open raster layer file dialog filter list.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@833 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-13 22:32:26 +00:00
mcoletti
47740564a6 TODO #13 completed, with bonus of remembering previous working
directories, too.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@832 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-13 22:15:30 +00:00
mcoletti
89943f9fa6 - open file dialogs now use previous file filters and working
directories unless, of course, the open file dialogs are invoked for
  the first time for opening a raster or vector layer


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@831 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-13 22:13:52 +00:00
timlinux
0a01f3f593 Mark item 23 done (dialog consistency for label names).
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@830 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-13 22:08:46 +00:00
stevehalasz
301c9b8af9 include stdlib.h to fix FreeBSD compile problem
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@829 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-13 20:25:33 +00:00
gsherman
16a68ea535 removed since it is only needed to update translation files and can be generated using the two shell scripts (create_qm_files.sh and update_ts_files.sh)
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@828 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-13 20:03:41 +00:00
gsherman
8e1828967e added Hoshi's picutre to the wall of shame
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@827 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-13 19:35:43 +00:00
hoshi
d29d264889 Quantum GIS Brazilian Portuguese translation file.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@826 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-13 18:51:44 +00:00
gsherman
cca7e519c2 shell script to create the qm files from the ts files
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@825 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-13 17:55:30 +00:00
gsherman
9fa29d06fb added GEOS detection and warning
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@824 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-13 17:51:56 +00:00
gsherman
070b461cd0 shell script to create the translation files in the src subdirectory
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@823 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-13 17:50:50 +00:00
stevehalasz
6c2549eb67 adding bug 891870
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@822 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-13 16:52:25 +00:00
jobi
c5c5ec283a fixed bug that spit is enable although postgresql unavailable
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@821 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-13 16:26:06 +00:00
gsherman
ca20eb4bf1 Added bug numbers to issues
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@820 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-13 16:22:46 +00:00
gsherman
7cb0a90164 Added a couple of items to establish the format for the file
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@819 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-13 16:18:45 +00:00