Commit Graph

250 Commits

Author SHA1 Message Date
Vladimir Amiorkov
0973992350 fix: Clear the child of the saved specs before clearing them (#131)
* fix: Clear the child of the saved specs before clearing them

* chore: Remove second semicolomn
2018-08-24 17:04:36 +03:00
Manol Donev
32e59e47d6 fix(android): HEAD request should return statusCode (#132) 2018-07-30 17:19:26 +03:00
SvetoslavTsenov
fad12eedc3 chore: bump version to 4.3.0 2018-07-25 11:19:39 +03:00
Todor Petrov
7ecec4cdc7 chore: support for build with java10 (#130) 2018-07-23 10:10:36 +03:00
Nathanael Anderson
1ed68d47ed feat: Add Gzip ability to Android http (#128)
* Add Gzip ability to Android http

* Fix issues from rebasing older version of widgets, and fix case sensitivity

* Fix the string to be lowercased.
2018-07-17 18:20:08 +03:00
Alexander Djenkov
a7e023cbf9 fix(layout-params): repspect percentages values (#129) 2018-07-12 14:05:59 +03:00
Alexander Djenkov
3253cd4a22 fix(layout-params): respect width/height properties with percent values (#127) 2018-07-11 11:31:19 +03:00
tbozhikov
d94175b5a7 chore: update community files (#125) 2018-06-05 18:01:34 +03:00
Vasil Chimev
d19a6bc7f8 chore: bump version to 4.2.0 2018-05-25 14:10:47 +03:00
Vasil Chimev
3e4b74eca6 chore: bump version to 4.1.0 2018-05-25 12:08:17 +03:00
Alexander Djenkov
7c0bdd8435 Revert "Revert "feat(android): added ability to create background linear gradients. (#116)" (#122)" (#123)
This reverts commit 3170b8696f.
2018-05-10 10:43:19 +03:00
Martin Yankov
e2003aa9b1 feat(tabview): add tab text font size properies (#124) 2018-05-09 16:44:07 +03:00
Manol Donev
a65984f1d5 fix(label): text wrapping inside flexbox layout (#121)
* fix(ios-label): fix text wrapping in iOS 11
* fix(android): fix label text wrapping inside flexbox layout
2018-05-08 15:08:25 +03:00
Alexander Djenkov
3170b8696f Revert "feat(android): added ability to create background linear gradients. (#116)" (#122)
This reverts commit 365dad7cc7.
2018-05-04 11:28:52 +03:00
vultix
365dad7cc7 feat(android): added ability to create background linear gradients. (#116) 2018-05-03 13:19:18 +03:00
Vasil Trifonov
54fd9774e7 fix: removed stacktrace printing when result error is set (#119)
We don't need stack trace to be printed when we return the exception in the result.error as it will be returned in the reject callback.
Fixes https://github.com/NativeScript/tns-core-modules-widgets/issues/118
2018-04-11 10:44:20 +03:00
radeva
783ea4eb6b docs: add issue and PR templates (#117) 2018-04-03 09:39:51 +03:00
Daniel Freiling
bdb65591a6 fix(imageview): apply ColorFilter in ImageView (#110) 2018-03-20 10:23:58 +02:00
Alexander Djenkov
c2cd53fe5f fix(cache-images): respect decodeWidth and decodeHeight when caching images (#115)
* feat(image-fetcher): limit bitmap to device sizes when no request width/height set.

* fix(cache-images): create new cache for images with different decodeHeight/decodeWidth.
2018-03-15 16:39:01 +02:00
Dimitar Tachev
9d2095cdad [Android] Improve images handling (#109)
* Fixed the inSampleSize calculations based on total pixels (double inSampleSize size -> 4x less pixels)

* Fixed the inSampleSize calculations when only hight or widths is requested.
Added rotation and scaling while processing images.
Added keepAspectRatio property for further flexibility and accuracy.

* Fixed the ExifInterface creation based on the API level.

* Handle file not found in the native images handling.

* chore: apply PR comments
2018-02-28 14:00:43 +02:00
Manol Donev
bddb2e911f feat(tabview):improve tabview tab item title layout (#114) 2018-02-22 18:03:27 +02:00
Vasil Chimev
a9ac20da20 docs: update build scripts and .md files (#113)
* docs: add more on Contributing and Get Help

* chore: update build scripts

* docs: update DevelopmentWorkflow.md

* docs: update .md files

* docs: update DevelopmentWorkflow.md

* docs: update development workflow on Win
2018-02-16 10:07:07 +02:00
Alexander Djenkov
3ac3641b98 feat(view-pager): add TabViewPager with switchable paging (#112) 2018-02-07 18:20:37 +02:00
tbozhikov
b5318061df update LICENSE and CODE_OF_CONDUCT.md (#111)
* chore: update community files

* chore: remove unneeded LICENCE.md file

* fix: remove LICENSE.md copying in dist folder
2018-01-26 15:05:36 +02:00
vchimev
8f4f938d24 chore: bump version to 4.0.0 2017-12-07 13:36:01 +02:00
Vasil Chimev
39adf0f2fe chore(travis-ci): suppress sdkmanager's output from log (#108) 2017-11-02 10:15:22 +02:00
Panayot Cankov
d37df7ee6c Merge pull request #107 from NativeScript/expose-nslog
Expose __nslog that calls NSLog(@"%@", msg) under the hood so logs output can be performed in release builds
2017-11-01 13:23:57 +02:00
Panayot Cankov
b55d27f786 Expose __nslog that calls NSLog(@"%@", msg) under the hood so logs output can be performed in release builds 2017-11-01 10:14:00 +02:00
vchimev
339b1572ee chore: bump version 3.4.0 2017-10-24 15:29:32 +03:00
SvetoslavTsenov
be2b875f2e Merge pull request #105 from NativeScript/version
Bump version 3.3.0
2017-08-29 18:21:16 +03:00
SvetoslavTsenov
fc9b2fc3b5 Bump version 3.3.0 2017-08-29 16:54:41 +03:00
Hristo Hristov
37b1623adc Fix when GridLayout is recycled some internal states are not invalidated correctly (#104) 2017-08-09 15:52:52 +03:00
Panayot Cankov
11260a0749 Merge pull request #103 from NativeScript/image-and-corners
Implement non uniform border corner radiuses and fix blinking image-view radiuses
2017-07-27 13:49:04 +03:00
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