Alexander Vakrilov
1d20845b7c
Use AppCompat SearchView ( #4371 )
...
* Use AppCompat SearchView
* GetNative elements for appcompat
* Classes renamed
* test modified
2017-06-14 14:11:04 +03:00
Stanimira Vlaeva
618433816e
fix(slider): correct maxValue setter for android ( #4346 )
...
The setter should invoke setNativeValuesSilently with the new value and
max value respectively.
fixes #4343
2017-06-09 18:20:25 +03:00
Stanimira Vlaeva
9bba250424
Refactor transform animations ( #4296 )
...
* feat: add matrix module
* fix(animations): parse transform property correctly
* fix(css-animations): compute transformation value with matrix
* refactor: add typings for keyframes array in style scope
* fix(animations): transform regex and method invocation
* fix(matrix): rewrite decomposition function
* refactor: transform animations parse
* test: add tests for css animation transform
* refactor: move transformConverter to style-properties
* lint: remove unnecessary comma
* lint: remove unnecessary word in d.ts
* fix(style-properties): correctly use transformConverter
* fix(matrix): flat multiply affine 2d matrices
cc @PanayotCankov
2017-06-09 18:20:07 +03:00
Alexander Vakrilov
e33eca63d6
Implement custom measure for ios btn when textWrap is true ( #4326 )
...
Implement custom measure for ios btn when textWrap is true
2017-06-08 10:29:50 +03:00
Panayot Cankov
014e7a8e0f
add profile for functions, profile CSS-es on startup, use __time ( #4227 )
...
Call native setters once when a page is instantiated.
Fix background not being reset, Label's background is now set to background, not layer
Make the nativeView field instead of property for performance reasons
2017-06-08 09:51:09 +03:00
Nikolay Tsonev
88c2848bd4
example declare SearchBar component via XML ( #4236 )
...
* example declare SearchBar component via XML
* fix tslint errors
* fix error - not found modules
2017-05-26 14:12:47 +03:00
vakrilov
e7d9fe5b24
Support getDefault for CssAnimationProperty
2017-05-19 18:46:26 +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
Nikolay Tsonev
fa5873822b
fix broken closing tag for the snippet
2017-05-16 14:08:53 +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
Nikolay Tsonev
7cec0eb7fc
Merge pull request #4062 from NativeScript/tsonevn_webview_gestures
...
add an example how to use webview with gestures for both iOS and Android
2017-05-15 17:23:27 +03:00
Nikolay Tsonev
10bcf9f8e9
remove page import from the snippet
2017-05-15 16:41:14 +03:00
Nikolay Tsonev
a44c9b7928
edit typescript errors
2017-05-15 11:44:21 +03:00
vakrilov
9df6003482
Add class name in timer name
2017-05-14 11:03:57 +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
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
Nikolay Tsonev
5ae6fc5a42
fix tslint errors
2017-05-03 09:55:58 +03:00
vakrilov
6607c0f04f
tslint fix
2017-04-28 15:45:15 +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
Nikolay Tsonev
81e22d3c73
move the typescript code snippet to external file
2017-04-26 14:00:29 +03:00
Panayot Cankov
e26032f5fe
Revert the translateX/Y to be in dip
2017-04-25 14:49:12 +03:00
Nikolay Tsonev
2b00becedb
add an example how to use webview with gestures for both iOS and Android
2017-04-25 14:19:36 +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
Alexander Vakrilov
47aa179580
Merge pull request #3967 from NativeScript/tsonevn_edit_md_files
...
example how to use selectedTabTextColor, tabBackgroundColor, textTran…
2017-04-19 15:42:49 +03:00
Nikolay Tsonev
e2b9bbd690
add sample code snippet for androidSelectedTabHighlightColor
2017-04-12 13:16:59 +03:00
NickIliev
6c72c07f3a
uncommented code snippet
2017-04-11 11:50:43 +03:00
NickIliev
1666aa9431
related to https://github.com/NativeScript/docs/issues/336
2017-04-10 14:15:16 +03:00
Nikolay Tsonev
e56baed0b7
example how to use selectedTabTextColor, tabBackgroundColor, textTransform
2017-04-10 13:28:48 +03:00
vakrilov
d427c9ed8f
WebView NavigationType converted to type
2017-04-06 11:23:48 +03:00
Panayot Cankov
59e34f0bfc
Merge pull request #3938 from NativeScript/fix-border-and-corner-radius-tests
...
The asserted border and corner radius values were not rounded, we now round on dip to px conversion
2017-04-06 09:52:05 +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
5387793011
The asserted border and corner radius values were not rounded, we now round on dip to px conversion
2017-04-04 16:08:51 +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
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
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
vakrilov
be85af4a0d
Text transform - no default value
2017-03-30 18:35:55 +03:00
Hristo Hristov
9f0f3b1a5d
Remove imports from some d.ts unit-tests
2017-03-29 17:23:50 +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
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
04b9b39c65
Fix doc snippets. ( #3882 )
...
* Remove a duplicate snippet: image-create-datauri
* Remove a reference to a missing snippet: console-dump
* Readd a missing snippet: imagesource-resname
* Fix a broken snippet reference: timer-set-ten
* Fix a broken snippet reference: timer-set-fifty
2017-03-28 11:04:37 +03:00
Panayot Cankov
2b28730011
Split get/set native to getDefault setNative
2017-03-22 16:37:52 +02:00
NickIliev
a09320295e
typo
2017-03-17 11:04:03 +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
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
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
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
4f36a07634
Fix iOS corner radiuses dip incorrectly converted
2017-03-10 11:02:01 +02:00