1
I Use This!
Activity Not Available

News

Analyzed about 1 year ago. based on code collected about 1 year ago.
Posted about 13 years ago by James Craig
1) Fixed cascading saves for Mapped objects in ORM.
Posted about 13 years ago by James Craig
1) Added Exists extension to IEnumerables. 2) Added ability to query list of users who logged into a machine. 3) Added check in StringID and StringReference for -1 (max length), so that the validation actually works on update... 4) Added a ClearMappings function to MicroORM. 5) Added some basic tests for MicroORM.
Posted about 13 years ago by James Craig
1) Fixed issue with DeleteAll function, where directory is not always empty. 2) Updated SQLHelper's code (removed functions that are no longer used, instead keeping generic versions). 3) Merged AddParameter and AddOutputParameter into one function ... [More] (and GetParameter and GetOutputParameter) and changed order of a couple parameters. 4) Moved a bit of code to extension methods from SQLHelper (DbCommand and DbDataReader). 5) Updated Mapping, Parameter, and Database classes for MicroORM and added a number of tests. [Less]
Posted about 13 years ago by JaCraig
I receive the following error when attempting add a file that is 0 bytes. I need the 0 byte file added to the Zip file. I do not get this error when using AddFolder Function.WindowsBase : System.IO.FileFormatExceptionArchive file cannot be size ... [More] 0.at MS.Internal.IO.Zip.ZipArchive.OpenOnStream(Stream stream, FileMode mode, FileAccess access, Boolean streaming) at System.IO.Packaging.ZipPackage..ctor(Stream s, FileMode mode, FileAccess access, Boolean streaming) at System.IO.Packaging.Package.Open(Stream stream, FileMode packageMode, FileAccess packageAccess, Boolean streaming) at System.IO.Packaging.Package.Open(Stream stream) at Utilities.FileFormats.Zip.ZipFile.AddFile(String File) in C:\VS2010\Craig's Utility Library\UtilitiesFull\Utilities\FileFormats\Zip\ZipFile.cs:line 96 [Less]
Posted about 13 years ago by James Craig
1) Fixed FieldBuilder unit tests.
Posted about 13 years ago by James Craig
1) Added fix for ZipFile when calling AddFile (now creates the zip file correctly). 2) Added TryTo extension for all objects instead of just strings (attempts to convert an object from any type to another). 3) Added Return extension which can be used ... [More] to make null checks simpler for properties. 4) Removed Cast extension from IEnumerableExtensions as it is redundant due to ForEach. 5) Added Do extension that acts like Chain but checks if the object or Function/Action is null and returns a default value if they are. 6) Added ToBase64 extension for Bitmap objects that, as the name suggests, converts the image to a Base64 string object. 7) Added If and NotIf extensions that return an object or default value dependant on a predicate. 8) Added IsMobile extension to HttpRequestBase that's a bit more robust than simply checking Request.Browser.IsMobileDevice. [Less]
Posted about 13 years ago by JaCraig
The Utilities.Media.Sound.SpeechToText class has a .Speak method and the Utilities.Media.Sound.TextToSpeech class has a .Recognise methodThese seem to be the wrong way around
Posted about 13 years ago by JaCraig
The Utilities.Media.Sound.SpeechToText class has a .Speak method and the Utilities.Media.Sound.TextToSpeech class has a .Recognise methodThese seem to be the wrong way aroundComments: I'm removing support for text to speech and speech to text. I don't use the functionality any more and have no plans to update it.
Posted about 13 years ago by JaCraig
I receive the following error when attempting add a file that is 0 bytes. I need the 0 byte file added to the Zip file. I do not get this error when using AddFolder Function.WindowsBase : System.IO.FileFormatExceptionArchive file cannot be size ... [More] 0.at MS.Internal.IO.Zip.ZipArchive.OpenOnStream(Stream stream, FileMode mode, FileAccess access, Boolean streaming) at System.IO.Packaging.ZipPackage..ctor(Stream s, FileMode mode, FileAccess access, Boolean streaming) at System.IO.Packaging.Package.Open(Stream stream, FileMode packageMode, FileAccess packageAccess, Boolean streaming) at System.IO.Packaging.Package.Open(Stream stream) at Utilities.FileFormats.Zip.ZipFile.AddFile(String File) in C:\VS2010\Craig's Utility Library\UtilitiesFull\Utilities\FileFormats\Zip\ZipFile.cs:line 96Comments: Thanks for catching it. I'm adding the fix now and should have it uploaded in the repository later today. [Less]
Posted about 13 years ago by James Craig
Moved tag github/master to changeset 158b2d15343b (from changeset 9897372f9766)