Commit Graph

1099 Commits

Author SHA1 Message Date
Mikael Sand 37f07050e4 [ios] Improve gesture responder and onPress/In/Out transform handling 2018-12-08 23:04:53 +02:00
Mikael Sand 2f513504d2 [ios] Fix gesture responder, onPress/In/Out, onLayout 2018-12-08 03:04:22 +02:00
Ching Yaw Hao 31d0374c64 Fix percent.match is not a function when percent is a number 2018-12-07 04:39:24 +02:00
wing c49fc19014 Add missing colon 2018-12-07 04:31:25 +02:00
wing bd8934e293 Add missing opacity property to container and graphic element types 2018-12-07 04:31:25 +02:00
InJung Chung b896714ed0 [andriod] invalidate SvgView when view hierarchy changes 2018-12-07 04:30:37 +02:00
Mikael Sand 69e9fcde14 Use Android SDK 27 2018-11-17 04:12:52 +02:00
Mikael Sand e48dbdb08b bump android gradle build tools to 3.1.4 2018-11-17 04:08:29 +02:00
Mikael Sand 410f557af1 Merge pull request #835 from igorlira/resize-invalidate
Invalidate bitmap when view size is changed
2018-11-17 04:06:37 +02:00
Igor Lira e74ff2b3a3 Invalidate bitmap when view size is changed 2018-11-02 15:18:05 -07:00
Mikael Sand 1f74820501 8.0.8 2018-10-25 00:05:39 +03:00
Mikael Sand 9e2823063b Merge pull request #824 from netmaxt3r/master
Do not create bitmap with 0 height/width during early render.
2018-10-24 23:49:52 +03:00
Mikael Sand 3424906d33 8.0.7 2018-10-24 23:35:37 +03:00
Mikael Sand 0fb4177101 [android] Support image onLayout, transform arrays, and fix clipping. 2018-10-24 23:35:23 +03:00
Mikael Sand 3a1c189c25 8.0.6 2018-10-24 22:13:56 +03:00
Mikael Sand 766926f758 Add support for clipRule on ClipPath element
[iOS] fix spec conformance, clipRule on non ClipPath elements must not
have any effect.
2018-10-24 22:13:41 +03:00
Nizam Moidu c0bfe22e0d dont create bitmap with 0 height/width during early render.
when specify background color in react-native even parent view height/width could become zero
https://github.com/react-native-community/react-native-svg/issues/823
2018-10-24 22:34:36 +04:00
Mikael Sand e2e415c467 [android] Fix onPress to work when moving within bounds.
Adds support for inspector to check fill bounds.
2018-10-24 19:12:25 +03:00
Mikael Sand 0b3e07ef12 Update README.md
Add link to svgr
2018-10-24 04:19:50 +03:00
Mikael Sand 57db06328d Update README.md 2018-10-24 03:43:48 +03:00
Mikael Sand bd2f999655 Update README.md 2018-10-24 03:42:37 +03:00
Mikael Sand 2f46ee105a 8.0.5 2018-10-24 02:22:02 +03:00
Mikael Sand 38310677e3 Fix hit testing when using react-native transform arrays. 2018-10-24 02:21:46 +03:00
Mikael Sand f6995e856d 8.0.4 2018-10-24 00:06:30 +03:00
Mikael Sand 9affd59b00 Fix path parser spec conformance
https://www.w3.org/TR/SVG/paths.html#PathDataMovetoCommands
The "moveto" commands (M or m) must establish a new initial point
 and a new current point.
2018-10-24 00:03:02 +03:00
Mikael Sand 377a59351b 8.0.3 2018-10-22 19:06:30 +03:00
Mikael Sand 0c37a0c5e8 [android] Remove outdated references to shadow nodes in errors etc. 2018-10-22 19:06:18 +03:00
Mikael Sand 13b91aab39 [android] Add null checks before calling Matrix.mapRect 2018-10-22 16:28:22 +03:00
Mikael Sand f287d4082d Remove prop-types from peerDependencies (not used anymore) 2018-10-21 23:25:47 +03:00
Mikael Sand b0852d2595 8.0.2 2018-10-21 22:38:13 +03:00
Mikael Sand 85c335bfc9 Fix touchable / responder regression 2018-10-21 22:37:37 +03:00
Mikael Sand 72a53f3730 [ios] Fix remaining warnings. 2018-10-21 21:48:43 +03:00
Mikael Sand d7f5834bec [ios] Simplify ios build conf. Add stricter warnings and fix them. 2018-10-21 19:38:29 +03:00
Mikael Sand 9fe9e2d5b3 [ios] Handle failed realloc gracefully. Change float/double to CGFloat.
Reduces potential for wrong type of float given to core graphics.
Reduces cpu & memory consumption on devices where CGFloat is float.
Remove redundant parameters.
2018-10-20 20:46:04 +03:00
Mikael Sand f5f2c52f88 8.0.1 2018-10-20 17:47:31 +03:00
Mikael Sand 5693b9e9bd [ios] Simplify strokeDashArray implementation 2018-10-20 03:03:23 +03:00
Mikael Sand e576813329 [ios] Fix strokeDashArray regression 2018-10-20 02:28:44 +03:00
Mikael Sand 75204047c9 8.0.0 2018-10-19 18:26:56 +03:00
Mikael Sand b9debca598 Restore support for array of styles on Svg root. 2018-10-19 18:26:41 +03:00
Mikael Sand b6d17ff1df Fix merge issue 2018-10-19 18:26:02 +03:00
Mikael Sand d91e3e5755 Merge pull request #805 from janicduplessis/no-proptypes
Remove prop-types
2018-10-19 18:13:37 +03:00
Mikael Sand bd7251d197 7.2.0 2018-10-19 12:15:37 +03:00
Mikael Sand 6d476d4302 Merge pull request #816 from react-native-community/SVGLength
Optimise views, view managers, property setters and animation. Fix iOS hit testing.
2018-10-19 12:13:04 +03:00
Mikael Sand 64b6056a2c [ios] Harmonize setupTextPath with android 2018-10-19 04:00:59 +03:00
Mikael Sand 1e0a9ba5ff [ios] Upgrade project version, fix warnings and types 2018-10-19 03:52:04 +03:00
Mikael Sand 31d9bb9f41 [android] Reuse return value of paint.getTextSize() in Brushes 2018-10-19 02:48:19 +03:00
Mikael Sand 1047f739a4 [iOS] Fix handling of releaseCachedPath in Text 2018-10-19 02:47:43 +03:00
Mikael Sand a8fe15c506 [iOS] Refactor remaining uses of NSString to SVGLength 2018-10-19 01:19:35 +03:00
Mikael Sand 44744bc1f3 [android] Fix percentage handling in SVGLength 2018-10-19 01:16:09 +03:00
Mikael Sand 00f0b66c13 [iOS] Implement fast path for SVGLength css value resolution 2018-10-18 19:59:46 +03:00