Alisa Mylnikova
76abf82f10
Merge commit '8c8230fc75dc02079abcbde93a2ca4363143a4a3' into task/miterLimit
...
# Conflicts:
# MacawTests/w3c-test-suite.md
2018-05-25 14:41:20 +07:00
Yuri Strot
8c8230fc75
Update W3C tests status
2018-05-25 14:21:01 +07:00
Alisa Mylnikova
a6c429027d
Fix #348 : Attribute stroke-miterlimit is ignored
2018-05-24 14:56:43 +07:00
Alisa Mylnikova
f3c6f76ff6
Improve test progress file
2018-05-24 12:24:44 +07:00
Alisa Mylnikova
df20f66f43
Merge branch 'master' into task/masks
2018-05-21 18:25:37 +07:00
Yuri Strot
db6b407181
Fix MacawTests
2018-05-21 18:23:26 +07:00
Alisa Mylnikova
c839011d34
Fix #274 : Fix rendering of Figma generated svgs
2018-05-21 18:09:01 +07:00
Yuri Strot
7bb8681a25
Implement correct combination of SVG layout and MacawView content layout
2018-05-21 17:07:49 +07:00
Alisa Mylnikova
03b417331b
Add new tests portion
2018-05-15 18:31:05 +07:00
Alisa Mylnikova
f6faa0e291
Add tests
2018-05-11 14:29:29 +07:00
Yuri Strot
762b3ab417
Merge pull request #346 from f3dm76/task/testsProgress
...
Task/tests progress
2018-05-08 14:15:05 +07:00
Yuri Strot
d1d96a01c7
Merge pull request #343 from f3dm76/task/percentSupport
...
Task/percent support
2018-05-08 14:12:14 +07:00
Alisa Mylnikova
cd33432be0
Update tests progress
2018-05-07 12:34:24 +07:00
Alisa Mylnikova
ffefd153f2
Add half of tests to description file
2018-05-04 11:41:07 +07:00
Yuri Strot
4f129bc0c5
Add W3C Test Suite coverage page
2018-05-03 16:43:14 +07:00
Alisa Mylnikova
4cdec441c2
Updates for tests
2018-05-03 11:07:25 +07:00
Yuri Strot
5f66f68568
Minor fixes in JSON serialization
2018-04-27 19:18:08 +07:00
Alisa Mylnikova
71d2eb2c4a
Use shared instance
2018-04-26 18:19:19 +07:00
Alisa Mylnikova
4328d6b027
Remove one more if
2018-04-26 18:11:50 +07:00
Alisa Mylnikova
70f0b4069d
Update Group test reference
2018-04-26 13:18:20 +07:00
Alisa Mylnikova
8806e54a9f
Fix error
2018-04-26 13:06:41 +07:00
Alisa Mylnikova
7f7fdedb29
Restructure SceneSerialization
2018-04-26 12:26:36 +07:00
Alisa Mylnikova
672e04af1a
Small code improvements
2018-04-24 16:40:51 +07:00
Alisa Mylnikova
cec1838c3f
Merge commit 'b2a9779bc19b862dea95c5274bae9fb28e266ee8' into task/sceneSerialization
...
# Conflicts:
# Macaw.xcodeproj/project.pbxproj
2018-04-24 16:08:59 +07:00
Alisa Mylnikova
f6301b1cb6
Remove unused viewBoxes spoiling the tests
2018-04-24 13:15:50 +07:00
Alisa Mylnikova
3a4d29161d
Merge branch 'master' into task/sceneSerialization
...
# Conflicts:
# Macaw.xcodeproj/project.pbxproj
2018-04-24 11:45:10 +07:00
Alisa Mylnikova
c5d8aa90f2
Merge branch 'master' into task/rootElement
...
# Conflicts:
# Macaw.xcodeproj/project.pbxproj
2018-04-24 11:41:49 +07:00
Alisa Mylnikova
dac2a0f85d
Renew tests for root element
2018-04-23 21:03:20 +07:00
Alisa Mylnikova
c5d6faf76f
Move toDictionary-s to a separate file
2018-04-23 19:00:19 +07:00
Alisa Mylnikova
2c76a2b92a
Add shapes test
2018-04-18 14:17:53 +07:00
Alisa Mylnikova
41ef85291d
Add couple of tests
2018-04-17 17:47:23 +07:00
Félix Delenclos
2f7dc2f44e
fix conflict
2018-04-14 07:52:05 +02:00
Félix Delenclos
d20822247f
include svg to project
2018-04-14 07:45:41 +02:00
Félix Delenclos
900f385723
added svg to check these changes
2018-04-14 04:50:50 +02:00
Alisa Mylnikova
02403b5747
ViewBox test update
2018-04-10 11:53:02 +07:00
Alisa Mylnikova
50803e10ff
Add test for viewBox
2018-03-29 17:28:05 +07:00
Anton Marunko
73c0904bb4
Warning fixes
2017-11-30 15:37:14 +07:00
Yuriy Kashnikov
bdc3d5b562
Change Double.pi to .pi
2017-10-23 15:45:59 +07:00
Yuriy Kashnikov
2ae04afa97
Refactor locus to path implementation
...
- Extract locusToPath to extension of Locus
- Refactor and prettify SVG tests
2017-10-23 15:45:59 +07:00
Yuriy Kashnikov
8e2504aa6b
Add test with absolute C and S cubic curves
2017-10-20 17:24:27 +07:00
Yuriy Kashnikov
b5bc3ef5e5
Fix path bounds for cubic curves
...
- Add 1 and 0 to solutions along to extrema they should be
considered as point for bounding box
- Refactor test harness
- Add separate tests for absolute and relative cubic bounds
2017-10-20 16:33:19 +07:00
Yuriy Kashnikov
45979a16ff
Fix cubic curve bounding box computation
2017-10-20 15:26:05 +07:00
Victor Sukochev
27443fd43a
Merge pull request #209 from exyte/feature/parse-svg-clip-path
...
Feature/parse svg clip path
2017-10-19 12:32:54 +07:00
Yuriy Kashnikov
6925209d88
Fix clip test
2017-10-19 00:08:35 +07:00
Yuriy Kashnikov
9b34d18d27
Implement clip-path support in SVG parser
...
- Fix Locus to Path conversion: all should be counter-clockwise,
otherwise fill-rulle=nonzero will not work properly and paths
will have donut holes
- Fix Arc serialization: parse largeArc and sweep flags properly
- Add test for clip
2017-10-18 17:48:42 +07:00
Yuriy Kashnikov
8c95c8612a
Fix alpha channel to SVG opacity serialization
2017-10-18 12:52:08 +07:00
Yuriy Kashnikov
2857d28b1c
Fix color to SVG conversion in SVG serializer
2017-10-18 11:22:47 +07:00
Yuriy Kashnikov
703ce5d3ef
Merge pull request #206 from exyte/bug/fix-skewx-skewy-in-svg-parser
...
Fix skewX and skewY in SVG parser
2017-10-17 08:48:18 +07:00
Yuriy Kashnikov
0c0ea87996
Merge pull request #202 from exyte/bug/fix-path-bounds-calculation
...
Add bounds computation via derivative
2017-10-16 22:56:28 +07:00
Yuriy Kashnikov
e3d4498970
Fix skewX and skewY in SVG parser
2017-10-16 16:23:35 +07:00
Yuriy Kashnikov
32a037901f
Support short rgb notation in SVG parser
2017-10-16 14:07:43 +07:00
Yuriy Kashnikov
9055efc5c9
Remove test with incorrect bezier curve
2017-10-13 17:05:32 +07:00
Yuriy Kashnikov
0d05f5e6bf
Add bounds computation via derivative
2017-10-13 16:20:07 +07:00
Yuriy Kashnikov
1fd0376694
Fix horizontal path bounds
2017-10-12 16:38:57 +07:00
Yuriy Kashnikov
bb8017b72e
Fix path bounds calculation
...
After this fix bounds for pathbounds1.svg will be correct.
Bounds for pathbounds2.svg still not.
2017-10-12 15:41:46 +07:00
Yuriy Kashnikov
a641ea32ec
Fix tests and prettify transform
2017-10-10 14:34:10 +07:00
Yuriy Kashnikov
7a55066265
Implement forced placing, i.e. always do matrix transform
2017-10-09 20:43:08 +07:00
Yuriy Kashnikov
8520622b2f
Fix transform and add more complex test
2017-10-09 17:27:40 +07:00
Yuriy Kashnikov
527ea134dc
Add basic test for text transform
2017-10-09 16:16:01 +07:00
Yuriy Kashnikov
b9d175f0aa
Combine all defs on top of the SVG file
2017-10-09 14:47:48 +07:00
Yuriy Kashnikov
535536959a
Implement straightforward clip serialization
2017-10-09 13:49:46 +07:00
Yuriy Kashnikov
9828a5b2a0
Merge pull request #190 from exyte/bug/fix-image-serialization
...
Fix Image to SVG serialization
2017-10-09 11:25:39 +07:00
Yuriy Kashnikov
3c9ff9e0fd
Fix duplicating resource (logo) name
2017-10-09 11:05:55 +07:00
Yuriy Kashnikov
aaaa7218f8
Add logo.png to fix Image serialization tests
2017-10-06 17:56:20 +07:00
Yuriy Kashnikov
882c19798c
Add tests for SVG image serialization
2017-10-06 17:45:36 +07:00
Yuriy Kashnikov
4f9d7e04b6
Fix Arc tests
2017-10-06 17:14:57 +07:00
Yuriy Kashnikov
a6af6f0782
Fix relative/absolute placing for Shapes in SVG serializer
2017-10-06 12:42:27 +07:00
Yuriy Kashnikov
36d65c9365
Fix ellipse test
2017-10-06 10:13:59 +07:00
Yuriy Kashnikov
ac012dfb5b
Add implementation for style classes support in SVG parser
2017-10-03 13:04:11 +07:00
Yuriy Kashnikov
a4cf382a9c
Update stroke-width in SVG tests
2017-09-29 16:22:21 +07:00
Yuriy Kashnikov
08003735ab
Port MacawTests to Mac OS X
...
- Wrap parts into platform dependent macro
- Disable the following tests:
MacawTests/Animation/CombineAnimationTests.swift
MacawTests/Animation/DelayedAnimationTests.swift
MacawTests/Animation/SequenceAnimationTests.swift
MacawTests/Bounds/ImageBoundsTests.swift
MacawTests/Bounds/NodeBoundsTests.swift
Add proper text weight rendering
Enhance support for SVG text attributes
- Support `text-anchor` in parser, serializer, and renderer
- Support `font-weight` in parser and serializer
- Support `stroke` (width/fill color) in parser, serializer, and
renderer
2017-09-29 14:25:46 +07:00
Yuriy Kashnikov
09f8421261
Add basic tests for SVG Parser and Serializer
2017-09-20 16:01:33 +07:00
Viktor Sukochev
dac8552e82
Merge remote-tracking branch 'origin/master' into swift4
2017-09-14 15:11:16 +07:00
Victor Sukochev
dd3d1a72b7
Merge pull request #163 from exyte/feature/add-macaw-to-svg-serializer
...
Aadd Macaw to SVG serializer
2017-09-14 11:56:58 +07:00
Yuriy Kashnikov
d27e20e1f5
Fix review comments
...
- Update SVG tests: added basic test for ellipse.svg
- Handle optional params via Optional
2017-09-13 16:02:04 +03:00
Viktor Sukochev
dd383a248c
Tests target updated to swift 4
2017-08-28 15:01:04 +07:00
Yuriy Kashnikov
cd4d3ce8f6
Support Macaw.Image in serializer
2017-08-18 12:18:47 +07:00
Yuriy Kashnikov
6be05cb99d
Minor fixes
...
- Same style for string interpolation
- Indentation control
2017-08-17 16:42:48 +07:00
Yuriy Kashnikov
9e8f739b3f
Implement Macaw to SVG serializer
...
- Add Macaw to SVG serializer
- Add basic test for serializer
- Fix default LineCap in Parses
- Add default linecap and linejoin values to SVGConstants
2017-08-17 16:08:36 +07:00
manindaniil
536bc08709
update classes...20%
2017-08-10 20:01:11 +07:00
Viktor Sukochev
a2b4a04821
Image consturctor for UIImage added. Image bounds tests
2017-06-06 23:39:51 +07:00
manindaniil
df562e7e63
polygon/polyline fix + add path test
2017-05-11 13:11:38 +07:00
manindaniil
797ed9f884
add tests
2017-05-11 11:34:20 +07:00
Viktor Sukochev
885a60ab42
XCode 8.3 warnings fix
2017-05-05 16:23:35 +07:00
Viktor Sukochev
696724b142
More tests for absoluteIndex
2017-04-28 18:09:35 +07:00
Viktor Sukochev
8025e4fcaf
Hidden zIndex fix
2017-04-28 17:45:30 +07:00
Viktor Sukochev
a0ef02712d
Reverting some changes to API
2017-03-09 21:08:17 +07:00
Khoren Markosyan
5784070dae
Fixed tests errors.
2017-03-07 00:58:11 +04:00
Viktor Sukochev
8e01fb594d
Macaw delayed animations fix
2017-02-21 16:55:25 +07:00
Viktor Sukochev
a7d746db47
Reducing waiting time for async tests
2017-02-20 18:30:23 +07:00
Viktor Sukochev
267536db1c
Combine animation fix
2017-02-20 18:17:40 +07:00
Viktor Sukochev
bb808683a4
Contents animation states test
2017-02-20 17:54:42 +07:00
Viktor Sukochev
159c8adb7f
CombineAnimation correct states tests
2017-02-20 17:47:26 +07:00
Viktor Sukochev
8d19a32442
Common animation states fixes
2017-02-20 16:51:12 +07:00
Viktor Sukochev
9ad98cce1e
Combine animation tests and fixes
2017-02-20 16:35:03 +07:00
Viktor Sukochev
844dfc8372
Simple animation state tests and fixes
2017-02-20 15:37:00 +07:00
Viktor Sukochev
8962f3d1bc
Tests fix
2017-01-27 14:08:57 +07:00
Viktor Sukochev
94a358c034
Merge: Contents animation
2016-11-25 17:14:06 +07:00
Victor Sukochev
3b2bfeaacd
Tests fix and summary update
2016-10-19 13:04:38 +07:00
Victor Sukochev
6b44b17778
Carthage project updated to swift 3.0
...
fixes #59
2016-09-30 20:57:29 +06:00