Commit Graph

1145 Commits

Author SHA1 Message Date
Svetoslav
aca7af489f Merge pull request #6584 from NativeScript/release-5.0.3
docs: cut the 5.0.3 release
2018-11-20 16:50:08 +02:00
SvetoslavTsenov
d703f7a42d doc: cut the 5.0.3 release 2018-11-20 15:18:05 +02:00
Martin Yankov
f90995f8f9 fix(ios): scrollview safe area when no scroll (#6568) 2018-11-19 09:23:06 +00:00
Leonardo Donelli
efe331862f fix: doc of transitionAndroid property of NavigationEntry interface (#6563) 2018-11-15 20:10:29 +00:00
Martin Yankov
51a191f396 fix(ios): safe area handling in scrollview (#6561) 2018-11-15 13:07:15 +00:00
Dick Smith
db33cf313c fix: crash on Android Tab-View #6466 (#6467)
* fix: crash on Android Tab-View NativeScript#6466

This fix has been tested in production with no new issues occurring.

Long-term solution would be one of the following, though:
1. reintroduce overrides for `saveState`/`restoreState` in the current PagerAdapter implementation (removed on this commit NativeScript@ac04ede#diff-f1459d509d1432b432c29bcd30e462fbL97)
2. use FragmentPagerAdapter
3. use FragmentStatePagerAdapter

Both 2 and 3 manage the save/restore cycles. The main difference between 2 and 3 is that 2 uses more memory, but allows for quicker switching between Fragments than 3. Since tabs should usually be limited to 5 or less, this may be the best choice to maintain performance, which is important for top level navigation tabs.

When I have more time I may experiment with these options myself to see what the difference to performance and memory consumption is for each.

* refactor: _commitCurrentTransaction method+comment

* chore: fix typo

* fix: missing class definition
2018-11-14 15:53:38 +00:00
Manol Donev
7df8038d09 fix: nested frames order with tabs & suspend/resume (#6528) 2018-11-14 10:20:52 +02:00
Nathan Walker
950fdcf5e7 fix(image): uncaught error in promise with image handling (#6453) 2018-11-13 16:49:37 +00:00
Svetoslav
ed2e9083e1 release: cut the 5.0.2 release (#6522) 2018-11-07 21:01:05 +02:00
Shyam Seshadri
7e7c050064 feat: add number and phone input types for prompt dialog (#6365) 2018-11-07 17:32:20 +02:00
Vladimir Amiorkov
af5eb7321b fix: Resolve incorrect name of listener when unsubscribing (#6487) 2018-11-07 14:32:31 +02:00
Manol Donev
7d21b5c9ab fix(android): IllegalStateException with tabview&nested frames (#6495) 2018-11-07 14:30:22 +02:00
Manol Donev
999e3780ec fix(android): back navigation on app suspend/resume (#6489) 2018-11-07 14:29:46 +02:00
Manol Donev
7fbdc7adc8 fix: layoutChanged event in landscape (#6520) 2018-11-07 14:23:02 +02:00
Manol Donev
41ba93de41 fix(android): IllegalStateException with tabview&nested frames (#6495) 2018-11-05 16:17:51 +02:00
Manol Donev
fac970e753 fix(android): back navigation on app suspend/resume (#6489) 2018-11-02 17:31:52 +02:00
Vladimir Amiorkov
2933a9a934 fix: Resolve incorrect name of listener when unsubscribing (#6487) 2018-11-02 15:33:17 +02:00
Svetoslav
f0f0faf84e chore: cut the 5.0.1 release (#6484) 2018-11-01 12:13:47 +02:00
Alexander Djenkov
61bda9ecdf fix(tab-view-android): change androidOffscreenTabLimit to 1 when using bottom tabs (#6476) 2018-10-30 14:41:38 +02:00
Martin Yankov
e20d85f84f fix-next(ios): handle nesting in proxyViewContainer ng (#6475) 2018-10-30 14:41:38 +02:00
Alexander Djenkov
371fc9b647 fix(tab-view-android): change androidOffscreenTabLimit to 1 when using bottom tabs (#6476) 2018-10-30 14:24:55 +02:00
Martin Yankov
58c9d424f5 fix-next(ios): handle nesting in proxyViewContainer ng (#6475) 2018-10-30 14:00:00 +02:00
Manol Donev
206cc53fd6 Revert "fix-next(android): restore fade animation for simulated nav (#6463)" (#6473)
This reverts commit 448936d6e6.
2018-10-29 22:13:02 +02:00
Martin Yankov
25df69442f fix-next: handle view controller nesting in ng (#6472) 2018-10-29 22:13:02 +02:00
Manol Donev
b8ca3a4ef8 fix-next(android): restore fade animation for simulated nav (#6463) 2018-10-29 22:13:02 +02:00
Todor Petrov
7f45c0195c fix-next: correct raising of layoutChanged event (#6457)
Currently the layoutChanged event can be raised even when there is no change due to safe area calculations.
2018-10-29 22:13:02 +02:00
daviditsygin
127d6dd104 docs(iOS): update HtmlView documentation link (#6335)
The old link was a 404.
2018-10-29 22:13:02 +02:00
Martin Yankov
f261834719 fix-next: handle action bar safe area nesting (#6455) 2018-10-29 22:13:02 +02:00
Manol Donev
c217f12c8f fix-next(android): exit fragment animation (#6421) 2018-10-29 22:13:02 +02:00
Manol Donev
95c4ec5a96 Revert "fix-next(android): restore fade animation for simulated nav (#6463)" (#6473)
This reverts commit 448936d6e6.
2018-10-29 19:43:34 +02:00
Martin Yankov
7625d6cb21 fix-next: handle view controller nesting in ng (#6472) 2018-10-29 19:22:30 +02:00
SvetoslavTsenov
84e973d6a8 chore: bump version 2018-10-26 18:02:41 +03:00
Manol Donev
448936d6e6 fix-next(android): restore fade animation for simulated nav (#6463) 2018-10-26 17:09:19 +03:00
Todor Petrov
f5cca13a7c fix-next: correct raising of layoutChanged event (#6457)
Currently the layoutChanged event can be raised even when there is no change due to safe area calculations.
2018-10-26 17:03:23 +03:00
daviditsygin
745a79f5fa docs(iOS): update HtmlView documentation link (#6335)
The old link was a 404.
2018-10-26 14:47:35 +03:00
Martin Yankov
e48782511d fix-next: handle action bar safe area nesting (#6455) 2018-10-26 14:05:14 +03:00
Manol Donev
4765dd9302 fix-next(android): exit fragment animation (#6421) 2018-10-26 13:32:30 +03:00
Martin Yankov
0002624d3c feat(frame): add new actionBarVisibility property (#6449) 2018-10-24 14:51:43 +03:00
Alexander Djenkov
af651d6e83 feat(frame): hardware back in parent frame when back states available (#6446) 2018-10-24 10:18:50 +03:00
Manol Donev
9f7df1868c refactor: fix ts compilation errors (#6445) 2018-10-23 17:01:33 +03:00
Martin Yankov
dfa208a54d fix-next: apply ios safe area before transform (#6443) 2018-10-23 13:38:02 +03:00
Nicu
a58fc528b2 fix(connectivity): making startMonitoring() behave on iOS as on Android (#6373)
On Android, when calling startMonitor it will immediately fire the callback with the current state. Now it does the same on iOS.
2018-10-23 00:06:39 +03:00
Nicu
c0438df9a7 fix(observable-array): reduce no longer ignores zero as initial value (#6402)
* fix(observable-array): reduce no longer ignores zero as initial value

* fix(observable-array): reduceRight now functions  properly when initial value is not specified or zero
2018-10-19 17:14:47 +03:00
Rakesh Girase
a3f149325f 5620 GridLayout addChild to set row and column (#6411) 2018-10-19 15:20:41 +03:00
Svetoslav
96b439e3df chore: bump versions to 5.1.0 (#6422) 2018-10-17 14:30:38 +03:00
Manol Donev
c8c0be7684 refactor: restore animators api usage (#6403) 2018-10-16 15:37:57 +03:00
Svetoslav
d24012b851 chore: bump versions to 5.0.0 (#6413) 2018-10-15 16:36:29 +03:00
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