Commit Graph

159 Commits

Author SHA1 Message Date
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
Hristo Hristov
1d49f5f3c3 fix padding on text-view & text-field (#3758)
* fix padding on text-view & text-field
text-base is now snapshotable
view.android is now snapshotable

* createNativeView returns the nativeView for android
Fix image tests
Implement test for image loaded from res://
EffectivePaddings updated when nativeView have some from its native theme
2017-03-09 16:09:53 +02:00
yyosifov
17650d2e9a Merge pull request #3755 from NativeScript/yosifov/fix-text-field-snippet
Fix text field code snippet
2017-03-08 17:26:51 +01:00
Yosif Yosifov
c008d00152 Fix text field code snippet 2017-03-08 14:30:02 +02:00
Panayot Cankov
6d6564af16 Fix dp vs dip conversions in iOS for errors of tests 2017-03-08 09:24:31 +02:00
Hristo Hristov
ea22eb9c20 refactoring circular imports 2017-03-06 14:05:55 +02:00
Hristo Deshev
ac90b9db2b Fix a crash when nesting a ProxyViewContainer in FlexboxLayout.
Conflicts:
	tns-core-modules/ui/layouts/flexbox-layout/flexbox-layout.ios.ts
2017-02-23 15:23:34 +02:00
Hristo Hristov
a582adc561 Hhristov/fix (#3653)
* Fix action-bar systemIcon
Fix CSS applying

* refactoring

* fix console

* remove StyleScope import - it is private and cannot be imported in public .d.ts
2017-02-17 17:21:57 +02:00
PanayotCankov
b2cf286948 Fixed text decoration tests, Color will now store just a single argb info in 32bit unsigned int internally and covert to a/r/g/b or hex when necessary 2017-02-17 14:45:31 +02:00
Nick Iliev
a11f4ffb11 Merge pull request #3643 from NativeScript/niliev/update-doc
updated webview article sub titles
2017-02-15 17:55:04 +02:00
NickIliev
fb7742848f updated webview article titles 2017-02-15 16:39:55 +02:00
Hristo Deshev
3056ce51c2 Upgrade to TypeScript 2.1, and latest grunt-ts.
Conflicts:
	package.json
	tests/app/ui/animation/animation-tests.ts
	tns-core-modules/lib.core.d.ts
	tns-core-modules/ui/animation/animation-common.ts
2017-02-13 14:13:33 +02:00
vakrilov
6c735aff10 View and css proeprties tests 2017-02-07 16:23:19 +02:00
vakrilov
e5f7c7e4d4 Segmented bar styles 2017-02-01 17:45:14 +02:00
Hristo Hristov
3770f7e636 formatted text fix (#3531)
* Fix formattedText implementation for iOS
Fix typeof undefined checks
Add slow tests message
Improve tests speed

* fix tslint
reduce transitions duration in test

* waitUntilReady will throw if timeout
fix tests that needs to wait without throwing
improve test speed
2017-01-26 18:21:30 +02:00
Panayot Cankov
312a99667e Enable Button tests, fix AbsoluteLayout tests 2017-01-23 09:42:24 +02:00
Hristo Hristov
e34b0f622c fix span (#3510)
* Remove Bindable.
Fix Observable & ObservableArray tests
Fix formattedString text
Change implementation of Span, FormattedString & TextBase
properties valueChange called before native setter

* revetred formattedString tests asserts - formattedText update text property again
properties - when getting value we now use always property name instead of key (using key could return undefined for property that is set to its default value)
updated fontSize & fontInternal properties on all controls
fix font properties so that fontInternal is reset if the new font is the same as Font.default

* fix tslint errors
2017-01-20 16:42:20 +02:00
Panayot Cankov
01edf37d33 value-source-tests will now use unsetValue instead of undefined when resetting local value 2017-01-17 16:56:56 +02:00
Nedyalko Nikolov
329ba3a2c5 Page tests fix. 2017-01-16 19:28:08 +02:00
Rossen Hristov
9acba3f2b0 Fix TabView navigation tests 2017-01-16 12:30:47 +02:00
Hristo Hristov
8cec512397 Fix binding support (#3489)
* Fix binding support

* fix tslint
2017-01-13 18:08:18 +02:00
Vladimir Enchev
dad5e79df3 test moved to ui-tests-app (#3485)
Should be tested with no connection
2017-01-13 14:38:19 +02:00
Nedyalko Nikolov
cd7877dfa0 Text field tests fixed. 2017-01-13 11:41:12 +02:00
vakrilov
819155fb18 Minor fixes + more green tests 2017-01-12 16:20:38 +02:00
vakrilov
e983295952 Style tests fixes 2017-01-12 14:24:12 +02:00
Rossen Hristov
cc337094e9 Fix text & fromattedText failing tests 2017-01-12 14:12:41 +02:00
vakrilov
cd3cd13075 View tests turned green 2017-01-11 17:34:25 +02:00
vakrilov
f634f29df0 Frame test 2017-01-10 14:08:54 +02:00
Nedyalko Nikolov
5a3cfbeda9 SegmentedBar tests fixed. 2017-01-09 18:24:09 +02:00
vakrilov
14e1da5820 Style-properties tests 2017-01-09 17:24:38 +02:00
vakrilov
6eb1aee4d1 Image tests 2017-01-06 15:43:57 +02:00
Rossen Hristov
eb4ac8d109 Fix all tslint errors 2017-01-06 12:00:06 +02:00
vakrilov
5fef8a7bb4 Slider tests 2017-01-05 17:12:30 +02:00
Nedyalko Nikolov
421810c293 TextView tests. 2017-01-05 16:09:13 +02:00
vakrilov
c30be0d606 View lifecycle methods 2017-01-04 17:18:45 +02:00
vakrilov
0b67f6bc0a attach/detach in ViewBase 2017-01-03 17:36:01 +02:00
vakrilov
f76eb15e05 tests refactored 2017-01-03 17:33:16 +02:00
Rossen Hristov
163592ed60 Fix Background.isEmpty regression 2017-01-03 15:12:39 +02:00
Rossen Hristov
11f8da025b Android TabView should use tabTextColorProperty instead of colorProperty just like in iOS 2017-01-03 12:53:21 +02:00
Rossen Hristov
52a84b211f Fixed: Setting setTypeface() to null object
Resolves #3147
2017-01-03 12:33:36 +02:00
Rossen Hristov
299cac42bf Fix: SegmentedBar crash using a number as title
Resolves #issue-3210
2017-01-03 12:02:46 +02:00
Nedyalko Nikolov
011bb82165 Fixed Progress tests. 2016-12-30 16:00:15 +02:00