@@ -2001,118 +2001,15 @@ void QgisApp::about()
2001
2001
2002
2002
QString whatsNew = " <html><body>" ;
2003
2003
whatsNew += " <h3>" + tr ( " Version" ) + " " + QString ( QGis::QGIS_VERSION ) + " </h3>" ;
2004
- whatsNew += " <h2>" + trUtf8 ( " What's new in Version 1.7.0 'Wrocław '?" ) + " </h2>" ;
2004
+ whatsNew += " <h2>" + trUtf8 ( " What's new in Version 1.7.0 'Wroclaw '?" ) + " </h2>" ;
2005
2005
whatsNew += " <p>" ;
2006
- whatsNew += trUtf8 ( " This release is named after the town of Wrocław in Poland. The Department of Climatology and Atmosphere Protection, University of Wrocław kindly hosted our last developer meeting in November 2010. Please note that this is a release in our 'cutting edge' release series. As such it contains new features and extends the programmatic interface over QGIS 1.0.x and QGIS 1.6.0. As with any software, there may be bugs and issues that we were not able to fix in time for the release. We therefore recommend that you test this version before rolling it out en-masse to your users." );
2006
+ whatsNew += trUtf8 ( " This release is named after the town of Wroclaw in Poland. The Department of Climatology and Atmosphere Protection, University of Wroclaw kindly hosted our last developer meeting in November 2010. Please note that this is a release in our 'cutting edge' release series. As such it contains new features and extends the programmatic interface over QGIS 1.0.x and QGIS 1.6.0. As with any software, there may be bugs and issues that we were not able to fix in time for the release. We therefore recommend that you test this version before rolling it out en-masse to your users." );
2007
2007
whatsNew += " </p>" ;
2008
2008
whatsNew += " <p>" ;
2009
2009
whatsNew += tr ( " This release includes over 277 bug fixes and many new features and enhancements. Once again it is impossible to document everything here that has changed so we will just provide a bullet list of key new features here." );
2010
2010
whatsNew += " </p>" ;
2011
2011
2012
2012
whatsNew += " <h3>" + tr ( " Symbology labels and diagrams" ) + " </h3>" ;
2013
- whatsNew += " <ul>" ;
2014
- whatsNew += " <li>" + tr ( " New symbology now used by default!" ) + " </li>" ;
2015
- whatsNew += " <li>" + tr ( " Diagram system that uses the same smart placement system as labeling-ng" ) + " </li>" ;
2016
- whatsNew += " <li>" + tr ( " Export and import of styles (symbology-ng)." ) + " </li>" ;
2017
- whatsNew += " <li>" + tr ( " Labels for rules in rule-based renderers." ) + " </li>" ;
2018
- whatsNew += " <li>" + tr ( " Ability to set label distance in map units." ) + " </li>" ;
2019
- whatsNew += " <li>" + tr ( " Rotation for svg fills." ) + " </li>" ;
2020
- whatsNew += " <li>" + tr ( " Font marker can have an X,Y offset." ) + " </li>" ;
2021
- whatsNew += " <li>" + tr ( " Allow the line symbol layers to be used for outline of polygon (fill) symbols." ) + " </li>" ;
2022
- whatsNew += " <li>" + tr ( " Option to put marker on the central point of a line." ) + " </li>" ;
2023
- whatsNew += " <li>" + tr ( " Option to put marker only on first/last vertex of a line." ) + " </li>" ;
2024
- whatsNew += " <li>" + tr ( " Added \" centroid fill\" symbol layer which draws a marker on polygon's centroid." ) + " </li>" ;
2025
- whatsNew += " <li>" + tr ( " Allow the marker line symbol layer to draw markers on each vertex." ) + " </li>" ;
2026
- whatsNew += " <li>" + tr ( " Move/rotate/change label edit tools to interactively change data defined label properties." ) + " </li>" ;
2027
- whatsNew += " </ul>" ;
2028
- whatsNew += " <h3>" + tr ( " New Tools" ) + " </h3>" ;
2029
- whatsNew += " <ul>" ;
2030
- whatsNew += " <li>" + tr ( " Added GUI for gdaldem." ) + " </li>" ;
2031
- whatsNew += " <li>" + tr ( " Added 'Lines to polygons' tool to vector menu." ) + " </li>" ;
2032
- whatsNew += " <li>" + tr ( " Added field calculator with functions like $x, $y and $perimeter." ) + " </li>" ;
2033
- whatsNew += " <li>" + tr ( " Added voronoi polygon tool to Vector menu." ) + " </li>" ;
2034
- whatsNew += " </ul>" ;
2035
- whatsNew += " <h3>" + tr ( " User interface updates" ) + " </h3>" ;
2036
- whatsNew += " <ul>" ;
2037
- whatsNew += " <li>" + tr ( " Allow managing missing layers in a list." ) + " </li>" ;
2038
- whatsNew += " <li>" + tr ( " Zoom to group of layers." ) + " </li>" ;
2039
- whatsNew += " <li>" + tr ( " 'Tip of the day' on startup. You can en/disable tips in the options panel." ) + " </li>" ;
2040
- whatsNew += " <li>" + tr ( " Better organisation of menus, separate database menu added." ) + " </li>" ;
2041
- whatsNew += " <li>" + tr ( " Add ability to show number of features in "
2042
- " legend classes. Accessible via right-click legend menu." ) + " </li>" ;
2043
- whatsNew += " <li>" + tr ( " General clean-ups and usability improvements." ) + " </li>" ;
2044
- whatsNew += " </ul>" ;
2045
- whatsNew += " <h3>" + tr ( " CRS Handling" ) + " </h3>" ;
2046
- whatsNew += " <ul>" ;
2047
- whatsNew += " <li>" + tr ( " Show active crs in status bar." ) + " </li>" ;
2048
- whatsNew += " <li>" + tr ( " Assign layer CRS to project (in the legend context menu)." ) + " </li>" ;
2049
- whatsNew += " <li>" + tr ( " Select default CRS for new projects." ) + " </li>" ;
2050
- whatsNew += " <li>" + tr ( " Allow setting CRS for multiple layers at once." ) + " </li>" ;
2051
- whatsNew += " <li>" + tr ( " Default to last selection when prompting for CRS." ) + " </li>" ;
2052
- whatsNew += " </ul>" ;
2053
- whatsNew += " <h3>" + tr ( " Rasters" ) + " </h3>" ;
2054
- whatsNew += " <ul>" ;
2055
- whatsNew += " <li>" + tr ( " Added AND and OR operator for raster calculator" ) + " </li>" ;
2056
- whatsNew += " <li>" + tr ( " On-the-fly reprojection of rasters added!" ) + " </li>" ;
2057
- whatsNew += " <li>" + tr ( " Proper implementation of raster providers." ) + " </li>" ;
2058
- whatsNew += " <li>" + tr ( " Added raster toolbar with histogram stretch functions." ) + " </li>" ;
2059
- whatsNew += " </ul>" ;
2060
- whatsNew += " <h3>" + tr ( " Providers and Data Handling" ) + " </h3>" ;
2061
- whatsNew += " <ul>" ;
2062
- whatsNew += " <li>" + tr ( " New SQLAnywhere vector provider." ) + " </li>" ;
2063
- whatsNew += " <li>" + tr ( " Table join support." ) + " </li>" ;
2064
- whatsNew += " <li>" + tr ( " Feature form updates" ) ;
2065
- whatsNew += " <ul>" ;
2066
- whatsNew += " <li>" + tr ( " Make NULL value string representation configurable." ) + " </li>" ;
2067
- whatsNew += " <li>" + tr ( " Fix feature updates in feature form from attribute table." ) + " </li>" ;
2068
- whatsNew += " <li>" + tr ( " Add support for NULL values in value maps (comboboxes)." ) + " </li>" ;
2069
- whatsNew += " <li>" + tr ( " Use layer names instead of ids in drop down list when loading value maps from layers." ) + " </li>" ;
2070
- whatsNew += " <li>" + tr ( " Support feature form expression fields: line edits on the form which name prefix \" expr_\" are evaluated. Their value is interpreted as field calculator string and replaced with the calculated value." ) + " </li></ul></li>" ;
2071
- whatsNew += " <li>" + tr ( " Support searching for NULL in attribute table." ) + " </li>" ;
2072
- whatsNew += " <li>" + tr ( " Attribute editing improvements" );
2073
- whatsNew += " <ul>" ;
2074
- whatsNew += " <li>" + tr ( " Improved interactive attribute editing in table (adding/deleting features, attribute update)." ) + " </li>" ;
2075
- whatsNew += " <li>" + tr ( " Allow adding of geometryless features." ) + " </li>" ;
2076
- whatsNew += " <li>" + tr ( " Fixed attribute undo/redo." ) + " </li></ul></li>" ;
2077
- whatsNew += " <li>" + tr ( " Improved attribute handling." );
2078
- whatsNew += " <ul>" ;
2079
- whatsNew += " <li>" + tr ( " Optionally re-use entered attribute values for next digitized feature." ) + " </li>" ;
2080
- whatsNew += " <li>" + tr ( " Allow merging/assigning attribute values to a set of features." ) + " </li></ul></li>" ;
2081
- whatsNew += " <li>" + tr ( " Allow OGR 'save as' without attributes (for eg. DGN/DXF)." ) + " </li>" ;
2082
- whatsNew += " </ul>" ;
2083
- whatsNew += " <h3>" + tr ( " Api and Developer Centric" ) + " </h3>" ;
2084
- whatsNew += " <ul>" ;
2085
- whatsNew += " <li>" + tr ( " Refactored attribute dialog calls to QgsFeatureAttribute." ) + " </li>" ;
2086
- whatsNew += " <li>" + tr ( " Added QgsVectorLayer::featureAdded signal." ) + " </li>" ;
2087
- whatsNew += " <li>" + tr ( " Layer menu function added." ) + " </li>" ;
2088
- whatsNew += " <li>" + tr ( " Added option to load c++ plugins from user "
2089
- " specified directories. Requires application restart to activate." ) +
2090
- " </li>" ;
2091
- whatsNew += " <li>" + tr ( " Completely new geometry checking tool for fTools. Significantly faster, "
2092
- " more relevant error messages, and now supports zooming to errors. "
2093
- " See the new QgsGeometry.validateGeometry function" ) + " </li>" ;
2094
- whatsNew += " </ul>" ;
2095
- whatsNew += " <h3>" + tr ( " QGIS Mapserver" ) + " </h3>" ;
2096
- whatsNew += " <ul>" ;
2097
- whatsNew += " <li>" + tr ( " Ability to specify wms service capabilities in the properties "
2098
- " section of the project file (instead of wms_metadata.xml file)." ) + " </li>" ;
2099
- whatsNew += " <li>" + tr ( " Support for wms printing with GetPrint-Request." ) + " </li>" ;
2100
- whatsNew += " </ul>" ;
2101
- whatsNew += " <h3>" + tr ( " Plugins" ) + " </h3>" ;
2102
- whatsNew += " <ul>" ;
2103
- whatsNew += " <li>" + tr ( " Support for icons of plugins in the plugin manager dialog." ) + " </li>" ;
2104
- whatsNew += " <li>" + tr ( " Removed quickprint plugin - use easyprint plugin rather from plugin repo." ) + " </li>" ;
2105
- whatsNew += " <li>" + tr ( " Removed ogr converter plugin - use 'save as' context menu rather." ) + " </li>" ;
2106
- whatsNew += " </ul>" ;
2107
- whatsNew += " <h3>" + tr ( " Printing" ) + " </h3>" ;
2108
- whatsNew += " <ul>" ;
2109
- whatsNew += " <li>" + tr ( " Undo/Redo support for the print composer" ) + " </li>" ;
2110
- whatsNew += " </ul>" ;
2111
- whatsNew += " </body></html>" ;
2112
-
2113
- abt->setWhatsNew ( whatsNew );
2114
-
2115
- QApplication::restoreOverrideCursor ();
2116
2013
}
2117
2014
abt->show ();
2118
2015
abt->raise ();
@@ -4693,12 +4590,25 @@ void QgisApp::checkQgisVersion()
4693
4590
QApplication::setOverrideCursor ( Qt::WaitCursor );
4694
4591
4695
4592
QNetworkReply *reply = QgsNetworkAccessManager::instance ()->get ( QNetworkRequest ( QUrl ( " http://qgis.org/version.txt" ) ) );
4593
+ op.get (); */
4696
4594
connect ( reply, SIGNAL ( finished () ), this , SLOT ( versionReplyFinished () ) );
4595
+ mSocket = new QTcpSocket ( this );
4596
+ connect ( mSocket , SIGNAL ( connected () ), SLOT ( socketConnected () ) );
4597
+ connect ( mSocket , SIGNAL ( connectionClosed () ), SLOT ( socketConnectionClosed () ) );
4598
+ connect ( mSocket , SIGNAL ( readyRead () ), SLOT ( socketReadyRead () ) );
4599
+ connect ( mSocket , SIGNAL ( error ( QAbstractSocket::SocketError ) ),
4600
+ SLOT ( socketError ( QAbstractSocket::SocketError ) ) );
4601
+ mSocket ->connectToHost ( " qgis.org" , 80 );
4697
4602
}
4698
4603
4699
4604
void QgisApp::versionReplyFinished ()
4700
4605
{
4701
4606
QApplication::restoreOverrideCursor ();
4607
+ QTextStream os ( mSocket );
4608
+ mVersionMessage = " " ;
4609
+ // send the qgis version string
4610
+ // os << QGIS_VERSION << "\r\n";
4611
+ os << " GET /version.txt HTTP/1.0\n\n " ;
4702
4612
4703
4613
QNetworkReply *reply = qobject_cast<QNetworkReply*>( sender () );
4704
4614
if ( !reply )
0 commit comments