1
1
mirror of https://github.com/exyte/Macaw.git synced 2024-09-17 16:07:44 +03:00
Commit Graph

350 Commits

Author SHA1 Message Date
Daniil Manin
cc7513b663 #769 Update SWXMLHash 2021-10-04 17:50:17 +07:00
Yuri Strot
2b406e55f2
Merge pull request #736 from damienpontifex/deprecations
OS version availability checks to resolve deprecation warnings
2020-10-19 13:50:01 +07:00
Damien Pontifex
d54af83b34 fix indent 2020-10-16 08:07:38 +08:00
Damien Pontifex
db852306b9 combined if conditions into one 2020-10-16 08:06:33 +08:00
Damien Pontifex
45daee32a4 wrapping deprecation warnings to resolve warnings 2020-10-15 17:05:17 +08:00
Tomas Linhart
2585d66035 Removing force unwrapping in SVGParser 2020-10-02 16:21:20 +10:00
Yuri Strot
aa908389a9 Fix formatting and warnings 2020-07-30 15:48:36 +07:00
Alisa Mylnikova
ee7fa2077b MacOS tests fix 2020-06-11 12:27:56 +07:00
Alisa Mylnikova
75678de4ec Try to fix mac build 2020-06-10 15:40:50 +07:00
Alisa Mylnikova
4751d8b301 Small improvement 2020-06-10 15:34:13 +07:00
Petrov Anatoly
708a0ab16b Scan an optional comma between transformation attributes 2020-06-06 21:11:05 +07:00
Petrov Anatoly
e53ca25b11 Use spaces instead of tabs 2020-06-06 19:26:36 +07:00
Petrov Anatoly
22233257ed Do not use regular expressions and double XML parsing for tspans 2020-06-06 19:10:32 +07:00
Petrov Anatoly
974b2d012c Parse transform values using a scanner 2020-06-06 02:04:15 +07:00
Petrov Anatoly
b0196e217d Parse transform attributes using a scanner 2020-06-06 01:52:32 +07:00
Petrov Anatoly
c94d2d9256 Remove an unused regular expression 2020-06-06 01:31:52 +07:00
Petrov Anatoly
1101d4fddc Parse numbers avoiding regex matching 2020-06-06 01:31:06 +07:00
Petrov Anatoly
e63e6f2407 Prevent percent from being parsed as unit 2020-06-06 00:39:39 +07:00
Petrov Anatoly
bd5e868dac Fix polyline and polygon points parsing
Handling of numbers in scientific notation in `parsePoints` used to be
incorrect, because a number could be broken by an exponent minus sign,
resulting in incorrect values.

E.g. '2.5e-1' -> '2.5e', '-1'.
2020-05-11 22:48:37 +07:00
Anton Marunko
f47ec7f7da updated to swift 5.2 2020-02-08 15:50:52 +06:00
Yuri Strot
9df164f79d
Merge pull request #639 from amarunko/svg-parser-pattern-crash-fix
Fix crash in parsing pattern
2019-11-28 14:20:56 +07:00
Arthur Semenyutin
0fe9235198 #640 Remove force unwrap in SVGParser.doubleFromString method 2019-11-25 17:14:24 +11:00
Anton Marunko
fd899c77f3 Fix crash in parsing pattern 2019-11-24 15:03:03 +06:00
Anton Marunko
85286fc1f7 Fix gradient stops parsing 2019-11-21 00:26:34 +06:00
Anton Marunko
126c63be75 Lint formatting issues fixed 2019-11-20 21:48:44 +06:00
Anton Marunko
3608817a5a Formatting fixes 2019-11-20 21:44:13 +06:00
Daniil Manin
94bb93d497 #393 update w3c test suite for masking-path-13-f-manual 2019-05-29 19:54:13 +07:00
Daniil Manin
851ad48c43 #393 fix optional value of path 2019-05-29 19:37:14 +07:00
Daniil Manin
31b6896cc2 #393 update parseElement method 2019-05-29 18:19:48 +07:00
Daniil Manin
b15ce702bb #393 improve mask support, if element has mask but mask hasn't children then element is not rendering 2019-05-29 17:55:48 +07:00
Daniil Manin
0d5a5136da Fix #395: improvements readSegments for A,a 2019-05-24 16:07:34 +07:00
Daniil Manin
8affa6f988 Fix #395: add type == .A 2019-05-23 19:18:25 +07:00
Daniil Manin
3266afc07a Fix #395: improvements for SVGParser for readData, flags for 'a' path segment type may not be separated properly 2019-05-23 18:40:56 +07:00
Daniil Manin
922a68bf6f change location of SVGKeys 2019-05-22 16:22:32 +07:00
Daniil Manin
d08bd4a60b Fix #388: add enum Keys with fill, color and currentColor 2019-05-22 14:15:40 +07:00
Daniil Manin
9a3c7293f3 Fix #388: fix fill for group with currentColor 2019-05-20 17:05:45 +07:00
Yuri Strot
916240f118 #561: Built-in zoom support (Fix OSX build) 2019-04-08 19:27:57 +07:00
Yuri Strot
9a1abccbb6
Merge pull request #535 from exyte/fix/387
Fix #387: add "system" color support for SVG parser
2019-04-08 16:57:55 +07:00
Mark Goldin
6f1d0b102b Fix #387: use opacity for system colors 2019-04-08 16:30:36 +07:00
Anton Marunko
1a68c1f916 Fix for initializers 2019-03-27 00:04:20 +06:00
Mark Goldin
9da0e017b7 Fix #387: refactor "system" color support for SVG parser 2019-03-11 00:46:12 +07:00
Mark Goldin
9f9821a8ac wip on Fix 387 - add "system" color support for SVG parser 2019-02-28 18:07:41 +07:00
Yuri Strot
e4c3bcd759 Fix ambiguous XMLElement reference 2019-02-14 14:23:34 +07:00
Yuri Strot
aadc9f3f68 Fix few issues in opacity support PR
* Better parsing of opacity value
* Safe code for wrong input
* Correct formatting
* Avoid incorrect visibility handler
2019-02-13 19:42:56 +07:00
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