Development Log

  • SPARK Pro
    Feb 15th, 2017

    Contracts for formal containers with model functions
    The formal containers library, which provides SPARK-compatible versions of Ada containers, has been enriched with comprehensive contracts. These contracts use functional, mathematical-like containers as models of imperative containers.

  • GNAT Pro
    Feb 13th, 2017

    Support aliases when defining user command in gdb
    When defining a user command in gdb with the command "define", abbreviations (e.g. "command" for "commands") are now fully supported.

  • GNATCOLL.SQL: New routine Length for SQL_Criteria
    Length routine returns number of criteria on the upper level of SQL_Criteria delimited by the same logical operator "OR" or "AND".

  • GNATCOLL.Utils One more Split routine
    The new Split routine calls specified function for each found substring. The callback function can stop the string processing by returning False.

  • GNAT Pro
    Feb 9th, 2017

    Elaboration checks for dispatching calls
    The compiler now installs access-before-elaboration checks on library-level nonabstract primitive operations of tagged types in either elaboration mode. A dispatching call which occurs during elaboration and targets such a primitive will fail with Program_Error if the body of the primitive was not elaborated.

  • GNAT Pro | GPS | GNATbench
    Feb 6th, 2017

    WB: create missing scenario.makefile during build
    When building projects having GNATbench nature, if scenario.makefile is not found, it is created before the Wind River Workbench build is started. This is useful for headless builds done by continuous builders when the scenario.makefile file is not under version control.

  • GNAT Pro
    Feb 6th, 2017

    Improved elaboration checks in complex code
    The compiler now generates access-before-elaboration checks for subprogram calls occurring within complex code such as the branches of a conditional.

  • SPARK Pro
    Feb 5th, 2017

    Different message for floating point overflows
    Previously, for overflows on integer types and floating point types, the SPARK check message mentioned simply "overflow check". This made it difficult to know if the check was an overflow on integers or floating point numbers. Now, the message for floating point overflow checks mentions "float overflow check". The message for integer overflow is unchanged.

  • GNAT Pro | GPRbuild
    Feb 2nd, 2017

    Add support for skipping new project generation
    The new GPRinstall's --no-project command line option and install package attribute Install_Project can be used to disable generation and installation of the project file.

  • GNAT Pro | GPS | GNATbench
    Feb 2nd, 2017

    GB: add check syntax/semantic, recompute xref menus
    Check Ada File(s) Semantic, Check Ada File(s) Syntax, Recompute Xref Info & Compile All Sources contextual menus added.

  • CodePeer
    Feb 1st, 2017

    Generation of test vectors disabled by default
    Support and documentation for test vectors has been removed, since this capability is only partially implemented and sometimes generates confusing information. It can be temporarily reenabled via a debug switch "-dbg-on test_vectors".

  • GNATCOLL.SQL: support for PostgreSQL range types
    The new package GNATCOLL.SQL.Ranges provides support for range types, as available in PostgreSQL. Predefined instances are provided in GNATCOLL.SQL.Postgres.

  • GNAT Pro | GPRbuild
    Feb 1st, 2017

    New gprbuild switch—no-complete-output / -n
    A new switch is added to gprbuild, --no-complete-output or equivalent -n. This switch is only accepted on the command line, not in package Builder. When this switch is used, no files .stderr or .stdout are created by the compilers. This switch also cancels any previous switch --complete-output.

  • SPARK Pro
    Jan 31st, 2017

    New switch—no-inlining prevents inlining for proof
    The special inlining used in GNATprove to increase the precision of proof may be harmful in some cases, as it increases precision at the cost of longer running time and greater memory usage. GNATprove now supports no inlining under switch --no-inlining.

  • GNAT Pro | GPS | GNATbench
    Jan 30th, 2017

    GPS: changing perspective from main toolbar
    GPS now includes a new button to the right of the main toolbar, to let users easily switch perspectives.

  • GNATCOLL.SQL.SQLITE: support for URI filenames
    Support for sqlite's URI filename has now been added, via a new parameter to GNATCOLL.SQL.Sqlite.Setup

  • GNATCOLL.Traces add support for prefix decorators
    These decorators can be used to add information at the beginning of each log line, before the indentation and the name of the trace handle. Such information will always be aligned, so it might be convenient to display timestamps for instance.

  • SPARK Pro
    Jan 25th, 2017

    SPARK tools produce more information about VCs
    Previously, it was hard to see which VCs were produced for a given check, and which prover was used to attempt to prove it. Now, this information is stored in the .spark files that are produced by GNATprove. The content of these files is now documented.

  • SPARK Pro
    Jan 23rd, 2017

    New lemmas on monotonicity of float operators
    The SPARK lemma library includes six new lemmas on the monotonicity of the float addition, substraction, multiplication and division.

  • GNAT Pro
    Jan 20th, 2017

    Ability to check removal of Ghost code in executables
    The names of Ghost entities in the objects and executables are now uniquely prefixed with "___ghost_" (three leading underscores). This makes it possible to independently check the removal of Ghost code by the compiler when generating the final executable with Ghost assertion policy of Ignore (the default).

  • GNAT Pro
    Jan 18th, 2017

    Better warnings for suspicious postconditions
    Postconditions (and consequences of contract cases) that do not refer to the post-state of the subprogram are suspicious, as they should either be preconditions, or another expression was meant to be checked. Originally only full postconditions were checked, now all conjuncts in a conjunction of Boolean sub-expressions are individually checked for such issues.

  • GNAT Pro
    Jan 17th, 2017

    Relaxed and strict secondary stack management
    The compiler now employs two different schemes of managing the secondary stack - relaxed and strict. In relaxed mode, a context which uses the secondary stack will no longer manage it if there exists an enclosing construct which already does that. This behavior cannot propagate beyond packages and subprograms. Relaxed mode is the default mode of secondary stack management. In strict mode, any context which uses the secondary stack will manage it unconditionally. This behavior can be enabled by switch -gnatd.s.

  • GNAT Pro
    Jan 13th, 2017

    Reduce -Wstack-usage false positives with strings
    The number of false positives reported by the compiler for the -Wstack-usage warning on strings or arrays has been reduced.

  • SPARK Pro
    Jan 12th, 2017

    Check default of private types at declaration
    GNATprove now checks that no runtime error can occur during the default initialization of private types once and for all at the declaration of the type. This enforces a cleaner separation of library code from user code, allowing for an easier integration of proof with other verification means (tests, review...).

  • GNAT Pro
    Jan 9th, 2017

    Do not emit unit version on bare board platforms
    On bare board platforms, units versions for Version and Body_Version attributes are not emitted anymore when not needed.

  • SPARK Pro
    Jan 6th, 2017

    Support for arbitrary lengths of entry queues
    GNATprove now supports arbitrary lengths of entry queues (which are specified by the Max_Queue_Length and Max_Entry_Queue_Length pragmas). This feature is only applicable when the GNAT Extended Ravenscar profile is active.

  • SPARK Pro
    Jan 5th, 2017

    Add message on proved termination
    When GNATprove is able to prove a Terminating annotation an info message is issued.

  • SPARK Pro
    Jan 5th, 2017

    Support of caching using memcached server
    The SPARK tools now support caching large parts of the analysis via a memcached server. If a memcached server is available to store analysis results, and this server is specified to GNATprove via the command line option --memcached- server=hostname:portnumber, then subsequent invocations of the tools, even across different machines, can store intermediate results of the tools. The user-visible effect is that GNATprove can produce results faster.

  • GNAT Pro | GPRbuild
    Jan 5th, 2017

    New GPRname switch—ignore-duplicate-files
    GPRname has a new switch --ignore-duplicate-files which will ignore identical basenames when scanning for sources. In addition, a warning is now emitted by default when not using this switch to warn about potential conflicts when duplicate filenames are found.

  • GNAT Pro
    Jan 3rd, 2017

    Improved debug information for enumeration types
    In its DWARF output, GNAT now generates DW_AT_encoding attributes for all DW_TAG_enumeration_type DIEs. These describe the signedness of the corresponding enumeration types, allowing precise interpretation of subranges.

  • GNAT Pro
    Jan 2nd, 2017

    No_Inline is a legal aspect name
    The GNAT-specific pragma No_Inline is now accepted as a legal aspect name, in analogy with the Ada aspect No_Return.

  • CodePeer
    Dec 27th, 2016

    Improved handling of SCIL version mismatch
    When a SCIL version mismatch is detected (e.g. when using a new version of CodePeer) CodePeer will now display a simple info message and will automatically remove obsolete files, and regenerate them.

  • CodePeer
    Dec 23rd, 2016

    Incremental analysis via persistent annotations
    A beta version of incremental analysis is available where CodePeer will save the result of its full analysis on disk via the -persistent-annotations switch, allowing reuse in subsequent runs when the files are still up to date. This allows both faster re- analysis and more precise results.

  • SPARK Pro
    Dec 21st, 2016

    More precise analysis for exclusive use of entries
    Tasks were previously only allowed to call the same entry if they were using entries belonging to different (library-level) objects. Now GNATprove also accepts calls from more than one task to a single entry provided that each task uses an entry belonging to a different component of a record object.

  • GNAT Pro
    Dec 19th, 2016

    Support of extended interrupts on leon3-elf
    The ravenscar runtime can now support extended interrupts on leon3 targets, like Leon4 or UT700. User needs to edit s-bbbopa.ads to set the generated interrupt.

  • GNAT Pro
    Dec 15th, 2016

    Implement workaround for LEON3FT b-to-b store errata
    The compiler switch -mfix-ut699 has been enhanced to work around the issues present in Cobham Gaisler's UT699 LEON3FT processor and documented in the errata sheet titled "LEON3FT Stale Cache Entry After Store with Data Tag Parity Error". A new compiler switch -mfix-ut699e has also been added to work around the issues present only in the UT699E LEON3FT processor.

  • GNAT Pro | GPRbuild
    Dec 14th, 2016

    New attribute Required_Artifacts
    A new attribute Required_Artifacts has been introduced. This new attribute complements the Artifacts attribute and is very similar except that the artifacts must exist or an error is reported.

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

    GB: use legacy cmd when target not found in Makefile
    When running a GNATbench command (compile/build/clean/...) on a GNAT project where builds are handled by a Makefile, if the expected target is not found in the Makefile, the standard command (ie, the one used for GNAT projects where builds are not handled by a Makefile) is used instead.

  • GNAT Pro | GPRbuild
    Dec 13th, 2016

    New GPRname switch—ignore-predefined-units
    GPRname has a new switch --ignore-predefined-units which will not consider any predefined Ada unit (children of Ada, Interfaces and System packages) when scanning source files.

  • GNAT Pro
    Dec 12th, 2016

    Class-wide type invariant optimization
    Subprogram calls within class-wide type invariant expressions now get resolved as primitive operations instead of being dynamically dispatched.

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

    GNATdoc: support for Ada 83 and Ada 95
    GNATdoc now supports processing Ada 83 and Ada 95 codebases, in addition to Ada 2005 and 2012.

  • SPARK Pro
    Dec 9th, 2016

    Better termination error messages
    Every error message related to termination referred to a subprogram without specifying the name. This further information is now emitted.

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

    WB: revision controlled scenario variable settings
    Scenario variables values related to a project are stored in its .gb_project file to enable having them version controlled.

  • GNAT Pro | GPRbuild
    Dec 8th, 2016

    Recognize native compiler of different architecture
    On multiarch systems, gprbuild can now recognize a native compiler of a different architecture than itself.

  • SPARK Pro
    Dec 7th, 2016

    Only check component subtype at first declaration
    GNATprove now only checks subtype indications on record components when verifying the declaration of the first record type defining this component. This avoids having multiple checks on record component subtype indications, some of which could be undischarged due to missing information.

  • CodePeer
    Dec 7th, 2016

    Support for annotations in the CSV output
    CodePeer annotations (preconditions, postconditions, global inputs and outputs, ...) can now be included in the CSV output using the -show-annotations switch (in addition to -output-msg -csv).

  • GNAT Pro
    Dec 7th, 2016

    Support in Linux for locking policies
    The Linux version now supports two additional locking policies pragma Locking_Policy (Ceiling_Locking); pragma Locking_Policy (Inheritance_Locking);.

  • GNAT Pro
    Dec 7th, 2016

    Pragma Discard_Names and exception declarations
    Pragma Discard_Names now suppresses the generation of String names for exception declarations. As a result, these names will not appear in the final binary. Note that routine Ada.Exceptions.Exception_Name will return an empty String when invoked with an exception subject to pragma Discard_Names.

  • GNAT Pro
    Dec 7th, 2016

    Ada issue AI12-0131, inheritance of Pre’Class
    AI12-0131, which is part of the Ada 2012 corrigendum 1, specifies that Pre'Class shall not be specified for an overriding primitive subprogram of a tagged type T unless the Pre'Class aspect is specified for the corresponding primitive subprogram of some ancestor of T.

  • GNAT Pro
    Dec 7th, 2016

    Reduce memory use for temporary files
    The run-time system now does a slightly better job of cleaning up some data structures used for temporary files created by Text_IO.

   1  2  3     Next »