Build 729

Posted by & filed under Build Notes.

(Build b729) – 27 Jun 2014 API For api fortran lexer, fixed crash in lex of files with lines longer than 1024 characters. CODECHECK Added MISRA 2008 rule 14-8-1 and All Check script overloadedFunctionTemplatesShallNotBeExplicitlySpecialized.upl. Added MISRA rule 14-7-1 and allTemplatesShallBeInstantiatedAtLeastOnce.upl to Code Check. COMMANDLINE Support overriding macros of the form X=”\”Y=Z\””. EDITOR Fixed jump to… Read more »

Build 728

Posted by & filed under Build Notes.

(Build b728) – 20 Jun 2014 BUILDSPY Escape xml characters in macros to prevent crash. CODECHECK Ignore standard libraries when testing for Identifier Reuse. Corrected scripting error that can occur when scanning a file that overloads or overwrites an operator which also happens to be a special character when using regular expressions. This fix affected… Read more »

Build 727

Posted by & filed under Build Notes.

(Build b727) – 13 Jun 2014

BUILDSPY

Fix for buildspy crash on files that take a long time to compile.

C#_PARSER

Added debug output to monitor dll files being opened.

FORTRAN_PARSER

Fixed crash that could occur parsing modules with ‘entry’ statements.

GENERAL

Open Last Project – Functionality has been changed so that if the user closes a project from the File Menu and then closes Understand, Understand will not load a project (because there was no last project loaded) when starting next.

GRAPHS

Added an option (right click menu) to show comments associated with the entity in the call, call by, and declaration graphs.
Fixed issue where entity context menu was not available on some graphs.
Added an option under Tools->Options->Graphs to turn off the animation in cluster graphs that occurs each time the graph changes.

SEARCH

Find in Files – Updated the Directory Search to allow users to exclude directories from being searched.

TOOLS

Fixed user tools issue where macros that were prefixes of other macros were not working correctly.

WEB_PARSER

For css, made change to better handle unrecognized css3 at-rules.
For css, made changes to handle non-standard syntax where property declarations appear directly inside media rules.
For Javascript, made changes to handle non-standard syntax allowing multiple variables to be defined and initialized using ‘var {name1,name2…} = expr’.
For Javascript, made change to handle non-standard syntax where anonymous functions could be defined with just an expression for the function body.
For css, added support for keyframes animation rules.

Build 726

Posted by & filed under Build Notes.

(Build b726) – 6 Jun 2014

CODECHECK

Corrected reporting errors in MISRA 2008, rule 6-4-5; MISRA 2004, rule 15.2; and AllCheck script unconditionalStatementShallTerminateNonEmptySwitchClauses.upl
CodeCheck – Fixed potential loop/Analysis crash.

GENERAL

Entity Locator – Fixed an issue with sorting dates not working correctly when the dates were only seconds apart. Also fixed the date compare so that = now works correctly.
Display the project configuration when a Visual Studio sln file is loaded.

GRAPHS

Fix for issue on Mac where context menu in interactive graphs does not go away for subsequent clicks.

JAVA_PARSER

Made change to avoid unnecessary rewriting of database information for library classes.

PYTHON_PARSER

Made changes to avoid unnecessary file status checks when searching for imported files.

TOOLS

Command Capture – Fixed a case where filenames with dashes were not creating links properly.

WEB_PARSER

For css, made change to allow non-standard syntax with ‘+’ and ‘-‘ expressions in property values. Also, added column numbers to web language syntax error messages.
For web css, made change to allow non-standard syntax where property name is preceded by ‘* ‘.

Build 725

Posted by & filed under Build Notes.

(Build b725) – 29 May 2014

BOOKMARKS

Added an option to show the original indentation.

CODECHECK

Added MIRSA 2008 rule 8-3-1 and All Check script `overridingVirtualFunctionsShallNotChangeDefaults.upl’ to CodeCheck.

GENERAL

Fixed possible crash in new project wizard.

PARSER

Fix minor memory leak in api function udbListEntityFree().
Fixed db corruption/read errors that occurred after reparse on some windows machines.

PYTHON_PARSER

Made changes to improve parse speed.

SEARCH

Find in Files – Fixed an issue where the Find button was not enabled correctly when there were no open files and Find In->Open Files is selected.

TOOLS

User Tools – Fixed an issue where valid icon files were not being accepted as valid.

Build 724

Posted by & filed under Build Notes.

(Build b724) – 26 May 2014

ADA_PARSER

Fixed bug where the body and spec of a procedure with an ‘export_procedure’ pragma were not combined into a single database entity.

ARCHITECTURE

Disable buttons in architecture builder when the action can’t be done (ex: only enable remove if item is selected in editable arch).

CODECHECK

Corrected reporting errors in MISRA 2008, MISRA 2004 and All Check scripts.

COMMANDLINE

In und, ensured that after “settings -metricmetrics all”, the metrics exported are sorted alphabetically (like from the gui). If metrics are listed out in the settings command, they will still be exported in the order listed.

GENERAL

Entity Locator, CodeCheck Results Locator, CodeCheck False Positive Locator – Added the ability to allow negative searches. This is done by adding a ‘!’ before the filter. This will work for all Filter Pattern Syntax.
Selector – Updated to close all selected open files when the default close shortcut (cmd+w on Mac) is used even when the Selector is not in focus.
Dependency Browser – Added “Addr Uses” to the filter list.

GRAPHS

Fix for cluster graphs nodes sometimes refusing to expand.
Fixed highlighting issues with entities inside of entity clusters in Architecture Dependency Graphs.
Enabled cluster options (inter child edges shown, aggregate edges) for entity clusters in Architecture Dependency Graphs.
Fixed an issue in architecture dependency graphs where edges between entities and architectures were sometimes aggregated to the file.
Fixed error in architecture depends, depends on, butterfly dependency graphs where file nodes vanished when clicked.
Fixed wheel zoom on graphs to work even when graph doesn’t have focus.

PYTHON_PARSER

Improved parse speed on projects with a large number of source directories.

SEARCH

Find in Files – Allow for specifying File Types in an “Open Files” search.
Entity Locator – Fixed an issue with filtering and sorting the file/entity dates.

STRICT_PARSER

Fixed failure to begin analysis of header files.
Fixed bug in BOM detection.

TOOLS

Command Capture Macros – Alphabetized Macros.
KeyBindings->User Tools – Fixed an issue where the names defined in the User Tools were not being escaped correctly (i.e. \t).
User Tools – Added the $CurArchitecture macro.

Build 723

Posted by & filed under Build Notes.

(Build b723) – 19 May 2014

COMMANDLINE

In und made environment-defined named roots take precedence over Understand.ini-defined named roots. Note that “add -root” still works and will temporarily overwrite a named root for the duration of that instance of und.

COMPILERS

Add support for TI C55X c/c++ compilers.

EDITOR

Fixed rich text indent and wrap issues.
Fixed find/replace incorrect case replacement.

FAVORITES

Fixed the issue with Favorite items not showing properly.

GENERAL

Removed warning from und about QObject::connect failure that sometimes occurred during add with named roots.
Fixed regression in project configuration dialogue cancel prompt.
Enabled select all, copy all for understand trees, lists, and tables that didn’t yet support it.

GRAPHS

Changed cluster call graphs to have aggregated edges appear on the edge of clusters instead of a random location inside the cluster.
Restored architecture dependency graph aggregate edges to draw the edges from the edge of a cluster, rather than an arbitrary point within the cluster.
In architecture dependency graphs, changed edges that go to an expanded entity to go to the cluster edge instead of a fake node (with the cluster name) inside of the cluster.
Fixed issue in entity cluster call graphs when collapsing a parent with children that have expanded children.

PROJECT

Fixed regression in saving visual studio sync project settings.
Parselog – Updated the Missing Includes link to be more readable when selected.

SEARCH

Fixed error where incremental find would ignore selected text when enter was pressed.
Entity Locator – Updated to be able to see and filter and correctly sort associated Architectures.

WEB_PARSER

For Javascript, made changes to give full names to properties.

Build 722

Posted by & filed under Build Notes.

(Build b722) – 12 May 2014

CODECHECK

Updated CodeCheck Checks and Files configuration pages to have a search icon that will activate the search (same as CTRL + F).
Added new MISRA 2008 and All Check scripts

COMMANDLINE

Load named roots from Understand.ini when Und launches.

GENERAL

Window Title & Tab Title & Selector – Fixed the titles to show the correct title for non project files in relative projects and to show the correct long names for project files. These options can be set in Tools->Options->User Interface under ‘Title Formats’.
Possible fix for database error on resolve with the architecture browser open.
Updated the Selector to show the complete file path in the ToolTip.

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.