Commit Graph

34 Commits

Author SHA1 Message Date
Rossen Hristov
d1c7eacaac Fixed: Exit transition on API Level 23 with cachePagesOnNavigate=true
When we are on API Level 23 and we have cachePagesOnNavigate=true, the exit transition of the current (disappearing) page ends immediately after its start, which in turn removes the page UI from the fragment and leaves a white spot in place of the current page while the enter transition of the new page is being played.

Related to #2225
2016-06-07 11:50:35 +03:00
Rossen Hristov
bab2bb13d0 More transition fixes and optimizations
Related to  #2225
2016-06-06 15:45:49 +03:00
Georgi Atanasov
1ad23a3a78 Merge pull request #2244 from NativeScript/atanasovg/remove-app-activity-extends
Remove the android.app.Application extend from the core modules
2016-06-06 15:36:50 +03:00
Rossen Hristov
6a45376a0f Merge pull request #2242 from NativeScript/clear-history
Fixed: The exit transition of the current page is not played
2016-06-06 10:03:56 +03:00
atanasovg
9847c9f803 Improve the default nativeApp initialization. 2016-06-06 10:01:18 +03:00
Sebastian Witalec
8fd0476353 Fixing currentEntry bug
The app crashes when it tries to access currentEntry property when _currentEntry is null.
2016-06-05 22:57:19 +01:00
Rossen Hristov
63471fcc3c Fix all possible cases of the current page not playing its exit transition 2016-06-03 17:32:40 +03:00
atanasovg
87b0f53c3d Remove redundant comment. Fix native method call. 2016-06-03 16:27:17 +03:00
Rossen Hristov
9e40f8022b Fixed: The exit transition of the current page is not played when navigating with clearHistory
Resolves #2225
2016-06-03 15:48:48 +03:00
atanasovg
36da401684 Remove the android.app.Application extend from the core modules. This will enable various scenarios where custom application implementation is needed. 2016-06-03 15:34:37 +03:00
Rossen Hristov
17cc067e25 Trying to fix the Travis build. 2016-06-02 15:18:23 +03:00
Rossen Hristov
4cc0d604be Optimize requires 2016-06-02 11:15:44 +03:00
Rossen Hristov
5c47f54fe5 Fixed: The exit transition of the current page is not played when navigating with clearHistory
Resolves #2225
2016-06-02 10:48:30 +03:00
Georgi Atanasov
659d91bfb2 Merge pull request #2214 from NativeScript/atanasovg/expose-fragments-1
[Second Try] Add API that resolves the native android.app.Fragment instance created for a Page
2016-06-01 14:04:26 +03:00
Vladimir Enchev
1deb0149f7 Code fixed 2016-06-01 10:32:28 +03:00
Rossen Hristov
0407aaf5d2 Remove a forgotten console.log 2016-05-31 16:49:07 +03:00
Rossen Hristov
0a8d211665 Enable hardware acceleration for views animations in Android
Resolves #2217
2016-05-31 16:46:19 +03:00
Vladimir Enchev
3b2a875d58 Merge pull request #2220 from NativeScript/livesync-modal
Close current modal page on livesync
2016-05-31 16:20:12 +03:00
Vladimir Enchev
819a45b99a Close current modal page on livesync 2016-05-31 15:58:18 +03:00
Rossen Hristov
503ef1f29d Merge pull request #2216 from NativeScript/cuteness-fix
Fixed a problem with going back with cachePagesOnNavigate
2016-05-31 09:16:10 +03:00
Rossen Hristov
fd9a0c98e6 Merge pull request #2211 from NativeScript/layer-type
Fixed:  Android layerType should not be changed if there is no need
2016-05-31 09:14:04 +03:00
Rossen Hristov
d1620e3387 Fixed a problem with going back with cachePagesOnNavigate
Related to #1948
2016-05-30 17:19:04 +03:00
Rossen Hristov
e2f1e272b4 Fixed: Android layerType should not be changed if there is no need
Resolves #1899
2016-05-30 16:53:09 +03:00
Panayot Cankov
b08f3fdd68 Merge pull request #2208 from NativeScript/cankov/npm-test
Add "npm test" script
2016-05-30 16:21:46 +03:00
Panayot Cankov
58b4a6eec6 Add 'npm test' for mac 2016-05-30 16:10:57 +03:00
atanasovg
9a8542869e Add fragmentForPage method to AndroidFrame interface. 2016-05-30 16:10:46 +03:00
Vladimir Enchev
2ef6757216 builder cached 2016-05-30 15:56:37 +03:00
Hristo Deshev
b812411ce1 Fix SegmentedBar selectedIndex change event when items not bound.
The Android implemantation wasn't raising the event in that case.
2016-05-30 11:49:40 +03:00
Panayot Cankov
ef7151dce8 Merge pull request #2198 from NativeScript/cankov/image-exactly
Image should not requestLayout when measured with 'exactly' spec
2016-05-30 08:57:53 +03:00
Vladimir Enchev
caebf280ab LiveSync improved 2016-05-27 16:58:46 +03:00
Panayot Cankov
717b5131b1 Add isIOS, isAndroid in platform, and fast ts watcher and transpiler
Image should not requestLayout when sized with 'exactly' spec

Update image tests

Tests will run in ios only
2016-05-27 16:57:59 +03:00
Rossen Hristov
719ce1e33e Fixed test_NavigateToNewPage_WithAndroidCache failure on Android API level 17
Unit tests re-factoring and improvements
2016-05-27 13:07:49 +03:00
Panayot Cankov
212e5373f3 Move expect.exp for travis 2016-05-26 18:02:51 +03:00
Panayot Cankov
e135c20b14 Rename the files 2016-05-26 14:30:25 +03:00