Commit Graph

6869 Commits

Author SHA1 Message Date
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
a55bcd8561 fix(android): fragment onPause (#8919) 2020-09-30 07:38:20 -07: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
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
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
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
Nathan Walker
13be3d60d7 chore(release): @nativescript/core@7.0.5 7.0.5-core 2020-09-23 14:54:01 -07:00
Martin Guillon
1f790edc80 fix(core): bundle entry points and global handling (#8884) 2020-09-23 14:48:19 -07:00
Nathan Walker
9ec1939233 chore(release): @nativescript/core@7.0.4, @nativescript/types@7.0.4, @nativescript/types-android@7.0.4, @nativescript/types-ios@7.0.4 7.0.4-core 2020-09-23 11:49:53 -07:00
asharghi
45fb6c481b fix(ios): time-picker and date-picker for iOS 14 (#8877) 2020-09-23 08:00:34 -07:00
felixkrautschuk
313f47637e fix(ios): text-view color refreshes properly after setting the text to keep the styles (#8863)
closes https://github.com/NativeScript/NativeScript/issues/8764
2020-09-20 09:42:16 -07:00
Lochlan
5f8d3d03f7 fix(android-transitions): remove hard-coded flip transition duration/curve (#8851) 2020-09-16 08:22:12 +02:00
Nathanael Anderson
eb676fdedf feat(core): global event handling (#8830) 2020-09-15 10:43:40 -07:00
Igor Randjelovic
b3e9339fc3 chore(release): @nativescript/core@7.0.3, @nativescript/types@7.0.3, @nativescript/types-android@7.0.3, @nativescript/types-ios@7.0.3 7.0.3-types-android 7.0.3-types-ios 7.0.3-types 7.0.3-core 2020-09-12 18:48:45 +02:00
Igor Randjelovic
d69e568a4b fix: add missing configuration keys and move profiling out of android key (#8847) 2020-09-12 18:33:47 +02:00
Martin Guillon
f73dfb4e55 types: add setAnimationEnabled to TabViewPager (#8846) 2020-09-12 18:31:13 +02:00
Nathan Walker
86395da5f7 chore(release): @nativescript/core 7.0.2, @nativescript/webpack 3.0.4 (#8842) 2020-09-10 08:41:19 -07:00
Martin Guillon
bd00e1fa87 fix(core): bundle-config-loader global handling (#8838) 2020-09-10 08:41:19 -07:00
tarunama
8b4ba73741 chore: cleanup navigation-helper.ts (#8834) 2020-09-10 08:41:19 -07:00
Ken Southerland
81fd0a177d fix(webpack): verify now works properly 2020-09-10 08:41:19 -07:00
tarunama
fda4c48851 chore: add repository 2020-09-10 08:41:19 -07:00
Martin Guillon
08b3cafb54 fix(core): autoSystemAppearanceChanged typings in ambient context fix
closes https://github.com/NativeScript/NativeScript/issues/8840
2020-09-10 08:41:04 -07:00
Nathan Walker
0e3af4d9b3 chore(release): @nativescript/core 7.0.1 (#8836) core-7.0.1 2020-09-09 11:50:11 -07:00
Nathan Walker
a2e1aa246e feat(core): export additional properties for plugin usage (#8835) 2020-09-09 09:15:57 -07:00
Igor Randjelovic
c7623839f9 chore(release): @nativescript/webpack v3.0.3 webpack-3.0.3 2020-09-09 11:25:21 +02:00
Martin Guillon
5286adf081 feat(core): boolean to disable systemAppearanceChanged (theme) (#8827) 2020-09-08 23:16:42 -07:00
Nathan Walker
354b935c6a fix(webpack): react config (#8822) 2020-09-07 08:34:25 -07:00
Igor Randjelovic
d51abef6bf fix: invalid cli tag version (#8821) 2020-09-06 08:12:30 -07:00
Igor Randjelovic
c1a2d543b8 fix(webpack): apply-css-loader not applying css (#8811)
* fix(webpack): apply-css-loader not applying css

* chore: bump webpack version to rc

* fix: import style scope
2020-09-06 14:37:13 +02:00
Nathan Walker
6a8a0d5565 chore(release): webpack 3.0.1 2020-09-03 14:56:45 -07:00
Peter Staev
e4a2930c6a fix(webpack): Change NativeClass properties to enumerable (#8813) 2020-09-03 14:36:55 -07:00
Nathan Walker
f826befb9d chore(release): 7.0.0 7.0.0 2020-09-02 17:28:52 -07:00
Nathan Walker
54cce4f20c feat(core): nativescript.config and webpack updates (#8801) 2020-09-01 15:53:37 -07:00
Nathanael Anderson
757a2ffdf7 Update Config file 2020-08-30 12:36:04 -05:00
Igor Randjelovic
4abfc8a370 feat: add enableMultithreadedJavascript flag to config definition 2020-08-29 20:29:02 +02:00
Nathan Walker
967d652c61 fix(ios): stop using artificial state handler via animated setter on uiviewcontroller (#8797) 2020-08-28 00:05:47 -07:00
Nathan Walker
33a703e129 feat(webpack): using new nativescript.config (#8796) 2020-08-27 19:43:42 -07:00
Igor Randjelovic
fa9f0957b8 fix(webpack): don't require ts transformer unless processing ts file 2020-08-27 23:33:16 +02:00
Igor Randjelovic
d443d85ace chore: clean up README.md 2020-08-27 14:33:05 +02:00
Priyanshu Agarwal
b29c479e3a docs: updated README.md (#8794)
* Added hyperlinks in @nativescript/* in README

* Added License
2020-08-27 14:29:58 +02:00