30 Commits

Author SHA1 Message Date
bba7a82bdf Disable recycling, refactoring & fixes (#4705)
* Added tests for native view recycling
Disabled android native view recycling
Move toString from view-common to view-base
Fix crash on application restore and navigation back on API26
Added setAsRootView method
Added missing logo into perf-tests/recycling app

* additional fix for image-source-tests. ios is case sensitive.

* Add @private to some internal properties
Fix where padding is not respected when background is reset.
2017-08-17 09:15:35 +03:00
075e70e336 cache page on forward navigation (#4652)
* cache page on forward navigation
Still some failing navigation tests

* Current page is kept alive when navigating forward
Refactoring code and removing all hacks and flags
Remove one module circular reference

* Disable Page recycling because when there is transition between pages the nativeView stays animated (e.g. when transition is Fade the hidden page nativeView stays with Alpha 0)
Disable recycling if there is native anitmation

* Fix failing tests on ios & android API17
Fix wrong urls in http tests
Made some timer tests async

* Animations are not stored in BackstackEntry instead of Fragment because fragments could die (activity die) and recreated and we lose animations.

* Fix android crash when activity is recreated.
Refactoring transitionListener.
2017-08-07 17:24:12 +03:00
0f14101238 recycling now happens only if nativeView and android properties are not accessed. (#4627)
recycleNativeView filed now accepts: "always" | "never" | "auto". Always will recycle the nativeView no matter if its nativeView or android proprties are accessed. Never will disable recycling. Auto will recycle it only if nativeView and android properties are not accessed.
2017-08-01 15:04:16 +03:00
48836cbd4c Fix iOS ActionBar problem while internet sharing #4283 (#4447) 2017-06-28 15:00:01 +03:00
51b351f5b6 Add timeline traces in the console, let enabling them through the package.json 2017-06-02 16:34:15 +03:00
f954d64d79 Fix: ActionBar update in IOS with modal dialogs 2017-05-15 14:41:22 +03:00
f2898f84d5 NativeView recycled for android 2017-03-28 18:08:59 +03:00
9d67e44cdf Work around an issue with webpack's extension resolution.
Not resolving ../utils imports.
2017-03-20 16:12:10 +02:00
629eb6e683 Use relative imports in tns-core-modules.
Use tns-core-modules/* imports in outside code (apps, tests, etc)
2017-03-13 14:37:59 +02:00
6d6564af16 Fix dp vs dip conversions in iOS for errors of tests 2017-03-08 09:24:31 +02:00
9f1ebc11ca Add support for 'px' on Length in iOS 2017-03-08 09:01:17 +02:00
ea22eb9c20 refactoring circular imports 2017-03-06 14:05:55 +02:00
d448f3dc7f Animated nav-bar 2017-01-25 10:48:48 +02:00
fec5e92dbe Fix tracing 2017-01-16 13:29:46 +02:00
e983295952 Style tests fixes 2017-01-12 14:24:12 +02:00
cd3cd13075 View tests turned green 2017-01-11 17:34:25 +02:00
19ee47ba24 got to layouts 2016-12-13 15:51:18 +02:00
befb494a50 up to segmented-bar.ios 2016-12-13 15:51:18 +02:00
d795ee94e4 alpha2 2016-12-13 15:51:18 +02:00
645f428f59 alpha1 2016-12-13 15:51:18 +02:00
bb2c7aa60a partial state 2016-12-13 15:51:18 +02:00
3f578741f7 Fixed: ActionBar w/translucent navigationBar set to false is creating whitish transition 2016-11-15 13:11:04 +02:00
75cab33f8f Percent support of margin of layouts/frame/page/contentview 2016-10-20 11:29:21 +03:00
1236f66f44 Add npm script that generates ios .d.ts-es from the tests app
Less than 30 erros left, let's hope it still works

Added lib.*.d.ts from typescript, removed lib and dom stuff, added by hand XHR, alert etc. .d.ts-es for polyfills

Roll back some changes involved in separating UIEvent for dom and ios

Test combined dts-es will now use lib, while internally we will not to avoid UIEvent conflict with dom stuff
2016-08-29 09:58:17 +03:00
2dc9827721 FIX: Wrong isBackNavigation value 2016-07-25 11:47:07 +03:00
4d1010155b var -> let cleanup 2016-07-20 18:09:08 +03:00
ef6a24a5de FIX: isBackNavigation worng when navigation away form page that is not backstack visible 2016-07-20 11:54:53 +03:00
b0aee9d7a9 Fix: The navigation bar duplicates when going to TabView's "More" tab
Resolves #2121
2016-06-27 16:23:54 +03:00
b514906144 The variable navDepth is now correctly reset to -1 when clearing history 2016-06-10 16:58:11 +03:00
e135c20b14 Rename the files 2016-05-26 14:30:25 +03:00