Commit Graph

6243 Commits

Author SHA1 Message Date
Martin Guillon
73072643a5 chore: fix npm build script for live dev 2020-11-01 11:22:38 +01:00
Martin Guillon
01e9d97062 feat: global autoRegisterUIModules to disable auto ui registering
That way you can do it manually which means not everything will be packaged with webpack!
2020-11-01 11:11:16 +01:00
Martin Guillon
17658ed777 fix: only require parsers if need be
this also allows to remove them from bundle.
However this is not the best way. We should use global vars for cssParser so that weback automatically removes the code
2020-11-01 11:10:18 +01:00
Martin Guillon
bb4468ba1e fix: faster colors handling
Also know the rework parser shares the same known colors  (faster, smaller bundle)
There are some eslint fixes in there hope it is fine
2020-11-01 11:09:01 +01:00
Martin Guillon
7fadab1dc8 Merge branch 'master' of github.com:NativeScript/NativeScript
# Conflicts:
#	package.json
#	packages/core/tsconfig.lib.json
#	packages/core/ui/frame/index.android.ts
#	packages/core/ui/tabs/index.ios.ts
2020-10-28 09:46:54 +01:00
Martin Guillon
67ee01e5fe fix: android default modal animation 2020-10-27 21:01:26 +01:00
Martin Guillon
e6fc8784e1 fix: android cleanup after new fragment handling 2020-10-27 21:00:10 +01:00
Dimitris - Rafail Katsampas
b113f1916d feat(core): Repeater multiple item templates implementation (#8981) 2020-10-26 20:13:22 -07:00
Nathan Walker
0bbdeaf0b5 chore: travis node version 2020-10-25 18:28:05 -07:00
Jean-Francois Turcot
0eb2246b7d fix(core): ListViewCell.initWithEmptyBackground (#8985) 2020-10-25 18:05:43 -07:00
Nathan Walker
86c689ef7e chore(release): @nativescript/core@7.0.12 7.0.12-core 2020-10-21 08:37:54 -07:00
Nathan Walker
2243660080 feat(core): TypeScript 4 + cleanup (#8967) 2020-10-19 09:28:05 -07:00
DimitrisRK
99bb067420 fix(android): BottomNavigation error on back press (application exit) (#8970) 2020-10-18 15:44:27 -07:00
Nathanael Anderson
5c1b7f6d76 fix(core): ObservableArray tests and a typo (#8968) 2020-10-17 16:15:20 -07:00
Janos Hrubos
0afea8681c feat(webpack): add svelte support (#8963) 2020-10-17 16:15:20 -07:00
Nathanael Anderson
32404246a1 chore: update bug_report.md 2020-10-17 16:15:15 -07:00
Nathan Walker
5be39082e1 chore(release): @nativescript/core@7.0.11 7.0.11-core 2020-10-10 09:39:44 -07:00
Nathanael Anderson
ad2575991a fix(ios): iOS 10 support with adjustment to UILayoutGuide (#8954) 2020-10-10 09:34:44 -07:00
Nathanael Anderson
6a24061f54 chore: Update License 2020-10-09 21:14:27 -05:00
Martin Guillon
893431a66d chore: removed this for now. Not really needed as using plugin 2020-10-08 09:53:00 +02:00
Nathan Walker
ee05b44663 feat(webpack): angular configuration schema validation compliance 2020-10-06 16:28:35 -07:00
Nathan Walker
db5db5ef7e chore(release): @nativescript/webpack@3.0.6 2020-10-06 08:51:36 -07:00
Nathan Walker
3f7bf676ff feat(webpack): angular configuration support for environment handling (#8938) 2020-10-06 08:19:15 -07:00
Martin Guillon
60060d984d Merge branch 'master' of github.com:NativeScript/NativeScript 2020-10-05 09:18:59 +02:00
Nathan Walker
0f494d2cb2 chore(release): @nativescript/core@7.0.10 7.0.10-core 2020-10-03 14:08:27 -07:00
Martin Guillon
bf772c46b7 fix(core): ensure globals do not get tree shaked (#8931)
closes https://github.com/NativeScript/NativeScript/issues/8925
2020-10-03 14:05:12 -07:00
Nathan Walker
26c7abeb14 chore(release): @nativescript/core@7.0.9 7.0.9-core 2020-09-30 19:39:03 -07:00
mapo80
66cea78c49 feat(ui-mobile-base): enable bitcode (#8917) 2020-09-30 16:56:03 -07:00
Martin Guillon
6d135e5d63 fix(core): ObservableArray splice ensure index is > 0 (#8921)
Otherwise it will crash in ListView for iOS for example as it tries to animate an item with a negative row index
2020-09-30 16:54:54 -07:00
Martin Guillon
ae726846d9 Merge branch 'master' of github.com:NativeScript/NativeScript
# Conflicts:
#	packages/core/package.json
#	packages/core/ui/tabs/index.android.ts
2020-09-30 17:46:22 +02:00
Martin Guillon
a55bcd8561 fix(android): fragment onPause (#8919) 2020-09-30 07:38:20 -07:00
Martin Guillon
17ddbbb9c1 fix(android): make findPageForFragment with fragmen add/remove 2020-09-30 09:19:31 +02:00
Nathan Walker
3a52957102 chore(release): @nativescript/core@7.0.8 7.0.8-core 2020-09-29 08:22:50 -07:00
Nathan Walker
806fc880dd fix(core): global index typing fix for unit testing framework (#8915) 2020-09-29 08:18:36 -07:00
Nathan Walker
647926ee28 fix(ios): Utils.openFile (#8914)
closes https://github.com/NativeScript/NativeScript/issues/8913
2020-09-29 08:18:04 -07:00
Martin Guillon
34e9617162 fix: fix grid layout animation 2020-09-28 14:53:59 +02:00
Martin Guillon
65b1cdbae0 fix(core): Observable splice index > length (#8900)
* fix for splice index > length

In javascript you can call splice with an index > length. The result is a push.
But when you do that ObservableArray index will be wrong and thus user logic will fail.
Example:
```ts
// obsarray = [0];
obsarray.splice(2, 0, 1);
// this works, the inner array is now [0,1]
// however 'change' is called with index = 2
// when the use tries to do obsarray.getItem(eventData.index) -> crash
```

* fix to handle delete too
2020-09-27 09:20:52 -07:00
Martin Guillon
782df98e85 chor: new build 2020-09-27 16:08:07 +02:00
Martin Guillon
2c4a77bde0 fix: emitDecoratorMetadata fix 2020-09-27 16:08:00 +02:00
Nathan Walker
af6336d930 chore(release): @nativescript/core@7.0.7 7.0.7-core 2020-09-25 23:03:04 -07:00
André Sharghi
dbefc43b9b fix(ios): preferredDatePickerStyle property (#8899) 2020-09-25 22:59:47 -07:00
Nathan Walker
53488b5fa2 chore: readme cleanup 2020-09-25 16:15:45 -07:00
Nathan Walker
03f1f3d5f5 chore: format and fix ci build 2020-09-25 15:58:39 -07:00
Nathan Walker
95d45e1528 chore(release): @nativescript/core@7.0.6 7.0.6-core 2020-09-25 10:45:28 -07:00
Nathan Walker
3437ed7e14 fix(core): global handling with env.production flag (#8903)
closes https://github.com/NativeScript/NativeScript/issues/8778
closes https://github.com/NativeScript/NativeScript/issues/8872
2020-09-25 10:42:43 -07:00
Nathan Walker
2640a5fd4b chore(release): @nativescript/webpack@3.0.5 2020-09-25 09:55:48 -07:00
Chris Mercer
9d3d0cf318 chore: update README.md api's -> APIs (#8895)
I'd suggest changing api's to APIs because API is an acronym so should be capitalised, and there shouldn't be an apostrophe as that denotes ownership.
2020-09-24 23:37:17 +02:00
Martin Guillon
da3b170924 Merge branch 'master' of github.com:NativeScript/NativeScript 2020-09-24 09:32:36 +02:00
Martin Guillon
021c0bb9a2 fix(core): delegate should be set on nativeTextViewProtected (#8881)
just like textfields. Fixes components extending this one
2020-09-23 16:37:34 -07:00
Nathanael Anderson
29da0fb5f7 chore: comment for why nativeTextViewProtected (#8886)
Explains for future generations why this getter exists.  😀
2020-09-23 16:01:24 -07:00