Development Log

  • GNAT Pro | GPS | GNATbench
    May 30th, 2016

    GPS: Improve outline view’s “with Clauses”
    Do not show "with Clauses" node in outline view if no withes.

  • GNAT Pro
    May 30th, 2016

    Better scheduling of 64-bit arithmetic on Visium
    The compiler now generates object code for 64-bit arithmetical operations that is slightly more compact and/or better scheduled on the Visium.

  • Ada Web Server
    May 28th, 2016

    Add support for DELETE client request
    AWS now supports the DELETE client request.

  • GNAT Pro
    May 27th, 2016

    New Interfaces packages on bareboard platforms
    Packages Interfaces.C.Strings and Interfaces.C.Pointers have been added to the ravenscar-full runtimes. The implementation of Interfaces.C fully conforms to the standard.

  • GNAT Pro | GPRbuild
    May 25th, 2016

    Runtime () as a relative path
    It is now possible to specify a runtime directory with the attribute Runtime as a relative path, in the main project. Example:

       for Runtime ("Ada") use "./rts";
    
    The path is relative to the project directory of the main project.

  • GNAT Pro | GPS | GNATbench
    May 24th, 2016

    GPS: hyper links in call graph browser
    In the Call Graph Browser, file locations are now clickable and open the corresponding file/line.

  • GNAT Pro | GPS | GNATbench
    May 24th, 2016

    GPS: filter in the Windows view
    The Windows view now also has a local filter, to help search for specific windows.

  • SPARK Pro
    May 23rd, 2016

    SPARK lemma library for nonlinear int arithmetic
    SPARK now comes with a library of lemmas separately proved in Coq, that can be called in user code to automatically prove nonlinear integer arithmetic properties, i.e. properties involving multiplication, division, modulo. The lemmas are ghost procedures, hence they are removed from the final executable when compiling without assertions. This library of lemmas is meant to be extended based on user needs. It is documented in the SPARK User's Guide, in section 4.10 about SPARK Libraries.

  • CodePeer
    May 23rd, 2016

    Improved support for arrays with static bounds
    CodePeer now performs more accurate analysis of arrays with static bounds and has improved display of dynamically indexed array elements of such arrays.

  • GNAT Pro
    May 20th, 2016

    Elimination of more useless overflow checks at -O2
    The compiler now eliminates more overflow checks that can never fail when the optimization level -O2 or above is specified.

  • GNAT Pro
    May 20th, 2016

    ASIS: new query Is_Generalized_Indexing
    A new query Is_Generalized_Indexing is added to Asis.Expressions. It checks if the argument expression Element should be considered as generalized indexing according to ARM 4.1.5.

  • GNAT Pro
    May 19th, 2016

    gnatpp: alignment of exception declarations
    By default, gnatpp will treat exception declarations and exception renaming declarations similarly to object declarations and others, by aligning the ":" characters when multiple declarations appear one after the other with no intervening blank lines.

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

    GPS: Integration with QGen
    GPS now provides a convenient interface to QGen, the code generator for Simulink models. This includes: displaying graphically the diagrams from MDL files (read-only), toolbar buttons to easily generate code then build (and optionally then debug), tight integration with the debugger so that whenever the debugger stops, GPS highlights the current block in the diagram, adds contextual menus to easily break on specific blocks, and shows the current value of signals.

  • GNAT Pro
    May 16th, 2016

    Support for hashing arbitrary complex structures
    The family of secure hash packages based on GNAT.Secure_Hashes (including MD5, SHA1, and the various SHA2 functions) now provide a wrapper for hashing contexts that implements the Ada stream interface. As a result, stream attributes can be used to feed arbitrary complex data structures into hashing functions.

  • SPARK Pro
    May 16th, 2016

    Do not re-use files from previous versions of SPARK
    Intermediate files in the gnatprove directory from previous versions of the tools could mislead later versions of the tools, sometimes resulting in confusing crashes or confusing error messages. We now detect any such version mismatch and issue a prompt to clean up.

  • GNAT Pro | GPS | GNATbench
    May 12th, 2016

    GPS: view the tasks directly from the toolbar
    In the main toolbar, the button next to the summary of running tasks now brings up an ephemeral window which contains a task manager view, which allows viewing and interrupting tasks directly from the toolbar, without the need to have the Task Manager view present in the MDI.

  • SPARK Pro
    May 12th, 2016

    Support for pragma Unused/Unreferenced/Unmodified
    SPARK now has support for pragma Unused, Unreferenced and Unmodified. We silence warnings (but not checks) about variables that have been mentioned in one of these pragmas; they can be used as an alternative to pragma Warnings Off.

  • GNAT Pro
    May 6th, 2016

    Add support for ‘Image and ‘Value to Cert runtimes
    Cert runtimes now support the same attributes and packages as Ravenscar Cert, except that Ada.Calendar and Calendar are not in the latter. New packages include various string-handling packages, less-restrictive Interfaces.C, etc. The main difference now between the two profiles is use of Ravenscar tasking vs. APEX processes.

  • CodePeer
    May 4th, 2016

    Extended support for shift intrinsics
    Support for shift intrinsics on types other than 8, 16, 32, or 64 bits is now available in CodePeer. This can be useful for e.g. legacy Ada code running on 24-bit hardware with native 24-bit integer types.

  • GNAT Pro
    May 4th, 2016

    Warning on fixed-point actual with user-defined op
    Compiler emits a warning on the actual for a formal fixed-point type when the actual has a user-defined arithmetic operator but the generic unit does not include a formal subprogram for the operator. The warning indicates that the predefined operation will be used in the instance.

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

    GPS: new Debugger Variables view
    This view displays the same type of information as the Data Window (i.e. the value of variables) but in a tree, which might help keep things organized.

  • CodePeer
    Apr 28th, 2016

    Further improved unchecked conversion analysis
    CodePeer now knows more about unchecked conversions involving fixed point types and enumeration types.

  • GNAT Pro
    Apr 26th, 2016

    pragma Implicit_Packing for composite components
    Pragma Implicit_Packing now works for record types that contain components of small composite types, in particular small record types.

  • GNAT Pro
    Apr 26th, 2016

    pragma Implicit_Packing for byte-packed array types
    Pragma Implicit_Packing now works for array types whose component type is a scalar with a size multiple of the storage unit but not a power of 2.

  • GNAT Pro
    Apr 25th, 2016

    Task switching while debugging a core file
    It is now possible to switch between Ada tasks when debugging a core file.

  • GNAT Pro
    Apr 25th, 2016

    Faster access to small byte-packed array types
    The code generated for accessing packed array types whose component type is a small record with a size multiple of the storage unit has been improved.

  • GNAT Pro | GPS | GNATbench
    Apr 21st, 2016

    GPS: proposed value of message review status
    In CodePeer message review dialog proposed value of message review status has been changed to current status of the message.

  • CodePeer
    Apr 21st, 2016

    Better default for GPS message review dialog box
    When the "CodePeer message review" dialog box comes up in GPS, the default value for the "New status" field is no longer unconditionally "Unclassified", but is instead equal to the "Current status" field. In the case of a subsequent review of an already-classified message, this means that the default action is to preserve the current status of the message as opposed to setting the status back to "Unclassified".

  • GNAT Pro
    Apr 20th, 2016

    New pragma Unused
    When applied to an entity, pragma Unused causes each read or write attempt of the entity to be flagged as a warning.

  • GNAT Pro
    Apr 20th, 2016

    Added GNATcheck usage example
    An example demonstrating the use of GNATcheck coding standard verifier has been added to the distribution.

  • SPARK Pro
    Apr 17th, 2016

    More flexible elaboration rules with static model
    GNATprove now implements a more flexible enforcement of SPARK elaboration rules, that does not always requires Elaborate_All for calls and reads of subprograms and variables defined in other units during elaboration. Specifically, when the static elaboration model of GNAT is used (i.e. when neither switch -gnatE nor pragma Elaboration_Checks (Dynamic) are used), the more powerful mechanism of the compiler is used to compute a safe elaboration order for calls across units during elaboration, and GNATprove only requires the use of Elaborate_Body on units that modify the value of library-level variables defined in the spec during the elaboration of the unit body (SPARK RM rule 7.7.1(5)).

  • GNAT Pro | GPS | GNATbench
    Apr 15th, 2016

    GPS: use Gtk dialog for open/save files
    GtkFileChooserDialog used instead dialog of GPS if system doesn't have own dialog or this forbidden in a preferences and it is local file system. It is possible to use a dialog of GPS by turn off gtk_file_selector trace setting.

  • GNAT Pro | GPS | GNATbench
    Apr 15th, 2016

    GPS: automatic fix for adding Elaborate_All pragma
    The GPS code fixing capability was enhanced to handle compiler messages such as "Elaborate_All pragma required for NAME". To fix this GPS will add pragma Elaborate_All (NAME) after corresponding with-clause in the spec or body of given compilation unit.

  • GNAT Pro | GPRbuild
    Apr 13th, 2016

    Temporary config project with autoconfiguration
    The Project Manager now creates a temporary configuration project file when in auto-configuration. This file is deleted when the tool terminates. This allows several project-aware tools invocations to work in parallel with the same object directory.

  • GNAT Pro
    Apr 13th, 2016

    Tighter array packing for small record component
    The packing of array types subject to aspect/pragma Pack and whose component type is a small record, either that contains another small record component, or that has a size in the range 33 .. 63 bits, has been improved.

  • CodePeer
    Apr 12th, 2016

    Exclude source directories from analysis
    A new project attribute Excluded_Source_Dirs in package CodePeer is available to easily exclude entire source directories from analysis.

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

    GPS: Add the possibility to filter switches
    Switches defined for a specific tool using XML can now be filtered by specifying a named filter for the 'filter' attribute of a switch tag. These filters can be either predefined in GPS or created by the user (see the <filter> tag in the XML files). Use the GPS.Filter.list static method to list all the registered named filters.

  • CodePeer
    Apr 7th, 2016

    Creating baseline from previous runs
    It is now possible to set a previous run as the default baseline review by allowing the -baseline or -set-baseline-id switches in -output-only mode.

  • CodePeer
    Apr 7th, 2016

    Improved handling of baseline reviews
    A project now has a single baseline review, which will be used by default for all review comparisons. It can be set to the current review using the -baseline switch or set to a previous review using -set-baseline-id. Note that the default review can still be temporarily overwritten by using the -cutoff switch.

  • SPARK Pro
    Apr 7th, 2016

    More options for reporting of results
    The --report switch of the gnatprove tool now provides one more option to select from. If the option --report=provers is selected, gnatprove will show information about which provers have contributed to the proof of each check.

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

    GPS: different icon for disabled breakpoints
    The icons that are displayed on the side of editors to show where breakpoints are now have a different color when the breakpoint is disabled or is conditional.

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

    GPS: speed up search and replace
    The "search and replace all occurrences" has been sped up by a factor of seven in some cases.

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

    GPS: do not highlight occurrences of keywords
    The plug-in auto_highlight_occurrences.py highlights all occurrences of the word under the cursor in the whole file (possibly using smart cross reference information to only highlight the specific entity and not its homonyms). This plug-in has now learned not to highlight the language's keywords ("constant", "begin",...) which is useless and might be slow since these keywords generally occur often.

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

    GPS: Home goes to beginning or first-non-blank
    When using the Home key while in an editor (or any key bound to the action "beginning of line"), GPS will first go to the first column (as it has always done), but if you do it a second time it will then go to the first non-blank character of the line). This is a feature available in other code editors.

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

    GPS: Support for arm-sysgo-pikeos
    GPS now supports the arm-sysgo-pikeos toolchain.

  • GNAT Pro
    Apr 4th, 2016

    Optimization of Unbounded_Priority_Queues
    The efficiency of Ada.Containers.Unbounded_Priority_Queues has been improved, especially in the case where many same-priority items are enqueued.

  • GNAT Pro
    Apr 4th, 2016

    Improved warning on absolute address clauses
    The alignment warning issued on strict-alignment architectures for address clauses whose value is an absolute address is now more accurate, catches more cases and prints the alignment value.

  • GNAT Pro | GPRbuild
    Apr 1st, 2016

    New procedure Get_Closures
    A new procedure GPR.Util.Get_Closures is added. It allows to get the full paths of the sources in the Ada closures of one or several mains.

  • GNAT Pro
    Apr 1st, 2016

    Expanded support for incomplete types in profiles
    The support for incomplete types as parameter and result types introduced in Ada 2012 has been implemented for a broader range of types.

  • SPARK Pro
    Mar 31st, 2016

    Deterministic proof by default with no timeout
    GNATprove is now deterministic by default, so it does not use timeouts unless explicitly instructed by the user to do so. Instead, a steps limit is used to bound the effort made by automatic provers to find a proof. This new design is based on a few changes: the proof level (switch --level) is 0 by default, proof level sets a value of steps but no value of timeout, switch --timeout takes a new value "auto", in addition to a possible time in seconds. The semantics of --timeout=auto is that it adjusts to the value of the proof level.

   1  2  3     Next »