Age | Commit message (Collapse) | Author |
|
* TypeRocks.cs: Resolve: remove. Implements: handle types
with a null BaseType.
* MethodRocks.cs: Resolve: remove. IsOverride: handle types
with a null BaseType.
* FieldRocks.cs: remove Resolve.
svn path=/trunk/mono-tools/; revision=124825
|
|
* AssemblyResolver.cs: remove the Resolve methods
for types, fields and methods. That's now handled directly
by Cecil.
svn path=/trunk/mono-tools/; revision=124824
|
|
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=/trunk/mono-tools/; revision=124747
|
|
unchecked math.
svn path=/trunk/mono-tools/; revision=122278
|
|
* 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
|
|
* 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
|
|
* 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
|
|
* AssemblyResolver.cs: Fix bug with method definition resolution on
constructors having an overload without parameter.
svn path=/trunk/mono-tools/; revision=121927
|
|
Mono.Cecil.Pdb and the installer projects
svn path=/trunk/mono-tools/; revision=120956
|
|
* Symbols.cs: Include the source line when GetSource is not called
with a method. ExtractFirst now returns the first instruction with
a sequence point instead of simply the first instruction.
svn path=/trunk/mono-tools/; revision=120557
|
|
* MethodSignature.cs: Use HasParameters
svn path=/trunk/mono-tools/; revision=120448
|
|
* CustomAttributeRocks.cs: Use HasCustomAttributes
* InstructionRocks.cs: Use HasParameters
* MethodRocks.cs: Use HasConstraints and HasParameters
* TypeRocks.cs: Use HasInterfaces, HasParameters, HasMethods and
HasConstructors.
svn path=/trunk/mono-tools/; revision=120447
|
|
* Symbols.cs: Added a comment describing some problems with
doing source line formatting in this file.
svn path=/trunk/mono-tools/; revision=120427
|
|
* AssemblyResolver.cs: backport of r120410.
In AreSame(TypeReference,TypeReference), fix the case where we
compare two GenericInstanceType of the same element type
with differente generic arguments.
svn path=/trunk/mono-tools/; revision=120420
|
|
* FieldRocks.cs: Use HasCustomAttributes in IsGeneratedCode. Handle
unresolvable fields in IsVisible.
* MethodRocks.cs: Use HasCustomAttributes in IsGeneratedCode. Use
HasParameters in IsEventCallback.
* TypeRocks.cs: Use HasCustomAttributes in IsGeneratedCode. Handle
unresolvable fields in IsFlag.
svn path=/trunk/mono-tools/; revision=120296
|
|
* AssemblyResolver.cs: Use Has{x} to avoid creating fields and
parameters collections while resolving.
* EngineController.cs: Use Has{x} whenever possible to avoid the
creation of empty collections in Cecil.
svn path=/trunk/mono-tools/; revision=120295
|
|
* Makefile.am: Use -noshadow on nunit-console2 so the "new" 2.4,
now used inside mono, works properly.
svn path=/trunk/mono-tools/; revision=120262
|
|
* Makefile.am: Include the framework unit tests in the dist.
svn path=/trunk/mono-tools/; revision=120197
|
|
* Makefile.am: Avoid re-building documentation needlessly. This
fix the case where a make install, under su, would fail to locate
mdoc.
svn path=/trunk/mono-tools/; revision=119757
|
|
* Rule.cs: Do not create a new Uri each time we ask for one (its
not needed as it is read only).
* Runner.cs: Avoid needlessly calling IsVisible rock on types and
methods when the runner is analyzing everything.
svn path=/trunk/mono-tools/; revision=119412
|
|
* Namespace.cs: Specify StringComparison.Ordinal when calling
String.StartsWith.
svn path=/trunk/mono-tools/; revision=119411
|
|
* TypeRocks.cs: Make GetMethod smarter and check only the methods
or the constructors when possible. Split Implements in two parts
to remove some checks when recursion is needed. Also avoid recursion
for checking the base types. Add IsPrimitive rock.
svn path=/trunk/mono-tools/; revision=119410
|
|
* NamespaceEngine.cs: Add Exists method to check the existance of
a namespace withint the assembly set.
svn path=/trunk/mono-tools/; revision=119409
|
|
* Makefile.am: Added new Log.cs file.
svn path=/trunk/mono-tools/; revision=119115
|
|
* Log.cs: Added.
svn path=/trunk/mono-tools/; revision=119114
|
|
|
|
* Makefile.am: Uses new options.make
svn path=/trunk/mono-tools/; revision=118930
|
|
* Makefile.am: Add MethodPrinter to the build. Patch by Jesse Jones
svn path=/trunk/mono-tools/; revision=118806
|
|
* MethodPrinter.cs: Added. Used to convert a method body into a
string. Factored out of the CFG class.
svn path=/trunk/mono-tools/; revision=118805
|
|
* ModuleRocks.cs: Change the catch-all for a catch(FormatException)
since Cecil has been fixed on HEAD.
svn path=/trunk/mono-tools/; revision=118574
|
|
* MethodRocks.cs: Make IsEventCallback safe if the method cannot be
resolved.
svn path=/trunk/mono-tools/; revision=118351
|
|
svn path=/trunk/mono-tools/; revision=118350
|
|
svn path=/trunk/mono-tools/; revision=118338
|
|
* Makefile.am: Add Test to SUBDIRS to fix make checkdist
svn path=/trunk/mono-tools/; revision=118326
|
|
svn path=/trunk/mono-tools/; revision=118322
|
|
* EngineController.cs: Fix potential (if/when a runner use multiple
threads) race condition on raising events (self-test).
svn path=/trunk/mono-tools/; revision=118286
|
|
* MethodRocks.cs: Fix IsEventCallback to work with generic TEventArgs
svn path=/trunk/mono-tools/; revision=118283
|
|
* gendarme/framework/Gendarme.Framework.csproj: Enable Makefile
integration of Gendarme.Framework.csproj
svn path=/trunk/mono-tools/; revision=118282
|
|
* StackEntryAnalysis.cs: Clearly specify [Serializable] on
enums (self-test)
svn path=/trunk/mono-tools/; revision=118250
|
|
* ApplicabilityScope.cs, Confidence.cs, RuleResult.cs,
Severity.cs: Clearly specify [Serializable] on enums (self-test)
svn path=/trunk/mono-tools/; revision=118249
|
|
* gendarme/rules/rules.mds:
* gendarme/rules/common.make:
* gendarme/rules/Makefile.am:
* gendarme/console/gendarme.csproj:
* gendarme/rules/Test.Rules/Test.Rules.csproj:
* gendarme/framework/Gendarme.Framework.csproj:
* gendarme/rules/Gendarme.Rules.Ui/Makefile.am:
* gendarme/framework/Test/Tests.Framework.csproj:
* gendarme/rules/Gendarme.Rules.Naming/Makefile.am:
* gendarme/rules/Gendarme.Rules.Smells/Makefile.am:
* gendarme/rules/Gendarme.Rules.Design/Makefile.am:
* gendarme/rules/Gendarme.Rules.Security/Makefile.am:
* gendarme/swf-wizard-runner/swf-wizard-runner.csproj:
* gendarme/rules/Gendarme.Rules.Exceptions/Makefile.am:
* gendarme/rules/Gendarme.Rules.Concurrency/Makefile.am:
* gendarme/rules/Gendarme.Rules.BadPractice/Makefile.am:
* gendarme/rules/Gendarme.Rules.Portability/Makefile.am:
* gendarme/rules/Gendarme.Rules.Performance/Makefile.am:
* gendarme/rules/Gendarme.Rules.Correctness/Makefile.am:
* gendarme/rules/Gendarme.Rules.Design.Linq/Makefile.am:
* gendarme/rules/Gendarme.Rules.Ui/Gendarme.Rules.Ui.mdp:
* gendarme/rules/Gendarme.Rules.Security.Cas/Makefile.am:
* gendarme/rules/Gendarme.Rules.Serialization/Makefile.am:
* gendarme/rules/Gendarme.Rules.Design.Generic/Makefile.am:
* gendarme/rules/Gendarme.Rules.Maintainability/Makefile.am:
* gendarme/rules/Gendarme.Rules.Ui/Gendarme.Rules.Ui.csproj:
* gendarme/rules/Gendarme.Rules.Interoperability/Makefile.am:
* gendarme/rules/Gendarme.Rules.Ui/Test/Tests.Rules.Ui.csproj:
* gendarme/rules/Gendarme.Rules.Smells/Gendarme.Rules.Smells.mdp:
* gendarme/rules/Gendarme.Rules.Naming/Gendarme.Rules.Naming.mdp:
* gendarme/rules/Gendarme.Rules.Design/Gendarme.Rules.Design.mdp:
* gendarme/rules/Gendarme.Rules.Smells/Gendarme.Rules.Smells.csproj:
* gendarme/rules/Gendarme.Rules.Naming/Gendarme.Rules.Naming.csproj:
* gendarme/rules/Gendarme.Rules.Design/Gendarme.Rules.Design.csproj:
* gendarme/rules/Gendarme.Rules.Security/Gendarme.Rules.Security.mdp:
* gendarme/rules/Gendarme.Rules.Smells/Test/Tests.Rules.Smells.csproj:
* gendarme/rules/Gendarme.Rules.Naming/Test/Tests.Rules.Naming.csproj:
* gendarme/rules/Gendarme.Rules.Design/Test/Tests.Rules.Design.csproj:
* gendarme/rules/Gendarme.Rules.Security/Gendarme.Rules.Security.csproj:
* gendarme/rules/Gendarme.Rules.Exceptions/Gendarme.Rules.Exceptions.mdp:
* gendarme/rules/Gendarme.Rules.Security/Test/Tests.Rules.Security.csproj:
* gendarme/rules/Gendarme.Rules.BadPractice/Gendarme.Rules.BadPractice.mdp:
* gendarme/rules/Gendarme.Rules.Correctness/Gendarme.Rules.Correctness.mdp:
* gendarme/rules/Gendarme.Rules.Design.Linq/Gendarme.Rules.Design.Linq.mdp:
* gendarme/rules/Gendarme.Rules.Portability/Gendarme.Rules.Portability.mdp:
* gendarme/rules/Gendarme.Rules.Performance/Gendarme.Rules.Performance.mdp:
* gendarme/rules/Gendarme.Rules.Concurrency/Gendarme.Rules.Concurrency.mdp:
* gendarme/rules/Gendarme.Rules.Exceptions/Gendarme.Rules.Exceptions.csproj:
* gendarme/rules/Gendarme.Rules.Security.Cas/Gendarme.Rules.Security.Cas.mdp:
* gendarme/rules/Gendarme.Rules.Exceptions/Test/Tests.Rules.Exceptions.csproj:
* gendarme/rules/Gendarme.Rules.BadPractice/Gendarme.Rules.BadPractice.csproj:
* gendarme/rules/Gendarme.Rules.Design.Linq/Gendarme.Rules.Design.Linq.csproj:
* gendarme/rules/Gendarme.Rules.Performance/Gendarme.Rules.Performance.csproj:
* gendarme/rules/Gendarme.Rules.Concurrency/Gendarme.Rules.Concurrency.csproj:
* gendarme/rules/Gendarme.Rules.Correctness/Gendarme.Rules.Correctness.csproj:
* gendarme/rules/Gendarme.Rules.Portability/Gendarme.Rules.Portability.csproj:
* gendarme/rules/Gendarme.Rules.Serialization/Gendarme.Rules.Serialization.mdp:
* gendarme/rules/Gendarme.Rules.Security.Cas/Gendarme.Rules.Security.Cas.csproj:
* gendarme/rules/Gendarme.Rules.Correctness/Test/Tests.Rules.Correctness.csproj:
* gendarme/rules/Gendarme.Rules.BadPractice/Test/Tests.Rules.BadPractice.csproj:
* gendarme/rules/Gendarme.Rules.Portability/Test/Tests.Rules.Portability.csproj:
* gendarme/rules/Gendarme.Rules.Performance/Test/Tests.Rules.Performance.csproj:
* gendarme/rules/Gendarme.Rules.Concurrency/Test/Tests.Rules.Concurrency.csproj:
* gendarme/rules/Gendarme.Rules.Design.Generic/Gendarme.Rules.Design.Generic.mdp:
* gendarme/rules/Gendarme.Rules.Serialization/Gendarme.Rules.Serialization.csproj:
* gendarme/rules/Gendarme.Rules.Maintainability/Gendarme.Rules.Maintainability.mdp:
* gendarme/rules/Gendarme.Rules.Serialization/Test/Tests.Rules.Serialization.csproj:
* gendarme/rules/Gendarme.Rules.Design.Generic/Gendarme.Rules.Design.Generic.csproj:
* gendarme/rules/Gendarme.Rules.Interoperability/Gendarme.Rules.Interoperability.mdp:
* gendarme/rules/Gendarme.Rules.Maintainability/Gendarme.Rules.Maintainability.csproj:
* gendarme/rules/Gendarme.Rules.Interoperability/Gendarme.Rules.Interoperability.csproj:
* gendarme/rules/Gendarme.Rules.Maintainability/Test/Tests.Rules.Maintainability.csproj:
* gendarme/rules/Gendarme.Rules.Interoperability/Test/Tests.Rules.Interoperability.csproj:
Activate makefile integration for all the rules projects. Remove the
old mdp files as they are no longer needed.
svn path=/trunk/mono-tools/; revision=118184
|
|
* InstructionRocks.cs: Fixed TraceBack so that it only goes back
if the stack is non empty (the old code had problems with nullary
static methods for example).
svn path=/trunk/mono-tools/; revision=117675
|
|
* Makefile.am: Regenerate documentation if the .doc file has changed
* ChangeLog: Remove duplicate entry (from another dir)
svn path=/trunk/mono-tools/; revision=117653
|
|
* ModuleRocks.cs: Add a catch-all since we can't catch the
MonoSymbolFileException throw for earlier version of the MDB
debugging symbols.
svn path=/trunk/mono-tools/; revision=117640
|
|
* common.make: Empty make targets don't seem to build on OS-X which
causes problems when we try to build xml files which aren't there.
Fixed this by adding a prereq on the doc directory in addition to
the xml files.
svn path=/trunk/mono-tools/; revision=117605
|
|
* Makefile.am: Added FRAMEWORK_OPTIONS and TESTS_OPTIONS. These define
DEBUG/TRACE, enable all warnings, make warnings errors. (small changes
by Sebastien Pouliot for things we'll enable only later)
svn path=/trunk/mono-tools/; revision=117525
|
|
* Bitmask.cs: Added unchecked statement to Bitmask.Clear so that
it works when compiling with checked arithmetic.
svn path=/trunk/mono-tools/; revision=117443
|
|
* NamespaceEngine.cs: Handle null arguments for [Namespaces|Types]
Inside methods (self-test).
svn path=/trunk/mono-tools/; revision=117346
|
|
* Bitmask.cs: Handle null correctly to avoid NRE (self-test)
svn path=/trunk/mono-tools/; revision=117340
|
|
svn path=/trunk/mono-tools/; revision=117116
|