1
1
mirror of https://github.com/exyte/Macaw.git synced 2024-09-21 01:47:44 +03:00
Commit Graph

306 Commits

Author SHA1 Message Date
ZHENG Shilin
7f437e8e52 support opacity in svg element 2019-02-13 19:10:37 +07:00
Alisa Mylnikova
29bb3a5726 Create new node instead of changing the old one
Fix
2019-02-11 17:48:26 +07:00
Alisa Mylnikova
a247dc9e4e Code review changes 2019-02-07 16:24:30 +07:00
Alisa Mylnikova
c966b85f02 Perform requested changes 2019-02-07 13:59:40 +07:00
Alisa Mylnikova
0d2bd69d75 Add patterns
Update Pattern model

Fix

Cherry pick

Last cherry pick

Fix

Merge fixes
2019-02-07 13:42:52 +07:00
Yuri Strot
4dceea892b Fix #347: Fill color disappears if there is stroke color 2019-01-25 20:45:27 +07:00
Ivan Samalazau
c629f3e016 Respect dx/dy attributes and calculate node position more precisely 2018-12-12 18:35:32 +03:00
Yuri Strot
35ccef2964 Combine use transform with transform of referenced node to fix issues mentioned in #495 2018-11-19 17:26:05 +07:00
Yuri Strot
9d031b85ac Fix issue with nested "use" tags, mentioned in #495 2018-11-19 17:17:08 +07:00
Yuri Strot
bbb9a60866 Fix #500: Mask attributes ignored 2018-10-30 19:46:37 +07:00
Yuri Strot
1018b76ae7 Fix recursive use and clipPath parsing 2018-10-30 18:09:49 +07:00
Yuri Strot
4dc3781b9a Fix #501: "use" should work for elements defined after "use" 2018-10-29 21:37:40 +07:00
Yuri Strot
3d54e18f31 Fix #499: "display: none" should hide group in any case 2018-10-29 19:55:13 +07:00
Yuri Strot
fc1f2f49a7 Fix #498: gradientTransform doesn't affect radial gradient radius 2018-10-29 17:37:10 +07:00
Yuri Strot
edda796bbc Add CSSParser to the project and fix lint warnings 2018-10-29 13:20:18 +07:00
Yuri Strot
a0b0feeb68 Improve CSS parsing: tag/id selector support, fix few issues 2018-10-26 19:50:48 +07:00
Yuri Strot
1625519066 Fix default color with opacity 2018-10-26 19:48:29 +07:00
Yuri Strot
994a08e264 Fix #494: SVGParser should support XML namespaces 2018-10-26 15:42:35 +07:00
Yuri Strot
379ef44bf1 Fix #493: Support group selectors in CSS part of SVG 2018-10-25 21:30:44 +07:00
Yuri Strot
978a0ca068 Fix #492: Allow parsing of styles in defs section 2018-10-23 17:54:16 +07:00
Yuri Strot
3aa1f88605 Update macOS version to use Swift 4.2 2018-10-04 14:43:11 +07:00
Anton Marunko
eb518e31f6 Throw errors instead of fatal error calling 2018-10-02 14:11:05 +06:00
Anton Marunko
bbd422ce28 Control Statement Violation: if, for, guard, switch, while, and catch statements shouldn't unnecessarily wrap their conditionals or arguments in parentheses. 2018-10-01 14:43:10 +06:00
Anton Marunko
6f2ea3a7de Formatting fixes (swift 4.2 style) 2018-09-27 17:31:09 +06:00
Alisa Mylnikova
7c1a7655e6 Sort test references alphabetically 2018-09-14 16:56:06 +07:00
Alisa Mylnikova
cb34f7843c Swift 4.2 adaptation 2018-09-04 17:31:00 +07:00
Yuri Strot
c88693af05
Merge pull request #452 from exyte/bug/parser-styles-fix
Fixes for styles attributes
2018-08-23 07:43:05 +00:00
Yuri Strot
ba6512ea89
Merge pull request #460 from cHaLkdusT/master
Improving API structure for readability
2018-08-23 07:37:27 +00:00
Julius Lundang
362d2a6f12 👌 Updating code due to code review changes.
* Updated SVGParserError to conform to Equatable so we can throwing functions
2018-08-19 17:04:28 +08:00
Julius Lundang
eddd77ba84 🎨 Improving API structure for readability
 Updating tests
2018-08-17 17:54:52 +08:00
Alisa Mylnikova
769d608b35 Serializer: toString -> serialize 2018-08-17 16:27:35 +07:00
Alisa Mylnikova
d5a2b0c42a Add clip, mask, transformedLocus to serializer 2018-07-20 19:36:44 +07:00
Anton Marunko
e9b7708c88 Merge branch 'master' into bug/parser-styles-fix 2018-07-18 11:42:22 +07:00
Anton Marunko
246d88d447 Fix parser transform lost 2018-07-18 11:41:54 +07:00
Anton Marunko
3ddb5d19ad Removing boilerplate code 2018-07-17 12:20:38 +07:00
Anton Marunko
335336d4b9 Formatting issue 2018-07-17 12:12:08 +07:00
Anton Marunko
ce6ef2906c Fix for more than one class attributes 2018-07-17 12:08:13 +07:00
Anton Marunko
dab32f8a28 Fixes for styles attributes 2018-07-16 19:49:09 +07:00
Yuri Strot
3883524382 Fix ambiguous initializers in SVGView 2018-07-09 23:16:04 +07:00
Yuri Strot
1ea58f334e Update formatting 2018-06-28 17:27:16 +07:00
Yuri Strot
30dc952ea8
Merge pull request #437 from stephsharp/fix-transform
Fix transform on clipped images
2018-06-27 21:30:59 +07:00
Stephanie Sharp
7440cafe47 Fix transform on clipped images 2018-06-27 10:22:58 -04:00
Alisa Mylnikova
f08fca9f05 Fix #440: Default SVG shape fill color is black 2018-06-27 18:09:16 +07:00
Alisa Mylnikova
e206588c76 Fix parsing dashoffset in pixels 2018-06-27 14:10:25 +07:00
Yuri Strot
508859c007
Merge pull request #436 from stephsharp/fix-clip
Fix image clip path
2018-06-26 17:30:26 +07:00
Alisa Mylnikova
78a63006d7 Add non scaling content mode 2018-06-26 17:17:37 +07:00
Yuri Strot
54d6441679 Fix #435: Missing initializer 'init(frame:)' in SVGView makes it unusable with IBDesignable 2018-06-26 15:01:21 +07:00
Stephanie Sharp
0a52db1c8d Fix image clip path 2018-06-25 17:18:47 -04:00
Yuri Strot
768abfcc47 Use r instead of radius as a universal Macaw shortcut 2018-06-25 19:20:41 +07:00
Yuri Strot
d398fb2631 Use separate ColorMatrix class for corresponding effect 2018-06-25 18:35:38 +07:00