Commit Graph

6262 Commits

Author SHA1 Message Date
Martin Guillon
f80e6c6be6 fix(android): prevent “flashing” activity on app start
This was due to a change made a while back to fix an issue with resetRootView.
The consequence was that we were waiting for the frame to be “attachedToWindow” to load the first frame page.
That PR make it so that we apply that check/fix only when the activity was reset. Thus it wont happen on app start
2021-02-03 21:50:53 +01:00
matthewianmorgan
3ddfb5c34a fix(core): ObservableArray splice with start only (#9159) 2021-01-31 10:05:37 -08:00
Nathan Walker
c4972d7546 chore: fresh build of widgets
also reverts e002d72d41
2021-01-29 14:22:54 -08:00
Nathan Walker
8b26e954d9 chore: fix webpack config 2021-01-29 13:21:01 -08:00
Nathan Walker
01ea2a2f59 chore: webpack config consistency 2021-01-29 13:18:03 -08:00
mapo80
90d208c115 feat(webpack): allow passing env.appComponents and env.entries (#8898) 2021-01-29 13:12:26 -08:00
Dimitris - Rafail Katsampas
5fe27428e0 feat(android): FlexboxLayout support for isPassThroughParentEnabled (#8798) 2021-01-29 13:03:27 -08:00
Jivthesh M R
39547b3ef6 chore: code of conduct (#9014) 2021-01-29 12:41:16 -08:00
Hema Sankara Sai Ganesh Babu
42ea486fad chore: license badge (#9016) 2021-01-29 12:39:40 -08:00
Martin Guillon
e501273d16 perf(android): faster background color setter (#9120) 2021-01-29 12:21:47 -08:00
Martin Guillon
3a14a0a760 perf(core): no need for batchUpdated if no selector (#9121) 2021-01-29 12:19:15 -08:00
Gabriel Matos
28061e3d39 fix(ios): navigation via swipe crash fix (#9132) 2021-01-29 12:10:51 -08:00
Martin Guillon
963337e2e8 refactor: status bar improvements (#9154) 2021-01-29 12:06:00 -08:00
Nathanael Anderson
be52cefe67 fix(webpack): --env.uglify works properly now (#9165) 2021-01-29 12:04:25 -08:00
Igor Randjelovic
04a76415b7 feat(ios): build TNSWidgets as XCFramework (#9167) 2021-01-29 11:59:51 -08:00
Martin Guillon
58b2542997 feat(core): setSelection method for editable text components (#9175) 2021-01-28 15:32:22 -08:00
Martin Guillon
0928c4d030 chore: some eslint fixes (#9178)
* add `eslint-plugin-prettier` so that eslint can format code too
* fixed eslint config file:
   - wrong “prettier” extend
   - added config for eslint/prettier
* allow eslint/prettier to format JSON files except package.json files (which are formatted by npm)
2021-01-28 15:29:27 -08:00
AkshatChhapolia
c47b974ede chore: readme grammer (#9174) 2021-01-26 13:32:33 -08:00
Martin Guillon
c31bab1bf7 fix(ios): textfield resizing (auto width) on text change (#9176) 2021-01-26 13:27:18 -08:00
Osei Fortune
e002d72d41 fix(ios): force release of nsdata after saving image (#9177)
gc isn't cleaning up this fast enough when used in a loop e.g https://github.com/NativeScript/plugins/issues/71
2021-01-26 13:25:58 -08:00
Nathanael Anderson
79a5fc8975 fix(webpack): Angular no longer has issues handling {N} plugins without nativescript in name (#9172) 2021-01-26 09:28:10 -08:00
Nathan Walker
a26b807652 chore(release): @nativescript/core@7.1.4 7.1.4-core 2021-01-23 12:27:04 -08:00
Nathan Walker
1a3523ef22 fix(ios): getVisibleViewController maximum call stack exceeded (#9168)
Passed all the Automated tests.
2021-01-23 14:20:30 -06:00
Igor Randjelovic
cc65bdf141 Revert "Revert "ci: add workflow for legacy tns-core-modules""
This reverts commit 8ec6ad5a75.
2021-01-22 14:20:22 +01:00
Igor Randjelovic
8ec6ad5a75 Revert "ci: add workflow for legacy tns-core-modules"
This reverts commit 00dea4120b.
2021-01-22 14:09:20 +01:00
Igor Randjelovic
00dea4120b ci: add workflow for legacy tns-core-modules 2021-01-22 14:03:19 +01:00
Martin Guillon
d94b5984fc types: missing typings for iosIgnoreSafeArea (#9153) 2021-01-20 10:40:18 +01:00
Nathan Walker
376f3ebdd7 chore(release): @nativescript/core@7.1.3 7.1.3-core 2021-01-17 09:40:03 -08:00
Nathan Walker
4690162384 fix(android): BottomNavigation fragment child already has a parent (#9148)
closes https://github.com/NativeScript/NativeScript/issues/8132
closes https://github.com/NativeScript/NativeScript/issues/7901
closes https://github.com/NativeScript/NativeScript/issues/9051
closes https://github.com/NativeScript/NativeScript/issues/8251
2021-01-17 09:21:33 -08:00
Nathan Walker
29f2eb35de chore(release): @nativescript/core@7.1.2 7.1.2-core 2021-01-13 19:37:01 -08:00
Nathan Walker
7a79a8988b fix(webpack): support other workspace config styles 2021-01-13 16:07:14 -08:00
Nathan Walker
882aa42e85 feat(core): rollup additional Utils 2021-01-13 16:06:51 -08:00
Nathan Walker
b8d828bef9 chore(release): @nativescript/core@7.1.1 7.1.1-core 2021-01-13 08:22:47 -08:00
Igor Randjelovic
957a104f65 ci: fix paths 2021-01-05 19:12:07 +01:00
Igor Randjelovic
47ebb1d262 fix(core): const initializer in an ambient context (#9136)
fixes #9135
2021-01-05 19:03:42 +01:00
Nathan Walker
b52414c4ad chore: readme 2021-01-03 14:12:15 -08:00
Nathan Walker
79703a0a41 chore: readme 2021-01-03 14:09:36 -08:00
Nathan Walker
e5a15bab36 chore(release): @nativescript/core@7.1.0 7.1.0-core 2020-12-30 10:31:35 -08:00
Martin Guillon
9a380cd43e fix(core): prevent circular reference Frame <> Page (#9111) 2020-12-30 07:58:14 -08:00
Nathan Walker
9aad2dbdbc feat(ios): types for latest ios 14.3 with Xcode 12.3 (#9118) 2020-12-30 07:57:10 -08:00
Igor Randjelovic
b4857f87cb ci: add empty action for types 2020-12-28 14:38:57 +01:00
Igor Randjelovic
69b7fc377a ci: add workflows for different packages 2020-12-28 14:37:01 +01:00
Igor Randjelovic
875dc138a8 chore(release): @nativescript/webpack@4.0.0 4.0.0-webpack 2020-12-28 14:23:16 +01:00
Jamie Birch
1a0c643b68 fix: rollback CopyWebpackPlugin to v4.6.0 (#9099) 2020-12-28 13:51:23 +01:00
Dimitris - Rafail Katsampas
b47ce0a97c fix: android Tabs selected item color incorrectly applied (#9040)
* fix: selected-item-color gets applied to wrong TabStripItems

* chore: Added selection colors to 2 ui examples.

* chore: Removing used for testing.
2020-12-28 13:50:23 +01:00
Dimitris - Rafail Katsampas
e16bc606ef fix: android ActivityIndicator custom color affecting other indicators on the page (#9026)
* fix(core): Setting color of an Android ActivityIndicator changed the color of the rest of ActivityIndicators in the same page.

* test: Updated ActivityIndicator sample.

* perf: Call mutate() only if color is actually changed.
2020-12-28 13:48:14 +01:00
Martin Guillon
d09a564296 fix: android modal not following activity windowSoftInputMode (#9042)
* fix android modal not following activity windowSoftInputMode

Also added an android modal parameter to set a custom windowSoftInputMode

* fix softInputMode set too soon

* Update packages/core/ui/core/view/index.android.ts

Co-authored-by: Igor Randjelovic <rigor789@gmail.com>

* Update packages/core/ui/core/view-base/index.d.ts

Co-authored-by: Igor Randjelovic <rigor789@gmail.com>

* Update packages/core/ui/core/view-base/index.ts

Co-authored-by: Igor Randjelovic <rigor789@gmail.com>

Co-authored-by: Igor Randjelovic <rigor789@gmail.com>
2020-12-28 13:47:00 +01:00
Nathanael Anderson
4204ac8308 fix(compat): add screen and device aliases (#9088)
* fix: Add old names to platform for compatibility

* Simplify code

* fix: apply changes to definitions

Co-authored-by: Igor Randjelovic <rigor789@gmail.com>
2020-12-28 13:46:04 +01:00
Martin Guillon
ea67422fcf feat: iosIgnoreSafeArea property (#9092)
* feat: ios added ignoreSafeArea property

* fix: ensure it works when no viewControllerView
2020-12-28 13:39:55 +01:00
Igor Randjelovic
9391b44996 fix(tabs): ios safeArea calculation (#9089)
* fix(tabs): ios safeArea calculation

* feat(tabs): respect iosOverflowSafeArea value
2020-12-28 13:38:28 +01:00