Commit Graph

724 Commits

Author SHA1 Message Date
Hristo Hristov
cf63da608a If page.parent is already the same frame - don’t add page to frame. This happens if activity is recreated. (#4096) 2017-05-04 10:39:39 +03:00
Hristo Hristov
b7401cffd3 ImageView clear bitmap only when src is null/undefined (#4095) 2017-05-03 14:17:05 +03:00
vakrilov
43029285ec Remove redundant definitions 2017-05-01 17:26:46 +03:00
Panayot Cankov
effbffac0f Binding Image's src to 'res://icon' fails as bindings wrap string in String 2017-04-28 15:32:19 +03:00
Panayot Cankov
aed7510994 Merge pull request #4073 from NativeScript/fix-image-src-null
Setting image src to null will clear the bitmap.
2017-04-28 11:52:20 +03:00
Alexander Vakrilov
f9c89f3bef Merge pull request #4075 from NativeScript/PetyaSotirova/api-links
Fix wrong API ref links
2017-04-27 21:37:19 +03:00
Petya Sotirova
07247e9fcc Fix wron API ref links 2017-04-27 18:31:59 +03:00
Panayot Cankov
62cba0070f Setting image src to null will clear the bitmap. 2017-04-27 13:55:32 +03:00
Hristo Hristov
502a37d27c Fix ios placeholder implementation (#4067)
* Fix https://github.com/NativeScript/NativeScript/issues/4043

* Merge ios & android implementation
2017-04-26 14:27:24 +03:00
Panayot Cankov
826c922a98 Merge pull request #4056 from NativeScript/revert-translate
Revert the translateX/Y to be in dip, Length prefer number to object type
2017-04-25 16:02:28 +03:00
Panayot Cankov
e26032f5fe Revert the translateX/Y to be in dip 2017-04-25 14:49:12 +03:00
Panayot Cankov
5cc8def8e4 Fix broken _onAndroidAnimationEnd after back navigation 2017-04-25 14:32:50 +03:00
Vasil Chimev
0467375856 Update widgets to internal-preview 2017-04-24 14:21:11 +03:00
Panayot Cankov
d7638c3ae4 Fix missing private _addChildFromBuilder 2017-04-24 10:24:05 +03:00
Hristo Hristov
25849a1425 implement get/set for selectedBackgroundColor property (#4039)
* implement get/set for selectedBackgroundColor property

* list-view separator color exposed through style

* Style androidStatusBarBackground exposed on Page
2017-04-21 17:57:25 +03:00
Alexander Vakrilov
c7c0ea7ca4 Merge pull request #4038 from NativeScript/vlaeva/const-enum-replacement
refactor: replace exported "const enums" with "enums"
2017-04-21 17:22:07 +03:00
Alexander Vakrilov
5457424766 Expose statusBarStyle on page (#4021) 2017-04-21 17:16:57 +03:00
Hristo Hristov
9e3222781a backgroundImage property now use Fetcher & Cache as Image component (#4030)
* backgroundImage property now use Fetcher & Cache as Image component
Fix GridLayout tests on iPhone Plus - actualLength wasn’t rounded
ImageCache is closed when activity is stopped

* Fix reset of background drawable.

* additional check for drawable

* imageCache init cache on activity Started
2017-04-21 16:50:12 +03:00
sis0k0
486a0e8c2c refactor: replace exported "const enums" with "enums" 2017-04-21 16:27:31 +03:00
Eddy Verbruggen
9437f49aed #3889 Add a 'blur' event to text input fields (#3896) 2017-04-20 17:57:03 +03:00
Panayot Cankov
b6b5465d32 Merge pull request #3992 from NativeScript/typedoc-build
Update the typedoc build
2017-04-20 17:41:42 +03:00
Panayot Cankov
d098ff43f5 Add module names for the typedoc, make it work
Mark members with @private for typedoc.
2017-04-20 16:58:30 +03:00
SvetoslavTsenov
423f4cf7f3 Update package.json 2017-04-18 17:46:55 +03:00
SvetoslavTsenov
6a4d159d7c Bump version 2017-04-18 17:37:23 +03:00
Alexander Vakrilov
dca52bb8fd Merge pull request #3988 from NativeScript/fix-autocapitalization-type
FIX: Crash when setting autocapitalizationType=allCharacters in xml
2017-04-13 13:09:46 +03:00
vakrilov
4b98db0643 Property values should be lowercased to pass validation. 2017-04-13 11:22:45 +03:00
Alexander Vakrilov
577d011166 Merge pull request #3982 from NativeScript/remove-getColor
Remove getColor form utils.d.ts
2017-04-13 11:10:44 +03:00
vakrilov
a6909da543 Fix: TextAlign initial value 2017-04-12 17:43:40 +03:00
vakrilov
81aa5d2795 Remove getColor form utils.d.ts 2017-04-12 17:25:54 +03:00
Alexander Vakrilov
9aadf14685 Merge pull request #3980 from NativeScript/web-view-query-params
Web view query params
2017-04-12 13:58:41 +03:00
Panayot Cankov
7108fc6954 Merge pull request #3979 from NativeScript/fix-ios-zero-scale
Setting scale to 0 in iOS was actually using 0, it will now use 1e-6
2017-04-12 11:12:58 +03:00
Panayot Cankov
108f4c287d Inital animations were not played in android, since CSS in android is now applied before the native view is created/assigned 2017-04-12 10:40:45 +03:00
vakrilov
e9327e887d Respect query params in web-view 2017-04-12 10:38:26 +03:00
Panayot Cankov
078bd48909 Scaling to zero should be avoided in iOS as the underlying system won't be able to decompose the resulting affine matrix, but in cases of 0 we were setting it to 1, we will now set it to 1e-6. 2017-04-12 10:30:53 +03:00
Panayot Cankov
17b6f1c5f6 Property change notifications raise value and oldValue 2017-04-07 17:12:39 +03:00
Alexander Vakrilov
e5018c72f4 Merge pull request #3953 from NativeScript/ios-nav-title
Ensure navigation title view is removed if undefined
2017-04-07 14:43:48 +03:00
Panayot Cankov
92d015b8d8 Animations were always played as keyframes and kept overriding the local values. Android setAlpha has deprecated int overload, now it is guided to use the float one. Android background color was animated using css values instead of local or the keyframe one. 2017-04-06 14:50:40 +03:00
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