Commit Graph

5976 Commits

Author SHA1 Message Date
Martin Yankov
7e891a91f9 fix-next: restrict to safe area when transform (#6405) 2018-10-15 10:17:56 +03:00
Nicu
829d18b56d feat(application-settings): implemented allKeys method (#6371) 2018-10-12 13:28:48 +03:00
Alexander Vakrilov
56a1b120af fix: Don't crash on missing resources in tab-view and action-bar (#6388) 2018-10-11 21:31:19 +03:00
Manol Donev
5b77017d37 refactor(android): root fragment manager usage (#6399) 2018-10-11 19:02:41 +03:00
Manol Donev
307172003d fix: nested fragments interact thru child fragment manager (#6293) 2018-10-11 17:44:30 +03:00
Martin Yankov
d91bfd8e11 fix-next: drawer plugin viewcontroller init (#6379) 2018-10-11 15:16:48 +03:00
Emil Tabakov
7cb3a0791f chore: unify issue templates (#142) 2018-10-10 18:06:05 +03:00
Manol Donev
b2246ad089 chore: fix nav tests with cli next (#6374) 2018-10-10 15:52:23 +03:00
Martin Yankov
04233b65c1 fix-next: ios 10 safe area backwards compat (#6364)
* fix-next: ios 10 safe area backwards compat

* refactor: update a comment

* fix-next: ios 10 page on layout fix

* fix-next: handle ios 11 flat action bar
2018-10-09 10:16:31 +03:00
Alexander Vakrilov
e3d5f0d409 fix(tab-view): Title and icon positioning (#6362)
* fix(tab-view): Title and icon positioning

* refactor: review FB addressed
2018-10-08 11:23:34 +03:00
Zdravko
7456a83f3c fix: CLAuthorizationStatus order and values (#6338)
Based on https://developer.apple.com/documentation/corelocation/clauthorizationstatus
2018-10-08 11:19:46 +03:00
Martin Hettiger
ae6a661ecd feat: implement capitalization type option for prompt dialogs (#6325)
* feat: implement capitalization type option for prompt dialogs

Allow setting auto capitalization to "none", "all", "sentences" and "words".
This feature works on both Android and iOS.

* feat: add capitalization type examples to test page for dialogs
2018-10-05 17:15:54 +03:00
Morten Sjøgren
1232d1edfd feat(tslib): add tslib helpers to global (#6351)
* feat(tslib): add tslib helpers to global

* Adds tslib as a dependency to tns-core-modules
* Replaces globals/decorators with globals/tslib
* Adds support for async/await, rest and spread operators.

* refactor: rename tslib to ts-helpers to avoid confusion with npm package
2018-10-05 17:12:45 +03:00
Emil Tabakov
c3fabd66f7 chore: unify issue templates (#6350)
* chore: update community files

* chore: delete redundant file

* chore: missing bracket
2018-10-05 14:18:39 +03:00
Svetoslav
7e2ba9b540 chore: update n-dev- appium deps (#6358) 2018-10-05 03:44:09 +03:00
Manol Donev
65c216c547 chore: add iOS 12 entry (#6354) 2018-10-04 17:10:04 +03:00
Manol Donev
436a318de5 fix(android): second livesync (#6330) 2018-10-04 15:57:11 +03:00
Manol Donev
0bf6dc2e93 fix(android): nested frames on app suspend/resume (#6339) 2018-10-04 14:31:57 +03:00
Martin Yankov
2e3c0a812a fix-next: apply repeater onLayout initial values (#6344) 2018-10-04 13:45:51 +03:00
Vasil Chimev
0f067a03ca fix-next(flexbox): flex end for justify content (#6337)
* fix-next(flexbox): flex end for justify content

* refactor: add lessOrCloseEnough assert method
2018-10-03 16:39:39 +03:00
Vasil Chimev
982acdc168 feat(iOS): Safe Area Support (#6230) 2018-09-28 18:21:50 +03:00
Martin Guillon
46705ee332 refactor(core-modules): implement createNativeView and initNativeView for all components
refactor(core-modules): implement createNativeView and initNativeView for all components
2018-09-26 13:59:12 +03:00
Hamdi Wanis
549aaa8218 feat: Add 3d rotaion (#126)
* feat: Add 3d rotaion

* feat: add 3d rotation

* feat: add 3d rotation
2018-09-21 13:52:27 +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
5f34a5871f feat: add ability to pass touch event thru parent view (#135)
* [WIP] feat: enhance hit-testing support
* refactor(ios): update passthroughParent logic as per reqs
* refactor: move isPassthroughParentEnabled to LayoutBase
* refactor: renames
2018-09-18 18:59:15 +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
Dick Smith
85965eb484 fix: error ... executing doInBackground() #138 (#139)
As requested in ST 1341351, this PR replaces the throw if `files` is null.
2018-09-12 11:02:52 +03:00
Reinaldo Antonio Camargo Rauch
ebcda8e4d3 fix: add support for gzipped content in http error stream (#134)
When the HTTP server responded with an error (statusCode >= 400),
the readResponseStream didn't decode the inStream as gzip even if
the request sended had the Content-Encoding header.

My fix moves the code that parses Content-Encoded header and
decodes gzipped body out the test to get the input stream to the
point where we are certain that we have a inStream that we can
decode.
2018-09-11 16:09:19 +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
6211db3d1c refactor: remove obsolete ViewHelper.setBackground method (#137) 2018-09-05 17:36:16 +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
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
Vladimir Amiorkov
0973992350 fix: Clear the child of the saved specs before clearing them (#131)
* fix: Clear the child of the saved specs before clearing them

* chore: Remove second semicolomn
2018-08-24 17:04:36 +03:00
Manol Donev
a1c570c702 fix(ios): nowrap label measure in horizontal stack layout (#6186) 2018-08-17 18:24:06 +03:00