Commit Graph

6325 Commits

Author SHA1 Message Date
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
Martin Guillon
ee544d7885 fix: ensure it works when no viewControllerView 2020-12-07 16:35:49 +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
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
Martin Guillon
aa9c5d1584 typo fix 2020-11-28 13:33:31 +01:00
Martin Guillon
44ee97b29d feat: color methods
Should fill most needs and remove the need for external libs like tinycolor
2020-11-25 15:52:26 +01:00
Martin Guillon
aa2ba2c374 feat: color methods
Should fill most needs and remove the need for external libs like tinycolor
2020-11-24 14:47:07 +01:00
Martin Guillon
ae18e83072 rollback. Was not the correct fix need to think about this 2020-11-24 13:46:44 +01:00
Martin Guillon
8aa2ef867c fix: default view to clickable so touches dont get “passed through” 2020-11-23 11:14:41 +01:00
Martin Guillon
c92a88fce7 Merge branch 'dialog_softinputmode' of github.com:Akylas/NativeScript 2020-11-23 11:13:25 +01:00
Martin Guillon
4a86f95815 Merge branch 'observable_notify_args' of github.com:Akylas/NativeScript
# Conflicts:
#	packages/core/data/observable/index.ts
2020-11-23 11:13:03 +01:00
Eduardo Speroni
bd7c686aaf feat(core): allow app to start without a root view (#9056) 2020-11-19 17:02:32 -08:00
Eduardo Speroni
1769de9033 feat(android): setInterval closer to web spec (#9044) 2020-11-19 13:07:51 -08:00
Martin Guillon
99a11e832c fix softInputMode set too soon 2020-11-16 09:44:58 +01:00
Martin Guillon
7d75c6f42c fix android modal not following activity windowSoftInputMode
Also added an android modal parameter to set a custom windowSoftInputMode
2020-11-16 09:28:43 +01:00
Martin Guillon
539fd1eb29 fix(core): notify object now optional (#9032) 2020-11-15 21:57:58 -08:00
Martin Guillon
2328a9035d Merge branch 'master' of github.com:NativeScript/NativeScript
# Conflicts:
#	packages/core/css/parser.ts
2020-11-13 14:25:36 +01:00
Igor Randjelovic
023be8cbf1 ci: rename workflow 2020-11-13 12:03:03 +01:00
Igor Randjelovic
a32c99b124 ci: use new env syntax
see https://docs.github.com/en/free-pro-team@latest/actions/reference/workflow-commands-for-github-actions#environment-files
2020-11-13 11:55:18 +01:00
Igor Randjelovic
548d0f78ad ci: tweak version number 2020-11-13 11:22:30 +01:00
Martin Guillon
40333670b4 fix: make object optional in notify
if not set it will be set to this.
2020-11-13 10:44:24 +01:00
Igor Randjelovic
3cb35a5080 ci: enable on master
(still in --dry-run for testing)
2020-11-13 10:35:03 +01:00