| Change Set |
Date |
Downloads |
Comment |
37159
by
jnthn
|
Jan 14 at
12:20 PM
|
26 |
Tag release 1.2.
|
37157
by
jnthn
|
Jan 14 at
12:17 PM
|
7 |
Add .Is to ValidatorBase so we can provide a lambda predicate to do custom validation.
|
37151
by
jnthn
|
Jan 14 at
11:48 AM
|
0 |
Implement bool validator, which provides validation for boolean values.
|
26283
by
jnthn
|
Aug 26 2009 at
1:37 PM
|
29 |
Tag 1.1 release.
|
24607
by
jnthn
|
Jul 30 2009 at
4:08 PM
|
6 |
Change .WithCode(...) to .WithErrorCode(...) when setting a custom error code. That was it matches the name of the place you retrieve it from, plus its easier to tell what it's setting.
|
24606
by
jnthn
|
Jul 30 2009 at
4:06 PM
|
0 |
Rename ErrorCodes to ValidationErrorCode. * Singular to match various other conventions in the project (e.g. ErrorMode vs ErrorModes). That reads a little nicer when using it. * ErrorCode(s) has too high a chance of conflicting with another enum of the same name when used in a project. If every library that had error codes called their thingy ErrorCode(s) then there'd probably be issues. So go for ValidationErrorCode.
|
24605
by
jnthn
|
Jul 30 2009 at
3:58 PM
|
1 |
Add tests for error codes.
|
24602
by
jnthn
|
Jul 30 2009 at
3:46 PM
|
2 |
Rename a file to be more indicative of what it contains.
|
24601
by
jnthn
|
Jul 30 2009 at
3:42 PM
|
0 |
Add a test file that will try to use the validator with each language file, so we can detect errors before release with those. (Yes, pre-emptive, before I make some bad release. :-))
|
24563
by
jnthn
|
Jul 29 2009 at
11:26 AM
|
0 |
Turns out a "." in the resource file name other than for the extension rather upsets/cofuses something somewhere in .Net.
|
24559
by
jnthn
|
Jul 29 2009 at
11:10 AM
|
2 |
Switch to using ITEF tags for language file names rather than just ISO-639, which it turns out isn't quite expressive enough.
|
24558
by
jnthn
|
Jul 29 2009 at
10:52 AM
|
0 |
Oops, last patch did not maintain some documented API. Still need to support setting a result without an error code.
|
24557
by
jnthn
|
Jul 29 2009 at
10:50 AM
|
0 |
First cut at implementing error codes for each possible validation failure, as well as setting a custom error code. This work was mostly done in a patch by Luizbon, plus some tweaks from me (mostly to internals bits; namely, get rid of protected method SetCode and just pass it along in SetResult, since this will allow setting of codes in rules that extend the interface).
|
24527
by
jnthn
|
Jul 28 2009 at
5:12 PM
|
1 |
Add Portuguese language translation. Patch courtesy of Luizbon.
|
24255
by
jnthn
|
Jul 22 2009 at
1:59 PM
|
2 |
Add some basic tests for WarnUnless(); all pass.
|
24254
by
jnthn
|
Jul 22 2009 at
1:59 PM
|
0 |
* Do a refactor to ValidatorBase; it now takes an extra type parameter which is the type that is subclassing it. * Implement Not in ValidatorBase, and remove it from all things that derive from it. Won't be an API change really since we never documented writing your own custom validator yet anyway. * Add enum for result level, and make a ValidationResult have a level. * Implement WarnUnless() in ValidatorBase, which sets the next result to be a warning only instead of an error. * Tweak ErrorCount() and HasErrors() to only care about errors. * Implement WarningCount() and HasWarnings().
|
24253
by
jnthn
|
Jul 22 2009 at
12:53 PM
|
0 |
Don't require a specific version of NUnit.
|
24182
by
jnthn
|
Jul 21 2009 at
2:11 PM
|
0 |
Fix a typo.
|
14608
by
jnthn
|
May 7 2009 at
10:23 AM
|
39 |
Create tag for release 1.0.
|
14606
by
jnthn
|
May 7 2009 at
10:19 AM
|
22 |
Add links to the TNValidate site, so people with the source can track down updates etc.
|
14197
by
jnthn
|
May 6 2009 at
12:05 PM
|
0 |
Fix IsDecimal test to work more widely.
|
13608
by
jnthn
|
May 4 2009 at
8:51 PM
|
20 |
Test for variant of IsMatch that takes RegexOptions.
|
13605
by
jnthn
|
May 4 2009 at
8:47 PM
|
28 |
Remove unrequired constructor.
|
13604
by
jnthn
|
May 4 2009 at
8:41 PM
|
2 |
* Error message improvement. * Remove trailing . for consistency.
|
13593
by
jnthn
|
May 4 2009 at
8:17 PM
|
22 |
Initial import of TNValidate source tree.
|