Commit Graph

203 Commits

Author SHA1 Message Date
Manol Donev
a14d2ee720 chore: require relative path within tns-core-modules 2019-06-27 18:29:18 +03:00
Manol Donev
4f39fb728b chore: update tslint rules (#7391) 2019-06-26 15:13:48 +03:00
Alexander Djenkov
f08b491750 fix(android-transition): exit transition not executed after app suspend resume (#7402) 2019-06-26 01:06:15 +03:00
Manol Donev
d402c05b2f Merge branch 'master' into mdonev/release-to-master20190621 2019-06-25 16:52:27 +03:00
Manol Donev
b20e771552 chore: remove deprecated apis for ns 6.0 (#7382) 2019-06-25 16:52:01 +03:00
Manol Donev
4299d4aedc Merge branch 'master' into mdonev/release-to-master20190621 2019-06-21 15:39:51 +03:00
Vladimir Amiorkov
dfe76213dd fix: clear the resolvedPage when entry is being cleared, change the passed View to be a weak reference (#7327)
* fix: clear the `resolvedPage` when entry is being cleared
fix: change the passed `View` to be a weak reference

* chore: add trace logs when weak ref has been cleared but is continuing to be used
chore: add condition to check if weak ref has not been cleared when it is being used

* chore: refactor the way the `resolvedPage` is cleared

* chore: add backward compatible property to avoid breaking changes

* chore: refactor condition to check if WeakRef is not cleared
chore: add tracelogs

* chore: refactor condition to check if WeakRef is not cleared
chore: add tracelogs

* refactor: weakRef usages

* chore: change the way WeakRef type check is done
2019-06-21 01:48:49 -07:00
Manol Donev
ecd9fc3e9d feat: bundle workflow support (#7337) 2019-06-20 15:58:36 +03:00
Alexander Djenkov
c5db112b8d feat(android): androidX support (#7039)
* feat: migrate support library namespaces to androidX

* feat(tns-platform-declarations): update to androidX typings

* chore(tests): migrate test apps to AndroidX

* chore(tns-platform-declarations): update tsconfig to include androidx dts files

* update package.json to androidx

* chore(androidx): migrate forgotten support library namspaces

* feat(tns-core-modules-widgets): migrate to AndroidX namespaces

* chore(utils): update androidx namspace for getPaletteColor method

* chore(apps): update tns-platform-declarations package

* Update package.json
2019-06-10 09:21:41 +03:00
Manol Donev
6d36041823 fix back navigation 2019-06-04 17:50:26 +03:00
Manol Donev
7c22ffed45 fix(hmr): support for multi module replacement 2019-05-31 16:17:55 +03:00
Manol Donev
0aca08755a fix(hmr): quick fade upon replace navigation (#7251) 2019-05-22 11:45:55 +03:00
Vasil Chimev
8a2f592df9 refactor(HMR): Refactor livesync propagaton 2019-05-03 17:48:44 +03:00
Vasil Chimev
cfa37cfa28 fix-next(HMR): apply changes in page styles at runtime when app root is a frame 2019-05-03 13:26:37 +03:00
Vasil Chimev
d35e14ed0f feat(hmr): preserve navigation history on applying changes (#7146) 2019-04-23 17:47:29 +03:00
Martin Yankov
663dbb9dae chore: add deprecation console warnings (#7098) 2019-04-03 16:15:31 +03:00
Eddy Verbruggen
3efc06ed98 feat(android): implement a 'activityNewIntent' event 2019-04-03 11:06:14 +03:00
Martin Yankov
b59d32eb68 Merge branch 'master' into myankov/merge 2019-03-26 12:38:09 +02:00
Martin Yankov
4f0d6d36e3 refactor: guard ng and vue entry points (#7071) 2019-03-26 12:35:43 +02:00
Manol Donev
b436ecde36 refactor: replace var usage with let/const (#7064) 2019-03-25 18:09:14 +02:00
Martin Yankov
26679d42ff refactor(): add better err msg for missing main entry (#7063) 2019-03-25 14:07:23 +02:00
Manol Donev
cf07b2719f chore: update deprecations (#7046) 2019-03-21 14:25:36 +02:00
Manol Donev
b40f027f10 Merge branch 'master' into mdonev/release-to-master-7011 2019-03-15 18:35:41 +02:00
Manol Donev
91d90ccd0f fix: navigation b/n single and nested frame pages (#7011) 2019-03-15 15:38:04 +02:00
Vasil Chimev
3c2c1d9b69 feat(HMR): style views at runtime (#7012)
* feat(HMR): style view at runtime

test: module root view component

test: update livesync tests

refactor: _onLivesync function

* style: remove a comment

* refactor: rename the property
2019-03-13 13:24:49 +02:00
Manol Donev
2247e6d28b Merge branch 'release' into mdonev-merge-release-resourceid-fix 2019-02-22 15:37:32 +02:00
Manol Donev
33d6d1f228 fix(android): resource ID #0xffffffec not found on nav (#6955) 2019-02-22 15:00:24 +02:00
Martin Yankov
07194225b3 Merge branch 'master' into merge-release-master-5.2.1 2019-02-19 11:53:30 +02:00
Vasil Chimev
44b8acd79c feat(HMR): apply changes in page styles at runtime when app root is a frame (#6857)
* feat(HMR): apply changes in page styles at runtime

* fix: livesync tests

* test: changeCssFile method

* refactor: address comments

Add a comment.
Update `let` to `const`.
Update `changesCssFile` test.

* test: add an assert
2019-02-14 14:03:13 +02:00
Alexander Djenkov
57f07a3ec7 fix(frame-ios): tearDownUI when UINavigationController disappear (#6892) 2019-02-13 15:11:04 +02:00
Alexander Djenkov
cea97c6b45 fix(ios-frame): tearDownUI and reset UINavigationController (#6817) 2019-02-06 22:11:13 +02:00
Vasil Chimev
1f1d722008 fix(Android): a crash on application restart after livesync changes (#6756)
```
An uncaught Exception occurred on "main" thread.
com.tns.NativeScriptException:
Calling js method run failed

TypeError: Cannot read property 'getRootView' of undefined
File: file:///data/data/org.nativescript.preview/files/app/tns_modules/tns-core-modules/ui/frame/frame.js, line: 56, column:29
```
2019-01-08 21:03:28 +02:00
Manol Donev
46c9de020e fix(android): raise resume event on activity.onPostResume() (#6766) 2019-01-08 15:20:11 +02:00
Manol Donev
4dc35a5e6f fix(android): failure saving state in mixed parent/nested frame nav (#6719) 2018-12-18 10:23:02 +02:00
Manol Donev
c034d6ead6 fix(android): animator restore logic on simulated nav (#6710) 2018-12-17 15:27:52 +02:00
Vasil Chimev
790bcfb470 refactor(HMR): apply changes in application styles at runtime 2018-12-14 14:34:50 +02:00
Vasil Chimev
42a1491e6e feat(HMR): apply changes in application styles at runtime
Expose `HmrContext` interface.
Apply changes in `app.css` instantly.
Avoid navigation on livesync when changes in `app.css` have been made.
Apply changes in `app.css` on back navigation.
2018-12-14 14:34:47 +02:00
Manol Donev
c084660d0b fix(android): nested fragment disappears on parent fragment removal (#6677) 2018-12-12 14:16:10 +02:00
Manol Donev
5b9b335489 fix(android-fragment): child already has a parent (#6589) 2018-11-23 14:48:41 +02:00
Alexander Djenkov
fc1f8c1e42 fix(back-navigation): app freeze on going back in parent frame with states (#6595)
Endless loop while searching for parent frame that can go back.
Caught in Angular app when trying to go back from nested named lazy loaded outlet using the android hadrware back button.
2018-11-23 10:05:49 +02:00
Leonardo Donelli
efe331862f fix: doc of transitionAndroid property of NavigationEntry interface (#6563) 2018-11-15 20:10:29 +00:00
Manol Donev
7df8038d09 fix: nested frames order with tabs & suspend/resume (#6528) 2018-11-14 10:20:52 +02:00
Manol Donev
41ba93de41 fix(android): IllegalStateException with tabview&nested frames (#6495) 2018-11-05 16:17:51 +02:00
Manol Donev
fac970e753 fix(android): back navigation on app suspend/resume (#6489) 2018-11-02 17:31:52 +02:00
Manol Donev
95c4ec5a96 Revert "fix-next(android): restore fade animation for simulated nav (#6463)" (#6473)
This reverts commit 448936d6e6.
2018-10-29 19:43:34 +02:00
Manol Donev
448936d6e6 fix-next(android): restore fade animation for simulated nav (#6463) 2018-10-26 17:09:19 +03:00
Martin Yankov
e48782511d fix-next: handle action bar safe area nesting (#6455) 2018-10-26 14:05:14 +03:00
Manol Donev
4765dd9302 fix-next(android): exit fragment animation (#6421) 2018-10-26 13:32:30 +03:00
Martin Yankov
0002624d3c feat(frame): add new actionBarVisibility property (#6449) 2018-10-24 14:51:43 +03:00
Alexander Djenkov
af651d6e83 feat(frame): hardware back in parent frame when back states available (#6446) 2018-10-24 10:18:50 +03:00