2008-08-10 Sebastien Pouliot * PInvokeShouldNotBeVisibleRule.cs: Add check for non-static p/invokes. * Makefile.am: Include all unit tests (typo) 2008-07-12 Sebastien Pouliot * GetLastErrorMustBeCalledRightAfterPInvokeRule.cs: Remove unused field (self-test) 2008-07-10 Sebastien Pouliot * Makefile.am: Start using ../common.make 2008-07-08 Sebastien Pouliot * GetLastErrorMustBeCalledRightAfterPInvokeRule.cs: Simplify logic a bit. Handle the case where Resolve returns null (cannot find the required assemblies) * Makefile.am: Rebuild if the framework has changed. 2008-05-24 Sebastien Pouliot * DoNotCastIntPtrToInt32Rule.cs: Don't apply rule to GetHashCode methods since it's unlikely that the downcast will cause problem and this reduce the main source of false-positives. 2008-05-16 Sebastien Pouliot * DoNotCastIntPtrToInt32Rule.cs: Change Convert method to static (self-test). 2008-05-09 Sebastien Pouliot * DoNotCastIntPtrToInt32Rule.cs: New. Rule to ensure we're not generating code limiting IntPtr to work on 32bits architectures. * Makefile.am: Add rule and test to the build. 2008-04-06 Sebastien Pouliot * GetLastErrorMustBeCalledRightAfterPInvokeRule.cs: Add Equals, GetHashCode and ==,!= operators on Branch to satisfy OverrideValueTypeDefaultsRule. * UseManagedAlternativesToPInvokeRule.cs: Add Equals(PInvokeCall) method to satisfy ImplementEqualsTypeRule. 2008-02-17 Sebastien Pouliot * GetLastErrorMustBeCalledRightAfterPInvokeRule.cs: Change to static and initialize it directly. 2008-02-16 Sebastien Pouliot * GetLastErrorMustBeCalledRightAfterPInvokeRule.cs: Fix the case where the p/invoke is inside another assembly using the AssemblyResolver. 2008-02-15 Sebastien Pouliot * GetLastErrorMustBeCalledRightAfterPInvokeRule.cs * MarshalStringsInPInvokeDeclarationsRule.cs * PInvokeShouldNotBeVisibleRule.cs * UseManagedAlternativesToPInvokeRule.cs: Update rules wrt framework changes. 2008-01-30 Sebastien Pouliot * GetLastErrorMustBeCalledRightAfterPInvokeRule.cs: Changed to use the new shared StackEntryAnalysis by Andreas Noever. Refactored (split) by me to reduce self-test complaints ;-) 2008-01-29 Sebastien Pouliot * MarshalStringsInPInvokeDeclarationsRule.cs: New. Rule to ensure all string and StringBuilder have marshalling information [Daniel Abramov] * Gendarme.Rules.Interoperability.xml.in: Add rule description and update Uri for all of them. * Makefile.am: Add rule and test to the build. 2008-01-28 Sebastien Pouliot * UseManagedAlternativesToPInvokeRule.cs: Override operators == and != since the struct PInvokeCall overrides Equals (Gendarme rule). 2008-01-21 Sebastien Pouliot * UseManagedAlternativesToPInvokeRule.cs: New. Rule to check if p/invoke calls can be replaced with managed alternatives [Daniel Abramov]. Removed dead code and simplified GetHashCode (sp) * Makefile.am: Add rule and test to the build. * Gendarme.Rules.Interoperability.xml.in: Add rule description. 2008-01-11 Sebastien Pouliot * GetLastErrorMustBeCalledRightAfterPInvokeRule.cs: Use new Location ctors. 2008-01-02 Sebastien Pouliot * GetLastErrorMustBeCalledRightAfterPInvokeRule.cs: Change two methods to static (self-test) * Gendarme.Rules.Interoperability.mdp: New. MonoDevelop project file. 2007-12-30 Sebastien Pouliot * GetLastErrorMustBeCalledRightAfterPInvokeRule.cs: New. Rule to ensure GetLastError is called soon enough after a p.invoke call. Rule by Andreas Noever * PInvokeShouldNotBeVisibleRule.cs: New. Rule to check that all p/invoke declaration aren't directly visible from assemblies. * Gendarme.Rules.Interoperability.xml.in: Rules descritions. * Makefile.am: New. Build file for rules and tests.