Browse Source

7.1.3 release

Gaudenz Alder 8 years ago
parent
commit
9b0189b6df

+ 5 - 0
ChangeLog

@@ -1,3 +1,8 @@
+16-AUG-2017: 7.1.3
+
+- Uses mxGraph 3.7.5 beta 9
+- Uses retina icons for social media footers
+
 16-AUG-2017: 7.1.2
 
 - Fixes possible NPE in mxShapeBasicRectCallout shape

+ 1 - 1
VERSION

@@ -1 +1 @@
-7.1.2
+7.1.3

+ 0 - 4
etc/electron/README

@@ -1,4 +0,0 @@
-1. Go to this directory
-2. Run "npm install" once
-3. Execute "export NODE_ENV=development" for dev mode
-4. Run "npm start" to start the client

File diff suppressed because it is too large
+ 0 - 1000
etc/electron/yarn.lock


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


+ 1 - 1
war/cache.manifest

@@ -1,7 +1,7 @@
 CACHE MANIFEST
 
 # THIS FILE WAS GENERATED. DO NOT MODIFY!
-# 08/16/2017 09:46 AM
+# 08/16/2017 02:45 PM
 
 app.html
 index.html?offline=1

BIN
war/images/facebook.png


BIN
war/images/glyphicons_youtube_red.png


BIN
war/images/heart.png


BIN
war/images/logo-confluence.png


BIN
war/images/tweet.png


BIN
war/images/youtube.png


+ 5 - 5
war/index.html

@@ -371,7 +371,7 @@
 		</p>
 		<h2 id="geStatus">Loading...</h2>
 		<p>
-			Please ensure JavaScript is enabled
+			Please ensure JavaScript is enabled.
 		</p>
 	</div>
 </div>
@@ -401,14 +401,14 @@
 		<tr>
 			<td id="geFooterItem2" align="center" style="width:246px;">
 				<a title="Quick Start Video" href="https://www.youtube.com/watch?v=Z0D96ZikMkc" target="_blank">
-					<img border="0" align="absmiddle" style="margin-top:-3px;padding-right:8px;"
-						src="images/glyphicons_youtube_red.png"/>Quick Start Video</a>
+					<img border="0" align="absmiddle" style="margin-top:-2px;padding-right:8px;"
+						width="26" height="26" src="images/youtube.png"/>Quick Start Video</a>
 			</td>
 			<td id="geFooterItem1">
 				<a id="geFooterLink1" title="#1 Rated Confluence Add-on" target="_blank"
 					href="https://marketplace.atlassian.com/plugins/com.mxgraph.confluence.plugins.diagramly/server/overview">
-					<img border="0" width="27" height="24" align="absmiddle" style="padding-right:10px;"
-						src="images/logo-confluence.png"/>#1 Rated Confluence Add-on
+					<img border="0" width="24" height="24" align="absmiddle" style="padding-right:10px;"
+						src="images/logo-confluence.png"/>#1 Rated Confluence App
 				</a>
 			</td>
 		</tr>

File diff suppressed because it is too large
+ 20 - 22
war/js/app.min.js


File diff suppressed because it is too large
+ 6 - 8
war/js/atlas-viewer.min.js


File diff suppressed because it is too large
+ 103 - 105
war/js/atlas.min.js


+ 8 - 8
war/js/diagramly/App.js

@@ -756,17 +756,18 @@ App.prototype.init = function()
 	 */
 	this.basicAds = ['<a title="' + mxResources.get('loveIt', ['draw.io']) +
 		'" target="_blank" href="https://twitter.com/intent/tweet?text=' +
-		encodeURIComponent(mxResources.get('loveIt', ['www.draw.io'])) +
+		'I%20%E2%9D%A4%EF%B8%8F%20www.draw.io' +
 		'" onclick="javascript:window.open(this.href, \'\', \'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,' +
 		'left=\'+((screen.width-640)/2)+\',top=\'+((screen.height-280)/3)+\',height=280,width=640\');return false;"\'>' +
-		'<img border="0" align="absmiddle" style="margin-top:-2px;padding-right:8px;" src="' +
-		Editor.tweetImage + '"/>' + mxResources.get('loveIt', ['draw.io']) + '</a>',
-		'<a title="' + mxResources.get('loveIt', ['draw.io']) +
-		'" target="_blank" href="https://www.facebook.com/sharer.php?u=' + encodeURIComponent('https://www.draw.io') +
+		'<img border="0" align="absmiddle" width="18" height="18" style="margin-top:-2px;padding-right:12px;" src="' +
+		Editor.tweetImage + '"/>I <img width="18" height="18" src="' + Editor.heartImage +
+		'" border="0" align="absmiddle"> draw.io</a>',
+		'<a title="Share on Facebook" target="_blank" href="https://www.facebook.com/sharer.php?u=' +
+		encodeURIComponent('https://www.draw.io') +
 		'" onclick="javascript:window.open(this.href, \'\', \'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,' +
 		'left=\'+((screen.width-640)/2)+\',top=\'+((screen.height-520)/3)+\',height=520,width=640\');return false;"\'>' +
-		'<img border="0" align="absmiddle" style="margin-top:-2px;padding-right:8px;" src="' +
-		Editor.facebookImage + '"/>' + mxResources.get('loveIt', ['draw.io']) + '</a>',
+		'<img border="0" align="absmiddle" width="18" height="18" style="margin-top:-2px;padding-right:8px;" src="' +
+		Editor.facebookImage + '"/>Share on Facebook</a>',
 		'<a title="draw.io Offline App" href="https://www.draw.io/app" target="_blank">' +
 		'<img border="0" align="absmiddle" style="margin-top:-1px;padding-right:8px;" src="images/download.png"/>' +
 		'draw.io Offline App</a>'];
@@ -876,7 +877,6 @@ App.prototype.init = function()
 								'<img border="0" align="absmiddle" style="margin-top:-4px;" src="images/download.png"/>&nbsp;&nbsp;Google Chrome App</a>',
 								'<a title="Please help us to 5 stars" href="https://chrome.google.com/webstore/detail/drawio-pro/onlkggianjhjenigcpigpjehhpplldkc/reviews" target="_blank">' +
 								'<img border="0" align="absmiddle" style="margin-top:-4px;" src="images/glyphicons_star.png"/>&nbsp;&nbsp;Please help us to 5 stars</a>']);
-							this.updateAd(this.adsHtml.length - 1);
 						}
 						
 						this.updateUserElement();

File diff suppressed because it is too large
+ 8 - 3
war/js/diagramly/Editor.js


+ 34 - 19
war/js/diagramly/Extensions.js

@@ -224,7 +224,7 @@
 			'UMLNoteBlock': 'shape=note;size=15;',
 			'UMLTextBlock': 'shape=text;strokeColor=none;fillColor=none;',
 //UML Use Case
-			'UMLActorBlock': 'shape=umlActor;',
+			'UMLActorBlock': 'shape=umlActor;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;whiteSpace=nowrap;',
 			'UMLUseCaseBlock': 'shape=ellipse;',
 			'UMLCircleContainerBlock': 'shape=ellipse;container=1;',
 			'UMLRectangleContainerBlock': 'rounded=1;container=1;',
@@ -1717,23 +1717,23 @@
 //			'PEOrificeBlock' NA
 			'PERotameterBlock' : s + 'pid.flow_sensors.rotameter;flipH=1;',
 //Venn Gradient
-			'VennGradientColor1' : 'shape=ellipse;strokeColor=#49c1a1;fillOpacity=35;',
-			'VennGradientColor2' : 'shape=ellipse;strokeColor=#7769e0;fillOpacity=35;',
-			'VennGradientColor3' : 'shape=ellipse;strokeColor=#efd95d;fillOpacity=35;',
-			'VennGradientColor4' : 'shape=ellipse;strokeColor=#e24adb;fillOpacity=35;',
-			'VennGradientColor5' : 'shape=ellipse;strokeColor=#e55050;fillOpacity=35;',
-			'VennGradientColor6' : 'shape=ellipse;strokeColor=#f49769;fillOpacity=35;',
-			'VennGradientColor7' : 'shape=ellipse;strokeColor=#7ae266;fillOpacity=35;',
-			'VennGradientColor8' : 'shape=ellipse;strokeColor=#47b0e5;fillOpacity=35;',
+			'VennGradientColor1' : 'shape=ellipse;fillOpacity=35;',
+			'VennGradientColor2' : 'shape=ellipse;fillOpacity=35;',
+			'VennGradientColor3' : 'shape=ellipse;fillOpacity=35;',
+			'VennGradientColor4' : 'shape=ellipse;fillOpacity=35;',
+			'VennGradientColor5' : 'shape=ellipse;fillOpacity=35;',
+			'VennGradientColor6' : 'shape=ellipse;fillOpacity=35;',
+			'VennGradientColor7' : 'shape=ellipse;fillOpacity=35;',
+			'VennGradientColor8' : 'shape=ellipse;fillOpacity=35;',
 //Venn Plain
-			'VennPlainColor1' : 'shape=ellipse;strokeColor=#49c1a1;fillOpacity=35;',
-			'VennPlainColor2' : 'shape=ellipse;strokeColor=#7769e0;fillOpacity=35;',
-			'VennPlainColor3' : 'shape=ellipse;strokeColor=#efd95d;fillOpacity=35;',
-			'VennPlainColor4' : 'shape=ellipse;strokeColor=#e24adb;fillOpacity=35;',
-			'VennPlainColor5' : 'shape=ellipse;strokeColor=#e55050;fillOpacity=35;',
-			'VennPlainColor6' : 'shape=ellipse;strokeColor=#f49769;fillOpacity=35;',
-			'VennPlainColor7' : 'shape=ellipse;strokeColor=#7ae266;fillOpacity=35;',
-			'VennPlainColor8' : 'shape=ellipse;strokeColor=#47b0e5;fillOpacity=35;',
+			'VennPlainColor1' : 'shape=ellipse;fillOpacity=35;',
+			'VennPlainColor2' : 'shape=ellipse;fillOpacity=35;',
+			'VennPlainColor3' : 'shape=ellipse;fillOpacity=35;',
+			'VennPlainColor4' : 'shape=ellipse;fillOpacity=35;',
+			'VennPlainColor5' : 'shape=ellipse;fillOpacity=35;',
+			'VennPlainColor6' : 'shape=ellipse;fillOpacity=35;',
+			'VennPlainColor7' : 'shape=ellipse;fillOpacity=35;',
+			'VennPlainColor8' : 'shape=ellipse;fillOpacity=35;',
 //iOS Devices
 			'iOS7DeviceiPhone5Portrait' : s + 'ios.iPhone;bgStyle=bgGreen;', //EXT
 			'iOS7DeviceiPhone5Landscape' : s + 'ios.iPhone;bgStyle=bgGreen;', //EXT
@@ -2467,7 +2467,22 @@
 				
 				if (!hardStroke.includes(a.Class))
 				{
-					cell.style += createStyle(mxConstants.STYLE_STROKECOLOR, p.LineColor.substring(0, 7), '#000000');
+					if (p.LineWidth == 0)
+					{
+						cell.style += mxConstants.STYLE_STROKECOLOR + '=none;';
+					}
+					else
+					{
+						cell.style += createStyle(mxConstants.STYLE_STROKECOLOR, p.LineColor.substring(0, 7), '#000000');
+					}
+				}
+				else
+				{
+					var t = a.Class.substring(0,4); 
+					if (t == 'Venn')
+					{
+						cell.style += createStyle(mxConstants.STYLE_STROKECOLOR, p.FillColor.substring(0, 7), '#FFFFFF');
+					}
 				}
 				
 				cell.style += createStyle(mxConstants.STYLE_ALIGN, p.TextAlign, 'center');
@@ -2540,7 +2555,7 @@
 				if (p.FillColor != null)
 				{
 					//stencils with hardCoded fill color
-					var exc = ['AWSAndroidBlock3', 'AWSiOSBlock3', 'AWSJavaBlock3', 'AWSJavaScript', 'AWSNetBlock3', 'AWSNodeJSBlock3', 'AWSPHPBlock3', 'AWSPythonBlock3', 'AWSRubyBlock3', 'AWSXamarin', 'AWSCLIBlock3', 'AWSEclipseToolkitBlock3', 'AWSVisualStudioToolkitBlock3', 'AWSWindowsPowershellToolkitBlock3', 'DefaultTextBlock'];
+					var exc = ['AWSAndroidBlock3', 'AWSiOSBlock3', 'AWSJavaBlock3', 'AWSJavaScript', 'AWSNetBlock3', 'AWSNodeJSBlock3', 'AWSPHPBlock3', 'AWSPythonBlock3', 'AWSRubyBlock3', 'AWSXamarin', 'AWSCLIBlock3', 'AWSEclipseToolkitBlock3', 'AWSVisualStudioToolkitBlock3', 'AWSWindowsPowershellToolkitBlock3', 'DefaultTextBlock', 'RectangleContainerBlock'];
 				
 					if (!exc.includes(a.Class))
 					{

File diff suppressed because it is too large
+ 6 - 6
war/js/embed-static.min.js


File diff suppressed because it is too large
+ 83 - 83
war/js/extensions.min.js


File diff suppressed because it is too large
+ 6 - 6
war/js/reader.min.js


File diff suppressed because it is too large
+ 6 - 8
war/js/viewer.min.js