Commit Graph

363 Commits

Author SHA1 Message Date
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
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
vakrilov
258b36b1e4 Skip iterating children that are not visible 2016-11-29 14:50:34 +02:00
Rossen Hristov
7c39e58dff Merge pull request #3191 from NativeScript/issue-3175
Fix: Invalid value 500 for property fontWeight in XML
2016-11-29 10:55:22 +02:00
Rossen Hristov
1babfe5997 Merge pull request #3189 from NativeScript/issue-3111
Fix: TextView new line closes virtual keyboard on Android
2016-11-29 10:55:01 +02:00
Nedyalko Nikolov
4012dabd98 Merge pull request #3170 from NativeScript/nnikolov/SetFunctionsForCssFileAndResources
Export set function for cssFile and resources.
2016-11-28 18:16:10 +02:00
Rossen Hristov
39113f6fdd Fix: Invalid value 500 for property fontWeight in XML
Resolves #3175
2016-11-28 16:42:44 +02:00
Rossen Hristov
6ac1417578 Fix: TextView new line closes virtual keyboard on Android
Resolves #3111
2016-11-28 15:13:19 +02:00
Vladimir Enchev
b650bbbb6a Api 21 fix (#3187) 2016-11-28 14:43:03 +02:00
Nedyalko Nikolov
0b7ea27fd5 Export set function for cssFile and resources. 2016-11-25 14:55:22 +02:00
zh-m
aa91b0eca0 Border width cannot be reset to 0 on IOS 2016-11-24 18:19:52 +02:00
Maya Zhecheva
2e13205797 CSS support for styling status bar (#3156) 2016-11-24 14:20:12 +02:00
Vladimir Enchev
3f4a5beca9 GBK encoding support for http (#3165)
* http response add GBK charset support

* default encode do not change

* change compare response encode `==`  to `===`
2016-11-24 13:53:43 +02:00
tzraikov
2d640ddeda Merge pull request #3093 from NativeScript/raikov/fix-2870
Fixed: ActionBar w/translucent navigationBar set to false is creating whitish transition
2016-11-24 13:16:35 +02:00
Vladimir Enchev
beb70ee3f7 setColorFilter used if android.os.Build.VERSION.SDK_INT >= 21 (#3143) 2016-11-23 09:42:31 +02:00
Nedyalko Nikolov
303b609573 Adding request for write storage permissions. 2016-11-22 14:34:14 +02:00
Rossen Hristov
b42fc7fdae Fix: Setting automationText to a number crashes the app on Android
Resolves #3064
2016-11-21 15:03:35 +02:00
Rossen Hristov
91083a4ea4 Fix: Modal dialogs don't have background color
Resolves #3129
2016-11-21 14:07:46 +02:00
Rossen Hristov
30d202b5f1 Fix: Transparent border rendered as black
Resolves #3113
2016-11-21 12:25:13 +02:00
vB Results, LLC
978bd8c524 Use setBackgroundDrawable for API < 16. (#3108) 2016-11-18 14:47:06 +02:00
Rossen Hristov
4fff9cd879 Fix: connectivity module always returns undefined on android <= 4.4
Resolves #3098
2016-11-16 17:29:22 +02:00
Tsvetan Raikov
3f578741f7 Fixed: ActionBar w/translucent navigationBar set to false is creating whitish transition 2016-11-15 13:11:04 +02:00
Nedyalko Nikolov
3c9a2c7fa6 Foreground activity cleared on activity destroyed. 2016-11-15 11:59:45 +02:00
sis0k0
5746dc5824 fix(style-scope): remove isFileOrResourcePath check 2016-11-14 14:32:25 +02:00
Nedyalko Nikolov
16fb5865cb Merge pull request #3062 from NativeScript/nnikolov/DeprecateCameraAndRemoveLocationTests
Removed location tests and deprecated camera module.
2016-11-10 17:32:31 +02:00
Nedyalko Nikolov
3d9631bd00 Removed location tests and deprecated camera module. 2016-11-10 15:33:06 +02:00
Rossen Hristov
9ebc01b8e9 Add inset CSS clip-path support 2016-11-10 14:41:32 +02:00
tzraikov
2f83f6d882 Merge pull request #3050 from NativeScript/raikov/fix-jumping-actionbar2
Fixed: jumping action bar reported in #2941
2016-11-10 14:01:24 +02:00
Tsvetan Raikov
a0cd3b0f39 Fixed: jumping action bar reported in #2941 2016-11-10 11:21:05 +02:00
PanayotCankov
2bf7b07bf6 Add validation/parsing for the FlexboxLayout properties
Make FlexboxLayout work with CSS properties, shorhands are not yet supported

Make shorthand properties

Remove redundant logging
2016-11-10 11:16:24 +02:00
Rossen Hristov
80e9f9f97e Merge pull request #3047 from NativeScript/offscreen
Add TabView.androidOffscreenTabLimit property
2016-11-09 07:52:11 +02:00
Rossen Hristov
e59d145705 Add TabView.androidOffscreenTabLimit property
Resolves #2815

* Gets or sets the number of tabs that should be retained to either side of the current tab in the view hierarchy in an idle state.
* Tabs beyond this limit will be recreated from the TabView when needed.
2016-11-08 17:17:30 +02:00
Nedyalko Nikolov
a7a650fd79 Merge pull request #3040 from NativeScript/nnikolov/FixedDatePicker
Fixed DatePicker issues with date 7-th.
2016-11-08 13:49:14 +02:00
sis0k0
1a497b13f8 fix(file-system-access): join paths without leading slash 2016-11-08 11:28:16 +02:00
sis0k0
414ebc67dd feat(style-scope): Resolve css sheets from tns_modules
If the css sheet is not in the app directory, try to find it in the
tns_modules folder.
2016-11-08 11:28:16 +02:00
Nedyalko Nikolov
6736bf73d7 Fixed DatePicker issues with date 7-th. 2016-11-08 11:01:30 +02:00
Rossen Hristov
d674d806aa Use setColorFilter on post-21 ActionBars only 2016-11-07 14:13:31 +02:00
Panayot Cankov
45578430ac Merge pull request #3020 from NativeScript/flexbox-last-noshrink-fix
Shrink will not damage the last item when it is shrink=0
2016-11-07 13:14:24 +02:00
Panayot Cankov
212d147f6f Merge pull request #3019 from NativeScript/fix-flexbox-crash
Fix flexbox crash for iOS
2016-11-07 13:14:02 +02:00
vB Results, LLC
7cad85faf8 Added import attribute to page module. (#3009) 2016-11-07 11:37:47 +02:00
Adam Voss
06c04c41fb Improve error message of fetch when xhr.onerror occurs (#3003)
* Ensure fetch-tests fail (instead of timeout) on failure

* Standardize failure handling in fetch-tests

* Improve flawed failure condition of test_fetch_json

Previously, the assertion was always true

* Implement better error message for for xhr.onerror within fetch
2016-11-07 11:04:39 +02:00
Rossen Hristov
329817a2ba Merge pull request #3027 from NativeScript/issue-2689
Add TabView.iosIconRenderingMode property
2016-11-07 09:46:12 +02:00
Hristo Deshev
43b1834f84 Merge pull request #3013 from NativeScript/hdeshev/bundle-config
Fix bundle-entry-points by importing globals first.
2016-11-04 17:51:14 +02:00
Rossen Hristov
93cc666b8f Add TabView.iosIconRenderingMode property
Resolves #2689
2016-11-04 16:18:55 +02:00
PanayotCankov
bac125efc1 Shrink will not damage the last item when it is shrink=0 2016-11-04 12:12:28 +02:00
PanayotCankov
f79ed04671 Fix flexbox crash for iOS 2016-11-04 11:30:21 +02:00