Commit Graph

933 Commits

Author SHA1 Message Date
Ofir Dagan
e5979577b3 1631|fix(dialogs): change alert dialog context
closes #1631
2016-02-24 14:28:56 +02:00
Hristo Deshev
de6a92f8c6 Fix tslint errors. 2016-02-24 11:06:15 +02:00
Hristo Deshev
32ff1f3cfc Fix TypeScript 1.8 compile errors. Get rid of "ui" imports. 2016-02-24 11:06:14 +02:00
Hristo Deshev
c9eb4d5890 Delete ui.ts and ui.d.ts
The simplest way to resolve reexport conflicts. We have multiple modules
exporting symbols with the same name e.g. Options, which clash at reexport
time. TypeScript 1.7.x did not detect that error, but TypeScript 1.8
catches it.

Since TypeScript doesn't allow hiding or renaming a single member when
reexporting and exporting the rest, the alternative solution would be to
explicitly list all module members in ui.ts/ui.d.ts *and* keep them in sync
with every new release.
2016-02-24 11:06:14 +02:00
Hristo Hristov
a9d2b2e970 Fixed 'jurky` navigation between pages in iOS.
Fixed after application suspend/resume the UI was not restored.
Fixed modal-views page
2016-02-24 09:48:16 +02:00
Rossen Hristov
5f443be054 Fixed Issue #1543: View._onDetached called twice when app is suspended. 2016-02-22 13:13:47 +02:00
Vladimir Enchev
02da090afc Merge pull request #1588 from NativeScript/null-undefined
TextView and TextField shows null and undefined
2016-02-19 13:43:06 +02:00
Vladimir Enchev
09254a0d70 TextView and TextField shows null and undefined fixed 2016-02-19 11:15:45 +02:00
Rossen Hristov
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
Rossen Hristov
c6f48c688b Fixed Issue #1335: Page (xml) with no content does not fire loaded callbacks in ActionBar. 2016-02-17 17:23:12 +02:00
Erjan Gavalji
8e4f2ba34e 'Enprivate' the android-specific member 2016-02-17 16:33:10 +02:00
Rossen Hristov
e9d9d8c729 Fixed a missing link in the API Reference. 2016-02-16 17:25:14 +02:00
Vladimir Enchev
d66008d34c Merge pull request #1554 from PeterStaev/action-item-custom-view
Action item custom view
2016-02-16 17:08:17 +02:00
vakrilov
8cbed85cb8 styles fix 2016-02-15 15:15:34 +02:00
Peter Staev
07af447cb1 ios implementation of #1488 2016-02-15 14:17:25 +02:00
Peter Staev
715ff10aee display items with custom view always in the actionbar for android 2016-02-15 14:17:23 +02:00
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