Commit Graph

3737 Commits

Author SHA1 Message Date
zh-m
9f7ce6fc60 Fix order property is not respected if set more than once 2017-01-16 17:39:22 +02:00
zh-m
6e07d0e61d getter in ListViewStyler for separatorColor 2017-01-13 11:35:27 +02:00
Daniel Turing
ee4b790728 add HttpRequestOptions.dontFollowRedirects (#3473)
This implements the option to have http.request() not follow server's 3xx redirection replies
but instead return the exact redirection code and headers.

* on iOS, it uses a different NSURLSession instance for non-following request,
  with a NSURLSessionTaskDelegate implementing URLSessinTaskWillPerformHTTPRedirection...

* on Android, it just passes the option on to org.nativescript.widgets.Async.Http;
  so this requires the respective commit in tns-core-modules-widgets to work
2017-01-12 11:20:36 +02:00
SvetoslavTsenov
4f3f09e9ae Include test for issue 1657 (#3457) 2017-01-10 13:35:32 +02:00
vchimev
504b2c8059 Pin tns-core-modules-widgets dependency to 2.5.0 2017-01-09 17:47:53 +02:00
Hristo Deshev
d45fc4576a Merge pull request #3432 from NativeScript/hdeshev/typescript
Pin typescript dependency to 2.0.x
2017-01-09 13:01:16 +02:00
Hristo Deshev
25e111acc1 Pin typescript dependency to 2.0.x 2017-01-09 11:15:03 +02:00
KristinaKoeva
6b2b05a1da Enable evaluating in Chrome Console (#3405)
Chrome calls compileScript method when an expression is evaluated in the console. So to enable the console evaluate add an empty compileScript implementation.
Also send an Runtime.executionContextCreated which is needed for Console evaluation.
Both of the command and the event do not exist in the Webkit protocol, so we cannot use InspectorBackendCommands definition file
2017-01-09 11:01:47 +02:00
Hristo Deshev
a1cf0c1d6d Merge pull request #3302 from NativeScript/hdeshev/types-class-name
Fix utils/types class name resolution regex.
2017-01-03 15:00:32 +02:00
Hristo Deshev
1fd08e4e4c Fix utils/types class name resolution regex. 2017-01-03 10:43:21 +02:00
Rossen Hristov
2970ad54fc Merge pull request #3261 from NativeScript/issue-3147
Fix: Setting `setTypeface()` to null object
2017-01-03 10:24:41 +02:00
Rossen Hristov
876752257d Merge pull request #3266 from NativeScript/issue-3210
Fix: SegmentedBar crash using a number as title
2017-01-03 10:24:34 +02:00
Rossen Hristov
c5e3e81d8d Merge pull request #3279 from NativeScript/issue-3270
Fix: Android platform.screen.mainScreen props are not invalidated aft…
2017-01-03 10:24:20 +02:00
Rossen Hristov
7a2c7d1cb7 Merge pull request #3285 from NativeScript/issue-1639
Fix: Custom components within other custom components: occasionally…
2017-01-03 10:24:12 +02:00
Rossen Hristov
4a109c616c Merge pull request #3289 from NativeScript/issue-2116
Fix: setInterval callback is not fired while touch events are being p…
2017-01-03 10:24:02 +02:00
Nedyalko Nikolov
f3e81bdac2 Merge pull request #3304 from NativeScript/nnikolov/FixFailingTests
Fixed tests tns-core-modules true plugin.
2016-12-16 13:39:10 +02:00
Nedyalko Nikolov
d368d35e0a Fixed tests tns-core-modules true plugin. 2016-12-16 12:16:12 +02:00
tzraikov
6fbd98deab Merge pull request #3260 from NativeScript/raikov/fix-livesync-ios
Fixed: XML/HTML livesync not working on iOS
2016-12-14 11:25:04 +02:00
Rossen Hristov
5338484c4b Fix: setInterval callback is not fired while touch events are being processed
Resolves #2116
2016-12-13 14:33:01 +02:00
Rossen Hristov
8586eded36 Fixed: Custom components within other custom components: occasionally not loaded "in time" and ignoring css
Resolves #1639
2016-12-12 16:45:36 +02:00
Rossen Hristov
624717a396 Merge pull request #3283 from NativeScript/issue-1639
Added UI test for nested components CSS application
2016-12-12 14:13:18 +02:00
Rossen Hristov
f578f4eec4 Added UI test for nested components CSS application
Resolves #1639
2016-12-12 13:16:31 +02:00
Rossen Hristov
3e461cd38c Fix: Android platform.screen.mainScreen props are not invalidated after orientation change
Resolves #3270
2016-12-12 11:16:36 +02:00
Rossen Hristov
b77903f3be Merge pull request #3280 from NativeScript/fix-tsc
Fix tsc errors
2016-12-12 11:15:50 +02:00
Rossen Hristov
d1edf6bb93 Fix tsc errors 2016-12-12 10:46:45 +02:00
Rossen Hristov
d05f5f6a2c Fix: SegmentedBar crash using a number as title
Resolves #issue-3210
2016-12-08 13:13:28 +02:00
Rossen Hristov
ae68368d29 Fixed: Setting setTypeface() to null object
Resolves #3147
2016-12-07 17:23:57 +02:00
Tsvetan Raikov
a12ad21bfd Fixed: XML/HTML livesync not working on iOS 2016-12-07 13:52:48 +02:00
Nedyalko Nikolov
39007ab05e Removed myst ListView test for ios (#3250) 2016-12-07 10:53:38 +02:00
Alexander Vakrilov
64a4e8a3ed Merge pull request #3243 from NativeScript/placeholder-color-crash
Fix(IOS): Setting placeholder color crashes
2016-12-05 16:26:46 +01:00
vakrilov
8101a68c25 Fixed(IOS): Setting placeholder color on text filed crashes if no hint is set 2016-12-05 15:16:21 +02:00
pgrzeszczak
fee1dd9a59 Do not dismiss keyboard on android, when text-field has return key type set to 'next' (#3239) 2016-12-05 14:07:00 +02:00
Nathanael Anderson
38d6484539 Fixes the metrics issue when soft-navigation is used on a device/emulator. (#3236) 2016-12-05 11:05:46 +02:00
Maya Zhecheva
964a55f575 Merge pull request #3233 from NativeScript/zhecheva/separator-color
separatorColor property of ListView can be set in CSS
2016-12-05 10:07:06 +02:00
Maya Zhecheva
0d7a731dd0 Merge pull request #3228 from NativeScript/zhecheva/listpicker-color
ListPicker respects color and bckgColor set from CSS
2016-12-05 10:06:53 +02:00
Maya Zhecheva
1c95267865 Merge pull request #3211 from NativeScript/zhecheva/dialog-button-backgroundColor
Background of the buttons inside dialog can be modified with CSS
2016-12-05 10:06:33 +02:00
zh-m
1343aa52a4 separatorColor property of ListView can be set in CSS 2016-12-02 17:43:42 +02:00
Vladimir Enchev
d908874a5d Allow iOS app to be started multiple times (#3231)
Integration with existing iOS app
2016-12-02 17:00:34 +02:00
zh-m
669f6dc8ec ListPicker color and bckgColor set from CSS 2016-12-02 11:45:44 +02:00
Panayot Cankov
46a59ab92c Merge pull request #3219 from NativeScript/fix-android-btn-active-after-resume
Android button active state fixed to work after app suspend and resume
2016-12-01 13:20:11 +02:00
Panayot Cankov
cd5eb0b290 Android button active state fixed to work after app suspend and resume 2016-12-01 12:38:56 +02:00
Panayot Cankov
af0826df38 Merge pull request #3217 from NativeScript/fix-error
Properly extend Error so message and stack appear in error activity
2016-12-01 11:52:35 +02:00
Panayot Cankov
5db5dfd867 Properly extend Error instead of implementing it, update the Error message and stack to appear in the console and error activity 2016-12-01 10:50:46 +02:00
zh-m
35c48b30e6 UI test for setting bckg and color of buttons inside dialogs 2016-11-30 16:16:14 +02:00
zh-m
825d577621 Background of the buttons inside dialog can be modified through global style in CSS 2016-11-30 16:16:14 +02:00
Maya Zhecheva
9742d2f304 Merge pull request #3202 from NativeScript/zhecheva/image-picker-asset
ImageAsset extends Observable
2016-11-30 15:15:13 +02:00
Panayot Cankov
56cd220c17 FlexboxLayout profiling and improvements (#3173)
* It looks like inline styles are making the flexbox example slow

* FlexboxLayout createReorderIndices proper overload

* Remove the getLayoutParams

* Removed unnecessary reorder methods

* Fix tslint errors
2016-11-30 11:30:02 +02:00
Panayot Cankov
3b0904b5f9 Update image-asset.d.ts 2016-11-30 11:24:54 +02:00
zh-m
5f94a302fb ImageAsset extends Observable 2016-11-29 17:43:50 +02:00
Shripal Soni
d43dd159c2 Fix for issue #3181 to maintain cursor position on toggle of secure field. (#3197) 2016-11-29 16:06:33 +02:00