Development Log in October 2009.

  • GNAT Pro | GPS | GNATbench
    Oct 28th, 2009

    Remote mode now synchronizes files upon save
    When using the GPS remote mode, locally saved files are now synchronized to the remote servers immediately. This allows external programs running on the server to immediately have access to them, and also allows faster sync operations before GPS launches an action on the remote server.

  • GNAT Pro | GPS | GNATbench
    Oct 28th, 2009

    Remote mode now synchronizes files upon save
    When using the GPS remote mode, locally saved files are now synchronized to the remote servers immediately. This allows external programs running on the server to immediately have access to them, and also allows faster sync operations before GPS launches an action on the remote server.

  • GNAT Pro
    Oct 25th, 2009

    Improve -gnatR? output for discriminated extensions
    The output of -gnatR? for extensions of discriminated tagged records is now more accurate when discriminants are constrained in the extension.

  • GNAT Pro
    Oct 22nd, 2009

    Recursive iteration over windows registry subkeys
    A new iterator has been provided in GNAT.Registry to allow iteration over a hierarchy of registry subkeys on Windows.

  • GNAT Pro | GPRbuild
    Oct 21st, 2009

    Relative paths in the run path option
    For platforms where the linker supports -z origin and $ORIGIN in the run path option, use paths relative to the exec directory in the run path option.

  • GNAT Pro | GPRbuild
    Oct 20th, 2009

    No shared libgnat by default with C++
    When Ada and C++ are used, the shared versions of the GNAT libraries are no longer used by default. However, the shared version of libgcc is always used.

  • GNAT Pro | GNATbench
    Oct 19th, 2009

    Ada & C mixed language development

    Paul Parkinson, a Senior Systems Architect with Wind River in the UK, has written an interesting post in his blog on developing "new Ada applications (as well as reusing existing intellectual property) and integrate them with network protocol stacks, graphics libraries and other middleware which are often implemented in C or C++.". Paul shows how he uses Workbench and GNATbench to work on the mixed language application.

    To read it, please click here:

    http://blogs.windriver.com/parkinson/2009/10/yesterday-adacore-announced-the-release-of-gnatbench-231-its-ada-integrated-development-environment-eclipse-plugin-which.html

  • GNAT Pro
    Oct 19th, 2009

    Improved C and C++ binding generation
    The -fdump-ada-spec switch which generates Ada bindings for C and C++ headers has been improved to handle more situations automatically, in particular to support more C++ constructs.

  • GNAT Pro
    Oct 19th, 2009

    More flexible semantics for pragma Annotate
    Pragma Annotate can be used by different tools and requires a flexible naming scheme for its parameters. The pragma now accepts one or more arguments. The first two must be identifiers but are not analyzed or otherwise resolved, and their meaning is tool-specific. The remaining parameters, if present, must be expressions that are fully resolved. If the expression is a string literal, its type is one of the predefined string types, depending on whether Wide_(Wide_) characters are present

  • GNAT Pro
    Oct 18th, 2009

    Better clock accuracy on Win32
    On Windows systems the clock is computed from a base time and the performance counter. To have better accuracy we ensure that we get the time time at a clock tick boundary.

  • GNAT Pro
    Oct 16th, 2009

    GDBserver now available on some native platforms
    GDBserver is now available on x86-windows, x86-linux and x86_64-linux. This program allows debugging of a program on a host that is different from the host where the debugger is running. Please refer to the GDB Users Manual for more information on how to use gdbserver.

  • GNAT Pro | GPS | GNATbench
    Oct 14th, 2009

    New menu /File/Close All Editors Except Current
    This menu closes all editors except the one that currently has the focus.

  • GNAT Pro | GPS | GNATbench
    Oct 14th, 2009

    New menu /File/Close All Editors Except Current
    This menu closes all editors except the one that currently has the focus.

  • Ada
    Oct 12th, 2009

    Ada Conference UK videos online

    The videos of the presentations given at this year's Ada Conference UK are now available:

    Selecting a Programming Language, The Modern Way - Jim Sutton, Lockheed Martin
    Using Static Analysis as part of Code Review - Tucker Taft, SofCheck
    Tokeneer: An Open-Source Demonstration of High-Assurance Software Engineering - Janet Barnes, Praxis High Integrity Systems
    Leveraging the Power of UML2 Ports - a Strategy for Their Implementation in Ada - Fraser Chadburn, IBM Rational Software
    Project Coverage and the Open-DO Initiative - Franco Gasperoni, AdaCore
    Ada Programming Language Use in Lockheed Martin - An Update - Judith Klein, Lockheed Martin

    To view these videos, please visit: http://www.adacore.com/home/ada_answers/lectures/ada_uk09/

  • GNAT Pro
    Oct 12th, 2009

    Performance improvement in gnatmake and gprbuild
    The number of system calls performed by these tools was significantly reduced. On systems with slow disks (or remote disks), this results in a major speed up, and better CPU usage.

  • GNAT Pro | GPS | GNATbench
    Oct 12th, 2009

    New plugin: highlight_selection.py
    When some text is selected in a buffer, this plugin will automatically highlight other occurrences of the selected text in the buffer.

  • GNAT Pro | GPS | GNATbench
    Oct 12th, 2009

    New plugin: highlight_selection.py
    When some text is selected in a buffer, this plugin will automatically highlight other occurrences of the selected text in the buffer.

  • GNAT Pro
    Oct 11th, 2009

    New switch to suppress reverse bit order messages
    A new warning switch -gnatw.V can be used to suppress the info messages that give information on record representation clauses that are affected by a non-default bit order. The default (which can be set with -gnatw.v) is to issue these messages.

  • GNAT Pro
    Oct 11th, 2009

    Suppress false positives for dead code
    Warnings for dead code being eliminated are now suppressed for statements that are under control of an if statement testing a boolean identifier if either Warnings (Off) has been given for the identifier entity or the test is within an instance. The reason for the instance exception is that it is common to control generic expansion with such tests. A particular example showed up in compiling Text_IO.Integer_IO with all warnings turned on. This used to generate false positive warnings on the instance.

  • GNAT Pro
    Oct 10th, 2009

    Diagnose additional case of missing parentheses
    The compiler now recognizes an expression like (M and X = 0) where M is a modular type and X is an integer literal, suggesting that most likely the problem is missing parentheses around (M and X).

  • GNAT Pro
    Oct 7th, 2009

    New secure hash functions
    New secure hash functions from FIPS PUB 180-3 (SHA-224, SHA-256, SHA-384 and SHA-512) are now implemented in the GNAT runtime library and are available in packages GNAT.SHA224, GNAT.SHA256, GNAT.SHA384 and GNAT.SHA512.

  • GNAT Pro | GPRbuild
    Oct 7th, 2009

    New switch—no-split-units
    A new switch --no-split-units is added. When this switch is specified, the spec, body and subunits of an Ada unit must be sources of the same project or of projects extending each others.

  • GNAT Pro
    Oct 5th, 2009

    ASIS: support for conditional expressions
    ASIS now can process conditional expressions. A new position is added to Asis.Expression_Kinds for conditional expressions and a notion of conditional statement paths is added.

  • GNAT Pro
    Oct 5th, 2009

    New debug flag to disable Warnings pragmas
    A debug flag -gnatw.i (/NOWARNINGS_PRAGMAS in VMS) to cause all WARNINGS pragmas to be ignored. Useful in checking if a program has obsolete pragmas that are hiding real problems.

  • GNAT Pro | GPRbuild
    Oct 1st, 2009

    No relink if non interfaces of shared SALs changed
    When only non interface units are modified in a shared Stand-Alone Library, the shared SAL needs to be rebuilt but the executable no longer needs to be rebound and relinked.