Commit Graph

654 Commits

Author SHA1 Message Date
eddyverbruggen@gmail.com
eda57d2c35 #3614 Feature request: TextField maxLength property support.
- Implemented @PanayotCankov's Android 'view recycle' remark.
2017-06-01 11:57:24 +03:00
eddyverbruggen@gmail.com
da6562b506 #3614 Feature request: TextField maxLength property support.
- Implemented @PanayotCankov's review remarks.
2017-06-01 11:57:24 +03:00
eddyverbruggen@gmail.com
0997d537d0 Feature request #3614: TextField maxLength property support. 2017-06-01 11:57:24 +03:00
SvetoslavTsenov
51ccdb0820 Revert button text alignment 2017-05-31 17:21:17 +03:00
vakrilov
abe25d1286 FIX: Never show text-view hint while editing. 2017-05-30 17:15:53 +03:00
Todd Anglin
9551418b15 Fixing Button text alignment behavior
This change switches iOS Button text alignment from using the generic `nativeView.contentHorizontalAlignment` to using the Button's `nativeView.titleLabel.textAlignment`. This change allows text in a Button to properly center align when wrapped on to multiple lines. Left and Right alignment behavior are unchanged, but using new syntax for consistency.
2017-05-30 13:31:39 +03:00
Stanimira Vlaeva
26e2748f24 fix(animations): remove default getters for tranform properties (#4286) 2017-05-29 17:39:32 +03:00
Panayot Cankov
c519a4bb6f add profile for functions, profile CSS-es on startup, use __time 2017-05-25 14:40:13 +03:00
Alexander Vakrilov
35f0f73331 Merge pull request #4239 from NativeScript/getDefault-for-animatiable-props
Support getDefault for CssAnimationProperty
2017-05-25 10:42:01 +03:00
PetyaSotirova
6a87a85714 Fix web-view typedoc 2017-05-23 16:16:57 +03:00
vakrilov
e7d9fe5b24 Support getDefault for CssAnimationProperty 2017-05-19 18:46:26 +03:00
Panayot Cankov
f6993b706a Merge pull request #4167 from NativeScript/perf-flexbox-example
Improvements after profiling the android flexbox example
2017-05-19 08:57:58 +03:00
Panayot Cankov
694dd17c97 Merge pull request #4216 from NativeScript/fix-text-field-docs
Fix text-field typedoc
2017-05-18 18:31:48 +03:00
Panayot Cankov
7986e479cd Performance improvements after profiling the android flexbox example 2017-05-18 18:00:31 +03:00
Stanimira Vlaeva
90a0da2863 fix(livesync): attach __onLiveSyncCore to global object (#4215)
That method needs to be exposed because it's used in NativeScript Angular (https://github.com/NativeScript/nativescript-angular/blob/master/nativescript-angular/platform-common.ts#L91).
2017-05-18 17:13:24 +03:00
Hristo Hristov
0d21f52c99 Hhristov/ios background image crash fix (#4214)
* uiColorFromImage should return if there is no image.

* added unit-test
2017-05-17 15:40:14 +03:00
Panayot Cankov
09188a1a6c Fix text-field typedoc 2017-05-17 15:18:02 +03:00
Hristo Hristov
585e74e752 switch in iOS cannot have different size than 51/31. Setting it in onMeasure is late. (#4212) 2017-05-17 13:29:59 +03:00
Hristo Hristov
b67213120e Change onReturnPress from abstract to non abstract so that TextView doesn’t throw exception when Return is pressed (#4208)
Fix https://github.com/NativeScript/NativeScript/issues/4123
2017-05-17 09:47:05 +03:00
kssfilo
a61943fe88 fix ios modal layout issue #4151 2017-05-16 16:37:10 +03:00
Hristo Hristov
188a1c2c34 Binding to ViewBase as source now works (#4195)
* Fix 4127

* Move back Binding class to bindable module
2017-05-16 13:33:02 +03:00
Hristo Hristov
34aec12c3b fix https://github.com/NativeScript/NativeScript/issues/4135 (#4192) 2017-05-16 11:02:24 +03:00
Alexander Vakrilov
66c381d195 Merge pull request #4176 from NativeScript/fix-action-bar-modal
Fix: ActionBar update in IOS with modal dialogs
2017-05-15 17:22:37 +03:00
Henry Chavez
eb7094caaf Added updateItemIconPosition function to center the TabViewItem icon when the title is not present. 2017-05-15 16:01:36 +03:00
vakrilov
f954d64d79 Fix: ActionBar update in IOS with modal dialogs 2017-05-15 14:41:22 +03:00
Alexander Vakrilov
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
vakrilov
6b10e94005 FIX: Span with unknown font-family crash 2017-05-10 18:42:23 +03:00
Nikolay Tsonev
c2aec26ccf Merge pull request #4146 from NativeScript/sibling-css-selector
Sibling css selector
2017-05-10 14:20:10 +03:00
Panayot Cankov
0cae034a64 Changing module docs so they can appear in typedoc. 2017-05-10 11:55:47 +03:00
SBats
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
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
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
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
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
Eddy Verbruggen
9437f49aed #3889 Add a 'blur' event to text input fields (#3896) 2017-04-20 17:57:03 +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
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
vakrilov
a6909da543 Fix: TextAlign initial value 2017-04-12 17:43:40 +03:00