Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono-tools.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-02-172009-02-17 Jb Evain <jbevain@novell.com>mono-2-4mono-2-4-0Jb Evain
* Makefile.am: reference directly cecil from the gac as gendarme does instead of copying it locally. svn path=/branches/mono-2-4/mono-tools/; revision=127194
2009-02-16update NEWS and version/copyright informationsSebastien Pouliot
svn path=/branches/mono-2-4/mono-tools/; revision=126975
2009-02-16update setup fileSebastien Pouliot
svn path=/branches/mono-2-4/mono-tools/; revision=126974
2009-02-16adjust copyright yearSebastien Pouliot
svn path=/branches/mono-2-4/mono-tools/; revision=126973
2009-02-16add missing DoNotThrowInUnexpectedLocationRule and tests to the buildSebastien Pouliot
svn path=/branches/mono-2-4/mono-tools/; revision=126972
2009-02-16remove incomplete/uncommitted rule/test from project filesSebastien Pouliot
svn path=/branches/mono-2-4/mono-tools/; revision=126971
2009-02-16add missing AvoidAlwaysNullFieldRule.cs to buildSebastien Pouliot
svn path=/branches/mono-2-4/mono-tools/; revision=126969
2009-02-16add missing AvoidAlwaysNullFieldTest.cs to buildSebastien Pouliot
svn path=/branches/mono-2-4/mono-tools/; revision=126968
2009-01-292009-01-29 Andreia Gaita <shana@jitted.com>Andreia Gaita
* MonoWebBrowserHtmlRender.cs: remove first load logic, there is no first load anymore. [Backported from r124896. Fixes #468694] svn path=/branches/mono-2-4/mono-tools/; revision=124898
2009-01-28 * framework/Makefile.am ($(framework_doc_source)): Change the .source Jonathan Pryor
file contents so that framework docs are placed under the 'Gendarme Framework' node. * rules/common.make ($(rules_doc_source)): Change the .source file contents so that rules are placed under the 'Commands and Files/Gendarme' node. * man (svn:ignore): Ignore generated files. * man/gendarme.source: Added; Adds the gendarme man page under monodoc's 'Commands and Files/Gendarme' node. * man/gendarme.config: Added; mdoc-assemble config file to generate gendarme.tree, gendarme.zip (containing gendarme.1). * man/Makefile.am: Build and install man pages for monodoc. svn path=/branches/mono-2-4/mono-tools/; revision=124748
2009-01-20update version numbers to 2.4mono-2-4-p1Andrew Jorgensen
svn path=/branches/mono-2-4/mono-tools/; revision=123902
2009-01-18Fixed a bug in the stat profiler that prevented file names to be shown for ↵Massimiliano Mantione
unmanaged functions. svn path=/trunk/mono-tools/; revision=123710
2009-01-13Added new UseFlagsAttributeRule.Jesse Jones
svn path=/trunk/mono-tools/; revision=123182
2009-01-13Fixed console target by re-adding rules target. Made console target a phoneyJesse Jones
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
2009-01-11Fixed an assert which broke when the code was switched fromJesse Jones
Mono.Cecil.Cil.Code.ToString to Mono.Cecil.Cil.OpCode.Name. svn path=/trunk/mono-tools/; revision=122993
2009-01-10Fixed the description of FlagsShouldNotDefineAZeroValueRule so that itJesse Jones
mentions bitwise operators instead of boolean operators, uses better english, and added [Serializable] to the sample code. svn path=/trunk/mono-tools/; revision=122974
2009-01-10Added aspnetcheckMarek Habersack
svn path=/trunk/mono-tools/; revision=122956
2009-01-062009-01-06 Jb Evain <jbevain@novell.com>Jb Evain
* CecilMetadata.cs: support some more operators. svn path=/trunk/mono-tools/; revision=122570
2009-01-04Use checked math only in debug.Jesse Jones
svn path=/trunk/mono-tools/; revision=122377
2009-01-03In Test:Sebastien Pouliot
* 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
2009-01-032009-01-03 Sebastien Pouliot <sebastien@ximian.com>Sebastien Pouliot
* CheckParametersNullityInVisibleMethodsRule.cs: Fix case for out parameters which were not ignored for arrays. [Fix #463003] svn path=/trunk/mono-tools/; revision=122369
2009-01-032009-01-03 Sebastien Pouliot <sebastien@ximian.com>Sebastien Pouliot
* CheckParametersNullityInVisibleMethodsRule.cs: Add test cases for 'out' parameters. svn path=/trunk/mono-tools/; revision=122368
2008-12-31ObjectModel.cs: fixed call stack array resize condition.Massimiliano Mantione
svn path=/trunk/mono-tools/; revision=122293
2008-12-31StackEntryAnalysis and Bitmask GetHashCode methods now useJesse Jones
unchecked math. svn path=/trunk/mono-tools/; revision=122278
2008-12-31Added DoNotThrowInUnexpectedLocationRule.Jesse Jones
svn path=/trunk/mono-tools/; revision=122277
2008-12-30update csproj files with new rulesSebastien Pouliot
svn path=/trunk/mono-tools/; revision=122265
2008-12-302008-12-30 Sebastien Pouliot <sebastien@ximian.com>Sebastien Pouliot
* 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
2008-12-302008-12-30 Sebastien Pouliot <sebastien@ximian.com>Sebastien Pouliot
* 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
2008-12-302008-12-30 Sebastien Pouliot <sebastien@ximian.com>Sebastien Pouliot
* 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
2008-12-302008-12-30 Sebastien Pouliot <sebastien@ximian.com>Sebastien Pouliot
* 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
2008-12-302008-12-30 Sebastien Pouliot <sebastien@ximian.com>Sebastien Pouliot
* 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
2008-12-302008-12-29 Sebastien Pouliot <sebastien@ximian.com>Sebastien Pouliot
* ReviewSelfAssignmentRule.cs: Fix the check when a call chain containing an indexer is used. svn path=/trunk/mono-tools/; revision=122215
2008-12-302008-12-29 Sebastien Pouliot <sebastien@ximian.com>Sebastien Pouliot
* 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
2008-12-292008-12-29 Sebastien Pouliot <sebastien@ximian.com> Sebastien Pouliot
* 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
2008-12-292008-12-29 Sebastien Pouliot <sebastien@ximian.com> Sebastien Pouliot
* DoNotExposeNestedGenericSignaturesTest.cs: New. Unit tests for DoNotExposeNestedGenericSignaturesRule svn path=/trunk/mono-tools/; revision=122199
2008-12-28self-test.ignore: Ignore AvoidSwitchStatementsRule on Gendarme assemblies ↵Sebastien Pouliot
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
2008-12-282008-12-28 Sebastien Pouliot <sebastien@ximian.com> Sebastien Pouliot
* 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
2008-12-282008-12-28 Sebastien Pouliot <sebastien@ximian.com>Sebastien Pouliot
* 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
2008-12-282008-12-28 Cedric Vivier <cedricv@neonux.com>Cedric Vivier
* 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
2008-12-28ReviewInconsistentIdentityRule.cs: Added an assert to verify that ↵Jesse Jones
equalityMethods's reserve size is sufficient. svn path=/trunk/mono-tools/; revision=122154
2008-12-272008-12-27 Sebastien Pouliot <sebastien@ximian.com>Sebastien Pouliot
* 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
2008-12-272008-12-27 Sebastien Pouliot <sebastien@ximian.com>Sebastien Pouliot
* DoNotShortCircuitCertificateCheckTest.cs: New. Unit tests for DoNotShortCircuitCertificateCheckRule. svn path=/trunk/mono-tools/; revision=122152
2008-12-262008-12-26 Cedric Vivier <cedricv@neonux.com>Cedric Vivier
* 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
2008-12-262008-12-25 Chris Toshok <toshok@ximian.com>Chris Toshok
* 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
2008-12-26only include the base type missing node if there is one definedChris Toshok
svn path=/trunk/mono-tools/; revision=122129
2008-12-262008-12-25 Chris Toshok <toshok@ximian.com>Chris Toshok
* CompareContext.cs: split out the comparison of base types into a separate method. Also, if we're adding a missing type, add a tree node for the base type. svn path=/trunk/mono-tools/; revision=122128
2008-12-242008-12-24 Sebastien Pouliot <sebastien@ximian.com> Sebastien Pouliot
* PreferCharOverloadRule.cs: New. Rule to promote the use of the char-based overload for String.[IndexOf|LastIndexOf|Replace] over the string-based ones (when the string is one character long). * Makefile.am: Add new rule and tests to the build. svn path=/trunk/mono-tools/; revision=122098
2008-12-242008-12-24 Sebastien Pouliot <sebastien@ximian.com>Sebastien Pouliot
* PreferCharOverloadTest.cs: New. Unit tests for PreferCharOverloadRule svn path=/trunk/mono-tools/; revision=122096
2008-12-242008-12-24 Sebastien Pouliot <sebastien@ximian.com>Sebastien Pouliot
* DetectNonAlphaNumericsInTypeNamesRule.cs: Replace IndexOf("_") with IndexOf('_') since it's faster (self-test) but probably not much in this case since we were already using StringComparison.Ordinal. svn path=/trunk/mono-tools/; revision=122095
2008-12-242008-12-24 Sebastien Pouliot <sebastien@ximian.com>Sebastien Pouliot
* AvoidUncalledPrivateCodeRule.cs: Clear cache on TearDown so the wizard won't reuse it if executed again (since it could be broken). svn path=/trunk/mono-tools/; revision=122091