Commit Graph

5967 Commits

Author SHA1 Message Date
Svetoslav
b7c66d9456 Merge pull request #6879 from NativeScript/tachev/fix-app-launch
fix: app launch with app.css hot module update
2019-02-08 14:49:50 +02:00
Dimitar Tachev
7ced019bbd fix: app launch with app.css hot module update
Fix the application launch when there is an app.css change in a hot module update.
2019-02-08 11:23:24 +02:00
Alexander Djenkov
a35c0a0340 refactor(stack-layout): add warning when measuring scrollable child (#161)
* refactor(stack-layout): add warning when measuring scrollable child

* refactor: text align
2019-02-08 11:15:07 +02:00
Svetoslav
37d5569a3e chore: bump package versions to 5.3.0 (#6877) 2019-02-08 11:08:12 +02:00
Martin Bektchiev
8b4a9b3c6b feat: Provide API to release the native object wrapped by a JS one (#6873)
* Add `releaseNativeObject` function in `utils`
* Add tests
* Add typings for the global `__releaseNativeCounterpart` functions
provided by Android and iOS runtimes

refs https://github.com/NativeScript/ios-runtime/issues/1062 and https://github.com/NativeScript/android-runtime/issues/1254
2019-02-08 10:42:51 +02:00
Jonathan Salomon
9f8d24a811 Prevent app crash for css text-transform (#6815)
* Prevent app crash for css text-transform

* refactor: formatting

* refactor: formatting

* minor refactoring

* fix: use isString - text is sometimes String

* fix: use isString - text is sometimes String
2019-02-07 10:59:53 +02:00
Alexander Djenkov
cea97c6b45 fix(ios-frame): tearDownUI and reset UINavigationController (#6817) 2019-02-06 22:11:13 +02:00
Alexander Djenkov
97d878c107 refactor(stack-layout-ios): add warning when measuring unsized scrollable child (#6784)
* refactor(stack-layout-ios): add warning when measuring unsized scrollable child

* fix typo
2019-02-06 20:19:30 +02:00
sczerniawski
60c337b6f3 Remove incomplete declaration of Array#filter. (#6858)
It is no longer necessary. Fixes #6854.
2019-02-06 15:55:32 +02:00
Manol Donev
23dc84d84b fix(ios): textview content clipped on every other newline (#6864) 2019-02-06 14:04:27 +02:00
Martin Yankov
603c901be4 feat(action-bar): flat mode breaks ios safe area (#6862) 2019-02-06 13:13:03 +02:00
Alexander Djenkov
8c80044cc0 fix(view-android): clear dialog fragment when closing modal view (#6852) 2019-02-04 15:34:37 +02:00
Yash Garg
fdebf049b2 Remove unnecessary hyperlink (#6830) 2019-02-04 10:15:43 +02:00
Vasil Chimev
ff476d983d refactor: rename HmrContext to ModuleContext (#6843)
* refactor: rename HmrContext to ModuleContext

* refactor(ModuleContext): rename module to path
2019-01-31 18:32:25 +02:00
Adrian Rollett
408614dd45 feat(dialog): add decimal input type for prompt dialog (#6805) 2019-01-25 15:20:19 +02:00
Simon Tang
672c821d14 feat: add rebeccapurple to known css colors (#6819) 2019-01-23 16:08:09 +02:00
Svetoslav
7453af942a Merge pull request #6824 from NativeScript/svetoslavtsenov/tests-app-circular-deps-check
test: circular deps
2019-01-23 14:03:18 +02:00
SvetoslavTsenov
21494f946c chore: log of deps 2019-01-23 13:59:07 +02:00
SvetoslavTsenov
f2dc9cd69d test: circular deps 2019-01-23 13:35:35 +02:00
Manol Donev
08acd84fe2 fix(ios): native view frame optimizations in nested scenario (#6809) 2019-01-23 11:09:04 +02:00
Vasil Chimev
8cb726aedf fix-next: avoid circular reference (#6812) 2019-01-22 14:37:29 +02:00
Grgur Grisogono
19dfd163e0 fix: call onNavigatingFrom event only if it exists (#6773)
I ran into an issue where `owner.onNavigatingFrom` didn't exist when rendering a view was blocked by the biometric scanner and then user hit the back button to navigate back.

This code simply adds a check to see if `onNavigatingFrom` exists on the owner
2019-01-21 15:23:43 +02:00
Gal Weissman
25f4b562a0 fix(android-login): use passwordHint for password placeholder 2019-01-21 10:26:27 +02:00
Svetoslav
cc83ffdbdb Merge pull request #6802 from NativeScript/merge-release-in-master
Merge release in master
2019-01-17 21:30:59 +02:00
SvetoslavTsenov
085f98a2cf Merge remote-tracking branch 'origin/master' into merge-release-in-master 2019-01-17 15:52:38 +02:00
Nicolas St-Amour
9df90afdd9 docs(coding-convention): if-statements examples not respecting coding convention (#6786) 2019-01-16 14:59:20 +02:00
Svetoslav
b05399dc89 Merge pull request #6796 from NativeScript/addidtional-commit-to-release-5.1.2
fix(tab-view): remove onBackPressed override (#6755)
5.1.2
2019-01-15 17:20:27 +02:00
Alexander Djenkov
c43537809e fix(tab-view): remove onBackPressed override (#6755) 2019-01-15 10:37:25 +02:00
Svetoslav
059f3902a0 Merge pull request #6790 from NativeScript/release-5.1.2
release: cut the 5.1.2 release
2019-01-13 20:27:47 +02:00
SvetoslavTsenov
c4eb64be0b release: cut the %s release 2019-01-13 16:24:11 +02:00
Alexander Djenkov
e03f5f9cf5 fix(list-view-android): app crashes on ListView item template change (#6634)
* fix(list-view): app crashes on first ListView item template change

* tests: add tests for changing ListView item template with expression
2019-01-13 16:18:49 +02:00
Svetoslav
0a1e7dabaa Merge pull request #6779 from NativeScript/svetoslavtsenov/update-modal-navigation-tests 2019-01-10 14:50:02 +02:00
Svetoslav
fce9ac8d27 Merge branch 'master' into svetoslavtsenov/update-modal-navigation-tests 2019-01-09 19:57:00 +02:00
Vasil Trifonov
28db2afbd4 feat: OnDiscardedError typings and event (#6777)
* feat: OnDiscardedError typings and event

* remove ios and android from DiscardedErrorEventData
2019-01-09 18:24:25 +02:00
SvetoslavTsenov
1255a3c9ae tests: update driver default wait time 2019-01-09 16:26:15 +02:00
Manol Donev
4cda0e7345 refactor: enable e2e tests with mixed animation nav (#6775) 2019-01-09 16:16:08 +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
Nikolay Tsonev
3a8c3fca75 feat(modals): option to make dialogs cancelable in Android (#6765) 2019-01-08 16:56:30 +02:00
Manol Donev
a6d561e549 refactor: update e2e tests for CI (#6722) 2019-01-08 15:23:35 +02:00
Manol Donev
46c9de020e fix(android): raise resume event on activity.onPostResume() (#6766) 2019-01-08 15:20:11 +02:00
Svetoslav
42c25370ee chore: merge release in master (#6731)
* Fix some lint errors

* release: cut the 5.1.1 release

* chore: bump widgets version to 5.1.2
2019-01-08 13:55:50 +02:00
Alexander Djenkov
2085d1e4ac fix(list-view-android): app crashes on ListView item template change (#6634)
* fix(list-view): app crashes on first ListView item template change

* tests: add tests for changing ListView item template with expression
2019-01-08 13:48:47 +02:00
Emil Tabakov
35ebe8b91d chore: update LICENSE for tns-core-modules (#6761) 2019-01-07 15:17:15 +02:00
Emil Tabakov
37f5359fc5 chore: update community files (#6763) 2019-01-07 15:12:05 +02:00
Emil Tabakov
65eb1c9c0e chore: update community files (#159) 2019-01-07 14:40:16 +02:00
Alexander Djenkov
984f162c1c fix(tab-view): remove onBackPressed override (#6755) 2019-01-04 16:57:26 +02:00
Manol Donev
1ae0cfd4b3 refactor: cleanup unused elements (#6732) 2019-01-02 11:17:55 +02:00
Nikolay Tsonev
6cdb01d432 set the correct application theme while creating the dialog fragment (#6691)
* set the correct application theme while creating the dialog fragment

* useing the new approche fusing the new approach for setting the theme only when the modal view is fullscreen(it will break the style when using non-fullscreen modal)

* note - get theme change

* set the correct application theme while creating the dialog fragment

* useing the new approche fusing the new approach for setting the theme only when the modal view is fullscreen(it will break the style when using non-fullscreen modal)

* note - get theme change
2018-12-31 14:20:52 +02:00
Vasil Chimev
2b7e7d89e0 fix-next: undefined root view when reapplying styles (#6729)
* fix: undefined root view when reapplying styles

Error:
```
JS ERROR TypeError: undefined is not an object (evaluating
'application_1.getRootView()._onCssStateChange')
```

Steps:
- `tns run <platform> --hmr`
- make a change in application styles
- restart the application
2018-12-27 16:44:24 +02:00
Alexander Vakrilov
8a32102fa1 fix(modal): Fix crash if modal is destroyed before dismissed in Android (#6723) 2018-12-20 17:24:13 +02:00