farfromrefuge
1ffc1628d0
feat(android): support clipToBounds ( #9508 )
...
* performance improvements around border handling
BREAKING CHANGE:
* if you have broder-radius or clip-path, it will clip by default
2021-09-08 16:07:39 -07:00
farfromrefuge
4f5f0aae77
feat: requestLayout performance improvements ( #9122 )
...
It was unnecessary to make multiple calls requestLayout inside initNativeView (properties set)
2021-09-08 16:07:39 -07:00
farfromrefuge
0d0d0382ad
fix(android): use nativeTextViewProtected internally ( #9483 )
2021-09-08 16:07:39 -07:00
Nathan Walker
e00f9772d8
chore: add guard around getLifecycle
2021-09-08 16:07:39 -07:00
farfromrefuge
e7b30af394
fix(android): prevent potential crash when app goes to background ( #9347 )
2021-09-08 16:07:39 -07:00
farfromrefuge
a76815b81e
fix(android): make less calls to native with getters around prop handling ( #9119 )
2021-09-08 16:07:39 -07:00
farfromrefuge
2dd2970c7d
fix(android): dont dispose fragment on onloaded ( #8793 )
2021-09-08 16:07:39 -07:00
farfromrefuge
d25cd5bcee
feat: autofillType property for edit text base ( #9478 )
2021-09-08 16:07:39 -07:00
Nathan Walker
4ee1acb05c
chore: fix color tests
2021-09-08 16:07:39 -07:00
farfromrefuge
58442fb454
feat: AbortController polyfill ( #9333 )
2021-09-08 16:07:39 -07:00
farfromrefuge
c4db847ded
feat(color): added utilities and improved color parsing performance ( #9110 )
2021-09-08 16:07:39 -07:00
Nathan Walker
65f9598a0d
feat(config): added option for ignoredNativeDependencies
2021-09-08 16:07:39 -07:00
Sergey Mell
2a4563716a
fix(styling): change transform parameters parsing ( #9481 )
...
Fixed the incorrectly applied short form of "transform: translate" style property.
closes #5202
2021-09-08 16:07:39 -07:00
Eduardo Speroni
37c0731a8a
fix(android): onSaveInstanceState should not crash when no rootView is set ( #9447 )
2021-09-08 16:07:39 -07:00
Osei Fortune
76499a5367
feat(android): vector drawable support ( #9464 )
2021-09-08 16:07:39 -07:00
Osei Fortune
b2f792324d
feat(image-source): add saveToFileAsync, toBase64StringAsync & resizeAsync ( #9404 )
2021-09-08 16:07:39 -07:00
Nathan Walker
3aff057b99
revert: fix(android): nested dialog/fragment handling ( #9495 )
...
This reverts commit 4c547bb00c .
2021-09-08 16:07:39 -07:00
Igor Randjelovic
3e98d1e934
revert: feat(android): fragment transactions to use 'add' instead of 'replace' on fwd navigation ( #8791 )
...
This reverts commit e498c9d5bc .
2021-09-08 16:07:39 -07:00
Nathan Walker
71677f70b1
chore: apps webpack config
2021-09-08 16:07:39 -07:00
Nathan Walker
0ae39097bd
chore: fix tests for ios
2021-09-08 16:07:39 -07:00
farfromrefuge
e17e46974b
feat(android): fragment transactions to use 'add' instead of 'replace' on fwd navigation ( #8791 )
...
Changes the behavior of android fragment transactions to use `add` instead of `replace` on forward navigation.
BREAKING CHANGE:
Changes the internal behavior of Android navigation:
* while navigating forward, the page navigated from is not unloaded anymore
* events order is changed in the sense that now `unloaded` happens after `navigatedFrom` instead of before
There are multiple plus sides to this:
* no more black views on navigation when using opengl (maps, ...)
* navigation is faster, especially the navigation back! No longer need to recreate the page anymore. Navigation forward also gets faster as we no longer unload the previous page
* navigatedFrom event happens faster
* this the default behavior used by most of the android native apps
2021-09-08 16:07:39 -07:00
rigor789
1e3bc48737
refactor: clean up custom flavor detection
2021-09-08 16:07:39 -07:00
Nathan Walker
aa9c9f3897
chore: cleanup
2021-09-08 16:07:38 -07:00
farfromrefuge
dd5f24a737
feat(core): make css parsers tree-shakable ( #9496 )
2021-09-08 16:07:38 -07:00
Nathan Walker
3e2e5dfe9d
chore: cleanup readme
2021-09-06 12:53:55 -07:00
Adarsh jaiswal
d742fd5817
chore: README grammatical ( #9528 )
2021-09-06 12:51:12 -07:00
Rob
c3cadc7fd5
fix(ios): backgroundColor property on Button ( #9524 )
...
closes NativeScript/NativeScript#9523
2021-08-23 23:55:18 -07:00
Osei Fortune
b7b9d7c259
fix(frame): improve weakref guards ( #9518 )
2021-08-19 22:15:18 -07:00
Eduardo Speroni
2f630dc464
fix(android): do not call exitEvent on activity restart ( #9517 )
2021-08-18 09:09:50 -07:00
Igor Randjelovic
3a3b505167
chore(release): @nativescript/webpack@5.0.0-rc.3
5.0.0-rc.3-webpack
2021-08-11 12:30:33 +02:00
Igor Randjelovic
9f807ef7e1
feat(webpack): use svelte-loader and fallback to svelte-loader-hot
...
Allows running older projects
2021-08-11 12:30:12 +02:00
farfromrefuge
59d9271bce
feat(webpack): improved svelte HMR ( #9497 )
...
* update svelte config to use svelte-loader
* handle null config
* fix: worker support in .svelte files & update snapshots
* fix after merge
Co-authored-by: halfnelson <dpershouse@gmail.com >
Co-authored-by: Igor Randjelovic <rigor789@gmail.com >
2021-08-11 11:42:53 +02:00
Nathan Walker
7960f8361f
chore: use correct copy-webpack-plugin syntax
2021-08-10 13:20:46 -07:00
Igor Randjelovic
db8b847306
chore(release): @nativescript/webpack@5.0.0-rc.1
2021-08-09 20:58:23 +02:00
Eduardo Speroni
093b369b74
fix(webpack5): angular scss rule not ignoring regular scss ( #9502 )
...
* fix(webpack5): angular scss rule not ignoring regular scss
* test: angular scss snapshot update
2021-08-09 19:42:45 +02:00
rigor789
3bf55b7a04
feat: handle config name
...
related to https://github.com/NativeScript/nativescript-cli/pull/5554
2021-08-09 15:56:32 +02:00
rigor789
90deb5b1ee
test: fix apps/automated
2021-08-04 20:20:19 +02:00
Nathan Walker
4c547bb00c
fix(android): nested dialog/fragment handling ( #9495 )
2021-08-03 21:57:19 -07:00
rigor789
5309f2d0a7
fix(webpack): use async type-checking in watch mode
2021-08-03 15:41:49 +02:00
rigor789
5a3a35d376
fix(webpack): add virtualEntry before main entry
...
fixes running with the JSC runtime, fixes #9469
2021-08-03 15:41:14 +02:00
Igor Randjelovic
00b7c7b135
feat(webpack): merge webpack5 rewrite ( #9038 )
2021-08-03 15:02:05 +02:00
rigor789
2e30f8c4be
Merge branch 'master' into feat/webpack5
5.0.0-rc.1-webpack
2021-08-03 14:56:43 +02:00
Igor Randjelovic
cb91cd8a3f
fix(webpack): angular component css handling ( #9434 )
...
* feat: use raw-loader for all css but app.s?css
* feat: use angular css rules for entire app dir
Co-authored-by: Eduardo Speroni <edusperoni@gmail.com >
2021-08-03 14:37:58 +02:00
Pier Fumagalli
0a6f80a554
fix(webpack): don't ignore compilation errors ( #9369 )
...
* fix(webpack): Fail build in case of compilation errors.
WebPack's own documentation states that the `err` object **will not**
include compilation errors.
https://webpack.js.org/api/node/#webpack
This fix addresses compilation errors by setting the correct `process.exitCode`
looking at the result of the `stats.hasErrors()` call.
* fix(tsc): Ensure that TypeScript compilation errors are handled.
The `async` flag of the `fork-ts-checker-webpack-plugin` will (by default
in development mode) avoid reporting any errors detected by `tsc` back
to webpack:
https://github.com/TypeStrong/fork-ts-checker-webpack-plugin#options
> If `true` reports issues **after** webpack's compilation is done.
> Thanks to that it doesn't block the compilation.
The problem in this case is that any compilation error will be then
undetectable by the `WatchStatePlugin` which will happily tell the
NativeScript CLI to continue with the build process.
* fix(cli): Do not send the `compilation` message to the CLI on errors.
When the compilation fails, this patch will prevent for the `compilation`
message to be sent back to the CLI, preventing broken builds hitting the device.
2021-08-03 14:36:02 +02:00
Eduardo Speroni
d0f00e24d8
fix(core): correctly export setAutoSystemAppearanceChanged ( #9489 )
2021-07-28 13:13:45 -07:00
Eduardo Speroni
d45dea8471
fix(android): allow 0-length properties ( #9485 )
2021-07-26 14:52:19 -07:00
Adam Bird
0fd53e3abb
fix(webpack5): change .d.ts filter regex ( #9470 )
2021-07-13 15:58:04 +02:00
coolboy0961
f053001dc1
feat(android): provide ability to get registered broadCastReceiver ( #9467 )
2021-07-12 11:35:26 -07:00
Juan David Nicholls Cardona
7b800945dd
fix(log): Allow passing optional params for logs ( #9456 )
2021-07-06 08:23:37 -07:00
Igor Randjelovic
14edc70336
fix: vue scoped css
2021-07-01 13:50:25 +02:00