Skip to main content
aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2016-01-17Bug 484701 - [QDesigner] Refactoring - code generators, architecture ↵Ansgar Radermacher50-4628/+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 <shuai.li@cea.fr>
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 <shuai.li@cea.fr>
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 <shuai.li@cea.fr>
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 <shuai.li@cea.fr>
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 <shuai.li@cea.fr>
2015-10-16479957 - [C_CPP] Profile : stereotype <<Include>> cannot be applied on UML ↵Ansgar Radermacher1-6/+0
Interface
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-21[releng] Neon-1.2.0 modification step by stepQuentin Le Menez2-17/+20
Change-Id: I9126d707fecad85c9b5384b35074deba995b6527 Signed-off-by: Quentin Le Menez <quentin.lemenez@cea.fr>
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 Radermacher2-2/+13
generator associated with the CDT editor
2015-06-24Merge branch 'master' into QompassAnsgar Radermacher1-2/+2
2015-06-23468965 - [CDT integration] Use an extension point to configure the code ↵Ansgar Radermacher6-60/+45
generator associated with the CDT editor
2015-06-11469953: [Releng] Update the build to support a global POMCamille Letavernier1-2/+2
https://bugs.eclipse.org/bugs/show_bug.cgi?id=469953 Change-Id: I050cf9dbbdd5705aaf8d45f2db3458226d148002 Signed-off-by: Camille Letavernier <camille.letavernier@cea.fr>
2015-06-01468965 - [CDT integration] Use an extension point to configure the code ↵Ansgar Radermacher4-5/+104
generator associated with the CDT editor
2015-03-24463003 - [C++ codegen] regressions related to templates and initializersAnsgar Radermacher5-16/+17
2015-01-26Bug 457956 : Applying the xtend maven plugin to all eclipse pluginsFrancois Le Fevre - CEA21-2693/+44
Focusing on org.eclipse.papyrus.cpp.codegen and all others involved plugins, adding a developer profile, removing the xtend-gen content and not the folder itself,ignoring its content for git. Change-Id: Ibc5694ac25dc150c5413728a09d5ba7970435cbe Signed-off-by: Francois Le Fevre - CEA <francois.le-fevre@cea.fr>
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 Radermacher50-816/+688
2014-11-07449026 - C++ code generation from class operation not happeningAnsgar Radermacher3-7/+13
2014-09-15[Releng] Update feature versions to 1.1.0Camille Letavernier1-2/+2
2014-09-15[Releng] Change plug-ins version to 1.1.0Camille Letavernier1-6/+6
2014-09-15443404 [C++ codegen] Code generation should be based on xtend: remove ↵Ansgar Radermacher1-1/+0
dependency to unused plugin oe.xtend.lib.macros (new in xtend 2.7.0, not available in Luna SR0)
2014-09-08443404 - [C++ codegen] Code generation should be based on xtend: fix guava ↵Ansgar Radermacher1-1/+1
version in oep.cpp.codegen
2014-09-08i443404 - [C++ codegen] Code generation should be based on xtend: minor ↵Ansgar Radermacher6-58/+79
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 (try to fix ↵Ansgar Radermacher2-2/+1
build problems)
2014-09-05443404 - [C++ codegen] Code generation should be based on xtend (fix build ↵Ansgar Radermacher3-24/+1
problems)
2014-09-05443404 - [C++ codegen] Code generation should be based on xtend (done via ↵Ansgar Radermacher94-23035/+4224
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-08-20[Releng] Update Papyrus version to 1.0.1 in pom.xmlCamille Letavernier1-2/+2
2014-08-20[Releng] Update versions to 1.0.1Camille Letavernier1-6/+6
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 <andrewe@jfront.com>
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 <eclipse@jfront.com>
2014-05-21Bug 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 <eclipse@jfront.com>
2014-05-07433984 - [QDesginer] Refactoring - move C++ project generation to "standard" ↵Ansgar Radermacher4-64/+67
code generation
2014-05-07434286 - [C++ codegen] Generate into separate project instead of current projectAnsgar Radermacher6-15/+55
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 <eclipse@jfront.com>
2014-04-17[releng] Generated all the pom.xml files for the plugins and featuresLaurent Wouters1-0/+14
Command: python releng/toolkit/tycho-genertor.py Signed-off-by: Laurent Wouters <laurent.wouters@cea.fr>
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 <eclipse@jfront.com>
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
files
2014-03-14[Releng] Fix dependency versionsCamille Letavernier1-11/+11

Back to the top