Commit Graph

5120 Commits

Author SHA1 Message Date
Nathan Schneider
d44047c446 Update WritingUnitTests.md (#6937)
Fixed various spelling and grammar issues.
2019-02-21 10:49:09 +02:00
Nathan Schneider
0d03d93834 Update CodingConvention.md (#6938)
Fixed various spelling and grammar issues.
2019-02-21 09:58:55 +02:00
Martin Bektchiev
f34068d59b fix(angular): Re-add references to tns-core-modules.d.ts (#6949)
They were removed in #6927 because we thought they were
unnecessary.
2019-02-21 09:43:38 +02:00
Martin Bektchiev
5449cfa238 fix(docs): Move NativeScriptError declaration to a separate file (#6927)
It is used by `application.d.ts` and needs to be documented. The reason
that it wasn't included in the documentation by now is that `tns-core-modules.d.ts`
(which imports `module.d.ts`) defines types which are part of the internal
modules and runtimes APIs. As such they are excluded from the generation
of API documentation.
2019-02-20 13:58:09 +02:00
Svetoslav
f698827334 Merge pull request #6926 from NativeScript/merge-release-master-5.2.1
Merge release master 5.2.1
2019-02-19 13:03:35 +02:00
Martin Yankov
07194225b3 Merge branch 'master' into merge-release-master-5.2.1 2019-02-19 11:53:30 +02:00
Svetoslav
46ce8666d2 release: cut the 5.2.1 release (#6925) 5.2.1 2019-02-19 11:50:29 +02:00
Nataliya Hristova
2b58caedfe Merge pull request #6904 from NativeScript/bektchiev/enable-ios-inspector-modules
fix(debugger): Enable iOS inspector modules on creation
2019-02-15 18:59:22 +02:00
Martin Bektchiev
1b5d3071e2 fix(debugger): Enable iOS inspector modules on creation
When the application is being debugged with `--debug-brk --bundle`
options, the JS implementation objects handling the debugging protocol
are created after their corresponding domains' `enable` methods have
been called by the debugger frontend. As a workaround we now manually
call `enable` in their constructors.

related to https://github.com/NativeScript/ios-runtime/issues/1055 and
https://github.com/NativeScript/ios-runtime/issues/1057
2019-02-15 18:16:22 +02:00
Martin Yankov
5dd01a3cb9 fix(ios): searcbar hint color before hint property (#6902) 2019-02-14 16:21:19 +02:00
Manol Donev
0416f7e80e fix(ios-textview): text alignment reset to default on blur (#6903) 2019-02-14 15:00:04 +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
Martin Yankov
8330ac0ac1 fix(css): widget properties in css didn't work (#6889) 2019-02-13 15:10:06 +02:00
Svetoslav
8e9a13c705 Merge pull request #6887 from NativeScript/merge-release-in-master
Merge release in master
2019-02-11 22:07:03 +02:00
SvetoslavTsenov
6c8e2c4a6c Merge remote-tracking branch 'origin/master' into merge-release-in-master 2019-02-10 21:58:36 +02:00
Svetoslav
ddc860128e Merge pull request #6878 from NativeScript/release-5.2.0
release: cut the 5.2.0 release
5.2.0
2019-02-08 18:44:20 +02:00
Vasil Chimev
76a9cae75d docs: updates on 5.2.0 changelog 2019-02-08 15:01:49 +02:00
SvetoslavTsenov
35fd7939a7 docs: update changelog 2019-02-08 14:53:14 +02:00
SvetoslavTsenov
920fde0931 docs: update 2019-02-08 14:52:05 +02:00
SvetoslavTsenov
e776895374 docs: update changelog 2019-02-08 14:52:05 +02:00
SvetoslavTsenov
977eb82ce9 release: cut the 5.2.0 release 2019-02-08 14:52:05 +02:00
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
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