* Switch publisher in telemetry test to ms-mssql (#556)

* Switch publisher in telemetry test to ms-mssql

* Update a couple more hard-coded publisher references.

* Fix Results Panel not Refreshing Automatically (#670)

- Fixes #669
- Ensures that TextDocumentContentProvider.provideTextDocumentContent always provides an updated string when being refreshed. In VSCode 1.9.0, it's vital to do this as there is a diff on the provided content and the document is only refreshed if this is different
- Updated release version
This commit is contained in:
Kevin Cunnane 2017-02-03 11:00:51 -08:00 коммит произвёл GitHub
Родитель 27c004d0e4
Коммит 13cf99e2da
5 изменённых файлов: 28 добавлений и 3 удалений

Просмотреть файл

@ -1,5 +1,12 @@
# Change Log
## Version 0.2.1
* Release date: February 2, 2016
* Release status: Public Preview
## What's new in this version
* HotFix for issue [#669] "Results Panel not Refreshing Automatically". This issue impacts users on VSCode 1.9.0 or greater.
## Version 0.2.0
* Release date: December, 2016
* Release status: Public Preview
@ -70,4 +77,5 @@ Report issues to [Github Issue Tracker] and provide your feedback.
[manage connection profiles]:https://github.com/Microsoft/vscode-mssql/wiki/manage-connection-profiles
[OpenSSL requirement on macOS]:https://github.com/Microsoft/vscode-mssql/wiki/OpenSSL-Configuration
[Windows 10 Universal C Runtime requirement]:https://github.com/Microsoft/vscode-mssql/wiki/windows10-universal-c-runtime-requirement
[Operating Systems]:https://github.com/Microsoft/vscode-mssql/wiki/operating-systems
[Operating Systems]:https://github.com/Microsoft/vscode-mssql/wiki/operating-systems
[#669]:https://github.com/Microsoft/vscode-mssql/issues/669

Просмотреть файл

@ -21,6 +21,8 @@ See [the SQL developer tutorial] to develop an app with C#, Java, Node.js, PHP,
<img src="https://github.com/Microsoft/vscode-mssql/raw/master/images/mssql-demo.gif" alt="demo" style="width:480px;"/>
## What's new in 0.2.1
* HotFix for issue [#669] "Results Panel not Refreshing Automatically". This issue impacts users on VSCode 1.9.0 or greater.
## What's new in 0.2.0
* Peek Definition and Go To Definition support for Tables, Views and Stored Procedures.
@ -147,4 +149,5 @@ This extension is [licensed under the MIT License]. Please see the [third-party
[Microsoft Open Source Code of Conduct]:https://opensource.microsoft.com/codeofconduct/
[Code of Conduct FAQ]:https://opensource.microsoft.com/codeofconduct/faq/
[opencode@microsoft.com]:mailto:opencode@microsoft.com
[#669]:https://github.com/Microsoft/vscode-mssql/issues/669

Просмотреть файл

@ -1,7 +1,7 @@
{
"name": "mssql",
"displayName": "mssql",
"version": "0.2.0",
"version": "0.2.1",
"description": "Develop Microsoft SQL Server, Azure SQL Database and SQL Data Warehouse everywhere",
"publisher": "ms-mssql",
"preview": true,

Просмотреть файл

@ -419,12 +419,16 @@ export class SqlOutputContentProvider implements vscode.TextDocumentContentProvi
let encodedUri = encodeURIComponent(uri.toString());
console.log(`${LocalWebService.getEndpointUri(Interfaces.ContentType.Root)}?uri=${encodedUri}`);
// return dummy html content that redirects to 'http://localhost:<port>' after the page loads
// Fix for issue #669 "Results Panel not Refreshing Automatically" - always include a unique time
// so that the content returned is different. Otherwise VSCode will not refresh the document since it
// thinks that there is nothing to be updated.
let timeNow = new Date().getTime();
return `
<html>
<head>
<script type="text/javascript">
window.onload = function(event) {
console.log('reloaded results window at time ${timeNow}ms');
var doc = document.documentElement;
var styles = window.getComputedStyle(doc);
var backgroundcolor = styles.getPropertyValue('--background-color');

Просмотреть файл

@ -1,6 +1,16 @@
<html><head></head>
<body><div id="markdown-container"><h1 id="0">Change Log</h1>
<h2 id="7">Version 0.2.1</h2>
<ul>
<li>Release date: February 2, 2016</li>
<li>Release status: Public Preview</li>
</ul>
<h2 id="8">What's new in this version</h2>
<ul>
<li>HotFix for issue #669 "Results Panel not Refreshing Automatically". This issue impacts users on VSCode 1.9.0 or greater.</li>
</ul>
<h2 id="7">Version 0.2.0</h2>
<ul>
<li>Release date: December, 2016</li>