17 Commits

Author SHA1 Message Date
6eb1aee4d1 Image tests 2017-01-06 15:43:57 +02:00
7931ecd4f8 Fix tslint errors 2016-12-21 17:42:31 +02:00
6feeb140e3 Fixing type errors in tests 2016-12-19 10:36:25 +02:00
c5d34c3dd4 Image loading is done through native imageView so that once it is removed from window the bitmap is cleared. 2016-11-02 16:57:42 +02:00
644f4c2845 ImageSource was reset in CreateUI wrongly. (#2910)
TabView doesn't save/restore its visual hierarchy.
Cuteness.io source changed to use https.
2016-10-17 13:40:03 +03:00
98deeccb21 Change image.android to use the new image.Cache class from widgets. (#2832)
* Change image.android to use the new image.Cahce class from widgets.

* fix npm scripts

* npm tsc will compile all so no need for npm run dev-tsc-tests

* fix tslint error

* image-tests use memory only cache.

* fix exception in image.android

* Change image-tests so that Image won't be GC immediately.

* Change cacheMode to enum
2016-10-05 13:09:08 +03:00
1b568b56ca Added tintColor property in Image view. It should be used instead of color 2016-09-16 16:29:08 +03:00
500459779e Added unit test that tests tintColor in Image class 2016-08-31 18:48:01 +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
846bafc660 Change snippet syntax to the new Jekyll tag. 2016-07-06 16:09:11 +03:00
4147e47948 Make cookbook articles appear in nativescript env only. 2016-06-20 14:32:12 +03:00
be62b27e1d Refactoring 2016-06-14 14:42:25 +03:00
68c705b56f Decrease image size to fit on test device 2016-06-14 13:42:46 +03:00
4e678a06ff Fix: Images have margin when added to Layout
Resolves #1425
2016-06-14 10:53:07 +03:00
f8ee993934 Add a check so setting src on async image multiple times wont mismatch imageSource 2016-06-09 15:58:39 +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