Skip to content
Permalink
Browse files

9.6.1 release

  • Loading branch information...
alderg committed Dec 12, 2018
1 parent 55d983c commit 5059bdc80af25538a5b17743f4587d98d218df44
Showing with 3,890 additions and 7,316 deletions.
  1. +28 −0 ChangeLog
  2. +1 −1 VERSION
  3. +0 −3 etc/build/build.xml
  4. +10 −10 etc/mxgraph/mxClient.js
  5. +1 −1 src/main/java/com/mxgraph/io/gliffy/importer/GliffyDiagramConverter.java
  6. +1 −1 src/main/webapp/cache.manifest
  7. +1 −1 src/main/webapp/export3.html
  8. +106 −1 src/main/webapp/index.html
  9. +1,049 −1,174 src/main/webapp/js/app.min.js
  10. +421 −420 src/main/webapp/js/atlas-viewer.min.js
  11. +967 −968 src/main/webapp/js/atlas.min.js
  12. +49 −88 src/main/webapp/js/diagramly/App.js
  13. +0 −207 src/main/webapp/js/diagramly/ChatWindow.js
  14. +0 −3 src/main/webapp/js/diagramly/Devel.js
  15. +14 −16 src/main/webapp/js/diagramly/Dialogs.js
  16. +290 −435 src/main/webapp/js/diagramly/DiffSync.js
  17. +102 −86 src/main/webapp/js/diagramly/DrawioFile.js
  18. +78 −34 src/main/webapp/js/diagramly/DrawioFileSync.js
  19. +9 −70 src/main/webapp/js/diagramly/DriveClient.js
  20. +4 −89 src/main/webapp/js/diagramly/DriveFile.js
  21. +0 −1,898 src/main/webapp/js/diagramly/DriveRealtime.js
  22. +48 −45 src/main/webapp/js/diagramly/Editor.js
  23. +37 −39 src/main/webapp/js/diagramly/EditorUi.js
  24. +1 −1 src/main/webapp/js/diagramly/ElectronApp.js
  25. +1 −1 src/main/webapp/js/diagramly/Init.js
  26. +26 −50 src/main/webapp/js/diagramly/Menus.js
  27. +12 −20 src/main/webapp/js/diagramly/Minimal.js
  28. +11 −1 src/main/webapp/js/diagramly/Pages.js
  29. +0 −1,108 src/main/webapp/js/diagramly/RealtimeMapping.js
  30. +2 −2 src/main/webapp/js/diagramly/Trees.js
  31. +1 −1 src/main/webapp/js/diagramly/sidebar/Sidebar-Advanced.js
  32. +1 −1 src/main/webapp/js/diagramly/sidebar/Sidebar.js
  33. +9 −9 src/main/webapp/js/embed-static.min.js
  34. +1 −1 src/main/webapp/js/mxgraph/Dialogs.js
  35. +3 −1 src/main/webapp/js/mxgraph/EditorUi.js
  36. +79 −15 src/main/webapp/js/mxgraph/Format.js
  37. +48 −45 src/main/webapp/js/mxgraph/Graph.js
  38. +11 −7 src/main/webapp/js/mxgraph/Menus.js
  39. +8 −3 src/main/webapp/js/mxgraph/Sidebar.js
  40. +10 −18 src/main/webapp/js/mxgraph/Toolbar.js
  41. +9 −9 src/main/webapp/js/reader.min.js
  42. +421 −420 src/main/webapp/js/viewer.min.js
  43. +12 −5 src/main/webapp/plugins/tickets.js
  44. +8 −8 src/main/webapp/resources/dia_nl.txt
@@ -1,3 +1,31 @@
11-DEC-2018: 9.6.1

- Adds source-/targetPerimeterSpacing to default style
- Fixes font style button states in Edge, FF and IE
- Removes Google realtime API
- Fixes focus handling on iOS

10-DEC-2018: 9.6.0

- Fixes for collaborative editing (beta)
- Fixes minor bugs

06-DEC-2018: 9.5.9

- Uses PlantUML build 4

04-DEC-2018: 9.5.8

- Fixes focus handling in format panel

04-DEC-2018: 9.5.7

- Removes dummy href attributes

04-DEC-2018: 9.5.6

- Uses mxGraph 3.9.11 beta 8

03-DEC-2018: 9.5.5

- Adds unsaved status for new files in Desktop
@@ -1 +1 @@
9.5.5
9.6.1
@@ -333,8 +333,6 @@
<sources dir="${war.dir}/js/diagramly">
<file name="DrawioClient.js" />
<file name="DrawioUser.js" />
<file name="DriveRealtime.js" />
<file name="RealtimeMapping.js" />
<file name="DriveFile.js" />
<file name="DriveLibrary.js" />
<file name="DriveClient.js" />
@@ -350,7 +348,6 @@
<file name="TrelloFile.js" />
<file name="TrelloLibrary.js" />
<file name="TrelloClient.js" />
<file name="ChatWindow.js" />
</sources>

<sources dir="${war.dir}/js/diagramly">

Large diffs are not rendered by default.

Oops, something went wrong.
@@ -888,7 +888,7 @@ else if (gliffyObject.isSwimlane())
gLane.mxObject = mxLane;
}
}
else if (gliffyObject.isMindmap())
else if (gliffyObject.isMindmap() && gliffyObject.children != null && !gliffyObject.children.isEmpty())
{
GliffyObject rectangle = gliffyObject.children.get(0);

@@ -1,7 +1,7 @@
CACHE MANIFEST

# THIS FILE WAS GENERATED. DO NOT MODIFY!
# 12/03/2018 10:08 PM
# 12/11/2018 02:35 PM

app.html
index.html?offline=1
@@ -96,7 +96,7 @@
{
var href = links[i].getAttribute('href');
if (graph.isCustomLink(href))
if (href != null && graph.isCustomLink(href))
{
links[i].setAttribute('href', '#');
}
@@ -410,7 +410,112 @@ <h2 id="geStatus">Loading...</h2>
/**
* Main
*/
App.main();
App.main(function(ui)
{
// Instruments model.cloneCells
var lastReport = 0;
// Checks the array for nulls and duplicates
ui.editor.graph.model.cloneCells = function(cells, includeChildren, mapping)
{
try
{
var rep = [];
var dups = 0;
var nils = 0;
var lookup = {};
for (var i = 0; i < cells.length; i++)
{
if (cells[i] == null)
{
nils++;
}
else
{
var id = mxObjectIdentity.get(cells[i]);
if (lookup[id] != null)
{
dups++;
rep.push('Checking duplicate:', id, 'Equal:', lookup[id] == cells[i]);
}
else
{
lookup[id] = cells[i];
}
}
}
if (nils > 0 || dups > 0)
{
var now = new Date().getTime();
// Do not send too many reports
if (now - lastReport > 30000)
{
var codec = new mxCodec();
var model = new mxGraphModel();
var parent = model.getChildAt(model.getRoot(), 0);
for (var i = 0; i < cells.length; i++)
{
model.add(parent, cells[i]);
}
var node = codec.encode(model);
// To avoid NPE with an old version of app.min
if (ui.anonymizeNode != null)
{
ui.anonymizeNode(node);
}
else
{
// Get structural info for analysis
var nodes = node.getElementsByTagName('mxCell');
for (var i = 0; i < nodes.length; i++)
{
nodes[i].removeAttribute('value');
nodes[i].removeAttribute('style');
if (nodes[i].parentNode != null && nodes[i].parentNode.nodeName != 'root' &&
nodes[i].parentNode.parentNode != null)
{
nodes[i].setAttribute('id', nodes[i].parentNode.getAttribute('id'));
nodes[i].parentNode.parentNode.replaceChild(nodes[i], nodes[i].parentNode);
}
}
var geos = node.getElementsByTagName('mxGeometry');
while (geos.length > 0)
{
geos[0].parentNode.removeChild(geos[0]);
}
}
ui.sendReport(dups + ' duplicates and ' +
nils + ' nulls in ' + cells.length + ':\n' +
new Error().stack + '\n\n' +
mxUtils.getPrettyXml(node) + '\n' +
rep.join('\n') + '\n' +
'Agent: ' + navigator.userAgent);
}
lastReport = now;
}
}
catch (e)
{
// ignore
}
return mxGraphModel.prototype.cloneCells.apply(this, arguments);
};
});
</script>
</body>
</html>

Large diffs are not rendered by default.

Oops, something went wrong.

Large diffs are not rendered by default.

Oops, something went wrong.

Large diffs are not rendered by default.

Oops, something went wrong.
Oops, something went wrong.

0 comments on commit 5059bdc

Please sign in to comment.
You can’t perform that action at this time.