Development Log

  • GNAT Pro | GPS | GNATbench
    Nov 10th, 2016

    GPS: Speed up Project and Files views
    Creating either views is now much faster, in particular on large projects where a directory contains several thousands of files.

  • GNAT Pro | GPS | GNATbench
    Nov 10th, 2016

    GPS: speed up Project and Files views
    Creating either views is now much faster, in particular on large projects where a directory contains several thousands of files.

  • SPARK Pro
    Nov 10th, 2016

    Loop invariant generation for preserved components
    GNATprove can automatically generate loop invariants specifying the preservation of array and record components that are not modified during a loop. This generation is a heuristic which only works in the most common cases.

  • GNAT Pro | GPS | GNATbench
    Nov 9th, 2016

    GPS: Number of replacements reported
    GPS now reports in the Messages window the number of occurrences that have been replaced when 'Replace All' button of the Search view is clicked.

  • GNAT Pro | GPS | GNATbench
    Nov 9th, 2016

    GPS: Number of replacements reported
    GPS now reports in the Messages window the number of occurrences that have been replaced when 'Replace All' button of the Search view is clicked.

  • SPARK Pro
    Nov 9th, 2016

    Types with partial default initialization allowed
    Types with partial default initialization were previously not allowed in SPARK, which made it difficult to analyze some existing codebases. They are now allowed.

  • SPARK Pro
    Nov 8th, 2016

    Improve provability of checks in loops
    Checks whose proof depends on assuming the loop invariant at the current iteration of the loop could be unprovable due to part of the loop invariant being simplified to True or False. This simplification is now disabled in assertions to improve provability of checks in loops.

  • GNAT Pro | GPS | GNATbench
    Nov 7th, 2016

    GPS: New setting to preserve build messages
    The local configuration menu of the Locations view now contains an item "Preserve message" to control whether to keep build messages for files that are not being recompiled.

  • GNAT Pro | GPS | GNATbench
    Nov 7th, 2016

    GPS: new setting to preserve build messages
    The local configuration menu of the Locations view now contains an item "Preserve message" to control whether to keep build messages for files that are not being recompiled.

  • GNAT Pro
    Nov 7th, 2016

    New pragma No_Heap_Finalization
    This pragma may be used as a configuration pragma or as a type- specific pragma. In its type-specific form, the argument of the pragma must denote a library-level named access-to-object type. The pragma suppresses calls to Finalize for heap-allocated objects created through the argument type in cases where the designated type requires finalization actions.

  • Ada Web Server
    Nov 7th, 2016

    Add support for GZip content-encoded messages
    AWS now supports messages sent from a client with the GZip content encoding. In this case the actual message is automatically inflated by AWS.

  • GNAT Pro | GPS | GNATbench
    Nov 4th, 2016

    GPS: Limit number of entries in Search view combobox
    The number of entries in the Search view combobox is now limited to 5 when the view is spawned. A separator has also been added between the predefined regexps and the previously searched patterns.

  • GNAT Pro | GPS | GNATbench
    Nov 4th, 2016

    GPS: Limit number of entries in Search view combobox
    The number of entries in the Search view combobox is now limited to 5 when the view is spawned. A separator has also been added between the predefined regexps and the previously searched patterns.

  • GNAT Pro | GPS | GNATbench
    Nov 4th, 2016

    GPS: Hidden files in the Files view
    The Files view now reuses the same preference as the Project view to hide some files (those starting with "." by default, although this can be configured in the preferences dialog).

  • GNAT Pro | GPS | GNATbench
    Nov 4th, 2016

    GPS: hidden files in the Files view
    The Files view now reuses the same preference as the Project view to hide some files (those starting with "." by default, although this can be configured in the preferences dialog).

  • Ada Web Server
    Nov 3rd, 2016

    Add support chunked client messages
    AWS now supports messages sent from a client with the chunked transfer encoding.

  • SPARK Pro
    Nov 3rd, 2016

    more precise volatility for protected objects
    A new rule 7.1.2(16) was added to SPARK RM, along with SPARK tool updates, to better control the volatility of protected objects. Previously they were fully volatile, now they have only Async_Readers and Async_Writers. If a separate volatile variable is a Part_Of such a protected object, the protected object inherits any volatility aspects (i.e. Effective_Reads or Effective_Writes) of its Part_Of constituent.

  • SPARK Pro
    Nov 2nd, 2016

    Division checks now proved by CodePeer integration
    Division by zero checks can now be proved by the CodePeer integration in SPARK, which was not the case previously.

  • SPARK Pro
    Nov 2nd, 2016

    Assertion checks now proved by CodePeer integration
    Assertion checks (pragma Assert, Loop_Invariant, Assert_And_Cut) can now be proved by the CodePeer integration in SPARK, which was not the case previously.

  • GNATCOLL.SQL.Upper new aggregate function
    A mapping to SQL's UPPER function was added

  • SPARK Pro
    Oct 31st, 2016

    Nested loops allowed before a loop (in)variant
    A limitation in GNATprove forbade nested loops before loop (in)variants. This limitation has been removed.

  • SPARK Pro
    Oct 27th, 2016

    Better handling of always-fail subprograms
    Subprograms where all possible execution paths end in an exception are now dealt with in a more obvious fashion. Instead of raising many checks and warnings, we now emit only a single high check indicating that no path will return normally.

  • SPARK Pro
    Oct 26th, 2016

    Improve tracking of bounds of array aggregates
    GNATprove now does a better job of tracking the bounds of aggregates of dynamic array types, resulting in more discharged checks on array aggregates.

  • GNAT Pro
    Oct 25th, 2016

    Minimize useless body compilations when inlining
    A filter has been added to the inlining / instantiation circuitry to recognize package bodies that do not contain bodies of inlined functions or generic bodies being instantiated, and that therefore do not need to be compiled, even though their declarations may appear in the context of other units that are needed for inlining.

  • GNAT Pro
    Oct 24th, 2016

    Better RM 6.3.1 (8-13) rules violation error message
    RM 6.3.1 (8) specifies that an inherited primitive of a type derived from a generic formal with unknown discriminants has convention intrinsic. As a result, access subprogram parameters of such an operation are also intrinsic, and the corresponding actual cannot be an access attribute reference. The new error message warns on the inherited subprogram before rejecting the attribute reference.

  • SPARK Pro
    Oct 20th, 2016

    level switch uses time limit instead of step limit
    The level switch used to provide a high level way of tuning the verification condition now sets time limits instead of step limits for provers. As a result, this switch is more predictable, as it always allows each prover to run for the same amount of time, but less deterministic, as the time needed for a prover to complete a proof may vary depending on the computer.

  • GNAT Pro | GPS | GNATbench
    Oct 19th, 2016

    GPS: Resize Debugger Data items when pref changes
    When the preferences that control the maximum size of items are changed in the Preferences/Debugger dialog, this immediately impacts already displayed items in the Debugger Data view.

  • GNAT Pro | GPS | GNATbench
    Oct 19th, 2016

    GPS: resize Debugger Data items when pref changes
    When the preferences that control the maximum size of items are changed in the Preferences/Debugger dialog, this immediately impacts already displayed items in the Debugger Data view.

  • GNAT Pro | GPS | GNATbench
    Oct 18th, 2016

    GB: Add library pages to GPR file creator
    During the execution of commands "new Ada project" or "convert to Ada project", the GPR file creation wizard is displaying two new pages when the user asks for a library GPR file. These pages allow configuring library attributes.

  • GNAT Pro | GPS | GNATbench
    Oct 18th, 2016

    GB: add library pages to GPR file creator
    During the execution of commands "new Ada project" or "convert to Ada project", the GPR file creation wizard is displaying two new pages when the user asks for a library GPR file. These pages allow configuring library attributes.

  • CodePeer
    Oct 16th, 2016

    Better analysis for Float_Random clients
    In some cases, CodePeer's analysis of programs which declare objects of the type Ada.Numerics.Float_Random is more precise than before.

  • GNAT Pro
    Oct 14th, 2016

    gnatpp: Improved formatting with—par_threshold=0
    If --par_threshold=0 is specified, and --no-separate-is is not specified, then the "is" of a parameterless procedure is placed on a separate line.

  • GNAT Pro | GPS | GNATbench
    Oct 13th, 2016

    GPS: Remove entity information in Project view
    We no longer display the list of entities defined in a file, in the Project view. This information is already available in the Outline, whenever a file is selected in the Project view. Removing it allowed us to speed up the display of the tree view.

  • GNAT Pro | GPS | GNATbench
    Oct 13th, 2016

    GPS: remove entity information in Project view
    We no longer display the list of entities defined in a file, in the Project view. This information is already available in the Outline, whenever a file is selected in the Project view. Removing it allowed us to speed up the display of the tree view.

  • GNAT Pro
    Oct 12th, 2016

    AI12-0127 implementation, partial aggregate notation
    Ada Issue AI12-0127, part of the Ada2012 amendment, describes a new constructor for aggregates, in terms of an existing record or array object, and a series of component-wise modifications of its value, given by named associations for the modified components. To use this feature the compilation flag -gnat2020 must be specified.

  • CodePeer
    Oct 10th, 2016

    Better analysis for Float_Random clients
    In some cases, CodePeer's analysis of programs which declare objects of the type Ada.Numerics.Float_Random is more precise than before.

  • CodePeer
    Oct 8th, 2016

    No False Positive mode
    Significant work has been done to reduce the number of false alarm messages (also known as false positives) when using the -messages min switch. This is also the default when using -level 0, -level 1 and -compiler-mode switches. In this mode, only messages which are the most likely to be real errors are generated.

  • GNAT Pro
    Oct 1st, 2016

    AI12-0125, left-hand side of assignment abbreviation
    Ada Issue AI12-0125, part of the Ada2012 amendment, introduces the use of the character '@' as an abbreviation for the left-hand side of an assignment statement, usable anywhere within the expression on the right-hand side. To use this feature the compilation flag -gnat2020 must be specified. See motivation and examples of use at http://www.ada-auth.org/cgi- bin/cvsweb.cgi/ai12s/ai12-0125-3.txt?rev=1.12 .

  • GNAT Pro | Libraries and Bindings
    Sep 30th, 2016

    Gtkada.Canvas_View: inline editing improvements
    New signals have been aded:

       Signal_Inline_Editing_Started
       Signal_Inline_Editing_Finished
    
    New subprograms have been added:
       Set_Editable, Is_Editable
       Inline_Editing_In_Progress
    
    When an item that is edited interactively by the user is moved, we now also move the editing widget (generally a GtkTextView). This text view now also inherits the font size and attributes from the edited item. End of editing is done via a simple <return>, since the previous <ctrl-return> was impossible to guess by the user. Preselect the whole text when editing, so that the user can more easily change it all.

  • SPARK Pro
    Sep 29th, 2016

    Integration of Codepeer Technology into SPARK
    The CodePeer Static Analysis engine is now part of the SPARK tools. It can be enabled using the command line switch --codepeer=on, or selected via a new checkbox in the SPARK integration inside GPS. If this is done, SPARK will run the CodePeer engine prior to its own analysis to discharge checks. Depending on the project and kinds of checks, this can result in more proved checks, or quicker completion of analysis, because SPARK doesn't need to analyze some checks already proved by the CodePeer analysis. The strong point of the CodePeer static analysis are ranges of variables, including floating-point variables. As a result, proof of runtime checks will be improved if the CodePeer engine is used.

  • GNAT Pro | GPS | GNATbench
    Sep 29th, 2016

    GPS: relative paths in the Omnisearch
    The Omnisearch can now also display project relative paths instead of absolute ones. This behavior can be controlled via a checkbox present in the Omnisearch settings.

  • GNAT Pro | GPS | GNATbench
    Sep 29th, 2016

    GPS: non-exclusive key bindings in plugins
    It is now possible to bind keys to actions without unbinding the key. This means that the same key binding might apply to several actions, and the action that gets executed is the first one for which the filter matches. In particular, this allows reusing keys like <enter> or <tab> in contexts other than the editor.

  • SPARK Pro
    Sep 29th, 2016

    Ability to replay proofs using SPARK
    The SPARK tools now support a new switch --replay. If this switch is passed to GNATprove, it will attempt to replay the proofs of all checks that are marked as proved in the proof session, using for each VC the same prover that succeeded in proving it, and a time and steps limits that were sufficient to make the proof succeed. This feature provides an efficient way of checking that all proofs still go through, e.g. after an upgrade of the SPARK tools.

  • GNAT Pro
    Sep 29th, 2016

    Implement AI95-0133 in Ada 95 mode
    Record representation clauses for record types with non-native Bit_Order are now interpreted according to the Binding Interpretation in AI95-0133 even when the compiler is running in Ada 95 mode. A new debug command line switch -gnatd.p is introduced, which restores the previous behavior (from the original Ada 95 specification). (Note that -gnatd.p has no effect when running in Ada 2005 mode or above).

  • SPARK Pro
    Sep 28th, 2016

    Use SMT-LIB float theory with prover Z3
    GNATprove can now benefit from SMT solvers with native floating- point support. In particular GNATprove uses this support in prover Z3, which gives more precise results on floating-point programs.

  • GNAT Pro
    Sep 28th, 2016

    Use natural interrupt numbers on Cortex-M
    The runtime has been adjusted so that Interrupt_ID now corresponds to the interrupt number of the manual. The previous offset of 2 has been removed. Warning: you possibly need to modify your application to use the new numbering if you were using pragma Attach_Handler.

  • GNAT Pro | GPS | GNATbench
    Sep 27th, 2016

    GPS: new action to maximize a window
    A new action ("maximize window") is provided to make the central area of the desktop (that contains the editor) occupy the full GPS window, hiding all other views. Executing the action again goes back to the previous layout. You can bind a key shortcut to this action via the Preferences/Key Bindings menu.

  • SPARK Pro
    Sep 27th, 2016

    Support for type invariants
    The tools now have initial support for type invariants (SRM 7.3.2). A type invariant can be specified on the completion of a private type. This invariant can be assumed anywhere outside the package where the type is declared; and is checked inside the package. Type invariants are useful to simplify a common pattern where an invariant is added to the pre- and post-conditions of all subprograms in a package.

  • GNAT Pro
    Sep 27th, 2016

    More efficient integer overflow checking
    The compiler now generates more efficient code for the overflow checking required by the arithmetical operations on signed integer types.

  • CodePeer
    Sep 27th, 2016

    New switch -f
    A new switch -f is provided to force reanalysis when using the -compiler-mode switch, instead of doing an incremental analysis only, and to force generation and analysis of scil files for all source files in the default mode.

  • GNAT Pro | GPS | GNATbench
    Sep 26th, 2016

    GPS: cross-references from runtime files
    It is now possible to force GPS to index runtime files so that you can perform cross-references from them (it was always possible to cross-ref from your own sources to the runtime). This takes longer to index, so is disabled by default. See the preference Project/Cross References in Runtime Files.

  • GNATCOLL.Scripts.Execute_Expression: new function
    This new function can be used to execute any python expression (not just function calls) and retrieve their result without knowing in advance whether it will return a string, list of string, boolean,...

  • GNAT Pro | GPS | GNATbench
    Sep 23rd, 2016

    GPS: toolchain information in About dialog
    The About dialog now contains the name of the current project's toolchain if this toolchain is not the native one.

  • GNAT Pro | GPS | GNATbench
    Sep 22nd, 2016

    GNATdoc: Documentation_Dir attribute
    Attribute Documentation_Dir is defined in Documentation package now. Attribute with same name in package IDE is obsolete. Its support will be removed in future version of GNATdoc.

  • SPARK Pro
    Sep 22nd, 2016

    Better handling of ‘Length on modular index types
    The translation of the 'Length array attribute has been improved to avoid unecessary conversions when the index type is a modular integer type. This should improve provability whenever 'Length is used on a modular index type in contracts.

  • GNAT Pro | GPS | GNATbench
    Sep 22nd, 2016

    GPS: Windows view sort order
    Two new settings have been added to the Windows view: you can now choose whether to show nodes for notebooks that have a single window (the default is still to display the window itself, but not its notebook in this case); and you can choose whether to sort windows alphabetically, or to preserve the order of tabs within the notebooks. When the notebooks are not displayed, and sorting is disabled, the order depends on which window had the keyboard focus last, which provides a convenient way of switching quickly between a few editors among a lot of them.

  • GNAT Pro
    Sep 21st, 2016

    Improved warning for value not referenced
    The wording of two warnings related to values assigned to an object but possibly never referenced has been adjusted to reflect that these values might actually be referenced in some corner cases (namely, components of a controlled object might be referenced during the finalization of that object).

  • GNAT Pro
    Sep 21st, 2016

    No_Elaboration_Code_All for System.Machine_Code
    Package System.Machine_Code can now be with-ed by packages that have the pragma No_Elaboration_Code_All, supporting execution of code before elaboration.

  • GNAT Pro | GPS | GNATbench
    Sep 20th, 2016

    GPS: using keyboard in Outline view
    It is now possible to use <enter> in the Outline to jump to the corresponding entity (same as clicking on the line).

  • GNAT Pro | GPS | GNATbench
    Sep 20th, 2016

    GPS: mouse buttons 4 and 5 for locations
    The mouse buttons 4 and 5 (available on some high-end mice) are mapped to the locations command, and used to move in the locations history (back to the previous position, and back). This is hard-coded, and cannot be changed.

  • GNAT Pro | GPS | GNATbench
    Sep 20th, 2016

    GPS: new action “locate in Files view”
    GPS now exports a new action to find the current file in the Files view. This action is not visible by default in the contextual menu (as opposed to Locate in Project view) in an effort to keep the menu simple. However, it can be added with a small python script as in:

         GPS.Action("Locate in Files view").contextual("Locate in Files")
    
    The menu /Navigate/Locate in Files view has been added.

  • GNAT Pro | GPS | GNATbench
    Sep 20th, 2016

    GPS: ask before overwriting read-only file
    GPS now checks the permission on the disk before saving a file (rather than just the read-only status of the editor). If the file is read-only on the disk, it displays a confirmation dialog to let you chose whether to overwrite (and, in the context of Clearcase, hijack the file).

  • GNAT Pro | GPRbuild
    Sep 20th, 2016

    GPRinstall support for separate ALI directory
    The new GPRinstall's --ali-subdir option can be used to install the ALI files into a specific directory.

  • GNAT Pro | GPS | GNATbench
    Sep 19th, 2016

    GPS: compute the GNAT Runtime menu dynamically
    The Help -> GNAT Runtime menu is now computed from the runtime that is actually being used for the current project, rather than a static image of a native runtime. This is particularly helpful when working with embedded or restricted runtimes.

  • GNAT Pro | GPS | GNATbench
    Sep 19th, 2016

    ECL: AJIS examples integration
    A new "AJIS examples" importer is now available. It is accessible from "File > Import..." menu in Ada folder. This importer requires AJIS 17.0.20160919w or later installation. These AJIS versions contain GNATbench examples that can be imported, built, run and debugged in GNATbench without modifications.

  • GNAT Pro | GPS | GNATbench
    Sep 16th, 2016

    GPS: display list of mains as flat menu
    When a project (and its subprojects) have a small number of main units, and the root project is not an aggregate, we display the /Build/Project/, /Build/Run/ and /Debug/Initialize menus as a flat list of mains, rather than introduce one extra level of menu for the name of the project.

  • GNAT Pro | GPS | GNATbench
    Sep 16th, 2016

    GPS: contextual menu to set watchpoint
    Right-clicking on a variable while the debugger is running will now set a watchpoint, so that the debugger stops any time the variable is modified.

  • CodePeer
    Sep 15th, 2016

    Messages involving loop imprecision marked low
    CodePeer is now able to identify messages where loop imprecision is involved and is making messages uncertain, which are marked low now by default instead of medium.

  • GNAT Pro | GPS | GNATbench
    Sep 14th, 2016

    GPS: new menu /File/Reset All Perspectives
    This menu restores the default window layout. This is in particular useful to reset the Debug perspective that has changed in this release of GPS.

  • GNAT Pro
    Sep 14th, 2016

    Include units requiring extended Ravenscar
    The "Ravenscar-full" runtime libraries now contain language- defined and GNAT-defined packages that require the extended Ravenscar profile defined by GNAT. Specifically, Ada.Synchronous_Barriers, GNAT.Semaphores, GNAT.Bounded_Buffers, and GNAT.Bounded_Mailboxes are now available.

  • GNAT Pro | GPS | GNATbench
    Sep 13th, 2016

    GPS: GPS.Process accepts a list of args
    The Python GPS.Process() now accepts the command as a list of arguments instead of a string, which makes it easier to handle arguments with spaces (no need for quoting)

  • GNAT Pro
    Sep 10th, 2016

    Update Ada.Locales for RM 2012 COR:1:2016
    Update the Ada.Locales interface to conform to the RM 2012 COR:1:2016. The type definitions for Language_Code and Country_Code are now using dynamic predicates.

  • SPARK Pro
    Sep 9th, 2016

    Suppressed unnecessary warning message
    For a null default subprogram defined in the formal part of a generic unit, now GNATprove does not emit a warning about formal parameters of the subprogram being unused and/or unmodified.

  • GNAT Pro | GPS | GNATbench
    Sep 8th, 2016

    GPS: GUI enhancements to the Omnisearch
    The Omnisearch feature has received a number of enhancements:

       - A default key shortcut (control-u) brings up the omnisearch
    
       - When bringing up the omnisearch through the key shortcut
         completions start appearing even before anything is typed
         in the entry. This allows, for instance, using the arrow keys
         to select one of the currently open windows.
    
       - The size of the popup window has been increased to take up to
         2/3 of the main window. This is useful when listing directories
         with long names, for instance.
    
       - The highlighting of the fuzzy-matched characters now uses a
         color.
    
       - If the text in the global entry has been manually deleted,
         it no longer reappears next time the search is activated.
    

  • GNAT Pro | GPS | GNATbench
    Sep 8th, 2016

    GPS: new %TP macro in builder targets
    A new macro %TP is available in builder targets. It will be replaced with the name of the project file to which the main unit belongs. It is for instance used when you do not want to pass the root project to gprbuild, but directly the unit's own project

  • CodePeer
    Sep 7th, 2016

    Performance improvement of report generation
    SQL queries have been rewritten to improve performace of report generation.

  • GNAT Pro | GPS | GNATbench
    Sep 5th, 2016

    GPS: outline option to hide parameter names
    A new setting for the Outline view allows you to hide the name of parameters in the profile of subprograms. This saves some space, and helps differentiate homonym subprograms.

  • GNAT Pro | GPRbuild
    Sep 5th, 2016

    New gprname switch—RTS=
    gprname has now a switch --RTS= like all other GPR tools, as it is necessary for targets that do not have a default runtime.

  • GNAT Pro | GPRbuild
    Sep 3rd, 2016

    GPRinstall support for separate debug symbol file
    The new GPRinstall's --side-debug option can be used to write debug symbols out of executables and libraries into a separate file. If the executable to be installed is named main, then the debug information is moved into the file main.debug and is removed from the executable.

  • GNAT Pro | GPS | GNATbench
    Sep 2nd, 2016

    GPS: Pass the configuration file to the builder
    The configuration file (.cgpr) set by the "--config" command-line switch is now passed on to the builder. Also, GPS now also passes the configuration file which was automatically generated when the "--autoconf" option was given.

  • GNAT Pro
    Sep 1st, 2016

    Sjlj runtimes switched to back-end setjmp/longjmp
    The setjmp/longjmp (sjlj) runtimes of our gcc based ports are now all relying on the gcc core mechanisms for exception handling, with improved efficiency compared to the previous scheme.

  • GNAT Pro
    Sep 1st, 2016

    AI12-061 : iterated component associations
    Ada issue AI12-061 introduces a new construct in array aggregates allowing component associations to be parameterized by a loop variable, for example:

      Squares : Array (1 .. 10) of Integer :=
         (for I in 1 .. 10 => I ** 2);
      type Matrix is array
         (Positive range <>, Positive range <>) of Float;
      G : constant Matrix :=
         (for I in 1 .. 4 =>
             (for J in 1 .. 4 =>
                (if I=J then 1.0 else 0.0))); -- Identity matrix
    
    
    The expression in such an association can also be a function that returns a limited type, and the range can be specified by an 'others' choice.

  • GNAT Pro
    Sep 1st, 2016

    Removing redundant invariant check on array type
    The type invariant of a constrained array component type is no longer verified multiple times when performing invariant checks.

  • GNAT Pro | GPS | GNATbench
    Aug 31st, 2016

    GPS: search icons in GPS_CUSTOM_PATH
    Icons used in plug-ins are now also searched in any of the directories specified in the environment variable GPS_CUSTOM_PATH.

  • GNAT Pro
    Aug 31st, 2016

    Include package Ada.Numerics.Real_Arrays
    The Ravenscar "full" runtime libraries now include the language- defined package Ada.Numerics.Real_Arrays.

  • SPARK Pro
    Aug 29th, 2016

    Assume Initial_Condition of withed units
    When checking compilation units, we now assume that the Initial_Condition aspect of each withed unit holds. It results in more discharged verification conditions in particular on main units.

  • SPARK Pro
    Aug 29th, 2016

    Counterexamples involving quantified expressions
    Some counterexamples are now printed for universally quantified variables (in loop invariants for example).

  • GNAT Pro
    Aug 28th, 2016

    gnatbind: New elaboration order algorithm
    A new elaboration order algorithm is implemented, which is likely to be friendlier in most cases, especially with existing code that works with other compilers. It has the following useful properties: - Considering the graph of library units, each strongly connected component (SCC) is elaborated together, with no intervening units from other SCCs. In the absence of cycles in this graph, an SCC is a single library unit. If there are cycles, an SCC is a maximal group of units with cyclic dependences. Note that the nodes of this graph are library units, not library items. Cycles among library items are illegal (e.g. two specs cannot mention each other in nonlimited with clauses). Cycles among library units are legal (two packages may be mutually recursive, so long as at least one dependence is via a body. - In particular, this implies that if an SCC contains just a spec and the corresponding body, and nothing else, the body will be elaborated immediately after the spec. This is expected to result in a better elaboration order for most programs, because in this case, a call from outside the library unit cannot get ABE. - The elaboration order chosen is the same in static and dynamic mode. - Pragmas Elaborate_All (explicit and implicit) are ignored. Instead, we behave as if every legal pragma Elaborate_All were present. That is, if it would be legal to have "pragma Elaborate_All(Y);" on X, then we behave as if such a pragma exists, even if it does not.

  • GNAT Pro
    Aug 26th, 2016

    Support of Cortex-M0/M0+/M1 on arm-elf platform
    The arm-elf bareboard compiler now supports Cortex-M0, Cortex-M0+ and Cortex-M1 cores. At this time there is no provided runtimes, but users can write their own ones.

  • CodePeer
    Aug 19th, 2016

    More info when reviewing a message in GPS
    The GPS dialog for reviewing a single message now contains information about the message, similarly to the dialog for reviewing multiple messages.

  • GNAT Pro | GPS | GNATbench
    Aug 19th, 2016

    GPS: more info when reviewing a codepeer message
    The CodePeer dialog for reviewing a single message now contains information about a message, similariliy to the dialog for reviewing multiple messages.

  • GNAT Pro
    Aug 19th, 2016

    gnatcheck: In incremental mode, reflag errors
    In --incremental mode, if gnatcheck gives an error message on a certain file, and you run it again, it will now give the error message on that file again.

  • GNAT Pro | GPS | GNATbench
    Aug 17th, 2016

    GPS: preserve more build errors after recompiling
    When the Locations view contains build errors, and one of the files is being recompiled, the Locations view will now only update the entries for that file, rather than removing all build errors.

  • SPARK Pro
    Aug 16th, 2016

    Improved documentation
    The UG section 8.6.4. Proof Limitations does now better document the support for storage place attributes. In particular, it states that First_Bit, Last_Bit and Position attributes are supported but in case there is no record representation clause then their value is assumed to be nonnegative.

  • GNAT Pro | XMLAda
    Aug 16th, 2016

    schema: large values of maxOccurs
    Values of maxOccurs larger than 300 previously resulted in an XML validation error. This is instead a limitation of XML/Ada, so this has now been changed to a warning (we still recommend using "unbounded" to limit the size of the state machine, but XML/Ada will now try to build that machine and use the XSD nonetheless).

  • CodePeer
    Aug 16th, 2016

    Speedup CodePeer WebServer startup
    Startup time of CodePeer web server with large dababase was significantly reduced.

  • GNAT Pro
    Aug 16th, 2016

    Better error message on selected component
    Compiler provides a better error report on a selected component Nam.Comp which appears in an object declaration, when Nam has several visible interpretations as a function, and there is a non- visible package in the context with the same name.

  • GNAT Pro
    Aug 10th, 2016

    Removing redundant checks on type conversions
    Conversions to Standard_Integer of an attribute reference 'Pos applied to a nonstatic expression of an enumeration type do not generate a constraint check, given that the number of literals of any such type will not exceed Integer'Last.

  • GNAT Pro | GPS | GNATbench
    Aug 8th, 2016

    GPS: wrong file view for multi-drive projects
    When the 'Show files from project only' option is enabled, the Files view now correctly displays the project files that reside on multiple logical drives.

  • SPARK Pro
    Aug 5th, 2016

    More fine-grain placement rules for pragma Annotate
    Previously, if pragma Annotate was placed e.g. at the start of a statement list, it would apply to the whole enclosing construct (e.g. an if statement including all branches and statements). Now it only applies to the range between the beginning of the enclosing statement and the pragma itself. This allows to e.g. apply a pragma Annotate to the condition of an if-statement, but not the other parts of the if-statement. Note that this may require changes to the placement of pragma Annotate in existing code, or more pragma Annotate than before.

« Previous    1  2  3  4  5     Next »