Build 721

Posted by & filed under Build Notes.

(Build b721) – 9 May 2014

CODECHECK

Added new MISRA 2008 and All Check scripts.
Corrected reporting errors in Java naming convention scripts.
Corrected reporting errors in MISRA 2004, MISRA 2008 and All Check scripts.

COMMANDLINE

When analyzing in und, warn users if a named root definition is missing, and stop analysis.
Added an option to und to add the files and file override settings from one database to another database. The format is “und add from.udb to.udb”.

GENERAL

Fixed editor truncate column setting with automatic Fortran format detection.
Fixed extra save dialog when the option to save on application deactivation is enabled.
Fixed failure to load Fortran ‘free format file filter’ files in free format in the editor.
Fixed project settings persisting after cancelling the project settings dialog.

GRAPHS

Zoom on graphs starts from the mouse position (like google maps).
Fixed Cluster Control Flow Graph display of multiple lines of comments.
Fixed control flow graph failure with the comment option enabled.

WEB_PARSER

For Javascript, added full names for nested entities.

SEARCH

Added an option to the entity filter (menu->Filter Unresolved Entities) to filter unknown/unresolved entities from the list.

UPERL

Add $ref->macroexpansion to perl API.
Fix API lexer when accounting for macro expansion to not add 1 to the lexeme ending column.
Add uperl api function ->macroexpansion(), to return the expansion text of macro references.

COMPILERS

Add support for the extension @interrupt in Cosmic compilers to appear between ‘static’ and the function type.

FAVORITES

Fixed an issue with Open and Close all items sometimes not working with non project files.
Potential fix to an issue where a Favorite item is not shown but still exists.

STRICT_PARSER

Added missing references to using directive declarations in function scope.
Fixed worker process crash on files containing a UTF-16 or UTF-32 byte-order-mark.

UPY

Added Ref.macroexpansion() to the python api.
Updated python api documentation for db.close() to warn users that accessing objects belonging to that database after db.close() can cause a crash.

Build 720

Posted by & filed under Build Notes.

(Build b720) – 1 May 2014

API

Fix api lexer when accounting for macro expansion to not add 1 to the lexeme ending column.

FAVORITES

Updated the Text Selection to reflect rich text in the tooltip if available.

GENERAL

Enabled double-click toggling of expansion state, and standard keys (+/-/*/right/left/down/up) on tree views that didn’t yet support it.
Fixed project configuration progress dialog hang.

METRICS

Add MaxEssential metric for c++ files and functions, c#, Fortran, Java, Pascal, Python, and web languages.
For Pascal metrics, fixed bug where Max and Sum metrics for Units did not include information from class methods. Also, removed all metric values for unknown and unresolved routines.

STRICT_PARSER

Fixed clang static analyzer checks to search the project for includes when the option to search project includes is set.
Fixed incorrect Objective-C property and synthesized ivar reference scopes.

Build 719

Posted by & filed under Build Notes.

(Build b719) – 29 Apr 2014

ADA_PARSER

Fixed bug where sets of array components were sometimes recorded as uses if there were unknown types used in the array declaration.

CODECHECK

Corrected reporting errors in MISRA 2008, MISRA 2004 and AllCheck scripts.
Fixed enumerator naming conventions check.

EDITOR

Understand editor now supports CRCRLF as a line ending.
Enabled pasting with multiple insertion points with Alt+ column select.

FAVORITES

Updated the Editor tabs to include the “Add to Favorites” in the context menu regardless if is a project file or not.
Added the ability to close all open editor items that are associated with a Favorites group.
Updated to include a “Remove From Favorites” where appropriate. Updated to only show Favorite groups that do not already have the file/entity/architecture (included in this is the remove).
Added an “Add to New Favorites” in the Editor selection. Removed the “Text Selection:” text from the Text Selection Tooltip.
Fixed an issue with Favorites groups not showing in the drop down menus.

GENERAL

Search for Missing Includes – Updated to save\cancel and not return to the Project Configuration.
Fixed clipped text and menu button in the information browser.
Hide the User Tools toolbar when it is empty.
Updated the project Wizard to allow for empty projects (no Directories/Files) when creating new projects.

GRAPHS

Fixed crash in cluster control flow graphs for functions with do-while loops.
Removed text from toolbar, and instead showed entity name as first menu item (italic and disabled).
Added an option under Tools->Options->Graphs to control whether clusters have a background color (fill).
Fix crash on Graphs->Project Graphs menu.

JAVA_PARSER

Added support for some of the new Java 8 syntax.

METRICS

For Java metrics, fixed bug where Unknown Methods were given a RatioCommentToCode metric of 0.

PERL

Changes to the c_function_compare.pl script. Thanks John M!

STRICT_PARSER

Fixed call reference type to template type parameters.

Build 718

Posted by & filed under Build Notes.

(Build b718) – 18 Apr 2014

CODECHECK

Added new MIRSA 2008, MISRA 2004 and AllCheck scripts to CodeCheck.
Corrected reporting errors in MISRA 2008 and AllCheck scripts.

EDITOR

Fixed regression in prompting to edit read-only files.

GENERAL

Fixed possible crash when clicking on the ‘Analyze Changed Files’ tool button.
Fixed failure to center window navigator and editor companion popups over the main window. Updated window navigator layout. Fixed window navigator memory leak.
Keybindings – Updated to accept mouseclicks as shortcuts (not Left, Right or Middle).

GRAPHS

Added a cluster control flow graph.

SEARCH

Find in Files – Updated the Directory/Files section to default to the project directory if there is a project loaded.

Build 717

Posted by & filed under Build Notes.

(Build b717) – 11 Apr 2014 EDITOR Revert preservation of /r/n in rich text copy. Use editor font size. Fix for custom styles sometimes becoming uneditable. Added option to disable preformatted white space in rich text copy. Use this option to work around broken HTML rendering in Microsoft Lync. GENERAL Fixed failure to save main… Read more »

Build 716

Posted by & filed under Build Notes.

ANNOTATIONS Changed Add/Edit Annotations Dialog to automatically create a new annotation and give the text window focus when there are no previous annotations. CODECHECK Added new CodeCheck scripts for MISRA 2008, MISRA 2004 and AllCheck. Checks that looked for Commented Code could fail after the first file. GENERAL Edit companion files is only enabled when… Read more »

Build 715

Posted by & filed under Build Notes.

ANNOTATIONS Added an accelerator key for Add/Edit annotations dialog box on the save button. BUILDSPY Updated to remove licensing. Hopefully a fix for buildspy when compiler commands are really really long. Information is now sent from the wrapprs to buildspy in increments. CODECHECK Update “Macro Not Within Block” check and “#undef Not Used”. Added several… Read more »

Build 714

Posted by & filed under Build Notes.

BUILDSPY Buildspy supports -cc and -cxx command line arguments that determine which compilers gccwrapper and g++wrapper call respectively. These command line arguments will override the configuration file if they are present. Buildspy can be run incrementally, updating only the files it is run on (rather than requiring a clean build). COMMANDLINE Und now gives error… Read more »

Build 713

Posted by & filed under Build Notes.

C#_PARSER C# References – Fixed an issue where users could inadvertently add a space before or after a value/reference pair that would cause an issue in parsing. Fixed bug where trailing spaces on reference file names caused ‘unable to open dll file’ errors on linux systems. CODECHECK Added additional MISRA C/C++ checks. GENERAL Configure Metric… Read more »

Build 712

Posted by & filed under Build Notes.

  (Build b712) – 7 Mar 2014 PARSER Fix c++ resolve of template static functions. PYTHON_API Fixed memory leaks in Python API. PYTHON_PARSER Fixed bug where circular imports between files where one of the imports occurs inside of a function could cause unknown or unresolved entities to be created. STRICT_PARSER Added missing throw and exception… Read more »