Commit Graph

217 Commits

Author SHA1 Message Date
Panayot Cankov
628e08ec02 Image corners were blinking in #4322 and CSS border will now draw non uniform corner radiuses if the border color is uniform 2017-07-21 17:32:17 +03:00
Vasil Chimev
c2f3956418 Do not publish next version from Travis CI (#102)
Publish from Jenkins CI.
Bump version to 3.2.0.
2017-06-30 15:13:11 +03:00
Hristo Hristov
731403de1f When don’t keep activities is on all images are unloaded then on app resume it is possible to request image from cache but that image is not shown anywhere so it is not in the memoryCacheUsage (#100) 2017-05-17 09:47:41 +03:00
Hristo Hristov
e887716352 ImageCahe now have counter that keeps reference how many times a bitmap have been requested/shown. (#99)
Bitmap is put in reusable queue only if this bitmap reference counter is 0/null.
This prevents an issue where one big bitmap is added to cache but it exceeds cache limit so it is removed immediately from cache (LRU internals) and marked as reusable.
2017-05-16 17:51:31 +03:00
Panayot Cankov
cdf16ea47e Merge pull request #98 from NativeScript/ios-uptime
Add function to obtain the time since the process started
2017-05-16 13:22:47 +03:00
Panayot Cankov
c79492f39e Add org.nativescript.Process.getUpTime() for android 2017-05-16 09:06:45 +03:00
Panayot Cankov
f76982b942 Add C function to obtain the time since the process started. 2017-05-15 17:53:16 +03:00
Vasil Chimev
2a7cf0cb4f Publish next tag to npm 2017-05-04 11:51:20 +03:00
Hristo Hristov
381bc36cd8 Bitmap is cleared only when setUri is called with empty/null uri (#97)
* Bitmap is cleared only when setUri is called with empty/null uri

* update gradle & buildtools versions

* fix gradle plugin version

* rename assembleRelease to assemble task
2017-05-03 14:16:21 +03:00
Panayot Cankov
01cece8493 Merge pull request #96 from NativeScript/set-uri-clear-bitmap
setUri to null now clears the image bitmap.
2017-04-28 10:17:03 +03:00
Panayot Cankov
f5eb71a399 setUri to null now clears the image bitmap. 2017-04-27 11:56:51 +03:00
Vasil Chimev
61a6397408 Update .travis.yml (#94)
Fix Travis CI build
2017-04-21 19:19:32 +03:00
Hristo Hristov
f438d6e4d3 Fetcher now works using BitmapOwner interface (#95)
ImageView implements BitmapOwner
BackgroundDrawable implements BitmapOwner
Merge Resizer and Fetcher
2017-04-20 17:46:55 +03:00
SvetoslavTsenov
efc1f0a74f Bump version to 3.1.0 2017-04-18 17:34:28 +03:00
Vasil Chimev
7135ef23f6 Update npm tag 2017-03-29 17:10:06 +03:00
Hristo Hristov
d0130a0334 listener is now field on ImageView (#93) 2017-03-28 13:06:50 +03:00
Nathanael Anderson
053e3071b7 Fix for ImageResizer crashing the application when a broken image is retrieved... (#72) 2017-03-23 10:42:02 +02:00
Hristo Hristov
37491faa4c Fix percent setters (#92) 2017-03-16 16:41:17 +02:00
Alexander Vakrilov
5e1cc69d6c Merge pull request #91 from NativeScript/pete/async-add-url-statusText
Add 'url' and 'statusText' to Async.RequestResult
2017-03-16 11:49:50 +02:00
Peter Kanev
64b3248f17 add 'url' and 'statusText' properties to result object from Async Http requests 2017-03-15 09:46:51 +02:00
Alexander Vakrilov
7e72351047 Merge pull request #90 from NativeScript/segmented-bar-color-thickness
Pass thickness as constructor parameter
2017-03-14 14:59:52 +02:00
vakrilov
78892e694e Pass thickness as constructor paramter 2017-03-14 14:00:57 +02:00
Alexander Vakrilov
f5c7846016 Merge pull request #89 from NativeScript/segmented-bar-color-thickness
Segmented bar indicatior thickness based on API lvl
2017-03-13 11:34:07 +02:00
vakrilov
b6edc254b6 Segmented bar indicatior thickness based on API lvl 2017-03-10 18:05:20 +02:00
Hristo Hristov
aa14ce8b80 Add construtor that accepts color. (#88) 2017-03-09 16:23:16 +02:00
Hristo Hristov
ad11e397fe Move several types from modules to widgets (#87)
Add setBackground method in ViewHelper
2017-03-07 10:35:53 +02:00
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