Commit Graph

6792 Commits

Author SHA1 Message Date
Martin Guillon
2c59024507 fix: missing mix color typings 2020-12-24 16:41:59 +01:00
Martin Guillon
b6b36cf943 fix: missing mix color typings 2020-12-24 16:41:48 +01:00
Martin Guillon
3728e68515 chore: mix fonction fix 2020-12-24 16:34:29 +01:00
Martin Guillon
619a3f014f fix: added Color.mix
Fixed hsl and hsv methods
2020-12-24 16:32:12 +01:00
Martin Guillon
dc740e33d7 Merge branch 'color_update' of github.com:Akylas/NativeScript into color_changes_2 2020-12-24 16:31:56 +01:00
Martin Guillon
5a6158768d fix: fix regression after colors simplifications 2020-12-24 16:30:16 +01:00
Martin Guillon
4ef99ab64f fix: improve Color performances.
* no need to constantly test for SHARP
* drop the regexp test. Testing for first char SHARP is enough as it will still throw an error if the color is not valid
* faster hex method thus also toString method
2020-12-24 16:30:08 +01:00
Martin Guillon
75ceedf1ab fix: added Color.mix
Fixed hsl and hsv methods
2020-12-24 16:29:17 +01:00
Martin Guillon
68f3e728a6 chore: tweaks & fixes (#9109)
* fix: correct bundle analyzer settings

* fix: svelte config fix

* fix: CopyWebpackPlugin fixed ignore

* chore: tabs fix
2020-12-23 20:04:22 +01:00
Martin Guillon
644d121ccf chore: ignore 2020-12-22 13:37:09 +01:00
Martin Guillon
2c89449b95 Merge branch 'master' of github.com:NativeScript/NativeScript 2020-12-22 09:31:24 +01:00
Martin Guillon
098361a31a cleanup 2020-12-22 09:30:45 +01:00
Martin Guillon
ca6d82f54c chore: lint 2020-12-22 09:30:28 +01:00
Igor Randjelovic
51b383fe85 ci: move npmrc to root 2020-12-19 20:14:41 +01:00
Igor Randjelovic
0d9350dc80 ci: check if npmrc is correct 2020-12-19 19:35:41 +01:00
Nathan Walker
61727929cc ci: enable next tag for master 2020-12-19 10:13:23 -08:00
Martin Guillon
ed0d3d5b62 chore: cleanup 2020-12-18 09:39:13 +01:00
Martin Guillon
c5f8c22eb5 missing getter 2020-12-18 09:39:04 +01:00
Martin Guillon
3accdb3f06 fix: prevent circular reference && Cannot access … before initialization 2020-12-18 09:25:30 +01:00
Martin Guillon
96099892ba fix: fix regression after colors simplifications 2020-12-17 16:40:30 +01:00
Martin Guillon
ab46c4a6da chore: a bit more profiling 2020-12-17 15:11:34 +01:00
Martin Guillon
ce84a200b0 fix(android): refactor to make less calls to native 2020-12-17 15:11:22 +01:00
Martin Guillon
427001a5a4 fix: improve Color performances.
* no need to constantly test for SHARP
* drop the regexp test. Testing for first char SHARP is enough as it will still throw an error if the color is not valid
* faster hex method thus also toString method
2020-12-17 15:06:00 +01:00
Igor Randjelovic
05d776bea8 chore: fix broken links in PR template 2020-12-16 10:19:16 +01:00
Martin Guillon
96fac04dd9 fix(android): when possible only call setBackgroundColor 2020-12-15 11:43:00 +01:00
Martin Guillon
1894944b41 fix(android): dont create a borderDrawable if not necessary.
That action is slow and should be prevented as much as possible
2020-12-15 11:37:29 +01:00
Igor Randjelovic
de5f67f7c8 chore: add JSDocs 2020-12-08 12:07:42 +01:00
Martin Guillon
ee544d7885 fix: ensure it works when no viewControllerView 2020-12-07 16:35:49 +01:00
Igor Randjelovic
d21776079f chore: cleanup 2020-12-07 15:01:17 +01:00
Igor Randjelovic
2f39cf5ed6 feat: extract platforms 2020-12-07 13:41:22 +01:00
Martin Guillon
1582f6c035 fix: first pass at improving requestLayout
It is totally unecessary to call multiple requestLayout inside initNativeView (properties set)
Even worse we dont need to do any requestLayout from “onLoaded” as the parent will layout itself/children
2020-12-07 13:29:41 +01:00
Martin Guillon
1c85549ed3 fix: no need for batchUdated if no selector 2020-12-07 13:28:24 +01:00
Martin Guillon
6f9d0527c0 feat: ios added ignoreSafeArea property 2020-12-07 13:28:09 +01:00
Martin Guillon
f4db1f4858 Merge branch 'faster_style_scope' of github.com:Akylas/NativeScript
# Conflicts:
#	packages/core/ui/styling/style-scope.ts
2020-12-06 14:45:47 +01:00
Martin Guillon
407d57ff62 fix: fix tsc errors 2020-12-06 14:44:30 +01:00
Martin Guillon
d3d780ee45 make _appliedPropertyValues private 2020-12-03 21:12:12 +01:00
Martin Guillon
2baccd42b5 unecessary 2020-12-03 16:28:16 +01:00
Martin Guillon
ca1c9f2519 fix: ensure we dont get udplicates in oldProperties and newPropertyValues 2020-12-03 16:28:12 +01:00
Martin Guillon
675f87529a chore: typo fix 2020-12-03 16:27:47 +01:00
Martin Guillon
4f3c84af91 unecessary 2020-12-03 16:27:37 +01:00
Martin Guillon
512c552b5b fix: ensure we dont get udplicates in oldProperties and newPropertyValues 2020-12-03 12:30:30 +01:00
Igor Randjelovic
7df2f09cfc feat: add postcss-loader by default 2020-12-03 10:45:30 +01:00
Martin Guillon
f6bc1df555 faster style-scope setPropertyValues
No need for so many for loops
2020-12-02 17:01:00 +01:00
Martin Guillon
061df698ed Merge branch 'color_update' of github.com:Akylas/NativeScript
# Conflicts:
#	packages/core/color/color-common.ts
#	packages/core/data/observable/index.ts
2020-12-02 16:59:10 +01:00
Martin Guillon
9a8e7c45ab faster style-scope setPropertyValues
No need for so many for loops
2020-12-02 16:57:25 +01:00
Igor Randjelovic
fa70654bfc feat: addCopyRule removeCopyRule helpers 2020-12-01 20:23:56 +01:00
Igor Randjelovic
5dad44a8e3 chore: cleanup 2020-12-01 19:51:07 +01:00
Igor Randjelovic
016ecd19a8 chore: organize test files 2020-12-01 19:25:29 +01:00
Igor Randjelovic
65b214b845 feat: platform suffix resolution [wip] 2020-11-30 19:02:30 +01:00
Igor Randjelovic
ca78bc5ae8 feat: add entryDir helper + update aliases 2020-11-29 17:44:36 +01:00