Changes in 0.8.0
Release date: 2018-09-24.
1. SARL Language
1.1. SARL Language Grammar
- Upgrade to Xtext 2.15. (details)
- Upgrade to AFC 15.0. (details)
- Use SLF4J as the standard logging system. (details)
- Fixing the invalid precedence of the power operator. (details)
- Refactor the number operators for avoiding ambiguous calls. (details)
- Allow “public” modifier on the behavior’s fields. (details)
- Add global functions for creating 2-dimension arrays. (1, 2)
- Make inlined the functions isMe(), isFromMe(). (details)
- Enablement of the automatic generation of the equality test functions. (details)
- Avoid error when “occurrence” is used in an argument’s expression. (details)
- Avoid Java compilation error when a early exit function is called within a function with return type. (details)
- Avoid infinite loop when loop in the type inheritance is declared. (details)
- Avoid internal exception when Pure is attached to a function in the code. (details)
- Implicitly imported functions in MapExtensions are moved from SARL to Xtext. (details)
- Refactoring of the extra-language generation API. (details)
- Add output configuration for test code. (details)
- Apply Xtext patch for solving security issue from JDT jar files. (details)
1.2. SARL Validator
- The detection of the invalid and discouraged uses of occurrences is refactored in order to provide consistant errors. (details)
- Potential synchronization issue is ignorable with SuppressWarnings. (details)
- Fixing the Xbase regression regarding the detection of duplicate types within a script. (details)
1.3. Java Model Inferrer
1.4. SARL Core Library
- Add initialization parameters for the behaviors. (details)
- Fixing the inlining of the Agent’s functions. (details)
1.5. SARL Batch Compiler
- Introduce the selection of different Java compilers within the batch compiler. (details)
- Add optimization level parameter to the SARL batch compiler. (details)
- Add the compile(IProgressMonitor) function into the SARL batch compiler. (details)
- Change the format of the issue messages that is used by the SARL batch commpiler (1, 2)
- Remove the ‘Finished” message within the sarl batch compiler. (details)
- Refactoring of the extra-language generation API. (details)
1.7 Python3 Generator for SARL
- Enable the generation of the inner types. (details)
- Remove Bootique configuration. (details)
2. SARL User Interface
2.1. UI Components
- Add special highlighting for capacity methods. (details)
- Add codemining feature, and codemining displays the implemented type for anonymous class. (1, 2)
2.2. Internal UI Implementation
- Add specific output folder for test code. (details)
- Refactoring of the extra-language generation API. (details)
2.3. Eclipse Product
2.3.1 General Product
- Upgrade the IDE for using Eclipse Photon. (details)
- Configure the classpath with standard and test flags. (details)
- Change the name of the product from “SARL Development Environment” to “SARL IDE”. (details)
- Linux launching scripts support both GTK2 and GTK3. (details)
2.3.1. Preferences
- Add options for enabling or disabling the generation of the special Java statements, e.g.
equals
, clone
, the serial numbers. (details)
- Enhance the SARL project configurator by providing new functions. (details)
- Refactor the validation code of the editor preference page. (details)
2.3.2. Wizards
- Avoid NPE when creating a type with a super type. (details)
- Make public the template of the pom file. (1, 2)
2.3.3. SARL Command-Line Compiler
- Add SARL boot class path. (details)
- Add parameters for selecting the Java compiler and setting the optimization level. (details)
- Add the command line options for running the extra-language generators. (details)
- Re-implement sarlc tool with Bootique. (1, 2, 3)
- Compilation command outcomes the first error message. (details)
- Path detector is now injectable. (details)
- Add a progress bar that could be enabled with –progress. (details)
- Enable injection of the issue message formatter. (details)
- Write more details into the options’ descriptions. (details)
3. External Contributions to SARL
3.1. Examples
- Add the Game-of-Life example.
- Add the version of the maven-compiler-plugin in the pom template. (details)
- Add file headers and author comments into all examples’ files. (details)
- Enable the Maven compilation of the tests during the unit tests’ execution. (details)
- Create a Maven project when the example folder contains a pom file. (details)
- Creation of a default pom file within each example’s projects. (details)
- Add pom files to the JavaFX-based examples. (details)
- Add icon for each JavaFX-based example. (details)
4. SARL Run-time Environment
- Avoid the killed agents receiving the
AgentKilled
events. (details)
- Avoid the spawned agents receiving
AgentSpawned
events. (details)
- Use the Java SDK’s cached thread executor service by default. (details)
- The default maximum number of threads is decrease to 32. (details)
- Apply separate compilation processes for SARL standard code and SARL unit test code. (1, 2)
- When the SARL compiler fails, the first compilation error is output as the main error. (details)
- Add the configuration options for running the extra-language generators. (details)
- Add parameters for selecting the Java compiler and setting the optimization level. (1, 2)
- Avoid help mojo discovery in classpath libraries. (details)
6. SARL Documentation
6.1. Documentation of the SARL Language
- Add documentation on DefaultSkill. (details)
- Add documentation on the short notation of the lambda expressions. (details)
- Add documentation on Skill’s install and uninstall functions. (details)
6.2. Documentation of the SARL Core Library
- Fixing the API documentation. (details)
6.3. Tutorials
- Add tutorials on parallel execution and MAS initialization. (details)
6.4. Documentation for SRE
- Update documentation on assert for its enabling and disabling. (1, 2)
- Update the documentation related to the Maven Exec plugin. (details)
- Add documentation for sarl-maven-plugin plugin. (details)
7.1. General Changes
- Codebuilder fragment does not generate unused variables. (details)
- Extension types within code builder are no more ignored. (details)
- Add import wizard for Maven-based SARL projects. (details)
- Test code is generated into a specific source folder. (details)
- Provide an utility function for importing a SARL Maven project properly. (details)
- Create the wizard for creating a new SARL Maven project. (details)
8. Changes in the Previous Versions