215 Commits

Author SHA1 Message Date
c9e87e87f9 fix: android support for clipToBounds
It comes with a major refactoring of the BorderDrawable. Now all Paths are cached not to regenerate them on every draw pass.

Also it is important to understand that the clipping feature on android comes at a cost.
It will be done only when truelly necessary. but with complex paths ((border radius > 0 && border non uniform) || border-width >0) then we must apply a costly drawing pass (though hardware accelerated) to accomplish it.
2021-08-11 13:41:21 +02:00
00b0794746 fix: tsc errors fix 2021-08-10 16:14:35 +02:00
46b4b6409f fix: suspendRequestLayout not being reset to the right state
This causes unecessary `requestLayout`
2021-08-10 09:30:42 +02:00
2005bd5927 fix: css faster color parsing 2021-08-07 15:14:24 +02:00
8f322413ea fix: autofillType pre 26 2021-08-05 09:50:37 +02:00
880215a3b1 Merge branch 'master' of github.com:NativeScript/NativeScript 2021-08-02 15:01:32 +02:00
ae193189ae fix: iOS crash on iOS 14 when onLayout is called without a nativeView 2021-08-02 15:01:20 +02:00
d45dea8471 fix(android): allow 0-length properties (#9485) 2021-07-26 14:52:19 -07:00
568defa23a Merge branch 'webpack5_refactor' of github.com:Akylas/NativeScript
# Conflicts:
#	.eslintrc.json
#	packages/core/bundle-entry-points.ts
#	packages/core/ui/core/bindable/index.ts
#	packages/core/ui/styling/style-scope.ts
#	packages/core/xml/index.ts
#	packages/webpack5/src/configuration/base.ts
#	packages/webpack5/src/helpers/index.ts
2021-07-26 17:33:18 +02:00
9ec02523c9 chore: refactor 2021-07-26 17:29:11 +02:00
596bdd4051 chore: cleanup 2021-07-26 16:27:47 +02:00
2c8ff3191c fix: more text base fixes for plugins using nativeTextViewProtected 2021-07-26 16:23:27 +02:00
785b16a642 fix: allow to ignore reduce-css-calc with webpack without error 2021-07-26 16:23:01 +02:00
c945997332 fix(core): android broken navigation after go back to root on navDepth > 2 2021-07-22 17:09:35 +02:00
969716e9f9 feat: autofillType property for edit text base 2021-07-22 17:09:03 +02:00
7e0ecaa6cd Merge branch 'master' of github.com:NativeScript/NativeScript 2021-06-29 13:41:36 +02:00
b8d8110994 fix: stop leaking style scopes (#9444)
fixes #9311

* fix: stop leaking style scopes

* fix: don't leak scoped styles in production
2021-06-15 23:00:07 +02:00
971d8eeddf Merge branch 'master' of github.com:NativeScript/NativeScript 2021-06-09 09:51:06 +02:00
6e45fe7704 chore: lint and refactor 2021-06-08 18:14:13 +02:00
e42e9157c9 fix: accessibilityIdentifier fix for nativeTextViewProtected 2021-06-08 18:14:01 +02:00
d602d112c5 feat: decimal keyboard 2021-06-08 18:13:43 +02:00
9f582ba168 fix(android): accessibilityIdentifier (#9432)
needs to be set on `nativeTextViewProtected` for text-base components
fixes https://github.com/nativescript-community/ui-material-components/issues/304
2021-06-02 18:47:19 -07:00
3806b85fce feat(WebView): allow JS bound window frame navigation to be intercepted through loadStarted (#9430) 2021-06-01 16:35:43 -07:00
d3bc4d5b82 fix(core): guard unstable page/frame init contexts under async conditions (#9428) 2021-05-30 12:02:38 -07:00
04381fa3e7 fix(animations): stop keyframe animations after View unloaded (#9421) 2021-05-30 11:56:28 -07:00
263c920cb8 fix(box-shadow): support for 'none' (#9418) 2021-05-25 21:22:35 -07:00
7e878f83a3 feat(web-view): disableZoom property (#9391) 2021-05-12 09:00:51 -07:00
64adf5ecfc feat(text-view): add returnPress (#9390)
closes #4882
2021-05-12 08:22:20 -07:00
0b2c190662 fix(RootLayout): prevent android touch event to pass through views underneath (#9389) 2021-05-11 17:43:56 -07:00
3ae12184e5 Merge branch 'master' of github.com:NativeScript/NativeScript
# Conflicts:
#	.eslintrc.json
#	packages/core/ui/core/bindable/index.ts
#	tsconfig.eslint.json
2021-05-05 10:17:27 +02:00
9ec404225e fix(core): typings for showModal correction (#9374) 2021-05-04 23:27:35 -07:00
0d4ccba60a chore: combine prettier with eslint (#9348) (#9360)
Co-authored-by: Martin Guillon <martin.guillon@akylas.fr>
2021-05-02 10:11:37 -07:00
f781242b9a fix(core): protected class getter/setter webpack issue 2021-04-24 11:17:38 -07:00
d551693726 fix(android): prevent possible crash when app goes to background 2021-04-20 12:11:38 +02:00
4019f001d3 chore: lint 2021-04-20 12:11:15 +02:00
b29e1452bd feat(text-base): allow subclass to override createFormattedTextNative (#9334) 2021-04-18 10:49:00 -07:00
ed154b8055 fix: allow subclass to override createFormattedTextNative 2021-04-14 13:36:31 +02:00
2e8217abb3 chore: cleanup 2021-04-09 15:21:34 +02:00
9618a65d86 feat: closingModally event 2021-04-09 15:21:30 +02:00
3f5ec3440d fix: port boxshadow to background improvements 2021-04-09 09:03:06 +02:00
f5840ce10c Merge branch 'master' of github.com:Akylas/NativeScript
# Conflicts:
#	package.json
#	packages/core/package.json
#	packages/core/ui/transition/slide-transition.android.ts
2021-04-08 16:36:54 +02:00
e6598aee0f Merge branch 'master' of github.com:NativeScript/NativeScript
# Conflicts:
#	apps/automated/src/test-runner.ts
#	apps/automated/src/ui/bottom-navigation/bottom-navigation-navigation-tests.ts
#	apps/ui/src/bottom-navigation/events-page.ts
#	apps/ui/src/main-page.ts
#	apps/ui/src/test-page-main-view-model.ts
#	package.json
#	packages/core/color/color-common.ts
#	packages/core/color/index.d.ts
#	packages/core/ui/action-bar/index.android.ts
#	packages/core/ui/bottom-navigation/index.android.ts
#	packages/core/ui/core/view/index.ios.ts
#	packages/core/ui/core/view/view-helper/view-helper-common.ts
#	packages/core/ui/index.ts
#	packages/core/ui/styling/background.android.ts
#	packages/core/ui/tab-navigation-base/tab-strip-item/index.ts
#	packages/webpack/jasmine-config/reporter.ts
2021-04-08 16:36:02 +02:00
e73cebf765 fix(android): crash on slide transition (#9289)
The 'N' android `CustomTransition` widget takes an `AnimatorSet` and not an `ObjectAnimator`
2021-04-06 19:41:24 -07:00
75b59ecdbf chore(release): @nativescript/core@8.0.0 2021-04-06 11:18:36 -07:00
8cd1872ef7 chore: better trace handling around css 2021-04-06 11:18:36 -07:00
b50a2e618f chore: types cleanup 2021-04-06 11:18:36 -07:00
266ae2a71d chore: fix types 2021-04-06 11:18:36 -07:00
eeb68e9ce2 fix: RootLayout default open options 2021-04-06 11:18:36 -07:00
ede1685ae2 chore: cleanup types 2021-04-06 11:18:36 -07:00
3c569effed fix(layouts): rootlayout not closing when no shadecover transition specified (#9278) 2021-04-06 11:18:36 -07:00