Commit Graph

1110 Commits

Author SHA1 Message Date
Vasil Chimev
bf070f105d refactor: update safe area traces 2018-09-20 18:33:59 +03:00
Martin Yankov
f805bc90ad make webview to inherit from ContainerView 2018-09-20 18:33:59 +03:00
Martin Yankov
6e0ee3f344 remove locationOnScreen usage 2018-09-20 18:33:59 +03:00
Martin Yankov
fea47e838d change the default values for android safe area 2018-09-20 18:33:59 +03:00
Martin Yankov
50a6073f33 move frame position conversion methods to ios namespace 2018-09-20 18:33:59 +03:00
Martin Yankov
5b2f8c7248 remove getSafeArea and geFullscreen methods 2018-09-20 18:33:59 +03:00
Martin Yankov
ee004b4580 enable iosExpandSafeArea property on Views too 2018-09-20 18:33:58 +03:00
Vasil Chimev
db7f913072 feat: apply insets to flexbox row layout 2018-09-20 18:33:58 +03:00
Vasil Chimev
c02f062457 feat: apply insets to absolute layout 2018-09-20 18:33:58 +03:00
Vasil Chimev
12a9c5181e feat: apply insets to dock layout 2018-09-20 18:33:58 +03:00
Vasil Chimev
e66a6fa286 feat: apply insets to repeater 2018-09-20 18:33:58 +03:00
Vasil Chimev
429ac8712f feat: add iosExpandSafeArea property
Also apply insets on page's children.
2018-09-20 18:33:58 +03:00
Martin Yankov
35ad8ba3b0 apply bottom and right safe area inset to views 2018-09-20 18:33:58 +03:00
Martin Yankov
496ccb4acf layout viewcontroller in fullscreen if has childviewcontrollers 2018-09-20 18:33:58 +03:00
Martin Yankov
08031cc291 fix iOS 10 fictional safe area layout 2018-09-20 18:33:58 +03:00
Martin Yankov
8f8001eac8 fix ts errors 2018-09-20 18:33:58 +03:00
Martin Yankov
8df5fbd7a8 refactor safe area application code 2018-09-20 18:33:58 +03:00
Vasil Chimev
1858cba4ed fix(scroll-view): wrong locationOnScreen rounding 2018-09-20 18:33:57 +03:00
Vasil Chimev
52f8e67203 fix(scroll-view): apply insets to layoutChild method
Delete `*-nav-page.*` files reproducing the issue.
Update `home-page.xml` with `ScrollView` to reproduce the issue.
2018-09-20 18:33:57 +03:00
Vasil Chimev
d6f29dc6bc refactor: wrap layout 2018-09-20 18:33:57 +03:00
Vasil Chimev
2a9d1acb6f refactor: wrap layout safe area support 2018-09-20 18:33:57 +03:00
Martin Yankov
017534c30d add listview support for safe area 2018-09-20 18:33:57 +03:00
Vasil Chimev
726c5bb913 refactor: apply insets to wrap layout 2018-09-20 18:33:57 +03:00
Martin Yankov
0f7f2b969b add safe area support for scroll view 2018-09-20 18:33:57 +03:00
Martin Yankov
cddc0a682a fix safe area for ios 10 and less 2018-09-20 18:33:57 +03:00
Martin Yankov
f3e89371ec add right and bottom to insets 2018-09-20 18:32:42 +03:00
Martin Yankov
9b7fb990b3 ensure correct position values after safe area reposition 2018-09-20 18:32:42 +03:00
Martin Yankov
d4ec355466 feat(ios): enable safe area for stack and grid 2018-09-20 18:32:41 +03:00
Alexander Vakrilov
71107533bb refactor: guard livesync for cases the app is not yet started (#6276) 2018-09-20 09:47:53 +03:00
Manol Donev
262568314b feat: add ability to pass touch event thru parent view (#6204)
* feat: enhance hit-testing support
* refactor(android): update passthroughParent logic as per reqs
* refactor: move isPassthroughParentEnabled to LayoutBase
* Update view-common.ts
* refactor: touchListener logic
* refactor: renames
* added ui test page
2018-09-18 18:59:40 +03:00
Manol Donev
6c9fa16f6e fix(android): parallel navigations should not be triggered (#6275) 2018-09-18 11:25:31 +03:00
Alexander Vakrilov
1db1e81174 docs: document eachChild callback function (#6253) 2018-09-17 22:34:26 +03:00
Alexander Vakrilov
12fade7155 fix: Page and Frame isLoaded undefined checks (#6255)
* fix(view): isLoaded handling

closes https://github.com/NativeScript/NativeScript/issues/6179

* refactor: Error handling code in onCreateView
2018-09-17 15:37:29 +03:00
Alexander Vakrilov
8575c60b13 fix(modals): application activityBackPressed event not fired for modals (#6261) 2018-09-17 15:37:16 +03:00
Martin Guillon
8a5f73055e fix(gestures)propagate touch to parent so that gestures can work (#6171)
* propagate gesture touch to parent so that gestures can work

* test: swipe passtrough test
2018-09-17 10:11:50 +03:00
Manol Donev
cca548d31a refactor: AndroidFrame.hasOwnActivity cleanup (#6241) 2018-09-10 11:25:08 +03:00
Manol Donev
ca0043701b refactor: remove obsolete ViewHelper.setBackground method (#6240) 2018-09-05 17:35:59 +03:00
Manol Donev
43f0fd0ffc refactor: remove ununsed Layout class (#6228) 2018-08-31 15:00:16 +03:00
Rakesh Girase
97a7b7ea32 5868 observable array reduce bug (#6219)
* 5868 ObservableArray Reduce Bug

* 5868 ObservableArray Reduce Bug
tslint fixes
2018-08-28 13:54:02 +03:00
Manol Donev
a1c570c702 fix(ios): nowrap label measure in horizontal stack layout (#6186) 2018-08-17 18:24:06 +03:00
Manol Donev
a8d016c6d7 fix(ios): listview scrollToIndex crash with async data (#6182) 2018-08-17 17:09:48 +03:00
Manol Donev
0f2192d4d7 refactor: clean up unused sdkVersion lazy eval (#6194) 2018-08-17 17:04:44 +03:00
Manol Donev
22cb539c9d fix(android-next): force frame fragment disposal on unload (#6189) 2018-08-17 11:31:44 +03:00
Peter Staev
2ee1d7dbd5 fix(android/platform): reinitialise screen metrics on orientation change (#6164)
* fix(android/platform): reinitialise screen metrics on orientation change

* fix(android/platform): reinitialise screen metrics on orientation change
2018-08-10 10:28:43 +03:00
Alexander Vakrilov
ec24c5a96f fix(list-view): Layout list-view items on request (#6159)
* test: list items relayout example

* fix(list-view): Layout list-view items on request

* refactor(tests): refactor list-view tests imports
2018-08-09 18:19:56 +03:00
Vasil Chimev
17e0dcc5ed chore: add npm version script (#6168)
* chore: update versions

* Update README.md

* docs: add changelog for 4.2.0 (#6165)

* chore: update versions

* chore: update versions

* chore: set versions of packages to 4.2.0

The versions of packages to reflect in `master` to reflect the `latest` official release in `npm`.
Bumping up versions will execute in CI job through the `npm --no-git-tag-version version minor` command.
This is to unify the release process across the `NativeScript`, `nativescript-angular` and `nativescript-dev-webpack` repositories.

* chore: add npm version script

* docs: add release section to CONTRIBUTING.md

* chore: update npm version script

* chore(deps): update to widgets@next

* chore(deps): update to widgets@next

* docs(CONTRIBUTING): update Releasing new versions section

Add a note that these instructions concern NativeScript Core Team Members.
2018-08-09 11:11:46 +03:00
Nick Iliev
f1bef481e6 feat(android): add Bluetooth connectivity type for Android (#6162)
* feat(android): add Bluetooth connectivity type for Android

* Update connectivity.d.ts
2018-08-09 10:25:32 +03:00
Manol Donev
6da1b33b50 refactor: update getSupportFragmentManager cast (#6155) 2018-08-07 13:45:48 +03:00
Nikolay Tsonev
2f7c4b8ab7 enabling reportProgress property for NativeScirpt Angular's HTTPClient (#6154) 2018-08-07 11:59:37 +03:00
Manol Donev
cc19b400b9 fix(android): suppress reflection for default animations (#6141)
Fixes `Error: java.lang.CloneNotSupportedException: Class android.support.v4.app.FragmentManagerImpl$AnimationOrAnimator doesn't implement Cloneable` in specific projects.

Related to #5785
Related to #6129 

BREAKING CHANGE


Before:
Default fragment enter animation was Android version specific

After:
Default fragment enter animation is now fade animation for all Android versions

You can customise the transition per navigation entry or globally via the [navigation transitions API](
https://docs.nativescript.org/core-concepts/navigation#navigation-transitions)
2018-08-02 16:01:52 +03:00