/Community

A Support Community for SubMain Products
in Search
Welcome to SubMain Community Sign in | Join | Help

SubMain News

Browse by Tags

All Tags » CodeIt.Right » Updates   (RSS)

  • Released: CodeIt.Right Build 1.1.08262

    New version of CodeIt.Right is out! You can download build 1.1.08262 today.

    This is a major release even though we only added ".1" to the version. It includes .NET 3.5 support, Guidelines document template generation, option to analyze single file, enhanced SDK documentation, new rules, new command line version parameters and more. Please share your feedback in the forums.

    This update is free for all users who are current on their Software Assurance and Gold Support Subscription

    Major changes in CodeIt.Right v1.1 :

    • Support for .NET 3.5 (C# 3.0 and VB 9.0)
    • New feature - Generate Template in Profile Editor allows to generate guidelines document template based on the profile. Please note the XSL stylesheet only works with IE (not Firefox)
    • New feature - Analyze File in the Solution Explorer context menu - enables individual source code file analysis
    • New feature - Severity Threshold dropdown - allows to quickly filter violations by severity
    • Improved Profile Editor layout
    • Added "Rule Info" tab in Profile Editor
    • Pivot View allows to save your custom views (Save As)
    • Updated SDK documentation - now includes most every class, method and property of CodeIt.Right SDK. We will update the Online SDK documentation promptly.
    • Auto-Update now also includes the latest help file
    • New Options -> General -> Max violations to report (default Unlimited) to limit to the first N violations reported
    • New Rules:
      1. Do not declare read only mutable reference types (Security)
      2. Seal methods that satisfy private interfaces (Security)
      3. Secure GetObjectData overrides (Security)
      4. Assemblies should declare minimum security (Security)
      5. Override link demands should be identical to base (Security)
      6. Prefix member calls with self (Usage)
      7. Do not prefix calls with Base unless needed (Usage)
      8. Review suppress unmanaged code security usage (Security)
      9. Do not indirectly expose methods with link demands (Security)
      10. Security transparent code should not assert (Security)
      11. Secure asserts (Security)
      12. Code region name should be PascalCased (Naming)
    • CodeItRight.Cmd.exe improvements:
      • Added MsBuild and Nant tasks (SubMain.CodeItRight.MSBuild.dll and
        SubMain.CodeItRight.NAntBuild.dll)
      • Fixed /Quiet option
      • Added /OutXSL parameter
      • Added /CRData parameter
      • Added /severityThreshold parameter
      • Improved formatting of the output XML data file
      • Added return error codes
      • Removed key press required in the older version
      • see CodeItRight.Cmd.exe Command Line Options for details
    • Removed Alt shortcuts in the toolbar - they were conflicting with some of the Visual Studio
    • Renaming a parameter now also updates its name in XML comments
    • Added CodeRegion class in the SDK
    • Added "Expression" and "Code Region" to Rule targets
    • many bugs fixed

    Download build 1.1.08262 here - http://submain.com/download/codeit.right  

    Technorati Tags: , , , , ,

  • New v1.1 is on the way - download CodeIt.Right Beta build 1.1.08198

    by Serge Baranovsky

    New version of CodeIt.Right is almost out. We have a beta build 1.1.08198 for you today. Please download and give it a try, let us know what work and what doesn't. This is pretty big release that includes .NET 3.5 support, Guidelines document template generation, new command line version parameters and more. Please share your feedback in the forums.

    If you get an unhandled error dialog, please enter your email address so we could let you know when we resolved the issue or if we need to contact you for more details in our troubleshooting.

    For the .NET 3.5 support we have made major changes to our parsing engine - please report all issues you encounter with the Beta.

    Major changes in the v1.1 Beta:

    • Support for .NET 3.5 (C# 3.0 and VB 9.0)
    • New feature - Generate Template in Profile Editor allows to generate guidelines document template based on the profile. Please note the XSL stylesheet only works with IE (not Firefox)
    • Improved Profile Editor layout
    • Added "Rule Info" tab in Profile Editor
    • Pivot View allows to save your custom views (Save As)
    • Updated SDK documentation - now includes most every class, method and property of CodeIt.Right SDK
    • Auto-Update now also includes the latest help file
    • New Options -> General -> Max violations to report (default 1000) to limit to the first N violations reported
    • New Rules:
      1. Do not declare read only mutable reference types (Security)
      2. Seal methods that satisfy private interfaces (Security)
      3. Secure GetObjectData overrides (Security)
      4. Assemblies should declare minimum security (Security)
      5. Override link demands should be identical to base (Security)
      6. Prefix member calls with self (Usage)
      7. Do not prefix calls with Base unless needed (Usage)
    • CodeItRight.Cmd.exe improvements:
      • Added MsBuild and Nant tasks (SubMain.CodeItRight.MSBuild.dll and
        SubMain.CodeItRight.NAntBuild.dll)
      • Fixed /Quiet option
      • Added /OutXSL parameter
      • Added /CRData parameter
      • Improved formatting of the output XML data file
      • Added return error codes
      • Removed key press required in the older version
      • see CodeItRight.Cmd.exe Command Line Options for details
    • many bugs fixed

    Download build 1.1.08198 here - http://submain.com/download.aspx?product=codeit.right-beta 

    Note: Even though 1.1.08198 is a stable Beta it's Beta nevertheless. Proceed with care.

    Technorati Tags: , , , , ,

  • CodeIt.Right Rule Update 20080412

    by Serge Baranovsky

    This CodeIt.Right rule update includes fixes as well as 3 new security rules.

    New rules:

    • Do not declare read only mutable reference types (Security)
    • Seal methods that satisfy private interfaces (Security)
    • Secure GetObjectData overrides (Security)

    These rules are included with the default profile and you will only need to follow the wizard to merge them into your custom profiles.

    Fixes:

    • Rule "Do not override operator equals on reference types" incorrectly triggered violation for the "Equals" method. Now this rules only reports violation for the operator "==" override.
    • Fixed "If the type is a generic type, CIR adds the apostrophe-count string to the class name for the deserialization constructor"
    • Fixed "If there is no explicit default parameterless constructor, adding the deserialization constructor causes errors in all derived classes that called the parameterless constructor"

    As a reminder, this set of rules is distributed using the Rule AutoUpdate feature which triggers 15 minutes after you start Visual Studio. If you turned the feature off, you can manually start the update wizard from the CodeIt.Right/Help & Support/Update Rules menu.

    Technorati Tags: , , , , ,

  • CodeIt.Right v1.0.08035 CodeItRight.Cmd.exe Refresh

    by Serge Baranovsky

    Since the v1.0 release a number of improvements were requested for use CodeIt.Right in an automated build process and we are making a refresh for CodeItRight.Cmd.exe available today. This version of CodeItRight.Cmd will be included as part of the v1.1 release which additionally will ship with ready to use tasks for MSBuild and NAnt.

    See CodeItRight.Cmd.exe Command Line Options for complete list of the console version command line switches and error codes.

    Important:

    • This copy of the console version of CodeIt.Right will only work with the original v1.0 release (build 1.0.08035)
    • It will only work with the VS2005 and VS2008 version of CodeIt.Right. If you need VS2003 version, please contact support.

    You can download the new improved  here

    Instructions:

    • Extract SubMain.CodeItRight.Cmd.exe fomr the downloaded zip file
    • Save it to CodeIt.Right program directory, typically Program Files\SubMain\CodeIt.Right

    Changes in this build of CodeItRight.Cmd.exe:

    • Fixed /Quiet option
    • Removed key press required in the older version after it is done analyzing solution
    • Added /OutXSL parameter 
    • Added /CRData parameter
    • Improved output XML data formatting 
    • Added return error codes

    See CodeItRight.Cmd.exe Command Line Options for complete list of the console version command line switches and error codes.

  • New CodeIt.Right Rules - Update 20080128

    by Serge Baranovsky

    Another CodeIt.Right rule update. Next stop, release of CodeIt.Right, is targeted at February 1. Yes, that's the end of this week, better hurry to take advantage of the pre-release pricing ;)

    New CodeIt.Right rule posted:

    • Use prefix for return type  (Naming)
    • Avoid prefix for return type (Naming)
    • Use prefix for derived type (Naming)
    • Avoid prefix for derived type (Naming)

    The four rules above will not be included into the default profile - see How to add rule to User Profile to learn how to add these into your custom profile.

    This set of rules is distributed using the Rule AutoUpdate feature added into the Beta 2 of CodeIt.Right. Auto Update triggers in 15 minutes after you start Visual Studio. If you turned the feature off you can manually start the update wizard from the CodeIt.Right/Help & Support/Update Rules menu.

    Technorati Tags: , , , , ,

  • CodeIt.Right Release Candidate build 1.0.08005

    by Serge Baranovsky

    Here we have another smallish update for CodeIt.Right - build 1.0.08005. 

    Early next week we publish another couple of new really cool rules. We will use rule Auto-Update to push them to you.

    You can see the product is getting very stable now and we only do minor modifications. Which means, guess what? That we are releasing soon :)

    So, make sure you take advantage of our pre-release CodeIt.Right license pricing while it's not too late ;)

    Changes since the last build

    • Enabled the "Enter Registration Code..." menu item. Those of you who already purchased CodeIt.Right license (thank you!) can now activate the product. 
    • Fixed issue with with XML comments rule with enum members all declared on the same line.
    • Fixed problem in the UseOrAvoidCertainPrefixes rule - see forum post
    • Addressed a couple of bugs in the refactoring engine.
    • Few other minor fixes.

    Download build 1.0.08005 here - http://submain.com/download/codeit.right

    For more information on CodeIt.Right, getting started presentation, support and feedback see Beta announce post.

    Technorati Tags: , , , , ,

     

  • CodeIt.Right Release Candidate build 1.0.07355

    by Serge Baranovsky

    Release is just around the corner - CodeIt.Right Release Candidate build 1.0.07355 is available now. This build also includes CodeIt.Right SDK help file. Please download the Release Candidate and share your feedback in the forums.

    Major changes overview since the last Beta build

    • Added support for VS2008 - currently only supports .NET 2.0 solutions in the VS2008 IDE
    • Included CodeIt.Right SDK help file - installs into the SubMain/CodeIt.Right/Help directory. Also available separately in the Community Download section
    • Linked to SDK Reference help file from the main CodeIt.Right Help
    • Added Proxy settings to the Options dialog (Options/Proxy)
    • Addressed lockup issue when CodeIt.Right would freeze VS2005 running under Windows Vista
    • Added option to turn off anonymous rule usage statistics reporting (Options/Other)
    • Added option to exclude regions from analysis (Options/Exclude Regions). Predefined regions are
      • Web Form Designer Generated Code
      • Web Services Designer Generated Code
      • Windows Form Designer Generated Code
      • Component Designer Generated Code
      • Assembly Attribute Accessors
      • My.Settings Auto-Save Functionality
      • COM GUIDs
    • Improved the rules auto-update function
    • Fixed number of issues in the refactoring engine
    • Fixed - when new rules with configurable properties added to a profile, the Editor will warn if the properties are not populated on the rule Save action
    • Fixed Add Rule dialog in Profile Editor now saves sort order
    • Other minor changes and bug fixes.

    Download build 1.0.07355 here - http://submain.com/download/codeit.right

    For more information on CodeIt.Right, getting started presentation, support and feedback see Beta announce post.

    Technorati Tags: , , , , ,


  • New CodeIt.Right Rules - Update 20071203

    by Serge Baranovsky

    New CodeIt.Right rule posted:

    • Externally visible types and members should have XML comments (General)

    This rule makes sure all Public and Protected members and types have XML documentation comment.

    AutoCorrect option for this rule is 'Add XML comment template' which will add

    (for VB)

     '''
    <summary> '''
         '''
    </summary> '''
    <value> '''
        <para> '''
             '''
        </para> '''
    </value> '''
    <remarks> '''
         '''
    </remarks>

    (for C#)

     ///
    <summary> ///
         ///
    </summary> ///
    <value> ///
        <para> ///
             ///
        </para> ///
    </value> ///
    <remarks> ///
         ///
    </remarks>

    (actual content of the template will depend of the code element the XML template are being added to).

    This set of rules is distributed using the Rule AutoUpdate feature added into the Beta 2 of CodeIt.Right. Auto Update triggers in 15 minutes after you start Visual Studio. If you turned the feature off you can manually start the update wizard from the CodeIt.Right/Help & Support/Update Rules menu.

    Don't forget to leave your feedback in the CodeIt.Right forum http://community.submain.com/forums/4/ShowForum.aspx

    (Note: if you skip the custom profile update step in the Rules Update Wizard, you still can add new rules to your custom profile(s) using the Add Rule button in the Profile Editor - you will find recent rules by sorting the date column)

    Technorati Tags: , , , , ,

  • CodeIt.Right Beta build 1.0.07322

    by Serge Baranovsky

    Another refresh for CodeIt.Right Beta build 1.0.07322. Please download the latest build and to let us know what you think on the forums.

    Major changes overview since the last build

    • Changed setup directory for VS2005 version to "CodeIt.Right" - used to be "CideIt.Right for VS2005"
    • Toolbar and most of the menu is now enabled even when you don't have any solution/projects open
    • Changed file format of Rule Update engine to .ZIP (from .DLL) to avoid firewall issues.
    • Added new rules (more to come after Beta 2)
      1. AssembliesShouldHaveValidStrongNames (Design)
      2. Remove unused private methods (Performance)
      3. PropertiesShouldNotReturnArrays (Performance)
    • Added date sort order in the "Add Rule" dialog. 
    • Fixed bug not allowing to add rule to profile if rule belongs to a custom Category
    • Fixed issue with "Solution Folders"
    • Fixed bug with CompilerGenerated/GeneratedCode attributes - now analysis is skipped inside the element marked with CompilerGenerated or GeneratedCode attribute
    • In Custom Rules for "ModificationDate" now use the modification date of the rule assembly
    • many smaller changes and bug fixes.

    (Note for current Beta users: to see the new rules you will need to switch back to the built-in profile or add them to your custom profile(s))

    Download build 1.0.07322 here - http://submain.com/download/codeit.right

    For more information on CodeIt.Right, getting started presentation, support and feedback see Beta 1 announce post.

    Technorati Tags: , , , , ,

  • CodeIt.Right Tutorials Updated

    by Serge Baranovsky

    We have updated CodeIt.Right Flash presentations based on the Beta 2 layout - they are covering new features as well - http://submain.com/tutorials

    Quick Start - Quick 1 minute CodeIt.Right walk through

    Introduction to CodeIt.Right Features - Here is where we show main CodeIt.Right functions and options

    ISerializable Pattern example - One of many scenarios when CodeIt.Right helps to diagnose issues early and implement coding patterns correctly.

    Please let us know in the CodeIt.Right Discussion Forum if these are helpful and how you think we can improve the presentations.

    Click here to read about CodeIt.Right

    (Just a heads up - there is CodeIt.Right update coming up in the next 2 weeks)


     


    Technorati Tags: , , , , ,

  • New CodeIt.Right Rules published - Update 20071017

    by Serge Baranovsky

    New set of CodeIt.Right rules:

    • Avoid unsealed attributes (Performance)
    • COM visible types should be creatable (Interoperability)
    • Pointers should not be visible (Security)
    • Remove empty finalizers (Performance)

    (All of the new rules above offer AutoCorrect options)

    This set of rules is distributed using the Rule AutoUpdate feature added into the Beta 2 of CodeIt.Right. Auto Update triggers in 15 minutes after you start Visual Studio. If you turned the feature off you can manually start the update wizard from the CodeIt.Right/Help & Support/Update Rules menu.

    Another set of rules will be distributed with new build of CodeIt.Right next week as some of them require updated version of the SDK.

    Please leave your feedback how much you like/dislike the AutoUpdate feature, your suggestions - in the CodeIt.Right forum http://community.submain.com/forums/4/ShowForum.aspx

    (Note: if you skip the custom profile update step in the Rules Update Wizard, you still can add new rules to your custom profile(s) using the Add Rule button in the Profile Editor - you will find recent rules by sorting the date column)

    For more information on CodeIt.Right, getting started presentation, support and feedback see Beta 1 announce post.

    Technorati Tags: , , , , ,

  • New CodeIt.Right Rules published - Update 20071008

    by Serge Baranovsky

    We published new CodeIt.Right rules:

    • Mark assemblies with assembly version (Design)
    • Mark assemblies with CLSCompliant (Design)
    • Mark assemblies with ComVisible (Design)
    • Remove unused locals (Performance)

    (All of the new rules above offer AutoCorrect options)

    This is the first set of rules that we distribute using the Rule AutoUpdate feature recently added into the Beta 2 of CodeIt.Right. Auto Update triggers in 15 minutes after you start Visual Studio. If you turned the feature off you can manually start the update wizard from the CodeIt.Right/Help & Support/Update Rules menu.

    The AutoUpdate feature is brand new - please leave your feedback how much you like/dislike it, what steps are not intuitive, what would you improve - in the CodeIt.Right forum http://community.submain.com/forums/4/ShowForum.aspx

    (Note: if you skip the custom profile update step in the Rules Update Wizard, you still can add new rules to your custom profile(s) using the Add Rule button in the Profile Editor - you will find recent rules by sorting the date column)

    For more information on CodeIt.Right, getting started presentation, support and feedback see Beta 1 announce post.

    Technorati Tags: , , , , ,

  • CodeIt.Right Beta 2 is out - build 1.0.07268

    by Serge Baranovsky

    CodeIt.Right Beta 2 is out now - major update since the Beta 1.

    Our team is eager to hear your feedback on the Beta 2 version, as you can really influence the next stage of development. Be sure download the Beta 2 and to let us know what you think on the forums, and have your chance to win 1 of 3 $100 Amazon gift certificates to be awarded to the top three posts by October 31st.

    Major changes overview since the last Beta 1 build

    • Improved analysis performance
    • Help file covers most rules
    • Added new rules (more to come after Beta 2)
      1. DoNotHideBaseClassMethods
      2. AvoidLongTypeArgumentsForVB6Clients
      3. AptcaTypesShouldExtendAptcaBaseTypes
    • Added Rule Update mechanism - allows to notify of new rules published on SubMain site, download, install and update custom profiles.
      New post-Beta 2 rules will be distributed this way.  

    • Added Pivot View

    • Revamped Correction Progress dialog with Report, Export and Undo features

     

    •  Lots of smaller changes and tons of bug fixes.

    (Note for current Beta users: to see the new rules you will need to switch back to the built-in profile or add them to your custom profile(s))

    Download build Beta 2 build 1.0.07268 here - http://submain.com/download/codeit.right

    For more information on CodeIt.Right, getting started presentation, support and feedback see Beta 1 announce post.

    Technorati Tags: , , , , ,

  • CodeIt.Right Beta build 1.0.07172

    by Serge Baranovsky

    New pre-Beta 2 build (1.0.07172) of CodeIt.Right is published - command line version, XML report, exclude attributes, FxCop rule mapping, many bugs fixed - these make it a major update. Give it a try and tell us what you think.

    (Note for current Beta users: to see the new rules you will need to switch back to the built-in profile or add them to your custom profile(s))

    Changes in build 1.0.07172:

    • ADDED: Command line version SubMain.CodeItRight.Cmd.exe - yes, we support Continuous Integration now!
    • ADDED: Export to XML
    • ADDED: XSL template for XML report
    • ADDED: Custom attributes to exclude rules or rule categories from analysis
    • ADDED: Rule mapping to FxCop rules and support for existing FxCop/MS Code Analysis SuppressMessage attributes.
    • CHANGED: Rule Designer renamed into Profile Editor
    • REMOVED: CreationDate from IRule interface
    • ADDED: "ReplaceIdentifierPrefix" rule - allows to replace existing prefixes (e.g. replace "m_" or "g_" with "_")
    • ADDED: "ReplaceIdentifierSuffix" rule - very similar to the replace prefix rule above
    • FIXED: Issue with line # pointing at the beginning of the structure and not at the actual violation line
    • FIXED: Problem loading ASP.NET web sites via HTTP
    • CHANGED: Add Rule dialog - now includes rule modification date column
    • IMPROVED: Undo/Redo perfomance
    • other fixes

    We will be posting soon brief info on SuppressMessage attribute support and using the command line version.

    Download build 1.0.07172 here - http://submain.com/download/codeit.right

    For more information on CodeIt.Right, getting started presentation, support and feedback see Beta announce post.

     

    Technorati Tags: , , , , ,