Merge changes from trunk into 20.05

git-svn-id: https://svn.eiffel.com/eiffel-org/trunk@2254 abb3cda0-5349-4a8f-a601-0c33ac3a8c38
This commit is contained in:
jfiat
2020-07-01 08:54:56 +00:00
parent d1dff55d21
commit d88254c19d
6 changed files with 30 additions and 17 deletions

View File

@@ -1,3 +1,5 @@
[[Property:modification_date|Wed, 01 Jul 2020 08:52:09 GMT]]
[[Property:publication_date|Wed, 01 Jul 2020 08:52:09 GMT]]
[[Property:title|ET: Agents]]
[[Property:weight|-3]]
[[Property:uuid|ba49a80d-5ddf-8b30-4943-528974fd0ddd]]
@@ -131,7 +133,7 @@ The freedom to start from a routine with an arbitrary number of arguments, and c
As another example of the mechanism's versatility, we saw above an integral function that could integrate a function of one variable over an interval, as in
<code>
your_integrator.integral (agent your_function (0, 1))
your_integrator.integral (agent your_function, 0, 1)
</code>
Now assume that <code>function3</code> takes three arguments. To integrate <code>function3</code> with two arguments fixed, you don't need a new <code>integral</code> function; just use the same <code>integral</code> as before, judiciously selecting what to close and what to leave open:

View File

@@ -1,4 +1,4 @@
[[Property:modification_date|Tue, 10 Sep 2019 21:54:55 GMT]]
[[Property:modification_date|Wed, 01 Jul 2020 08:48:12 GMT]]
[[Property:publication_date|Tue, 10 Sep 2019 21:54:55 GMT]]
[[Property:title|ET: Instructions]]
[[Property:weight|-6]]
@@ -392,7 +392,7 @@ There is, however, one form of <code>check</code> that continues to be monitored
</code>
Here <code>Assertion</code> is a list of assertions as above, and <code>Compound</code> is a list of zero or more executable instructions.
This variant is used often when ensuring [[Void-safe programming in Eiffel|void-safety]]. It is used make certain that certain detachable entities are actually attached to objects when expected, and to create a new void-safe scope for accessing the objects. For example:
This variant is used often when ensuring [[Void-safe programming in Eiffel|void-safety]]. It is used to make certain that certain detachable entities are actually attached to objects when expected, and to create a new void-safe scope for accessing the objects. For example:
<code>
check attached my_detachable as l_temp then
l_temp.do_something

View File

@@ -1,3 +1,5 @@
[[Property:modification_date|Wed, 01 Jul 2020 08:44:12 GMT]]
[[Property:publication_date|Wed, 01 Jul 2020 08:44:12 GMT]]
[[Property:title|ET: Lexical Conventions and Style Rules]]
[[Property:weight|-2]]
[[Property:uuid|60fdf029-8626-166d-cc4f-9069aacdda7f]]
@@ -40,9 +42,9 @@ Successive declarations or instructions may be separated by semicolons. Eiffel's
| <code>frozen</code>
| <code>if</code>
| <code>implies</code>
| <code>indexing</code>
| <del><code>indexing</code></del>
|-
| <code>infix</code>
| <del><code>infix</code></del>
| <code>inherit</code>
| <code>inspect</code>
| <code>invariant</code>
@@ -56,7 +58,7 @@ Successive declarations or instructions may be separated by semicolons. Eiffel's
| <code>old</code>
| <code>once</code>
| <code>or</code>
| <code>prefix</code>
| <del><code>prefix</code></del>
|-
| <code>Precursor</code>
| <code>pure</code>
@@ -75,6 +77,7 @@ Successive declarations or instructions may be separated by semicolons. Eiffel's
| <code>undefine</code>
|}
note: `infix`, `prefix` are not anymore reserved since version 19.12 , and `indexing` as well even before.
Since this tutorial has covered all the essential mechanisms, you may ignore the keywords not encountered; they are reserved for future use.

View File

@@ -1,3 +1,5 @@
[[Property:modification_date|Wed, 01 Jul 2020 08:37:22 GMT]]
[[Property:publication_date|Wed, 01 Jul 2020 08:37:22 GMT]]
[[Property:title|EiffelStudio Diagram Tool Preferences]]
[[Property:weight|2]]
[[Property:uuid|6e2eed8e-b225-0dee-5ea0-e4c25a0c3d5a]]
@@ -13,7 +15,7 @@ This category gathers the preferences related to the EiffelStudio BON Diagram to
| Show ancestors of a class up to a level of preference value.
|-
| Autoscroll speed
| Color for UML inheritance links.
| Speed for scrolling when dragging figures from diagram near the edge of the diagram tool (a valid value is between 0 and 100).
|-
| Client depth
| Show clients of a class up to a level of preference value.

View File

@@ -1,22 +1,26 @@
[[Property:modification_date|Tue, 02 Jun 2020 08:56:25 GMT]]
[[Property:modification_date|Fri, 26 Jun 2020 11:00:55 GMT]]
[[Property:publication_date|Fri, 22 May 2020 15:44:58 GMT]]
[[Property:uuid|99393109-3E37-4A3C-82FC-6509444BC948]]
[[Property:title|Release notes for EiffelStudio 20.05]]
[[Property:link_title|20.05]]
[[Property:weight|-4]]
==Graphical environment==
* The editor search functionality now supports Unicode text.
* Improve code completion to include sequence of Unicode symbol for new Eiffel syntax.
* The new command line option `-reset_ide_layout` reset any IDE layout settings (docking, tools, ...).
* Supported search for Unicode strings in the editor.
* Extended code completion with Unicode symbols.
* Added a command line option `-reset_ide_layout` to reset IDE layout.
==Compiler==
*
* Supported multi-branch expressions that are similar to multi-branch instructions, but `Then_part`s and `Else_part` contain expressions instead of instruction sequences.
* Changed evaluation of untyped manifest strings to treat them as being of type <code lang="eiffel">STRING_32</code> if they contain characters with code points above 255.
==Libraries==
* There is now a simpler way to output Unicode text into the Console, using the new`PLAIN_TEXT_FILE.put_string_32 (text)` (note: for now only `put_string_32` is using the related encoding).
* Many web related libraries were updated to better follow recommendations and specifications (wikitext, feed with atom and rss, xml, and CMS xhtml page generation).
* Most (if not all) of the ISE specific codes are now in the ISE_RUNTIME class.
* Thanks to the new `wrap_c` tool, there are a bunch of new C wrapper library available via `iron`, such as yaml, sdl, libusb, quirc, libqrencode, libgit2, gsl, tiday, ... check [https://iron.eiffel.com/repository/20.05/package/?query=tag%3Awrapc] for the complete list.
* Supported direct Unicode output to text files and console with <code lang="eiffel">{PLAIN_TEXT_FILE}.put_string_32</code>.
* Updated web related libraries to be closer to recommendations and specifications (wikitext, feed with atom and rss, xml, and CMS xhtml page generation).
* Generated many [https://iron.eiffel.com/repository/20.05/package/?query=tag%3Awrapc wrappers of C libraries] with `wrap_c` tool: yaml, sdl, libusb, quirc, libqrencode, libgit2, gsl, tidy, etc.
* Added [https://www.eiffel.org/blog/Alexander%20Kogtenkov/2020/06/unicode-aliases Unicode aliases] for existing features in classes <code lang="eiffel">BOOLEAN</code>, <code lang="eiffel">COMPARABLE</code>, <code lang="eiffel">NUMERIC</code> and their descendants.
* Changed behavior of <code lang="eiffel">{CHARACTER_8}.to_lower</code> and <code lang="eiffel">{CHARACTER_8}.to_upper</code> by interpreting <code lang="eiffel">STRING_8</code> as encoded according to ISO 8859-1.
* Marked <code lang="eiffel">{READABLE_STRING_GENERAL}.plus</code> as obsolete to avoid potential data loss. Added sized variants of the feature in sized variants of string classes.
* Added several implicit conversions from non-32-bit strings to <code lang="eiffel">STRING_32</code> and its variants.
----
See [https://dev.eiffel.com/EiffelStudio_20.05_Releases change log] for more details.

View File

@@ -1,3 +1,5 @@
[[Property:modification_date|Wed, 01 Jul 2020 08:14:12 GMT]]
[[Property:publication_date|Wed, 01 Jul 2020 08:14:12 GMT]]
[[Property:uuid|EA781CE6-3452-4EEF-BF05-47D94FC88A3D]]
[[Property:weight|3]]
[[Property:title|Persistence, storage, and retrieval]]
@@ -90,7 +92,7 @@ store_object (o: ANY; p: PATH)
do
create f.make_with_path (p)
f.open_write
create writer.make_for_writing (l_file)
create writer.make_for_writing (f)
store (o, writer)
f.close
end