Development Log

  • SPARK Pro
    Jun 23rd, 2016

    New check_all mode for GNATprove
    GNATprove now has a new mode for running the SPARK tools. This is the check_all mode, in which a full check of SPARK legality rules is done.

  • GNAT Pro | GPS | GNATbench
    Jun 23rd, 2016

    GPS: remove settings to auto-resize omnisearch
    The omnisearch (i.e. the search box at the top-right corner of the GPS window) had a setting to automatically resize the popup window vertically. Unfortunately, due to limitations in the gtk+ toolkit in computing the ideal size of a window, this never worked correctly. This setting has thus been removed, and the window will now always occupy the full height of the GPS window.

  • GNAT Pro
    Jun 23rd, 2016

    Improved exception propagation on cert
    For cert, ravenscar-cert and ravenscar-cert-rtp runtimes, a new mechanism to propagate exception is now used: backend SJLJ. This is more efficient than the previous mechanism.

  • CodePeer
    Jun 22nd, 2016

    Better support for test always true/false in elsif
    CodePeer detects conditions always true or false in more cases when the condition is part of an 'elsif' branch involving a complex expression, for instance an expression involving pointers.

  • GNAT Pro | GPRbuild
    Jun 22nd, 2016

    New builtin function Split
    A new builtin function Split is introduced. It takes two string parameters and returned a string list. Examples:

       Split ("-gnatf,-gnatv", ",") => ("-gnatf", "-gnatv")
       Split (external ("COMP_FLAGS", "-gnatf,-gnatv"), ",")
    

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

    GPS: new menu /File/Save More/Projects
    The menu /Project/Save All was moved to a new location to make its semantics easier to understand.

  • GNAT Pro | GPRbuild
    Jun 20th, 2016

    gprbuild verbosity
    gprbuild switch -v is now equivalent to switch -vl (low verbosity) instead of -vh. And invoking gprbuild with -v or -vl no longer outputs information about the inner behavior of gprbuild.

  • GNAT Pro
    Jun 20th, 2016

    New pragma/aspect Max_Queue_Length
    When applied to a protected entry or entry family, pragma Max_Queue_Length restricts the maximum callers per entry.

  • GNAT Pro
    Jun 20th, 2016

    Gold linker is available on native Linux
    The gold linker is now available on native Linux platforms. It can be selected (instead of the default bfd linker) using linker switch -fuse-ld=gold. This linker is faster than the bfd linker.

  • GNAT Pro | GPS | GNATbench
    Jun 17th, 2016

    GPS: new function GPS.Entity.instance_of
    A new python function is now available to find the generic entity that the current one instantiates.

  • GNAT Pro
    Jun 17th, 2016

    No elaboration code for Ada.Unchecked_Conversion
    Units Ada and Ada.Unchecked_Conversion have pragma No_Elaboration_Code_All, so these units can be with-ed from user units with that pragma.

  • GNAT Pro
    Jun 17th, 2016

    Improved support for new socket options
    GNAT.Sockets now has built-in support for Linux specific option Busy_Polling (SO_BUSY_POLL) when the compiler and runtime library are built on a recent enough host. Options not available at compiler build time can also now be set through a generic mechanism (Generic_Option).

  • SPARK Pro
    Jun 16th, 2016

    Improved info messages on objects initialization
    Now we emit info messages for every constituent of an abstract state, including protected objects. Also, we only emit info messages on initialized objects if they are mentioned in an Initializes aspect.

  • GNAT Pro | GPRbuild
    Jun 15th, 2016

    Environment variable GPR_RUNTIME_PATH
    When the Ada runtime directory is specified with switch --RTS or attribute Runtime ("Ada") as a relative path, the path may be relative to the project directory of the main project, or if the environment variable GPR_RUNTIME_PATH is defined to the path specified by the value of this environment variable.

  • SPARK Pro
    Jun 15th, 2016

    Entry guards are now taken into account
    GNATprove now also takes into account the boolean expression provided as a guard of an entry of a protected type. This was previously not the case.

  • Ada Web Server
    Jun 10th, 2016

    Add support for generating document style WSDL
    The tool ada2wsdl will now generate document style WSDL when passed the -doc option.

  • GNAT Pro | GPRbuild
    Jun 9th, 2016

    gprbuild default output
    The default output of gprbuild is now synthetic, without any abridged commands to invoke the compilers, binder or linker. Example: $ gprbuild prj.gpr Compile

       [Ada]          main.adb
    
    Bind
       [gprbind]      main.bexch
       [Ada]          main.ali
    
    Link
       [link]         main.adb
    

  • GNAT Pro | GPS | GNATbench
    Jun 9th, 2016

    GPS: display basenames in Project view
    The Project view has gained a new configuration, to display only the basenames of the directories. So now if you have a project file at /some/path/file.gpr and one source directory at /some/path/sources/src1/, you can choose to display any of the following in the Project view:

        /some/path/sources/src1/  (not showing basenames, and absolute paths)
        sources/src1/             (not showing basenames, and relatied paths)
        src1                      (showing basenames)
    

  • GNAT Pro | GPS | GNATbench
    Jun 9th, 2016

    GPS: improve debugger call stack view
    This view now has a local configuration menu to chose which information should be displayed. When you chose not to show subprogram parameters, gdb is configured so that it also does not try to compute them, which on some systems might significantly speed up operations with the debugger.

  • GNAT Pro | GPS | GNATbench
    Jun 9th, 2016

    GPS: new python function GPS.Debugger.breakpoints
    GPS now exports the list of breakpoints that are currently set in the debugger. This is both more efficient and more reliable than having scripts parse it again, and avoids hard-coding gdb commands in scripts.

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

    GPS: new functions exported to GPS.Debugger
    GPS exports more debugger functions to python, allowing scripts to be more independent of which exact debugger is actually used. These are GPS.Debugger.value_of, GPS.Debugger.set_variable, GPS.Debugger.break_at_location and GPS.Debugger.unbreak_at_location.

  • GNAT Pro
    Jun 8th, 2016

    User replacement of intConnect on VxWorks
    User can now use a custom interrupt connection routine on VxWorks. Package Interfaces.VxWorks.Int_Connection has been added.

  • GNAT Pro
    Jun 7th, 2016

    Pragmas Compile_Time_Error and Compile_Time_Warning
    Pragmas Compile_Time_Warning and Compile_Time_Error now support the use of attributes 'Size and 'Alignment when they are known at compile time.

  • SPARK Pro
    Jun 6th, 2016

    Support optional refinement in private part/child
    SPARK Reference Manual now allows refinement through the use of pragma or aspect Refined_Global and/or Refined_Depends in scopes where the full refinement of an abstract state is not visible, like the private part of the package defining the abstract state, or one of its child packages. The special rules in SPARK RM 7.2.4 for this so-called optional refinement are now supported in GNAT and GNATprove.

  • SPARK Pro
    Jun 6th, 2016

    Global variables known to be initialized in loops
    GNATprove now knows that in out global variables and parameters that are modified in loops are always initialized and thus are in their types. In particular, variables are in their range for scalars and their dynamic predicate is true if they have one.

  • SPARK Pro
    Jun 3rd, 2016

    Suppressed wrong warning message for X’Address
    SPARK does not look at X in X'Address as a used variable anymore and therefore it does not emit a warning message in case X is not initialised.

  • GNATCOLL.Atomic: Sync_*_Compare_And_Swap_Counter
    New atomic operations are provided, that change the value of an Atomic_Counter if, and only if, it currently has a given known value. This is useful to write lock-free algorithms.

  • GNAT Pro
    Jun 3rd, 2016

    gnattest: stub parent packages
    Gnattest now generates stubs for parent packages of packages undet test in --stub mode.

  • GNAT Pro | XMLAda
    Jun 2nd, 2016

    unicode names from the Unicode 8 standard
    The unicode-names-* packages were updated to match the Unicode 8 standard. The new bindings are generated via a new importer, which fixes a number of issues with the previous bindings:

       - some characters were put in the wrong block (and thus wrong package)
       - some typos due to incorrect parsing of the Unicode files
       - some name aliases would hide canonical names occurring later (for
         instance 1F5E2 was hidden by 1F48B)
       - some unofficial aliases were used (Bell is not long valid, for
         instance)
    
    This change is not fully backward compatible, due to changes in the Unicode standard itself, since some blocks were renamed, as well as some characters. Contributed by Nicolas Boulenguez

  • GNAT Pro
    Jun 1st, 2016

    Improved version of attribute Type_Key
    The attribute Type_Key, which is provided for compatibility with the APEX attribute of that name, now uses a CRC computed from the type declaration of the type, and the declaration of all its components, to provide a reliable signature that allows the detection of changes in the semantics of the type.

  • GNAT Pro | GPS | GNATbench
    May 31st, 2016

    GPS: tooltips show dirs relative to root project
    The tooltips in notebook tabs, in the Project view and in the Windows view now show both the absolute name for files as well as their location relative to the root project. The latter path can often be much shorter, depending on your setup.

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

  • GNAT Pro | GPRbuild
    May 29th, 2016

    Setting the default verbosity
    It is now possible to control the default verbosity without to use switches -v or -q, with environment variable GPR_VERBOSITY. The possible values, case-insensitive, are "quiet", "default", "verbose", "verbose_high", "verbose_medium" and "verbose_low". Any other value is ignored.

  • 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 26th, 2016

    Runtimes with multiple directories
    Runtimes with multiple directories for sources or object/libraries are now properly supported.

  • 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. For Python plugins: the hooks 'task_changed' and 'task_removed' have been removed as part of this: use GPS.Task.list() periodically to get the list of tasks.

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

   1  2  3     Next »