Skip to main content
AgeCommit message (Collapse)AuthorFilesLines
2016-01-17Bug 484701 - [QDesigner] Refactoring - code generators, architecture ↵Ansgar Radermacher40-4372/+0
exploration and component based design should be organised in common directory Bug 478797 - [model library] Decide which model library to use for C++ primitive types Change-Id: Idade4edfcf803da3528c0873aa04b754915866fd
2015-11-30Bug 481296 - [C++ codegen] Initialization of static const member of aShuai Li1-1/+1
class - Add "const" in front of static const variable initialization in body file Signed-off-by: Shuai Li <>
2015-11-25Bug 481296 - [C++ codegen] Initialization of static const member of aShuai Li1-3/+2
class - Generate default value of static const variable in .cpp - Do not in .h - Update JUnit test for static const initialization test Change-Id: Ica243081ffeb9d0d2b32493b91282d7376f035ca Signed-off-by: Shuai Li <>
2015-11-13482082 - [C++ codegen] Code generator does not generate all required codeAnsgar Radermacher1-0/+1
2015-11-06481527 - [CDT integration]Open CDT editor throws exceptionAnsgar Radermacher1-1/+1
2015-10-23Bug 478818 - [C++ codegen] Inner classifier generationShuai Li1-1/+1
- Fix regression: package header generator no longer generates classes and datatypes owned by the package Signed-off-by: Shuai Li <>
2015-10-21Bug 479649 - [C++ codegen] Mutable and variadicShuai Li3-3/+33
- Stereotype <<Variadic>> extends Operation - Stereotype <<Mutable>> extends Property - Code generator for these entities Change-Id: I75d25e11def1d27b84567f45ebf8883c1868c561 Signed-off-by: Shuai Li <>
2015-10-21Bug 478818 - [C++ codegen] Inner classifier generationShuai Li6-5/+116
- Generate inner classifiers in a classifier (recursive) - Generate body of a class including its inner classifier methods (recursive) - When including a type, include its closest owner who is itself owned by a package Patch set 6: - Copyright Change-Id: I25bf80a7e1cd7c3efa0c3cc9b02aa9b6f19713f7 Signed-off-by: Shuai Li <>
2015-10-16479957 - [C_CPP] Profile : stereotype <<Include>> cannot be applied on UML ↵Ansgar Radermacher1-6/+0
2015-10-16479927 - [C++ codegen] The code generator does not support the types Real ↵Ansgar Radermacher2-4/+15
and Unlimited Natural
2015-09-09474339 - [CDT integration] Synchronization of code to model requires ↵bugs/476559-expand-performanceAnsgar Radermacher1-15/+29
additional information (element based eligibility filtering)
2015-09-01474339 - [CDT integration] Synchronization of code to model requires ↵Ansgar Radermacher3-85/+150
additional information
2015-08-06474339 - [CDT integration] Synchronization of code to model requries ↵Ansgar Radermacher1-0/+6
additional information
2015-07-24473511 - [C++ codegen] methods corresponding to transition effects use ↵Ansgar Radermacher2-4/+20
simple name only
2015-07-03468965 - [CDT integration] Use an extension point to configure the code ↵Ansgar Radermacher1-1/+12
generator associated with the CDT editor
2015-06-23468965 - [CDT integration] Use an extension point to configure the code ↵Ansgar Radermacher5-54/+38
generator associated with the CDT editor
2015-06-01468965 - [CDT integration] Use an extension point to configure the code ↵Ansgar Radermacher3-5/+97
generator associated with the CDT editor
2015-03-24463003 - [C++ codegen] regressions related to templates and initializersAnsgar Radermacher5-16/+17
2014-12-11447548 - [OCL for Papyrus] Buggy DSML plugin generator: avoid dirty bit, ↵Ansgar Radermacher1-11/+21
migration to xtend Conflicts: extraplugins/dsml.validation/org.eclipse.papyrus.dsml.validation.generator/META-INF/MANIFEST.MF extraplugins/dsml.validation/org.eclipse.papyrus.dsml.validation.model.ui/META-INF/MANIFEST.MF
2014-12-10454729 - [C++ codegen] refactoring after xtend migrationAnsgar Radermacher28-370/+443
2014-11-07449026 - C++ code generation from class operation not happeningAnsgar Radermacher2-4/+9
2014-09-08i443404 - [C++ codegen] Code generation should be based on xtend: minor ↵Ansgar Radermacher3-18/+23
changes in code generation (@return for return parameters, initialize default values in constructor), adaptation of tests
2014-09-05443404 - [C++ codegen] Code generation should be based on xtend (done via ↵Ansgar Radermacher70-23033/+1312
merge of branch ogurcan)
2014-09-04436296 - [Validation] DSML plugin generation is brokenAnsgar Radermacher1-1/+1
2014-08-25[Code style] Apply clean-up profile on Extra Plug-insCamille Letavernier4-5/+4
2014-08-21[Code style] Apply clean-up and formatter on Extra plug-insCamille Letavernier11-191/+193
2014-06-25436368 - [C++ codegen] plugin org.eclipse.papyrus.cpp.codegen.tests needs to ↵Ansgar Radermacher1-0/+3
be moved into tests/junit/extraplugins/codegen - Add CDT feature and better handle cancel
2014-06-24Bug 422532: Create Volatile stereotypeAndrew Eidsness9-673/+696
This fixes a problem where volatile was included in the EStorageClass enum. This does not match the C++ language spec and caused problems (see Bugs 425594, 425597, and 425598) when the StorageClass stereotype was applied to invalid language elements. I've removed volatile from that enum and removed the extension from StorageClass to Parameter and Property. I've also introduced a new Volatile stereotype and created new extensions that mirror the ones for Const. I've updated the code generator to use this stereotype in the same places that Const is currently checked. I also fixed a problem where const (and now volatile) was generated for static member functions. I've updated the TestCDTIntegration model but not the other ones yet. I would like to make sure this change is OK before making changes to the other two test models. When generating the profile I found that uml.ecore and types.ecore were not found. I've changed the C_Cpp.ecore file to use the platform: URIs for these references but I'm not convinced that is the right solution. I've also updated the namespace URI from /1 to /2. This change was needed to get existing models to reapply the profile. I think that is the expected method. Change-Id: Ic572ac6a549d2c2421632a2b66414066d366b608 Signed-off-by: Andrew Eidsness <>
2014-05-26Remove use of new SWT.Shell()Andrew Eidsness1-3/+15
SWT uses the Shell for internal management of windows. Among other things, this means that modal dialogs are only modal within a single Shell. This patch changes a few locations where new shell's were being created on the fly. I've modified these locations to use the dialog's currently active shell instead. Change-Id: Id88312a0b6da4d638f017727b734d75ffcd2df87 Signed-off-by: Andrew Eidsness <>
2014-05-22Bug 433550: Automated Test Suite for C++ codegenAndrew Eidsness1-15/+43
This is a test suite to confirm basic functionality of the C++ code generator. The project includes a model as well as the copies of the files that are expected to be generated. The junit test case programmatically runs the generator on each element and then checks for differences from what is expected. This needs a minor change in the basic generation code so that it can be run in a headless fashion. The change causes the generator to avoid opening a confirmation dialog on error if a certain System property is set. The comparison utility makes allowances for different formatting so that the expected code is not tied to the formatter that happens to be selected in the user's workspace. If a difference is detected, then the individual junit test case is aborted. Phase 1 of the test suite (this commit) includes: 11 tests o 9 Classes (headers, bodies) o 2 namespace headers 9 class tests covering generation of: o Classes § Inheritance § Abstract § Reusability as type in other classes and operations § Default constructor o Operations § Empty and defined method bodies § ANSIC return types § Pointer and Reference parameters (in, out, inout) and return types § Different classifiers (const, volatile, extern) § Different visibilities § Virtual § Pure virtual § Operator overloading § Polymorphism § Constructor, destructor o Attributes § Default values § Static values § Const § Different storage classifiers (volatile, register, extern) § Strings § Char, double, int, void, float § ANSIC types o Includes § Include statements § Global definitions Namespace header tests covering: o Packages § Namespace headers § Folder generation Change-Id: If22a8d3e8e3788f600288c183ac225468db4926a Signed-off-by: Andrew Eidsness <>
2014-05-07433984 - [QDesginer] Refactoring - move C++ project generation to "standard" ↵Ansgar Radermacher3-63/+64
code generation
2014-05-07434286 - [C++ codegen] Generate into separate project instead of current projectAnsgar Radermacher5-14/+54
2014-04-28Bug 425215: Duplicate #include directivesAndrew Eidsness16-2101/+2683
When class uses more than one type from the AnsiCLibrary package, multiple, identical #include directives are generated. I've created a utility rule to generate #include directives. The parameter to the rule is a string containing the path of the file to be included. The rule also fixes a problem where #include's were specifying system includes (angle-bracket strings) instead of user includes (quoted strings). Include directives are now generated in two steps. In the first step, all dependencies are examined to create an ordered set of strings with the include paths. In the second step the new utility rule is used to generate the directive. Change-Id: I11b784f1def4875ecf2c40cae7c3995d7666ef48 Signed-off-by: Andrew Eidsness <>
2014-04-10Bug 425208: Duplicate visibility keywordsAndrew Eidsness1-6/+6
A Java utility function is used to merge adjacent visibitily sections (within a C++ class definition). For example, this: class T { public: void func1(); public: void func2(); }; Should appear as: class T { public: void func1(); void func2(); }; This Java utility maintains internal state so that the visibility keyword is written only once. This problem was raised because the internal state is updated even when the keyword is not written to the file. For example, this happens if the generation templates try to generate an empty section with a different visibility from what was currently written. This patch modifies the utility function so that internal state is only updated when the keyword is actually written out to the file. Change-Id: I052ede33110d382409476cac4cef38a417aaa904 Signed-off-by: Andrew Eidsness <>
2014-04-04[Bug 429744] [UML 2.5] Migrate Papyrus to UML 2.5: Migratred C++ profile to ↵Ansgar Radermacher7-117/+154
UML 2.5
2014-03-31[Bug 429744] New: [UML 2.5] Migrate Papyrus to UML 2.5 - recompiled acceleo ↵Ansgar Radermacher6-124/+222
2014-03-11[Bug 429744] [UML 2.5] Migrate Papyrus to UML 2.5 - Adaptation of MTL files ↵Ansgar Radermacher5-772/+777
(due to standard profile)
2014-03-06429744: [UML 2.5] Migrate Papyrus to UML 2.5Camille Letavernier52-1992/+1992 The following URIs have been updated in all Papyrus extra plug-ins: - -> - -> - ->
2014-01-08- Bug 422523 - Extra CPP header generated from class association elementAnsgar Radermacher3-3/+21
- Externalized an error message (trivial)
2013-12-19- Support attributes in signals (trivial)Ansgar Radermacher1-4/+8
2013-11-30- Bug 421839 - AcceleoEvaluationException: Unresolved compilation error in ↵Ansgar Radermacher11-1526/+1824
generation module
2013-11-21- Added missing NON-NLS tagsAnsgar Radermacher5-27/+36
2013-11-20- bug 422125: [Tracing] model library not synchronized with latest revision ↵Ansgar Radermacher1-8/+18
of C++ profile
2013-11-19- [Bug 420372] Cannot generate C++ code from new Papyrus model: amended: ↵Ansgar Radermacher1-0/+1
apply C nature before C++ nature
2013-11-19- bug 421076 Generated C++ code does not respect declared order of ↵Ansgar Radermacher4-888/+1036
Attributes/Operations: original fix did not work for interfaces
2013-11-15- trivial: add missing files to gitAnsgar Radermacher2-0/+18
2013-11-15- bug 420372 - Cannot generate C++ code from new Papyrus model, amended: ↵Ansgar Radermacher1-5/+10
avoid dialog to apply C++ nature, when triggered via model listener
2013-11-14- bug 420372 - Cannot generate C++ code from new Papyrus model: amended: ↵Ansgar Radermacher3-107/+167
allow CDT editor opening when C++ nature is not applied
2013-11-12- bug 421076 Generated C++ code does not respect declared order of ↵Ansgar Radermacher2-249/+66
Attributes/Operations (amended: removed double query)
2013-11-12- bug 421076 Generated C++ code does not respect declared order of ↵Ansgar Radermacher13-1287/+1813

Back to the top