Development Log

  • GNAT Pro | GPRbuild
    Nov 19th, 2016

    SAL projects and -bargs
    When gprbuild is invoked with a main project that is a Stand-Alone Library project and with binding options specified on the command line after switch -bargs, a warning is displayed indicating that command line binding options are not taken into account when the main project is a SAL project.

  • GNAT Pro
    Nov 17th, 2016

    Static intialization with pragma Linker_Section
    If an array object has a pragma Linker_Section with a compile- time-known initial value, the object is statically initialized in place in the appropriate section, as opposed to being initialized by elaboration code at run time.

  • GNAT Pro
    Nov 17th, 2016

    More compact code for concatenation at library level
    The compiler generates more compact code for concatenation operations performed on strings within the initialization expression of an object declared at library level.

  • CodePeer
    Nov 17th, 2016

    Support for -gnatxxx switches
    CodePeer now supports the -gnatxxx compiler switches directly, either from the command line, or from the Switches attribute in the CodePeer package in project files, giving more flexibility in particular coupled with the -compiler-mode switch. This also allows specifying CodePeer-specific compiler switches (such as -gnatI) without impacting compilation.

  • GNAT Pro
    Nov 16th, 2016

    Specifying an address clause on controlled objects
    It is now possible to specify an address clause on objects which are either derived from Ada.Finalization.Controlled or Limited_Controlled, or contain controlled components.

  • GNAT Pro
    Nov 11th, 2016

    More efficient trigonometric functions on x86
    The implementation of the sin, cos, and tan functions in children of Ada.Numerics is now more efficient on the x86 architecture.

  • 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: 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.

  • 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 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.

  • 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

    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.

« Previous    1  2  3  4  5     Next »