Permalink
Commits on Sep 2, 2008
  1. 2008-09-02 Sebastien Pouliot <sebastien@ximian.com>

    	* DoubleCheckLockingRule.cs: Current rule logic does not apply for
    	Fx 2.0 and later runtimes, so we limit it for 1.x. A new rule (with
    	shared logic) should be done to handle 2.0 specific stuff.
    
    
    svn path=/branches/mono-2-0/mono-tools/; revision=112080
    Sebastien Pouliot committed Sep 2, 2008
Commits on Aug 30, 2008
  1. 2008-08-29 Sebastien Pouliot <sebastien@ximian.com>

    	* ArrayFieldsShouldNotBeReadOnlyRule.cs: Ignore delegates. Use
    	shorter override for Runner.Report.
    	* NativeFieldsShouldNotBeVisibleRule.cs: Ignore delegates. Use
    	shorter override for Runner.Report.
    	* StaticConstructorsShouldBePrivateRule.cs: Ignore delegates. Use
    	shorter override for Runner.Report.
    
    
    svn path=/branches/mono-2-0/mono-tools/; revision=111965
    Sebastien Pouliot committed Aug 30, 2008
  2. 2008-08-29 Sebastien Pouliot <sebastien@ximian.com>

    	* ArrayFieldsShouldNotBeReadOnlyTest.cs,
    	NativeFieldsShouldNotBeVisibleTest.cs
    	StaticConstructorsShouldBePrivateTest.cs: Use newer, shorter,
    	syntax for unit tests. A bit more coverage was added.
    
    
    svn path=/branches/mono-2-0/mono-tools/; revision=111964
    Sebastien Pouliot committed Aug 30, 2008
  3. 2008-08-29 Sebastien Pouliot <sebastien@ximian.com>

    	* CallBaseMethodsOnISerializableTypesTest.cs: Add more coverage.
    	* MissingSerializationConstructorTest.cs: Use newer, shorter, 
    	syntax for unit tests. Add more coverage.
    	* MissingSerializableAttributeOnISerializableTypeTest.cs: Use newer, 
    	shorter, syntax for unit tests. Add more coverage.
    	* UseCorrectSignatureForSerializationMethodsTest.cs: Use newer, 
    	shorter, syntax for unit tests. Add more coverage.
    
    
    svn path=/branches/mono-2-0/mono-tools/; revision=111961
    Sebastien Pouliot committed Aug 30, 2008
Commits on Aug 29, 2008
  1. 2008-08-29 Sebastien Pouliot <sebastien@ximian.com>

    	* DeserializeOptionalFieldTest.cs: Use newer, shorter, syntax for
    	unit tests.
    
    
    svn path=/branches/mono-2-0/mono-tools/; revision=111951
    Sebastien Pouliot committed Aug 29, 2008
  2. 2008-08-29 Sebastien Pouliot <sebastien@ximian.com>

    	* AvoidDeepInheritanceTreeRule.cs: Return DoesNotApply on 
    	delegates. Modulate the severity based on inheritance depth. 
    
    
    svn path=/branches/mono-2-0/mono-tools/; revision=111945
    Sebastien Pouliot committed Aug 29, 2008
  3. 2008-08-29 Sebastien Pouliot <sebastien@ximian.com>

    	* SimpleTypes.cs: Add SimpleTypes.Delegate to ease testing.
    
    
    svn path=/branches/mono-2-0/mono-tools/; revision=111942
    Sebastien Pouliot committed Aug 29, 2008
  4. 2008-08-29 Sebastien Pouliot <sebastien@ximian.com>

    	* AvoidUnnecessarySpecializationRule.cs: Allocate arrays for
    	64 parameters and re-adjust if needed. This makes it possible to
    	allocate arrays once (well it's true for mono 2.0 class libs) and
    	not for each method.
    
    
    svn path=/branches/mono-2-0/mono-tools/; revision=111936
    Sebastien Pouliot committed Aug 29, 2008
  5. make distcheck happy

    svn path=/branches/mono-2-0/mono-tools/; revision=111888
    Sebastien Pouliot committed Aug 29, 2008
Commits on Aug 28, 2008
  1. 2008-08-28 Sebastien Pouliot <sebastien@ximian.com>

    	* OperatorEqualsShouldBeOverloadedRule.cs: This does not apply to
    	delegates.
    
    
    svn path=/branches/mono-2-0/mono-tools/; revision=111832
    Sebastien Pouliot committed Aug 28, 2008
  2. 2008-08-28 Sebastien Pouliot <sebastien@ximian.com>

    	* UseCorrectCasingRule.cs: Simplify the rule a bit. Use a constant
    	for MethodSemanticsAttributes (CheckMethod). Remove unneeded check
    	for <Module> (now handled elsewhere) and unneeded case (3) for 
    	namespaces.
    
    
    svn path=/branches/mono-2-0/mono-tools/; revision=111828
    Sebastien Pouliot committed Aug 28, 2008
  3. oops, add back removed entry

    svn path=/branches/mono-2-0/mono-tools/; revision=111827
    Sebastien Pouliot committed Aug 28, 2008
  4. 2008-08-28 Sebastien Pouliot <sebastien@ximian.com>

    	* UseCorrectCasingTest.cs: Convert namespace tests (ITypeRule) to 
    	the new syntax. Add a few more tests for more coverage.
    
    svn path=/branches/mono-2-0/mono-tools/; revision=111826
    Sebastien Pouliot committed Aug 28, 2008
  5. 2008-08-27 Sebastien Pouliot <sebastien@ximian.com>

    	* AssemblyRocks.cs: Remove HasAttribute
    	* CustomAttributeRocks.cs: Add HasAttribute extension method on 
    	ICustomAttributeProvider
    	* FieldRocks.cs: Remove HasAttribute
    	* MethodRocks.cs: Remove HasAttribute
    	* TypeRocks.cs: Remove HasAttribute
    
    
    svn path=/branches/mono-2-0/mono-tools/; revision=111779
    Sebastien Pouliot committed Aug 28, 2008
Commits on Aug 27, 2008
  1. 2008-08-27 Sebastien Pouliot <sebastien@ximian.com>

    	* FeatureRequiresRootPrivilegeOnUnixTest.cs: Remove unneeded 
    	using clauses.
    	* NewLineLiteralTest.cs: Convert to the new test API and add a 
    	bit more coverage.
    
    	* FeatureRequiresRootPrivilegeOnUnixTest.cs: Convert to the new
    
    svn path=/branches/mono-2-0/mono-tools/; revision=111709
    Sebastien Pouliot committed Aug 27, 2008
Commits on Aug 26, 2008
  1. 2008-08-26 Sebastien Pouliot <sebastien@ximian.com>

    	* AvoidComplexMethodsRule.cs: Avoid computing the method's CC if 
    	the number of IL instructions is lower than the success threshold.
    
    
    svn path=/branches/mono-2-0/mono-tools/; revision=111647
    Sebastien Pouliot committed Aug 26, 2008
  2. 2008-08-26 Sebastien Pouliot <sebastien@ximian.com>

    	* ConsoleRunner.cs: Update help for --ignore option.
    
    
    svn path=/branches/mono-2-0/mono-tools/; revision=111612
    Sebastien Pouliot committed Aug 26, 2008
  3. 2008-08-26 Sebastien Pouliot <sebastien@ximian.com>

    	* FeatureRequiresRootPrivilegeOnUnixRule.cs: Don't check Ping if
    	Process was found earlier (the call goes to a single place). Rename
    	some variables to please rules (self-test).
    
    
    svn path=/branches/mono-2-0/mono-tools/; revision=111603
    Sebastien Pouliot committed Aug 26, 2008
  4. 2008-08-17 Sebastien Pouliot <sebastien@ximian.com>

    	* AvoidUncalledPrivateCodeTest.cs: Add test case from Mono.Rocks
    	that triggers, when compiled under Mono (bug #320901), false 
    	positives.
    
    
    svn path=/branches/mono-2-0/mono-tools/; revision=111601
    Sebastien Pouliot committed Aug 26, 2008
  5. 2008-08-26 Sebastien Pouliot <sebastien@ximian.com>

    	* TypeRocks.cs: Fix parameter type comparison wrt generics.
    
    
    svn path=/branches/mono-2-0/mono-tools/; revision=111599
    Sebastien Pouliot committed Aug 26, 2008
Commits on Aug 24, 2008
  1. 2008-08-24 Sebastien Pouliot <sebastien@ximian.com>

    	* gendarme.1.in: Document --ignore and --version options.
    
    
    svn path=/branches/mono-2-0/mono-tools/; revision=111515
    Sebastien Pouliot committed Aug 24, 2008
  2. 2008-08-24 Sebastien Pouliot <sebastien@ximian.com>

    	* FeatureRequiresRootPrivilegeOnUnixRule.cs: Override Initialize
    	to be able to detect both Process and Ping. Turn off the rule is both
    	are not used in a module, otherwise just look for the one(s) present.
    
    
    svn path=/branches/mono-2-0/mono-tools/; revision=111506
    Sebastien Pouliot committed Aug 24, 2008
  3. 2008-08-24 Sebastien Pouliot <sebastien@ximian.com>

    	* FeatureRequiresRootPrivilegeOnUnixRule.cs: Convert to the new
    	test API. Add a few more cases to get better unit tests coverage.
    
    
    svn path=/branches/mono-2-0/mono-tools/; revision=111505
    Sebastien Pouliot committed Aug 24, 2008
  4. 2008-08-24 Sebastien Pouliot <sebastien@ximian.com>

    	* ProblemAttribute.cs, SolutionAttribute.cs: Change Inherited to 
    	true, other wise we would miss some descriptions in a few rules.
    
    
    svn path=/branches/mono-2-0/mono-tools/; revision=111501
    Sebastien Pouliot committed Aug 24, 2008
Commits on Aug 22, 2008
  1. * configure.in, Makefile.am: Integrate Mono.Profiler in the build.

    svn path=/branches/mono-2-0/mono-tools/; revision=111347
    Massimiliano Mantione committed Aug 22, 2008
  2. Copied Mono.Profiler from trunk.

    svn path=/branches/mono-2-0/mono-tools/; revision=111346
    Massimiliano Mantione committed Aug 22, 2008
Commits on Aug 21, 2008
  1. Added support for correct accounting of allocations which happened at…

    … JIT time.
    
    svn path=/trunk/mono-tools/; revision=111249
    Massimiliano Mantione committed Aug 21, 2008
  2. Added support for correct accounting of allocations which happened at…

    … JIT time.
    
    svn path=/trunk/mono-tools/; revision=111248
    Massimiliano Mantione committed Aug 21, 2008
Commits on Aug 20, 2008
  1. fix autogen-ing on newer systems (works with sled10)

    svn path=/trunk/mono-tools/; revision=111121
    Sebastien Pouliot committed Aug 20, 2008
  2. * Main.cs: Fix warning.

    	* gtk-gui/gui.stetic: regenerated with correct pathnames.
    
    svn path=/trunk/mono-tools/; revision=111089
    Massimiliano Mantione committed Aug 20, 2008
  3. Ignore decoding exceptions but print the stack trace.

    svn path=/trunk/mono-tools/; revision=111088
    Massimiliano Mantione committed Aug 20, 2008
  4. Added support for directives in the log file.

    svn path=/trunk/mono-tools/; revision=111087
    Massimiliano Mantione committed Aug 20, 2008
  5. fix make dist

    svn path=/trunk/mono-tools/; revision=111039
    Sebastien Pouliot committed Aug 20, 2008
Commits on Aug 19, 2008
  1. 2008-08-18 Sebastien Pouliot <sebastien@ximian.com>

    	* CallingEqualsWithNullArgRule.cs: Use TraceBack rock to reduce (and
    	simplify) source code. Use simpler overload for Report.
    	* UseValueInPropertySetterRule.cs: Use GetParameter rock to (and
    	simplify) source code. Use simpler overload for Report.
    
    
    svn path=/branches/mono-2-0/mono-tools/; revision=110899
    Sebastien Pouliot committed Aug 19, 2008
  2. 2008-08-18 Sebastien Pouliot <sebastien@ximian.com>

    	* CallingEqualsWithNullArgRule.cs: Use TraceBack rock to reduce (and
    	simplify) source code. Use simpler overload for Report.
    	* UseValueInPropertySetterRule.cs: Use GetParameter rock to (and
    	simplify) source code. Use simpler overload for Report.
    
    
    svn path=/trunk/mono-tools/; revision=110898
    Sebastien Pouliot committed Aug 19, 2008