Development Log

  • SPARK Pro
    Mar 21st, 2017

    Simplified translation of simple private types
    Untagged private types with no discriminant whose full view is not in SPARK are now translated in Why3 as clones of the predefined __private abstract type. This should allow users of interactive proof assistants to more easily map these private types to a logic type of their choice.

  • GNATCOLL.Traces performance improvements
    Performance has been significantly enhanced: streams no longer flush after each message by default (though this is now configurable in the configuration file), locking is done at the stream level, and can often be avoided altogether since the system provides its own locking, messages are created as a whole line and then sent once to the stream, which provides more flexibility when writing streams, and other various enhancements. In a single threaded application, we now output 6 million messages per second to a file.

  • GNAT Pro
    Mar 16th, 2017

    GNAT includes a ZFP runtime for Linux and Windows
    The native ZFP (Zero Footprint) runtime for Linux and Windows is now part of the base GNAT package. It is now also available with 64-bit compilers.

  • CodePeer
    Mar 15th, 2017

    Better messages for .scil file creation failure
    If CodePeer unsuccessfully attempts to create a .scil file, then generate an additional error message which includes the full name of the file which could not be created. If it appears likely that the source of the problem is a Windows-specfic restriction on filename lengths, then that is also noted in a message.

  • GNATCOLL.Mmap: support files larger than 2Gb
    This package now supports mapping files up to 1 petabyte, on 64 bits systems. This is backward compatible, although to access such large files you will need to use some different functions. This package also includes support for the madvise() system call on Unix systems, which might provide a 5% performance improvements when accessing files sequentially.

  • GNATCOLL.Strings: new package
    This package, and the generic implementation in GNATCOLL.Strings_Impl, provide a new string type. A XString is similar to an unbounded string, but more efficient (up to 10x for strings 23 characters or less, or when manipulating substrings, and up to 1.4 for larger strings), and with a more extensive API.

  • GNATCOLL.Promises: new package
    This package provides a promise type, also known as a future in some language. This is a way to perform background computation, then chain a series of callbacks which can themselves perform asynchronous computation.

  • GNAT Pro
    Mar 13th, 2017

    Option to treat run-time exception warnings as errors
    The compiler supports a new switch -gnatwE that treats warnings that run-time exceptions will occur as compile-time errors.

  • Ada Web Server
    Mar 11th, 2017

    Add support for type/subtype in ada2wsdl
    The tool ada2wsdl will now generate proper WSDL out of Ada specs using types or subtypes to derived from other Ada specs.

  • SPARK Pro
    Mar 9th, 2017

    New switch produces header in gnatprove.out
    The new switch --output-header produces a header in the generated file gnatprove.out, with useful information about the run of GNATprove, such as the version number, date, host platform and switches used.

  • Ada Web Server
    Mar 7th, 2017

    Add support for xsd:dateTime in ada2wsdl
    The ada2wsdl tool will now generate a SOAP xsd:dateTime for references to the standard Ada.Calendar.Time.

  • Ada Web Server
    Mar 4th, 2017

    Add support for selecting encoding in ada2wsdl
    The ada2wsdl tool has a new option to select the encoding to be used by the SOAP services.

  • GNAT Pro | GPRbuild
    Feb 28th, 2017

    Environment variables TEMP and TMP for temp dir
    In addition to environment variable TMPDIR, TEMP and TMP are potentially used by the Project Manager to store temporary files. If one of these environment variables designates the absolute path of a directory, this directory is used to store the temporaty files. TMPDIR is checked first, then TEMP, then TMP. If none of those designates the full path of a directory, then the temporary files are stored in object directories.

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

    GPS: Locate in Project view and flat mode
    The "Locate in Project View" action now works for both normal and flat modes, without switching the mode.

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

    GPS: Locate in Project view and flat mode
    The "Locate in Project View" action now works for both normal and flat modes, without switching the mode.

  • GNAT Pro
    Feb 27th, 2017

    Warning messages for null-excluding components
    Warnings are now issued on composite objects that have components of a null-excluding access type that are default initialized to null, as such initializations will raise Constraint_Error.

  • GNATCOLL.SQL: New routines 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". Is_And and Is_Or routines to discover upper level boolean operation of criteria. Combine routine to create SQL_Criteria from list of criteria.

  • SPARK Pro
    Feb 24th, 2017

    Dynamic type constraints of protected components
    GNATprove now better tracks dynamic type constraints of protected components, such as dynamic bounds, predicates and invariants. This results in more automatic proof on protected operations or their callers, whenever types of protected components have some dynamic constraints.

  • GNAT Pro | GPRbuild
    Feb 23rd, 2017

    GPRbuild response files
    GPRbuild now supports response files. A response file is a text file, specified to gprbuild with argument '@<argument_file_path>'. The path is either absolute or relative to the current working directory. Each line in a response file is an argument for gprbuild. An argument '@<file>' is not allowed in a response file.

  • CodePeer
    Feb 23rd, 2017

    Support for -jxxx switch
    CodePeer now supports the -jxxx switch as an alias for the existing switch -jobs xxx, for consistency with other GNAT tools. This switch enables the use of multiple processes for SCIL generation and analysis.

  • GNAT Pro
    Feb 22nd, 2017

    Removal of restriction on Scalar_Storage_Order usage
    The restriction whereby a record type cannot contain a component whose type is a bit-packed array and which has a different scalar storage order from the record type has been removed.

  • CodePeer
    Feb 21st, 2017

    Compiler Mode now remembers previous messages
    When using the -compiler-mode switch, messages generated from the previous run on files that have not changed are now displayed.

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

    GPS: selectable file property labels
    The labels containing the base name and directory of a file in the Properties dialog are now selectable, which means you can copy/paste from them.

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

    GPS: selectable file property labels
    The labels containing the base name and directory of a file in the Properties dialog are now selectable, which means you can copy/paste from them.

  • GNATCOLL.SQL handling of postgresql schema
    When a database uses multiple schemas (table names starting with prefixes like "schema1.table" and "schema2.table" for instance), gnatcoll_db2ada will now generate nested packages to avoid name conflicts and let users use the same "." notation they do in SQL. For instance, Database.Schema1.Table.

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

  • GNAT Pro
    Feb 10th, 2017

    Support of extended interrupts on leon3-elf
    The Ravenscar runtimes now support the extended interrupts of the interrupt controller. You need to set the Extended_Interrupt_Level constant in s-bbbopa.ads and rebuild the runtime, as it is not enabled by default.

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

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

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

   1  2  3     Next »