Commit Graph

5083 Commits

Author SHA1 Message Date
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
Martin Yankov
c3ee667015 minor fix for page options helper 2018-09-18 17:50:14 +03:00
Martin Yankov
226ab3caa6 add test for page overlay controls 2018-09-18 16:37:59 +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
Martin Yankov
8a7d672703 change buildUI function to accept options param 2018-09-18 11:25:28 +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
Vasil Chimev
6a07b04df1 test(safe-area): add flexbox layout tests 2018-09-13 15:20:59 +03:00
Vasil Chimev
1f75e944f2 test: refactoring and formatting 2018-09-13 11:27:47 +03:00
Vasil Chimev
b871950f8a test(safe-area): add wrap layout tests 2018-09-12 17:01:25 +03:00
Vasil Chimev
edf2d013d1 test(safe-area): add absolute layout tests 2018-09-12 16:14:06 +03:00
Vasil Chimev
cdcb3549b0 test(safe-area): add stack layout tests 2018-09-12 15:32:06 +03:00
Vasil Chimev
74b84e5c1a test(safe-area): add dock layout tests 2018-09-11 16:13:44 +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
Martin Yankov
c9f8de9d7c move safe area tests to a new category 2018-09-10 16:53:52 +03:00
Martin Yankov
16a131f040 Merge branch 'master' into ios-safe-area 2018-09-10 16:13:25 +03:00
Martin Yankov
ce59a3d7a1 wip grid layout tests 2018-09-10 16:12:17 +03:00
Manol Donev
cca548d31a refactor: AndroidFrame.hasOwnActivity cleanup (#6241) 2018-09-10 11:25:08 +03:00
Vasil Chimev
131a2248ef test: grid layout safe area 2018-09-07 17:27:35 +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
Vasil Chimev
8df6971f35 test: extract layout-tests-helper 2018-09-07 14:45:58 +03:00
Vasil Chimev
1c05c8b45e test: refactor flexbox layout tests 2018-09-07 14:02:04 +03:00
Martin Yankov
9f7bb0f5ae Add WIP Gridlayout tests 2018-09-05 17:59:02 +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
Vasil Chimev
acb544b16d tests: add iosOverflowSafeArea=false to Flexbox 2018-09-05 10:19:38 +03:00
Vasil Chimev
d5726b8310 tests: comment out page scroll content tests 2018-09-04 14:16:24 +03:00
Vasil Chimev
e1828d56cd refactor: rename iosExpandSafeArea to iosOverflowSafeArea
Update type definitions.
2018-09-04 11:26:20 +03:00
Vasil Chimev
4379760dab refactor: delete isContentScrollable function
BREAKING CHANGES:

The `scrollableContent` property is no more - use `iosExpandSafeArea` instead.
2018-09-04 10:25:28 +03:00
Martin Yankov
4fceb54451 fix tabview safe areas 2018-09-04 10:23:35 +03:00
Vasil Chimev
9553535d2d tests: throw modalCloseCallback with timeout
This is to avoid failures in tests execution where `modalCloseCallback` throws.
Delete unused imports and a const.
2018-09-03 17:04:53 +03:00
Martin Yankov
4f8d4a66cd fix scrollview 2018-09-03 14:48:18 +03:00
Manol Donev
43f0fd0ffc refactor: remove ununsed Layout class (#6228) 2018-08-31 15:00:16 +03:00
Vasil Chimev
7aed1e2b95 chore(tests): update runtimes to 4.2 2018-08-30 22:53:03 +03:00
Vasil Chimev
e979139aff test: delete PAGE.test_percent_margin_support
This case has been handled per layout.
2018-08-30 22:19:32 +03:00
Vasil Chimev
9f8d15701f refactor: add locationInWindow usage 2018-08-30 15:11:22 +03:00
Martin Yankov
8f2268b492 add safe area support to flexbox 2018-08-29 16:10:32 +03:00
Martin Yankov
7c64910268 change colors to more contrasting ones 2018-08-29 16:08:47 +03:00
Martin Yankov
f3b3a47eaa remove rounding when conversing to native pixels 2018-08-29 16:07:23 +03:00
Vasil Chimev
fc64bfb551 chore: fix a tslint error 2018-08-29 13:30:30 +03:00