927 Commits

Author SHA1 Message Date
02da090afc Merge pull request #1588 from NativeScript/null-undefined
TextView and TextField shows null and undefined
2016-02-19 13:43:06 +02:00
09254a0d70 TextView and TextField shows null and undefined fixed 2016-02-19 11:15:45 +02:00
c770abe4fe Fixed Issue #1576: iOS: Slide transition does not animate the appearing page correctly when navigating back. 2016-02-18 15:59:47 +02:00
c6f48c688b Fixed Issue #1335: Page (xml) with no content does not fire loaded callbacks in ActionBar. 2016-02-17 17:23:12 +02:00
8e4f2ba34e 'Enprivate' the android-specific member 2016-02-17 16:33:10 +02:00
e9d9d8c729 Fixed a missing link in the API Reference. 2016-02-16 17:25:14 +02:00
d66008d34c Merge pull request #1554 from PeterStaev/action-item-custom-view
Action item custom view
2016-02-16 17:08:17 +02:00
8cbed85cb8 styles fix 2016-02-15 15:15:34 +02:00
07af447cb1 ios implementation of #1488 2016-02-15 14:17:25 +02:00
715ff10aee display items with custom view always in the actionbar for android 2016-02-15 14:17:23 +02:00
b290d01664 android implementation of #1488 2016-02-15 14:17:22 +02:00
6e4d6ccfbc Support for hierarchical and attribute css selectors. 2016-02-15 11:47:05 +02:00
c0682fce80 Merge pull request #1539 from speigg/patch-1
Fix clearEvent after programmatically setting text
2016-02-15 10:59:49 +02:00
683a7f5b07 Merge pull request #1521 from NativeScript/raikov/animation-custom-timing
Added custom animation curve support and spring animation
2016-02-12 11:29:10 +02:00
bada97399a Merge pull request #1528 from NativeScript/bg-image-with-url
Fix: background properties not respected with remote background image
2016-02-12 11:28:23 +02:00
e820ac020d animated only for 9 and above 2016-02-11 17:10:30 +02:00
66f0dd0697 Fix clearEvent after programmatically setting text
searchBarTextDidChange only fires when the user changes the text. 
In the following scenario, clearEvent was not being fired:
1. User clears the text (clearEvent is fired)
2. Text is programmatically set to a non-empty string
3. User clears the text again (clearEvent is not fired)

This PR allows the clearEvent to fire at step 3. 

I would also suggest that a separate event be used when the cancel button is clicked (cancelEvent), as cancel button being clicked does not imply that the text is or should be cleared.
2016-02-11 09:39:34 -05:00
4e80cf76c4 Merge branch 'master' into raikov/animation-custom-timing 2016-02-11 15:01:26 +02:00
d92677a1fc present and dismiss modal animated 2016-02-11 14:41:33 +02:00
fb4d83d44e Merge pull request #1533 from NativeScript/label-null
Fixed null and undefined as Label text
2016-02-11 11:44:18 +02:00
8339d3f51d Fixed null and undefined as Label text 2016-02-11 11:12:14 +02:00
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
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
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
721e5df58b grid-layout layout rounding fixes
added tests
2016-02-10 16:25:22 +02:00
5ad082d783 Re-factored page navigation transitions. Resolves Issue #811. 2016-02-10 14:55:27 +02:00
796501efcf Fixed tslint issues 2016-02-10 11:48:43 +02:00
7b440c822f Updated the animations API 2016-02-10 11:35:03 +02:00
5364e395fa Fix: background properties not respected with remote background image 2016-02-10 11:32:13 +02:00
4336245aba Fixed Issue #659. 2016-02-10 11:07:27 +02:00
eba3502f03 Merge branch 'master' into raikov/animation-custom-timing 2016-02-09 18:56:21 +02:00
57af0bbfe3 Code refactoring 2016-02-09 18:18:37 +02:00
4042fecf1e Fixed: animation chaining is not working when using spring animation 2016-02-09 15:38:55 +02:00
cc92fc329f Added custom animation curve support and spring animations 2016-02-09 14:50:32 +02:00
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
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
5144969ae0 Added support for in expressions. 2016-02-08 11:58:15 +02:00
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
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
2f8bce74fb Fixed Issue #1232: WrapLayout crashes when itemWidth value is too high. 2016-02-05 15:51:50 +02:00
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
e3bdcdc3f6 Fixed: Setting and instantly animating a property fails for iOS 2016-02-05 14:21:22 +02:00
a8dc90178c Fixed exception in animations when animating a view before it's being displayed 2016-02-05 11:22:05 +02:00
6b7d05420e Resolved Issue #1021: The navigatedTo event is called twice for the first application page. 2016-02-04 16:12:45 +02:00
69ef5ffc49 Apply the fix, suggested by Github userx4080, issue 1371 2016-02-04 15:58:38 +02:00
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
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
e826e99384 Add anti-aliasing for android borders and backgrounds with rounded corners 2016-02-04 11:17:43 +02:00
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
4a8ec62506 Handle the case whr proxy is inside ContentView 2016-02-03 18:07:25 +02:00