Commit Graph

860 Commits

Author SHA1 Message Date
farfromrefuge
a76815b81e fix(android): make less calls to native with getters around prop handling (#9119) 2021-09-08 16:07:39 -07:00
farfromrefuge
2dd2970c7d fix(android): dont dispose fragment on onloaded (#8793) 2021-09-08 16:07:39 -07:00
farfromrefuge
d25cd5bcee feat: autofillType property for edit text base (#9478) 2021-09-08 16:07:39 -07:00
Nathan Walker
4ee1acb05c chore: fix color tests 2021-09-08 16:07:39 -07:00
farfromrefuge
58442fb454 feat: AbortController polyfill (#9333) 2021-09-08 16:07:39 -07:00
farfromrefuge
c4db847ded feat(color): added utilities and improved color parsing performance (#9110) 2021-09-08 16:07:39 -07:00
Nathan Walker
65f9598a0d feat(config): added option for ignoredNativeDependencies 2021-09-08 16:07:39 -07:00
Sergey Mell
2a4563716a fix(styling): change transform parameters parsing (#9481)
Fixed the incorrectly applied short form of "transform: translate" style property.

closes #5202
2021-09-08 16:07:39 -07:00
Eduardo Speroni
37c0731a8a fix(android): onSaveInstanceState should not crash when no rootView is set (#9447) 2021-09-08 16:07:39 -07:00
Osei Fortune
76499a5367 feat(android): vector drawable support (#9464) 2021-09-08 16:07:39 -07:00
Osei Fortune
b2f792324d feat(image-source): add saveToFileAsync, toBase64StringAsync & resizeAsync (#9404) 2021-09-08 16:07:39 -07:00
Nathan Walker
3aff057b99 revert: fix(android): nested dialog/fragment handling (#9495)
This reverts commit 4c547bb00c.
2021-09-08 16:07:39 -07:00
Igor Randjelovic
3e98d1e934 revert: feat(android): fragment transactions to use 'add' instead of 'replace' on fwd navigation (#8791)
This reverts commit e498c9d5bc.
2021-09-08 16:07:39 -07:00
farfromrefuge
e17e46974b feat(android): fragment transactions to use 'add' instead of 'replace' on fwd navigation (#8791)
Changes the behavior of android fragment transactions to use `add` instead of `replace` on forward navigation.

BREAKING CHANGE:

Changes the internal behavior of Android navigation:

* while navigating forward, the page navigated from is not unloaded anymore
* events order is changed in the sense that now `unloaded` happens after `navigatedFrom` instead of before

There are multiple plus sides to this:

* no more black views on navigation when using opengl (maps, ...)
* navigation is faster, especially the navigation back! No longer need to recreate the page anymore. Navigation forward also gets faster as we no longer unload the previous page
* navigatedFrom event happens faster
* this the default behavior used by most of the android native apps
2021-09-08 16:07:39 -07:00
Nathan Walker
aa9c9f3897 chore: cleanup 2021-09-08 16:07:38 -07:00
farfromrefuge
dd5f24a737 feat(core): make css parsers tree-shakable (#9496) 2021-09-08 16:07:38 -07:00
Rob
c3cadc7fd5 fix(ios): backgroundColor property on Button (#9524)
closes NativeScript/NativeScript#9523
2021-08-23 23:55:18 -07:00
Osei Fortune
b7b9d7c259 fix(frame): improve weakref guards (#9518) 2021-08-19 22:15:18 -07:00
Eduardo Speroni
2f630dc464 fix(android): do not call exitEvent on activity restart (#9517) 2021-08-18 09:09:50 -07:00
farfromrefuge
59d9271bce feat(webpack): improved svelte HMR (#9497)
* update svelte config to use svelte-loader

* handle null config

* fix: worker support in .svelte files & update snapshots

* fix after merge

Co-authored-by: halfnelson <dpershouse@gmail.com>
Co-authored-by: Igor Randjelovic <rigor789@gmail.com>
2021-08-11 11:42:53 +02:00
Nathan Walker
4c547bb00c fix(android): nested dialog/fragment handling (#9495) 2021-08-03 21:57:19 -07:00
Eduardo Speroni
d0f00e24d8 fix(core): correctly export setAutoSystemAppearanceChanged (#9489) 2021-07-28 13:13:45 -07:00
Eduardo Speroni
d45dea8471 fix(android): allow 0-length properties (#9485) 2021-07-26 14:52:19 -07:00
coolboy0961
f053001dc1 feat(android): provide ability to get registered broadCastReceiver (#9467) 2021-07-12 11:35:26 -07:00
Juan David Nicholls Cardona
7b800945dd fix(log): Allow passing optional params for logs (#9456) 2021-07-06 08:23:37 -07:00
Igor Randjelovic
f6faa4509a chore(release): @nativescript/core@8.0.8 2021-06-15 23:07:07 +02:00
Eduardo Speroni
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
Martin Guillon
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
Nathan Walker
58819c6e65 chore(release): @nativescript/core@8.0.7 2021-06-01 20:10:46 -07:00
Nathan Walker
3806b85fce feat(WebView): allow JS bound window frame navigation to be intercepted through loadStarted (#9430) 2021-06-01 16:35:43 -07:00
Nathan Walker
d3bc4d5b82 fix(core): guard unstable page/frame init contexts under async conditions (#9428) 2021-05-30 12:02:38 -07:00
Jason Cassidy
04381fa3e7 fix(animations): stop keyframe animations after View unloaded (#9421) 2021-05-30 11:56:28 -07:00
Nathan Walker
d589ac6000 fix(core): typings for Utils.queueMacrotask and static methods on Observable (#9425) 2021-05-28 14:06:12 -07:00
Janos Hrubos
263c920cb8 fix(box-shadow): support for 'none' (#9418) 2021-05-25 21:22:35 -07:00
Nathan Walker
4ef49f28aa chore(release): @nativescript/core@8.0.6 2021-05-20 15:21:24 -07:00
Osei Fortune
6cf4c5981b feat(Utils): add dismissSoftInput helper (#9392)
closes #4594

Co-authored-by: Nathan Walker <walkerrunpdx@gmail.com>
2021-05-13 08:43:59 -07:00
William Juan
dac36c6801 fix(a11y): add missing application event for fontScaleChanged (#9396) 2021-05-13 08:42:55 -07:00
William Juan
7a92c1646f fix(a11y): font size (#9395) 2021-05-13 08:02:34 -07:00
Osei Fortune
95596e8230 fix(Device): don't cache device language & region (#9394)
closes #6082
2021-05-12 12:51:35 -07:00
Osei Fortune
7e878f83a3 feat(web-view): disableZoom property (#9391) 2021-05-12 09:00:51 -07:00
Osei Fortune
64adf5ecfc feat(text-view): add returnPress (#9390)
closes #4882
2021-05-12 08:22:20 -07:00
William Juan
0b2c190662 fix(RootLayout): prevent android touch event to pass through views underneath (#9389) 2021-05-11 17:43:56 -07:00
Osei Fortune
f380782766 fix(ios): image with alpha resize (#9386)
closes #9385
2021-05-10 19:22:08 -07:00
Nathan Walker
686522d8c6 chore(release): @nativescript/core@8.0.5 2021-05-09 19:37:30 -07:00
Osei Fortune
f311151496 fix(android): image asset handling regarding requestLegacyExternalStorage (#9373) 2021-05-09 19:29:44 -07:00
Nathan Walker
342108c1af chore(release): @nativescript/core@8.0.4 2021-05-05 16:28:59 -07:00
Nathan Walker
868b4a47c6 chore: cleanup lint and prettier config 2021-05-05 15:59:06 -07:00
Nathan Walker
9ec404225e fix(core): typings for showModal correction (#9374) 2021-05-04 23:27:35 -07:00
Nathan Walker
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
Osei Fortune
a6cb46dac2 feat: add additional android global methods (#9365) 2021-04-29 19:06:39 -07:00