Skip to content

Commit

Permalink
Merge pull request #70 from datalust/dev
Browse files Browse the repository at this point in the history
5.1.1 Release
  • Loading branch information
nblumhardt authored Sep 13, 2019
2 parents 42fec67 + cf85825 commit 2daaed2
Show file tree
Hide file tree
Showing 28 changed files with 596 additions and 177 deletions.
Binary file removed asset/getseq_net.ico
Binary file not shown.
14 changes: 0 additions & 14 deletions example/SeqQuery/App.config

This file was deleted.

2 changes: 1 addition & 1 deletion example/SeqQuery/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ static void Main(string[] args)
var server = arguments["<server>"].ToString();
var query = Normalize(arguments["<query>"]);
var apiKey = Normalize(arguments["--apikey"]);
var @from = Normalize(arguments["--from"]);
var from = Normalize(arguments["--from"]);
var to = Normalize(arguments["--to"]);

await Run(server, apiKey, query, from, to);
Expand Down
4 changes: 0 additions & 4 deletions example/SeqQuery/SeqQuery.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@
<OutputType>Exe</OutputType>
</PropertyGroup>

<ItemGroup>
<None Include="App.config" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\..\src\Seq.Api\Seq.Api.csproj" />
</ItemGroup>
Expand Down
Binary file removed example/SeqQuery/getseq_net.ico
Binary file not shown.
14 changes: 0 additions & 14 deletions example/SeqTail/App.config

This file was deleted.

6 changes: 3 additions & 3 deletions example/SeqTail/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ static void Main(string[] args)
Console.WriteLine("Tailing, press Ctrl+C to exit.");
Console.CancelKeyPress += (s,a) => cancel.Cancel();

var run = Task.Run(() => Run(server, apiKey, filter, cancel));
var run = Task.Run(() => Run(server, apiKey, filter, cancel), cancel.Token);

run.GetAwaiter().GetResult();
}
Expand Down Expand Up @@ -78,8 +78,8 @@ static async Task Run(string server, string apiKey, string filter, CancellationT
using (var stream = await connection.Events.StreamAsync<JObject>(filter: strict))
{
var subscription = stream
.Select(jObject => LogEventReader.ReadFromJObject(jObject))
.Subscribe(evt => Log.Write(evt), () => cancel.Cancel());
.Select(LogEventReader.ReadFromJObject)
.Subscribe(Log.Write, cancel.Cancel);

cancel.Token.WaitHandle.WaitOne();
subscription.Dispose();
Expand Down
4 changes: 0 additions & 4 deletions example/SeqTail/SeqTail.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@
<OutputType>Exe</OutputType>
</PropertyGroup>

<ItemGroup>
<None Include="App.config" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\..\src\Seq.Api\Seq.Api.csproj" />
</ItemGroup>
Expand Down
Binary file removed example/SeqTail/getseq_net.ico
Binary file not shown.
14 changes: 0 additions & 14 deletions example/SignalCopy/App.config

This file was deleted.

4 changes: 0 additions & 4 deletions example/SignalCopy/SignalCopy.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@
<OutputType>Exe</OutputType>
</PropertyGroup>

<ItemGroup>
<None Include="App.config" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\..\src\Seq.Api\Seq.Api.csproj" />
</ItemGroup>
Expand Down
Binary file removed example/SignalCopy/getseq_net.ico
Binary file not shown.
12 changes: 5 additions & 7 deletions seq-api.sln
Original file line number Diff line number Diff line change
@@ -1,17 +1,12 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.26403.3
# Visual Studio Version 16
VisualStudioVersion = 16.0.29230.47
MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{B36BE973-6D5B-4DAA-BF42-F1CF11D6F18E}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "example", "example", "{1C66E116-DC21-4C8F-833E-A4C2DDF58487}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "asset", "asset", "{233C7E7D-26DE-452A-A415-44F99CBA18E7}"
ProjectSection(SolutionItems) = preProject
asset\getseq_net.ico = asset\getseq_net.ico
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "global", "global", "{7DCED657-7E83-4E6F-AB14-5753E044304D}"
ProjectSection(SolutionItems) = preProject
appveyor.yml = appveyor.yml
Expand Down Expand Up @@ -69,4 +64,7 @@ Global
{42CEBFBA-208F-40F1-AC95-13F05F6D5412} = {1C66E116-DC21-4C8F-833E-A4C2DDF58487}
{E8CDDE17-8E29-4EB4-A4BB-38BCE346A752} = {1C66E116-DC21-4C8F-833E-A4C2DDF58487}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {20BAB483-FB94-4373-8E4C-0F846B6DBFFC}
EndGlobalSection
EndGlobal
16 changes: 15 additions & 1 deletion seq-api.sln.DotSettings
Original file line number Diff line number Diff line change
@@ -1,2 +1,16 @@
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/Abbreviations/=AD/@EntryIndexedValue">AD</s:String></wpf:ResourceDictionary>
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/Abbreviations/=AD/@EntryIndexedValue">AD</s:String>
<s:Boolean x:Key="/Default/UserDictionary/Words/=apikey/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Datalust/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=dstkey/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=hrefs/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Parameterize/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=permalinked/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=permalinks/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Permalinks/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Reentrant/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Serilog/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=srckey/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Unsubscriber/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Workspaces/@EntryIndexedValue">True</s:Boolean>
</wpf:ResourceDictionary>
Loading

0 comments on commit 2daaed2

Please sign in to comment.