Commit Graph

4929 Commits

Author SHA1 Message Date
Martin Yankov
08031cc291 fix iOS 10 fictional safe area layout 2018-09-20 18:33:58 +03:00
Vasil Chimev
23cfc58ce1 test(safe-area): add tab-view examples 2018-09-20 18:33:58 +03:00
Vasil Chimev
f7dfcb086c test(safe-area): update application
Update styles -> `app.css`.
Update structure -> `home/home-page.xml`.
Add Grid + Wrap examples.
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
3a7a944ba1 test(safe-area): add scroll view with grid layout examples 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
a1d240786f test(safe-area): add navigation scroll view example 2018-09-20 18:33:57 +03:00
Vasil Chimev
0a0e0f0034 test(safe-area): update scroll view wrap layout examples 2018-09-20 18:33:57 +03:00
Vasil Chimev
c0ba158818 test(safe-area): add nested wrap layout examples 2018-09-20 18:33:57 +03:00
Vasil Chimev
ff8ddf8057 test(safe-area): add scroll view wrap layout examples 2018-09-20 18:33:57 +03:00
Vasil Chimev
ccc2bc9543 test(safe-area): add nested wrap layout examples 2018-09-20 18:33:57 +03:00
Vasil Chimev
d6f29dc6bc refactor: wrap layout 2018-09-20 18:33:57 +03:00
Vasil Chimev
5c748b9ca7 test(safe-area): update wrap layout examples 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
Vasil Chimev
3414f3660e test(safe-area): update wrap layout examples 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
a9e37012bc test(safe-area): add wrap layout examples 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
Vasil Chimev
2d0d36c6d8 test(safe-area): add component examples
Update `nativescript-dev-webpack` dependencies.
2018-09-20 18:33:57 +03:00
Martin Yankov
30be10e4de add scrollview safe area examples 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
ef4489781e add horizontal stack examples to app 2018-09-20 18:32:42 +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
34441b4c07 chore(): typo in safe area e2e app 2018-09-20 18:32:42 +03:00
Martin Yankov
fae5bae4e4 chore(): add app for ios safe area tests 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
Svetoslav
86be5b6472 chore: extend swipe-event test (#6278)
* chore: extend swipe-event test

* chore: remove automationText="output"
2018-09-18 15:12:07 +03:00
Manol Donev
0a529133ac docs: update changelog for 4.2.1 2018-09-18 11:39:27 +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
Vasil Chimev
2d14c56014 release: cut the 4.2.1 release 2018-09-17 15:55:23 +03:00
Svetoslav
e53bdd4f47 tests: include e2e test for "Android Back Btn Events" (#6269)
* tests: include e2e test for "Android Back Btn Events"
2018-09-17 15:37:38 +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
Martin Yankov
bd91bfb28a docs: gather snippets from apps app folder only (#6266) 2018-09-14 16:15:45 +03:00
radeva
f512054157 fix: typo 2018-09-11 13:20:34 +03:00
radeva
f14a246103 docs: change link from forums to Stack Overflow 2018-09-10 18:31:24 +03:00
Manol Donev
cca548d31a refactor: AndroidFrame.hasOwnActivity cleanup (#6241) 2018-09-10 11:25:08 +03:00
Nick Iliev
b9fc373eb8 feat: add platform declarations for Android API 28 (Android 9) (#6243)
* feat: add platform declarations for Android API 28 (Android 9)

* updates support file for Android 28 declarations
2018-09-07 15:36:31 +03:00
Svetoslav
9f23be1a2c fix: include mocha and chai typings (#6246) 2018-09-07 14:49:21 +03:00
Manol Donev
ca0043701b refactor: remove obsolete ViewHelper.setBackground method (#6240) 2018-09-05 17:35:59 +03:00
Teodor Dermendjiev
f54f71bc60 feat(iOS): update platform declarations
- add `objc-x86_64` architecture typings
- remove `objc-i386` architecture typings
- add `vector` typings
- change
```
(method) NSArray<ObjectType>.arrayWithArray<{}>(array: NSArray<{}>): NSArray<{}>
```
to
```
(method) NSArray<ObjectType>.arrayWithArray<string>(array: string[] | NSArray<string>): NSArray<string>
```

* Export typings on for iOS 11 x86_64

* fix: Export typings with fixed NSArray parameters

* Export typescript declarations for iOS 11.4

* Update reference path with the new typings folder

* feat: Create a script for auto typings generation

* Export typings on for iOS 11 x86_64

* fix: Export typings with fixed NSArray parameters

* Export typescript declarations for iOS 11.4

* Update reference path with the new typings folder

* feat: Create a script for auto typings generation

* chore: update .gitignore and .npmignore

* fix: Update constructor methods accepting NSArray parameters

* chore: Update manual changes flag for typings generation
2018-09-05 11:50:02 +03:00
Manol Donev
43f0fd0ffc refactor: remove ununsed Layout class (#6228) 2018-08-31 15:00:16 +03:00