EiffelStudio 21.11 Releases

Revision as of 06:27, 26 November 2021 by Alexander Kogtenkov (Talk | contribs) (Bug fixes: Added a note about corrected output of the pretty printer for once manifest strings.)

Below are not the release notes of EiffelStudio. It is the change log of EiffelStudio intermediate releases and the most important changes are highlighted in green or in red (for breaking changes). The release notes of EiffelStudio can be found at the following URL. You can also download the latest revision here. Information about other version can be found under Category:Releases.


EiffelStudio 21.11.x Releases

Beta download: https://ftp.eiffel.com/pub/beta/

21.11.xx.yyyy (November Day 2021)

New features

  • compiler: Supported a unified syntax to access loop cursor features inside an iteration form of a loop for both keyword-based and Unicode-based loop variants. The current item is accessed by the cursor name. The cursor feature is accessed by preceding the cursor name with the symbol @. For example:
 x: array ¦ (@ x.target_index \\ 2 = 0 ⇒ x > 0) -- All elements at even positions are positive.
 
        -- Print all elements of a table prefixed with their keys.
    across table as y loop
        print (@ y.key)
        print (": ")
        print (y)
        io.put_new_line
    end
  • EiffelStudio: Added a source control management tool, supporting basic usage of Subversion and Git commands.

Improvements

  • EiffelStudio: Added scripts (for Unixes) to open an external editor, to open a URL, and to open a terminal.
  • EiffelStudio: Migrated to GTK3 on non-Windows platforms (Linux, macOS, etc.).
  • EiffelStudio: Used user-controlled editor font in several tools.
  • compiler (pretty-printer): Harmonized indentation for identifier lists, tagged note entries, export clauses, feature signatures, multi-line lists in parentheses, mandatory check instructions, agents, delayed operands, components of a loop expression, manifest arrays, actual arguments, nested feature calls.
  • compiler: Used the same indentation for assertion subclauses with and without tags in flat forms and pretty-printer output.

Bug fixes

  • compiler (pretty-printer): Corrected output for once manifest strings.
  • compiler: test#attach131 — Fixed a bug in evaluation of the attachment status of an argument of a separate instruction.
  • compiler: Prevented using inline local variables (iteration cursors, locals of separate instructions, object test locals) in old expressions.
  • compiler: test#syntax076 — Removed a restriction on using forward and back-slashes for user-defined operators (the following restrictions still apply: \\, /, // can only be used as binary operators).

Feature removed

User changes

  • compiler: test#attach130 — Added a validity check that the type of an inspect expression is attached when compiled in void-safe mode.
  • compiler: Changed the defaults for the iteration loop syntax in newly created projects to access the current item by the cursor name.
  • compiler: Changed to report an iteration form of a loop with keyword is as obsolete. The contemporary syntax is to use the loop with keyword as and symbol @ to access cursor features.
  • compiler: Changed to report a user-defined operator @ as obsolete (in many cases, the bracket operator replaces it).

Developer changes

  • library (json): Added a date time serializer.
  • library (json): Added the possibility to use the reflector serializer with JSON_BASIC_SERIALIZATION.
  • library (vision2): Updated the checkbox drawing, and added a new is_indeterminate state.
  • library (EiffelWeb): Fixed WSF_REQUEST when searching for a table item with the name such as tb[k1][k2].
  • library (cms): Improved the administration part, and followed recommendation for email sending.
  • library (vision2): Switched to GTK3 on non-Windows platforms (to use GTK2, set the project variable vision_implementation to gtk2).