Commit Graph

6311 Commits

Author SHA1 Message Date
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
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
Martin Guillon
cf96e7252c feat(frame): add navigatingTo and navigatedTo events (#9025) 2020-11-12 20:51:03 -08:00
Nathanael Anderson
cb61c2aa7e chore: parser issues from PR#9001, PR#9017, PR#9028 (#9030) 2020-11-12 19:42:23 -08:00
Martin Guillon
6902770d90 fix: rollback regexp eslint changes (#9028)
* fix: rollback regexp eslint changes

* fix: rollback animation lint which would break promise context

* fix: more rollbacks
2020-11-12 15:55:22 -06:00
Martin Guillon
57325f7860 Merge branch 'eslint_rollback' of github.com:Akylas/NativeScript 2020-11-12 21:24:10 +01:00
Martin Guillon
1a849f9302 fix: Prior PR (#8904) has bad path for trace modules
* Fix trace path issue

* another path fix
2020-11-12 14:23:03 -06:00
Martin Guillon
22e686d098 fix: more rollbacks 2020-11-12 21:19:32 +01:00
Martin Guillon
b85d0e5ee3 fix: rollback animation lint which would break promise context 2020-11-12 21:03:33 +01:00
Martin Guillon
ca56a30d56 fix: rollback regexp eslint changes 2020-11-12 20:21:39 +01:00
Martin Guillon
e0b90396bc Merge branch 'frame_nav_events' of github.com:Akylas/NativeScript
# Conflicts:
#	apps/automated/src/test-runner.ts
#	packages/core/css/parser.ts
#	packages/core/global-types.d.ts
#	packages/core/ui/bottom-navigation/index.android.ts
#	packages/core/ui/styling/style-scope.ts
#	packages/core/ui/tabs/index.android.ts
#	packages/core/ui/tabs/index.ios.ts
2020-11-12 10:02:51 +01:00
Martin Guillon
6851c5c40e lint fix 2020-11-12 10:00:40 +01:00
Martin Guillon
4449d7628d add frame navigation events
very practical when you want to know the state of the navigation at  higher level.
Like a drawer menu
2020-11-12 09:58:25 +01:00
Eduardo Speroni
64e0aa6a11 fix(list-view): handle reusing wrong view (#9023) 2020-11-11 19:55:17 -08:00
Eduardo Speroni
e3dc89fbfc feat(core): queueMacroTask (#8904) 2020-11-11 19:52:29 -08:00
Martin Guillon
c1f231d88e chore: fix eslint issues (#9017) 2020-11-11 08:46:36 -08:00