Permalink
Commits on Jan 20, 2009
  1. update version numbers to 2.4

    svn path=/branches/mono-2-4/mono-tools/; revision=123902
    Andrew Jorgensen committed Jan 20, 2009
Commits on Jan 17, 2009
  1. Fixed a bug in the stat profiler that prevented file names to be show…

    …n for unmanaged functions.
    
    svn path=/trunk/mono-tools/; revision=123710
    Massimiliano Mantione committed Jan 17, 2009
Commits on Jan 13, 2009
  1. Added new UseFlagsAttributeRule.

    svn path=/trunk/mono-tools/; revision=123182
    Jesse Jones committed Jan 13, 2009
  2. Fixed console target by re-adding rules target. Made console target a…

    … phoney
    
    target so that it works properly on os-x (a console directory exsists which
    confuses make on that platform).
    
    
    svn path=/trunk/mono-tools/; revision=123181
    Jesse Jones committed Jan 13, 2009
Commits on Jan 10, 2009
  1. Fixed an assert which broke when the code was switched from

    Mono.Cecil.Cil.Code.ToString to Mono.Cecil.Cil.OpCode.Name.
    
    
    svn path=/trunk/mono-tools/; revision=122993
    Jesse Jones committed Jan 10, 2009
  2. Fixed the description of FlagsShouldNotDefineAZeroValueRule so that it

    mentions bitwise operators instead of boolean operators, uses better
    english, and added [Serializable] to the sample code.
    
    
    svn path=/trunk/mono-tools/; revision=122974
    Jesse Jones committed Jan 10, 2009
Commits on Jan 9, 2009
  1. Added aspnetcheck

    svn path=/trunk/mono-tools/; revision=122956
    grendello committed Jan 9, 2009
Commits on Jan 6, 2009
  1. 2009-01-06 Jb Evain <jbevain@novell.com>

    	* CecilMetadata.cs: support some more operators.
    
    
    svn path=/trunk/mono-tools/; revision=122570
    jbevain committed Jan 6, 2009
Commits on Jan 3, 2009
  1. Use checked math only in debug.

    svn path=/trunk/mono-tools/; revision=122377
    Jesse Jones committed Jan 3, 2009
  2. In Test:

    	* CheckParametersNullityInVisibleMethodsTest.cs: Add test cases
    In .:
    2009-01-03  Sebastien Pouliot  <sebastien@ximian.com> 
    
    	* CheckParametersNullityInVisibleMethodsRule.cs: Refactor to
    	extract new methods from CheckMethod (self-test). Fix the typo in 
    	solution (mentioned in bug #463003).
    
    
    svn path=/trunk/mono-tools/; revision=122370
    Sebastien Pouliot committed Jan 3, 2009
  3. 2009-01-03 Sebastien Pouliot <sebastien@ximian.com>

    	* CheckParametersNullityInVisibleMethodsRule.cs: Fix case
    	for out parameters which were not ignored for arrays.
    	[Fix #463003]
    
    
    svn path=/trunk/mono-tools/; revision=122369
    Sebastien Pouliot committed Jan 3, 2009
  4. 2009-01-03 Sebastien Pouliot <sebastien@ximian.com>

    	* CheckParametersNullityInVisibleMethodsRule.cs: Add test cases
    	for 'out' parameters.
    
    
    svn path=/trunk/mono-tools/; revision=122368
    Sebastien Pouliot committed Jan 3, 2009
Commits on Dec 31, 2008
  1. ObjectModel.cs: fixed call stack array resize condition.

    svn path=/trunk/mono-tools/; revision=122293
    Massimiliano Mantione committed Dec 31, 2008
Commits on Dec 30, 2008
  1. StackEntryAnalysis and Bitmask GetHashCode methods now use

    unchecked math.
    
    
    svn path=/trunk/mono-tools/; revision=122278
    Jesse Jones committed Dec 30, 2008
  2. Added DoNotThrowInUnexpectedLocationRule.

    svn path=/trunk/mono-tools/; revision=122277
    Jesse Jones committed Dec 30, 2008
  3. update csproj files with new rules

    svn path=/trunk/mono-tools/; revision=122265
    Sebastien Pouliot committed Dec 30, 2008
  4. 2008-12-30 Sebastien Pouliot <sebastien@ximian.com>

    	* EnsureLocalDisposalRule.cs: Resolve early (since IsProperty 
    	rock would do it anyway) and use the MethodDefinition afterward.
    	Based on patch from Tamara Roberson.
    	* ProvideCorrectRegexPatternRule.cs: Move some checks after
    	calling Resolve (to avoid calling it twice with IsProperty).
    	[partial fix for #462925]
    
    
    svn path=/trunk/mono-tools/; revision=122262
    Sebastien Pouliot committed Dec 30, 2008
  5. 2008-12-30 Sebastien Pouliot <sebastien@ximian.com>

    	* AvoidUnnecessarySpecializationRule.cs: Move some checks before
    	calling (expensive) Resolve on the interface. Check that resolved
    	interface is non-null before continuing. Based on patch from 
    	Tamara Roberson.
    	[partial fix for #462925]
    
    
    svn path=/trunk/mono-tools/; revision=122261
    Sebastien Pouliot committed Dec 30, 2008
  6. 2008-12-30 Sebastien Pouliot <sebastien@ximian.com>

    	* MethodRocks.cs (IsProperty, IsVisible): Check that resolved method
    	is non null before continuing. Based on patch from Tamara Roberson.
    	[partial fix for #462925]
    
    
    svn path=/trunk/mono-tools/; revision=122260
    Sebastien Pouliot committed Dec 30, 2008
  7. 2008-12-30 Sebastien Pouliot <sebastien@ximian.com>

    	* InstantiateArgumentExceptionCorrectlyRule.cs: Make sure the 
    	strings are always compared ordinally - to remove any culture 
    	specific differences on metadata item names.
    
    
    svn path=/trunk/mono-tools/; revision=122254
    Sebastien Pouliot committed Dec 30, 2008
  8. 2008-12-30 Sebastien Pouliot <sebastien@ximian.com>

    	* DontSwallowErrorsCatchingNonspecificExceptionsTest.cs: Add 
    	a few test cases with goto and conditionals to (unsuccessfully) find
    	a root cause for #458173 (but we already have a workaround in place).
    	* InstantiateArgumentExceptionCorrectlyTest.cs: Add a few test
    	cases to simulate (unsuccessfully again) a reported false positive.
    
    
    svn path=/trunk/mono-tools/; revision=122253
    Sebastien Pouliot committed Dec 30, 2008
  9. 2008-12-29 Sebastien Pouliot <sebastien@ximian.com>

    	* ReviewSelfAssignmentRule.cs: Fix the check when a call chain
    	containing an indexer is used.
    
    
    svn path=/trunk/mono-tools/; revision=122215
    Sebastien Pouliot committed Dec 30, 2008
  10. 2008-12-29 Sebastien Pouliot <sebastien@ximian.com>

    	* ReviewUselessControlFlowTest.cs: Reorder and comment the cases
    	where a compiler (like CSC) can remove/optimize the useless control
    	flow (and making the test case fail).
    	* ReviewSelfAssignmentTest.cs: Add test cases for chaining with 
    	indexers.
    
    
    svn path=/trunk/mono-tools/; revision=122214
    Sebastien Pouliot committed Dec 30, 2008
Commits on Dec 29, 2008
  1. 2008-12-29 Sebastien Pouliot <sebastien@ximian.com>

    	* DoNotExposeNestedGenericSignaturesRule.cs: New. Rule to check
    	if nested generics are being exposed in visible API.
    	* Makefile.am: Add new rule and test to the build.
    
    
    svn path=/trunk/mono-tools/; revision=122200
    Sebastien Pouliot committed Dec 29, 2008
  2. 2008-12-29 Sebastien Pouliot <sebastien@ximian.com>

    	* DoNotExposeNestedGenericSignaturesTest.cs: New. Unit tests for
    	DoNotExposeNestedGenericSignaturesRule
    
    
    svn path=/trunk/mono-tools/; revision=122199
    Sebastien Pouliot committed Dec 29, 2008
Commits on Dec 28, 2008
  1. self-test.ignore: Ignore AvoidSwitchStatementsRule on Gendarme assemb…

    …lies since we're using switch extensively and in a way that would be hard to OO-ize while keeping performance and readability
    
    svn path=/trunk/mono-tools/; revision=122166
    Sebastien Pouliot committed Dec 28, 2008
  2. 2008-12-28 Sebastien Pouliot <sebastien@ximian.com>

    	* Symbols.cs: Allow reports to include the source information when
    	a defect is found wrt a method return type.
    
    
    svn path=/trunk/mono-tools/; revision=122164
    Sebastien Pouliot committed Dec 28, 2008
  3. 2008-12-28 Sebastien Pouliot <sebastien@ximian.com>

    	* BasicIgnoreList.cs: Add support to ignore assembly based on Name, 
    	in addition to FullName, since the later include version numbers
    	which change too often for an ignore-file to be useful.
    
    
    svn path=/trunk/mono-tools/; revision=122163
    Sebastien Pouliot committed Dec 28, 2008
  4. 2008-12-28 Cedric Vivier <cedricv@neonux.com>

    	* EnsureLocalDisposalRule.cs: New. Rule that checks if locals
    	are guaranteed to be disposed of before the method returns.
    
    svn path=/trunk/mono-tools/; revision=122156
    neonux committed Dec 28, 2008
Commits on Dec 27, 2008
  1. ReviewInconsistentIdentityRule.cs: Added an assert to verify that equ…

    …alityMethods's
    
    reserve size is sufficient.
    
    
    svn path=/trunk/mono-tools/; revision=122154
    Jesse Jones committed Dec 27, 2008
  2. 2008-12-27 Sebastien Pouliot <sebastien@ximian.com>

    	* DoNotShortCircuitCertificateCheckRule.cs: New. Rule to check 
    	ICertificatePolicy and RemoteCertificateValidationCallback 
    	implementations.
    	* Makefile.am: Add new rule and tests to the build.
    
    
    svn path=/trunk/mono-tools/; revision=122153
    Sebastien Pouliot committed Dec 27, 2008
  3. 2008-12-27 Sebastien Pouliot <sebastien@ximian.com>

    	* DoNotShortCircuitCertificateCheckTest.cs: New. Unit tests for
    	DoNotShortCircuitCertificateCheckRule.
    
    
    svn path=/trunk/mono-tools/; revision=122152
    Sebastien Pouliot committed Dec 27, 2008
Commits on Dec 26, 2008
  1. 2008-12-26 Cedric Vivier <cedricv@neonux.com>

    	* UsePreferredTermsRule.cs: Fix false positives when term is part of
        a larger word. Improve text. Use CheckIdentifier for namespaces too.
    
    svn path=/trunk/mono-tools/; revision=122132
    neonux committed Dec 26, 2008
Commits on Dec 25, 2008
  1. 2008-12-25 Chris Toshok <toshok@ximian.com>

            * CompareContext.cs: Make sure we compare attributes in
            CompareTypeLists too, otherwise we drop missing attribute nodes if
            the type is present.
    
    
    svn path=/trunk/mono-tools/; revision=122130
    Chris Toshok committed Dec 25, 2008
  2. only include the base type missing node if there is one defined

    svn path=/trunk/mono-tools/; revision=122129
    Chris Toshok committed Dec 25, 2008