Commit Graph

5976 Commits

Author SHA1 Message Date
vakrilov
291207fa36 FIX: Be able to bind list view.items to string 2017-03-20 17:21:40 +02:00
Peter Kanev
de7e787283 always attach console implementation on android 2017-03-20 16:59:27 +02:00
Hristo Deshev
9d67e44cdf Work around an issue with webpack's extension resolution.
Not resolving ../utils imports.
2017-03-20 16:12:10 +02:00
Hristo Hristov
fe54ac6ead Layout round instead of ceiling (#3833)
* Layout round instead of cailing
Add helper method to layout module to convert to/from dips to px and measure the native view
whiteSpace affects layout added for iOS
Fix bug in switch onMeasure implementation
Fix bug in cssValueToDevicePixels iOS implementation
ActionBar for iOS is measured with AT_MOST modifier

* Fix switch measure routine
2017-03-20 16:11:16 +02:00
Hristo Hristov
f165382bb7 Apply gravity in android if LayoutParams have gravity field. (#3814)
ActionBar titleView aligments are applied only if no alignment are set to titleView and after view is added to visual tree otherwise they were reset in addView method
2017-03-20 15:09:23 +02:00
Alexander Vakrilov
6398cbdec9 Merge pull request #3821 from NativeScript/ios-clip-to-bounds
Always set clipToBounds for images, list-view and scroll-view
2017-03-17 17:31:58 +02:00
vakrilov
f29f7cb607 Always set clipToBounds for images, list-view and scroll-view 2017-03-17 15:22:59 +02:00
Peter Kanev
cc96fd0cfe Merge pull request #3796 from NativeScript/pete/android-network-agent
Network Agent implementation (Android)
2017-03-17 13:35:53 +02:00
Nikolay Tsonev
69e596ba51 Merge pull request #3819 from NativeScript/niliev/cookbook
Cookbook typo
2017-03-17 11:38:52 +02:00
NickIliev
a09320295e typo 2017-03-17 11:04:03 +02:00
Peter Kanev
290a771ea1 add calls to the network agent (Chrome DevTools) inside http-request.android when making http requests if debugging is enabled 2017-03-17 09:44:25 +02:00
Alexander Vakrilov
288cd031cd Merge pull request #3817 from NativeScript/hint-test-typo
FIX: Typo fix
2017-03-16 16:49:18 +02:00
Panayot Cankov
636a3f5036 Fix ios px not converted to dip for sizeThatFits (#3816) 2017-03-16 16:41:38 +02:00
Hristo Hristov
37491faa4c Fix percent setters (#92) 2017-03-16 16:41:17 +02:00
vakrilov
0ec8563a20 FIX: Typo fix 2017-03-16 16:34:19 +02:00
Hristo Deshev
3db17a4a1b Remove unused parameter in android list view recycling callbacks. 2017-03-16 15:54:59 +02:00
Hristo Deshev
308fa55e02 Fix disappearing list item styles when navigating back to a page.
Do not clear style scope on unload event. Do it when removing child
views instead.
2017-03-16 15:54:59 +02:00
Stanimira Vlaeva
3ea7365871 fix(animations): register both style's "name" and "cssName" (#3810) 2017-03-16 15:20:08 +02:00
Vasil Chimev
4e6952526b Merge pull request #3807 from NativeScript/vchimev-test
Update borderRadius of pixels test page
2017-03-16 11:58:36 +02:00
Alexander Vakrilov
5e1cc69d6c Merge pull request #91 from NativeScript/pete/async-add-url-statusText
Add 'url' and 'statusText' to Async.RequestResult
2017-03-16 11:49:50 +02:00
vchimev
badb54e63d Update borderRadius of pixels test page 2017-03-16 10:36:42 +02:00
Alexander Vakrilov
57bad3f6ff Merge pull request #3804 from NativeScript/borders-clip
Borders clip
2017-03-16 09:43:11 +02:00
Vasil Chimev
957a64885f Merge pull request #3803 from NativeScript/hhristov/label-single-line
Made label to be single line again
2017-03-15 19:21:33 +02:00
Vasil Chimev
3aa7a530d4 Merge pull request #3799 from NativeScript/fix-rounding
All units ceil up, except percents that do round
2017-03-15 19:20:54 +02:00
Vasil Chimev
5e4596f3bd Merge pull request #3801 from NativeScript/vchimev-test
Add pixels perfect test page
2017-03-15 19:20:30 +02:00
vakrilov
4196b9e50b Apply clip when there are any borders in ios 2017-03-15 18:26:59 +02:00
vakrilov
d9d0b7b072 Tests minor changes 2017-03-15 18:26:59 +02:00
Hristo Hristov
bb0b1b76a3 Made label to be single line again 2017-03-15 18:19:46 +02:00
Panayot Cankov
64408d726e Merge pull request #3798 from NativeScript/fix-ios-fonts
FontAwesome will now work in iOS buttons, being bold will fallback to Helvetica
2017-03-15 17:53:43 +02:00
Panayot Cankov
2bd9d6f167 All units ceil up, except percents that do round 2017-03-15 17:49:47 +02:00
Hristo Hristov
e151c4dc4e Fix TabView args.object for selectedIndexChangedEvent (#3800)
Add assert in existing test
Code formatting
2017-03-15 17:25:02 +02:00
vchimev
2bdb5622df Add test page
Pixels perfect and device independent pixels
2017-03-15 17:21:56 +02:00
Panayot Cankov
01368d4bb5 FontAwesome will now work in iOS buttons, being bold will fallback to Helvetica 2017-03-15 17:03:37 +02:00
Hristo Hristov
7b5ef052fd Tests moved into separate folders (#3794)
Fix android crash on application exit
2017-03-15 12:26:54 +02:00
Hristo Hristov
58ab01870d Label borders are transformed to DIP before setting to native view (#3795) 2017-03-15 11:39:39 +02:00
Stanimira Vlaeva
fd407a4f54 Cherry-pick: Fix utils/types class name resolution regex. (#3793) 2017-03-15 10:55:56 +02:00
Peter Kanev
64b3248f17 add 'url' and 'statusText' properties to result object from Async Http requests 2017-03-15 09:46:51 +02:00
Alexander Vakrilov
cbbb5c167f Merge pull request #3787 from NativeScript/seg-bar-thickness
FIX: Segmenter bar thickness
2017-03-14 15:01:41 +02:00
Alexander Vakrilov
7e72351047 Merge pull request #90 from NativeScript/segmented-bar-color-thickness
Pass thickness as constructor parameter
2017-03-14 14:59:52 +02:00
Alexander Vakrilov
0450cce77f Merge pull request #3785 from NativeScript/fix-ios-label
FIX: IOS measure bug + livesinc
2017-03-14 14:46:26 +02:00
vakrilov
a824224cca FIX: Segmenter bar thickness 2017-03-14 14:42:54 +02:00
vakrilov
78892e694e Pass thickness as constructor paramter 2017-03-14 14:00:57 +02:00
vakrilov
32a1a4760a FIX: IOS measure bug + livesinc 2017-03-14 11:50:40 +02:00
Panayot Cankov
9a051f8373 Merge pull request #3784 from NativeScript/fix-tabbar-icons
iOS TabBarItems got set UIViewControler on their naitveView, now they have dedicated _iosViewController.
2017-03-14 10:31:03 +02:00
Hristo Hristov
a64bba62aa whiteSpace default value change to undefined (#3782)
TKUnit default message change to empty string
isSet method is now instance method of Property classes
fix detaching from parent bindingContext - were using oldParent.parent instead of parent
editable-text-base.android - onTextChanged implementation commented. Does nothing.
frame - onCreateView wrapped in try/catch and shows label with exception message if any
text-base.android - should support reset of nativeView. TransformationMethod won’t be set if TextField is secure
Change some types to their string couterparts
TextField.android won’t support multilines anymore in order to work as iOS
In android when page is removed from native backstack we won’t call tearDownUI again a second time
2017-03-14 10:26:45 +02:00
Alexander Vakrilov
8592c934ec Merge pull request #3774 from NativeScript/placeholder-color-ios
Implemented placeholder-color for text-view IOS
2017-03-14 10:02:51 +02:00
Panayot Cankov
6cae3cfbbd iOS TabBarItems got set UIViewControler on their naitveView, now they have dedicated _iosViewController 2017-03-14 09:37:06 +02:00
vakrilov
84819f6c9a Implemented placeholder-color for text-view IOS 2017-03-13 18:12:11 +02:00
Hristo Deshev
629eb6e683 Use relative imports in tns-core-modules.
Use tns-core-modules/* imports in outside code (apps, tests, etc)
2017-03-13 14:37:59 +02:00
Panayot Cankov
dfb4e031a6 Merge pull request #3780 from NativeScript/fix-paddings
Padding for various iOS controls was not reflected the px/dip change
2017-03-13 11:45:37 +02:00