Difference between revisions of "EiffelStudio 17.01 Releases"

m (User changes: Added a note on marking {ANY}.as_attached as obsolete.)
(EiffelStudio 17.01.x Releases)
 
(22 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
[[Category:Releases]]__NOTOC__{{ReleaseHistoryHeader}}
 
[[Category:Releases]]__NOTOC__{{ReleaseHistoryHeader}}
  
= EiffelStudio 16.11.x Releases=
+
= EiffelStudio 17.01.x Releases=
  
Beta download: https://ftp.eiffel.com/pub/beta/16.11/
+
Beta download: https://ftp.eiffel.com/pub/beta/17.01/
  
==16.11.x.x==
+
==17.01.x.x==
  
 
===New features===
 
===New features===
 +
*library: Supported a version of a process library (used to launch external processes) for single-threaded environments. It differs from the full-fledged version by absence of wait for process termination with timeout (no <e>wait_for_exit_with_timeout</e>), asynchronous writing to child process standard input (<e>put_string</e> is blocking) and reading from child process standard output and error streams (redirection to agents is not supported). Performance-wise, a combination of <e>{BASE_PROCESS}.launch</e>/<e>{BASE_PROCESS}.wait_for_exit</e> runs faster than a call to <e>{EXECUTION_ENVIRONMENT}.system</e>.
 +
*EiffelStudio: Added a notion of capabilities that allows for specifying what settings a particular library is capable of. At the moment the settings include ''cat-call detection'', ''concurrency'' and ''void safety''. A project or a library with a specific setting cannot rely on a library with insufficient capabilities. Current ordering of capabilities is
 +
**CAT-call detection: None < Transitional < Complete
 +
**Concurrency: Thread < None < SCOOP
 +
**Void safety: None < Conformance < Initialization < Transitional < Complete
 +
:A project with a higher level of capabilities cannot rely on a library with a lower level. A project with a specific capability can be compiled using a lower level of this capability.
 +
*EiffelStudio: Added new Import settings dialog. It is shown when a new version of EiffelStudio is launched for the first time, and available at any time from menu <code>Tools > Import Settings</code>.
 +
*EiffelStudio: Added code templates functionality. Using code completion, it is possible to insert predefined code template as-is or modify them as necessary. User can as well create his own templates (custom templates).
 +
*EiffelStudio: Added a new feature to open/restore recently closed Tabs using the shortcut CTRL + SHIFT + T.
 +
 +
 
===Improvements===
 
===Improvements===
 
*EiffelStudio: Configuration option ''"Are types attached by default?"'' defaults to ''True'' when reading non-void-safe projects so that if the project is changed to be void-safe, the recommended default for attachment status of class types without marks is used.
 
*EiffelStudio: Configuration option ''"Are types attached by default?"'' defaults to ''True'' when reading non-void-safe projects so that if the project is changed to be void-safe, the recommended default for attachment status of class types without marks is used.
 
*compiler: Supported nested inlining of a selected set of features from <e>SPECIAL</e> in finalized mode: <e>base_address</e>, <e>clear_all</e>, <e>copy_data</e>, <e>count</e>, <e>item</e>, <e>overlapping_move</e>, <e>non_overlapping_move</e>, <e>put</e>.
 
*compiler: Supported nested inlining of a selected set of features from <e>SPECIAL</e> in finalized mode: <e>base_address</e>, <e>clear_all</e>, <e>copy_data</e>, <e>count</e>, <e>item</e>, <e>overlapping_move</e>, <e>non_overlapping_move</e>, <e>put</e>.
 +
*compiler: Fix crash in melted code when calling <e>{TYPE}.is_attached</e>, <e>{TYPE}.is_expanded</e>.
 +
*Library (Base): Add ability to change the start position when storing/retrieving using a <e>SED_MEMORY_READER_WRITER</e>.
 +
*Library (Base): Add <e>{TYPE}.is_deferred</e> and use this in <e>{REFLECTOR}.new_instance_of</e> to avoid creating abstract type at runtime.
 +
*Library (Base): Refactored <e>RT_DEBUGGER</e> with breaking changes: <e>rt_worbench_for_for_debugger</e> renamed into <e>wait_for_debugger</e> and <e>discard_debug</e> into <e>disable_debug</e>.
 +
*EiffelStudio: Grouped options in target/library/precompile/cluster/class tabs in ''Project settings'' dialog in sections by their purpose.
 +
*EiffelStudio: Supported multiline descriptions in an option tab of ''Project settings'' dialog and in ''Customized formatters'' dialog.
 +
*EiffelStudio: Changed how the debugger objects tool displays the Result value, now it does not have any parent row.
 +
*Compile_all: Added ISE_COMPILE_ALL_FLAGS environment variable support to the compile_all tool (its value is added to compile_all command line arguments).
 +
*Compile_all: now are excluded ecf redirection files from recursive scope.
 +
*Library (Net): Added receive and send timeout.
 +
*Library (Net): Added C functions to use socket functions without raising exception on I/O networking error.
 +
*Library (EiffelWeb/EWF): Changed the standalone connector implementation to avoid raising exception for any networking error (it brings better debugger experience).
 +
*Library (EiffelWeb/EWF): Added new websocket standalone connector to be able to build within the same processor a web service and a websocket service.
 +
*Library (EiffelWeb/EWF): Change the networking programing in EiffelWeb components, to benefit from recent improvements on EiffelNet.
 +
*Library (EiffelWeb/EWF): Added finer control on standalone connector. It is now possible to fine tune the standalone connector (concurrent settings, timeout values, ...)
 +
*Library (json): Added new JSON serialization solution under <code>$ISE_LIBRARY/contrib/library/text/parser/json/library/serialization</code>.
  
 
===Feature removed===
 
===Feature removed===
 
*EiffelStudio: Removed option ''"Are types attached by default?"'' from project settings dialog. Potential incompatibility: old Eiffel configuration files (ECF) that rely on "class types are detachable by default" policy and migrate to "attached by default" policy will need to be changed directly by editing the file, not from EiffelStudio.
 
*EiffelStudio: Removed option ''"Are types attached by default?"'' from project settings dialog. Potential incompatibility: old Eiffel configuration files (ECF) that rely on "class types are detachable by default" policy and migrate to "attached by default" policy will need to be changed directly by editing the file, not from EiffelStudio.
 +
*library: Removed support for automatic retrieval of data by <e>SED_STORABLE_FACILITIES</e> using <e>SED_INDEPENDENT_DESERIALIZER</e> that was obsolete for several releases. <e>SED_INDEPENDENT_DESERIALIZER</e> will be removed from the library in a later release.
 +
*EiffelStudio: Removed a possibility to set void safety level for a specific class or cluster, it can be done only for a whole library or project.
  
 
===Bug fixes===
 
===Bug fixes===
 
*runtime: Fixed a bug in the CECIL macro <code lang="c">eif_attribute_type</code> that always returned <code lang="c">EIF_POINTER_TYPE</code> instead of the type code corresponding to the actual attribute type.
 
*runtime: Fixed a bug in the CECIL macro <code lang="c">eif_attribute_type</code> that always returned <code lang="c">EIF_POINTER_TYPE</code> instead of the type code corresponding to the actual attribute type.
 +
*library (Net): Properly handle <code>BCC</code> recipients by really hiding them.
 +
*compiler: Fix C compilation errors when using the profiler in final mode on strict C compilers (fix bug#19193 and eweasel test#final16, test#ccomp070)
 +
*compiler: test#melt108, test#melt109 - Fixed a bug that led to an incorrect type of a boxed object of a sized variant of <e>NATURAL</e> obtained as a result of two reattachments: manifest constant to a variable of this <e>NATURAL</e> type and this variable to a reference entity.
 +
*compiler: bug#19264 (test#attach121) - Fixed a bug that caused an exception trace when reporting a bug about uninitialized attributes for an inline agent in presence of other bug reports.
 +
*runtime: bug#18952 (test#melt106) - Fixed a bug that might cause a program crash in a precondition with an object test with an explicitly specified expanded type.
 +
*library (Base): bug#19278 (test#store044) - Fixed a bug that might cause failure to retrieve objects stored by a different system if some reference attributes or <e>SPECIAL</e> storage were attached to expanded objects.
 +
*compiler: test#attach122 - Fixed a regression bug that might cause incorrect optimization of an object test when its expression is a local variable declared as attached or a result of a feature of an attached type leading to access on void target during execution.
 +
*compiler: test#attach123 - Avoided optimizing away object tests when their expressions are of attached types unless the whole system is compiled in complete void safety mode.
  
 
===User changes===
 
===User changes===
 
*library: Marked <e>{ANY}.as_attached</e> as obsolete to simplify removal of calls to it when transition to void-safe code is finished.
 
*library: Marked <e>{ANY}.as_attached</e> as obsolete to simplify removal of calls to it when transition to void-safe code is finished.
 +
*compiler: Changing a concurrency setting for a compiled project causes a compiler error instead of a warning.
 +
*EiffelStudio: Updated the shortcut to display the text view in the editor (Basic text view) to CTRL + SHIFT + B instead of CTRL + SHIFT + T.
  
 
===Developer changes===
 
===Developer changes===

Latest revision as of 05:47, 21 March 2017

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 17.01.x Releases

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

17.01.x.x

New features

  • library: Supported a version of a process library (used to launch external processes) for single-threaded environments. It differs from the full-fledged version by absence of wait for process termination with timeout (no wait_for_exit_with_timeout), asynchronous writing to child process standard input (put_string is blocking) and reading from child process standard output and error streams (redirection to agents is not supported). Performance-wise, a combination of {BASE_PROCESS}.launch/{BASE_PROCESS}.wait_for_exit runs faster than a call to {EXECUTION_ENVIRONMENT}.system.
  • EiffelStudio: Added a notion of capabilities that allows for specifying what settings a particular library is capable of. At the moment the settings include cat-call detection, concurrency and void safety. A project or a library with a specific setting cannot rely on a library with insufficient capabilities. Current ordering of capabilities is
    • CAT-call detection: None < Transitional < Complete
    • Concurrency: Thread < None < SCOOP
    • Void safety: None < Conformance < Initialization < Transitional < Complete
A project with a higher level of capabilities cannot rely on a library with a lower level. A project with a specific capability can be compiled using a lower level of this capability.
  • EiffelStudio: Added new Import settings dialog. It is shown when a new version of EiffelStudio is launched for the first time, and available at any time from menu Tools > Import Settings.
  • EiffelStudio: Added code templates functionality. Using code completion, it is possible to insert predefined code template as-is or modify them as necessary. User can as well create his own templates (custom templates).
  • EiffelStudio: Added a new feature to open/restore recently closed Tabs using the shortcut CTRL + SHIFT + T.


Improvements

  • EiffelStudio: Configuration option "Are types attached by default?" defaults to True when reading non-void-safe projects so that if the project is changed to be void-safe, the recommended default for attachment status of class types without marks is used.
  • compiler: Supported nested inlining of a selected set of features from SPECIAL in finalized mode: base_address, clear_all, copy_data, count, item, overlapping_move, non_overlapping_move, put.
  • compiler: Fix crash in melted code when calling {TYPE}.is_attached, {TYPE}.is_expanded.
  • Library (Base): Add ability to change the start position when storing/retrieving using a SED_MEMORY_READER_WRITER.
  • Library (Base): Add {TYPE}.is_deferred and use this in {REFLECTOR}.new_instance_of to avoid creating abstract type at runtime.
  • Library (Base): Refactored RT_DEBUGGER with breaking changes: rt_worbench_for_for_debugger renamed into wait_for_debugger and discard_debug into disable_debug.
  • EiffelStudio: Grouped options in target/library/precompile/cluster/class tabs in Project settings dialog in sections by their purpose.
  • EiffelStudio: Supported multiline descriptions in an option tab of Project settings dialog and in Customized formatters dialog.
  • EiffelStudio: Changed how the debugger objects tool displays the Result value, now it does not have any parent row.
  • Compile_all: Added ISE_COMPILE_ALL_FLAGS environment variable support to the compile_all tool (its value is added to compile_all command line arguments).
  • Compile_all: now are excluded ecf redirection files from recursive scope.
  • Library (Net): Added receive and send timeout.
  • Library (Net): Added C functions to use socket functions without raising exception on I/O networking error.
  • Library (EiffelWeb/EWF): Changed the standalone connector implementation to avoid raising exception for any networking error (it brings better debugger experience).
  • Library (EiffelWeb/EWF): Added new websocket standalone connector to be able to build within the same processor a web service and a websocket service.
  • Library (EiffelWeb/EWF): Change the networking programing in EiffelWeb components, to benefit from recent improvements on EiffelNet.
  • Library (EiffelWeb/EWF): Added finer control on standalone connector. It is now possible to fine tune the standalone connector (concurrent settings, timeout values, ...)
  • Library (json): Added new JSON serialization solution under $ISE_LIBRARY/contrib/library/text/parser/json/library/serialization.

Feature removed

  • EiffelStudio: Removed option "Are types attached by default?" from project settings dialog. Potential incompatibility: old Eiffel configuration files (ECF) that rely on "class types are detachable by default" policy and migrate to "attached by default" policy will need to be changed directly by editing the file, not from EiffelStudio.
  • library: Removed support for automatic retrieval of data by SED_STORABLE_FACILITIES using SED_INDEPENDENT_DESERIALIZER that was obsolete for several releases. SED_INDEPENDENT_DESERIALIZER will be removed from the library in a later release.
  • EiffelStudio: Removed a possibility to set void safety level for a specific class or cluster, it can be done only for a whole library or project.

Bug fixes

  • runtime: Fixed a bug in the CECIL macro eif_attribute_type that always returned EIF_POINTER_TYPE instead of the type code corresponding to the actual attribute type.
  • library (Net): Properly handle BCC recipients by really hiding them.
  • compiler: Fix C compilation errors when using the profiler in final mode on strict C compilers (fix bug#19193 and eweasel test#final16, test#ccomp070)
  • compiler: test#melt108, test#melt109 - Fixed a bug that led to an incorrect type of a boxed object of a sized variant of NATURAL obtained as a result of two reattachments: manifest constant to a variable of this NATURAL type and this variable to a reference entity.
  • compiler: bug#19264 (test#attach121) - Fixed a bug that caused an exception trace when reporting a bug about uninitialized attributes for an inline agent in presence of other bug reports.
  • runtime: bug#18952 (test#melt106) - Fixed a bug that might cause a program crash in a precondition with an object test with an explicitly specified expanded type.
  • library (Base): bug#19278 (test#store044) - Fixed a bug that might cause failure to retrieve objects stored by a different system if some reference attributes or SPECIAL storage were attached to expanded objects.
  • compiler: test#attach122 - Fixed a regression bug that might cause incorrect optimization of an object test when its expression is a local variable declared as attached or a result of a feature of an attached type leading to access on void target during execution.
  • compiler: test#attach123 - Avoided optimizing away object tests when their expressions are of attached types unless the whole system is compiled in complete void safety mode.

User changes

  • library: Marked {ANY}.as_attached as obsolete to simplify removal of calls to it when transition to void-safe code is finished.
  • compiler: Changing a concurrency setting for a compiled project causes a compiler error instead of a warning.
  • EiffelStudio: Updated the shortcut to display the text view in the editor (Basic text view) to CTRL + SHIFT + B instead of CTRL + SHIFT + T.

Developer changes