Mitchell Sternke
f6f59f3453
Merge branch 'dev' into feature/connectionChanged
2016-09-02 16:58:59 -07:00
Mitchell Sternke
93bf2af8bb
Fire connection changed event when USE statements are executed
2016-09-02 16:43:32 -07:00
Karl Burtram
baebaeb0c4
Merge pull request #34 from Microsoft/feature/testSmo
...
Enable SMO-based autocomplete
2016-09-02 12:02:31 -07:00
Karl Burtram
1b7e27fe76
Get SqlConnection from casting DbConnection
2016-09-02 11:41:41 -07:00
Karl Burtram
e5367416b8
Merge branch 'dev' into feature/testSmo
2016-09-01 09:59:20 -07:00
Karl Burtram
547c050a1c
Remove dead code
2016-09-01 00:26:38 -07:00
Karl Burtram
1332fd112e
Clean-up the autocomplete SMO integration.
2016-09-01 00:23:39 -07:00
Mitchell Sternke
a30ff33187
Addressing code review feedback
2016-08-31 16:04:04 -07:00
Karl Burtram
f88619c09e
Update unit tests to fix failures from autocomplete refactoring
2016-08-31 12:25:07 -07:00
Mitchell Sternke
3fe6e330fe
Added support for most sql connection string properties
2016-08-30 17:31:34 -07:00
Karl Burtram
99ab6406d2
Integrate SMO .Net core into SQL Tools Service project
2016-08-26 10:15:23 -07:00
Mitchell Sternke
015bb26d9a
Merge branch 'dev' into feature/listDatabases
2016-08-25 16:52:35 -07:00
Karl Burtram
b8329a7986
Merge branch 'dev' into feature/testSmo
2016-08-24 23:04:24 -07:00
Karl Burtram
89ca0c1fde
Inital SMO autocomplete commit
2016-08-24 23:03:43 -07:00
Mitchell Sternke
b4df9de238
Convert member to property
2016-08-24 16:06:40 -07:00
Mitchell Sternke
7d3d593a80
Added request to list databases on the server for the current connection
2016-08-24 16:03:08 -07:00
Leila Lali
02518e022e
Merge pull request #30 from Microsoft/feature/languageclient20
...
Upgrading to language server protocol 2.0
2016-08-24 16:02:27 -07:00
Benjamin Russell
df1772ff45
Merge pull request #25 from Microsoft/feature/queryBatchProcessing
...
Feature: Batch Separator Support for Query Execution
2016-08-24 15:28:32 -07:00
Benjamin Russell
0371e17028
Changes to fix code review comments and bug with handling empty batches
2016-08-24 15:25:13 -07:00
Leila Lali
d96b4e5a4a
Changing the format of the messages to be based on language server protocol 2.0
2016-08-24 15:16:43 -07:00
Mitchell Sternke
aac9f40ad2
Merge pull request #27 from Microsoft/feature/connectionInnerExceptions
...
Added inner exceptions on connection failure and fixed a param validation bug
2016-08-23 10:25:58 -07:00
Mitchell Sternke
14399ede65
Added inner exceptions on connection failure and fixed a param validation bug
2016-08-22 16:26:02 -07:00
Leila Lali
ebfc5c57a5
Fixing some issues, added documents
2016-08-22 15:32:41 -07:00
Leila Lali
3f1d3cb9db
Added a new request handler to return back the service version
2016-08-22 15:08:44 -07:00
benrr101
48c7bbaa9f
Changing SqlParser version to a version with internals visible
2016-08-22 13:41:41 -07:00
benrr101
51defc1032
Adding correct line numbers for errors
2016-08-22 13:04:12 -07:00
benrr101
91ed9aea59
Cleanup for comments/copyright
2016-08-22 12:04:43 -07:00
Mitchell Sternke
4631f2083e
Merge pull request #23 from Microsoft/bug/intellisenseCacheTestFix
...
Fixed bug in intellisense cache test
2016-08-22 10:25:25 -07:00
benrr101
943c7b9569
Wrapping up batch separation
...
Adding unit tests
Fixing things that got brought up from the unit tests
2016-08-19 18:24:20 -07:00
Mitchell Sternke
a5992997e1
Removed factory from AutoCompleteService
2016-08-19 17:53:49 -07:00
benrr101
1360fe7bde
Merge branch 'dev' into feature/queryBatchProcessing
2016-08-19 15:31:02 -07:00
Benjamin Russell
22a2e113e5
Merge pull request #22 from Microsoft/feature/queryExecuteServerMessages
...
Bug fix: Messages not returned on SELECT queries
2016-08-19 15:23:00 -07:00
benrr101
f72ae9ac07
WIP adding unit tests for batch processing
2016-08-19 15:22:10 -07:00
benrr101
7202a7ed65
WIP update to support batch processing
2016-08-18 17:49:16 -07:00
Karl Burtram
cd2488e148
Update Microsoft.SqlServer.SqlParser nuget package version
2016-08-18 15:30:11 -07:00
benrr101
8a8104b4cf
Fixing bug where select returns no messages
2016-08-18 15:14:38 -07:00
benrr101
dee490341d
Stubbing out query execution settings
...
Adding a setting for batch separator.
Very small refactor to WorkspaceService that will create the basic
settings upon construction of the object.
2016-08-17 18:24:20 -07:00
Benjamin Russell
e9814435d8
Merge pull request #18 from Microsoft/feature/queryCancellation
...
Adding support for query cancellation
2016-08-16 16:15:13 -07:00
benrr101
709123eaaf
Final iteration, fixing a couple mistakes for query exceptions
2016-08-16 16:14:27 -07:00
Mitchell Sternke
e33df61dc3
Addressing code review feedback
2016-08-16 15:53:00 -07:00
Mitchell Sternke
c80a90331d
Added initial tests for the connection manager's intellisense cache
2016-08-16 15:32:36 -07:00
Mitchell Sternke
6ffdf644ba
Addressing code review feedback
2016-08-16 15:27:26 -07:00
Mitchell Sternke
a6cc14d31f
Cleaned up connection management code
2016-08-16 13:48:36 -07:00
benrr101
71d852ba07
Renaming the hosting error method
2016-08-16 12:35:39 -07:00
benrr101
981c144bfe
Merge branch 'dev' into bug/exceptionLoop
2016-08-16 12:29:02 -07:00
benrr101
9fa183ea6d
Fixing String.Format to string.Format
2016-08-16 12:28:52 -07:00
Benjamin Russell
062c40368d
Adding support for query cancellation
...
Query cancellation support is added via CancellationToken mechanisms that
were implemented previously. This change adds a new request type
"query/cancel" that will issue the cancellation token. Unit tests were
also added.
2016-08-15 15:23:07 -07:00
Benjamin Russell
1acc8c9122
Fixing up error logging
...
Fixing issue where plaintext passwords could be written to logs
Fixing up todo issues where error events needed to be passed back from the
service layer when the hosting component fails.
2016-08-12 17:38:41 -07:00
Benjamin Russell
fe79f6e85c
Fixing infinite exception loop bug
...
Fixing issue where submitting a malformed JSON RPC request results in the
message reader entering into an infinite loop of throwing and catching
exceptions without reading anything from the input stream.
At the same time, this change also fixes a potential memory leak where the
message read buffer is never reinstantiated or shrunk. This issue is fixed
by shifting buffer contents after a message was read successfully, or if
an error occurs during parsing.
2016-08-12 15:37:16 -07:00
Benjamin Russell
c596a0db7a
Small tweaks to query execution
...
* Adding comments where missing
* Adding "# rows affected" only if there was 0 or more
2016-08-11 17:41:18 -07:00