Commit Graph

546 Commits

Author SHA1 Message Date
vakrilov
a598e2c90a Ensure navigation title view is removed if undefined 2017-04-06 13:21:23 +03:00
Alexander Vakrilov
70ae742f00 Merge pull request #3940 from NativeScript/web-view-nav-type
WebView NavigationType converted to type
2017-04-06 13:04:47 +03:00
Eddy Verbruggen
979c2fe850 Feature: New Dialog-Prompt-Input-Type for E-Mails (#3905)
* #3118 Feature: New Dialog-Prompt-Input-Type for E-Mails

* Forgot to change a comment

Changed Password to Email in a comment.
2017-04-06 12:41:04 +03:00
vakrilov
d427c9ed8f WebView NavigationType converted to type 2017-04-06 11:23:48 +03:00
Hristo Hristov
f350f7191d textTransform, whiteSpace & textAlignment defaultValue is now “initia” (#3948)
removed enum namespaces
add valueConverter to clipToBounds
2017-04-06 09:50:37 +03:00
Panayot Cankov
84e7424545 Merge pull request #3934 from NativeScript/fix-android-pathinterpolator
Fix android PathInterpolator
2017-04-04 13:50:43 +03:00
Hristo Hristov
5f14fc6a23 text-decoration won’t be applied to edit-text (#3932)
* text-decoration won’t be applied to edit-text

* stop printing slow tests

* remove console line

* fix failing tests

* fix wrong checks
2017-04-04 13:50:34 +03:00
Panayot Cankov
10f8cd4d2f Fix android PathInterpolator 2017-04-04 11:31:27 +03:00
Panayot Cankov
4105083dd4 Fix iOS animations, transition was workin in DIP, when css class is change objects were flickering 2017-04-03 17:17:59 +03:00
vakrilov
740d71a238 Apply page css when using nav-entry with create method 2017-04-03 14:51:57 +03:00
Hristo Hristov
00d82010ae propagate inheritable values only on child added. (#3926)
segmented bar createNativeView returns the nativeView
2017-04-03 11:08:11 +03:00
Alexander Vakrilov
b2c6cf2d01 Merge pull request #3861 from DickSmith/master
fix(ui) updateTextTrigger="focusLost" for Android
2017-04-03 10:33:39 +03:00
Hristo Hristov
120230c297 ios cornder radius is rendered as circle now (#3915)
* ios cornder radius is rendered as circle now

* fix failing test
2017-03-31 16:18:12 +03:00
Hristo Hristov
e802206f0e nativeView not cleared in iOS (#3912) 2017-03-31 11:01:04 +03:00
Alexander Vakrilov
7a1f1b2b80 Merge pull request #3891 from NativeScript/tab-view-text-transform
Initial value for text transform
2017-03-31 09:57:56 +03:00
Hristo Hristov
15e4d6a230 ActionBar wasn’t applying native setters becasue it was missing nativeView (#3910) 2017-03-30 18:38:48 +03:00
vakrilov
be85af4a0d Text transform - no default value 2017-03-30 18:35:55 +03:00
Alexander Vakrilov
12a03347ab Merge pull request #3856 from NativeScript/delete-special-properties
special-properties module removed
2017-03-30 13:39:05 +03:00
Hristo Hristov
29e07dd027 Hhristov/fix tab view selected index (#3893)
* fix button ios color property when textDecoration is applied

* Button ios color set on titleLabel

* Coerce tabView selectedIndex after native items are set
2017-03-29 16:39:54 +03:00
Hristo Hristov
e6250e718a Disable recycling of native views
createNativeView will set iOS nativeView if it is null/undefined
2017-03-28 18:08:59 +03:00
Hristo Hristov
84e726e6b9 Resolving comments 2017-03-28 18:08:59 +03:00
Hristo Hristov
c18a76c93a rename:
_createNativeView to createNativeView;
_initNativeView to initNativeView
_disposeNativeView to disposeNativeView
_resetNativeView to resetNativeView
2017-03-28 18:08:59 +03:00
Hristo Hristov
f2898f84d5 NativeView recycled for android 2017-03-28 18:08:59 +03:00
Hristo Deshev
c4dd3782d5 Fix unhandled rejection warnings in keyframe animations. 2017-03-24 15:28:29 +02:00
Hristo Deshev
b89951845b Fix CSS animations for elements that have not been loaded yet.
- Always apply animations even if it happens before the loaded event.
- Add an extra check for Android LinearInterpolator to get rid of a
curve resolution crash.
2017-03-24 15:28:29 +02:00
Dick Smith
73ead078fc Fix #3860 2017-03-23 15:42:49 -04:00
vakrilov
adf0eac9fb special-properties module removed 2017-03-23 11:53:49 +02:00
Panayot Cankov
2b28730011 Split get/set native to getDefault setNative 2017-03-22 16:37:52 +02:00
vakrilov
ef7d9155b2 Fix: ListPicker selected index coercing 2017-03-21 16:59:47 +02:00
vakrilov
c72ec09fe0 FIX: WebView not showing in gallery app 2017-03-21 16:24:05 +02:00
Hristo Hristov
f8b13acce6 Label textWrap fix for iOS (#3842) 2017-03-21 15:33:52 +02:00
Hristo Hristov
9b47fff54a Fix clip-path for iOS (#3839) 2017-03-21 15:14:42 +02:00
Hristo Hristov
92723d176b Livesync reloads css (#3835) 2017-03-21 13:04:50 +02:00
vakrilov
291207fa36 FIX: Be able to bind list view.items to string 2017-03-20 17:21:40 +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
vakrilov
f29f7cb607 Always set clipToBounds for images, list-view and scroll-view 2017-03-17 15:22:59 +02:00
Panayot Cankov
636a3f5036 Fix ios px not converted to dip for sizeThatFits (#3816) 2017-03-16 16:41:38 +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
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
vakrilov
4196b9e50b Apply clip when there are any borders in ios 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