14 Commits

Author SHA1 Message Date
d17ff9ffbd Use [srcProperty.native] 2017-01-06 15:43:57 +02:00
70cc1dd5d9 Move the effective* values from style to this 2016-12-27 10:57:10 +02:00
19ee47ba24 got to layouts 2016-12-13 15:51:18 +02:00
1202cb7288 almost all without layouts 2016-12-13 15:51:18 +02:00
645f428f59 alpha1 2016-12-13 15:51:18 +02:00
1b568b56ca Added tintColor property in Image view. It should be used instead of color 2016-09-16 16:29:08 +03:00
465b5bfd77 fix(iOS): image._setColorTint is not a function fix
closes https://github.com/NativeScript/NativeScript/issues/2647
closes https://github.com/NativeScript/nativescript-angular/issues/422
closes https://github.com/jlooper/pocketrave/issues/2
closes https://github.com/jlooper/pocketrave/issues/3
2016-08-30 21:09:18 -07:00
afb2d1ea68 Added tintColor property in {N} ImageView 2016-08-29 18:50:44 +03:00
1236f66f44 Add npm script that generates ios .d.ts-es from the tests app
Less than 30 erros left, let's hope it still works

Added lib.*.d.ts from typescript, removed lib and dom stuff, added by hand XHR, alert etc. .d.ts-es for polyfills

Roll back some changes involved in separating UIEvent for dom and ios

Test combined dts-es will now use lib, while internally we will not to avoid UIEvent conflict with dom stuff
2016-08-29 09:58:17 +03:00
8d40782191 Style perf improvements (#2342)
* Add css-perf app.

* Style properties now check only properties that are set.
Image utils module required on top (instead of in onMeasure) to improve performance.
Remove try/catch block when Style applies native property.

* fix tslint

* Fix broken merge
Update package.json version

* Failed miserably - if the try/catch around applyProperty method is removed - TextField fails big time.
TextField needs some good refactoring as well as calls to _updateTextDecoration & _updateTextTransform
utils - setTextTransform & setTextDecoration should be split, typing support should be added.
2016-07-08 14:39:43 +03:00
165a948150 Image won't require in onMeasure; global loadModule cache 2016-06-21 15:02:15 +03:00
4e678a06ff Fix: Images have margin when added to Layout
Resolves #1425
2016-06-14 10:53:07 +03:00
717b5131b1 Add isIOS, isAndroid in platform, and fast ts watcher and transpiler
Image should not requestLayout when sized with 'exactly' spec

Update image tests

Tests will run in ios only
2016-05-27 16:57:59 +03:00
e135c20b14 Rename the files 2016-05-26 14:30:25 +03:00