Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
asbjornu committed Dec 17, 2014
2 parents 3546ed8 + 7c05574 commit f45d2fe
Show file tree
Hide file tree
Showing 23 changed files with 655 additions and 245 deletions.
241 changes: 241 additions & 0 deletions src/SharpRaven.sln.DotSettings
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,247 @@
<s:String x:Key="/Default/CodeStyle/CodeFormatting/XmlFormatter/ProcessingInstructionAttributesFormat/@EntryValue">OnSingleLine</s:String>
<s:String x:Key="/Default/CodeStyle/CodeFormatting/XmlFormatter/TagAttributeIndenting/@EntryValue">ByFirstAttr</s:String>
<s:String x:Key="/Default/CodeStyle/CodeFormatting/XmlFormatter/TagAttributesFormat/@EntryValue">OnSingleLine</s:String>
<s:String x:Key="/Default/CodeStyle/CSharpMemberOrderPattern/CustomPattern/@EntryValue">&lt;?xml version="1.0" encoding="utf-8" ?&gt;&#xD;
&lt;Patterns xmlns="urn:shemas-jetbrains-com:member-reordering-patterns"&gt;&#xD;
&lt;!--Do not reorder COM interfaces and structs marked by StructLayout attribute--&gt;&#xD;
&lt;Pattern&gt;&#xD;
&lt;Match&gt;&#xD;
&lt;Or Weight="100"&gt;&#xD;
&lt;And&gt;&#xD;
&lt;Kind Is="interface"/&gt;&#xD;
&lt;HasAttribute CLRName="System.Runtime.InteropServices.InterfaceTypeAttribute"/&gt;&#xD;
&lt;/And&gt;&#xD;
&lt;HasAttribute CLRName="System.Runtime.InteropServices.StructLayoutAttribute"/&gt;&#xD;
&lt;/Or&gt;&#xD;
&lt;/Match&gt;&#xD;
&lt;/Pattern&gt;&#xD;
&#xD;
&lt;!--Default pattern--&gt;&#xD;
&lt;Pattern RemoveAllRegions="true"&gt;&#xD;
&lt;!-- Test Setup Region --&gt;&#xD;
&lt;Entry&gt;&#xD;
&lt;Match&gt;&#xD;
&lt;And&gt;&#xD;
&lt;Kind Is="method"/&gt;&#xD;
&lt;Or&gt;&#xD;
&lt;HasAttribute CLRName="NUnit.Framework.TestFixtureSetUpAttribute" Inherit="true"/&gt;&#xD;
&lt;HasAttribute CLRName="NUnit.Framework.FixtureSetUpAttribute" Inherit="true"/&gt;&#xD;
&lt;HasAttribute CLRName="NUnit.Framework.SetUpAttribute" Inherit="true"/&gt;&#xD;
&lt;HasAttribute CLRName="NUnit.Framework.TearDownAttribute" Inherit="true"/&gt;&#xD;
&lt;HasAttribute CLRName="NUnit.Framework.FixtureTearDownAttribute" Inherit="true"/&gt;&#xD;
&lt;HasAttribute CLRName="NUnit.Framework.TestFixtureTearDownAttribute" Inherit="true"/&gt;&#xD;
&lt;/Or&gt;&#xD;
&lt;/And&gt;&#xD;
&lt;/Match&gt;&#xD;
&lt;Sort&gt;&#xD;
&lt;Name/&gt;&#xD;
&lt;/Sort&gt;&#xD;
&lt;Group Region="Setup/Teardown"/&gt;&#xD;
&lt;/Entry&gt;&#xD;
&#xD;
&lt;!--Test methods--&gt;&#xD;
&lt;Entry&gt;&#xD;
&lt;Match&gt;&#xD;
&lt;And Weight="100"&gt;&#xD;
&lt;Kind Is="method"/&gt;&#xD;
&lt;HasAttribute CLRName="NUnit.Framework.TestAttribute" Inherit="false"/&gt;&#xD;
&lt;/And&gt;&#xD;
&lt;/Match&gt;&#xD;
&lt;Sort&gt;&#xD;
&lt;Name/&gt;&#xD;
&lt;/Sort&gt;&#xD;
&lt;/Entry&gt;&#xD;
&#xD;
&lt;!--Public Delegates--&gt;&#xD;
&lt;Entry&gt;&#xD;
&lt;Match&gt;&#xD;
&lt;And Weight="100"&gt;&#xD;
&lt;Access Is="public"/&gt;&#xD;
&lt;Kind Is="delegate"/&gt;&#xD;
&lt;/And&gt;&#xD;
&lt;/Match&gt;&#xD;
&lt;Sort&gt;&#xD;
&lt;Name/&gt;&#xD;
&lt;/Sort&gt;&#xD;
&lt;Group Region="Delegates"/&gt;&#xD;
&lt;/Entry&gt;&#xD;
&#xD;
&lt;!--Public Enums--&gt;&#xD;
&lt;Entry&gt;&#xD;
&lt;Match&gt;&#xD;
&lt;And Weight="100"&gt;&#xD;
&lt;Access Is="public"/&gt;&#xD;
&lt;Kind Is="enum"/&gt;&#xD;
&lt;/And&gt;&#xD;
&lt;/Match&gt;&#xD;
&lt;Sort&gt;&#xD;
&lt;Name/&gt;&#xD;
&lt;/Sort&gt;&#xD;
&lt;Group&gt;&#xD;
&lt;Name Region="${Name} enum"/&gt;&#xD;
&lt;/Group&gt;&#xD;
&lt;/Entry&gt;&#xD;
&#xD;
&lt;!--Fields and Constants--&gt;&#xD;
&lt;Entry&gt;&#xD;
&lt;Match&gt;&#xD;
&lt;Or&gt;&#xD;
&lt;Kind Is="constant"/&gt;&#xD;
&lt;Kind Is="field"/&gt;&#xD;
&lt;/Or&gt;&#xD;
&lt;/Match&gt;&#xD;
&lt;Sort&gt;&#xD;
&lt;Kind Order="constant field"/&gt;&#xD;
&lt;Static/&gt;&#xD;
&lt;Readonly/&gt;&#xD;
&lt;Name/&gt;&#xD;
&lt;/Sort&gt;&#xD;
&lt;/Entry&gt;&#xD;
&#xD;
&lt;!--Constructors--&gt;&#xD;
&lt;Entry&gt;&#xD;
&lt;Match&gt;&#xD;
&lt;Kind Is="constructor"/&gt;&#xD;
&lt;/Match&gt;&#xD;
&lt;Sort&gt;&#xD;
&lt;Static/&gt;&#xD;
&lt;Access Order="public protected internal private"/&gt;&#xD;
&lt;/Sort&gt;&#xD;
&lt;/Entry&gt;&#xD;
&#xD;
&lt;!--Destructors--&gt;&#xD;
&lt;Entry&gt;&#xD;
&lt;Match&gt;&#xD;
&lt;Kind Is="destructor" Weight="100"/&gt;&#xD;
&lt;/Match&gt;&#xD;
&lt;Sort&gt;&#xD;
&lt;Static/&gt;&#xD;
&lt;Access Order="public protected internal private"/&gt;&#xD;
&lt;/Sort&gt;&#xD;
&lt;/Entry&gt;&#xD;
&#xD;
&lt;!--Special Cases: ActiveRecord Attributes--&gt;&#xD;
&lt;Entry&gt;&#xD;
&lt;Match&gt;&#xD;
&lt;And&gt;&#xD;
&lt;Kind Is="property"/&gt;&#xD;
&lt;HasAttribute CLRName="Castle.ActiveRecord.*"/&gt;&#xD;
&lt;/And&gt;&#xD;
&lt;/Match&gt;&#xD;
&lt;Sort&gt;&#xD;
&lt;Access Order="public protected internal private"/&gt;&#xD;
&lt;Name/&gt;&#xD;
&lt;/Sort&gt;&#xD;
&lt;/Entry&gt;&#xD;
&#xD;
&lt;!--Indexers and Properties--&gt;&#xD;
&lt;Entry&gt;&#xD;
&lt;Match&gt;&#xD;
&lt;Or&gt;&#xD;
&lt;Kind Is="indexer"/&gt;&#xD;
&lt;Kind Is="property"/&gt;&#xD;
&lt;/Or&gt;&#xD;
&lt;/Match&gt;&#xD;
&lt;Sort&gt;&#xD;
&lt;Kind Order="indexer property"/&gt;&#xD;
&lt;Access Order="public protected internal private"/&gt;&#xD;
&lt;Static/&gt;&#xD;
&lt;Virtual/&gt;&#xD;
&lt;Name/&gt;&#xD;
&lt;/Sort&gt;&#xD;
&lt;/Entry&gt;&#xD;
&#xD;
&lt;!--Event Declarations--&gt;&#xD;
&lt;Entry&gt;&#xD;
&lt;Match&gt;&#xD;
&lt;Kind Is="event"/&gt;&#xD;
&lt;/Match&gt;&#xD;
&lt;Sort&gt;&#xD;
&lt;Access Order="public protected internal private"/&gt;&#xD;
&lt;Name/&gt;&#xD;
&lt;/Sort&gt;&#xD;
&lt;/Entry&gt;&#xD;
&#xD;
&lt;!--Special Cases: Page/Control/Master Event Handlers--&gt;&#xD;
&lt;Entry&gt;&#xD;
&lt;Match&gt;&#xD;
&lt;And&gt;&#xD;
&lt;HandlesEvent/&gt;&#xD;
&lt;Or&gt;&#xD;
&lt;Name Is=".*_PreInit"/&gt;&#xD;
&lt;Name Is=".*_Init"/&gt;&#xD;
&lt;Name Is=".*_PreLoad"/&gt;&#xD;
&lt;Name Is=".*_Load"/&gt;&#xD;
&lt;Name Is=".*_PreRender"/&gt;&#xD;
&lt;/Or&gt;&#xD;
&lt;/And&gt;&#xD;
&lt;/Match&gt;&#xD;
&lt;/Entry&gt;&#xD;
&#xD;
&lt;!--Event Handlers--&gt;&#xD;
&lt;Entry&gt;&#xD;
&lt;Match&gt;&#xD;
&lt;HandlesEvent/&gt;&#xD;
&lt;/Match&gt;&#xD;
&lt;Sort&gt;&#xD;
&lt;Access Order="public protected internal private"/&gt;&#xD;
&lt;Abstract/&gt;&#xD;
&lt;Virtual/&gt;&#xD;
&lt;Override/&gt;&#xD;
&lt;Name/&gt;&#xD;
&lt;/Sort&gt;&#xD;
&lt;/Entry&gt;&#xD;
&#xD;
&lt;!--Methods--&gt;&#xD;
&lt;Entry&gt;&#xD;
&lt;Match&gt;&#xD;
&lt;And&gt;&#xD;
&lt;Kind Is="method"/&gt;&#xD;
&lt;Not&gt;&#xD;
&lt;HandlesEvent/&gt;&#xD;
&lt;/Not&gt;&#xD;
&lt;/And&gt;&#xD;
&lt;/Match&gt;&#xD;
&lt;Sort&gt;&#xD;
&lt;Access Order="public protected internal private"/&gt;&#xD;
&lt;Abstract/&gt;&#xD;
&lt;Static/&gt;&#xD;
&lt;Virtual/&gt;&#xD;
&lt;Override/&gt;&#xD;
&lt;Name/&gt;&#xD;
&lt;/Sort&gt;&#xD;
&lt;/Entry&gt;&#xD;
&#xD;
&lt;!--Operators--&gt;&#xD;
&lt;Entry&gt;&#xD;
&lt;Match&gt;&#xD;
&lt;Kind Is="operator"/&gt;&#xD;
&lt;/Match&gt;&#xD;
&lt;Sort&gt;&#xD;
&lt;Access Order="public protected internal private"/&gt;&#xD;
&lt;Name/&gt;&#xD;
&lt;/Sort&gt;&#xD;
&lt;Group Region="Operators"/&gt;&#xD;
&lt;/Entry&gt;&#xD;
&#xD;
&lt;!--All Other Members--&gt;&#xD;
&lt;Entry/&gt;&#xD;
&#xD;
&lt;!--Nested Types--&gt;&#xD;
&lt;Entry&gt;&#xD;
&lt;Match&gt;&#xD;
&lt;Kind Is="type"/&gt;&#xD;
&lt;/Match&gt;&#xD;
&lt;Sort&gt;&#xD;
&lt;Name/&gt;&#xD;
&lt;/Sort&gt;&#xD;
&lt;Group&gt;&#xD;
&lt;Name Region="Nested type: ${Name}"/&gt;&#xD;
&lt;/Group&gt;&#xD;
&lt;/Entry&gt;&#xD;
&lt;/Pattern&gt;&#xD;
&lt;/Patterns&gt;</s:String>
<s:String x:Key="/Default/CodeStyle/CSharpMemberOrderPattern/LayoutType/@EntryValue">CustomLayout</s:String>
<s:String x:Key="/Default/CodeStyle/FileHeader/FileHeaderRegionName/@EntryValue">License</s:String>
<s:String x:Key="/Default/CodeStyle/FileHeader/FileHeaderText/@EntryValue">Copyright (c) 2014 The Sentry Team and individual contributors.&#xD;
All rights reserved.&#xD;
Expand Down
1 change: 0 additions & 1 deletion src/app/SharpRaven/Data/JsonPacket.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@

using System;
using System.Collections.Generic;
using System.Linq;

using Newtonsoft.Json;

Expand Down
Loading

0 comments on commit f45d2fe

Please sign in to comment.