11 Commits

Author SHA1 Message Date
4f39fb728b chore: update tslint rules (#7391) 2019-06-26 15:13:48 +03:00
03cfc0cee3 chore(tslint): update tslint rules and fix errors (#5747)
* chore(tslint): fix tslint config & errors
* chore(tslint): enable double quotes, whitespace, and arrow-return-shorthand rules and fix errors
2018-04-26 18:36:32 +03:00
f7a3a36b9c Housekeeping node tests, renamed to unit-tests (#4936)
Add parsers for the background css shorthand property, make ViewBase unit testable in node environment

Add background parser and linear-gradient parser

Use sticky regexes

Simplify some types, introduce generic Parsed<T> instead of & TokenRange

Apply each parser to return a { start, end, value } object

Move the css selector parser to the css/parser and unify types

Add the first steps toward building homegrown css parser

Add somewhat standards compliant tokenizer, add baseline, rework and shady css parsers

Enable all tests again, skip flaky perf test

Improve css parser tokenizer by converting some char token types to simple string

Implement 'parse a stylesheet'

Add gonzales css-parser

Add parseLib and css-tree perf

Add a thin parser layer that will convert CSS3 tokens to values, for now output is compatible with rework

Make root tsc green

Return the requires of tns-core-modules to use relative paths for webpack to work

Implement support for '@import 'url-string';

Fix function parser, function-token is no-longer neglected

Make the style-scope be able to load from "css" and "css-ast" modules

Add a loadAppCss event so theme can be added to snapshot separately from loaded
2017-10-20 10:42:07 +03:00
fca8b16ca6 Fonts refactored (#4436)
* Fonts refactored

* Fix: never return null font
2017-06-28 14:49:02 +03:00
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
312a99667e Enable Button tests, fix AbsoluteLayout tests 2017-01-23 09:42:24 +02:00
cd3cd13075 View tests turned green 2017-01-11 17:34:25 +02:00
745388c3da Hhristov/modules30 fixes (#3316)
* Fixed properties, text-base, action-bar, bindings, view

* Rebase onto master
2016-12-19 10:21:43 +02:00
53be1ecc07 FontStyle and FontWeight enums everywhere 2016-12-16 16:31:20 +02:00
a64847ca9d next 2016-12-13 15:51:18 +02:00
e135c20b14 Rename the files 2016-05-26 14:30:25 +03:00