Commit Graph
32 Commits
Author SHA1 Message Date
Benjamin Russell 938ebb69e0 Adding SRGen to build scripts (#45)
* Adding SRGen to build scripts

Adding support for sr.strings files. sr.strings files can be converted
into .resx and designer cs files by running the SRGen Cake target
Adding a new target to Cake script to run SRGen. SRGen is pulled down as a
nuget package for Cake and executes from the .tools folder.
Adding Cake temp environment to the gitignore
Adding the cake scripts to the sqltoolsservice solution file

* Fixes from pull request comments

* Fix as per @llali

* Actual changes as per @llali

* removing platform type from netcore dependency
2016-09-14 10:29:34 -07:00
Benjamin Russell 92eb1376c1 Fixing column datatype issues (#48)
This was an issue where non-string types were being read back as strings (ie, int was read back as a string) resulting in the objects coming back being completely unintelligible values. It was a very simple issue where the column datatype wasn't being set correctly in our wrapper type.
2016-09-13 15:48:30 -07:00
Benjamin Russell 9e492f19f9 Fixing broken OSX unit test caused by inability to hide files on unix (#41) 2016-09-09 15:02:45 -07:00
Benjamin Russell 8aa3d524fc Feature: Writing Execute Results to Temp File (#35)
* WIP for buffering in temporary file

* Adding support for writing to disk for buffering

* WIP - Adding file reader, factory for reader/writer

* Making long list use generics and implement IEnumerable

* Reading/Writing from file is working

* Removing unused 'skipValue' logic

* More tweaks to file buffer

Adding logic for cleaning up the temp files
Adding fix for empty/null column names

* Adding comments and cleanup

* Unit tests for FileStreamWrapper

* WIP adding more unit tests, and finishing up wiring up the output writers

* Finishing up initial unit tests

* Fixing bugs with long fields

* Squashed commit of the following:

commit df0ffc12a46cb286d801d08689964eac08ad71dd
Author: Benjamin Russell <beruss@microsoft.com>
Date:   Wed Sep 7 14:45:39 2016 -0700

    Removing last bit of async for file writing.

    We're seeing a 8x improvement of file write speeds!

commit 08a4b9f32e825512ca24d5dc03ef5acbf7cc6d94
Author: Benjamin Russell <beruss@microsoft.com>
Date:   Wed Sep 7 11:23:06 2016 -0700

    Removing async wrappers

* Rolling back test code for Program.cs

* Changes as per code review

* Fixing broken unit tests

* More fixes for codereview
2016-09-08 17:55:11 -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
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
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
benrr101 c719ed4598 Moving to official moq version 2016-08-19 15:42:05 -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
benrr101 8a8104b4cf Fixing bug where select returns no messages 2016-08-18 15:14:38 -07:00
benrr101 45daa6b2d7 Merge branch 'dev' into feature/queryExecuteServerMessages 2016-08-18 14:43:37 -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
Benjamin Russell c38ca5f6b8 Merge pull request #17 from Microsoft/bug/exceptionLoop
Fix: Infinite Exception Loop, Plaintext Password Logging, Ever-expanding Message Buffer
2016-08-16 12:36:03 -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 3981b1d544 Merge pull request #16 from Microsoft/feature/queryExecuteServerMessages
Server Message Support for Query Execution
2016-08-15 14:18:09 -07:00
Benjamin Russell 20e465c528 Merge pull request #15 from Microsoft/feature/queryExecutionV1
Query Execution v1
2016-08-10 16:44:34 -07:00
Benjamin Russell a751e30a32 Merge pull request #13 from Microsoft/feature/queryExecutionV1_cr
ConnectionService ISqlConnection -> DbConnection
2016-08-03 14:56:20 -07:00
Benjamin Russell 2df5ebfdb8 Merge pull request #12 from Microsoft/feature/fixProjectNames
Feature/fix project names
2016-07-29 18:42:36 -07:00
Benjamin Russell e2ac321a2f Merge pull request #8 from Microsoft/feature/componentizeServiceHost
Feature/componentize service host
2016-07-25 16:35:39 -07:00
Benjamin Russell c84dfa34cc Merge pull request #7 from Microsoft/feature/vs2015Solution
Merging feature/vs2015Solution branch from pull request.
2016-07-20 12:08:04 -07:00
benrr101 5517d9da81 Removing dead csproj file 2016-07-19 16:15:21 -07:00
benrr101 2a6a33fc11 Adding VS2015 support for ServiceHost project
Creating the standard sln flies for the root of the sqltoolsservice
project and adding xproj files for the individual projects.

Has been confirmed to open and build with VS2015. xUnit tests will work,
but only from Test Explorer (ie, ReSharper test runner doesn't work with
dnx)

Note: This may be subject to change as new standards for .NET Core project
files are developed. See dotnet/roslyn-project-system#37 for more details.
2016-07-19 14:56:44 -07:00
benrr101 99414a4789 Merge branch 'master' into dev 2016-07-18 17:25:58 -07:00