Commit Graph

1067 Commits

Author SHA1 Message Date
Peter Staev
b290d01664 android implementation of #1488 2016-02-15 14:17:22 +02:00
Nedyalko Nikolov
6e4d6ccfbc Support for hierarchical and attribute css selectors. 2016-02-15 11:47:05 +02:00
Vladimir Enchev
c0682fce80 Merge pull request #1539 from speigg/patch-1
Fix clearEvent after programmatically setting text
2016-02-15 10:59:49 +02:00
Vladimir Enchev
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
Vladimir Enchev
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
Vladimir Enchev
e820ac020d animated only for 9 and above 2016-02-11 17:10:30 +02:00
Gheric Speiginer
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
Tsvetan Raikov
4e80cf76c4 Merge branch 'master' into raikov/animation-custom-timing 2016-02-11 15:01:26 +02:00
Vladimir Enchev
d92677a1fc present and dismiss modal animated 2016-02-11 14:41:33 +02:00
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
Tsvetan Raikov
796501efcf Fixed tslint issues 2016-02-10 11:48:43 +02:00
Tsvetan Raikov
7b440c822f Updated the animations API 2016-02-10 11:35:03 +02:00
vakrilov
5364e395fa Fix: background properties not respected with remote background image 2016-02-10 11:32:13 +02:00
Rossen Hristov
4336245aba Fixed Issue #659. 2016-02-10 11:07:27 +02:00
Tsvetan Raikov
eba3502f03 Merge branch 'master' into raikov/animation-custom-timing 2016-02-09 18:56:21 +02:00
Tsvetan Raikov
57af0bbfe3 Code refactoring 2016-02-09 18:18:37 +02:00
Tsvetan Raikov
4042fecf1e Fixed: animation chaining is not working when using spring animation 2016-02-09 15:38:55 +02:00
Tsvetan Raikov
cc92fc329f Added custom animation curve support and spring animations 2016-02-09 14:50:32 +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