Commit 5082393f authored by Dennis Hendriks's avatar Dennis Hendriks
Browse files

Merge branch 'develop' into 'master'

#191 develop to master for v0.4-RC1

See merge request !236
parents 0aec7aa9 98725a55
Pipeline #1502 passed with stage
in 0 seconds
......@@ -13,6 +13,6 @@
<extension>
<groupId>org.eclipse.tycho.extras</groupId>
<artifactId>tycho-pomless</artifactId>
<version>2.3.0</version>
<version>2.5.0</version>
</extension>
</extensions>
......@@ -11,10 +11,10 @@ p2/orbit/p2.eclipse-plugin/com.ibm.icu/67.1.0.v20200706-1749, ICU AND Unicode-TO
p2/orbit/p2.eclipse-plugin/com.sun.jna.platform/5.8.0.v20210406-1004, Apache-2.0 OR LGPL-2.1-or-later, approved, CQ23218
p2/orbit/p2.eclipse-plugin/com.sun.jna/5.8.0.v20210503-0343, Apache-2.0 OR LGPL-2.1-or-later, approved, CQ23217
p2/orbit/p2.eclipse-plugin/io.github.java-diff-utils/4.8.0.v20201027-1614, Apache-2.0, approved, CQ22697
p2/orbit/p2.eclipse-plugin/javax.annotation/1.3.5.v20200909-1856, , approved, CQ22020
p2/orbit/p2.eclipse-plugin/javax.annotation/1.3.5.v20200909-1856, EPL-1.0, approved, orbit
p2/orbit/p2.eclipse-plugin/javax.inject/1.0.0.v20091030, Apache-2.0, approved, CQ3555
p2/orbit/p2.eclipse-plugin/org.apache.batik.anim/1.14.0.v20210324-0332, Apache-2.0, approved, #196
p2/orbit/p2.eclipse-plugin/org.apache.batik.awt.util/1.14.0.v20210324-0332, , approved, orbit
p2/orbit/p2.eclipse-plugin/org.apache.batik.awt.util/1.14.0.v20210324-0332, Apache-2.0, approved, orbit
p2/orbit/p2.eclipse-plugin/org.apache.batik.bridge/1.14.0.v20210324-0332, Apache-2.0, approved, #196
p2/orbit/p2.eclipse-plugin/org.apache.batik.constants/1.14.0.v20210324-0332, Apache-2.0, approved, #196
p2/orbit/p2.eclipse-plugin/org.apache.batik.css/1.14.0.v20210324-0332, Apache-2.0, approved, #196
......@@ -33,8 +33,8 @@ p2/orbit/p2.eclipse-plugin/org.apache.commons.jxpath/1.3.0.v200911051830, Apache
p2/orbit/p2.eclipse-plugin/org.apache.commons.lang/2.6.0.v201404270220, Apache-2.0, approved, CQ6183
p2/orbit/p2.eclipse-plugin/org.apache.commons.lang3/3.1.0.v201403281430, Apache-2.0, approved, CQ5902
p2/orbit/p2.eclipse-plugin/org.apache.commons.logging/1.2.0.v20180409-1502, Apache-2.0, approved, CQ10162
p2/orbit/p2.eclipse-plugin/org.apache.commons.math3/3.6.1.v20200817-1830, , approved, orbit
p2/orbit/p2.eclipse-plugin/org.apache.felix.scr/2.1.24.v20200924-1939, , approved, CQ22609
p2/orbit/p2.eclipse-plugin/org.apache.commons.math3/3.6.1.v20200817-1830, Apache-2.0, approved, orbit
p2/orbit/p2.eclipse-plugin/org.apache.felix.scr/2.1.24.v20200924-1939, Apache-2.0, approved, CQ22609
p2/orbit/p2.eclipse-plugin/org.apache.xalan/2.7.2.v20201124-1837, Apache-2.0, approved, CQ9587
p2/orbit/p2.eclipse-plugin/org.apache.xerces/2.12.1.v20210115-0812, Apache-2.0 AND W3C-19980720, approved, CQ16951
p2/orbit/p2.eclipse-plugin/org.apache.xml.resolver/1.2.0.v201005080400, Apache-2.0, approved, CQ1441
......@@ -81,43 +81,43 @@ p2/orbit/p2.eclipse-plugin/org.eclipse.e4.ui.workbench.renderers.swt/0.15.100.v2
p2/orbit/p2.eclipse-plugin/org.eclipse.e4.ui.workbench.swt/0.16.100.v20210315-1604, EPL-2.0, approved, eclipse.platform
p2/orbit/p2.eclipse-plugin/org.eclipse.e4.ui.workbench/1.13.0.v20210521-0741, EPL-2.0, approved, eclipse.platform
p2/orbit/p2.eclipse-plugin/org.eclipse.e4.ui.workbench3/0.15.500.v20201021-1339, EPL-2.0, approved, eclipse.platform
p2/orbit/p2.eclipse-plugin/org.eclipse.emf.common/2.22.0.v20210319-0732, EPL-2.0, approved, modeling.emf.emf
p2/orbit/p2.eclipse-plugin/org.eclipse.emf.ecore.change/2.14.0.v20190528-0725, EPL-2.0, approved, modeling.emf.emf
p2/orbit/p2.eclipse-plugin/org.eclipse.emf.ecore.xmi/2.16.0.v20190528-0725, EPL-2.0, approved, modeling.emf.emf
p2/orbit/p2.eclipse-plugin/org.eclipse.emf.ecore/2.24.0.v20210405-0628, EPL-2.0, approved, modeling.emf.emf
p2/orbit/p2.eclipse-plugin/org.eclipse.emf.edit/2.16.0.v20190920-0401, EPL-2.0, approved, modeling.emf.emf
p2/orbit/p2.eclipse-plugin/org.eclipse.emf.validation/1.8.0.202008210805, EPL-2.0, approved, modeling.emf.emf
p2/orbit/p2.eclipse-plugin/org.eclipse.equinox.app/1.5.100.v20210212-1143, EPL-2.0, approved, eclipse.equinox
p2/orbit/p2.eclipse-plugin/org.eclipse.equinox.bidi/1.3.100.v20210212-1143, EPL-2.0, approved, eclipse.equinox
p2/orbit/p2.eclipse-plugin/org.eclipse.equinox.common/3.15.0.v20210518-0604, EPL-2.0, approved, eclipse.equinox
p2/orbit/p2.eclipse-plugin/org.eclipse.equinox.event/1.6.0.v20210212-1143, EPL-2.0, approved, eclipse.equinox
p2/orbit/p2.eclipse-plugin/org.eclipse.equinox.frameworkadmin.equinox/1.2.0.v20210315-2042, EPL-2.0, approved, eclipse.equinox
p2/orbit/p2.eclipse-plugin/org.eclipse.equinox.frameworkadmin/2.2.0.v20210315-2042, EPL-2.0, approved, eclipse.equinox
p2/orbit/p2.eclipse-plugin/org.eclipse.equinox.launcher/1.6.200.v20210416-2027, EPL-2.0, approved, eclipse.equinox
p2/orbit/p2.eclipse-plugin/org.eclipse.equinox.p2.artifact.repository/1.4.100.v20210418-1636, EPL-2.0, approved, eclipse.equinox
p2/orbit/p2.eclipse-plugin/org.eclipse.equinox.p2.core/2.7.0.v20210315-2042, EPL-2.0, approved, eclipse.equinox
p2/orbit/p2.eclipse-plugin/org.eclipse.equinox.p2.director.app/1.2.0.v20210315-2042, EPL-2.0, approved, eclipse.equinox
p2/orbit/p2.eclipse-plugin/org.eclipse.equinox.p2.director/2.5.0.v20210325-0750, EPL-2.0, approved, eclipse.equinox
p2/orbit/p2.eclipse-plugin/org.eclipse.equinox.p2.engine/2.7.0.v20210328-0514, EPL-2.0, approved, eclipse.equinox
p2/orbit/p2.eclipse-plugin/org.eclipse.equinox.p2.garbagecollector/1.2.0.v20210316-1209, EPL-2.0, approved, eclipse.equinox
p2/orbit/p2.eclipse-plugin/org.eclipse.equinox.p2.jarprocessor/1.2.0.v20210507-0825, EPL-2.0, approved, eclipse.equinox
p2/orbit/p2.eclipse-plugin/org.eclipse.equinox.p2.metadata.repository/1.4.0.v20210315-2228, EPL-2.0, approved, eclipse.equinox
p2/orbit/p2.eclipse-plugin/org.eclipse.equinox.p2.metadata/2.6.0.v20210331-1610, EPL-2.0, approved, eclipse.equinox
p2/orbit/p2.eclipse-plugin/org.eclipse.equinox.p2.publisher.eclipse/1.4.0.v20210421-1159, EPL-2.0, approved, eclipse.equinox
p2/orbit/p2.eclipse-plugin/org.eclipse.equinox.p2.publisher/1.6.0.v20210322-0909, EPL-2.0, approved, eclipse.equinox
p2/orbit/p2.eclipse-plugin/org.eclipse.equinox.p2.repository.tools/2.3.0.v20210325-0750, EPL-2.0, approved, eclipse.equinox
p2/orbit/p2.eclipse-plugin/org.eclipse.equinox.p2.repository/2.5.100.v20210329-1206, EPL-2.0, approved, eclipse.equinox
p2/orbit/p2.eclipse-plugin/org.eclipse.equinox.p2.touchpoint.eclipse/2.3.0.v20210315-2228, EPL-2.0, approved, eclipse.equinox
p2/orbit/p2.eclipse-plugin/org.eclipse.equinox.preferences/3.8.200.v20210212-1143, EPL-2.0, approved, eclipse.equinox
p2/orbit/p2.eclipse-plugin/org.eclipse.equinox.registry/3.10.200.v20210503-1606, EPL-2.0, approved, eclipse.equinox
p2/orbit/p2.eclipse-plugin/org.eclipse.equinox.security/1.3.600.v20210126-1005, EPL-2.0, approved, eclipse.equinox
p2/orbit/p2.eclipse-plugin/org.eclipse.equinox.simpleconfigurator.manipulator/2.2.0.v20210315-2228, EPL-2.0, approved, eclipse.equinox
p2/orbit/p2.eclipse-plugin/org.eclipse.equinox.simpleconfigurator/1.4.0.v20210315-2228, EPL-2.0, approved, eclipse.equinox
p2/orbit/p2.eclipse-plugin/org.eclipse.emf.common/2.22.0.v20210319-0732, , approved, eclipse
p2/orbit/p2.eclipse-plugin/org.eclipse.emf.ecore.change/2.14.0.v20190528-0725, , approved, eclipse
p2/orbit/p2.eclipse-plugin/org.eclipse.emf.ecore.xmi/2.16.0.v20190528-0725, , approved, eclipse
p2/orbit/p2.eclipse-plugin/org.eclipse.emf.ecore/2.24.0.v20210405-0628, , approved, eclipse
p2/orbit/p2.eclipse-plugin/org.eclipse.emf.edit/2.16.0.v20190920-0401, , approved, eclipse
p2/orbit/p2.eclipse-plugin/org.eclipse.emf.validation/1.8.0.202008210805, , approved, eclipse
p2/orbit/p2.eclipse-plugin/org.eclipse.equinox.app/1.5.100.v20210212-1143, , approved, eclipse
p2/orbit/p2.eclipse-plugin/org.eclipse.equinox.bidi/1.3.100.v20210212-1143, , approved, eclipse
p2/orbit/p2.eclipse-plugin/org.eclipse.equinox.common/3.15.0.v20210518-0604, , approved, eclipse
p2/orbit/p2.eclipse-plugin/org.eclipse.equinox.event/1.6.0.v20210212-1143, , approved, eclipse
p2/orbit/p2.eclipse-plugin/org.eclipse.equinox.frameworkadmin.equinox/1.2.0.v20210315-2042, , approved, eclipse
p2/orbit/p2.eclipse-plugin/org.eclipse.equinox.frameworkadmin/2.2.0.v20210315-2042, , approved, eclipse
p2/orbit/p2.eclipse-plugin/org.eclipse.equinox.launcher/1.6.200.v20210416-2027, , approved, eclipse
p2/orbit/p2.eclipse-plugin/org.eclipse.equinox.p2.artifact.repository/1.4.100.v20210418-1636, , approved, eclipse
p2/orbit/p2.eclipse-plugin/org.eclipse.equinox.p2.core/2.7.0.v20210315-2042, , approved, eclipse
p2/orbit/p2.eclipse-plugin/org.eclipse.equinox.p2.director.app/1.2.0.v20210315-2042, , approved, eclipse
p2/orbit/p2.eclipse-plugin/org.eclipse.equinox.p2.director/2.5.0.v20210325-0750, , approved, eclipse
p2/orbit/p2.eclipse-plugin/org.eclipse.equinox.p2.engine/2.7.0.v20210328-0514, , approved, eclipse
p2/orbit/p2.eclipse-plugin/org.eclipse.equinox.p2.garbagecollector/1.2.0.v20210316-1209, , approved, eclipse
p2/orbit/p2.eclipse-plugin/org.eclipse.equinox.p2.jarprocessor/1.2.0.v20210507-0825, , approved, eclipse
p2/orbit/p2.eclipse-plugin/org.eclipse.equinox.p2.metadata.repository/1.4.0.v20210315-2228, , approved, eclipse
p2/orbit/p2.eclipse-plugin/org.eclipse.equinox.p2.metadata/2.6.0.v20210331-1610, , approved, eclipse
p2/orbit/p2.eclipse-plugin/org.eclipse.equinox.p2.publisher.eclipse/1.4.0.v20210421-1159, , approved, eclipse
p2/orbit/p2.eclipse-plugin/org.eclipse.equinox.p2.publisher/1.6.0.v20210322-0909, , approved, eclipse
p2/orbit/p2.eclipse-plugin/org.eclipse.equinox.p2.repository.tools/2.3.0.v20210325-0750, , approved, eclipse
p2/orbit/p2.eclipse-plugin/org.eclipse.equinox.p2.repository/2.5.100.v20210329-1206, , approved, eclipse
p2/orbit/p2.eclipse-plugin/org.eclipse.equinox.p2.touchpoint.eclipse/2.3.0.v20210315-2228, , approved, eclipse
p2/orbit/p2.eclipse-plugin/org.eclipse.equinox.preferences/3.8.200.v20210212-1143, , approved, eclipse
p2/orbit/p2.eclipse-plugin/org.eclipse.equinox.registry/3.10.200.v20210503-1606, , approved, eclipse
p2/orbit/p2.eclipse-plugin/org.eclipse.equinox.security/1.3.600.v20210126-1005, , approved, eclipse
p2/orbit/p2.eclipse-plugin/org.eclipse.equinox.simpleconfigurator.manipulator/2.2.0.v20210315-2228, , approved, eclipse
p2/orbit/p2.eclipse-plugin/org.eclipse.equinox.simpleconfigurator/1.4.0.v20210315-2228, , approved, eclipse
p2/orbit/p2.eclipse-plugin/org.eclipse.help/3.9.0.v20210507-0822, EPL-2.0, approved, eclipse.platform
p2/orbit/p2.eclipse-plugin/org.eclipse.jdt.compiler.tool/1.2.1200.v20210521-0550, EPL-2.0, approved, eclipse.jdt
p2/orbit/p2.eclipse-plugin/org.eclipse.jdt.core/3.26.0.v20210609-0549, EPL-2.0, approved, eclipse.jdt
p2/orbit/p2.eclipse-plugin/org.eclipse.jdt.debug/3.17.200.v20210513-1223, EPL-2.0, approved, eclipse.jdt
p2/orbit/p2.eclipse-plugin/org.eclipse.jdt.launching/3.19.200.v20210326-1452, EPL-2.0, approved, eclipse.jdt
p2/orbit/p2.eclipse-plugin/org.eclipse.jdt.compiler.tool/1.2.1200.v20210521-0550, , approved, eclipse
p2/orbit/p2.eclipse-plugin/org.eclipse.jdt.core/3.26.0.v20210609-0549, , approved, eclipse
p2/orbit/p2.eclipse-plugin/org.eclipse.jdt.debug/3.17.200.v20210513-1223, , approved, eclipse
p2/orbit/p2.eclipse-plugin/org.eclipse.jdt.launching/3.19.200.v20210326-1452, , approved, eclipse
p2/orbit/p2.eclipse-plugin/org.eclipse.jface.databinding/1.12.200.v20210111-0911, EPL-2.0, approved, eclipse.platform
p2/orbit/p2.eclipse-plugin/org.eclipse.jface.notifications/0.3.0.v20210218-1820, EPL-2.0, approved, eclipse.platform
p2/orbit/p2.eclipse-plugin/org.eclipse.jface.text/3.18.0.v20210512-1640, EPL-2.0, approved, eclipse.platform
......@@ -127,8 +127,8 @@ p2/orbit/p2.eclipse-plugin/org.eclipse.ltk.ui.refactoring/3.11.400.v20210320-113
p2/orbit/p2.eclipse-plugin/org.eclipse.osgi.services/3.10.100.v20210324-0936, EPL-2.0, approved, eclipse.platform
p2/orbit/p2.eclipse-plugin/org.eclipse.osgi.util/3.6.0.v20210212-1137, EPL-2.0, approved, eclipse.platform
p2/orbit/p2.eclipse-plugin/org.eclipse.osgi/3.16.300.v20210525-1715, EPL-2.0, approved, eclipse.platform
p2/orbit/p2.eclipse-plugin/org.eclipse.pde.build/3.11.0.v20210429-0618, , approved, eclipse
p2/orbit/p2.eclipse-plugin/org.eclipse.pde.core/3.14.300.v20210515-0638, , approved, eclipse
p2/orbit/p2.eclipse-plugin/org.eclipse.pde.build/3.11.0.v20210429-0618, EPL-2.0, approved, eclipse.pde
p2/orbit/p2.eclipse-plugin/org.eclipse.pde.core/3.14.300.v20210515-0638, EPL-2.0, approved, eclipse.pde
p2/orbit/p2.eclipse-plugin/org.eclipse.swt.cocoa.macosx.x86_64/3.116.100.v20210602-2209, EPL-2.0, approved, eclipse.platform
p2/orbit/p2.eclipse-plugin/org.eclipse.swt.gtk.linux.x86_64/3.116.100.v20210602-2209, EPL-2.0, approved, eclipse.platform
p2/orbit/p2.eclipse-plugin/org.eclipse.swt.win32.win32.x86_64/3.116.100.v20210602-2209, EPL-2.0, approved, eclipse.platform
......
......@@ -166,7 +166,7 @@ pipeline {
rm -rf deploy/www/${RELEASE_VERSION}
mkdir -p deploy/www/${RELEASE_VERSION}
unzip -q releng/org.eclipse.escet.releng.website/target/eclipse-escet-*-website.zip -d deploy/www/${RELEASE_VERSION}/escet/
unzip -q releng/org.eclipse.escet.releng.website/target/eclipse-escet-*-website.zip -d deploy/www/${RELEASE_VERSION}/
'''
dir('deploy/www') {
sh '''
......
......@@ -5,6 +5,7 @@
<additional-data name="protect-config-file" value="false"/>
</local-check-config>
<fileset name="all" enabled="true" check-config-name="Eclipse ESCET Checkstyle" local="true">
<file-match-pattern match-pattern="." include-pattern="true"/>
<file-match-pattern match-pattern="src|asciidoc" include-pattern="true"/>
</fileset>
<filter name="NonSrcDirs" enabled="false"/>
</fileset-config>
......@@ -5,6 +5,7 @@
<additional-data name="protect-config-file" value="false"/>
</local-check-config>
<fileset name="all" enabled="true" check-config-name="Eclipse ESCET Checkstyle" local="true">
<file-match-pattern match-pattern="." include-pattern="true"/>
<file-match-pattern match-pattern="src|asciidoc" include-pattern="true"/>
</fileset>
<filter name="NonSrcDirs" enabled="false"/>
</fileset-config>
......@@ -223,7 +223,6 @@ public abstract class TypeID {
* @param box Code box to store the assignment in.
* @param ctxt Code generation context.
* @param javaFile Java file used as target for the code generation.
*
*/
public void assignInitialValue(String name, Type tp, VBox box, CodeGeneratorContext ctxt, JavaFile javaFile) {
String line = fmt("%s = %s;", name, getEmptyValue(javaFile));
......
......@@ -5,6 +5,7 @@
<additional-data name="protect-config-file" value="false"/>
</local-check-config>
<fileset name="all" enabled="true" check-config-name="Eclipse ESCET Checkstyle" local="true">
<file-match-pattern match-pattern="." include-pattern="true"/>
<file-match-pattern match-pattern="src|asciidoc" include-pattern="true"/>
</fileset>
<filter name="NonSrcDirs" enabled="false"/>
</fileset-config>
<?xml version="1.0" encoding="UTF-8"?>
<fileset-config file-format-version="1.2.0" simple-config="true" sync-formatter="false">
<local-check-config name="Eclipse ESCET Checkstyle" location="/org.eclipse.escet.configuration/checkstyle.xml" type="project" description="Eclipse ESCET Checkstyle.&#10;&#10;Copyright (c) 2010, 2021 Contributors to the Eclipse Foundation&#10;&#10;See the NOTICE file(s) distributed with this work for additional&#10;information regarding copyright ownership.&#10;&#10;This program and the accompanying materials are made available under the terms&#10;of the MIT License which is available at https://opensource.org/licenses/MIT&#10;&#10;SPDX-License-Identifier: MIT">
<additional-data name="protect-config-file" value="false"/>
</local-check-config>
<fileset name="all" enabled="true" check-config-name="Eclipse ESCET Checkstyle" local="true">
<file-match-pattern match-pattern="src|asciidoc" include-pattern="true"/>
</fileset>
<filter name="NonSrcDirs" enabled="false"/>
</fileset-config>
......@@ -15,8 +15,14 @@
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>net.sf.eclipsecs.core.CheckstyleBuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.pde.PluginNature</nature>
<nature>net.sf.eclipsecs.core.CheckstyleNature</nature>
</natures>
</projectDescription>
/////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2010, 2021 Contributors to the Eclipse Foundation
//
// See the NOTICE file(s) distributed with this work for additional
// information regarding copyright ownership.
//
// This program and the accompanying materials are made available under the terms
// of the MIT License which is available at https://opensource.org/licenses/MIT
// This program and the accompanying materials are made available
// under the terms of the MIT License which is available at
// https://opensource.org/licenses/MIT
//
// SPDX-License-Identifier: MIT
/////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////
// Common attributes to set for all documents within this directory.
......
/////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2010, 2021 Contributors to the Eclipse Foundation
//
// See the NOTICE file(s) distributed with this work for additional
// information regarding copyright ownership.
//
// This program and the accompanying materials are made available under the terms
// of the MIT License which is available at https://opensource.org/licenses/MIT
// This program and the accompanying materials are made available
// under the terms of the MIT License which is available at
// https://opensource.org/licenses/MIT
//
// SPDX-License-Identifier: MIT
/////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////
include::_root_attributes.asciidoc[]
......@@ -33,4 +34,4 @@ For purposes of the MIT License, "Software" will mean the Content.
If you did not receive this Content directly from the Eclipse Foundation, the Content is being redistributed by another party ("Redistributor") and different terms and conditions may apply to your use of any object code in the Content.
Check the Redistributor's license that was provided with the Content.
If no such license exists, contact the Redistributor.
Unless otherwise indicated below, the terms and conditions of the MIT License still apply to any source code in the Content and such source code may be obtained at link:http://www.eclipse.org[].
Unless otherwise indicated below, the terms and conditions of the MIT License still apply to any source code in the Content and such source code may be obtained at link:https://www.eclipse.org[].
/////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2010, 2021 Contributors to the Eclipse Foundation
//
// See the NOTICE file(s) distributed with this work for additional
// information regarding copyright ownership.
//
// This program and the accompanying materials are made available under the terms
// of the MIT License which is available at https://opensource.org/licenses/MIT
// This program and the accompanying materials are made available
// under the terms of the MIT License which is available at
// https://opensource.org/licenses/MIT
//
// SPDX-License-Identifier: MIT
/////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////
// Including common attributes to set for all documents within this directory.
include::_root_attributes.asciidoc[]
......@@ -19,7 +20,6 @@ include::_root_attributes.asciidoc[]
// Use this for asciidoc documents containing a title.
:doctype: book
= Chi documentation (Incubation)
:author: Copyright (c) 2010, 2021 Contributors to the Eclipse Foundation
:title-logo-image: {imgsdir}/eclipse-incubation.png
......@@ -76,7 +76,6 @@ A screenshot showing a Chi model and simulation with visualization:
image::{imgsdir}/screenshot_ide.png[]
// Tutorial
include::tutorial/index.asciidoc[]
......@@ -167,7 +166,6 @@ include::release-notes.asciidoc[]
include::documentation-legal.asciidoc[]
ifdef::pdf-output[]
[index]
== Index
......
/////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2010, 2021 Contributors to the Eclipse Foundation
//
// See the NOTICE file(s) distributed with this work for additional
// information regarding copyright ownership.
//
// This program and the accompanying materials are made available under the terms
// of the MIT License which is available at https://opensource.org/licenses/MIT
// This program and the accompanying materials are made available
// under the terms of the MIT License which is available at
// https://opensource.org/licenses/MIT
//
// SPDX-License-Identifier: MIT
/////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////
// Common attributes to set for all documents within this directory.
......
/////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2010, 2021 Contributors to the Eclipse Foundation
//
// See the NOTICE file(s) distributed with this work for additional
// information regarding copyright ownership.
//
// This program and the accompanying materials are made available under the terms
// of the MIT License which is available at https://opensource.org/licenses/MIT
// This program and the accompanying materials are made available
// under the terms of the MIT License which is available at
// https://opensource.org/licenses/MIT
//
// SPDX-License-Identifier: MIT
/////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////
include::_part_attributes.asciidoc[]
......@@ -66,7 +67,6 @@ Range:: `r`
Mean:: `r`
Variance:: -
indexterm:[discrete distribution]
indexterm:[poisson]
indexterm:[geometric]
......@@ -90,7 +90,7 @@ image::{ref-imgsdir}/distribution_plots/bernoulli.svg[]
Range:: `{false, true}`
Mean:: `p` (where `false` is interpreted as `0`, and `true` is interpreted as `1`)
Variance:: `1 - p` (where `false` is interpreted as `0`, and `true` is interpreted as `1`)
See also:: Bernoulli(p), <<law-ref>>, page 302
See also:: Bernoulli(p), <<ref-law>>, page 302
* `dist` `int` *binomial*`(int n, real p)`
+
......@@ -100,7 +100,7 @@ Number of successes when performing `n` experiments `(n > 0)` with chance `p` `+
Range:: `+{0, 1, ..., n}+`
Mean:: `n * p`
Variance:: `n * p * (1 - p)`
See also:: bin(n, p), <<law-ref>>, page 304
See also:: bin(n, p), <<ref-law>>, page 304
* `dist` `int` *geometric*`(real p)`
+
......@@ -110,7 +110,7 @@ Geometric distribution, number of failures before success for an experiment with
Range:: `+{0, 1, ...}+`
Mean:: `(1 - p) / p`
Variance:: `+(1 - p) / p^2+`
See also:: geom(p), <<law-ref>>, page 305
See also:: geom(p), <<ref-law>>, page 305
* `dist` `int` *poisson*`(real lambda)`
+
......@@ -122,7 +122,7 @@ image::{ref-imgsdir}/distribution_plots/poisson.svg[]
Range:: `+{0, 1, ...}+`
Mean:: `lambda`
Variance:: `lambda`
See also:: Poison(lambda), <<law-ref>>, page 308
See also:: Poison(lambda), <<ref-law>>, page 308
* `dist` `int` *uniform*`(int a, b)`
+
......@@ -134,8 +134,7 @@ image::{ref-imgsdir}/distribution_plots/disc_uni.svg[]
Range:: `+{a, a+1, ..., b-1}+`
Mean:: `+(a + b - 1) / 2+`
Variance:: `+((b - a)^2 - 1) / 12+`
See also:: DU(a, b - 1), <<law-ref>>, page 303
See also:: DU(a, b - 1), <<ref-law>>, page 303
indexterm:[continuous distribution]
indexterm:[beta]
......@@ -162,7 +161,7 @@ image::{ref-imgsdir}/distribution_plots/beta.svg[]
Range:: `[0, 1]`
Mean:: `+p / (p + q)+`
Variance:: `+p * q / ((p + q)^2 * (p + q + 1))+`
See also:: Beta(p, q), <<law-ref>>, page 291
See also:: Beta(p, q), <<ref-law>>, page 291
* `dist` `real` *erlang*`(double m, int k)`
+
......@@ -172,7 +171,7 @@ Equivalent to `gamma(k, m / k)`.
[horizontal]
Mean:: `m`
Variance:: `m * m / k`
See also:: ERL(m, k), <<banks-ref>>, page 153
See also:: ERL(m, k), <<ref-banks>>, page 153
* `dist` `real` *exponential*`(real m)`
+
......@@ -184,7 +183,7 @@ image::{ref-imgsdir}/distribution_plots/exponential.svg[]
Range:: `[0, infinite)`
Mean:: `m`
Variance:: `m * m`
See also:: expo(m), <<law-ref>>, page 283
See also:: expo(m), <<ref-law>>, page 283
* `dist` `real` *gamma*`(real a, b)`
+
......@@ -206,7 +205,7 @@ image::{ref-imgsdir}/distribution_plots/lognormal.svg[]
Range:: `[0, infinite)`
Mean:: `+exp(m + v2/2)+`
Variance:: `+exp(2*m + v2) * (exp(v2) - 1)+`
See also:: N(m, v2), <<law-ref>>, page 290
See also:: N(m, v2), <<ref-law>>, page 290
* `dist` `real` *normal*`(real m, v2)`
+
......@@ -218,7 +217,7 @@ image::{ref-imgsdir}/distribution_plots/normal.svg[]
Range:: `(-infinite, infinite)`
Mean:: `m`
Variance:: `v2`
See also:: N(m, v2), <<law-ref>>, page 288
See also:: N(m, v2), <<ref-law>>, page 288
* `dist` `real` *random*`()`
+
......@@ -239,8 +238,7 @@ image::{ref-imgsdir}/distribution_plots/triangle.svg[]
Range:: `[a, c]`
Mean:: `+(a + b + c) /3+`
Variance:: `+(a^2 + c^2 + b^2 - a*b - a*c - b*c) / 18+`
See also:: Triangle(a, c, b), <<law-ref>>, page 300
See also:: Triangle(a, c, b), <<ref-law>>, page 300
* `dist` `real` *uniform*`(real a, b)`
+
......@@ -252,8 +250,7 @@ image::{ref-imgsdir}/distribution_plots/cont_uni.svg[]
Range:: `[a, b)`
Mean:: `+(a + b) / 2+`
Variance:: `+(b - a)^2 / 12+`
See also:: U(a,b), <<law-ref>>, page 282, except that distribution has an inclusive upper bound.
See also:: U(a,b), <<ref-law>>, page 282, except that distribution has an inclusive upper bound.
* `dist` `real` *weibull*`(real a, b)`
+
......@@ -266,11 +263,11 @@ Range:: `[0, infinite)`
Mean:: `(b / a) * G(1 / a)`
Variance:: `+(b^2 / a) * (2 * G(2 / a) - (1 / a) * G(1 / a)^2)+` with `G(x)` the Gamma function,
`G(x)` `=` integral over `t` from `0` to `infinity`, for `+t^(x - 1) * exp(-t)+`
See also:: Weibull(a, b), <<law-ref>>, page 284
See also:: Weibull(a, b), <<ref-law>>, page 284
[bibliography]
=== References
* [[[banks-ref]]] Handbook of Simulation, Principles, Methodology, Advances, Applications, and Practice, editor Jerry Banks, publisher John Wiley & Sons, inc, 1998
* [[[ref-banks,Banks]]] Jerry Banks, "Handbook of Simulation: Principles, Methodology, Advances, Applications, and Practice", John Wiley & Sons, Inc., 1998, doi:link:https://doi.org/10.1002/9780470172445[10.1002/9780470172445]
* [[[law-ref]]] Simulation Modeling & Analysis, fourth edition, by Averill M. Law, publisher McGraw-Hill, International Edition, 2007, ISBN 978-007-125519-6
* [[[ref-law,Law]]] Averill M. Law, "Simulation Modeling and Analysis", fourth edition, McGraw-Hill, 2007
/////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2010, 2021 Contributors to the Eclipse Foundation
//
// See the NOTICE file(s) distributed with this work for additional
// information regarding copyright ownership.
//
// This program and the accompanying materials are made available under the terms
// of the MIT License which is available at https://opensource.org/licenses/MIT
// This program and the accompanying materials are made available
// under the terms of the MIT License which is available at
// https://opensource.org/licenses/MIT
//
// SPDX-License-Identifier: MIT
/////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////
include::_part_attributes.asciidoc[]
......@@ -129,7 +130,6 @@ enum FlagColours = {red, white, blue};
bool same = (red == white);
----
indexterm:[boolean,expression]
indexterm:[expression,boolean]
......@@ -509,7 +509,7 @@ With these operations, one of the operands has to be a real number value, while
The standard library functions for real numbers contain a lot of math functions.
They can be found in <<ref-real-stdlib>>.
The Chi simulator uses link:http://en.wikipedia.org/wiki/IEEE_floating_point[64-bit IEEE 754 floating point] numbers to represent real number values.
The Chi simulator uses link:https://en.wikipedia.org/wiki/IEEE_floating_point[64-bit IEEE 754 floating point] numbers to represent real number values.
Using a value outside the valid range of this format will yield invalid results.
Sometimes such values are detected and reported.
......@@ -642,7 +642,6 @@ size("a") # results in 1, string is 1 character long (namely 'a').
size("\n") # results in 1, string contains one NL character.
----
indexterm:[list,expression]
indexterm:[expression,list]
......@@ -841,7 +840,6 @@ Some examples of the element test operation:
There are also standard library functions for lists, see <<ref-list-stdlib>> for details.
indexterm:[set,expression]
indexterm:[expression,set]
......@@ -960,7 +958,6 @@ A few examples:
{1, 3, 7} sub {1, 3, 7} == true # All sets are a sub-set of themselves.
----
There are also standard library functions for sets, see <<ref-set-stdlib>> for details.
indexterm:[dictionary,expression]
......@@ -1174,7 +1171,6 @@ a, b = b, a; # Swap values of 'a' and 'b'.
The latter works due to the intermediate tuple that is created as part in the assignment.
indexterm:[file,expression]
indexterm:[expression,file]
......@@ -1232,7 +1228,6 @@ Types `T`, `K`, and `V` must also be readable types of data (that is, get chosen
Reading a value takes a text (with the same syntax as Chi literal values of the same type), and converts it into a value that can be manipulated in the Chi model.
Values read from the text have to be constant, for example the input `time` cannot be interpreted as real number with the same value as the current simulation time.
indexterm:[timer,expression]
indexterm:[expression,timer]
......@@ -1297,7 +1292,6 @@ The only binary expressions on channels are equality comparison operations.
where `T` can be either a normal type, or `void`.
There has to be an overlap between the channel directions (that is, you cannot compare a receive-only channel with a send-only channel).
indexterm:[distribution,expression]
indexterm:[expression,distribution]
......@@ -1350,7 +1344,6 @@ model Dice():
end
----
indexterm:[process,expression]
indexterm:[expression,process]
......@@ -1385,7 +1378,6 @@ Formal parameter `ab` of process `P` is a process variable that refers to a proc
The given process definition is instantiated.
Since in the model definition, `A` is given to process `P`, the output of the above model is `A(3)`.
indexterm:[instance,expression]
indexterm:[expression,instance]
......@@ -1426,7 +1418,6 @@ In the example, the test result is written to the screen, but this could also be
The other thing that you can do is to wait for termination of the process by means of the `finish` statement, see also <<ref-finish-statement>>.
[[ref-matrix-expression]]
=== Matrix expression
......@@ -1567,7 +1558,6 @@ Their type has to match with the type stated in the formal parameter at the corr
The result of the function call is a value with the same type as stated in the return type of the function definition.
[[ref-operator-priorities]]
=== Operator priorities
......
/////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2010, 2021 Contributors to the Eclipse Foundation
//
// See the NOTICE file(s) distributed with this work for additional
// information regarding copyright ownership.
//
// This program and the accompanying materials are made available under the terms
// of the MIT License which is available at https://opensource.org/licenses/MIT
// This program and the accompanying materials are made available
// under the terms of the MIT License which is available at
// https://opensource.org/licenses/MIT
//
// SPDX-License-Identifier: MIT
/////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////
include::_part_attributes.asciidoc[]
......@@ -42,7 +43,6 @@ The enumeration definitions start with the keyword `enum`, followed by a sequenc
Each definition associates an enumeration type name with a set of enumeration value names.
For example:
[source, chi]
----
enum FlagColours = {red, white, blue},
......@@ -54,7 +54,6 @@ The values have to be unique words.
For example, you can create a variable, and compare values like:
[source, chi]
----
MachineState state = idle;
......@@ -82,7 +81,6 @@ For further details about type names and types, see <<ref-chapter-types>>.
An example: