Commit Graph

191 Commits

Author SHA1 Message Date
Alexander Vakrilov
80c8f65e78 Merge pull request #86 from NativeScript/fix-image-border-density
Fix: No need for density
2017-02-22 17:48:36 +02:00
vakrilov
909bc357de Fix: No need for density 2017-02-22 17:47:35 +02:00
Alexander Vakrilov
1e399800b1 Merge pull request #85 from NativeScript/clip-path-density
Use density for clip-path calculations
2017-02-21 14:18:28 +02:00
vakrilov
4116212657 use density for clip-path calculations 2017-02-21 14:12:52 +02:00
Alexander Vakrilov
63302a4a72 Merge pull request #84 from NativeScript/colors
TabView colors fixes
2017-02-17 14:40:17 +02:00
vakrilov
6ee120ba28 colors api changed 2017-02-16 16:59:48 +02:00
Hristo Deshev
8b528f0427 Update travis publish key, take 2. 2017-02-09 11:00:58 +02:00
Hristo Deshev
98efe020e2 Update Travis publish key. 2017-02-09 09:50:57 +02:00
Vasil Chimev
53bdaa8625 Merge pull request #83 from NativeScript/vchimev-rc
Update travis to deploy RC version to npm
2017-02-09 09:36:00 +02:00
Vasil Chimev
5a0073d959 Update travis to deploy rc version to npm 2017-02-09 09:31:10 +02:00
dtopuzov
8595d7e120 Update package.json 2017-02-09 09:10:01 +02:00
Alexander Vakrilov
48f949d816 Merge pull request #82 from NativeScript/modules30
NativeScript 3.0 widgets
2017-02-08 17:42:56 +02:00
Panayot Cankov
d015487e6c Add layout params copy constructors 2017-02-08 14:47:14 +02:00
Panayot Cankov
cbc2497a53 Set percent should use float instead of int values, setting height or width should reset theightPercent and widthPercent 2017-02-08 14:47:14 +02:00
vakrilov
e443f1cf4e Fixed setWidth/setHeight methods 2017-02-08 14:47:14 +02:00
Hristo Hristov
a9aa5f45e1 BorderDrawable density fixed to 1. It will be set through JS. 2017-02-08 14:47:14 +02:00
Hristo Hristov
470164c358 fixes 2017-02-08 14:47:14 +02:00
Alexander Vakrilov
12da6b3599 Merge pull request #81 from NativeScript/vchimev-travis
Comment out deploy of next version to npm
2017-02-08 14:35:12 +02:00
Vasil Chimev
29be8be716 Comment out deploy of next version to npm 2017-02-08 13:57:43 +02:00
Maya Zhecheva
58de0b3309 Merge pull request #76 from NativeScript/zhecheva/flexbox-order
FlexboxLayout exposes a method for clearing the orders cache
2017-01-12 14:25:37 +02:00
Vladimir Enchev
981c588ba0 Merge pull request #77 from NativeScript/dontFollowRedirects
dontFollowRedirects added
2017-01-12 10:56:10 +02:00
Vladimir Enchev
abe58f298d dontFollowRedirects added 2017-01-12 10:53:47 +02:00
zh-m
f4c12a183c FlexboxLayout exposes a method for clearing the orders cache 2017-01-10 17:54:56 +02:00
Vladimir Enchev
47efe715c7 Merge pull request #75 from NativeScript/Thread-instead-AsyncTask
AsyncTask reworked with threads
2017-01-10 16:44:29 +02:00
Vladimir Enchev
d76deae87b AsyncTask reworked with threads 2017-01-10 16:23:03 +02:00
vchimev
ce8cb2add0 Bump version to 2.6.0 2017-01-09 17:30:11 +02:00
Rossen Hristov
9ed82d879a Merge pull request #73 from NativeScript/issue-3147
Add TabLayout.getItemCount method
2016-12-07 17:22:21 +02:00
Rossen Hristov
a89b28d145 Add TabLayout.getItemCount method
Related to https://github.com/NativeScript/NativeScript/issues/3147
2016-12-06 11:14:08 +02:00
Rossen Hristov
8fa645af10 Merge pull request #71 from NativeScript/issue-3113
Fix: Transparent border rendered as black
2016-11-21 12:10:49 +02:00
Rossen Hristov
23a3a70a82 Fix: Transparent border rendered as black
Related to https://github.com/NativeScript/NativeScript/issues/3113
2016-11-21 11:49:32 +02:00
Rossen Hristov
79aa8ee932 Merge pull request #69 from NativeScript/inset
Add `inset` CSS clip-path support
2016-11-10 14:48:30 +02:00
Rossen Hristov
e00fa2a24f Add inset CSS clip-path support
Resolves https://github.com/NativeScript/NativeScript/issues/2693
Resolves https://github.com/NativeScript/NativeScript/issues/3060
2016-11-10 14:41:48 +02:00
Panayot Cankov
ca2dbe6012 Merge pull request #68 from NativeScript/fix-flex-shrink-zero
Setting flex-shrink to zero on the last items sometimes was still shrinking it with 1 pixel
2016-11-07 15:56:13 +02:00
Panayot Cankov
9c46d0902a Setting flex-shrink to zero on the last items sometimes was still shrinking the item with 1 pixel 2016-11-07 14:12:58 +02:00
Rossen Hristov
d915cbca95 Merge pull request #67 from NativeScript/issue-65
Fix: java.lang.NumberFormatException when applying clip-path with per…
2016-11-02 17:04:55 +02:00
Hristo Hristov
8feec8982b Image cache won't work if FileSystem is in read-only mode. (#66)
ImageView will remove its bitmap when not in visual tree and apply it back once shown.
ImageView add setUri method.
ViewHelper added new method for API 21.
2016-11-02 16:47:36 +02:00
Rossen Hristov
0772a2cdce Fix: java.lang.NumberFormatException when applying clip-path with percentage values
Resolves #65
2016-11-02 16:35:14 +02:00
Rossen Hristov
78183d4328 Merge pull request #62 from NativeScript/tab-css
Add support for TabView CSS
2016-10-24 15:39:35 +03:00
Panayot Cankov
672c048074 Merge pull request #61 from NativeScript/fix-flexgrow-actually-shrinking
Flex grow sometimes causes elements with flexGrow 0 at the end of a flex line to shrink
2016-10-24 15:04:09 +03:00
Panayot Cankov
dd345e65c1 Flex grow sometimes causes elements with flexGrow 0 at the end of a flex line to shrink 2016-10-24 14:05:03 +03:00
Rossen Hristov
25fe583ffa Add support for TabView CSS 2016-10-24 11:13:30 +03:00
Hristo Hristov
2c7efac368 Fix loggin mode (#60) 2016-10-20 13:42:47 +03:00
Vasil Chimev
1711988a28 Bump up version to 2.5.0 2016-10-19 17:31:15 +03:00
Hristo Hristov
e29205f370 Log is done only when debugging is enabled (#59) 2016-10-19 16:29:34 +03:00
Hristo Hristov
00297e069f Fix for cases where no external storage is attached (#58)
* Fix for cases where context.getExternalCacheDir() returns null because there is no external storage attached.

* Fix crash when WRITE_EXTERNAL_STORAGE permission is missing on API level < 19
2016-10-17 16:16:55 +03:00
Hristo Hristov
626e148e2b Image background is drawn first not after bitmap. (#57)
Image file cache is used only for images downloaded through web.
Image cache is now caching Bitmap instead of BitmapDrawables (drawables are not immutable).
2016-10-13 16:39:15 +03:00
Hristo Hristov
ace4777811 Fix image loading from resource (#56) 2016-10-07 15:28:16 +03:00
Vasil Chimev
6e2f86c9f2 Merge pull request #55 from NativeScript/hhristov/remove-permission-check
Remove the code that requires ACCESS_NETWORK_STATE
2016-10-07 11:53:45 +03:00
Hristo Hristov
701c9d26cd Remove the code that requires ACCESS_NETWORK_STATE 2016-10-07 11:31:24 +03:00
Hristo Hristov
adad33a129 Image improvements (#53)
* ImageView loads Bitmaps in Java so that they can be GC'ed.
Added ImageCache, AsyncLoading, Memory & DiskCache, Reusing Bimtaps

* Change FILE_PREFIX to match iOS file prefix.

* Refactoring package & class names

* Package renamed
2016-10-03 14:58:11 +03:00