chemistry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From f...@apache.org
Subject svn commit: r1691930 - in /chemistry/portcmis/trunk: PortCMIS/Properties/AssemblyInfo.cs PortCMIS/binding/browser/json/Json.cs PortCMISTests/PortCMISTests.csproj PortCMISTests/portcmis.snk
Date Mon, 20 Jul 2015 13:23:15 GMT
Author: fmui
Date: Mon Jul 20 13:23:15 2015
New Revision: 1691930

URL: http://svn.apache.org/r1691930
Log:
marked JSON parser classes as internal

Added:
    chemistry/portcmis/trunk/PortCMISTests/portcmis.snk   (with props)
Modified:
    chemistry/portcmis/trunk/PortCMIS/Properties/AssemblyInfo.cs
    chemistry/portcmis/trunk/PortCMIS/binding/browser/json/Json.cs
    chemistry/portcmis/trunk/PortCMISTests/PortCMISTests.csproj

Modified: chemistry/portcmis/trunk/PortCMIS/Properties/AssemblyInfo.cs
URL: http://svn.apache.org/viewvc/chemistry/portcmis/trunk/PortCMIS/Properties/AssemblyInfo.cs?rev=1691930&r1=1691929&r2=1691930&view=diff
==============================================================================
--- chemistry/portcmis/trunk/PortCMIS/Properties/AssemblyInfo.cs (original)
+++ chemistry/portcmis/trunk/PortCMIS/Properties/AssemblyInfo.cs Mon Jul 20 13:23:15 2015
@@ -28,3 +28,5 @@ using System.Runtime.InteropServices;
 // [assembly: AssemblyVersion("1.0.*")]
 [assembly: AssemblyVersion("0.0.1.0")]
 [assembly: AssemblyFileVersion("0.0.1.0")]
+
+[assembly: InternalsVisibleTo("PortCMISTests, PublicKey=00240000048000009400000006020000002400005253413100040000010001009d683e19351b40a22bd055347c57c5fdf38ee9d87f1cafdc5860cd7bee5e1602715def553cfa26afd81457b8b7e30b870d0fb9525db6875b95ecfcbb5a65408304cf4d792397f9c83ebb1e529a39fb2bacef51e9a160618e6f3b7d0ad3a377fa7a3ee2e9534d5b2e9e1eeeb71a6595e09c242e9faf76fb64083189c9081ef7be")]
\ No newline at end of file

Modified: chemistry/portcmis/trunk/PortCMIS/binding/browser/json/Json.cs
URL: http://svn.apache.org/viewvc/chemistry/portcmis/trunk/PortCMIS/binding/browser/json/Json.cs?rev=1691930&r1=1691929&r2=1691930&view=diff
==============================================================================
--- chemistry/portcmis/trunk/PortCMIS/binding/browser/json/Json.cs (original)
+++ chemistry/portcmis/trunk/PortCMIS/binding/browser/json/Json.cs Mon Jul 20 13:23:15 2015
@@ -37,7 +37,7 @@ namespace PortCMIS.Binding.Browser.Json
     /// <summary>
     /// JSON stream interface.
     /// </summary>
-    public interface IJsonStreamAware
+    internal interface IJsonStreamAware
     {
         void WriteJsonString(TextWriter writer);
     }
@@ -45,7 +45,7 @@ namespace PortCMIS.Binding.Browser.Json
     /// <summary>
     /// JSON Value helpers.
     /// </summary>
-    public class JsonValue
+    internal class JsonValue
     {
         public static void WriteJsonString(object value, TextWriter writer)
         {
@@ -186,7 +186,7 @@ namespace PortCMIS.Binding.Browser.Json
     /// <summary>
     /// JSON object.
     /// </summary>
-    public class JsonObject : IJsonStreamAware, IEnumerable<KeyValuePair<string, object>>
+    internal class JsonObject : IJsonStreamAware, IEnumerable<KeyValuePair<string,
object>>
     {
         private Dictionary<string, KeyValuePair<string, object>> dict = new Dictionary<string,
KeyValuePair<string, object>>();
         private List<KeyValuePair<string, object>> list = new List<KeyValuePair<string,
object>>();
@@ -373,7 +373,7 @@ namespace PortCMIS.Binding.Browser.Json
     /// <summary>
     /// JSON array.
     /// </summary>
-    public class JsonArray : List<object>, IJsonStreamAware
+    internal class JsonArray : List<object>, IJsonStreamAware
     {
         public JsonArray()
         {
@@ -413,7 +413,7 @@ namespace PortCMIS.Binding.Browser.Json
     /// <summary>
     /// JSON parser.
     /// </summary>
-    public class JsonParser
+    internal class JsonParser
     {
         public const int StatusInit = 0;
         public const int StatusInFinishedValue = 1; // string, number, boolean, null, object,
array
@@ -645,7 +645,7 @@ namespace PortCMIS.Binding.Browser.Json
     /// <summary>
     /// JSON parser exception.
     /// </summary>
-    public class JsonParseException : Exception
+    internal class JsonParseException : Exception
     {
         public const int ErrorUnexpectedChar = 0;
         public const int ErrorUnexpectedToken = 1;

Modified: chemistry/portcmis/trunk/PortCMISTests/PortCMISTests.csproj
URL: http://svn.apache.org/viewvc/chemistry/portcmis/trunk/PortCMISTests/PortCMISTests.csproj?rev=1691930&r1=1691929&r2=1691930&view=diff
==============================================================================
--- chemistry/portcmis/trunk/PortCMISTests/PortCMISTests.csproj (original)
+++ chemistry/portcmis/trunk/PortCMISTests/PortCMISTests.csproj Mon Jul 20 13:23:15 2015
@@ -34,6 +34,12 @@
     <ErrorReport>prompt</ErrorReport>
     <WarningLevel>4</WarningLevel>
   </PropertyGroup>
+  <PropertyGroup>
+    <SignAssembly>true</SignAssembly>
+  </PropertyGroup>
+  <PropertyGroup>
+    <AssemblyOriginatorKeyFile>portcmis.snk</AssemblyOriginatorKeyFile>
+  </PropertyGroup>
   <ItemGroup>
     <Reference Include="System" />
     <Reference Include="System.Numerics" />
@@ -65,6 +71,9 @@
       <Name>PortCMIS</Name>
     </ProjectReference>
   </ItemGroup>
+  <ItemGroup>
+    <None Include="portcmis.snk" />
+  </ItemGroup>
   <Choose>
     <When Condition="'$(VisualStudioVersion)' == '10.0' And '$(IsCodedUITest)' == 'True'">
       <ItemGroup>

Added: chemistry/portcmis/trunk/PortCMISTests/portcmis.snk
URL: http://svn.apache.org/viewvc/chemistry/portcmis/trunk/PortCMISTests/portcmis.snk?rev=1691930&view=auto
==============================================================================
Binary file - no diff available.

Propchange: chemistry/portcmis/trunk/PortCMISTests/portcmis.snk
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream



Mime
View raw message