Commit Graph

1548 Commits

Author SHA1 Message Date
Jordan Hays
8eedac2b82 fixing .gitattributes to ignore line ending changes between working directories and source repo. (#1607) 2022-07-28 10:35:26 -07:00
Alan Ren
bfa40e86e4 handle null ref exceptions in managed parser (#1606)
* handle null ref exceptions

* add comment
2022-07-27 18:35:54 -07:00
Cory Rivera
46e3c5270e Use reserved namespace for dotnet tool projects. (#1604) 2022-07-27 14:55:01 -07:00
Kim Santiago
3316c0f9c2 update DacFx version to get schema compare fix (#1599) 2022-07-22 18:47:42 -07:00
Alan Ren
08c74be51f make the message processing truely async (#1596) 2022-07-21 16:58:03 -07:00
Hai Cao
fc2d1300fd A few table designer fixes (#1581)
* enable index rename

* use SystemName to fix constraint name validator
2022-07-21 16:25:35 -07:00
Cory Rivera
887b23e9a1 Add better package names for dotnet tool projects (#1595) 2022-07-21 13:06:22 -07:00
Vladimir Chernov
2ae0d99900 SqlAssessment update to 1.1.9 (#1593)
* Sql Assessment version update to 1.1.9

* Unit test fix

* integration test fix
2022-07-19 15:19:39 -07:00
Charles Gagnon
693bb0480a TreeNodeGenerator -> SmoTreeNodes (#1579)
* TreeNodeGenerator -> SmoTreeNodes

* space
2022-07-19 12:46:21 -07:00
Charles Gagnon
779339723f Revert "Sql Assessment version update to 1.1.9 (#1584)" (#1592)
This reverts commit 23531f8421.
2022-07-19 11:24:38 -07:00
Charles Gagnon
70f7b16129 Test cleanup (#1588)
* Test cleanup

* fix compile

* Fix tests
2022-07-19 09:59:28 -07:00
Charles Gagnon
702682b25b Fix packages validation comment workflow permissions (#1590) 2022-07-19 09:20:03 -07:00
Vladimir Chernov
23531f8421 Sql Assessment version update to 1.1.9 (#1584) 2022-07-19 08:56:21 -07:00
Cory Rivera
6ab19746c2 Add separate version numbers for dotnet tool projects. (#1589) 2022-07-18 17:10:11 -07:00
Charles Gagnon
15689b3c7c Add 2019 and 2022 to SqlServerType enum (#1583)
* Add 2019 and 2022 to SqlServerType enum

* Add note

* Add tests

* Fix template generation
2022-07-18 16:35:17 -07:00
Alan Ren
591d308205 new dacfx version (#1587)
* pre-load database model

* revert pre-loading
2022-07-18 16:34:25 -07:00
Charles Gagnon
82118f6431 Add code coverage reporting (#1585)
* Add code coverage

* fix and add publishTestResults

* Use PublishTestResults

* Add coverlet.msbuild

* Generate report

* Update coverage report location

* Add one more
2022-07-18 15:31:47 -07:00
Alan Ren
d636065b85 vbump STS (#1586) 2022-07-18 14:17:14 -07:00
Cory Rivera
8f9e3fe999 Add build task to create dotnet tools for SQL Tools and Kusto services. (#1582) 2022-07-18 12:49:21 -07:00
Alex Ma
1bcb0c211e [Loc] small update to xlfs (#1580) 2022-07-14 17:14:00 -07:00
Alex Hsu
7ba0d9064a LEGO: Merge pull request 1577
LEGO: Merge pull request 1577
2022-07-14 08:34:31 -07:00
Alex Ma
6c7738186c [Loc] update to sr resx (#1576) 2022-07-13 16:37:53 -07:00
Alex Hsu
89da7a8aa5 LEGO: Merge pull request 1575
LEGO: Merge pull request 1575
2022-07-13 08:36:08 -07:00
Cory Rivera
c3b5831c89 Add dotnet tool build steps to SQL Tools & Kusto csproj files. (#1573) 2022-07-12 16:18:11 -07:00
Alex Ma
ae90a06026 [Loc] Xlf update 7-11-22 (#1572) 2022-07-11 18:27:21 -07:00
Aasim Khan
e68124b4d5 Adding more top operations columns and fixing some column values (#1571)
* Adding more rules for prop

* adding top operations to ep

* Reverting changes made to display cost

* Fixing comments

* Removing whitespace

* Fixing data size property

* Adding const keys, fixing to table data, adding more info

* Removing undeclared prop
2022-07-11 14:05:20 -07:00
Alex Hsu
a6e9f1a6cf LEGO: Merge pull request 1570
LEGO: Merge pull request 1570
2022-07-09 08:36:10 -07:00
Alex Ma
7534d7f50b [Loc] update to xlfs and resx 7-8-2022 (#1569) 2022-07-08 17:06:46 -07:00
Alex Hsu
2d90b472b2 LEGO: Merge pull request 1568
LEGO: Merge pull request 1568
2022-07-08 08:35:27 -07:00
Alex Ma
e28ee805e4 [Loc] update to xlfs and resx for 7-7-2022 (#1567) 2022-07-07 17:25:27 -07:00
Sai Avishkar Sreerama
5663ddba68 OptionsMapTable preparing from DacFx description,value,displayname at… (#1550)
* OptionsMapTable preparing from DacFx description,value,displayname attributes

* Review Comments addressed for options map table changes

* OptionsMapTable final changes

* Code review comments updated code changes

* Test fix: Adding missing change while splitting the PR

* DacFx vBump

* Reverted to displayName and code updates

* final:prop name changed, references updated, tests fixed, comments addressed

* Code review comments updated for name,exception etc

* updates method names

* property name changes to BooleanOptionsDictionary and comment updates

* Removed the unused properties, null cases handeled, hardcoded values are replaced
2022-07-07 16:56:16 -05:00
Alex Hsu
6558f2036d LEGO: Merge pull request 1566
LEGO: Merge pull request 1566
2022-07-07 08:35:44 -07:00
Charles Gagnon
ac9f88266c BatchParser target netstandard2.0 and remove Hosting dependency (#1564)
* Remove Hosting dependency from BatchParser, wip for logging replacement

* netstandard2.0 and fixes

* comment + cleanup

* comment

* fix build

* Update newtonsoft

* localize errors
2022-07-06 15:26:06 -07:00
Aasim Khan
e64e31e487 Adding top operations to execution plan (#1563)
* Adding more rules for prop

* adding top operations to ep

* Reverting changes made to display cost

* Fixing comments

* Removing whitespace

* Fixing data size property
2022-07-05 20:18:24 -07:00
Cory Rivera
671310880b Clean up notebook export code (#1565)
* Add null checks when converting notebooks to SQL, and SQL to notebooks.

* Remove unnecessary newlines and spaces from multi-line comments.

* Use the current environment's newline characters when converting cell text to a SQL query.

* Add additional unit tests for notebook conversion.
2022-07-01 15:28:05 -07:00
Alan Ren
2c783a4011 use file path instead of content in the request (#1562)
* use file path instead of content in the request

* remove unused using statement
2022-06-30 15:19:56 -07:00
Alan Ren
0b3c86cde8 add parse t-sql script handler (#1561)
* add parse t-sql script handler

* handle error
2022-06-30 11:05:38 -07:00
Alex Ma
deae354f31 Fix for rowId not decrementing if reverting an create row (#1560)
* Decrement NextRowId if reverting addition of a row that is not committed yet.

* added test and message

* added fixed and extensive tests

* added assert messages
2022-06-27 14:47:46 -07:00
Lewis Sanchez
b24202a762 Updating Newtonsoft package to version 13.0.1 (#1559)
* Forcing newtonsoft to version 13.0.1

* Updates addin Newtonsoft.Json package version to 13.0.1

* Update Newtonsoft.Json package version to 13.0.1
2022-06-27 11:01:49 -07:00
Karl Burtram
e6d9163f9d Add nuget package for osx-arm64 (#1555) 2022-06-21 22:52:08 -07:00
Sai Avishkar Sreerama
0b2eb44769 These changes needs to remove from main and have to merge with other changes. (#1552) 2022-06-21 12:34:44 -07:00
ssreerama
1de6c6070a Merge branch 'main' of https://github.com/microsoft/sqltoolsservice 2022-06-21 12:06:52 -07:00
ssreerama
8d32704823 Getting include objects types names from the DacFx to avoid the duplication and hardcoded values in the ADS 2022-06-21 12:06:31 -07:00
Charles Gagnon
c64c32967f Add event TID to SqlClient events (#1549) 2022-06-21 11:09:52 -07:00
Charles Gagnon
dd11be3d38 Consolidate to net6.0 (#1547)
* Add SqlClient event listener

* comments

* ensure not disposed early

* initial

* net6.0

* undo
2022-06-21 08:53:23 -07:00
Karl Burtram
c2a238acb3 Add osx-arm runtime to build (#1545) 2022-06-20 19:30:53 -07:00
Alex Ma
a8bf275e04 [Loc] update to sr xlf for 6/20/2022 (#1548) 2022-06-20 16:51:04 -07:00
csigs
fb5ea303bc LEGO: Merge pull request 1546
LEGO: Merge pull request 1546
2022-06-20 08:35:43 -07:00
Charles Gagnon
d9e1678694 Add SqlClient event listener (#1544)
* Add SqlClient event listener

* comments

* ensure not disposed early
2022-06-17 20:06:09 -07:00
Alan Ren
afb2245be1 localize the rule descriptions (#1543) 2022-06-17 13:54:06 -07:00