1253 Commits

Author SHA1 Message Date
43659799bc Implement non uniform border corner radiuses and fix blinking image-view radiuses (#4573)
* Image corners were blinking in #4322 and CSS border will now draw non uniform corner radiuses if the border color is uniform

* Implement per-side corner radiuses for iOS

* Update stretch-mode example

* Update matrix-mode example

* Update image resources

* Add clipping for non uniform radii without border width, don't throw for missing image resources in css
2017-07-27 15:36:47 +03:00
2f6ca2524b CssAnimationProperties, when unset, were not setting the default native value. (#4595) 2017-07-26 19:16:26 +03:00
5a660a6eda Set text-field and text-view tintColor to textColor (iOS) (fixes #4357) EXTENDED (#4549)
* set text-field and text-view tintColor to textColor (#4357)

* Rest tint color
2017-07-25 11:22:21 +03:00
09535627b9 disable recycling on specific button (#4527)
* disable recycling on specific button
add more thorough test for view recycling
fix memory leak with android ActionBar
improve padding reset when view is recycled
improve reset of several controls

* stopping local animations when view is recycled
fix tns-ios version in tests/package.json

* Fix isClickable on android when reusing nativeView
2017-07-11 09:48:08 +03:00
24d9f18c5d Include values/string.xml in android resources (#4503) 2017-07-04 18:59:17 +03:00
5ec8242654 Tsenov/button alignment (#4460)
* Include new example for issue 4385

* Include new test page for issue 4385. Restyle and rename main-page.

* Update main-page

* Fix navigation
2017-06-29 22:16:17 +03:00
23757e5dfc Enable recycling of nativeView 2 (#4467)
* enable recycling of nativeView

* backgroundInternal is reset if setting new value leads to background.isEmpty() == true.

* android background.getDefault always return copy of the background. Now all controls that mutate the background can be reset to initial state (e.g. Button & ActionBar)
passing resources to copied background so it respect density.
fix properties initNativeView

* reset padding when backgroundInternal is reset.

* Fix text reset
Fix padding reset

* fix tsc errors

* fix ugly text rendering.

* Add unit tests for recycling native views
Fix several issues that came from the above tests
Fix maxLength property missing a converter callback
Remove old files

* Remove old files

* Revert backgroundInternal setter

* change the order of tests so that appium can work again

* Remove suggestion on every TextView & TextField init (strangely it is enabled after view is recycled....)

* Fix function to get parent layout if specified

* Button stateListAnimator restored when button is recycled
zIndex defaultValue is now undefined instead of NaN

* revert zIndex.setNative to always clear stateListAnimator because it was breaking one UI test (setting value=0 was returning the previous stateListAnimator)

* fix search-bar backgound-color recycling

* Fix alignments setters

* Fix imageView recycling
Fix button recycling
Fix edit-text recycling
resetNativeView is called only if recycleNativeView flag is true

* Fix incorrect merge

* Fix text-view & text-field textTransform

* Fix EditText text reset

* Fix runtime crash on ARM emulator API 21

* Fix text-base minHeight. maxHeight reset
Fix reset of isUserInteractionEnabled
2017-06-29 18:01:22 +03:00
fca8b16ca6 Fonts refactored (#4436)
* Fonts refactored

* Fix: never return null font
2017-06-28 14:49:02 +03:00
6cc1db950b Update typo in search-bar tests (#4402) 2017-06-16 14:27:30 +03:00
9866350559 Include autocorrect = fasle (#4395) 2017-06-15 19:13:46 +03:00
1d20845b7c Use AppCompat SearchView (#4371)
* Use AppCompat SearchView

* GetNative elements for appcompat

* Classes renamed

* test modified
2017-06-14 14:11:04 +03:00
f2462158fb Chrome devtools elements tab support for Android (#4351)
* Enable chrome-devtools elemets tab

* Trigger updates when property is chaned form native

* Tslint fixes

* Don't run dom-elemet tests in IOS

* fix tests

* Create package.json

* Update package.json

* domNode changed to field for performance
2017-06-12 16:48:27 +03:00
c228b97263 Fix button wrap (#4350)
* Fix button wrap

* Update path to hint-text-color page
2017-06-09 16:37:14 +03:00
0d3a307dee Fix wrap text alignment test page (#4348) 2017-06-09 10:55:14 +03:00
2526ac06f2 Update tests (#4345)
* Update tests

* Fix typos

* Fix tslint
2017-06-09 09:54:38 +03:00
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
ce01ab597f Fix search bar test page and images template test page (#4331) 2017-06-07 14:02:51 +03:00
97b1cd9060 Tsenov/searchbar (#4328)
* Searchbar tests

* Update search bar test page

* Fix path to events test pages

* Update text-view test pages
2017-06-07 10:25:16 +03:00
51d1be5bb8 Tsenov/auto complete (#4318)
* Init steps

* Implement logic for auto-complete for all test pages

* Init steps

* Implement logic for auto-complete for all test pages

* Expose TestPageMainViewModel

* Merge

* Improve check if example is already loaded in collection

* Reorder tests

* Fix tslint

* Include csslv

* Include new image source
2017-06-06 16:06:21 +03:00
855caf3e43 Remove max-length example from list-view folder. Move images from list-view folder to resources/images 2017-06-05 16:48:56 +03:00
109f57476d Include test page for max-lenght poperty 2017-06-05 16:48:56 +03:00
40d5badd40 Update issue-3354.xml 2017-06-05 14:05:55 +03:00
1b260ac2b5 Extend test page issue-3354 2017-06-05 14:05:55 +03:00
9f47746d98 Merge pull request #4292 from NativeScript/fix-ios-text-view-hint
Fix: IOS text view hint should never show while editing
2017-06-01 13:31:28 +03:00
4509f04929 UI test added 2017-06-01 12:23:26 +03:00
4862443bea Fix background tests 2017-05-31 17:21:17 +03:00
93237cf991 Fix typo 2017-05-31 17:21:17 +03:00
99611a9979 Include resource folder
Fix tslint error
2017-05-31 17:21:17 +03:00
3fa741e5e7 Merge pull request #4250 from NativeScript/add-tests-startuptime-log
Add logging for startup time in the apps
2017-05-25 13:48:41 +03:00
c9565005ef Merge pull request #4247 from NativeScript/test-page-4135
Update secure textfield test page
2017-05-23 16:09:56 +03:00
b00ed12150 Update a test page 2017-05-23 16:09:10 +03:00
13ce5282f5 Fix issue 2942 example in ui-test-app 2017-05-23 15:37:58 +03:00
bf3fa6b122 Add logging for startup time in the apps 2017-05-22 10:38:34 +03:00
326fc696fe Update secure textfield test page 2017-05-22 01:23:33 +03:00
fc20e1a00d Include test page for issue 4135 2017-05-19 19:32:19 +03:00
8315c410ae Include scenario for issue 'Switch not visible with NS 3.0 on ios #4175' 2017-05-19 19:06:16 +03:00
d6d016bc61 Include test page for issue 4143 2017-05-18 17:22:51 +03:00
a96a957374 Include test page for 4022 2017-05-17 15:51:49 +03:00
2079201006 Include test case for item 4151 2017-05-16 17:45:15 +03:00
3dce766b87 Include new images 2017-05-15 18:23:18 +03:00
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
f954d64d79 Fix: ActionBar update in IOS with modal dialogs 2017-05-15 14:41:22 +03:00
d6ff388100 Merge pull request #4177 from NativeScript/uitests
Include pages for formatted text with applied css in label, button, t…
2017-05-15 10:31:12 +03:00
05f5efe56a Merge pull request #4180 from NativeScript/profiling-try-catch
Profiling - handle exceptions inside deocrator
2017-05-15 10:24:42 +03:00
8882732b37 Fix tslint error 2017-05-15 00:19:17 +03:00
3102385f54 Include pages for formatted text with applied css in label, button, text field, text view
Update main-view-model
2017-05-15 00:19:13 +03:00
e266269793 Tslint fixes 2017-05-13 14:04:39 +03:00
ff426283c5 Move icons folder form uitests/flexbox in perfapp because some CI 2017-05-12 15:55:56 +03:00
c2aec26ccf Merge pull request #4146 from NativeScript/sibling-css-selector
Sibling css selector
2017-05-10 14:20:10 +03:00
c06aea51bd Fix thumbs images paths 2017-05-10 09:33:13 +03:00