Skip to content

Commit 813819c

Browse files
dsward2dsward2
dsward2
authored and
dsward2
committed
Fixed a bug from the previous commit that prevented the Element Info plugin from displaying current information during editing operations (move, resize, etc.)
Some copyright dates were updated for 2018.
1 parent dc2948c commit 813819c

File tree

7 files changed

+41
-15
lines changed

7 files changed

+41
-15
lines changed

LICENSE

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

2-
macSVG 1.0
2+
macSVG 1.1
33

4-
Copyright ©2011-2017 ArkPhone LLC
4+
Copyright ©2011-2018 ArkPhone LLC
55

66
Designed in Arkansas, USA.
77

@@ -19,7 +19,7 @@ macSVG is distributed under the MIT License:
1919

2020
MIT License
2121

22-
Copyright (c) 2011-2016 ArkPhone, LLC
22+
Copyright (c) 2011-2018 ArkPhone, LLC
2323

2424
Permission is hereby granted, free of charge, to any person obtaining a copy
2525
of this software and associated documentation files (the "Software"), to deal

MacSVG Plugin Projects/macSVG Plugins/ElementInfoEditor/ElementInfoEditor/ElementInfoEditor.m

+23-3
Original file line numberDiff line numberDiff line change
@@ -127,16 +127,36 @@ -(void) handlePluginEvent:(DOMEvent *)event
127127
}
128128

129129
//==================================================================================
130-
// updateElementInfoForXMLElement:domElement:
130+
// beginEditForXMLElement:domElement:attributeName:existingValue:
131+
//==================================================================================
132+
133+
- (BOOL)beginEditForXMLElement:(NSXMLElement *)newPluginTargetXMLElement
134+
domElement:(DOMElement *)newPluginTargetDOMElement
135+
attributeName:(NSString *)newAttributeName
136+
existingValue:(NSString *)existingValue
137+
{
138+
// for attribute editor plug-ins
139+
BOOL result = [super beginEditForXMLElement:newPluginTargetXMLElement domElement:newPluginTargetDOMElement attributeName:newAttributeName existingValue:existingValue];
140+
141+
[self updateElementInfoForXMLElement:newPluginTargetXMLElement domElement:newPluginTargetDOMElement];
142+
143+
return result;
144+
}
145+
146+
147+
//==================================================================================
148+
// beginEditForXMLElement:domElement:
131149
//==================================================================================
132150

133-
// For element editors and text nodes, override this method to begin plugin session
134151
- (BOOL)beginEditForXMLElement:(NSXMLElement *)newPluginTargetXMLElement
135152
domElement:(DOMElement *)newPluginTargetDOMElement;
136153
{
154+
// for element editor plug-ins
155+
BOOL result = [super beginEditForXMLElement:newPluginTargetXMLElement domElement:newPluginTargetDOMElement];
156+
137157
[self updateElementInfoForXMLElement:newPluginTargetXMLElement domElement:newPluginTargetDOMElement];
138158

139-
return YES;
159+
return result;
140160
}
141161

142162
//==================================================================================

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<img src="https://cdn.rawgit.com/dsward2/macSVG/7cf2b09884673e1bb65a0a9ab5df184741bb7c65/README_images/macsvg-logo-animation.svg" width="660" height="105">
44

5-
**May 8, 2018 – [macSVG v1.1.3 is released](https://github.com/dsward2/macSVG/releases/), with minor user interface improvements, and various bug fixes.** See the [Release Notes](https://github.com/dsward2/macSVG/blob/master/RELEASE-NOTES.md) for details.
5+
**May 8, 2018 – [macSVG v1.1.4 is released](https://github.com/dsward2/macSVG/releases/), with minor user interface improvements, and various bug fixes.** See the [Release Notes](https://github.com/dsward2/macSVG/blob/master/RELEASE-NOTES.md) for details.
66

77
<hr>
88

@@ -44,6 +44,6 @@ Migration to Swift language, and Swift Package Manager for importing third-party
4444

4545
#
4646

47-
Copyright (c) 2016-2017 by ArkPhone, LLC.
47+
Copyright (c) 2016-2018 by ArkPhone, LLC.
4848

4949
All trademarks are the property of their respective holders.

RELEASE-NOTES.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
# macSVG Release Notes
22

3-
## macSVG v1.1.2 - May 8, 2018
3+
## macSVG v1.1.4 - May 8, 2018
4+
5+
MacSVG v1.1.4 fixes a bug in the Element Info plugin. The bug prevented the Element Info panel from displaying live updates as elements were moved, resized, etc.
6+
7+
## macSVG v1.1.3 - May 8, 2018
48

59
MacSVG v1.1.3 features several bug fixes, mostly for the <path>, <image> and <animateTransform> elements, and the user interface for those elements.
610

@@ -43,7 +47,7 @@ macSVG - [https://macsvg.org](https://macsvg.org)
4347

4448
macSVG project - [https://github.com/dsward2/macsvg](https://github.com/dsward2/macsvg)
4549

46-
Copyright (c) 2016-2017 by ArkPhone, LLC.
50+
Copyright (c) 2016-2018 by ArkPhone, LLC.
4751

4852
All trademarks are the property of their respective holders.
4953

macSVG.xcodeproj/project.pbxproj

+2
Original file line numberDiff line numberDiff line change
@@ -2455,6 +2455,7 @@
24552455
0EADC6B81D7C3DC200A61333 /* viewbox_pan_and_zoom_animation.svg */ = {isa = PBXFileReference; lastKnownFileType = text.xml; path = viewbox_pan_and_zoom_animation.svg; sourceTree = "<group>"; };
24562456
0EB02B93145B699D00D31216 /* image.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = image.png; sourceTree = "<group>"; };
24572457
0EB02B96145B69A800D31216 /* freehand.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = freehand.png; sourceTree = "<group>"; };
2458+
0EB480C920A2897D00C10B3F /* README.html */ = {isa = PBXFileReference; lastKnownFileType = text.html; name = README.html; path = "../../../Downloads/macSVG-v1.1.3/README.html"; sourceTree = "<group>"; };
24582459
0EB483EB142906BD005ADB73 /* XMLAttributesTableController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = XMLAttributesTableController.h; sourceTree = "<group>"; };
24592460
0EB483EC142906BD005ADB73 /* XMLAttributesTableController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = XMLAttributesTableController.m; sourceTree = "<group>"; };
24602461
0EB6637814286398003723F0 /* macSVG.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = macSVG.app; sourceTree = BUILT_PRODUCTS_DIR; };
@@ -3919,6 +3920,7 @@
39193920
isa = PBXGroup;
39203921
children = (
39213922
0ECCAFDE1DB4A6A0001A6085 /* README.md */,
3923+
0EB480C920A2897D00C10B3F /* README.html */,
39223924
0E753F501F9FD5660050AAB6 /* RELEASE-NOTES.md */,
39233925
0ECCB0231DB51B57001A6085 /* README_images */,
39243926
0ECCB0211DB4B60A001A6085 /* LICENSE */,

macSVG/MacSVG-Info.plist

+2-2
Original file line numberDiff line numberDiff line change
@@ -101,11 +101,11 @@
101101
<key>CFBundlePackageType</key>
102102
<string>APPL</string>
103103
<key>CFBundleShortVersionString</key>
104-
<string>1.1.3</string>
104+
<string>1.1.4</string>
105105
<key>CFBundleSignature</key>
106106
<string>????</string>
107107
<key>CFBundleVersion</key>
108-
<string>1991</string>
108+
<string>2001</string>
109109
<key>LSApplicationCategoryType</key>
110110
<string>public.app-category.graphics-design</string>
111111
<key>LSMinimumSystemVersion</key>

macSVG/en.lproj/Credits.rtf

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\pardirnatural\partightenfactor0
99

1010
\f0\fs24 \cf0 \
11-
macSVG 1.0\
11+
macSVG 1.1\
1212
\
13-
Copyright \'a92011-2017 ArkPhone LLC\
13+
Copyright \'a92011-2018 ArkPhone LLC\
1414
\
1515
Designed in Arkansas, USA.\
1616
\
@@ -37,7 +37,7 @@ macSVG is distributed under the MIT License:\
3737
\b \cf2 \expnd0\expndtw0\kerning0
3838
MIT License\
3939
\
40-
Copyright (c) 2011-2016 ArkPhone, LLC\
40+
Copyright (c) 2011-2018 ArkPhone, LLC\
4141
\
4242
Permission is hereby granted, free of charge, to any person obtaining a copy\
4343
of this software and associated documentation files (the "Software"), to deal\

0 commit comments

Comments
 (0)