瀏覽代碼

8.6.8 release

Former-commit-id: 474fee6794ed43140b12f380245188e587f03f29
Gaudenz Alder 7 年之前
父節點
當前提交
6bca8afd63

+ 6 - 0
ChangeLog

@@ -1,3 +1,9 @@
+24-MAY-2018: 8.6.8
+
+- Fixes math typesetting in PDF export
+- Fixes NPE in minimal UI
+- Uses mxGraph 3.9.5
+
 23-MAY-2018: 8.6.7
 
 - Adds #S parameter for loading from CSV source

+ 1 - 1
VERSION

@@ -1 +1 @@
-8.6.7
+8.6.8

File diff suppressed because it is too large
+ 2 - 2
etc/mxgraph/mxClient.js


+ 1 - 1
src/main/webapp/cache.manifest

@@ -1,7 +1,7 @@
 CACHE MANIFEST
 
 # THIS FILE WAS GENERATED. DO NOT MODIFY!
-# 05/23/2018 04:43 PM
+# 05/24/2018 11:31 AM
 
 app.html
 index.html?offline=1

+ 20 - 11
src/main/webapp/export3.html

@@ -21,8 +21,6 @@
 	<link rel="stylesheet" href="mxgraph/css/common.css" charset="UTF-8" type="text/css">
     <script src="js/app.min.js"></script>
 	<script>
-		// NOTE: SVG Output fixes missing symbols in AsciiMath
-		// but produces larger output with clipping problems
 		Editor.initMath();
 	
 		function render(data)
@@ -273,21 +271,32 @@
 			waitForImages('image', 'xlink:href');
 			waitForImages('img', 'src');
 			
-			// Waits for MathJax to finish rendering
-			function renderMath(elt)
+			// Waits for MathJax.Hub to become available to register
+			// wait counter callback asynchronously after math render
+			var editorDoMathJaxRender = Editor.doMathJaxRender;
+			
+			Editor.doMathJaxRender = function(container)
 			{
-				if (math && window.MathJax != null && window.MathJax.Hub != null)
+				editorDoMathJaxRender.apply(this, arguments);
+				
+				window.setTimeout(function()
 				{
-					waitCounter++;
-					Editor.MathJaxRender(elt);
-					
-					// Asynchronous callback when MathJax has finished
 					window.MathJax.Hub.Queue(function ()
 					{
 						decrementWaitCounter();
 					});
+				}, 0);
+			};
+			
+			// Adds async MathJax rendering task
+			function renderMath(elt)
+			{
+				if (math && Editor.MathJaxRender != null)
+				{
+					waitCounter++;
+					Editor.MathJaxRender(elt);
 				}
-			}
+			};
 
 			// Converts the graph to a vertical sequence of pages for PDF export
 			if (graph.pdfPageVisible)
@@ -341,7 +350,7 @@
 				}*/
 				
 				bounds = new mxRectangle(0, 0, pf.width, pf.height);
-				renderMath(graph.container.parentNode);
+				renderMath(document.body);
 			}
 			else
 			{

File diff suppressed because it is too large
+ 608 - 608
src/main/webapp/js/app.min.js


File diff suppressed because it is too large
+ 25 - 25
src/main/webapp/js/atlas-viewer.min.js


File diff suppressed because it is too large
+ 251 - 251
src/main/webapp/js/atlas.min.js


+ 1 - 0
src/main/webapp/js/diagramly/Minimal.js

@@ -931,6 +931,7 @@ EditorUi.initMinimalTheme = function()
 
         // Needed for creating elements in Format panel
         var ui = this;
+        var graph = ui.editor.graph;
         ui.toolbar = this.createToolbar(ui.createDiv('geToolbar'));
         ui.defaultLibraryName = mxResources.get('untitledLibrary');
         

File diff suppressed because it is too large
+ 1 - 1
src/main/webapp/js/embed-static.min.js


File diff suppressed because it is too large
+ 1 - 1
src/main/webapp/js/reader.min.js


File diff suppressed because it is too large
+ 25 - 25
src/main/webapp/js/viewer.min.js