19 Commits

Author SHA1 Message Date
4f39fb728b chore: update tslint rules (#7391) 2019-06-26 15:13:48 +03:00
b436ecde36 refactor: replace var usage with let/const (#7064) 2019-03-25 18:09:14 +02:00
68d86fb6c6 fix(profiling): resetProfiles doesn't reset all profiles (#5425) 2018-02-19 13:18:50 +02:00
1c78e4784c feat(ios): fire onDisplayed event when first frame is ready to be displayed (#5344)
* feat: add a 'profiling: lifecycle' to track startup times

* feat: log when displayed event fires

* feat(ios): fire onDisplayed event when first frame is ready to be
displayed
2018-01-29 13:47:35 +02:00
f1c33d2420 Add function for profile loggin in release (#5018) 2017-11-01 13:24:57 +02: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
d6689a04b2 Add the this.toString in the profile traces (#4731) 2017-08-24 11:04:46 +03:00
8adb2fdfef Fix TypeScript 2.4 errors, introduced mainly due weak types and covariant checking for callbacks (#4476) 2017-07-03 11:57:00 +03:00
b1432679e6 Setting alias for ~/ in webpack enables us to use require('~/package.json') (#4468) 2017-06-29 15:38:01 +03:00
08b16b3b5a Fix uptime with snapshot (#4466) 2017-06-28 15:55:11 +03:00
853bbd2977 Can't require non console-log when __snapshot generating (#4325) 2017-06-06 18:12:53 +03:00
51b351f5b6 Add timeline traces in the console, let enabling them through the package.json 2017-06-02 16:34:15 +03:00
c519a4bb6f add profile for functions, profile CSS-es on startup, use __time 2017-05-25 14:40:13 +03:00
f23c6c6455 Add resetProfiles method 2017-05-16 17:49:27 +03:00
9df6003482 Add class name in timer name 2017-05-14 11:03:57 +03:00
75ce15bffc Use object instad of map for performance 2017-05-13 14:01:48 +03:00
b47dafc01a Add try catch for profiler decorator 2017-05-13 13:27:13 +03:00
7e3fdb4505 Fixes 2017-05-12 17:22:00 +03:00
08db23d613 Profiling utils 2017-05-12 15:30:51 +03:00