Development Log

  • GNAT Pro|GPRbuild
    Mar 29th, 2015

    Out of tree build
    gprbuild can now build a project file out of a the source tree. That is, all artefacts (object, executable, ALI files) are relocated to the directory where gprbuild is launched when using the new --in-place option. The --in-place option is also available with gprinstall and gprclean to install artifacts or delete them from the out-of-tree build directory.

  • GNAT Pro
    Mar 27th, 2015

    Improved optimization of 2**K
    The compiler now optimizes 2**K into a quick shift instruction in more cases including handling binary modular types and signed integer types for the case where overflow checking is enabled. The latter is significant given the new default in the compiler which has overflow checking on by default. The new circuit avoids taking a significant penalty for 2**K with overflow enabled.

  • SPARK Pro
    Mar 26th, 2015

    Bodies of non-Ghost packages with Ghost constructs
    Ghost constructs that require a completion in a package body now always require the completion regardless of whether the enclosing package is a Ghost construct or not.

  • SPARK Pro
    Mar 24th, 2015

    Use of constants in contracts
    Constants with variable input can now appear in the following annotations: Global, Depends, Initializes, Part_Of, Refined_Global, Refined_Depends and Refined_State.

  • GNAT Pro|GNATbench | GNAT Pro|GPS
    Mar 24th, 2015

    GPS: makefile.py reads include statements
    Makefile targets found in included makefiles are now listed in the /Build/Makefile menu.

  • GNAT Pro
    Mar 21st, 2015

    New pragma/aspect Volatile_Full_Access
    A new pragma (and equivalent aspect) Volatile_Full_Access is implemented. This is similar to Volatile except that there is a guarantee that every read and write access to an object with this aspect will always use a single instruction which reads or writes all the bits of the object. This includes the case of referencing a component of the object. Note that this differs from Atomic in that there is no such guarantee for Atomic (the compiler can for instance read part of the object). It is not allowed to use Atomic and Volatile_Full_Access for the entity.

  • Ada Web Server
    Mar 20th, 2015

    Add support for encrypted server key file
    It is now possible to use a encrypted key file with AWS. In this case, a pass-phrase is required in order to start HTTPS sessions. This pass-phrase can be handed over to the server using Set_Password_Callback in AWS.Net.SSL.Certificate.

  • GNAT Pro|GNATbench | GNAT Pro|GPS
    Mar 17th, 2015

    GPS: new Color Theme window
    The plugin colorschemes.py has been modified: the way to switch between color themes is no longer through an entry in the Preferences dialog, but through a dedicated window, accessed using the menu Edit -> Color Themes. GPS now supports importing TextMate theme definitions, and a number of themes now ship by default with GPS.

  • GNAT Pro|GNATbench | GNAT Pro|GPS
    Mar 17th, 2015

    GPS: initial dir for the “Change Directory” dialog
    Under Linux/UNIX/Mac OS, the "Change directory" dialog now opens on the current directory, matching the behavior already present on Windows.

  • SPARK Pro
    Mar 17th, 2015

    Contracts on generic subprograms and packages
    The SPARK toolset now supports contracts on generic subprograms, packages and their respective bodies.

  • GNAT Pro
    Mar 17th, 2015

    Alignment_Check suppressed for non-strict alignment
    Alignment_Check is now suppressed by default for machines with non-strict alignment (such as the x86) since these machines handle unaligned references without any problem. Associated compile-time warnings are also suppressed if the run-time check is suppressed. The previous mode of operation (with this check enabled by default) can be obtained by placing in a configuration pragma file "pragma Unsuppress (Alignment_Check)".

  • GNAT Pro
    Mar 16th, 2015

    Add low bit rates to GNAT.Serial_Communications
    New literals B75, B110, B150, B300, and B600 have been added to type GNAT.Serial_Communications.Data_Rate to denote these low bit rates, in order to allow communication with legacy devices that require them.

  • GNAT Pro
    Mar 15th, 2015

    Exclude extended precision for ignored assertion
    If an assertion is compiled using the Ignore policy, and the overflow mode is Eliminate, then the extended precision arithmetic run-time unit (s-bignum) was being included in the build even though no code was being generated. This is now avoided, which is particularly important when using a configurable run-time that does not include this unit.

  • Ada Web Server
    Mar 14th, 2015

    Add support for document style SOAP/WSDL
    AWS now supports document style SOAP messages and WSDL documents.

  • PolyORB
    Mar 13th, 2015

    gnatdist now uses gprbuild by default
    The gnatdist partitioning tool will now use gprbuild by default to build partitions, if that tool is available. You can force the use of gnatmake using debugging switch -dM.

  • SPARK Pro
    Mar 13th, 2015

    Improve handling of dynamic types with dispatch
    The SPARK toolset now tracks bounds of dynamic scalar and array types better in particular in presence of dispatching calls and for verification of LSP conformance.

  • GNAT Pro|GPRbuild
    Mar 13th, 2015

    Dependency with different timestamp
    gprbuild now recompiles a file based source if one of its dependency source has a different time stamp, even when the time stamp is before the one of the object file.

  • Ada Web Server
    Mar 8th, 2015

    Add support for minOccurs/maxOccurs
    Add support for multi-occurrence SOAP elements. SOAP element declared with a minOccurs or maxOccurs different than 1 are now properly handled as multi-occurrence elements. If minOccurs is set to 0 the element can be omitted.

  • GNAT Pro
    Mar 5th, 2015

    Null procedures allowed in protected bodies
    AI12-0147 specifies that null procedures and expression functions are now allowed in protected bodies.

  • SPARK Pro
    Mar 5th, 2015

    Improve support of rotation of modular types
    The SPARK toolset now deals better with rotation of modular types of non constant amount.

  • GNAT Pro
    Mar 2nd, 2015

    Multiset libraries have indexing aspects
    The GNAT-specific ordered and indefinite multiset libraries have indexing aspects, and thus can be used in element iterators.

  • GPS: source navigation in CodePeer-only mode
    When GPS is used with CodePeer only (no GNAT installed), the build mode is automatically changed to properly load the cross-references information.

  • GPS: control jump to first message in plugins
    Python plugins can use new parameter of GPS.Message's class constructor to control automatic jump to first message in category.

  • Ada Web Server
    Feb 28th, 2015

    Add support for WSDL/SOAP type’s constraints
    The tools ada2wsdl and wsdl2aws handle now the type constraints. That is, ada2wsdl will check for range attribute, mod for modular types and array index to generate the corresponding constraints in the WSDL using the simpleType Length, minInclusive and maxInclusive attributes. Those attributes (plus the minExclusive and maxExclusive ones) are now used by wsdl2aws to generate Ada type constraints. Now a constrained string is generated instead of an Unbounded_String for a simpleType with a Length attribute whose base type is xsd:string. The simpleType Pattern attribute is now taken into account and a Dynamic_Predicate aspect is generated. For varying length string with attribute minLength and/or maxLength a Dynamic_Predicate aspect is also generated. Those now constraints will ensure that SOAP objects sent/received are not violating the constraints expressed into the WSDL making the new implementation safer.

  • GNAT Pro
    Feb 28th, 2015

    New pragma Ignore_Pragma
    A new pragma Ignore_Pragma is implemented. This is a configuration pragma that takes a single argument that is a simple identifier. Any subsequent use of a pragma whose pragma identifier matches this argument will be silently ignored. This may be useful when legacy code or code intended for compilation with some other compiler contains pragmas that match the name, but not the exact implementation, of a GNAT pragma. The use of this pragma allows such pragmas to be ignored, which may be useful in CodePeer mode, or during porting of legacy code.

  • SPARK Pro
    Feb 27th, 2015

    Optional Refined_Global/Depends aspects
    Users no longer have to provide a Refined_Global/Depends aspect when their Global/Depends mentions a state with visible refinement. Flow analysis now synthesizes and uses these aspects internally.

  • GNAT Pro
    Feb 27th, 2015

    Attribute Deref dereferences address expression
    A new attribute typ'Deref(expr) where expr is of type System.Address yields the variable of type typ that is located at the given address. It is similar to (totyp (expr).all), where totyp is an unchecked conversion from address to a named access-to-typ type, except that it yields a variable, so it can be used on the left side of an assignment. Note that this new attribute is not available for the .NET port).

  • GNAT Pro
    Feb 26th, 2015

    Convention pragma on generic formal access types
    The compiler now accepts a pragma Convention on a generic formal access to subprogram type, and verifies that an actual for such a formal obeys the same convention.

  • GNAT Pro|GNATbench | GNAT Pro|GPS
    Feb 24th, 2015

    GPS: use of perspective for CodePeer report
    GPS now has a perspective dedicated to viewing CodePeer results.

  • SPARK Pro
    Feb 23rd, 2015

    More precise analysis of bitwise operations
    GNATprove now handles more precisely bitwise operations on modular types by translating modular types to bitvectors for the underlying automatic provers. Currently, CVC4 is performing best on this kind of VCs. Some operations are still known to generate hard to prove VCs: conversions between modular and signed, modular used as array index, shift and rotate by a non constant amount.

  • SPARK Pro
    Feb 23rd, 2015

    Improve support for anonymous subtypes
    The SPARK toolset now deals better with checks associated with anonymous subtypes declared at the beginning of a subprogram.

  • CodePeer
    Feb 23rd, 2015

    Use Red/Orange/Yellow in CodePeer HTML report
    The HTML report was using Red/Yellow/Green for High/Medium/Low ranking messages. This was inconsistent with the Red/Orange/Yellow color coding used in GPS. The HTML report now uses Red/Orange/Yellow consistently for High/Medium/Low. There was no other change to the HTML output.

  • SPARK Pro
    Feb 20th, 2015

    Default initialized formal containers are empty
    When a formal container is default initialized, the SPARK toolset now knows it is empty.

  • SPARK Pro
    Feb 20th, 2015

    Accept “Runtime” and “Target” attributes
    The SPARK toolset now accepts the "Runtime" attribute of project files, which has the same effect as the --RTS commandline switch. The SPARK toolset now also accepts the "Target" attribute, although this attribute is currently ignored.

  • Ada Web Server
    Feb 18th, 2015

    Add support for documentation in WSDL
    AWS's wsdl2aws tool will now record the annotation/documentation nodes in the WSDL and generate comments out of them in the Ada generated code. These comments are handled for the WSDL operations and schema's types.

  • CodePeer
    Feb 18th, 2015

    Distinguish imported values of a global variable
    When the value of a global variable is used to initialize a global constant, it is possible that the value might change between when the global constant "captures" the variable's value, and when the value is subsequently fetched elsewhere in the program. CodePeer will now indicate in preconditions, postconditions, and other messages that a value of a variable was captured as part of initializing a global constant by adding a suffix on the global variable's name indicating the elaboration procedure initializing the constant. For example, "Global_Var@my_package'Elab_Spec" represents the value of Global_Var that was read by the My_Package spec elaboration procedure as part of initializing some constant declared in My_Package.

  • GNAT Pro
    Feb 18th, 2015

    Pre/Postconditions now count as WITH references
    If a package is with'ed and used only in pre and postconditions, then the package is still considered as referenced even if contracts are not enabled. This avoids a false positive warning "unit xxx is not referenced".

  • CodePeer
    Feb 17th, 2015

    Allow illegal comment characters
    Ada does not allow nongraphic characters (such as 16#7F#, DEL) in comments, but now CodePeer ignores this error, since some compilers do not flag this error, and it does not affect the CodePeer analysis of the code itself.

  • GNAT Pro
    Feb 17th, 2015

    Allow illegal comment characters in CodePeer mode
    Ada does not allow nongraphic characters (such as 16#7F#, DEL) in comments, but now CodePeer ignores this error, since some compilers do not flag this error, and it does not affect the CodePeer analysis of the code itself.

  • GNAT Pro
    Feb 14th, 2015

    Type_Invariant’Class on interface types implemented
    The Type_Invariant'Class aspect is now supported for interface types (as described in AI12-0041-1/03). When a type implements one or several interfaces, its inherited type invariant is the conjunction of all ancestor Type_Invariant'Class aspects.

  • GNAT Pro|GNATbench | GNAT Pro|GPS
    Feb 13th, 2015

    GPS: align.py enabled on gpr files
    When editing a .gpr project file, the Align contextual menu is now available, as it is in Ada files

  • GNAT Pro
    Feb 8th, 2015

    Better error message for Type_Invariant’Class
    In some error messages, the aspect name Type_Invariant'Class appeared as Type_Invariant_Class, and now the more accurate name with the quote is used.

  • GNAT Pro
    Feb 7th, 2015

    Better error message for bad use of prefix notation
    An attempt to use an untagged type with prefix notation now generates a more helpful message pointing out that this is specifically not allowed.

  • GNAT Pro
    Feb 7th, 2015

    Avoid internal names in error messages
    In some cases error messages would display internal compiler names that were not very helpful. Such messages are now fixed to display a more useful meaningful name, or eliminated.

  • GPS: display of CWEs from CodePeer
    GPS displays CWEs (Common Weakness Enumeration) for CodePeer's messages in Locations view and provides corresponding filter in CodePeer Report view.

  • GPS: project properties for uneditable projects
    The Project Properties dialog can now be displayed even in cases where the project cannot actually be edited graphically (aggregate project, project using variables,...).

  • GNAT Pro
    Feb 4th, 2015

    Better error recovery for statement in decls
    If a statement (e.g. an assignment statement) is used within a declaration sequence, then it is properly recognized now, so that if the -gnatQ option is used, the program compiles and executes successfully (after giving an appropriate error message).

  • Ada Web Server
    Feb 2nd, 2015

    Add explicit support for TLS 1.1 and 1.2
    Allow explicit support for TLS 1.1 and 1.2 on OpenSSL. This also enable to restrict use of these specific protocols.

  • Ada Web Server
    Jan 31st, 2015

    Add support for xs:choice in WSDL complexType
    AWS's wsdl2aws tool has now partial support for complexType with xs:choice items. This is mapped in Ada with a record with discriminant. Only a single occcurence of each item is supported by this implementation.

  • SPARK Pro
    Jan 30th, 2015

    Improved placement of quotes in flow messages
    The placement of double quotes in flow messages has been improved. For example, instead of:

      medium: "private part of S" might not be initialized
      high: "extension of Log" is not initialized
    
    we now get:
      medium: private part of "S" might not be initialized
      high: extension of "Log" is not initialized
    

   1  2  3     Next »