GrammaTech, Inc. is pleased to announce Ada-ASSURED 3.0, released today. This release contains a number of improvements over Ada-ASSURED 2.2.2. This document describes these improvements.
The most obvious change is that Ada-ASSURED 3.0 supports the Motif look and feel. Editor windows look significantly different than in previous versions. Key differences are:
Ada-ASSURED 3.0 supports both Ada83 and Ada95. Separate executables are provided for each language. An option at install time defines which will be the default editor. The command aa takes the -language parameter that allows the user to override the default.
Ada-ASSURED 3.0 introduces an editor `remote-control' feature. The program sg-client can be used to remotely send scripts for execution to running editors. If no editor is running, then it can be used to start one up. This is useful for tool integration purposes. Other tools can use sg-client to read and write files, invoke editing actions, etc. See the manual page for sg-client and Chapter 12 of the manual for further details.
The capitalization enforcement feature has been strengthened. Previously the user could specify a capitalization rule, and then list identifiers that were exempt from that rule. Ada-ASSURED 3.0 allows the user to specify both syllables that are to have a given capitalization enforced, and also syllables that are to be entirely exempt from capitalization. For example, the user can specify that the syllable IO is to appear capitalized. All occurrences of IO in identifiers such as Text_IO, Low_Level_IO, my_io_package will appear capitalized no matter how they are input, or what global capitalization policy is in effect. In addition, the user can specify syllables or regular expressions that are to be exempt from capitalization. That is, they will appear exactly as they were input.
Ada-ASSURED 3.0 now has only two views: BASEVIEW and MESSAGES. By default, MESSAGES contains the same information as did the ADA_ENFORCEMENT_ERRORS in previous versions. Each category of message (errors, violations, and indicators) can appear in any combination of these views.
Ada-ASSURED 3.0 introduces a feature that allows the user to specify that the text of certain comments is to appear in the MESSAGES view. The string valued enforcement parameter Message Comments controls this feature. If the first character of a comment is one of the characters in this string, then the comment will appear in MESSAGES. This feature can be used to document violation waivers.
The interface to the pretty printing utility pprint has changed. It can now be used to print files as PostScript as well as text. See the manual page in Appendix C of the manual for full details.
Several new enforcement parameters have been introduced to enhance style enforcement and to support Ada 95. The new parameters are:
Browsing of exception names has been introduced. The functionality of find-name has changed slightly. When a name is found to be ambiguous, the dialog box will appear to allow the user to resolve the ambiguity manually.
Ada-ASSURED 3.0 uses the latest version of the FLEXlm license manager.
Previous versions of Ada-ASSURED comprised three separate editors: a stripped down version (adaedit), the mainstream version (enfedit) and a version that supported an Ada design language (adledit). Due to lack of interest, adaedit and adledit have been discontinued. Some of the functionality of adledit will be incorporated into future releases of Ada-ASSURED.