3088 Commits

Author SHA1 Message Date
ad933ebf35 Fix tslint error. 2016-06-08 18:04:29 +03:00
7220863e36 Remove empty block 2016-06-08 17:28:01 +03:00
92d66f6938 Extract the Activity implementation logic in a separate class. 2016-06-08 17:04:37 +03:00
22608011f2 Avoid excessive requestLayout calls (#2270)
Added View.isLayoutRequired - to check if Layout call is needed after a measure call. Use in list-view.
Measure pass now get all its properties from nativeLayoutParams property instead of using instance dependency properties (e.g. perf improvement).
List-view now layouts cells only if there is need to.
List-view now measure rows with the specified rowHeight.
2016-06-08 15:41:30 +03:00
ec85cf3860 Undefined can be set as localValue to dependency observable (#2268)
* Undefined can be set as localValue to dependency observable

* Fix build error in tests
2016-06-08 15:41:02 +03:00
298f26316b Merge pull request #2269 from NativeScript/cankov/label-smart-layout-invalidation
Layout will not requestLayout when its text is changed if it has fixed size
2016-06-08 15:39:08 +03:00
b65e6f6fda Layout will not requestLayout when its text is changed if it has fixed size 2016-06-08 13:57:49 +03:00
b47e8f1232 Merge pull request #2267 from NativeScript/npm-test
Separate Android and iOS tests
2016-06-08 11:22:01 +03:00
8454ca9429 Separate Android and iOS tests 2016-06-08 11:20:05 +03:00
743a2efb4a Optimized DependencyObject setValue performance (#2260)
* Cached all properties from metadata as fields on Property
ResetValue does not remove entry but only reset value for the given ValueSource (Local by default)
Optimized setValueInternal performance

* Removed TS dependency

* Fix tslint
2016-06-07 15:30:09 +03:00
51e00d4dd3 Add .log to .gitignore 2016-06-07 14:31:53 +03:00
5602b05b1c Merge pull request #2261 from NativeScript/end-trans
Fixed: Exit transition on API Level 23 with cachePagesOnNavigate=true
2016-06-07 13:56:15 +03:00
520bdc367f Merge pull request #2233 from NativeScript/expose-zonedCallback
Expose the zonedCallback function
2016-06-07 13:17:24 +03:00
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
46e635001f Expose the zonedCallback function 2016-06-07 11:38:15 +03:00
95b521e53b Merge pull request #2255 from NativeScript/transitions
More transition fixes and optimizations
2016-06-07 10:28:02 +03:00
bab2bb13d0 More transition fixes and optimizations
Related to  #2225
2016-06-06 15:45:49 +03:00
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
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
9847c9f803 Improve the default nativeApp initialization. 2016-06-06 10:01:18 +03:00
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
63471fcc3c Fix all possible cases of the current page not playing its exit transition 2016-06-03 17:32:40 +03:00
54ca6f0e14 README: Link to both getting started guides 2016-06-03 10:09:02 -04:00
87b0f53c3d Remove redundant comment. Fix native method call. 2016-06-03 16:27:17 +03:00
8a3b59a5db Merge pull request #2241 from NativeScript/raikov/fixbuild
Added a missing file in tsconfig.json. Fixed build scripts.
2016-06-03 16:05:39 +03:00
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
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
bdbaa8968c Added a missing file in tsconfig.json. Fixed build scripts. 2016-06-03 15:25:10 +03:00
3c265a7c00 Merge branch 'ErjanGavalji/use-packed-theme' 2016-06-03 14:05:19 +03:00
f49d6e2281 Merge pull request #2235 from NativeScript/travis
Trying to fix the Travis build.
2016-06-03 08:58:45 +03:00
2e483aaca5 Trying to make Travis build work. 2016-06-02 17:09:07 +03:00
278d36a5e2 Trying to make Travis build work. 2016-06-02 16:58:23 +03:00
c26e0b29f3 Trying to fix the failing Android tests. 2016-06-02 16:13:50 +03:00
17cc067e25 Trying to fix the Travis build. 2016-06-02 15:18:23 +03:00
8ba9ec3855 Merge pull request #2232 from NativeScript/clear-history
Fixed: The exit transition of the current page is not played
2016-06-02 14:39:36 +03:00
4cc0d604be Optimize requires 2016-06-02 11:15:44 +03:00
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
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
de6df3020f Merge pull request #2226 from NativeScript/modal-fix
Code fixed
2016-06-01 10:35:31 +03:00
1deb0149f7 Code fixed 2016-06-01 10:32:28 +03:00
28e6af0f9e Merge pull request #2222 from NativeScript/hardware-animations
Enable hardware acceleration for views animations in Android
2016-06-01 09:15:15 +03:00
0407aaf5d2 Remove a forgotten console.log 2016-05-31 16:49:07 +03:00
0a8d211665 Enable hardware acceleration for views animations in Android
Resolves #2217
2016-05-31 16:46:19 +03:00
4c9704dc2e Avoid the compilation errors by passing the experimentalDecorators flag 2016-05-31 16:37:19 +03:00
3b2a875d58 Merge pull request #2220 from NativeScript/livesync-modal
Close current modal page on livesync
2016-05-31 16:20:12 +03:00
819a45b99a Close current modal page on livesync 2016-05-31 15:58:18 +03:00
38b856184c Add a dependency to the theme package 2016-05-31 15:50:55 +03:00
80a754d336 Switch Android and iOS test runs 2016-05-31 14:22:50 +03:00
d2fbaa3307 Fix failing test 2016-05-31 13:39:04 +03:00
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