Commit Graph

5967 Commits

Author SHA1 Message Date
Alexander Vakrilov
64bccb9bbc feat(modals): Enable modal dialog chaining in IOS (#6637)
* feat(modals): fire close callback after close in IOS

* chore(tests): Fix some test depending on the order of events
2018-11-30 12:05:33 +02:00
Nick Iliev
bc68773bd2 fix(ui/enums) make exported enums compatible with TypeScript and the corresponding properties (#6639)
* feat: make ui/enums tsc compatible

* make ui/enums tsc compatible
2018-11-30 12:03:06 +02:00
Nick Iliev
b58dff0de3 feat(ActionBar): apply text color when largeTitletextAttribute is set on iOS (#6631)
* apply CSS text color when largeTitletextAttribute is set on iOS

* common logic improvment
2018-11-30 11:29:40 +02:00
Martin Bektchiev
65e3a19f8c fix(tests): Sporadic failures after upgrade to WebKit 12.0 (#6635)
* An additional GC and wait are needed since WebKit upgrade to version 12.0
(TEXT-FIELD.testMemoryLeak test started failing sporadically)
* Compare colors by value because the runtime has started
to sometimes return instances with different addresses in memory
2018-11-29 16:14:13 +02:00
Manol Donev
25c99d8f71 fix(searchbar): isEnabled and isUserInteractionEnabled (#6636) 2018-11-29 11:18:14 +02:00
Svetoslav
7a04a4d0bc doc: update instruction on how to release tns-core-modules (#6529) 2018-11-28 19:02:29 +02:00
Manol Donev
f87ec4bc08 test: add e2e app for nested frame scenarios (#6626) 2018-11-28 16:59:17 +02:00
Nathan Walker
ce45e75d2b feat(Async): add onError of CompleteCallback interface (#147)
* fix(Android): better Async error handling

* fix(Async): use Log instead of printStackTrace

* refactor(Async): replace Log.v() with Log.e()

* style(Async): reformat file
2018-11-28 13:21:25 +02:00
Nick Iliev
c8341819a3 feat: add hints options for username and password fields (#6416)
* feat: add hints options for username and paossword fileds in the login dialog

* refactor arguments checks

* parsing of login options moved to common file

* add zero login options check

* parsing optimizations

* api refernces improvments

* refactor: argiment passing

* review code improvments
2018-11-27 11:22:12 +02:00
Eduardo Speroni
11d3884243 fix(android-styling): correctly detect if drawable uses ColorFilter (#6342)
* fix(android-styling): correctly detect if drawable uses ColorFilter

Treat a widget with a BorderDrawable background as any other, even if it's FilterOnly

If the drawable has been replaced with a new one, clear _cachedDrawable

Fixes #6341

* test(button): add test for changing border-radius and color in button

* test: fix test checks for IOS

* keep original drawable cached
2018-11-27 10:44:34 +02:00
Svetoslav
00c25b7c0c Merge pull request #6624 from NativeScript/merge-release-in-master
release
2018-11-26 23:18:23 +02:00
SvetoslavTsenov
b9a6580c65 Merge remote-tracking branch 'origin/master' into merge-release-in-master 2018-11-26 16:17:28 +02:00
Svetoslav
10faa0eacc Merge pull request #6622 from NativeScript/release-5.0.5
release: cut the 5.0.5 release
2018-11-26 16:04:48 +02:00
SvetoslavTsenov
756c7170ca release: cut the 5.0.5 release 5.0.5 2018-11-26 15:25:37 +02:00
Manol Donev
6055a6a278 fix: filename casing 2018-11-26 15:16:31 +02:00
Svetoslav
a0fbd5fb81 Merge pull request #6619 from NativeScript/merge-release-in-master
Merge release in master
2018-11-26 13:50:50 +02:00
SvetoslavTsenov
5aa78288ce chore: revert versions 2018-11-26 13:19:33 +02:00
Svetoslav
e2239680e0 Merge pull request #6617 from NativeScript/release-5.0.4
Release 5.0.4
5.0.4
2018-11-26 13:02:26 +02:00
SvetoslavTsenov
1045958d95 doc: cut the 5.0.4 release 2018-11-26 12:48:59 +02:00
Svetoslav
893942e76b Merge pull request #6616 from NativeScript/release
Merge pull request #6584 from NativeScript/release-5.0.3
2018-11-26 11:52:25 +02:00
Manol Donev
5b9b335489 fix(android-fragment): child already has a parent (#6589) 2018-11-23 14:48:41 +02:00
Alexander Djenkov
fc1f8c1e42 fix(back-navigation): app freeze on going back in parent frame with states (#6595)
Endless loop while searching for parent frame that can go back.
Caught in Angular app when trying to go back from nested named lazy loaded outlet using the android hadrware back button.
2018-11-23 10:05:49 +02:00
Svetoslav
33d6a649ba Merge pull request #6586 from NativeScript/merge-release-in-master
chore: merge release in master
2018-11-21 16:24:50 +02:00
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
Svetoslav
6daba6983c Merge pull request #6584 from NativeScript/release-5.0.3
docs: cut the 5.0.3 release
2018-11-20 16:12:46 +02:00
SvetoslavTsenov
d703f7a42d doc: cut the 5.0.3 release 5.0.3 2018-11-20 15:18:05 +02:00
Martin Yankov
9388a4e147 test(ios): add repeater and webview safe area tests (#6578) 2018-11-19 16:46:12 +00: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
Alexander Vakrilov
5c03abefba chore: update to TypeScript 3 (#6556) 2018-11-14 17:00:42 +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
Manol Donev
8e83a61879 chore: remove flaky test (#6548) 2018-11-12 15:28:07 +02:00
Svetoslav
6531d7aa23 Merge pull request #6525 from NativeScript/svetoslavtsenov/merge-release
merge release to master
2018-11-08 17:25:49 +02:00
SvetoslavTsenov
bf6a6fb716 Merge remote-tracking branch 'origin/master' into svetoslavtsenov/merge-release 2018-11-08 13:41:41 +02: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
Vasil Chimev
b6a5df18fc docs: add 5.0.0 changelog (#6485)
* docs: add 5.0.0 changelog

* docs: merge 5.0.0 RC and 5.0.0 changelogs
2018-11-07 14:30:01 +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
4c08839459 test: add test for #6490 (#6517) 2018-11-06 16:57:38 +02:00
Todor Petrov
1485445123 test(safe-area): add layoutChanged test (#6462) 2018-11-06 11:26:23 +02:00
Manol Donev
41ba93de41 fix(android): IllegalStateException with tabview&nested frames (#6495) 2018-11-05 16:17:51 +02:00
Vasil Chimev
c41e3e05a0 docs: add 5.0.0 changelog (#6485)
* docs: add 5.0.0 changelog

* docs: merge 5.0.0 RC and 5.0.0 changelogs
2018-11-05 15:52:34 +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