Commit Graph

421 Commits

Author SHA1 Message Date
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 Deshev
b45cbe929b No more ambient modules for tns-core-modules/* subpackages.
- Use path mappings in tsconfig.json to resolve module typings
- Only use ambient mobules for global API's
- Move single-file modules to a subdir with the same name so that
we can provide a hand-written typing next to it (via package.json)
- Delete all mentions of tns-core-modules.d.ts
- Delete reference d.ts assembly build steps. Not needed anymore.
- HACK! Use a <reference> for global typings in application.d.ts
to avoid publishing a separate @types/tns-core-modules package.
- Rename declarations.d.ts to tns-core-modules.d.ts to preserve
JS project mappings in references.d.ts (the only place we use those)
2017-03-07 17:59:02 +02:00
Hristo Hristov
ea22eb9c20 refactoring circular imports 2017-03-06 14:05:55 +02:00
Hristo Deshev
7bb457ef2b Upgrade to TypeScript 2.2
Fix typings, remove Request, etc clashes with the new lib.dom.d.ts
2017-02-24 17:28:18 +02:00
Panayot Cankov
06970d058a Mass replace fontAttributes with fontWeight and fontStyle 2017-02-23 17:09:19 +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
vakrilov
f3afaf5abe fixed tslint errors 2017-02-20 09:45:10 +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
vakrilov
3c6523fd13 updated apps and tests tsconfigs 2017-02-16 15:21:34 +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
Hristo Hristov
f539dd5f95 Improve background setter in iOS (#3582)
CoercableProperty now inherits from Property
VS Code typescript sdk removed
ViewBase will no longer clear native view if recycleNativeView is false
2017-02-06 11:49:54 +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
ivanbuhov
e267828c08 Require ui/label instead of tns_modules/tns-core-modules/ui/label in tests 2017-01-23 10:16:14 +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
8e0aeb8ec2 Fix CSS-ANIMATION test failures 2017-01-18 13:21:43 +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
fec5e92dbe Fix tracing 2017-01-16 13:29:46 +02:00
Rossen Hristov
9acba3f2b0 Fix TabView navigation tests 2017-01-16 12:30:47 +02:00
Hristo Hristov
a65a491de6 fix listview (#3493) 2017-01-16 10:55:26 +02:00
Hristo Hristov
8cec512397 Fix binding support (#3489)
* Fix binding support

* fix tslint
2017-01-13 18:08:18 +02:00
Rossen Hristov
7f21eb06ac Run navigation tests 2017-01-13 16:02:31 +02:00
Vladimir Enchev
ab7cdfe659 Update testRunner.ts 2017-01-13 16:00:27 +02:00
Rossen Hristov
4446cfe233 Run transitions tests 2017-01-13 15:49:05 +02:00
Rossen Hristov
2ec45d0c37 Run animation tests 2017-01-13 15:30:56 +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
Vladimir Enchev
b72cdb2be6 Update testRunner.ts 2017-01-13 10:31:52 +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
Vladimir Enchev
969f09bc15 http with worker test added (#3467)
* test added

* http with worker test added

* file deleted
2017-01-11 17:09:09 +02:00
Rossen Hristov
45ac38d968 Refactor formatted text 2017-01-11 16:37:23 +02:00
Nedyalko Nikolov
9479a9918f Fixed tslint errors. 2017-01-11 15:35:05 +02:00
Nedyalko Nikolov
b4575e1d5b Fixed xml-declaration tests. 2017-01-11 14:36:08 +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
Hristo Hristov
899ce1adc8 fix placeholder imports (#3429) 2017-01-06 14:57:21 +02:00
Rossen Hristov
eb4ac8d109 Fix all tslint errors 2017-01-06 12:00:06 +02:00
Hristo Hristov
bfab188ba0 clear nativeView field. (#3418)
moved some native setters from TabView to TabViewItem.
shorthand properties converters now accounts for unsetValue.
better formatting for test duration.
2017-01-05 18:08:42 +02:00