Commit Graph

901 Commits

Author SHA1 Message Date
Vladimir Enchev
fb4d83d44e Merge pull request #1533 from NativeScript/label-null
Fixed null and undefined as Label text
2016-02-11 11:44:18 +02:00
Vladimir Enchev
8339d3f51d Fixed null and undefined as Label text 2016-02-11 11:12:14 +02:00
Vladimir Enchev
94fbb7b63f Merge pull request #1490 from NativeScript/x4080/listview-android-realized-to-filtered-items-higher-bugfix
Fix ListView crash in android when realized items more than left items
2016-02-11 10:35:47 +02:00
Yavor Georgiev
99d4f9ea0c Replace -[NSObject performSelector:] with NSInvocation
It appears that `-[NSObject performSelector:]` returns a dummy value when calling a void method on the iOS Simulator, whereas it correctly returns `nil` on a device. Since `-[NSObject performSelector:]` is declared as returning `id`, the iOS runtime tries to marshal the dummy value to a JavaScript object and fails because the dummy value is not a valid Objective-C object.

The fix is to use `-[NSObject valueForKey:]` for non-void zero-parameter methods and `NSInvocation` for everything else.
2016-02-10 18:19:04 +02:00
Hristo Hristov
6f93030b5d grid-layout distribute remaining space over stars but preserve their aspect.
ts lint errors fixed
android scroll-view tests fixed for different device density
added grid-layout test
2016-02-10 16:25:22 +02:00
Hristo Hristov
721e5df58b grid-layout layout rounding fixes
added tests
2016-02-10 16:25:22 +02:00
Rossen Hristov
5ad082d783 Re-factored page navigation transitions. Resolves Issue #811. 2016-02-10 14:55:27 +02:00
Rossen Hristov
4336245aba Fixed Issue #659. 2016-02-10 11:07:27 +02:00
Panayot Cankov
7a36ce6955 Merge pull request #1512 from NativeScript/cankov/fix-android-corners
Fix android corner radius in cases when the radius is less than half the border width
2016-02-08 17:47:10 +02:00
Panayot Cankov
7e400edbae Fix android corner radius in cases when the radius is less than half the border width 2016-02-08 12:15:35 +02:00
Nedyalko Nikolov
5144969ae0 Added support for in expressions. 2016-02-08 11:58:15 +02:00
Rossen Hristov
630daa03e9 Merge pull request #1503 from NativeScript/issue-1232
Fixed Issue #1232: WrapLayout crashes when itemWidth value is too high.
2016-02-07 13:48:40 +02:00
Hristo Hristov
7c278cb35a Merge pull request #1502 from NativeScript/hhristov/android-activity-fix
Fixed crash where activity was incorrectly using existing initialized frame.
2016-02-05 18:05:36 +02:00
Rossen Hristov
2f8bce74fb Fixed Issue #1232: WrapLayout crashes when itemWidth value is too high. 2016-02-05 15:51:50 +02:00
Hristo Hristov
e709485bb6 Added an option to change the rootView.
Fixed crash where activity was incorrectly using existing initialized frame.
Fixed TabView to use _nativeView instead of Frame.
2016-02-05 15:09:28 +02:00
Tsvetan Raikov
e3bdcdc3f6 Fixed: Setting and instantly animating a property fails for iOS 2016-02-05 14:21:22 +02:00
Tsvetan Raikov
a8dc90178c Fixed exception in animations when animating a view before it's being displayed 2016-02-05 11:22:05 +02:00
Rossen Hristov
6b7d05420e Resolved Issue #1021: The navigatedTo event is called twice for the first application page. 2016-02-04 16:12:45 +02:00
Erjan Gavalji
69ef5ffc49 Apply the fix, suggested by Github userx4080, issue 1371 2016-02-04 15:58:38 +02:00
Tsvetan Raikov
91d1ba3f97 Modified animations to allow smooth transition when the previous animation is replaced with a new one 2016-02-04 14:15:24 +02:00
Panayot Cankov
27182eb4d7 Merge pull request #1481 from NativeScript/cankov/android-rounded-corners-anti-aliasing
Add anti-aliasing for android borders and backgrounds with rounded corners
2016-02-04 11:47:15 +02:00
Panayot Cankov
e826e99384 Add anti-aliasing for android borders and backgrounds with rounded corners 2016-02-04 11:17:43 +02:00
Alexander Vakrilov
0d4d0b0d4a Merge pull request #1483 from NativeScript/feature/proxy-container-layout-fix
Fixed ios proxy view blocks layout requests
2016-02-04 10:30:06 +02:00
vakrilov
4a8ec62506 Handle the case whr proxy is inside ContentView 2016-02-03 18:07:25 +02:00
Tsvetan Raikov
f403b506aa Fixed: _resolveAnimationCurve is undefined 2016-02-03 16:08:03 +02:00
vakrilov
57f15abf27 Fixed ios proxy view blocks layout requests 2016-02-03 15:38:48 +02:00
Tsvetan Raikov
a8aaeac137 Merged with master after the transitions feature 2016-02-03 15:24:38 +02:00
Tsvetan Raikov
dbfa09f8ef Changed how AnimationDelegateImpl is created to be in sync with the new approach 2016-02-03 14:52:29 +02:00
Rossen Hristov
96bafff573 Merge pull request #1473 from NativeScript/transitions
Resolved #811: Page Navigation Transitions
2016-02-03 13:45:53 +02:00
Rossen Hristov
b0976bf986 Resolved #811: Page Navigation Transitions 2016-02-03 13:24:12 +02:00
Tsvetan Raikov
a0020453e5 fixed broken unit tests because of the animation refactoring 2016-02-03 10:55:02 +02:00
Peter Staev
31a6da0676 fix ios dialogs.action when message/title is null 2016-02-02 18:41:36 +02:00
Tsvetan Raikov
68f9358b1d fixed issue 1443 2016-02-02 15:43:33 +02:00
Hristo Hristov
1e0f130b38 Merge pull request #1430 from NativeScript/gatanasov/lazy-require-fixes
Revisit lazy require routine
2016-02-01 16:54:31 +02:00
Vladimir Enchev
d4766ed83c Merge pull request #1466 from NativeScript/tab-fix
wrong for loop count fixed
2016-02-01 16:49:26 +02:00
Vladimir Enchev
becc5c59f0 wrong for loop count fixed 2016-02-01 16:25:28 +02:00
Vladimir Enchev
fb3b7bc6c4 Array.create used instead reflection 2016-02-01 14:08:22 +02:00
Hristo Deshev
30bf55d8bd Merge pull request #1453 from NativeScript/hdeshev/proxy-container-grid-layout
Register ProxyViewContainer children with parent layout.
2016-01-29 10:52:10 +02:00
Hristo Deshev
698345f171 Register ProxyViewContainer children with parent layout.
- Fixes a crash when used in a GridLayout on iOS since the layout needs to be
notified of any layout children changes.
- Adds a _parentChanged hook for all views.
2016-01-28 18:27:31 +02:00
Nedyalko Nikolov
406a20297c Added support for functions with binding expressions. 2016-01-28 16:42:21 +02:00
Nedyalko Nikolov
5c35f33441 Added support for property change with same object instance (via WrappedValue). 2016-01-27 10:53:25 +02:00
atanasovg
f4c880dbda Add missing "ensure" call. 2016-01-26 16:41:44 +02:00
Panayot Cankov
8159929ff7 Merge pull request #1439 from NativeScript/vladimirov/scrollview-new-fix
Fix the new UIScollView failing to pick initializer in Xcode 7.0
2016-01-26 16:38:45 +02:00
Alexander Vakrilov
a2fd4d1c9c Merge pull request #1416 from NativeScript/feature/proxy-view-container
Feature/proxy view container
2016-01-26 13:31:53 +02:00
vakrilov
d1676ca366 Comments and cleanups 2016-01-26 11:20:15 +02:00
Panayot Cankov
887cc427f8 Fix the new UIScollView failing to pick initializer in Xcode 7.0 2016-01-26 10:51:21 +02:00
Alexander Vakrilov
6dc971c1ca Merge pull request #1422 from NativeScript/feature/grid-set-rows-cols
Call removeRows/Columns in set rows and columns methods
2016-01-26 10:31:38 +02:00
atanasovg
56f1aaa795 Do not use lazy requires where not needed. 2016-01-25 16:33:18 +02:00
vakrilov
216cfb11de Fix: bugs caught with tests 2016-01-25 11:30:37 +02:00
vakrilov
96c638e1cc Tests added 2016-01-25 11:30:36 +02:00