blob: b1116e1d64c522dc43d2848e985aad9145dbc075 [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<style type="text/css">
table.news td {
border-top: solid thin black;
}
table.news tr {
vertical-align: top;
}
table.news tr td.section {
font-size: 20px;
font-weight: bold;
}
table.news tr td.title {
vertical-align: top;
width: 30%;
font-weight: bold;
}
table.news tr td.content {
vertical-align: top;
width: 70%;
}
</style>
<title>Graphiti &quot;New and Noteworthy&quot;</title>
<link href="book.css" rel="stylesheet" type="text/css">
</head>
<body>
<h1>Graphiti &quot;New and Noteworthy&quot; for Eclipse Mars</h1>
<p>Last revised January 20, 2016</p>
<p>This document describes the new development topics that were
addressed during the milestones towards the release 0.12.2 within the
Mars release train.</p>
<!-- --------------------------------- Table ----------------------------------------- -->
<table border="0" cellpadding="10" cellspacing="0" class="news"
width="600">
<!-- ---------------------------------------- Mars.2 ------------------------------ -->
<tr>
<td colspan="2">
<h2>Mars.2</h2>
</td>
</tr>
<tr>
<td colspan="2">The main focus for this milestone has been set
on fixing bugs.</td>
</tr>
<tr id="bug 477659">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=477659">Bug
477659</a></td>
<td class="content">A potential NullPointerException in
DefaultRefreshBehavior on refresh has been fixed.</td>
</tr>
<!-- ---------------------------------------- Mars.1 ------------------------------ -->
<tr>
<td colspan="2">
<h2>Mars.1</h2>
</td>
</tr>
<tr>
<td colspan="2">The main focus for this milestone has been set
on fixing bugs.</td>
</tr>
<tr id="bug 470038">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=470038">Bug
470038</a></td>
<td class="content">A potential NullPointerException in
DiagramBehavior on unregistering listeners has been fixed.</td>
</tr>
<tr id="bug 470150">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=470150">Bug
470150</a></td>
<td class="content">A potential NullPointerException in
DiagramBehavior adaptation mechanism has been fixed.</td>
</tr>
<tr id="bug 470455">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=470455">Bug
470455</a></td>
<td class="content">A bug causing problems in creating
connections when the top shape has no anchor has been fixed.</td>
</tr>
<tr id="bug 472219">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=472219">Bug
472219</a></td>
<td class="content">ImageServices now handles bundleentry and
bundleresource urls correctly.</td>
</tr>
<tr id="bug 473087">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=473087">Bug
473087</a></td>
<td class="content">A potential ClassCastException in diagram
loading has been fixed.</td>
</tr>
<tr id="bug 475133">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=475133">Bug
475133</a></td>
<td class="content">A potential NullPointerException in
ShapeEditPart while creating edit policies has been fixed.</td>
</tr>
<tr id="bug 475240">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=475240">Bug
475240</a></td>
<td class="content">A bug in the undo/redo handling of Graphiti
has been fixed.</td>
</tr>
<tr id="bug 477083">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=477083">Bug
477083</a></td>
<td class="content">A bug in transaction reuse handling has been
fixed. Read-only transactions and transactions owned by other
threads will not be used any more.</td>
</tr>
<tr id="bug 477132">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=477132">Bug
477132</a></td>
<td class="content">A potential stack overflow in diagram update
has been fixed.</td>
</tr>
<tr id="bug 477420">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=477420">Bug
477420</a></td>
<td class="content">A potential NullPointerException painting
the diagram grid has been fixed.</td>
</tr>
<tr id="bug 477526">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=477526">Bug
477526</a></td>
<td class="content">A potential NullPointerException in the
Graphiti GEF change handling has been fixed.</td>
</tr>
<!-- ---------------------------------------- RC3 ------------------------------ -->
<tr>
<td colspan="2">
<h2>RC3</h2>
</td>
</tr>
<tr>
<td colspan="2">The main focus for this milestone has been set
on fixing bugs.</td>
</tr>
<tr id="bug 467824">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=467824">Bug
467824</a></td>
<td class="content">Graphiti needs to consume
org.apache.batik.dom version 1.7.1 instead of 1.7.0 in order to fix
a security releated issue in that library.</td>
</tr>
<!-- ---------------------------------------- RC2 ------------------------------ -->
<tr>
<td colspan="2">
<h2>RC2</h2>
</td>
</tr>
<tr>
<td colspan="2">The main focus for this milestone has been set
on fixing bugs.</td>
</tr>
<tr id="bug 467502">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=467502">Bug
467502</a></td>
<td class="content">A potential NullPointerException in
DiagramComposite.getWorkbenchPart().getSite() has been fixed.</td>
</tr>
<tr id="bug 467824">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=467824">Bug
467824</a></td>
<td class="content">To consume a security fix in
org.apache.batik.dom Graphiti needed to update the batik dependency
from 1.7.0 to 1.7.1</td>
</tr>
<!-- ---------------------------------------- RC1 ------------------------------ -->
<tr>
<td colspan="2">
<h2>RC1</h2>
</td>
</tr>
<tr>
<td colspan="2">The main focus for this milestone has been set
on fixing bugs.</td>
</tr>
<tr id="bug 464857">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=464857">Bug
464857</a></td>
<td class="content">A bug in image handling causing a resource
leak has been fixed.</td>
</tr>
<tr id="bug 466953">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=466953">Bug
466953</a></td>
<td class="content">A potential NullPointerException in
disposing the configuration provider has been fixed.</td>
</tr>
<tr id="bug 467476">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=467476">Bug
467476</a></td>
<td class="content">A bug that allows the wrong initialization
of the Graphiti palette root instance has been fixed.</td>
</tr>
<!-- ---------------------------------------- M7 ------------------------------- -->
<tr>
<td colspan="2">
<h2>M7</h2>
</td>
</tr>
<tr>
<td colspan="2">The main focus for this milestone has been set
on fixing bugs.</td>
</tr>
<tr id="bug 459386">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=459386">Bug
459386</a></td>
<td class="content">A bug causing rendering decorators on
connections not being refreshed has been fixed.</td>
</tr>
<tr id="bug 459511">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=459511">Bug
459511</a></td>
<td class="content">A NullPointerException in intersection
calculation for anchors using a Polygon as graphics algorithm has
been fixed.</td>
</tr>
<tr id="bug 463303">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=463303">Bug
463303</a></td>
<td class="content">A NullPointerException in retrieving the
editing domain for closing down editors has been fixed.</td>
</tr>
<tr id="bug 464596">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=464596">Bug
464596</a></td>
<td class="content">An IndexOutOfBoundsException has been fixed
in undo/redo handling.</td>
</tr>
<!-- ---------------------------------------- M6 ------------------------------- -->
<tr>
<td colspan="2">
<h2>M6</h2>
</td>
</tr>
<tr>
<td colspan="2">The main focus for this milestone has been set
on fixing bugs.</td>
</tr>
<tr id="bug 433779">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=433779">Behavior
classes rework</a></td>
<td class="content">The class <i>DiagramBehavior</i> and <i>DiagramRefreshBehavior</i>
have been reworked to allow for easier subclassing and overriding.
Some before protected or private members and methods are now
accessible from subclasses and/or other behavior classes. This is a
<b>minor API change</b>.
</td>
</tr>
<tr id="bug 460019">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=460019">Bug
460019</a></td>
<td class="content">A bug in one of the translatable texts has
been fixed.</td>
</tr>
<tr id="bug 460486">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=460486">Bug
460486</a></td>
<td class="content">A bug in one of the translatable texts has
been fixed.</td>
</tr>
<!-- ---------------------------------------- M5 ------------------------------- -->
<tr>
<td colspan="2">
<h2>M5</h2>
</td>
</tr>
<tr>
<td colspan="2">The main focus for this milestone has been set
on fixing bugs.</td>
</tr>
<tr id="bug 458465">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=458465">Bug
458465</a></td>
<td class="content">A bug in finding the child shape in a
container has been fixed. In case of shapes that were sent to back,
a wrong shape might have been returned.</td>
</tr>
<!-- ---------------------------------------- M4 ------------------------------- -->
<tr>
<td colspan="2">
<h2>M4</h2>
</td>
</tr>
<tr>
<td colspan="2">The main focus for this milestone has been set
on implementing improvements and fixing bugs.</td>
</tr>
<tr id="bug 453553">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=453553">
Provide an abort possibility for delete and remove features</a></td>
<td class="content">Delete and remove features now also support
abortion after the preDelete and preRemove hooks.</td>
</tr>
<tr id="bug 450884">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=450884">Bug
450884</a></td>
<td class="content">The Graphiti "view" menu added in the editor
now has an ID that clients can use in case the want to add own
entries.</td>
</tr>
<tr id="bug 450993">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=450993">Bug
450993</a></td>
<td class="content">A rendering issue with the context button
pad has been fixed that occurred when the associated shape was not
high enough.</td>
</tr>
<!-- ---------------------------------------- M3 ------------------------------- -->
<tr>
<td colspan="2">
<h2>M3</h2>
</td>
</tr>
<tr>
<td colspan="2">The main focus for this milestone has been set
on implementing improvements and bugfixing.</td>
</tr>
<tr id="bug 443304">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=443304">Improve
undo/redo handling </a></td>
<td class="content">The client options to influence undo/redo
handling have been improved. There are now hooks before and after
the actual EMF undo to implement own functionality. Also it is
possible to abort undo/redo.</td>
</tr>
<tr id="bug 449384">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=449384">Bug
449384</a></td>
<td class="content">A bug in the enablement check of the print
action that on Linux systems potentially caused a hanging Diagram
editor during opening has been fixed.</td>
</tr>
<!-- ---------------------------------------- M2 ------------------------------- -->
<tr>
<td colspan="2">
<h2>M2</h2>
</td>
</tr>
<tr>
<td colspan="2">The main focus for this milestone has been set
on implementing improvements and bugfixing.</td>
</tr>
<tr id="bug 417454">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=417454">Additional
<i>createDiagram</i> method
</a></td>
<td class="content">To ease diagram creation a new service method
has been introduced.</td>
</tr>
<tr id="bug 433269">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=433269">TextBuilder
</a></td>
<td class="content">A <i>TextBuilder</i> helper class has been
introduced to ease the creation of <i>TextStyleRegions</i>.
</td>
</tr>
<tr id="bug 434658">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=434658">Asynchronous
feature execution </a></td>
<td class="content">To enable the asynchronous execution of long
running custom features a new base class <i>AbstractAsynchronousCustomFeature</i>
has been introduced.
</td>
</tr>
<tr id="bug 407894">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=407894">Bug
407894</a></td>
<td class="content">The configuration and initialization of the
graphival viewer inside diagram editors and viewers that happened so
far by a hack has been made more robust. This required a minor <b>API
change</b>.
</td>
</tr>
<tr id="bug 412858">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=412858">Bug
412858</a></td>
<td class="content">The bug that <i>canUpdate</i> was not called
before <i>updatedNeeded</i> in some situations has finally been
fixed. Clients might need to adapt to the new behavior, before they
only got a warning that they do not behave correctly.
</td>
</tr>
<tr id="bug 429531">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=429531">Bug
429531</a></td>
<td class="content">The Graphiti EMF model has been alingned
with the generated coding. This caused no behavioral changes but
removed the need for manual corrections (like version tags,
comments) after re-generating.</td>
</tr>
<tr id="bug 429532">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=429532">Bug
429532</a></td>
<td class="content">Deprecations introduced in previous releases
in the Graphiti coding have been removed. This required a <b>API
change</b>.
</td>
</tr>
<tr id="bug 442879">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=442879">Bug
442879</a></td>
<td class="content">The Graphiti dependencies to other project
like Eclipse platforms, EMF, GEF have been increased. Now at least
the versions that are part of the Luna release train are required.</td>
</tr>
<tr id="bug 442895">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=442895">Bug
442895</a></td>
<td class="content">Graphiti now uses Batik 1.7.0 for SVG
export, before it used Batik 1.6.0..</td>
</tr>
<tr id="bug 439689">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=439689">Bug
439689</a></td>
<td class="content">A bug that caused invisible pictogram
elements to become marked with a selection border on setting the
selection in the editor has been fixed.</td>
</tr>
<tr id="bug 440796">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=440796">Bug
440796</a></td>
<td class="content">A bug that caused incorrect notifications on
changing the rotation attribute of <i>AbstractText</i> has been
fixed.
</td>
</tr>
<!-- ---------------------------------------- M1 ------------------------------- -->
<tr>
<td colspan="2">
<h2>M1</h2>
</td>
</tr>
<tr>
<td colspan="2">The main focus for this milestone has been set
on bugfixing.</td>
</tr>
<tr id="bug 437933">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=437933">Bug
437933</a></td>
<td class="content">A potential NullPointerExecption in the
method isDirty() in DefaultPersistencyBehavior has been fixed.</td>
</tr>
<tr id="bug 436601">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=436601">Bug
436601</a></td>
<td class="content">A potential race condition in the save logic
of DiagramEditor has been fixed. It could have caused erroneous
update and refresh behaviors in the editor that are hard to track
down.</td>
</tr>
</table>
<!-- ---------------------------------------- END OF TABLE ------------------------------- -->
<p>&nbsp;</p>
</body>
</html>