Craig's Utility Library 3.0

Rating: No reviews yet
Downloads: 4856
Change Set: a3649cc7ff2b
Released: Dec 15, 2011
Updated: Dec 15, 2011 by JaCraig
Dev status: Stable Help Icon

Recommended Download

application, 15353K, uploaded Dec 15, 2011 - 3733 downloads

Other Available Downloads

application, 1064K, uploaded Dec 15, 2011 - 167 downloads
application, 20559K, uploaded Dec 15, 2011 - 130 downloads
example, 3189K, uploaded Dec 15, 2011 - 176 downloads
example, 1246K, uploaded Dec 15, 2011 - 220 downloads
documentation, 6215K, uploaded Dec 15, 2011 - 430 downloads

Release Notes

1) Added fix for length of columns when dealing with nvarchars in SQLServer class.
2) Added fix for Map objects that were set to cascade where ManyToMany and ManyToOne objects underneath were not cascading properly.
3) Added Any and All functions to ObjectBaseClass that accept SQL Commands/CommandTypes.
4) Fixed cascading saves for Mapped objects in ORM.
5) Added check in StringID and StringReference for -1 (max length), so that the validation actually works on update...
6) Added fix for ZipFile when calling AddFile (now creates the zip file correctly).
7) Added check to ORM code to make sure that load commands aren't overwritten with defaults.
8) Fixed issue with ObjectBaseClass if the instance returned by Any is null.
9) Fixed bug in DataMapper when using the AutoMap feature.
10) Fixed small bug in RGBHistogram's Equalize function as well as Equalize function in BitmapExtensions.
11) Fixed issue that allows unsafe code to be tested/run (seems to be related to updating to 4.0).
12) Fixed bug in Random class's NextColor function.
13) Fixed issue with ArgsParser code involving double quotes and reduced code a bit.
14) Fixed minor issues with RSAEncryption class.
15) Fixed minor issues/made code simpler for Conversion, Matrix, Set, and Vector3 classes.
16) Fixed a couple of bugs in vector class (initial size of items not set right, removing first item in list, etc.)
17) Fixed various issues/improved BinaryTree class

Most static functions have been moved to various extension methods and a number of functions have been added (too many to list here).
On top of that a number of changes have been made to various classes:
1) Added ability in ProfilerManager to get data for a specific function and made ProfilerInfo public
2) Changed the parameters of the Column DataClass (now has a generic default value, uses DbType instead of SqlDbType for the DataType property, etc)
3) Added ability to query list of users who logged into a machine (WMI code)
4) Added a ClearMappings function to MicroORM.
5) Updated SQLHelper's code (removed functions that are no longer used, instead keeping generic versions).
6) Merged AddParameter and AddOutputParameter into one function (and GetParameter and GetOutputParameter) and changed order of a couple parameters.
7) Updated ErrorManager code to use extension methods moved from the Web namespace (DumpCache, DumpApplicationState, etc).
8) Updated WebPageThumbnail code to use some default values to make things simpler.
9) Made TypeMapping class a bit more fluent to make adding mappings easier.
10) Simplified Validator code and added a number of functions for new validation rules.
11) Finished adding IoC code (very simple IoC container).
12) Rewrote LDAP code (simplified).
13) Reworked some of the Reflection.Emit classes (mostly to reduce redundant functions, replace wordy code, etc.)
14) Added GenericStringFormatter class (used by FormatString function in the StringExtensions class)
15) Moved NaiveBayes class to AI namespace.
16) Improved ListMapping functionality
17) Added functions to priority queue for adding items, improved Pop functionality.
18) Added DateSpan class.
19) Moved Cisco classes to FileFormats namespace

Also Items Have been removed due to the fact that they were either too difficult to maintain or simply not being used:
1) Removed Youtube code (will eventually replace this with Google API namespace.
2) Removed FOAF and APML helpers as neither format seem to be used...
3) Removed Speech namespace (wasn't really maintaining it)...
4) Removed Pair and Triple classes (not needed with addition of System.Tuple)

Reviews for this release

No reviews yet for this release.