730 Commits

Author SHA1 Message Date
6649fcfa66 Merge pull request #4159 from NativeScript/fix-btn-span
FIX: Span with unknown font-family crash
2017-05-11 10:32:49 +03:00
6b10e94005 FIX: Span with unknown font-family crash 2017-05-10 18:42:23 +03:00
c2aec26ccf Merge pull request #4146 from NativeScript/sibling-css-selector
Sibling css selector
2017-05-10 14:20:10 +03:00
0cae034a64 Changing module docs so they can appear in typedoc. 2017-05-10 11:55:47 +03:00
af38cf5f3e Create css combnators tests page in apps
Setup direct siblings apps tests

Fix direct child test

Add direct sibling test on class and type element

Add sibling combinator handling for id selectors

Completely redo sibling selector and add attributes and pseudo class selectors tests

Handle sibling via a custom group instead of a selector

Fix Selector groups creation

Add unit test for sibling selection

Fix tslint errors
2017-05-09 11:29:11 +03:00
85008174cb Update npm tag 2017-05-04 15:44:32 +03:00
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
b7401cffd3 ImageView clear bitmap only when src is null/undefined (#4095) 2017-05-03 14:17:05 +03:00
43029285ec Remove redundant definitions 2017-05-01 17:26:46 +03:00
effbffac0f Binding Image's src to 'res://icon' fails as bindings wrap string in String 2017-04-28 15:32:19 +03:00
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
f9c89f3bef Merge pull request #4075 from NativeScript/PetyaSotirova/api-links
Fix wrong API ref links
2017-04-27 21:37:19 +03:00
07247e9fcc Fix wron API ref links 2017-04-27 18:31:59 +03:00
62cba0070f Setting image src to null will clear the bitmap. 2017-04-27 13:55:32 +03:00
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
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
e26032f5fe Revert the translateX/Y to be in dip 2017-04-25 14:49:12 +03:00
5cc8def8e4 Fix broken _onAndroidAnimationEnd after back navigation 2017-04-25 14:32:50 +03:00
0467375856 Update widgets to internal-preview 2017-04-24 14:21:11 +03:00
d7638c3ae4 Fix missing private _addChildFromBuilder 2017-04-24 10:24:05 +03:00
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
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
5457424766 Expose statusBarStyle on page (#4021) 2017-04-21 17:16:57 +03:00
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
486a0e8c2c refactor: replace exported "const enums" with "enums" 2017-04-21 16:27:31 +03:00
9437f49aed #3889 Add a 'blur' event to text input fields (#3896) 2017-04-20 17:57:03 +03:00
b6b5465d32 Merge pull request #3992 from NativeScript/typedoc-build
Update the typedoc build
2017-04-20 17:41:42 +03:00
d098ff43f5 Add module names for the typedoc, make it work
Mark members with @private for typedoc.
2017-04-20 16:58:30 +03:00
423f4cf7f3 Update package.json 2017-04-18 17:46:55 +03:00
6a4d159d7c Bump version 2017-04-18 17:37:23 +03:00
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
4b98db0643 Property values should be lowercased to pass validation. 2017-04-13 11:22:45 +03:00
577d011166 Merge pull request #3982 from NativeScript/remove-getColor
Remove getColor form utils.d.ts
2017-04-13 11:10:44 +03:00
a6909da543 Fix: TextAlign initial value 2017-04-12 17:43:40 +03:00
81aa5d2795 Remove getColor form utils.d.ts 2017-04-12 17:25:54 +03:00
9aadf14685 Merge pull request #3980 from NativeScript/web-view-query-params
Web view query params
2017-04-12 13:58:41 +03:00
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
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
e9327e887d Respect query params in web-view 2017-04-12 10:38:26 +03:00
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
17b6f1c5f6 Property change notifications raise value and oldValue 2017-04-07 17:12:39 +03:00
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
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
a598e2c90a Ensure navigation title view is removed if undefined 2017-04-06 13:21:23 +03:00
70ae742f00 Merge pull request #3940 from NativeScript/web-view-nav-type
WebView NavigationType converted to type
2017-04-06 13:04:47 +03:00
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
d427c9ed8f WebView NavigationType converted to type 2017-04-06 11:23:48 +03:00
f350f7191d textTransform, whiteSpace & textAlignment defaultValue is now “initia” (#3948)
removed enum namespaces
add valueConverter to clipToBounds
2017-04-06 09:50:37 +03:00
84e7424545 Merge pull request #3934 from NativeScript/fix-android-pathinterpolator
Fix android PathInterpolator
2017-04-04 13:50:43 +03:00
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