Commit Graph

2404 Commits

Author SHA1 Message Date
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
Vladimir Enchev
85ff011e19 Merge pull request #1536 from NativeScript/file-exist
File exists fixed
2016-02-11 15:19:35 +02:00
Vladimir Enchev
5c1639b36f File exists fixed 2016-02-11 14:23:48 +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
Vladimir Enchev
e22c4f8b3b Merge pull request #1531 from NativeScript/fealebenpae/nuke-performSelector
Replace -[NSObject performSelector:] with NSInvocation
2016-02-11 10:10:51 +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
c1edaaca29 Merge pull request #1530 from NativeScript/hhristov/grid-layout-rounding
Hhristov/grid layout rounding
2016-02-10 17:22:23 +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
bb3a674299 Merge pull request #1529 from NativeScript/trans
Re-factored page navigation transitions. Resolves Issue #811.
2016-02-10 15:20:25 +02:00
Rossen Hristov
5ad082d783 Re-factored page navigation transitions. Resolves Issue #811. 2016-02-10 14:55:27 +02:00
Rossen Hristov
114fb806da Merge pull request #1527 from NativeScript/issue-659
Fixed Issue #659.
2016-02-10 11:50:25 +02:00
Rossen Hristov
4336245aba Fixed Issue #659. 2016-02-10 11:07:27 +02:00
Vasil Chimev
7dadafe265 Merge pull request #1526 from NativeScript/vchimev-revert
Revert dependencies versions
2016-02-10 11:03:05 +02:00
Vasil Chimev
7a0cda8d67 Revert dependencies versions 2016-02-10 11:02:38 +02:00
Vasil Chimev
c1bc0c3689 Merge pull request #1487 from NativeScript/prepare-160
Update package.json for 1.6.0
2016-02-09 16:59:47 +02:00
Hristo Deshev
2cee1b14d5 Merge pull request #1509 from NativeScript/hdeshev/upgrade-tslint
Upgrade tslint
2016-02-09 15:22:37 +02:00
Vasil Chimev
db4549bdf1 Update ui-tests-app 2016-02-09 12:33:37 +02:00
Hristo Deshev
e9ed8c797b Delete unused variables (tslint) 2016-02-09 11:18:56 +02:00
Hristo Deshev
33a3328ea0 Upgrade grunt-ts to latest version 2016-02-09 11:18:56 +02:00
Hristo Deshev
522ed41fa6 Upgrade to typescript 1.7.5 2016-02-09 11:18:56 +02:00
Hristo Deshev
cfdf9d6aa0 Upgrade to latest tslint 2016-02-09 11:18:23 +02:00
Vasil Chimev
8ff9d736f4 Add transitions test pages to ui-tests-app 2016-02-09 11:09:47 +02:00
Vasil Chimev
5a81a0fd10 Add animations test page to ui-tests-app
https://github.com/NativeScript/NativeScript/issues/1218
2016-02-09 09:46:25 +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
Nedyalko Nikolov
0c3cafbbec Merge pull request #1514 from NativeScript/nnikolov/ValueSupportInExpressions
Added support for `$value` within expressions.
2016-02-08 15:10:35 +02:00
TJ VanToll
75d693a288 Reorganize README with clearer messaging and calls to action
Closes #1493
2016-02-08 07:54:21 -05: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
tzraikov
c7f3ee5a32 Merge pull request #1501 from NativeScript/raikov/issue-1218
Fixed: Setting and instantly animating a property fails for iOS
2016-02-05 15:10:19 +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
Erjan Gavalji
c865728001 Merge branch 'ErjanGavalji/set-home-page-to-pkg-json' 2016-02-05 14:38:14 +02:00
Tsvetan Raikov
3e38459804 Merge branch 'master' into raikov/issue-1218 2016-02-05 14:22:03 +02:00
Tsvetan Raikov
e3bdcdc3f6 Fixed: Setting and instantly animating a property fails for iOS 2016-02-05 14:21:22 +02:00
tzraikov
d3c5c6ddd6 Merge pull request #1498 from NativeScript/raikov/animation-fix
Fixed exception in animations when animating a view before it's being…
2016-02-05 11:55:07 +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
Erjan Gavalji
13874c88c2 Add a homepage entry to the package.json 2016-02-04 18:19:44 +02:00
Rossen Hristov
aedbf3bdeb Merge pull request #1491 from NativeScript/issue-1021
Resolved Issue #1021: The navigatedTo event is called twice for the f…
2016-02-04 17:31:46 +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
tzraikov
c70755b2e3 Merge pull request #1489 from NativeScript/feature/continiousAnimation
Modified animations to allow smooth transition when the previous animation is replaced
2016-02-04 15:59:49 +02:00
Erjan Gavalji
69ef5ffc49 Apply the fix, suggested by Github userx4080, issue 1371 2016-02-04 15:58:38 +02:00
Panayot Cankov
343e15679b Merge pull request #1486 from NativeScript/cankov/ios-private-paths
Fix paths in iOS, some devices and iOS combinations use /private/var paths while some /var/ this was normalized by resolvin symlinks
2016-02-04 14:30:48 +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
a1e14dbae2 Merge pull request #1470 from NativeScript/cankov/time-grunt
Enable build times profiling
2016-02-04 12:35:19 +02:00
Panayot Cankov
04eddee710 Fix paths in iOS, some devices and iOS combinations use /private/var paths while some /var/ this was normalized by resolvin symlinks 2016-02-04 12:32:47 +02:00