Commit Graph

895 Commits

Author SHA1 Message Date
Eduardo Speroni
90b8718138 fix(android): only attach if activity is CREATED (#9552) 2021-09-18 13:27:21 -07:00
Nathan Walker
76dacb30ee chore(release): @nativescript/core@8.1.2 2021-09-15 10:08:05 -07:00
Nathan Walker
a38e2ca3b9 fix(android): background-image 'none' (#9547)
closes https://github.com/NativeScript/NativeScript/issues/9546
2021-09-15 19:04:26 +02:00
Peter Staev
a51b628532 fix(core): Add missing required metadata filters (#9543) 2021-09-11 12:32:05 -07:00
Nathan Walker
d92c96b16d chore(release): @nativescript/core@8.1.1 2021-09-10 10:25:49 -07:00
Nathan Walker
eb0d000fe1 revert: feat: requestLayout performance improvements (#9122)
This reverts commit 4f5f0aae77.

This commit breaks back-navigation in certain cases, most prominently with Button pseudo classes. We plan to revisit this.
2021-09-10 18:59:08 +02:00
Nathan Walker
a5b1a18915 chore(release): @nativescript/core@8.1.0 2021-09-08 16:12:11 -07:00
Nathan Walker
433742177e chore: 8.1.0-rc.0 2021-09-08 16:12:11 -07:00
Igor Randjelovic
ffab4c3165 feat: Frame replacePage by entry (#9460)
* feat: Frame replacePage by entry

* 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>

* feat(webpack): use svelte-loader and fallback to svelte-loader-hot

Allows running older projects

* feat: allow overwriting replacePage transition

Co-authored-by: farfromrefuge <martin.guillon@akylas.fr>
Co-authored-by: halfnelson <dpershouse@gmail.com>
2021-09-08 16:12:11 -07:00
Nathan Walker
86ff418166 fix(ios): actionitem coloring with 15+ 2021-09-08 16:12:11 -07:00
Nathan Walker
96ddd29d92 chore: 8.1.0-alpha.8 2021-09-08 16:12:11 -07:00
Igor Randjelovic
5532903ad8 revert: clipsToBounds support
This feature needs some more work & will be included in a future version
2021-09-08 16:12:11 -07:00
Eduardo Speroni
4632aeaae8 fix(modal): persist modal through configuration changes (#9533) 2021-09-08 16:12:11 -07:00
Nathan Walker
75afa325ac chore: 8.1.0-alpha.7 2021-09-08 16:12:11 -07:00
Nathan Walker
011e869cd5 fix(ios): actionBar title to use appearance api on ios15+ (#9534)
https://github.com/NativeScript/NativeScript/pull/9530
2021-09-08 16:12:11 -07:00
Nathan Walker
bdb6554baf chore: 8.1.0-alpha.6 2021-09-08 16:12:11 -07:00
Igor Randjelovic
2bfccbbea6 fix(ios): actionBar to use appearance api on ios13+ (#9530) 2021-09-08 16:12:11 -07:00
Nathan Walker
e4c0ed32c9 chore: 8.1.0-alpha.5 2021-09-08 16:12:11 -07:00
Nathan Walker
6fc239dc56 fix(ios): resiliency to frame controller viewDidDisappear 2021-09-08 16:11:49 -07:00
Martin Guillon
5452b89735 chore: color refactoring 2021-09-08 16:07:39 -07:00
Martin Guillon
61c3a0a667 fix: Color.darken fix 2021-09-08 16:07:39 -07:00
Nathan Walker
4fd1d27001 chore: 8.1.0-alpha.4 2021-09-08 16:07:39 -07:00
Nathan Walker
d0f0546531 chore: remove files not needed within core/css 2021-09-08 16:07:39 -07:00
Nathan Walker
4ac48d4601 chore: 8.1.0-alpha.3 2021-09-08 16:07:39 -07:00
farfromrefuge
b4dc45edb3 fix(ios): prevent views from being measured if no native view (#9511) 2021-09-08 16:07:39 -07:00
farfromrefuge
8c9407c48e fix: allow ignoring reduce-css-calc w/ webpack without error (#9510) 2021-09-08 16:07:39 -07:00
Martin Guillon
f554b796ef fix: css colors not parsed correctly within background property 2021-09-08 16:07:39 -07:00
Nathan Walker
c68d88d1d3 chore: 8.1.0-alpha.1 2021-09-08 16:07:39 -07:00
Nathan Walker
2c3f5f2638 chore: 8.1.0-alpha.0 2021-09-08 16:07:39 -07:00
Nathan Walker
430663b1c4 chore: updated ui-mobile-base build 2021-09-08 16:07:39 -07:00
farfromrefuge
1ffc1628d0 feat(android): support clipToBounds (#9508)
* performance improvements around border handling

BREAKING CHANGE:

* if you have broder-radius or clip-path, it will clip by default
2021-09-08 16:07:39 -07:00
farfromrefuge
4f5f0aae77 feat: requestLayout performance improvements (#9122)
It was unnecessary to make multiple calls requestLayout inside initNativeView (properties set)
2021-09-08 16:07:39 -07:00
farfromrefuge
0d0d0382ad fix(android): use nativeTextViewProtected internally (#9483) 2021-09-08 16:07:39 -07:00
Nathan Walker
e00f9772d8 chore: add guard around getLifecycle 2021-09-08 16:07:39 -07:00
farfromrefuge
e7b30af394 fix(android): prevent potential crash when app goes to background (#9347) 2021-09-08 16:07:39 -07:00
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