Commit Graph

6863 Commits

Author SHA1 Message Date
Dimitar Topuzov
dd09de3ac4 release: cut the 6.2.2 release 2019-11-26 07:43:02 +02:00
Alexander Djenkov
47f4c25a69 fix(frame): push recreated frame back in frameStack when Don't Keep Activities enabled (#8096) 2019-11-22 11:18:37 +02:00
Dimitar Tachev
5b647bd809 tests: fix private nativescript-dev-webpack API usage (#8124) 2019-11-21 21:20:22 +02:00
Stanimira Vlaeva
529f0c4f86 chore: fix a typo in a comment (#8128) 2019-11-21 16:51:39 +02:00
Manol Donev
0175c4b35a chore: housekeeping (#8129) 2019-11-21 16:51:17 +02:00
Manol Donev
786aca3039 chore: stabilize iOS13 unit tests (#8127) 2019-11-21 16:50:31 +02:00
Martin Yankov
800f5bcfe4 fix: tab navigations don't work with lowercase xml (#8016) 2019-11-21 14:48:33 +02:00
Nikolay Tsonev
8d2dd2eb21 docs: add test report info in the contribution guidelines (#8116) 2019-11-21 14:10:12 +02:00
Alexander Vakrilov
defb4f8880 test: execute api-extractor on CI properly (#8123) 2019-11-21 08:25:06 +02:00
Manol Donev
3daca6638b Merge pull request #8088 from NativeScript/merge-6.2.1-release-in-master
chore: merge 6.2.1 release in master
2019-11-20 11:44:00 +02:00
Manol Donev
6a1e57c604 Merge branch 'master' into merge-6.2.1-release-in-master 2019-11-20 10:21:48 +02:00
suijaa
04f87e37ac docs(changelog): typo (#8121) 2019-11-20 10:18:14 +02:00
Alexander Djenkov
c5df258043 feat(modal-view-ios): handle iOS 13 dismiss modal gesture (#8024)
* feat(modal-view): introduce cancelable property on ShowModalOptions

* fix(modal-view): handle iOS 13 modal dismiss gesture

* chore: address PR comments
2019-11-20 10:00:54 +02:00
Shailesh Lolam
60ac4e7a05 fix(iOS): Opening alert/confirm on top most of modal dialogs (#7982)
This is fix for the issue #6939 where alert() and confirm() does not work in a modal dialog if it's opened on top of an existing modal dialog.
2019-11-19 16:36:08 +02:00
Manol Donev
bed0565461 chore: update nativescript.api.md (#8117) 2019-11-19 15:50:16 +02:00
Vasil Chimev
b069ff38f3 fix(iOS): check for iOS 13 APIs (#8093) 2019-11-18 13:39:00 +02:00
Alexander Djenkov
d983f79923 fix(frame): nested frame wrong background after parent navigation (#8095) 2019-11-14 16:43:19 +02:00
Manol Donev
bca1271329 fix(android): Fatal Exception: java.lang.OutOfMemoryError (#8061) (#8098)
Crashlytics:
**Async.java line 181**
**org.nativescript.widgets.Async$Image$DownloadImageTask.doInBackground**
```
Fatal Exception: java.lang.OutOfMemoryError: Failed to allocate a 3601932 byte allocation with 970044 free bytes and 947KB until OOM
at dalvik.system.VMRuntime.newNonMovableArray(VMRuntime.java)
at android.graphics.BitmapFactory.nativeDecodeStream(BitmapFactory.java)
at android.graphics.BitmapFactory.decodeStreamInternal(BitmapFactory.java:863)
at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:839)
at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:877)
at org.nativescript.widgets.Async$Image$DownloadImageTask.doInBackground(Async.java:181)
at org.nativescript.widgets.Async$Image$4.run(Async.java:157)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
at org.nativescript.widgets.Async$PriorityThreadFactory$1.run(Async.java:86)
at java.lang.Thread.run(Thread.java:818)
```

Crashlytics
**Async.java line 473**
**org.nativescript.widgets.Async$Http$RequestResult.readResponseStream**
```
Fatal Exception: java.lang.OutOfMemoryError: Failed to allocate a 3000012 byte allocation with 2043950 free bytes and 1996KB until OOM
       at dalvik.system.VMRuntime.newNonMovableArray(VMRuntime.java)
       at android.graphics.BitmapFactory.nativeDecodeByteArray(BitmapFactory.java)
       at android.graphics.BitmapFactory.decodeByteArray(BitmapFactory.java:744)
       at org.nativescript.widgets.Async$Http$RequestResult.readResponseStream(Async.java:473)
       at org.nativescript.widgets.Async$Http$HttpRequestTask.doInBackground(Async.java:555)
       at org.nativescript.widgets.Async$Http$1.run(Async.java:307)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
       at org.nativescript.widgets.Async$PriorityThreadFactory$1.run(Async.java:86)
       at java.lang.Thread.run(Thread.java:818)
```

## PR Checklist

- [x] The PR title follows our guidelines: https://github.com/NativeScript/NativeScript/blob/master/CONTRIBUTING.md#commit-messages.
- [x] There is an issue for the bug/feature this PR is for. To avoid wasting your time, it's best to open a suggestion issue first and wait for approval before working on it.
- [x] You have signed the [CLA](http://www.nativescript.org/cla).
- [x] All existing tests are passing: https://github.com/NativeScript/NativeScript/blob/master/DevelopmentWorkflow.md#running-unit-tests.
- [ ] Tests for the changes are included - https://github.com/NativeScript/NativeScript/blob/master/WritingUnitTests.md.

## What is the current behavior?
Uncaught exception resulting in crash. This was introduced in v6.2.0.

## What is the new behavior?
Additional `catch` block for uncaught exception type `OutOfMemoryError`

Fixes:
https://www.telerik.com/account/support-tickets/view-ticket/1436458
2019-11-14 14:22:20 +02:00
Manol Donev
03b058b99f Merge branch 'master' into merge-6.2.1-release-in-master 2019-11-14 10:16:47 +02:00
Dick Smith
8d382a6b2e fix(android): Fatal Exception: java.lang.OutOfMemoryError (#8061)
Crashlytics:
**Async.java line 181**
**org.nativescript.widgets.Async$Image$DownloadImageTask.doInBackground**
```
Fatal Exception: java.lang.OutOfMemoryError: Failed to allocate a 3601932 byte allocation with 970044 free bytes and 947KB until OOM
at dalvik.system.VMRuntime.newNonMovableArray(VMRuntime.java)
at android.graphics.BitmapFactory.nativeDecodeStream(BitmapFactory.java)
at android.graphics.BitmapFactory.decodeStreamInternal(BitmapFactory.java:863)
at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:839)
at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:877)
at org.nativescript.widgets.Async$Image$DownloadImageTask.doInBackground(Async.java:181)
at org.nativescript.widgets.Async$Image$4.run(Async.java:157)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
at org.nativescript.widgets.Async$PriorityThreadFactory$1.run(Async.java:86)
at java.lang.Thread.run(Thread.java:818)
```

Crashlytics
**Async.java line 473**
**org.nativescript.widgets.Async$Http$RequestResult.readResponseStream**
```
Fatal Exception: java.lang.OutOfMemoryError: Failed to allocate a 3000012 byte allocation with 2043950 free bytes and 1996KB until OOM
       at dalvik.system.VMRuntime.newNonMovableArray(VMRuntime.java)
       at android.graphics.BitmapFactory.nativeDecodeByteArray(BitmapFactory.java)
       at android.graphics.BitmapFactory.decodeByteArray(BitmapFactory.java:744)
       at org.nativescript.widgets.Async$Http$RequestResult.readResponseStream(Async.java:473)
       at org.nativescript.widgets.Async$Http$HttpRequestTask.doInBackground(Async.java:555)
       at org.nativescript.widgets.Async$Http$1.run(Async.java:307)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
       at org.nativescript.widgets.Async$PriorityThreadFactory$1.run(Async.java:86)
       at java.lang.Thread.run(Thread.java:818)
```

## PR Checklist

- [x] The PR title follows our guidelines: https://github.com/NativeScript/NativeScript/blob/master/CONTRIBUTING.md#commit-messages.
- [x] There is an issue for the bug/feature this PR is for. To avoid wasting your time, it's best to open a suggestion issue first and wait for approval before working on it.
- [x] You have signed the [CLA](http://www.nativescript.org/cla).
- [x] All existing tests are passing: https://github.com/NativeScript/NativeScript/blob/master/DevelopmentWorkflow.md#running-unit-tests.
- [ ] Tests for the changes are included - https://github.com/NativeScript/NativeScript/blob/master/WritingUnitTests.md.

## What is the current behavior?
Uncaught exception resulting in crash. This was introduced in v6.2.0.

## What is the new behavior?
Additional `catch` block for uncaught exception type `OutOfMemoryError`

Fixes:
https://www.telerik.com/account/support-tickets/view-ticket/1436458
2019-11-14 10:04:46 +02:00
SvetoslavTsenov
bfe457add6 Merge remote-tracking branch 'origin/master' into merge-6.2.1-release-in-master 2019-11-12 18:26:49 +02:00
Svetoslav
1528498a31 docs: cut the 6.2.1 release (#8087) 6.2.1 2019-11-12 16:53:50 +02:00
Martin Bektchiev
d0d4d81102 refactor(ios): Chrome DevTools Runtime domain (#8072)
Move the logic from core modules to iOS runtime. This way watches
and expressions evaluation in console will work for apps which
do not use the core modules (e.g. TestRunner of iOS runtime)
2019-11-11 14:47:26 +02:00
Alexander Vakrilov
f68647233f fix(dev-tools): use app root in getDocument() (#8071) 2019-11-08 11:14:29 +02:00
Morten Sjøgren
fc2a233e95 fix: nested css-calc and css-variables with fallback (#7987) 2019-11-07 17:30:03 +02:00
Vasil Trifonov
7fa997865b fix: ensure @CallSuper native methods call superFunc (#8025) 2019-11-07 15:14:37 +02:00
Alexander Vakrilov
481ac7f21f chore: d.ts file cleanup (#8044) 2019-11-07 13:44:49 +02:00
Vasil Chimev
0c7f8383a3 fix(dark-mode): formatted string and html view text color (#8031) 2019-11-07 13:43:27 +02:00
Alexander Vakrilov
eb960b7162 chore: add no android.R tslint rule (#8033) 2019-11-07 13:19:20 +02:00
Svetoslav
c0b372d7dc Merge pull request #8066 from NativeScript/svetoslavtsenov/merge-6.2.0-release-in-master
chore: merge 6.2.0 release in master
2019-11-07 00:51:28 +02:00
SvetoslavTsenov
e825b49f54 Merge remote-tracking branch 'origin/master' into svetoslavtsenov/merge-6.2.0-release-in-master 2019-11-06 17:15:20 +02:00
Alexander Djenkov
eb33ede5a7 fix(gradient): import LinearGradient with alias (#8063) 2019-11-06 16:37:59 +02:00
Vasil Chimev
2a34368465 feat(application): add system appearance changed event to typings (#8034) 2019-11-06 14:07:34 +02:00
Svetoslav
04c65392a2 test: ignore None transition scenario for api19 (#8035) 2019-11-02 01:48:38 +02:00
Nikolay Tsonev
9f9e8f8f19 Fixing API REF build script - docs (#8043) 2019-10-31 13:12:39 +02:00
Svetoslav
8b6c852436 test: refactor frames root tests (#8012) 2019-10-29 21:25:55 +02:00
Svetoslav
696280dc33 chore: cut the 6.2.0 release (#8011) 6.2.0 2019-10-29 20:59:35 +02:00
Martin Yankov
a61de80a35 fix(bottom-navigation-android): crash when changing tab and suspending app (#8030) 2019-10-29 17:01:05 +02:00
Alexander Vakrilov
1c694d3165 chore: add api-report check to travis (#8023) 2019-10-29 14:52:04 +02:00
Chaman Kumar
86339250d8 chore: update readme (#8019) 2019-10-28 15:23:44 +02:00
Vasil Chimev
85b92b0136 fix-next(css-class): set class before showing window (#8022) 2019-10-28 14:10:40 +02:00
Vasil Chimev
640590627b refactor(dev-tools): replace topmost() usage (#8013) 2019-10-25 18:00:37 +03:00
Alexander Vakrilov
d6bd90fd34 chore: more forgiving verions check hook (#8009) 2019-10-24 13:23:24 +03:00
Vasil Chimev
beca1c8828 fix-next(iOS): set root viewe css classes before setup UI (#8005)
At application launch, `ns-root` class is not set when loading the theme.
2019-10-24 10:15:03 +03:00
Martin Yankov
c9bfec1cbe fix(ios-bot-nav): incorrect layout on orientation change (#7927) 2019-10-23 13:31:19 +03:00
Alexander Vakrilov
7e87fe0018 chore(hook): Add check for min webpack v1.3.0 (#7998) 2019-10-23 11:01:35 +03:00
Manol Donev
aacfce58ac refactor: deprecated goBack() usage (#8002) 2019-10-23 10:32:57 +03:00
Manol Donev
0a495b55a2 refactor: android.R to const for performance reasons (#8003) 2019-10-22 22:09:17 +03:00
Alexander Vakrilov
ae6c02258e chore: add re-exports for ts files (#7993) 2019-10-22 16:57:31 +03:00
Svetoslav
2412c0b6f5 tests: fox modal navidation (#7997) 2019-10-22 16:54:24 +03:00