Skip to content

Commit

Permalink
6.7.6 release
Browse files Browse the repository at this point in the history
Former-commit-id: 89c43b4
  • Loading branch information
alderg committed Jun 6, 2017
1 parent 55151af commit 01c7f7d
Show file tree
Hide file tree
Showing 68 changed files with 578 additions and 152 deletions.
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
06-JUN-2017: 6.7.6

- Adds VSDX export in online webapp

06-JUN-2017: 6.7.5

- Fixes links in labels for lightbox on touch devices
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6.7.5
6.7.6
10 changes: 10 additions & 0 deletions etc/build/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,16 @@
</sources>
</jscomp>

<jscomp compilationLevel="simple" debug="false" forceRecompile="true" output="${war.dir}/js/vsdx.min.js">
<sources dir="${war.dir}/js/jszip">
<file name="jszip.min.js" />
</sources>
<sources dir="${war.dir}/js/diagramly/vsdx">
<file name="VsdxExport.js" />
<file name="mxVsdxCanvas2D.js" />
</sources>
</jscomp>

<jscomp compilationLevel="simple" debug="false" forceRecompile="true" output="${war.dir}/js/app.min.js">
<sources dir="${war.dir}/js/spin">
<file name="spin.min.js" />
Expand Down
2 changes: 1 addition & 1 deletion war/cache.manifest
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
CACHE MANIFEST

# THIS FILE WAS GENERATED. DO NOT MODIFY!
# 06/06/2017 01:24 PM
# 06/06/2017 05:29 PM

app.html
index.html?offline=1
Expand Down
127 changes: 64 additions & 63 deletions war/js/app.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion war/js/atlas-viewer.min.js

Large diffs are not rendered by default.

130 changes: 65 additions & 65 deletions war/js/atlas.min.js

Large diffs are not rendered by default.

44 changes: 34 additions & 10 deletions war/js/diagramly/Menus.js
Original file line number Diff line number Diff line change
Expand Up @@ -731,16 +731,6 @@

this.addMenuItems(menu, ['testXmlImageExport'], parent);

// For testing local Vsdx export
mxResources.parse('testVsdxExport=Vsdx Export');

this.editorUi.actions.addAction('testVsdxExport', mxUtils.bind(this, function()
{
new VsdxExport(this.editorUi).exportCurrentDiagrams();
}));

this.addMenuItems(menu, ['testVsdxExport'], parent);

mxResources.parse('testShowRtModel=Show RT model');
mxResources.parse('testDebugRtModel=Debug RT model');
mxResources.parse('testDownloadRtModel=Download RT model');
Expand Down Expand Up @@ -1299,6 +1289,40 @@
//this.editorUi.downloadFile('html');
}), parent);

if (!editorUi.isOfflineApp() && (typeof(VsdxExport) !== 'undefined' || !editorUi.isOffline()))
{
menu.addItem(mxResources.get('formatVsdx') + '...', null, mxUtils.bind(this, function()
{
var delayed = mxUtils.bind(this, function()
{
// Checks for signature method
if (typeof(VsdxExport) !== 'undefined')
{
try
{
new VsdxExport(editorUi).exportCurrentDiagrams();
}
catch (e)
{
// ignore
}
}
});

if (typeof(VsdxExport) === 'undefined' && !this.loadingVsdx && !editorUi.isOffline())
{
this.loadingVsdx = true;
// Dependencies included in Devel.js
mxscript('/js/vsdx.min.js', delayed);
}
else
{
// Must be async for cell selection
window.setTimeout(delayed, 0);
}
}), parent);
}

menu.addSeparator(parent);

menu.addItem(mxResources.get('formatXml') + '...', null, mxUtils.bind(this, function()
Expand Down
4 changes: 2 additions & 2 deletions war/js/diagramly/vsdx/VsdxExport.js
Original file line number Diff line number Diff line change
Expand Up @@ -832,8 +832,8 @@ VsdxExport.prototype.PART_NAME = "PartName";
VsdxExport.prototype.CONTENT_TYPES_XML = "[Content_Types].xml";
VsdxExport.prototype.VISIO_PAGES_RELS = "visio/pages/_rels/";
VsdxExport.prototype.ARROWS_MAP = {
"none|1": 0, "none|0": 0, "open|1": 1, "open|0": 1, "block|1": 4, "block|1": 14, "classic|1": 5, "classic|0": 17,
"none|1": 0, "none|0": 0, "open|1": 1, "open|0": 1, "block|0": 4, "block|1": 14, "classic|1": 5, "classic|0": 17,
"oval|1": 10, "oval|0": 20, "diamond|1": 11, "diamond|0": 22, "blockThin|1": 2, "blockThin|0": 2, "dash|1": 23, "dash|0": 23,
"ERone|1": 24, "ERone|0": 24, "ERmandOne|1": 25, "ERmandOne|0": 25, "ERmany|1": 27, "ERmany|0": 27, "ERoneToMany|1": 28, "ERoneToMany|0": 28,
"ERzeroToMany|1": 29, "ERzeroToMany|0": 29, "ERzeroToOne|1": 30, "ERzeroToOne|1": 30, "openAsync|1": 9, "openAsync|0": 9
"ERzeroToMany|1": 29, "ERzeroToMany|0": 29, "ERzeroToOne|1": 30, "ERzeroToOne|0": 30, "openAsync|1": 9, "openAsync|0": 9
};
2 changes: 1 addition & 1 deletion war/js/embed-static.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion war/js/reader.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion war/js/viewer.min.js

Large diffs are not rendered by default.

Loading

0 comments on commit 01c7f7d

Please sign in to comment.