Development Log

  • GNAT Pro | GPRbuild
    Apr 27th, 2017

    Avoid following too many symbolic links
    When gprbuild or gprclean were invoked without switch -eL, some symbolic links were still needlessly followed. Now, only the minimum number of symbolic links are followed.

  • GNAT Pro
    Apr 27th, 2017

    Relax alignment constraint for record extensions
    On x86 and, more generally, architectures that do not require strict alignment for memory accesses, the compiler now accepts size clauses on record type extensions that effectively lower the alignment of the type, if there is also a representation clause on the type.

  • CodePeer
    Apr 24th, 2017

    -csv and -show-header
    Mixing -csv and -show-header with -output-msg was disallowed in CodePeer 17.1 because it generates a invalid CSV file. Since this option was found useful by some users, it's available again. It's up to the user to postprocess (e.g. split) the output if needed.

  • CodePeer
    Apr 24th, 2017

    -csv and -show-header
    Mixing -csv and -show-header with -output-msg was disallowed in CodePeer 17.1 because it generates a invalid CSV file. Since this option was found useful by some users, it's available again. It's up to the user to postprocess (e.g. split) the output if needed.

  • CodePeer
    Apr 20th, 2017

    Show-header displays current and base “run” numbers
    If the "-show-header" flag is passed to codepeer after the "-output-msg[-only]" flag, two additional header lines are now displayed, with the form "current run number 7" and "base run number 2". The run numbers identify which execution of CodePeer produced the output, and which execution was used as the "baseline" for comparison for the purpose of identifying "added" or "removed" messages. In addition the date displayed in the header now corresponds to when the results were produced, rather than when they are being displayed.

  • CodePeer
    Apr 20th, 2017

    Excluded source files listed by -show-header
    The list of files excluded from analysis by CodePeer via the Excluded_Source_Files or Excluded_Source_Dirs project attributes is now available when using -output-msg[-only] -show-header.

  • SPARK Pro
    Apr 20th, 2017

    Better handling of powers of 2 in modular types
    GNATprove now handles better powers of 2 that are of a modular type, leading to better proof results. This improvement only concerns modular types whose modulus is itself a power of 2.

  • SPARK Pro
    Apr 20th, 2017

    Better handling of discriminant-dependent components
    GNATprove now handles accesses to discriminant-dependent record components better, leading to more proofs and less spurious trivial checks on such components.

  • SPARK Pro
    Apr 19th, 2017

    Improved handling of compile-time-known assertions
    Assertions that are known to be true at compile-time are now handled in a more efficient way by the SPARK tools. This results in shorter running times on projects that contain such assertions.

  • CodePeer
    Apr 19th, 2017

    More efficient IDE/CodePeer exchange format
    The new format of IDE/CodePeer data exchange allows minimizing the amount of inspection information loaded at the opening of the CodePeer report and only loading annotation information when needed.

  • GNAT Pro
    Apr 19th, 2017

    Removal of restriction on inlining in related units
    The compiler can now inline into a child package a subprogram declared in a parent package, even if the parent package has a with clause for the child package in the parent's body.

  • CodePeer
    Apr 17th, 2017

    Improved analysis for ‘Image
    CodePeer has now more knowledge about the bounds of Image attribute evaluations; for example, it knows the low bound = 1 and the high bound >= 1.

  • CodePeer
    Apr 17th, 2017

    Improved handling of pragma Assume
    CodePeer now takes into account pragma Assume and will no longer generate messages about the possibility that the condition of an Assume (as opposed to Assert) pragma may yield "false".

  • GNAT Pro
    Apr 17th, 2017

    Speedup for functions returning unconstrained arrays
    The compiler now generates more efficient object code for simple functions returning an unconstrained array type, for example Ada.Numerics.Real_Arrays.Eigenvalues as implemented in GNAT.

  • GNAT Pro
    Apr 16th, 2017

    Optimize calls to null procedures
    GNAT now replaces calls to null procedures by null statements, except when GNATcoverage is active. This enables further optimizations that include such calls.

  • GNAT Pro
    Apr 15th, 2017

    Improved dimensionality checking for generic units
    The dimensionality-checking algorithms have been enhanced to allow the construction of generic units that can apply to different dimensioned arguments, and verify the dimensional consistency of each separate instance of such a unit.

  • SQL Long_Float type conformity
    New cursor operation Long_Float_Value returns Long_Float value by the field index. New routine As_Long_Float makes SQL_Parameter from Long_Float value to be able to send Long_Float parameter to SQL subsystem.

  • GNAT Pro
    Apr 15th, 2017

    Time_IO.Value enhanced to parse ISO-8861 UTC
    The function Value of package GNAT.Calendar.Time_IO has been enhanced to parse strings containing UTC date and time with the ISO-8861 format.

  • GNAT Pro
    Apr 7th, 2017

    Better message on violation of No_Dynamic_Allocation
    The Ravenscar profile includes a restriction on dynamic allocation. Its violation is usually detected in the back-end, with an obscure message that does not refer directly to the entity responsible for the dynamic allocation (which is typically a discriminated object with non-static discriminants). This enhancement adds a source warning to pinpoint more precisely the cause of the subsequent error and compiler rejection.

  • GNAT Pro
    Apr 6th, 2017

    Elimination of out-of-line body with Inline_Always
    The compiler now always eliminates the out-of-line body of a subprogram subject to pragma Inline_Always.

  • SPARK Pro
    Mar 30th, 2017

    Globals of renamed subprograms in code not-in-SPARK
    GNATprove now synthesizes more precise Global contracts for subprograms annotated with SPARK_Mode => Off that make calls via subprogram renamings. Such calls happen, for example, in instances of generic units with formal subprogram parameters.

  • CodePeer
    Mar 27th, 2017

    Better messages for null statements
    CodePeer flags both dead null statements and predetermined test conditions which govern the possible execution of null statements.

  • GNAT Pro
    Mar 27th, 2017

    GNATdoc can now extract documentation from bodies
    GNATdoc has a new capability, activated by the command-line switch '-d'; in this mode, GNATdoc processes bodies and extracts documentation for library-level entities.

  • SPARK Pro
    Mar 24th, 2017

    Empty “others” alternative in Case statement
    Flow analysis now detects when an "others" alternative of a Case statement corresponds to an empty range and effectively considers its sequence of statements as unreachable. This helps to avoid spurious messages about variables not being referenced or initialized within that sequence of statements.

  • GNAT Pro
    Mar 24th, 2017

    Automatic reordering of components in record types
    The compiler can now reorder components in record types with convention Ada in order to fix blatant inefficiencies that the layout of components in textual order would bring about. The reordering is automatic and silent by default, but both characteristics can be toggled: pragma No_Component_Reordering disables it either on a per-record-type or on a global basis, while -gnatw.q gives a warning for each affected component in record types.

  • GNAT Pro
    Mar 23rd, 2017

    Relax alignment constraint for record extensions
    On x86 and, more generally, architectures that do not require strict alignment for memory accesses, the compiler now accepts size clauses on record type extensions that effectively lower the alignment of the type, if there is also a representation clause on the type.

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

  • SPARK Pro
    Mar 20th, 2017

    Theories for conversion of discrete types realized
    The Why3 theories used by GNATprove to model conversions between discrete types have been realized in Coq. This increases confidence in their correction.

  • 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. This runtime is similar to the ZFP runtimes that are delivered with our bare metal products and can be used to test an embedded project in a native environment.

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

  • GNAT Pro | GPRbuild
    Mar 7th, 2017

    Extending a package from a project being extended
    In an extending project A, it is now possible to extend a package P from the project being extended B, when project B is extending another project C and package P is not declared in project B but has only been inherited from project C.

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

  • GNAT Pro
    Mar 4th, 2017

    Ceiling locking on Linux without root privileges
    Ceiling locking on Linux no longer requires root privileges. Instead, you can run "sudo /sbin/setcap cap_sys_nice=ep exe_file" to set the relevant capability on the executable file, and then that program can use ceiling locking without running as root.

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

   1  2  3     Next »