Skip to content

Commit

Permalink
Merge branch 'master' of ../Quantum-GIS
Browse files Browse the repository at this point in the history
  • Loading branch information
timlinux committed Sep 24, 2011
2 parents 2831968 + b54f668 commit 08d8ea2
Show file tree
Hide file tree
Showing 12 changed files with 6,155 additions and 830 deletions.
1,612 changes: 1,612 additions & 0 deletions CHANGELOG

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion doc/CMakeLists.txt
Expand Up @@ -20,7 +20,7 @@ ELSE(TXT2TAGS_EXECUTABLE)
)
ENDIF(TXT2TAGS_EXECUTABLE)

SET(QGIS_DOC_FILES ${QGIS_DOC_FILES} index.html favicon.ico qgisdoc.css AUTHORS CONTRIBUTORS SPONSORS DONORS TRANSLATORS)
SET(QGIS_DOC_FILES ${QGIS_DOC_FILES} index.html changelog.html favicon.ico style.css AUTHORS CONTRIBUTORS SPONSORS DONORS TRANSLATORS

INSTALL(FILES ${QGIS_DOC_FILES} DESTINATION ${QGIS_DATA_DIR}/doc)
INSTALL(FILES images/qgis_new_80pct.png DESTINATION ${QGIS_DATA_DIR}/doc/images)
Expand Down
3 changes: 3 additions & 0 deletions doc/SPONSORS
Expand Up @@ -15,6 +15,9 @@
Please consider sponsoring the development of QuantumGIS.
See: http://qgis.org/en/sponsorship.html

SILVER
Kanton Solothurn, Switzerland (4.2011)|http://www.agi.so.ch/

BRONZE
Studio Associato Gfosservices|http://www.gfosservices.com
NEXTGIS|http://nextgis.org
2,339 changes: 2,339 additions & 0 deletions doc/changelog.html

Large diffs are not rendered by default.

2,091 changes: 2,091 additions & 0 deletions doc/changelog.t2t

Large diffs are not rendered by default.

677 changes: 4 additions & 673 deletions doc/index.html

Large diffs are not rendered by default.

77 changes: 56 additions & 21 deletions doc/style.css
@@ -1,30 +1,65 @@
body {
padding: 2em 1em 2em 70px;
margin: 0;
font-family: sans-serif;
body{ background: white;
color: black;
background: white;
font-family: arial,sans-serif;
}
:link { color: #00C; background: transparent }
:visited { color: #609; background: transparent }
a:active { color: #C00; background: transparent }

a:link img, a:visited img { border-style: none }


h1, h2, h3, h4, h5, h6 { text-align: left }
h1, h2, h3 { color: #005A9C; background: white }
h1 { font: 170% sans-serif }
h2 { font: 140% sans-serif }
h3 { font: 120% sans-serif }
h4 { font: bold 100% sans-serif }
h5 { font: italic 100% sans-serif }
h6 { font: small-caps 100% sans-serif }

pre { margin-left: 2em;
border: 1;
padding: 4px;
background: #ececec; }
pre, code { font-family: monospace }


.overview{ font: 1.82em; font-weight: bold;}

h1{ background-color: #F6F6F6;
color: #8FB171;
font-size: large;
font-weight: bold;
font-family: luxi serif, georgia, times new roman, times, serif;
background: none;
padding: 0.75em 0 0;
margin: 0;
line-height: 1.1em;
}
h2{ background-color: #F6F6F6;
color: #8FB171;
font-size: medium;
font-weight: normal;
font-family: luxi serif, georgia, times new roman, times, serif;
background: none;
padding: 0.75em 0 0;
margin: 0;
line-height: 1.1em;
}
h3{ background-color: #F6F6F6;
color: #729FCF;
font-family: luxi serif, georgia, times new roman, times, serif;
font-weight: bold;
font-size: large;
text-align: right;
border-bottom: 5px solid #DCEB5C;
}
h4{ background-color: #F6F6F6;
color: #729FCF;
font-family: luxi serif, georgia, times new roman, times, serif;
font-weight: bold;
font-size: medium;
text-align: right;
}
h5{ background-color: #F6F6F6;
color: #729FCF;
font-family: luxi serif, georgia, times new roman, times, serif;
font-weight: bold;
font-size: small;
text-align: right;
}
a{ color: #729FCF;
font-family: arial,sans-serif;
font-size: small;
}
label{ background-color: #FFFFCC;
border: 1px solid black;
margin: 1px;
padding: 0px 3px;
font-size: small;
}
120 changes: 15 additions & 105 deletions src/app/qgisapp.cpp
Expand Up @@ -2001,118 +2001,15 @@ void QgisApp::about()

QString whatsNew = "<html><body>" ;
whatsNew += "<h3>" + tr( "Version" ) + " " + QString( QGis::QGIS_VERSION ) + "</h3>";
whatsNew += "<h2>" + trUtf8( "What's new in Version 1.7.0 'Wrocław'?" ) + "</h2>";
whatsNew += "<h2>" + trUtf8( "What's new in Version 1.7.0 'Wroclaw'?" ) + "</h2>";
whatsNew += "<p>";
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." );
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." );
whatsNew += "</p>";
whatsNew += "<p>";
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." );
whatsNew += "</p>";

whatsNew += "<h3>" + tr( "Symbology labels and diagrams" ) + "</h3>";
whatsNew += "<ul>";
whatsNew += "<li>" + tr( "New symbology now used by default!" ) + "</li>";
whatsNew += "<li>" + tr( "Diagram system that uses the same smart placement system as labeling-ng" ) + "</li>";
whatsNew += "<li>" + tr( "Export and import of styles (symbology-ng)." ) + "</li>";
whatsNew += "<li>" + tr( "Labels for rules in rule-based renderers." ) + "</li>";
whatsNew += "<li>" + tr( "Ability to set label distance in map units." ) + "</li>";
whatsNew += "<li>" + tr( "Rotation for svg fills." ) + "</li>";
whatsNew += "<li>" + tr( "Font marker can have an X,Y offset." ) + "</li>";
whatsNew += "<li>" + tr( "Allow the line symbol layers to be used for outline of polygon (fill) symbols." ) + "</li>";
whatsNew += "<li>" + tr( "Option to put marker on the central point of a line." ) + "</li>";
whatsNew += "<li>" + tr( "Option to put marker only on first/last vertex of a line." ) + "</li>";
whatsNew += "<li>" + tr( "Added \"centroid fill\" symbol layer which draws a marker on polygon's centroid." ) + "</li>";
whatsNew += "<li>" + tr( "Allow the marker line symbol layer to draw markers on each vertex." ) + "</li>";
whatsNew += "<li>" + tr( "Move/rotate/change label edit tools to interactively change data defined label properties." ) + "</li>";
whatsNew += "</ul>";
whatsNew += "<h3>" + tr( "New Tools" ) + "</h3>";
whatsNew += "<ul>";
whatsNew += "<li>" + tr( "Added GUI for gdaldem." ) + "</li>";
whatsNew += "<li>" + tr( "Added 'Lines to polygons' tool to vector menu." ) + "</li>";
whatsNew += "<li>" + tr( "Added field calculator with functions like $x, $y and $perimeter." ) + "</li>";
whatsNew += "<li>" + tr( "Added voronoi polygon tool to Vector menu." ) + "</li>";
whatsNew += "</ul>";
whatsNew += "<h3>" + tr( "User interface updates" ) + "</h3>";
whatsNew += "<ul>";
whatsNew += "<li>" + tr( "Allow managing missing layers in a list." ) + "</li>";
whatsNew += "<li>" + tr( "Zoom to group of layers." ) + "</li>";
whatsNew += "<li>" + tr( "'Tip of the day' on startup. You can en/disable tips in the options panel." ) + "</li>";
whatsNew += "<li>" + tr( "Better organisation of menus, separate database menu added." ) + "</li>";
whatsNew += "<li>" + tr( "Add ability to show number of features in "
"legend classes. Accessible via right-click legend menu." ) + "</li>";
whatsNew += "<li>" + tr( "General clean-ups and usability improvements." ) + "</li>";
whatsNew += "</ul>";
whatsNew += "<h3>" + tr( "CRS Handling" ) + "</h3>";
whatsNew += "<ul>";
whatsNew += "<li>" + tr( "Show active crs in status bar." ) + "</li>";
whatsNew += "<li>" + tr( "Assign layer CRS to project (in the legend context menu)." ) + "</li>";
whatsNew += "<li>" + tr( "Select default CRS for new projects." ) + "</li>";
whatsNew += "<li>" + tr( "Allow setting CRS for multiple layers at once." ) + "</li>";
whatsNew += "<li>" + tr( "Default to last selection when prompting for CRS." ) + "</li>";
whatsNew += "</ul>";
whatsNew += "<h3>" + tr( "Rasters" ) + "</h3>";
whatsNew += "<ul>";
whatsNew += "<li>" + tr( "Added AND and OR operator for raster calculator" ) + "</li>";
whatsNew += "<li>" + tr( "On-the-fly reprojection of rasters added!" ) + "</li>";
whatsNew += "<li>" + tr( "Proper implementation of raster providers." ) + "</li>";
whatsNew += "<li>" + tr( "Added raster toolbar with histogram stretch functions." ) + "</li>";
whatsNew += "</ul>";
whatsNew += "<h3>" + tr( "Providers and Data Handling" ) + "</h3>";
whatsNew += "<ul>";
whatsNew += "<li>" + tr( "New SQLAnywhere vector provider." ) + "</li>";
whatsNew += "<li>" + tr( "Table join support." ) + "</li>";
whatsNew += "<li>" + tr( "Feature form updates" ) ;
whatsNew += "<ul>";
whatsNew += "<li>" + tr( "Make NULL value string representation configurable." ) + "</li>";
whatsNew += "<li>" + tr( "Fix feature updates in feature form from attribute table." ) + "</li>";
whatsNew += "<li>" + tr( "Add support for NULL values in value maps (comboboxes)." ) + "</li>";
whatsNew += "<li>" + tr( "Use layer names instead of ids in drop down list when loading value maps from layers." ) + "</li>";
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>";
whatsNew += "<li>" + tr( "Support searching for NULL in attribute table." ) + "</li>";
whatsNew += "<li>" + tr( "Attribute editing improvements" );
whatsNew += "<ul>";
whatsNew += "<li>" + tr( "Improved interactive attribute editing in table (adding/deleting features, attribute update)." ) + "</li>";
whatsNew += "<li>" + tr( "Allow adding of geometryless features." ) + "</li>";
whatsNew += "<li>" + tr( "Fixed attribute undo/redo." ) + "</li></ul></li>";
whatsNew += "<li>" + tr( "Improved attribute handling." );
whatsNew += "<ul>";
whatsNew += "<li>" + tr( "Optionally re-use entered attribute values for next digitized feature." ) + "</li>";
whatsNew += "<li>" + tr( "Allow merging/assigning attribute values to a set of features." ) + "</li></ul></li>";
whatsNew += "<li>" + tr( "Allow OGR 'save as' without attributes (for eg. DGN/DXF)." ) + "</li>";
whatsNew += "</ul>";
whatsNew += "<h3>" + tr( "Api and Developer Centric" ) + "</h3>";
whatsNew += "<ul>";
whatsNew += "<li>" + tr( "Refactored attribute dialog calls to QgsFeatureAttribute." ) + "</li>";
whatsNew += "<li>" + tr( "Added QgsVectorLayer::featureAdded signal." ) + "</li>";
whatsNew += "<li>" + tr( "Layer menu function added." ) + "</li>";
whatsNew += "<li>" + tr( "Added option to load c++ plugins from user "
" specified directories. Requires application restart to activate." ) +
"</li>";
whatsNew += "<li>" + tr( "Completely new geometry checking tool for fTools. Significantly faster, "
"more relevant error messages, and now supports zooming to errors. "
"See the new QgsGeometry.validateGeometry function" ) + "</li>";
whatsNew += "</ul>";
whatsNew += "<h3>" + tr( "QGIS Mapserver" ) + "</h3>";
whatsNew += "<ul>";
whatsNew += "<li>" + tr( "Ability to specify wms service capabilities in the properties "
"section of the project file (instead of wms_metadata.xml file)." ) + "</li>";
whatsNew += "<li>" + tr( "Support for wms printing with GetPrint-Request." ) + "</li>";
whatsNew += "</ul>";
whatsNew += "<h3>" + tr( "Plugins" ) + "</h3>";
whatsNew += "<ul>";
whatsNew += "<li>" + tr( "Support for icons of plugins in the plugin manager dialog." ) + "</li>";
whatsNew += "<li>" + tr( "Removed quickprint plugin - use easyprint plugin rather from plugin repo." ) + "</li>";
whatsNew += "<li>" + tr( "Removed ogr converter plugin - use 'save as' context menu rather." ) + "</li>";
whatsNew += "</ul>";
whatsNew += "<h3>" + tr( "Printing" ) + "</h3>";
whatsNew += "<ul>";
whatsNew += "<li>" + tr( "Undo/Redo support for the print composer" ) + "</li>";
whatsNew += "</ul>";
whatsNew += "</body></html>";

abt->setWhatsNew( whatsNew );

QApplication::restoreOverrideCursor();
}
abt->show();
abt->raise();
Expand Down Expand Up @@ -4693,12 +4590,25 @@ void QgisApp::checkQgisVersion()
QApplication::setOverrideCursor( Qt::WaitCursor );

QNetworkReply *reply = QgsNetworkAccessManager::instance()->get( QNetworkRequest( QUrl( "http://qgis.org/version.txt" ) ) );
op.get(); */
connect( reply, SIGNAL( finished() ), this, SLOT( versionReplyFinished() ) );
mSocket = new QTcpSocket( this );
connect( mSocket, SIGNAL( connected() ), SLOT( socketConnected() ) );
connect( mSocket, SIGNAL( connectionClosed() ), SLOT( socketConnectionClosed() ) );
connect( mSocket, SIGNAL( readyRead() ), SLOT( socketReadyRead() ) );
connect( mSocket, SIGNAL( error( QAbstractSocket::SocketError ) ),
SLOT( socketError( QAbstractSocket::SocketError ) ) );
mSocket->connectToHost( "qgis.org", 80 );
}

void QgisApp::versionReplyFinished()
{
QApplication::restoreOverrideCursor();
QTextStream os( mSocket );
mVersionMessage = "";
// send the qgis version string
// os << QGIS_VERSION << "\r\n";
os << "GET /version.txt HTTP/1.0\n\n";

QNetworkReply *reply = qobject_cast<QNetworkReply*>( sender() );
if ( !reply )
Expand Down
5 changes: 3 additions & 2 deletions src/app/qgsabout.cpp
Expand Up @@ -216,6 +216,7 @@ void QgsAbout::init()
QgsDebugMsg( QString( "translatorHTML:%1" ).arg( translatorHTML.toAscii().constData() ) );
QgsDebugMsg( QString( "txtTranslators:%1" ).arg( txtTranslators->toHtml().toAscii().constData() ) );
}
setWhatsNew();
}

void QgsAbout::setVersion( QString v )
Expand All @@ -225,12 +226,12 @@ void QgsAbout::setVersion( QString v )
txtVersion->setHtml( v );
}

void QgsAbout::setWhatsNew( QString txt )
void QgsAbout::setWhatsNew( )
{
QString myStyle = QgsApplication::reportStyleSheet();
txtWhatsNew->clear();
txtWhatsNew->document()->setDefaultStyleSheet( myStyle );
txtWhatsNew->setHtml( txt );
txtWhatsNew->setSource( "file:///" + QgsApplication::pkgDataPath() + "/doc/changelog.html" );
}

void QgsAbout::setPluginInfo()
Expand Down
2 changes: 1 addition & 1 deletion src/app/qgsabout.h
Expand Up @@ -26,10 +26,10 @@ class QgsAbout : public QDialog, private Ui::QgsAbout
QgsAbout();
~QgsAbout();
void setVersion( QString v );
void setWhatsNew( QString txt );
static QString fileSystemSafe( QString string );

private:
void setWhatsNew( );
void setPluginInfo();
void init();
void openUrl( QString url );
Expand Down
15 changes: 1 addition & 14 deletions src/ui/qgsabout.ui
Expand Up @@ -161,20 +161,7 @@ p, li { white-space: pre-wrap; }
</attribute>
<layout class="QGridLayout">
<item row="0" column="0">
<widget class="QTextEdit" name="txtWhatsNew">
<property name="focusPolicy">
<enum>Qt::NoFocus</enum>
</property>
<property name="acceptDrops">
<bool>false</bool>
</property>
<property name="lineWidth">
<number>2</number>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
<widget class="QTextBrowser" name="txtWhatsNew"/>
</item>
</layout>
</widget>
Expand Down

0 comments on commit 08d8ea2

Please sign in to comment.