diff --git a/NzbDrone.Web/Controllers/MissingController.cs b/NzbDrone.Web/Controllers/MissingController.cs index 0afc635bc..d1045c68d 100644 --- a/NzbDrone.Web/Controllers/MissingController.cs +++ b/NzbDrone.Web/Controllers/MissingController.cs @@ -8,6 +8,7 @@ using NzbDrone.Core; using NzbDrone.Core.Helpers; using NzbDrone.Core.Providers; using NzbDrone.Web.Models; +using ServiceStack.Text; namespace NzbDrone.Web.Controllers { @@ -37,8 +38,7 @@ namespace NzbDrone.Web.Controllers AirDateString = e.AirDate.Value.ToBestDateString() }); - //var serialized = new JavaScriptSerializer().Serialize(missing); - + JsConfig.IncludeNullValues = true; return View(missing); } } diff --git a/NzbDrone.Web/NzbDrone.Web.csproj b/NzbDrone.Web/NzbDrone.Web.csproj index 54982fe89..50684aff3 100644 --- a/NzbDrone.Web/NzbDrone.Web.csproj +++ b/NzbDrone.Web/NzbDrone.Web.csproj @@ -53,9 +53,9 @@ x86 - - False - ..\packages\DataTables.Mvc.0.1.0.68\lib\DataTables.Mvc.Core.dll + + ..\packages\DataTables.Mvc.0.1.0.79\lib\DataTables.Mvc.Core.dll + True ..\packages\DynamicQuery.1.0\lib\35\Dynamic.dll @@ -84,6 +84,9 @@ ..\packages\NLog.2.0.0.2000\lib\net40\NLog.dll + + ..\packages\ServiceStack.Text.3.6.9\lib\net35\ServiceStack.Text.dll + ..\packages\SignalR.Server.0.4.0.0\lib\net40\SignalR.dll diff --git a/NzbDrone.Web/packages.config b/NzbDrone.Web/packages.config index d435e4f26..94c12bf6e 100644 --- a/NzbDrone.Web/packages.config +++ b/NzbDrone.Web/packages.config @@ -1,6 +1,6 @@  - + @@ -22,6 +22,7 @@ + diff --git a/packages/DataTables.Mvc.0.1.0.68/DataTables.Mvc.0.1.0.68.nupkg b/packages/DataTables.Mvc.0.1.0.68/DataTables.Mvc.0.1.0.68.nupkg deleted file mode 100644 index 04747a362..000000000 Binary files a/packages/DataTables.Mvc.0.1.0.68/DataTables.Mvc.0.1.0.68.nupkg and /dev/null differ diff --git a/packages/DataTables.Mvc.0.1.0.68/lib/DataTables.Mvc.Core.dll b/packages/DataTables.Mvc.0.1.0.68/lib/DataTables.Mvc.Core.dll deleted file mode 100644 index abe1a56e1..000000000 Binary files a/packages/DataTables.Mvc.0.1.0.68/lib/DataTables.Mvc.Core.dll and /dev/null differ diff --git a/packages/DataTables.Mvc.0.1.0.79/Content/App_Start/DataTablesMvc.cs.pp b/packages/DataTables.Mvc.0.1.0.79/Content/App_Start/DataTablesMvc.cs.pp new file mode 100644 index 000000000..abaaa76f4 --- /dev/null +++ b/packages/DataTables.Mvc.0.1.0.79/Content/App_Start/DataTablesMvc.cs.pp @@ -0,0 +1,17 @@ +using DataTables.Mvc.Core.Helpers; +using DataTables.Mvc.Core.Models; +using System.Web.Mvc; + +[assembly: WebActivator.PreApplicationStartMethod(typeof($rootnamespace$.App_Start.DataTablesModelBinderActivator), "Start")] + +namespace $rootnamespace$.App_Start +{ + public static class DataTablesModelBinderActivator + { + public static void Start() + { + if (!ModelBinders.Binders.ContainsKey(typeof(DataTablesParams))) + ModelBinders.Binders.Add(typeof(DataTablesParams), new DataTablesModelBinder()); + } + } +} \ No newline at end of file diff --git a/packages/DataTables.Mvc.0.1.0.79/DataTables.Mvc.0.1.0.79.nupkg b/packages/DataTables.Mvc.0.1.0.79/DataTables.Mvc.0.1.0.79.nupkg new file mode 100644 index 000000000..ae278e47f Binary files /dev/null and b/packages/DataTables.Mvc.0.1.0.79/DataTables.Mvc.0.1.0.79.nupkg differ diff --git a/packages/DataTables.Mvc.0.1.0.79/lib/DataTables.Mvc.Core.dll b/packages/DataTables.Mvc.0.1.0.79/lib/DataTables.Mvc.Core.dll new file mode 100644 index 000000000..5e9769930 Binary files /dev/null and b/packages/DataTables.Mvc.0.1.0.79/lib/DataTables.Mvc.Core.dll differ diff --git a/packages/DataTables.Mvc.0.1.0.79/tools/install.ps1 b/packages/DataTables.Mvc.0.1.0.79/tools/install.ps1 new file mode 100644 index 000000000..7e1f5357f --- /dev/null +++ b/packages/DataTables.Mvc.0.1.0.79/tools/install.ps1 @@ -0,0 +1,5 @@ +param($installPath, $toolsPath, $package, $project) + +$path = [System.IO.Path] +$appstart = $path::Combine($path::GetDirectoryName($project.FileName), "App_Start\DataTablesMvc.cs") +$DTE.ItemOperations.OpenFile($appstart) \ No newline at end of file diff --git a/packages/ServiceStack.Text.3.6.9/ServiceStack.Text.3.6.9.nupkg b/packages/ServiceStack.Text.3.6.9/ServiceStack.Text.3.6.9.nupkg new file mode 100644 index 000000000..de433118a Binary files /dev/null and b/packages/ServiceStack.Text.3.6.9/ServiceStack.Text.3.6.9.nupkg differ diff --git a/packages/ServiceStack.Text.3.6.9/lib/ServiceStack.Text-v3.67.zip b/packages/ServiceStack.Text.3.6.9/lib/ServiceStack.Text-v3.67.zip new file mode 100644 index 000000000..9d4864b6a Binary files /dev/null and b/packages/ServiceStack.Text.3.6.9/lib/ServiceStack.Text-v3.67.zip differ diff --git a/packages/ServiceStack.Text.3.6.9/lib/net35/ServiceStack.Text.XML b/packages/ServiceStack.Text.3.6.9/lib/net35/ServiceStack.Text.XML new file mode 100644 index 000000000..9455f7ad6 --- /dev/null +++ b/packages/ServiceStack.Text.3.6.9/lib/net35/ServiceStack.Text.XML @@ -0,0 +1,464 @@ + + + + ServiceStack.Text + + + + + Determines whether this serializer can create the specified type from a string. + + The type. + + true if this instance [can create from string] the specified type; otherwise, false. + + + + + Parses the specified value. + + The value. + + + + + Deserializes from reader. + + The reader. + + + + + Serializes to string. + + The value. + + + + + Serializes to writer. + + The value. + The writer. + + + + Parses the specified value. + + The value. + + + + + A class to allow the conversion of doubles to string representations of + their exact decimal values. The implementation aims for readability over + efficiency. + + Courtesy of @JonSkeet + http://www.yoda.arachsys.com/csharp/DoubleConverter.cs + + + + + + + + How many digits are *after* the decimal point + + + + + Constructs an arbitrary decimal expansion from the given long. + The long must not be negative. + + + + + Multiplies the current expansion by the given amount, which should + only be 2 or 5. + + + + + Shifts the decimal point; a negative value makes + the decimal expansion bigger (as fewer digits come after the + decimal place) and a positive value makes the decimal + expansion smaller. + + + + + Removes leading/trailing zeroes from the expansion. + + + + + Converts the value to a proper decimal string representation. + + + + + Implement the serializer using a more static approach + + + + + + Pretty Thread-Safe cache class from: + http://code.google.com/p/dapper-dot-net/source/browse/Dapper/SqlMapper.cs + + This is a micro-cache; suitable when the number of terms is controllable (a few hundred, for example), + and strictly append-only; you cannot change existing values. All key matches are on **REFERENCE** + equality. The type is fully thread-safe. + + + + + A fast, standards-based, serialization-issue free DateTime serailizer. + + + + + Creates an instance of a Type from a string value + + + + + micro optimizations: using flags instead of value.IndexOfAny(EscapeChars) + + + + + + + Get the type(string) constructor if exists + + The type. + + + + + Implement the serializer using a more static approach + + + + + + Represents an individual object, allowing access to members by-name + + + + + Use the target types definition of equality + + + + + Obtain the hash of the target object + + + + + Use the target's definition of a string representation + + + + + Wraps an individual object, allowing by-name access to that instance + + + + + Get or Set the value of a named member for the underlying object + + + + + The object represented by this instance + + + + + if the is configured + to take advantage of specification, + to support user-friendly serialized formats, ie emitting camelCasing for JSON + and parsing member names and enum values in a case-insensitive manner. + + + + + Gets or sets a value indicating if the framework should throw serialization exceptions + or continue regardless of deserialization errors. If the framework + will throw; otherwise, it will parse as many fields as possible. The default is . + + + + + Never emit type info for this type + + + + + if the is configured + to take advantage of specification, + to support user-friendly serialized formats, ie emitting camelCasing for JSON + and parsing member names and enum values in a case-insensitive manner. + + + + + Define custom serialization fn for BCL Structs + + + + + Define custom deserialization fn for BCL Structs + + + + + Exclude specific properties of this type from being serialized + + + + + Opt-in flag to set some Value Types to be treated as a Ref Type + + + + + Creates an instance of a Type from a string value + + + + + Determines whether the specified type is convertible from string. + + The type. + + true if the specified type is convertible from string; otherwise, false. + + + + + Parses the specified value. + + The value. + + + + + Parses the specified type. + + The type. + The value. + + + + + Useful extension method to get the Dictionary[string,string] representation of any POCO type. + + + + + + Recursively prints the contents of any POCO object in a human-friendly, readable format + + + + + + A hashset implementation that uses an IDictionary + + + + + Shortcut escape when we're sure value doesn't contain any escaped chars + + + + + + + Since Silverlight doesn't have char.ConvertFromUtf32() so putting Mono's implemenation inline. + + + + + + + Class to hold + + + + + + @jonskeet: Collection of utility methods which operate on streams. + r285, February 26th 2009: http://www.yoda.arachsys.com/csharp/miscutil/ + + + + + Reads the given stream up to the end, returning the data as a byte + array. + + + + + Reads the given stream up to the end, returning the data as a byte + array, using the given buffer size. + + + + + Reads the given stream up to the end, returning the data as a byte + array, using the given buffer for transferring data. Note that the + current contents of the buffer is ignored, so the buffer needn't + be cleared beforehand. + + + + + Copies all the data from one stream into another. + + + + + Copies all the data from one stream into another, using a buffer + of the given size. + + + + + Copies all the data from one stream into another, using the given + buffer for transferring data. Note that the current contents of + the buffer is ignored, so the buffer needn't be cleared beforehand. + + + + + Reads exactly the given number of bytes from the specified stream. + If the end of the stream is reached before the specified amount + of data is read, an exception is thrown. + + + + + Reads into a buffer, filling it completely. + + + + + Reads exactly the given number of bytes from the specified stream, + into the given buffer, starting at position 0 of the array. + + + + + Reads exactly the given number of bytes from the specified stream, + into the given buffer, starting at position 0 of the array. + + + + + Same as ReadExactly, but without the argument checks. + + + + + Utils to load types + + + + + Find the type from the name supplied + + [typeName] or [typeName, assemblyName] + + + + + Find type if it exists + + + + The type if it exists + + + + Converts from base: 0 - 62 + + The source. + From. + To. + + + + + Skip the encoding process for 'safe strings' + + + + + + + Provides by-name member-access to objects of a given type + + + + + Create a new instance of this type + + + + + Provides a type-specific accessor, allowing by-name access for all objects of that type + + The accessor is cached internally; a pre-existing accessor may be returned + + + + Does this type support new instances via a parameterless constructor? + + + + + Get or set the value of a named member on the target instance + + + + + Implement the serializer using a more static approach + + + + + + micro optimizations: using flags instead of value.IndexOfAny(EscapeChars) + + + + + + + Parses the specified value. + + The value. + + + + + WCF Json format: /Date(unixts+0000)/ + + + + + + + WCF Json format: /Date(unixts+0000)/ + + + + + + diff --git a/packages/ServiceStack.Text.3.6.9/lib/net35/ServiceStack.Text.dll b/packages/ServiceStack.Text.3.6.9/lib/net35/ServiceStack.Text.dll new file mode 100644 index 000000000..f9bf0032c Binary files /dev/null and b/packages/ServiceStack.Text.3.6.9/lib/net35/ServiceStack.Text.dll differ diff --git a/packages/ServiceStack.Text.3.6.9/lib/net35/ServiceStack.Text.pdb b/packages/ServiceStack.Text.3.6.9/lib/net35/ServiceStack.Text.pdb new file mode 100644 index 000000000..6980a0d0c Binary files /dev/null and b/packages/ServiceStack.Text.3.6.9/lib/net35/ServiceStack.Text.pdb differ diff --git a/packages/ServiceStack.Text.3.6.9/lib/sl4-windowsphone71/ServiceStack.Text.WP.XML b/packages/ServiceStack.Text.3.6.9/lib/sl4-windowsphone71/ServiceStack.Text.WP.XML new file mode 100644 index 000000000..9ff9189b9 --- /dev/null +++ b/packages/ServiceStack.Text.3.6.9/lib/sl4-windowsphone71/ServiceStack.Text.WP.XML @@ -0,0 +1,409 @@ + + + + ServiceStack.Text.WP + + + + + Creates an instance of a Type from a string value + + + + + A fast, standards-based, serialization-issue free DateTime serailizer. + + + + + Class to hold + + + + + + WCF Json format: /Date(unixts+0000)/ + + + + + + + WCF Json format: /Date(unixts+0000)/ + + + + + + + Shortcut escape when we're sure value doesn't contain any escaped chars + + + + + + + Since Silverlight doesn't have char.ConvertFromUtf32() so putting Mono's implemenation inline. + + + + + + + Creates an instance of a Type from a string value + + + + + Determines whether the specified type is convertible from string. + + The type. + + true if the specified type is convertible from string; otherwise, false. + + + + + Parses the specified value. + + The value. + + + + + Parses the specified type. + + The type. + The value. + + + + + Useful extension method to get the Dictionary[string,string] representation of any POCO type. + + + + + + Recursively prints the contents of any POCO object in a human-friendly, readable format + + + + + + Implement the serializer using a more static approach + + + + + + Determines whether this serializer can create the specified type from a string. + + The type. + + true if this instance [can create from string] the specified type; otherwise, false. + + + + + Parses the specified value. + + The value. + + + + + Deserializes from reader. + + The reader. + + + + + Serializes to string. + + The value. + + + + + Serializes to writer. + + The value. + The writer. + + + + Parses the specified value. + + The value. + + + + + Pretty Thread-Safe cache class from: + http://code.google.com/p/dapper-dot-net/source/browse/Dapper/SqlMapper.cs + + This is a micro-cache; suitable when the number of terms is controllable (a few hundred, for example), + and strictly append-only; you cannot change existing values. All key matches are on **REFERENCE** + equality. The type is fully thread-safe. + + + + + Utils to load types + + + + + Find the type from the name supplied + + [typeName] or [typeName, assemblyName] + + + + + Find type if it exists + + + + The type if it exists + + + + if the is configured + to take advantage of specification, + to support user-friendly serialized formats, ie emitting camelCasing for JSON + and parsing member names and enum values in a case-insensitive manner. + + + + + Gets or sets a value indicating if the framework should throw serialization exceptions + or continue regardless of deserialization errors. If the framework + will throw; otherwise, it will parse as many fields as possible. The default is . + + + + + Provide hint to MonoTouch AOT compiler to pre-compile generic classes for all your DTOs. + Just needs to be called once in a static constructor. + + + + + Never emit type info for this type + + + + + if the is configured + to take advantage of specification, + to support user-friendly serialized formats, ie emitting camelCasing for JSON + and parsing member names and enum values in a case-insensitive manner. + + + + + Define custom serialization fn for BCL Structs + + + + + Define custom deserialization fn for BCL Structs + + + + + Exclude specific properties of this type from being serialized + + + + + Opt-in flag to set some Value Types to be treated as a Ref Type + + + + + micro optimizations: using flags instead of value.IndexOfAny(EscapeChars) + + + + + + + Parses the specified value. + + The value. + + + + + A class to allow the conversion of doubles to string representations of + their exact decimal values. The implementation aims for readability over + efficiency. + + Courtesy of @JonSkeet + http://www.yoda.arachsys.com/csharp/DoubleConverter.cs + + + + + + + + How many digits are *after* the decimal point + + + + + Constructs an arbitrary decimal expansion from the given long. + The long must not be negative. + + + + + Multiplies the current expansion by the given amount, which should + only be 2 or 5. + + + + + Shifts the decimal point; a negative value makes + the decimal expansion bigger (as fewer digits come after the + decimal place) and a positive value makes the decimal + expansion smaller. + + + + + Removes leading/trailing zeroes from the expansion. + + + + + Converts the value to a proper decimal string representation. + + + + + Implement the serializer using a more static approach + + + + + + A hashset implementation that uses an IDictionary + + + + + micro optimizations: using flags instead of value.IndexOfAny(EscapeChars) + + + + + + + @jonskeet: Collection of utility methods which operate on streams. + r285, February 26th 2009: http://www.yoda.arachsys.com/csharp/miscutil/ + + + + + Reads the given stream up to the end, returning the data as a byte + array. + + + + + Reads the given stream up to the end, returning the data as a byte + array, using the given buffer size. + + + + + Reads the given stream up to the end, returning the data as a byte + array, using the given buffer for transferring data. Note that the + current contents of the buffer is ignored, so the buffer needn't + be cleared beforehand. + + + + + Copies all the data from one stream into another. + + + + + Copies all the data from one stream into another, using a buffer + of the given size. + + + + + Copies all the data from one stream into another, using the given + buffer for transferring data. Note that the current contents of + the buffer is ignored, so the buffer needn't be cleared beforehand. + + + + + Reads exactly the given number of bytes from the specified stream. + If the end of the stream is reached before the specified amount + of data is read, an exception is thrown. + + + + + Reads into a buffer, filling it completely. + + + + + Reads exactly the given number of bytes from the specified stream, + into the given buffer, starting at position 0 of the array. + + + + + Reads exactly the given number of bytes from the specified stream, + into the given buffer, starting at position 0 of the array. + + + + + Same as ReadExactly, but without the argument checks. + + + + + Converts from base: 0 - 62 + + The source. + From. + To. + + + + + Skip the encoding process for 'safe strings' + + + + + + + Implement the serializer using a more static approach + + + + + + Get the type(string) constructor if exists + + The type. + + + + diff --git a/packages/ServiceStack.Text.3.6.9/lib/sl4-windowsphone71/ServiceStack.Text.WP.dll b/packages/ServiceStack.Text.3.6.9/lib/sl4-windowsphone71/ServiceStack.Text.WP.dll new file mode 100644 index 000000000..89b073582 Binary files /dev/null and b/packages/ServiceStack.Text.3.6.9/lib/sl4-windowsphone71/ServiceStack.Text.WP.dll differ diff --git a/packages/ServiceStack.Text.3.6.9/lib/sl4/ServiceStack.Text.dll b/packages/ServiceStack.Text.3.6.9/lib/sl4/ServiceStack.Text.dll new file mode 100644 index 000000000..73cf2f687 Binary files /dev/null and b/packages/ServiceStack.Text.3.6.9/lib/sl4/ServiceStack.Text.dll differ diff --git a/packages/ServiceStack.Text.3.6.9/lib/sl4/ServiceStack.Text.xml b/packages/ServiceStack.Text.3.6.9/lib/sl4/ServiceStack.Text.xml new file mode 100644 index 000000000..7bb9bfa94 --- /dev/null +++ b/packages/ServiceStack.Text.3.6.9/lib/sl4/ServiceStack.Text.xml @@ -0,0 +1,385 @@ + + + + ServiceStack.Text + + + + + Shortcut escape when we're sure value doesn't contain any escaped chars + + + + + + + Since Silverlight doesn't have char.ConvertFromUtf32() so putting Mono's implemenation inline. + + + + + + + Implement the serializer using a more static approach + + + + + + A fast, standards-based, serialization-issue free DateTime serailizer. + + + + + Creates an instance of a Type from a string value + + + + + Determines whether this serializer can create the specified type from a string. + + The type. + + true if this instance [can create from string] the specified type; otherwise, false. + + + + + Parses the specified value. + + The value. + + + + + Deserializes from reader. + + The reader. + + + + + Serializes to string. + + The value. + + + + + Serializes to writer. + + The value. + The writer. + + + + Parses the specified value. + + The value. + + + + + if the is configured + to take advantage of specification, + to support user-friendly serialized formats, ie emitting camelCasing for JSON + and parsing member names and enum values in a case-insensitive manner. + + + + + Provide hint to MonoTouch AOT compiler to pre-compile generic classes for all your DTOs. + Just needs to be called once in a static constructor. + + + + + Never emit type info for this type + + + + + if the is configured + to take advantage of specification, + to support user-friendly serialized formats, ie emitting camelCasing for JSON + and parsing member names and enum values in a case-insensitive manner. + + + + + Define custom serialization fn for BCL Structs + + + + + Define custom deserialization fn for BCL Structs + + + + + Exclude specific properties of this type from being serialized + + + + + Pretty Thread-Safe cache class from: + http://code.google.com/p/dapper-dot-net/source/browse/Dapper/SqlMapper.cs + + This is a micro-cache; suitable when the number of terms is controllable (a few hundred, for example), + and strictly append-only; you cannot change existing values. All key matches are on **REFERENCE** + equality. The type is fully thread-safe. + + + + + Creates an instance of a Type from a string value + + + + + Determines whether the specified type is convertible from string. + + The type. + + true if the specified type is convertible from string; otherwise, false. + + + + + Parses the specified value. + + The value. + + + + + Parses the specified type. + + The type. + The value. + + + + + Useful extension method to get the Dictionary[string,string] representation of any POCO type. + + + + + + Recursively prints the contents of any POCO object in a human-friendly, readable format + + + + + + A class to allow the conversion of doubles to string representations of + their exact decimal values. The implementation aims for readability over + efficiency. + + Courtesy of @JonSkeet + http://www.yoda.arachsys.com/csharp/DoubleConverter.cs + + + + + + + + How many digits are *after* the decimal point + + + + + Constructs an arbitrary decimal expansion from the given long. + The long must not be negative. + + + + + Multiplies the current expansion by the given amount, which should + only be 2 or 5. + + + + + Shifts the decimal point; a negative value makes + the decimal expansion bigger (as fewer digits come after the + decimal place) and a positive value makes the decimal + expansion smaller. + + + + + Removes leading/trailing zeroes from the expansion. + + + + + Converts the value to a proper decimal string representation. + + + + + @jonskeet: Collection of utility methods which operate on streams. + r285, February 26th 2009: http://www.yoda.arachsys.com/csharp/miscutil/ + + + + + Reads the given stream up to the end, returning the data as a byte + array. + + + + + Reads the given stream up to the end, returning the data as a byte + array, using the given buffer size. + + + + + Reads the given stream up to the end, returning the data as a byte + array, using the given buffer for transferring data. Note that the + current contents of the buffer is ignored, so the buffer needn't + be cleared beforehand. + + + + + Copies all the data from one stream into another. + + + + + Copies all the data from one stream into another, using a buffer + of the given size. + + + + + Copies all the data from one stream into another, using the given + buffer for transferring data. Note that the current contents of + the buffer is ignored, so the buffer needn't be cleared beforehand. + + + + + Reads exactly the given number of bytes from the specified stream. + If the end of the stream is reached before the specified amount + of data is read, an exception is thrown. + + + + + Reads into a buffer, filling it completely. + + + + + Reads exactly the given number of bytes from the specified stream, + into the given buffer, starting at position 0 of the array. + + + + + Reads exactly the given number of bytes from the specified stream, + into the given buffer, starting at position 0 of the array. + + + + + Same as ReadExactly, but without the argument checks. + + + + + Implement the serializer using a more static approach + + + + + + Parses the specified value. + + The value. + + + + + Converts from base: 0 - 62 + + The source. + From. + To. + + + + + Skip the encoding process for 'safe strings' + + + + + + + Class to hold + + + + + + Get the type(string) constructor if exists + + The type. + + + + + Implement the serializer using a more static approach + + + + + + Utils to load types + + + + + Find the type from the name supplied + + [typeName] or [typeName, assemblyName] + + + + + Find type if it exists + + + + The type if it exists + + + + micro optimizations: using flags instead of value.IndexOfAny(EscapeChars) + + + + + + + WCF Json format: /Date(unixts+0000)/ + + + + + + + micro optimizations: using flags instead of value.IndexOfAny(EscapeChars) + + + + + + diff --git a/packages/ServiceStack.Text.3.6.9/lib/sl5/ServiceStack.Text.dll b/packages/ServiceStack.Text.3.6.9/lib/sl5/ServiceStack.Text.dll new file mode 100644 index 000000000..4e69ec900 Binary files /dev/null and b/packages/ServiceStack.Text.3.6.9/lib/sl5/ServiceStack.Text.dll differ diff --git a/packages/ServiceStack.Text.3.6.9/lib/sl5/ServiceStack.Text.xml b/packages/ServiceStack.Text.3.6.9/lib/sl5/ServiceStack.Text.xml new file mode 100644 index 000000000..7bb9bfa94 --- /dev/null +++ b/packages/ServiceStack.Text.3.6.9/lib/sl5/ServiceStack.Text.xml @@ -0,0 +1,385 @@ + + + + ServiceStack.Text + + + + + Shortcut escape when we're sure value doesn't contain any escaped chars + + + + + + + Since Silverlight doesn't have char.ConvertFromUtf32() so putting Mono's implemenation inline. + + + + + + + Implement the serializer using a more static approach + + + + + + A fast, standards-based, serialization-issue free DateTime serailizer. + + + + + Creates an instance of a Type from a string value + + + + + Determines whether this serializer can create the specified type from a string. + + The type. + + true if this instance [can create from string] the specified type; otherwise, false. + + + + + Parses the specified value. + + The value. + + + + + Deserializes from reader. + + The reader. + + + + + Serializes to string. + + The value. + + + + + Serializes to writer. + + The value. + The writer. + + + + Parses the specified value. + + The value. + + + + + if the is configured + to take advantage of specification, + to support user-friendly serialized formats, ie emitting camelCasing for JSON + and parsing member names and enum values in a case-insensitive manner. + + + + + Provide hint to MonoTouch AOT compiler to pre-compile generic classes for all your DTOs. + Just needs to be called once in a static constructor. + + + + + Never emit type info for this type + + + + + if the is configured + to take advantage of specification, + to support user-friendly serialized formats, ie emitting camelCasing for JSON + and parsing member names and enum values in a case-insensitive manner. + + + + + Define custom serialization fn for BCL Structs + + + + + Define custom deserialization fn for BCL Structs + + + + + Exclude specific properties of this type from being serialized + + + + + Pretty Thread-Safe cache class from: + http://code.google.com/p/dapper-dot-net/source/browse/Dapper/SqlMapper.cs + + This is a micro-cache; suitable when the number of terms is controllable (a few hundred, for example), + and strictly append-only; you cannot change existing values. All key matches are on **REFERENCE** + equality. The type is fully thread-safe. + + + + + Creates an instance of a Type from a string value + + + + + Determines whether the specified type is convertible from string. + + The type. + + true if the specified type is convertible from string; otherwise, false. + + + + + Parses the specified value. + + The value. + + + + + Parses the specified type. + + The type. + The value. + + + + + Useful extension method to get the Dictionary[string,string] representation of any POCO type. + + + + + + Recursively prints the contents of any POCO object in a human-friendly, readable format + + + + + + A class to allow the conversion of doubles to string representations of + their exact decimal values. The implementation aims for readability over + efficiency. + + Courtesy of @JonSkeet + http://www.yoda.arachsys.com/csharp/DoubleConverter.cs + + + + + + + + How many digits are *after* the decimal point + + + + + Constructs an arbitrary decimal expansion from the given long. + The long must not be negative. + + + + + Multiplies the current expansion by the given amount, which should + only be 2 or 5. + + + + + Shifts the decimal point; a negative value makes + the decimal expansion bigger (as fewer digits come after the + decimal place) and a positive value makes the decimal + expansion smaller. + + + + + Removes leading/trailing zeroes from the expansion. + + + + + Converts the value to a proper decimal string representation. + + + + + @jonskeet: Collection of utility methods which operate on streams. + r285, February 26th 2009: http://www.yoda.arachsys.com/csharp/miscutil/ + + + + + Reads the given stream up to the end, returning the data as a byte + array. + + + + + Reads the given stream up to the end, returning the data as a byte + array, using the given buffer size. + + + + + Reads the given stream up to the end, returning the data as a byte + array, using the given buffer for transferring data. Note that the + current contents of the buffer is ignored, so the buffer needn't + be cleared beforehand. + + + + + Copies all the data from one stream into another. + + + + + Copies all the data from one stream into another, using a buffer + of the given size. + + + + + Copies all the data from one stream into another, using the given + buffer for transferring data. Note that the current contents of + the buffer is ignored, so the buffer needn't be cleared beforehand. + + + + + Reads exactly the given number of bytes from the specified stream. + If the end of the stream is reached before the specified amount + of data is read, an exception is thrown. + + + + + Reads into a buffer, filling it completely. + + + + + Reads exactly the given number of bytes from the specified stream, + into the given buffer, starting at position 0 of the array. + + + + + Reads exactly the given number of bytes from the specified stream, + into the given buffer, starting at position 0 of the array. + + + + + Same as ReadExactly, but without the argument checks. + + + + + Implement the serializer using a more static approach + + + + + + Parses the specified value. + + The value. + + + + + Converts from base: 0 - 62 + + The source. + From. + To. + + + + + Skip the encoding process for 'safe strings' + + + + + + + Class to hold + + + + + + Get the type(string) constructor if exists + + The type. + + + + + Implement the serializer using a more static approach + + + + + + Utils to load types + + + + + Find the type from the name supplied + + [typeName] or [typeName, assemblyName] + + + + + Find type if it exists + + + + The type if it exists + + + + micro optimizations: using flags instead of value.IndexOfAny(EscapeChars) + + + + + + + WCF Json format: /Date(unixts+0000)/ + + + + + + + micro optimizations: using flags instead of value.IndexOfAny(EscapeChars) + + + + + +