[many ports] Update existing KF5 frameworks to 5.75

kf5crash

make x11 patch exclusive to linux
enable win/macOS builds

kf5syntaxhighlighting

fix building on non-Win by removing the cli tool from all platforms

Describe the pull request

Which triplets are supported/not supported? Have you updated the CI baseline?
No change in triplets supported.

Does your PR follow the maintainer guide?
Yes

My apologies, I pushed a new kf5auth port by mistake.

@NancyLi1013 FYI, I reverted the new kf5auth I accidentally added

There are also another new port  kf5globalaccel in this PR. Is this intended or by mistake?

LGTM now. Thanks for your PR.

@ras0219 @NancyLi1013 similarly to what I reported under PR #13469, I see that all the modified ports are also in CASCADE status, which to my understanding implies they were skipped due to missing (or failing) dependency. Are the test results therefore a false positive, or am I missing something here?

Your understanding is right. The build results are related with those dependencies.

@NancyLi1013 so I just run those builds locally on my Windows VM after learning they aren't actually being tested by the CI and I already had some failures. I don't believe I can consciously push this PR into the master unless we can actually properly test all the supported triplets – I don't have the means to do so locally.
@ras0219-msft I see that the ecm was excluded as part of this change of yours. May we know wat was wrong with ecm? The pull request doesn't mention anything specific about it.

kf5itemmodels failed on x86-windows due to this:
The following dlls were found in /lib or /debug/lib. Please move them to /bin or /debug/bin, respectively.

    D:/packages/kf5itemmodels_x86-windows/lib/qml/org/kde/kitemmodels/itemmodelsplugin.dll

The following dlls were found in /lib or /debug/lib. Please move them to /bin or /debug/bin, respectively.

    D:/packages/kf5itemmodels_x86-windows/debug/lib/qml/org/kde/kitemmodels/itemmodelsplugin.dll

Found 2 error(s). Please correct the portfile:
    C:\a\1\s\ports\kf5itemmodels\portfile.cmake

kf5syntaxhighlighting failed on x86-windows due to this:
The following EXEs were found in /bin or /debug/bin. EXEs are not valid distribution targets.

    D:/packages/kf5syntaxhighlighting_x86-windows/bin/kate-syntax-highlighter.exe

The following EXEs were found in /bin or /debug/bin. EXEs are not valid distribution targets.

    D:/packages/kf5syntaxhighlighting_x86-windows/debug/bin/kate-syntax-highlighter.exe

Found 2 error(s). Please correct the portfile:
    C:\a\1\s\ports\kf5syntaxhighlighting\portfile.cmake

kf5itemmodels failed on x86-windows due to this:
Should be fixed by the @hellozee's  change I cherry-picked from the #13469

kf5syntaxhighlighting failed on x86-windows due to this:
Fixed by d0b2579

I can see that macOS build is already failing, expectedly so, since macOS is missing gettext binaries. This is due to #13518  and requires #13532 or #8692 to be merged to work.

@NancyLi1013 this is ready to merge now.

Thanks for your update @wrobelda.
Could you please address the latest failure on x64-linux?
For kf5syntaxhighlighting
/mnt/vcpkg-ci/installed/x64-linux/debug/lib//libbrotlidec-static.a(decode.c.o): In function `ReadBlockLength':
/mnt/vcpkg-ci/buildtrees/brotli/src/6c62fc2c71-a8c4ea9278.clean/c/dec/decode.c:878: undefined reference to `_kBrotliPrefixCodeRanges'
/mnt/vcpkg-ci/buildtrees/brotli/src/6c62fc2c71-a8c4ea9278.clean/c/dec/decode.c:879: undefined reference to `_kBrotliPrefixCodeRanges'
/mnt/vcpkg-ci/installed/x64-linux/debug/lib//libbrotlidec-static.a(decode.c.o): In function `SafeReadBlockLength':
/mnt/vcpkg-ci/buildtrees/brotli/src/6c62fc2c71-a8c4ea9278.clean/c/dec/decode.c:897: undefined reference to `_kBrotliPrefixCodeRanges'
/mnt/vcpkg-ci/buildtrees/brotli/src/6c62fc2c71-a8c4ea9278.clean/c/dec/decode.c:898: undefined reference to `_kBrotliPrefixCodeRanges'
/mnt/vcpkg-ci/installed/x64-linux/debug/lib//libbrotlidec-static.a(decode.c.o): In function `PrepareLiteralDecoding':
/mnt/vcpkg-ci/buildtrees/brotli/src/6c62fc2c71-a8c4ea9278.clean/c/dec/decode.c:1192: undefined reference to `_kBrotliContextLookupTable'
/mnt/vcpkg-ci/installed/x64-linux/debug/lib//libbrotlidec-static.a(decode.c.o): In function `ReadBlockLength':
/mnt/vcpkg-ci/buildtrees/brotli/src/6c62fc2c71-a8c4ea9278.clean/c/dec/decode.c:878: undefined reference to `_kBrotliPrefixCodeRanges'
/mnt/vcpkg-ci/buildtrees/brotli/src/6c62fc2c71-a8c4ea9278.clean/c/dec/decode.c:879: undefined reference to `_kBrotliPrefixCodeRanges'
/mnt/vcpkg-ci/installed/x64-linux/debug/lib//libbrotlidec-static.a(decode.c.o): In function `SafeReadBlockLength':
/mnt/vcpkg-ci/buildtrees/brotli/src/6c62fc2c71-a8c4ea9278.clean/c/dec/decode.c:897: undefined reference to `_kBrotliPrefixCodeRanges'
/mnt/vcpkg-ci/buildtrees/brotli/src/6c62fc2c71-a8c4ea9278.clean/c/dec/decode.c:898: undefined reference to `_kBrotliPrefixCodeRanges'
/mnt/vcpkg-ci/installed/x64-linux/debug/lib//libbrotlidec-static.a(decode.c.o): In function `PrepareLiteralDecoding':
/mnt/vcpkg-ci/buildtrees/brotli/src/6c62fc2c71-a8c4ea9278.clean/c/dec/decode.c:1192: undefined reference to `_kBrotliContextLookupTable'
/mnt/vcpkg-ci/installed/x64-linux/debug/lib//libbrotlidec-static.a(decode.c.o): In function `ReadBlockLength':
/mnt/vcpkg-ci/buildtrees/brotli/src/6c62fc2c71-a8c4ea9278.clean/c/dec/decode.c:878: undefined reference to `_kBrotliPrefixCodeRanges'
/mnt/vcpkg-ci/buildtrees/brotli/src/6c62fc2c71-a8c4ea9278.clean/c/dec/decode.c:879: undefined reference to `_kBrotliPrefixCodeRanges'
/mnt/vcpkg-ci/installed/x64-linux/debug/lib//libbrotlidec-static.a(decode.c.o): In function `SafeReadBlockLength':
/mnt/vcpkg-ci/buildtrees/brotli/src/6c62fc2c71-a8c4ea9278.clean/c/dec/decode.c:897: undefined reference to `_kBrotliPrefixCodeRanges'
/mnt/vcpkg-ci/buildtrees/brotli/src/6c62fc2c71-a8c4ea9278.clean/c/dec/decode.c:898: undefined reference to `_kBrotliPrefixCodeRanges'
/mnt/vcpkg-ci/installed/x64-linux/debug/lib//libbrotlidec-static.a(decode.c.o): In function `ReadBlockLength':
/mnt/vcpkg-ci/buildtrees/brotli/src/6c62fc2c71-a8c4ea9278.clean/c/dec/decode.c:878: undefined reference to `_kBrotliPrefixCodeRanges'
/mnt/vcpkg-ci/installed/x64-linux/debug/lib//libbrotlidec-static.a(decode.c.o):/mnt/vcpkg-ci/buildtrees/brotli/src/6c62fc2c71-a8c4ea9278.clean/c/dec/decode.c:879: more undefined references to `_kBrotliPrefixCodeRanges' follow
/mnt/vcpkg-ci/installed/x64-linux/debug/lib//libbrotlidec-static.a(decode.c.o): In function `ProcessCommandsInternal':
/mnt/vcpkg-ci/buildtrees/brotli/src/6c62fc2c71-a8c4ea9278.clean/c/dec/decode.c:1931: undefined reference to `BrotliTransformDictionaryWord'
/mnt/vcpkg-ci/buildtrees/brotli/src/6c62fc2c71-a8c4ea9278.clean/c/dec/decode.c:1931: undefined reference to `BrotliTransformDictionaryWord'

For kf5windowsystem
Installing in /mnt/vcpkg-ci/packages/kf5windowsystem_x64-linux/debug. Run /mnt/vcpkg-ci/buildtrees/kf5windowsystem/x64-linux-dbg/prefix.sh to set the environment for KWindowSystem.
CMake Error at /mnt/vcpkg-ci/downloads/tools/cmake-3.18.4-linux/cmake-3.18.4-Linux-x86_64/share/cmake-3.18/Modules/FindPackageHandleStandardArgs.cmake:165 (message):
  Could NOT find XCB (missing: RES) (found version "1.13")
Call Stack (most recent call first):
  /mnt/vcpkg-ci/downloads/tools/cmake-3.18.4-linux/cmake-3.18.4-Linux-x86_64/share/cmake-3.18/Modules/FindPackageHandleStandardArgs.cmake:458 (_FPHSA_FAILURE_MESSAGE)
  /mnt/vcpkg-ci/installed/x64-linux/share/ECM/find-modules/FindXCB.cmake:166 (find_package_handle_standard_args)
  /agent/_work/1/s/scripts/buildsystems/vcpkg.cmake:555 (_find_package)
  CMakeLists.txt:68 (find_package)

For kf5syntaxhighlighting
/mnt/vcpkg-ci/installed/x64-linux/debug/lib//libbrotlidec-static.a(decode.c.o): In function `ReadBlockLength':
/mnt/vcpkg-ci/buildtrees/brotli/src/6c62fc2c71-a8c4ea9278.clean/c/dec/decode.c:878: undefined reference to > ```

@NancyLi1013 I can't reproduce this locally. Looks to me that this is potentially caused by a faulty brotli binary archive?

For kf5windowsystem

Fixed, but it requires libxcb-res0-dev to be added to your image: https://github.com/microsoft/vcpkg/pull/13467/commits/ce87917ce2a0da28c146c26fc1de5430923d86c3#diff-e297fefc9e4af531208557e0f979ee877017c49c901bb418ac4672f50c074319

@NancyLi1013 waiting for your feedback here.

@wrobelda
Sorry for the delay. I will try to build kf5syntaxhighlighting and kf5windowsystem on my local. I will update the status here once finish the test.

I'm sorry that I was blocked by qt5-base on my local machine. I cannot get the test results for kf5syntaxhighlighting  now.
I checked the error info from CI tests and found this:
FAILED: bin/kate-syntax-highlighter
: && /usr/bin/c++ -fPIC -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -fdiagnostics-color=always -pedantic -Wzero-as-null-pointer-constant -g -Wl,--enable-new-dtags     -pthread src/cli/CMakeFiles/kate-syntax-highlighter.dir/kate-syntax-highlighter_autogen/mocs_compilation.cpp.o src/cli/CMakeFiles/kate-syntax-highlighter.dir/kate-syntax-highlighter.cpp.o src/cli/CMakeFiles/kate-syntax-highlighter.dir/mnt/vcpkg-ci/installed/x64-linux/share/cmake/Qt5Gui/Qt5Gui_QEglFSEmulatorIntegrationPlugin_Import.cpp.o src/cli/CMakeFiles/kate-syntax-highlighter.dir/mnt/vcpkg-ci/installed/x64-linux/share/cmake/Qt5Gui/Qt5Gui_QEglFSKmsEglDeviceIntegrationPlugin_Import.cpp.o src/cli/CMakeFiles/kate-syntax-highlighter.dir/mnt/vcpkg-ci/installed/x64-linux/share/cmake/Qt5Gui/Qt5Gui_QEglFSX11IntegrationPlugin_Import.cpp.o src/cli/CMakeFiles/kate-syntax-highlighter.dir/mnt/vcpkg-ci/installed/x64-linux/share/cmake/Qt5Gui/Qt5Gui_QGifPlugin_Import.cpp.o src/cli/CMakeFiles/kate-syntax-highlighter.dir/mnt/vcpkg-ci/installed/x64-linux/share/cmake/Qt5Gui/Qt5Gui_QICNSPlugin_Import.cpp.o src/cli/CMakeFiles/kate-syntax-highlighter.dir/mnt/vcpkg-ci/installed/x64-linux/share/cmake/Qt5Gui/Qt5Gui_QICOPlugin_Import.cpp.o src/cli/CMakeFiles/kate-syntax-highlighter.dir/mnt/vcpkg-ci/installed/x64-linux/share/cmake/Qt5Gui/Qt5Gui_QJp2Plugin_Import.cpp.o src/cli/CMakeFiles/kate-syntax-highlighter.dir/mnt/vcpkg-ci/installed/x64-linux/share/cmake/Qt5Gui/Qt5Gui_QJpegPlugin_Import.cpp.o src/cli/CMakeFiles/kate-syntax-highlighter.dir/mnt/vcpkg-ci/installed/x64-linux/share/cmake/Qt5Gui/Qt5Gui_QTgaPlugin_Import.cpp.o src/cli/CMakeFiles/kate-syntax-highlighter.dir/mnt/vcpkg-ci/installed/x64-linux/share/cmake/Qt5Gui/Qt5Gui_QTiffPlugin_Import.cpp.o src/cli/CMakeFiles/kate-syntax-highlighter.dir/mnt/vcpkg-ci/installed/x64-linux/share/cmake/Qt5Gui/Qt5Gui_QWbmpPlugin_Import.cpp.o src/cli/CMakeFiles/kate-syntax-highlighter.dir/mnt/vcpkg-ci/installed/x64-linux/share/cmake/Qt5Gui/Qt5Gui_QWebpPlugin_Import.cpp.o src/cli/CMakeFiles/kate-syntax-highlighter.dir/mnt/vcpkg-ci/installed/x64-linux/share/cmake/Qt5Gui/Qt5Gui_QXcbEglIntegrationPlugin_Import.cpp.o src/cli/CMakeFiles/kate-syntax-highlighter.dir/mnt/vcpkg-ci/installed/x64-linux/share/cmake/Qt5Gui/Qt5Gui_QXcbGlxIntegrationPlugin_Import.cpp.o src/cli/CMakeFiles/kate-syntax-highlighter.dir/mnt/vcpkg-ci/installed/x64-linux/share/cmake/Qt5Gui/Qt5Gui_QXcbIntegrationPlugin_Import.cpp.o -o bin/kate-syntax-highlighter  -Wl,-rpath,/mnt/vcpkg-ci/installed/x64-linux/debug/lib:/usr/lib/x86_64-linux-gnu/mit-krb5:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::  lib/libKF5SyntaxHighlighting.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt5Gui.a  /mnt/vcpkg-ci/installed/x64-linux/debug/plugins/egldeviceintegrations/libqeglfs-emu-integration.a  /mnt/vcpkg-ci/installed/x64-linux/debug/plugins/egldeviceintegrations/libqeglfs-kms-egldevice-integration.a  /mnt/vcpkg-ci/installed/x64-linux/debug/plugins/egldeviceintegrations/libqeglfs-x11-integration.a  /mnt/vcpkg-ci/installed/x64-linux/debug/plugins/imageformats/libqgif.a  /mnt/vcpkg-ci/installed/x64-linux/debug/plugins/imageformats/libqicns.a  /mnt/vcpkg-ci/installed/x64-linux/debug/plugins/imageformats/libqico.a  /mnt/vcpkg-ci/installed/x64-linux/debug/plugins/imageformats/libqjp2.a  /mnt/vcpkg-ci/installed/x64-linux/debug/plugins/imageformats/libqjpeg.a  /mnt/vcpkg-ci/installed/x64-linux/debug/plugins/imageformats/libqtga.a  /mnt/vcpkg-ci/installed/x64-linux/debug/plugins/imageformats/libqtiff.a  /mnt/vcpkg-ci/installed/x64-linux/debug/plugins/imageformats/libqwbmp.a  /mnt/vcpkg-ci/installed/x64-linux/debug/plugins/imageformats/libqwebp.a  /mnt/vcpkg-ci/installed/x64-linux/debug/plugins/xcbglintegrations/libqxcb-egl-integration.a  /mnt/vcpkg-ci/installed/x64-linux/debug/plugins/xcbglintegrations/libqxcb-glx-integration.a  /mnt/vcpkg-ci/installed/x64-linux/debug/plugins/platforms/libqxcb.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt5EglFSDeviceIntegration.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt5KmsSupport.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt5EglFsKmsSupport.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt5XcbQpa.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt5EglSupport.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt5GlxSupport.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt5EventDispatcherSupport.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt5ServiceSupport.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt5ThemeSupport.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt5FontDatabaseSupport.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt5FbSupport.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt5InputSupport.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt5PlatformCompositorSupport.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt5XkbCommonSupport.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt5Gui.a  /mnt/vcpkg-ci/installed/x64-linux/debug/plugins/egldeviceintegrations/libqeglfs-emu-integration.a  /mnt/vcpkg-ci/installed/x64-linux/debug/plugins/egldeviceintegrations/libqeglfs-kms-egldevice-integration.a  /mnt/vcpkg-ci/installed/x64-linux/debug/plugins/egldeviceintegrations/libqeglfs-x11-integration.a  /mnt/vcpkg-ci/installed/x64-linux/debug/plugins/imageformats/libqgif.a  /mnt/vcpkg-ci/installed/x64-linux/debug/plugins/imageformats/libqicns.a  /mnt/vcpkg-ci/installed/x64-linux/debug/plugins/imageformats/libqico.a  /mnt/vcpkg-ci/installed/x64-linux/debug/plugins/imageformats/libqjp2.a  /mnt/vcpkg-ci/installed/x64-linux/debug/plugins/imageformats/libqjpeg.a  /mnt/vcpkg-ci/installed/x64-linux/debug/plugins/imageformats/libqtga.a  /mnt/vcpkg-ci/installed/x64-linux/debug/plugins/imageformats/libqtiff.a  /mnt/vcpkg-ci/installed/x64-linux/debug/plugins/imageformats/libqwbmp.a  /mnt/vcpkg-ci/installed/x64-linux/debug/plugins/imageformats/libqwebp.a  /mnt/vcpkg-ci/installed/x64-linux/debug/plugins/xcbglintegrations/libqxcb-egl-integration.a  /mnt/vcpkg-ci/installed/x64-linux/debug/plugins/xcbglintegrations/libqxcb-glx-integration.a  /mnt/vcpkg-ci/installed/x64-linux/debug/plugins/platforms/libqxcb.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt5EglFSDeviceIntegration.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt5KmsSupport.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt5EglFsKmsSupport.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt5XcbQpa.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt5EglSupport.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt5GlxSupport.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt5EventDispatcherSupport.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt5ServiceSupport.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt5ThemeSupport.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt5FontDatabaseSupport.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt5FbSupport.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt5InputSupport.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt5PlatformCompositorSupport.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt5XkbCommonSupport.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libQt5EglFsKmsSupport.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libjasperd.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libglut.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libtiffd.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//liblzmad.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libjpeg.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libwebpdecoderd.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libwebpdemuxd.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libwebpmuxd.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libwebpd.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libQt5GlxSupport.a  /usr/lib/x86_64-linux-gnu/libxcb-glx.so  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libQt5XcbQpa.a  /mnt/vcpkg-ci/installed/x64-linux/lib/libbrotlicommon-static.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libQt5EglFSDeviceIntegration.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libQt5EventDispatcherSupport.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libQt5FbSupport.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libQt5EglSupport.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libQt5InputSupport.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libQt5PlatformCompositorSupport.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libQt5KmsSupport.a  /usr/lib/x86_64-linux-gnu/libdrm.so  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libQt5ServiceSupport.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libQt5ThemeSupport.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libQt5FontDatabaseSupport.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt5EdidSupport.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libQt5XkbCommonSupport.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libQt5EdidSupport.a  /usr/lib/x86_64-linux-gnu/libX11-xcb.so  /usr/lib/x86_64-linux-gnu/libxcb-icccm.so  /usr/lib/x86_64-linux-gnu/libxcb-image.so  /usr/lib/x86_64-linux-gnu/libxcb-shm.so  /usr/lib/x86_64-linux-gnu/libxcb-keysyms.so  /usr/lib/x86_64-linux-gnu/libxcb-randr.so  /usr/lib/x86_64-linux-gnu/libxcb-render-util.so  /usr/lib/x86_64-linux-gnu/libxcb-render.so  /usr/lib/x86_64-linux-gnu/libxcb-shape.so  /usr/lib/x86_64-linux-gnu/libxcb-sync.so  /usr/lib/x86_64-linux-gnu/libxcb-xfixes.so  /usr/lib/x86_64-linux-gnu/libxcb-xinerama.so  /usr/lib/x86_64-linux-gnu/libxcb-xkb.so  /usr/lib/x86_64-linux-gnu/libxcb-xinput.so  /usr/lib/x86_64-linux-gnu/libxcb.so  /usr/lib/x86_64-linux-gnu/libSM.so  /usr/lib/x86_64-linux-gnu/libICE.so  /usr/lib/x86_64-linux-gnu/libxkbcommon-x11.so  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libEGL.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libGLESv2.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libANGLE.a  /usr/lib/x86_64-linux-gnu/libXext.so  /usr/lib/x86_64-linux-gnu/libX11.so  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libfontconfig.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libexpat.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libQt5DeviceDiscoverySupport.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt5DeviceDiscoverySupport.a  /lib/x86_64-linux-gnu/libudev.so  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libbrotlicommon-static.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libQt5Gui.a  /usr/lib/x86_64-linux-gnu/libGL.so  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libharfbuzz.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libfreetyped.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libbrotlienc-static.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libbrotlidec-static.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libglib-2.0.a  /usr/lib/x86_64-linux-gnu/libxkbcommon.so  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt5Network.a  /mnt/vcpkg-ci/installed/x64-linux/debug/plugins/bearer/libqconnmanbearer.a  /mnt/vcpkg-ci/installed/x64-linux/debug/plugins/bearer/libqgenericbearer.a  /mnt/vcpkg-ci/installed/x64-linux/debug/plugins/bearer/libqnmbearer.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt5Network.a  /mnt/vcpkg-ci/installed/x64-linux/debug/plugins/bearer/libqconnmanbearer.a  /mnt/vcpkg-ci/installed/x64-linux/debug/plugins/bearer/libqgenericbearer.a  /mnt/vcpkg-ci/installed/x64-linux/debug/plugins/bearer/libqnmbearer.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libQt5DBus.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libQt5Network.a  /usr/lib/x86_64-linux-gnu/mit-krb5/libgssapi_krb5.so  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libssl.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libcrypto.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt5DBus.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt5Core.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libQt5Core.a  -lm  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libz.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libdouble-conversion.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libicui18n.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libicutu.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libicuuc.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libicuio.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libicudata.a  /usr/lib/x86_64-linux-gnu/libdl.so  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libpcre2-16.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libbz2d.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libpng16d.a  -lpthread  -Wl,-rpath-link,/mnt/vcpkg-ci/installed/x64-linux/debug/lib && :
/mnt/vcpkg-ci/installed/x64-linux/debug/lib//libbrotlidec-static.a(decode.c.o): In function `ReadBlockLength':
/mnt/vcpkg-ci/buildtrees/brotli/src/6c62fc2c71-a8c4ea9278.clean/c/dec/decode.c:878: undefined reference to `_kBrotliPrefixCodeRanges'
/mnt/vcpkg-ci/buildtrees/brotli/src/6c62fc2c71-a8c4ea9278.clean/c/dec/decode.c:879: undefined reference to `_kBrotliPrefixCodeRanges'
/mnt/vcpkg-ci/installed/x64-linux/debug/lib//libbrotlidec-static.a(decode.c.o): In function `SafeReadBlockLength':
/mnt/vcpkg-ci/buildtrees/brotli/src/6c62fc2c71-a8c4ea9278.clean/c/dec/decode.c:897: undefined reference to `_kBrotliPrefixCodeRanges'
/mnt/vcpkg-ci/buildtrees/brotli/src/6c62fc2c71-a8c4ea9278.clean/c/dec/decode.c:898: undefined reference to `_kBrotliPrefixCodeRanges'
/mnt/vcpkg-ci/installed/x64-linux/debug/lib//libbrotlidec-static.a(decode.c.o): In function `PrepareLiteralDecoding':
/mnt/vcpkg-ci/buildtrees/brotli/src/6c62fc2c71-a8c4ea9278.clean/c/dec/decode.c:1192: undefined reference to `_kBrotliContextLookupTable'
/mnt/vcpkg-ci/installed/x64-linux/debug/lib//libbrotlidec-static.a(decode.c.o): In function `ReadBlockLength':
/mnt/vcpkg-ci/buildtrees/brotli/src/6c62fc2c71-a8c4ea9278.clean/c/dec/decode.c:878: undefined reference to `_kBrotliPrefixCodeRanges'
/mnt/vcpkg-ci/buildtrees/brotli/src/6c62fc2c71-a8c4ea9278.clean/c/dec/decode.c:879: undefined reference to `_kBrotliPrefixCodeRanges'
/mnt/vcpkg-ci/installed/x64-linux/debug/lib//libbrotlidec-static.a(decode.c.o): In function `SafeReadBlockLength':
/mnt/vcpkg-ci/buildtrees/brotli/src/6c62fc2c71-a8c4ea9278.clean/c/dec/decode.c:897: undefined reference to `_kBrotliPrefixCodeRanges'
/mnt/vcpkg-ci/buildtrees/brotli/src/6c62fc2c71-a8c4ea9278.clean/c/dec/decode.c:898: undefined reference to `_kBrotliPrefixCodeRanges'
/mnt/vcpkg-ci/installed/x64-linux/debug/lib//libbrotlidec-static.a(decode.c.o): In function `PrepareLiteralDecoding':
/mnt/vcpkg-ci/buildtrees/brotli/src/6c62fc2c71-a8c4ea9278.clean/c/dec/decode.c:1192: undefined reference to `_kBrotliContextLookupTable'
/mnt/vcpkg-ci/installed/x64-linux/debug/lib//libbrotlidec-static.a(decode.c.o): In function `ReadBlockLength':
/mnt/vcpkg-ci/buildtrees/brotli/src/6c62fc2c71-a8c4ea9278.clean/c/dec/decode.c:878: undefined reference to `_kBrotliPrefixCodeRanges'
/mnt/vcpkg-ci/buildtrees/brotli/src/6c62fc2c71-a8c4ea9278.clean/c/dec/decode.c:879: undefined reference to `_kBrotliPrefixCodeRanges'
/mnt/vcpkg-ci/installed/x64-linux/debug/lib//libbrotlidec-static.a(decode.c.o): In function `SafeReadBlockLength':
/mnt/vcpkg-ci/buildtrees/brotli/src/6c62fc2c71-a8c4ea9278.clean/c/dec/decode.c:897: undefined reference to `_kBrotliPrefixCodeRanges'
/mnt/vcpkg-ci/buildtrees/brotli/src/6c62fc2c71-a8c4ea9278.clean/c/dec/decode.c:898: undefined reference to `_kBrotliPrefixCodeRanges'
/mnt/vcpkg-ci/installed/x64-linux/debug/lib//libbrotlidec-static.a(decode.c.o): In function `ReadBlockLength':
/mnt/vcpkg-ci/buildtrees/brotli/src/6c62fc2c71-a8c4ea9278.clean/c/dec/decode.c:878: undefined reference to `_kBrotliPrefixCodeRanges'
/mnt/vcpkg-ci/installed/x64-linux/debug/lib//libbrotlidec-static.a(decode.c.o):/mnt/vcpkg-ci/buildtrees/brotli/src/6c62fc2c71-a8c4ea9278.clean/c/dec/decode.c:879: more undefined references to `_kBrotliPrefixCodeRanges' follow
/mnt/vcpkg-ci/installed/x64-linux/debug/lib//libbrotlidec-static.a(decode.c.o): In function `ProcessCommandsInternal':
/mnt/vcpkg-ci/buildtrees/brotli/src/6c62fc2c71-a8c4ea9278.clean/c/dec/decode.c:1931: undefined reference to `BrotliTransformDictionaryWord'
/mnt/vcpkg-ci/buildtrees/brotli/src/6c62fc2c71-a8c4ea9278.clean/c/dec/decode.c:1931: undefined reference to `BrotliTransformDictionaryWord'
/mnt/vcpkg-ci/installed/x64-linux/debug/lib//libbrotlidec-static.a(decode.c.o): In function `SafeReadBlockLength':
/mnt/vcpkg-ci/buildtrees/brotli/src/6c62fc2c71-a8c4ea9278.clean/c/dec/decode.c:897: undefined reference to `_kBrotliPrefixCodeRanges'
/mnt/vcpkg-ci/buildtrees/brotli/src/6c62fc2c71-a8c4ea9278.clean/c/dec/decode.c:898: undefined reference to `_kBrotliPrefixCodeRanges'
/mnt/vcpkg-ci/installed/x64-linux/debug/lib//libbrotlidec-static.a(decode.c.o): In function `PrepareLiteralDecoding':
/mnt/vcpkg-ci/buildtrees/brotli/src/6c62fc2c71-a8c4ea9278.clean/c/dec/decode.c:1192: undefined reference to `_kBrotliContextLookupTable'
/mnt/vcpkg-ci/installed/x64-linux/debug/lib//libbrotlidec-static.a(state.c.o): In function `BrotliDecoderStateInit':
/mnt/vcpkg-ci/buildtrees/brotli/src/6c62fc2c71-a8c4ea9278.clean/c/dec/state.c:21: undefined reference to `BrotliDefaultAllocFunc'
/mnt/vcpkg-ci/buildtrees/brotli/src/6c62fc2c71-a8c4ea9278.clean/c/dec/state.c:22: undefined reference to `BrotliDefaultFreeFunc'
/mnt/vcpkg-ci/buildtrees/brotli/src/6c62fc2c71-a8c4ea9278.clean/c/dec/state.c:84: undefined reference to `BrotliGetDictionary'
/mnt/vcpkg-ci/buildtrees/brotli/src/6c62fc2c71-a8c4ea9278.clean/c/dec/state.c:85: undefined reference to `BrotliGetTransforms'
collect2: error: ld returned 1 exit status

Although it was caused by brotli, which is also related with this PR, we need to investigate the root cause and try to fix it. Since kf5syntaxhighlighting requires qt5-base to build and brotli is one of dependencies for qt5-base.
For kf5windowsystem , the same result as kf5syntaxhighlighting from my local.
The failures from CI test:
CMake Error at /mnt/vcpkg-ci/downloads/tools/cmake-3.18.4-linux/cmake-3.18.4-Linux-x86_64/share/cmake-3.18/Modules/FindPackageHandleStandardArgs.cmake:165 (message):
  Could NOT find XCB (missing: RES) (found version "1.13")
Call Stack (most recent call first):

It looks like libxcb-res0-dev does not work. It sill posts the same error as before.
I will try to rerun this PR to retrigger CI.

/azp run

@Neumann-A is this something you could help with? brotli-static is somehow messed up in qt5-base, kf5syntaxhighlighting doesn't even reference brotli explicitly.

@wrobelda: Please figure the following out:
a) how is kf5syntaxhighlighting linking against qt? CMake or pkgconfig? (The later is not yet correctly support)
b) If it is CMake check the *.prl files generated by the qt for linking against brotli. (The *.prl files need to be correct since those are used for the linkage.)
c) it might be an issue of linkage order:
/mnt/vcpkg-ci/installed/x64-linux/debug/lib//libbrotlicommon-static.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libQt5Gui.a  /usr/lib/x86_64-linux-gnu/libGL.so  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libharfbuzz.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libfreetyped.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libbrotlienc-static.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libbrotlidec-static.a
Nevermind it is probably a simple c&p error in qt5-base:
https://github.com/microsoft/vcpkg/blob/5dc53211caedebf4387d590155ed53ee44161f10/ports/qt5-base/portfile.cmake#L182
The last should be BROTLI_COMMON_DEBUG and you probably can safely remove BROTLI_ENC_ from both lines

Seems the issue for kf5syntaxhighlighting caused by qt5-base has been solved now.
Now there is one thing left to be done here. For kf5windowsystem , we need to install libxcb-res0-dev manually to Linux Platform  on CI test machine.

Now there is one thing left to be done here. For kf5windowsystem , we need to install libxcb-res0-dev manually to Linux Platform  on CI test machine.

When you said it didn't work on your local machine, were you testing with 18.04? My local devbox is at 20.04 already and libxcb-res0-dev was enough for me to have it build.

@wrobelda
kf5crash failed on osx with these errors:
Installing in /mnt/vcpkg-ci/packages/kf5crash_x64-linux/debug. Run /mnt/vcpkg-ci/buildtrees/kf5crash/x64-linux-dbg/prefix.sh to set the environment for KCrash.
CMake Warning at /agent/_work/1/s/scripts/buildsystems/vcpkg.cmake:634 (_find_package):
  By not providing "FindX11Extras.cmake" in CMAKE_MODULE_PATH this project
  has asked CMake to find a package configuration file provided by
  "X11Extras", but CMake did not find one.

  Could not find a package configuration file provided by "X11Extras" with
  any of the following names:

    X11ExtrasConfig.cmake
    x11extras-config.cmake

  Add the installation prefix of "X11Extras" to CMAKE_PREFIX_PATH or set
  "X11Extras_DIR" to a directory containing one of the above files.  If
  "X11Extras" provides a separate development package or SDK, be sure it has
  been installed.
Call Stack (most recent call first):
  CMakeLists.txt:22 (find_package)

@wrobelda
Could you please resolve the conflicts?

@NancyLi1013 Fixed the kf5crash issue (and pushed the fix upstream, too). The linux builds fail due to missing libxcb-res0-dev – would appreciate if you could install it by hand and test, like you did before.
I can't reproduce kf5syntaxhighlighting failing on Windows. Can you please check what's the error there?

Hi @wrobelda
libxcb-res0-dev has been added to Linux pipeline.
# Additionally required by kf5windowsystem
APT_PACKAGES="$APT_PACKAGES libxcb-res0-dev"

https://github.com/microsoft/vcpkg/blob/master/scripts/azure-pipelines/linux/provision-image.sh#L31
The failure on x64-linux for kf5i18n :
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
LibIntl_LIBRARIES
    linked by target "KF5I18n" in directory /mnt/vcpkg-ci/buildtrees/kf5i18n/src/v5.75.0-7e73727a2c.clean/src

CMake Generate step failed.  Build files cannot be regenerated correctly.

The failure on x64-linux for other ports:
-Wl,-rpath-link,/mnt/vcpkg-ci/installed/x64-linux/debug/lib && :
c++: error: /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libglib-2.0.a: No such file or directory
c++: error: /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libglib-2.0.a: No such file or directory
c++: error: /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libglib-2.0.a: No such file or directory

This error is not related with this PR, which requires the changes from https://github.com/microsoft/vcpkg/pull/15808.

The failures on x64-window caused by kf5syntaxhighlighting:
CMake Error at D:/installed/x64-windows/share/ECM/kde-modules/KDEClangFormat.cmake:38 (configure_file):
  No such file or directory
Call Stack (most recent call first):
  CMakeLists.txt:15 (include)

You can get all failure logs here

The latest regressions:
x64-windows for kf5syntaxhighlighting
CMake Error at D:/installed/x64-windows/share/ECM/kde-modules/KDEClangFormat.cmake:48 (configure_file):
  No such file or directory
Call Stack (most recent call first):
  CMakeLists.txt:15 (include)

x64-windows for marble
CMake Error at D:/downloads/tools/cmake-3.19.2-windows/cmake-3.19.2-win32-x86/share/cmake-3.19/Modules/FindPackageHandleStandardArgs.cmake:218 (message):
  Could NOT find Gettext (missing: GETTEXT_MSGMERGE_EXECUTABLE
  GETTEXT_MSGFMT_EXECUTABLE)
Call Stack (most recent call first):
  D:/downloads/tools/cmake-3.19.2-windows/cmake-3.19.2-win32-x86/share/cmake-3.19/Modules/FindPackageHandleStandardArgs.cmake:582 (_FPHSA_FAILURE_MESSAGE)
  D:/downloads/tools/cmake-3.19.2-windows/cmake-3.19.2-win32-x86/share/cmake-3.19/Modules/FindGettext.cmake:81 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  C:/a/1/s/scripts/buildsystems/vcpkg.cmake:857 (_find_package)
  D:/installed/x64-windows/share/kf5i18n/KF5I18nMacros.cmake:5 (find_package)
  D:/installed/x64-windows/share/kf5i18n/KF5I18nConfig.cmake:33 (include)
  C:/a/1/s/scripts/buildsystems/vcpkg.cmake:857 (_find_package)
  D:/installed/x64-windows/share/ECM/find-modules/FindKF5.cmake:53 (find_package)
  C:/a/1/s/scripts/buildsystems/vcpkg.cmake:857 (_find_package)
  MarbleMacros.cmake:124 (find_package)
  src/apps/marble-kde/CMakeLists.txt:14 (macro_optional_find_package)

x64-linux for kf5i18n
Installing in /mnt/vcpkg-ci/packages/kf5i18n_x64-linux/debug. Run /mnt/vcpkg-ci/buildtrees/kf5i18n/x64-linux-dbg/prefix.sh to set the environment for KI18n.
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
LibIntl_LIBRARIES
    linked by target "KF5I18n" in directory /mnt/vcpkg-ci/buildtrees/kf5i18n/src/v5.75.0-7e73727a2c.clean/src

CMake Generate step failed.  Build files cannot be regenerated correctly.

@ig-or Looks like I accidentally caught your marble port depending implicitly on KF5 libraries (via https://github.com/KDE/marble/blob/v19.08.2/src/apps/marble-kde/CMakeLists.txt), while your CONTROL doesn't capture this. You may want to send a PR to reflect that.

@NancyLi1013 I cannot figure out what's wrong with kf5syntaxhighlighting. I just cannot reproduce this issue locally, not even on a clean VM.

@NancyLi1013 The Linux errors are fixed. However, I just cannot figure out what could be wrong with your CI/CD build of kf5syntaxhighlighting. I cannot reproduce this issue locally, not even in a freshly-provisioned VM.

This is due to parallel. You can try to add DISABLE_PARALLEL for kf5syntaxhighlighting in vcpkg_configure_cmake().

@NancyLi1013 Thanks so much. Hopefully that does it.

Those ports failed on x64-linux are all due to this error:
c++: error: /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libglib-2.0.a: No such file or directory
c++: error: /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libglib-2.0.a: No such file or directory
c++: error: /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libglib-2.0.a: No such file or directory

Others seem good now.

@NancyLi1013 is it OK to be merged now, then? I depend on these changes to be able to add MRs for ports from https://github.com/microsoft/vcpkg/pull/13469

Thanks, @wrobelda

Hi @wrobelda
I'm so sorry for updates many times, I reviewed this PR again and gave some extra suggestions. Please address them if you're free.
LGTM now except for these review suggestions. The only problem is the failure on Linux, which is not related with the changes in this PR, but we still recommend to merge this PR after all CI checks passed.
So we need to wait for the PR #15808 merged.

I'm so sorry for updates many times, I reviewed this PR again and gave some extra suggestions. Please address them if you're free.

Absolutely, nothing to apologize for! I totally understand we're held to high standards here and I appreciate your continuous feedback. All suggestions were addressed.

@NancyLi1013 it looks like #15808 has stalled. Is there anything else that can be done to obtain an unobstructed Linux CI/CD run and have this merged?

@wrobelda
Sorry, there is nothing to do except for waiting it merged. Unless the errors on Linux will disappear.

/azp run

c++: error: /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libglib-2.0.a: No such file or directory
c++: error: /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libglib-2.0.a: No such file or directory
c++: error: /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libglib-2.0.a: No such file or directory

Will be fixed by another PR #16954

/azp run

LGTM now, thanks for your hard work and patience @wrobelda.


[Feature Request]: Make preview/green to be enabled/disabled

What feature would you like to see added to TallyArbiter?
I there!
Thanks for all the work!
I have a (maybe) little request. In Germany preview/green is not that common. Also in corporate environments even red tally is hard for some talents.. So I'd like to be able to disable preview/green in TallyArbiter completely and of course enable it depending on the event type.
Hope that others find this request useful as well.
Thanks and take care!
Thomas

Hey @curiositize! I believe that this is coming in V3. We will have customizable colors for each state and you should be able to just change the preview state to black so a light will not turn on.

Hello @JTF4! That sounds awesome! Looking forward to it! Thanks for the quick reply!

Yes, once we release all the updated listener clients that are compatible with v3.0 and you upgrade everywhere, you'll be able to do this.

Version 3.0.0 has been released. Could you try it out and let us know if this the behaviour you expect?

Hi. I'm not the OP but I did test this and changing it to black works great. However if you have text displaying when not on program, then that disappears when it's showing preview/black. E.g. I'm using the M5Atom and have the camera number displayed. When live it goes red, when not live it shows the camera number, but when on preview the camera number disappears. I would think a better implementation would be the ability to disable it entirely, or 'display' a fully transparent colour, thus allowing anything else that's already displaying to remain to do so.


It's not a problem! Only to follow the project and notifications

:)

@Guillerbr thank you!
Just a tip, you can watch the github projects instead create an issue. Like that:


contribute

I everyone,
I am quite new to Go but I would like to contribute:
does there is some improvement that you need ?

Seems not maintained


Accept MCC/MNC for late-customization listing (bug 1213328)

I'm a bit surprised that there's no code to detect this in the mkt.carriers or mkt.regions modules but I couldn't find anything. I guess fireplace normally does this conversion and passes the slug in.
It might be useful to move the MCC/MNC detection code into the respective modules.
r+wc+tests


work parallel worker queue work

Motivation
try to run the queue in parallel to not deadlock itself
Changes

Test Plan

TODO

[ ] Explain motivation or link existing issue(s)
[ ] Test changes and document test plan
[ ] Update documentation as needed

bors try

bors merge

bors try

bors try

bors merge

bors merge

bors merge

bors merge

bors merge


Cannot open links from Franz services

Expected Behavior
When I click on a link within any of the Franz services, I expect to be redirected to that page.
Current Behavior
When I click on a link within Gmail, Twitter, Messenger, Slack, etc, a new blank page open instead of redirecting me to that link.
Context
This issue makes using Franz really difficult
Your Environment

Franz Version used: Version 5.0.0-beta.14
Operating System and version: Mac OS High Sierra

I assume you are using chrome?
If yes, this is a known issue with chrome. You need to restart your browser and everything should be back to normal.
Related #272


Hello! We have decided to offer the best of both worlds for this issue.

Hello! We have decided to offer the best of both worlds for this issue.
there is a new property in the interactionManager called moveWhenInside
Setting to true will make things work more in line with how the DOM verison works.
Setting to false will mean the mousemove and touchmove will be dispatched regardless of weather the cursor is over the object.
The default of this property is true. :+1:
Originally posted by @GoodBoyDigital in https://github.com/pixijs/pixi.js/issues/2310#issuecomment-181811736
Hello! I aleary Setting moveWhenInside  to true,but won't work. It still dispatches anywhere.
Pixi.js version is 5.2.1

Hello!
It should work. Please post the minimal demo.

my code has bug. it ok now

Seem like user solved their own issue. Closing


blog: August community gems

Tentative publish date: 08/30/22
Things left to update:

[ ] image (make sure to use https://tinypng.com/)
[ ] comments link
[ ] technical style (code blocks formatted correctly with dvc, python, yaml, etc)
[ ] update branch with main

@jendefig @RCdeWit closing it here (it's a draft). Please feel free to migrate it to the iterative.ai when / if you feel we continue with it.


[core] Update overridesResolver for slots

TL;DR
I proposed we go with Option 1 which is using overridesResolver per slot as original done in https://github.com/mui-org/material-ui/pull/25809 by @siriwatknp Perf compared to current implementation is way better and it is not slower compared to Option 2, but gives us much better readability + flatten specificity 🚀

This PR set up benchmark test for the Slider component, where we can measure perf differences between two options of how we may define the overridesResolver for the slots components.
Option 1 - use overridesResolver for each slot of the component:
index e55139e3d9..3578ed4ef9 100644
--- a/packages/material-ui/src/Slider/Slider.js
+++ b/packages/material-ui/src/Slider/Slider.js
@@ -42,19 +42,6 @@ const overridesResolver = (props, styles) => {
       ...styles[`color${capitalize(styleProps.color)}`],
       ...(marked && styles.marked),
       ...(styleProps.orientation === 'vertical' && styles.vertical),
-      [`& .${sliderClasses.rail}`]: styles.rail,
-      [`& .${sliderClasses.track}`]: {
-        ...styles.track,
-        ...(styleProps.track === 'inverted' && styles.trackInverted),
-        ...(styleProps.track === false && styles.trackFalse),
-      },
-      [`& .${sliderClasses.mark}`]: styles.mark,
-      [`& .${sliderClasses.markLabel}`]: styles.markLabel,
-      [`& .${sliderClasses.valueLabel}`]: styles.valueLabel,
-      [`& .${sliderClasses.thumb}`]: {
-        ...styles.thumb,
-        ...styles[`thumbColor${capitalize(styleProps.color)}`],
-      },
     },
     styles.root || {},
   );
@@ -135,7 +122,7 @@ export const SliderRoot = experimentalStyled(
 export const SliderRail = experimentalStyled(
   'span',
   {},
-  { name: 'MuiSlider', slot: 'Rail' },
+  { name: 'MuiSlider', slot: 'Rail', overridesResolver: (props, styles) => styles.rail },
 )(({ styleProps }) => ({
   display: 'block',
   position: 'absolute',
@@ -156,7 +143,15 @@ export const SliderRail = experimentalStyled(
 export const SliderTrack = experimentalStyled(
   'span',
   {},
-  { name: 'MuiSlider', slot: 'Track' },
+  {
+    name: 'MuiSlider',
+    slot: 'Track',
+    overridesResolver: ({ styleProps = {} }, styles) => ({
+      ...styles.track,
+      ...(styleProps.track === 'inverted' && styles.trackInverted),
+      ...(styleProps.track === false && styles.trackFalse),
+    }),
+  },
 )(({ theme, styleProps }) => ({
   display: 'block',
   position: 'absolute',
@@ -184,7 +179,14 @@ export const SliderTrack = experimentalStyled(
 export const SliderThumb = experimentalStyled(
   'span',
   {},
-  { name: 'MuiSlider', slot: 'Thumb' },
+  {
+    name: 'MuiSlider',
+    slot: 'Thumb',
+    overridesResolver: ({ styleProps = {} }, styles) => ({
+      ...styles.thumb,
+      ...styles[`thumbColor${capitalize(styleProps.color)}`],
+    }),
+  },
 )(({ theme, styleProps }) => ({
   position: 'absolute',
   width: 12,
@@ -250,7 +252,11 @@ export const SliderThumb = experimentalStyled(
 export const SliderValueLabel = experimentalStyled(
   SliderValueLabelUnstyled,
   {},
-  { name: 'MuiSlider', slot: 'ValueLabel' },
+  {
+    name: 'MuiSlider',
+    slot: 'ValueLabel',
+    overridesResolver: (props, styles) => styles.valueLabel,
+  },
 )(({ theme }) => ({
   // IE 11 centering bug, to remove from the customization demos once no longer supported
   left: 'calc(-50% - 4px)',
@@ -273,7 +279,7 @@ export const SliderValueLabel = experimentalStyled(
 export const SliderMark = experimentalStyled(
   'span',
   {},
-  { name: 'MuiSlider', slot: 'Mark' },
+  { name: 'MuiSlider', slot: 'Mark', overridesResolver: (props, styles) => styles.mark },
 )(({ theme, styleProps }) => ({
   position: 'absolute',
   width: 2,
@@ -289,7 +295,7 @@ export const SliderMark = experimentalStyled(
 export const SliderMarkLabel = experimentalStyled(
   'span',
   {},
-  { name: 'MuiSlider', slot: 'MarkLabel' },
+  { name: 'MuiSlider', slot: 'MarkLabel', overridesResolver: (props, styles) => styles.markLabel },
 )(({ theme, styleProps }) => ({
   ...theme.typography.body2,
   color: theme.palette.text.secondary,

Option 2 - use one overridesResolver without deepmerge
index e55139e3d9..f11cadd859 100644
--- a/packages/material-ui/src/Slider/Slider.js
+++ b/packages/material-ui/src/Slider/Slider.js
@@ -1,7 +1,7 @@
 import * as React from 'react';
 import PropTypes from 'prop-types';
 import clsx from 'clsx';
-import { chainPropTypes, deepmerge } from '@material-ui/utils';
+import { chainPropTypes } from '@material-ui/utils';
 import { generateUtilityClasses, isHostComponent } from '@material-ui/unstyled';
 import SliderUnstyled, {
   SliderValueLabelUnstyled,
@@ -37,27 +37,25 @@ const overridesResolver = (props, styles) => {

   const marked = marks.length > 0 && marks.some((mark) => mark.label);

-  return deepmerge(
-    {
-      ...styles[`color${capitalize(styleProps.color)}`],
-      ...(marked && styles.marked),
-      ...(styleProps.orientation === 'vertical' && styles.vertical),
-      [`& .${sliderClasses.rail}`]: styles.rail,
-      [`& .${sliderClasses.track}`]: {
-        ...styles.track,
-        ...(styleProps.track === 'inverted' && styles.trackInverted),
-        ...(styleProps.track === false && styles.trackFalse),
-      },
-      [`& .${sliderClasses.mark}`]: styles.mark,
-      [`& .${sliderClasses.markLabel}`]: styles.markLabel,
-      [`& .${sliderClasses.valueLabel}`]: styles.valueLabel,
-      [`& .${sliderClasses.thumb}`]: {
-        ...styles.thumb,
-        ...styles[`thumbColor${capitalize(styleProps.color)}`],
-      },
+  return {
+    [`& .${sliderClasses.rail}`]: styles.rail,
+    [`& .${sliderClasses.track}`]: {
+      ...styles.track,
+      ...(styleProps.track === 'inverted' && styles.trackInverted),
+      ...(styleProps.track === false && styles.trackFalse),
     },
-    styles.root || {},
-  );
+    [`& .${sliderClasses.mark}`]: styles.mark,
+    [`& .${sliderClasses.markLabel}`]: styles.markLabel,
+    [`& .${sliderClasses.valueLabel}`]: styles.valueLabel,
+    [`& .${sliderClasses.thumb}`]: {
+      ...styles.thumb,
+      ...styles[`thumbColor${capitalize(styleProps.color)}`],
+    },
+    ...styles.root,
+    ...styles[`color${capitalize(styleProps.color)}`],
+    ...(marked && styles.marked),
+    ...(styleProps.orientation === 'vertical' && styles.vertical),
+  };
 };

 export const SliderRoot = experimentalStyled(

Benchmark Azure Job build - https://dev.azure.com/mui-org/Material-UI/_build/results?buildId=26337&view=logs&j=9ef21fd1-5d60-5fa4-f8b2-6dc79e173863&t=516d74c5-15a9-50a0-24d9-dba41a487a2d
noop (baseline):
  05.47 ±00.29ms
slider-current-implementation:
  769.04 ±27.65ms
slider-multiple-overrides-resolver:
  97 ±3%
slider-single-overrides-resolver:
  96 ±4%
Done in 56.24s.

Based on the benchmark, seems like both options are giving us way better perf over the current implementation that uses deepmerge 🚀
769.04 ±27.65ms -> 97 ±3%
769.04 ±27.65ms ->96 ±4%
As the perf difference between the two options is negligible, I'd say we go with Option 1, which gives us better readability and flatter specificity. Credits go to @siriwatknp for giving us this idea in https://github.com/mui-org/material-ui/pull/25809

@oliviertassinari @eps1lon should I proceed with updating the components to use Option 1 (overridesResolver per slot component)?

👍 for option 1. I think that it will be cleared for developers that look at our sources for making overrides too.
I'm confused about how the performance build was run but seeing no difference seems coherent, so all good from my end.

👍 for option 1. I think that it will be cleared for developers that look at our sources for making overrides too.

Great, will update all components as part of the PR.

I'm confused about how the performance build was run but seeing no difference seems coherent, so all good from my end.

It was run as described in https://github.com/mui-org/material-ui/pull/23895 In addition to this, local run gave pretty much the same results.

I noticed now that I didn't remove the deepmerge in Option 1, but as we don't need it anymore it means that it could be even faster 🚀

Closing this one, will be creating new PRs for converting components to this approach

adding another benefit of option 1 compare to others is the flat css specificity. I think it is totally better than having nested css. The DX is also close to v4 (which I like) because if dev want to custom the track slot, they will do
MuiSlider: {
  styleOverrides: {
    track: {
      boxShadow: 'inset 0 0 0 1px rgba(0,0,0,0.12)',
      backgroundColor: '#fff',
    }
  }
}

and they expect to see this in devtool.
.css-MuiSlider-track {
  ....other css
  boxShadow: inset 0 0 0 1px rgba(0,0,0,0.12);
  backgroundColor: #fff
}

@siriwatknp exactly, two main benefits that I could find are better readability + flatten specificity :)

The only issue I could find is that sometimes, on components, where we allow users to use their own components instead of the slots we create with styled() the overrides are not applied, as they are no longer added on the root :(
I could spot this issue by the first 10 components I've tried to migrate - https://github.com/mui-org/material-ui/pull/25853 I believe that in some places, we will still need to have the previous class overrides, for example on the AvatarGroup's avatar slot. However I would not use the deepmerge there, and we can simply expect that if you define some override on the root they would overwrite. cc @oliviertassinari

Also I believe we should disable the testDeepOverrides as we no longer support that.

@mnajdova yeah, that is one downside of the approach. I faced it when doing the migration for TreeItem. I need to fix the demo (Component override example) that the styles in child is no longer there. But may be it make sense because I override the whole Component so the styling should be my responsibility 🤔
https://github.com/mui-org/material-ui/pull/25835/files#diff-d13f58feeb07c436bd15577c6cba85464bac9727185eae50072879b67ed22601

@mnajdova yeah, that is one downside of the approach. I faced it when doing the migration for TreeItem. I need to fix the demo (Component override example) that the styles in child is no longer there. But may be it make sense because I override the whole Component so the styling should be my responsibility 🤔
https://github.com/mui-org/material-ui/pull/25835/files#diff-d13f58feeb07c436bd15577c6cba85464bac9727185eae50072879b67ed22601

We need to be careful when we need to keep the styles on the root. On some components we need combination of both, for example: https://github.com/mui-org/material-ui/pull/25853/files#diff-f6f8d57d4a4564948650e3965be686e345389e93ec13cba5923d0bddacbc5c2fR35


Change: remove resolv.conf if it didn't exist previously

Hi, a new approach. As WriteFile doesn't change the permissions anyway, if the file exists already, I'm fine with 0644, if
we created it. Because in this case we can consider it as private to the application and are free to choose any useful value.
Thinking about this brought me to another shortcoming of the current resolvconf handling: if it doesn't exist before starting gof5, it shouldn't exist after gof5 exists. Systems w/o resolv.conf are not considered broken. They use <IP_ADDRESS> as the nameserver.
Maybe if we're faced with a missing resolv.conf, we should add <IP_ADDRESS> and ::1 to the internal list of DNS servers.
But anyway, for now only handling the "missing" resolv.conf:
Note: If the resolv.conf didn't exist previously, we consider the freshly
created resolv.conf as private to gof5 and use mode 0644, and remove it
on exit.
(The 0644 is still subject to umask. If you've the strong feeling, that
0666+umask is the right value, please contact me.)
If it exists, we do not touch the owner and permissions, but the
content.

@HeikoSchlittermann thanks for the PR. I still have concerns about the resolv.conf approach. What if you modify the code to rename the /etc/resolv.conf to something like /etc/resolv.conf_gof5_%pid%.bak?

close in favor of #20


Beam I/O JDBC support

As a developer I'd like to use a Kettle Beam I/O JDBC input and output step that makes use of the respective Beam API feature (see here).

Better to support all input and output steps.
These other IO APIs are doing the same but with fewer features compared to the Kettle steps.

You can now simply use a Table Output step in Kettle.
Setting the step copies to BEAM_OUTPUT reduces the number of threads to 1 by doing a grouping/flattening before the step.


Update the description in the Package

The current description in the NPM Package is the old generated README.md file, which is out of date and not very useful. It would be nice to update this.
https://github.com/Legal-and-General/canopy/packages/388297?version=1.2.1

This turned out to be a bit trickier than I at first thought. Initially I wanted to try and include the docs into the distributed package. This can be done with the copy assets functionality in ng-packagr, but it doesn't quite give the ability to put the docs where we want them. In the end I opted for a quick fix by just updating the description manually which at least hides the boilerplate Angular build text. Closing based on that as currently it's not really worth the time when weighted against functional issues.
https://github.com/Legal-and-General/canopy/packages/388297?version=3.5.0


[BUG] ROBLOX Faild To Launch [Windows ROBLOX]

Acknowledgement of preliminary instructions

[ ] I have read the preliminary instructions, and I am certain that my problem has not already been addressed.
[X] I have thoroughly looked through the available Wiki articles and could not find a solution to my problem.
[X] I am using the latest version of Bloxstrap.
[ ] I did not answer truthfully to all the above checkboxes.

Bloxstrap Version
v2.8.0
What problem did you encounter?
So the new bloxstrap 2.8.0 it update automatic and it's says
[roblox faild to luanch]
I play roblox for windows cuz my webside roblox not even start when i click Play

Bloxstrap Log
N/A

Can you send the log?
And why did you check:  I did not answer truthfully to all the above checkboxes?

Can you send the log? And why did you check: I did not answer truthfully to all the above checkboxes?

by mistake

Can you send the log?

Did you read the information that opened?

Does using the original Roblox launcher work?

Does using the original Roblox launcher work?

no it doesnt'

i had the same problem for like a week and i sitll hjave it anyine has a solution?

Assuming person has not read the information given; open a new issue if/when you have


Clean up ConfigLoader/ConfigReader API

archaius-pull-requests #153 FAILURE
Looks like there's a problem with this pull request

archaius-pull-requests #154 SUCCESS
This pull request looks good


Wide generic argument in function

For issue #1386

@danieldietrich, fixed

Thank you for applying my suggestions. Looking at the changes of of, lift and liftTry I'm double-minded if the bounds are really needed. I need to sleep one night about the topic. Maybe widening the bounds does not make sense for one or more of the methods I mentioned above.
Sorry for being undecided here.

Okay, we are nearly finished.
Please revert the changes for the of Method. The function argument has to be the same type like the result function. The of method does not use generic type bounds.
Example:
static <T1, T2, R> Function2<T1, T2, R> of(Function2<T1, T2, R> methodReference) {
    return methodReference;
}

Explanation:
The purpose of the of method is to turn a lambda expression into a Javaslang function. The arg is returned as-is. It does only work well with lambda expressions. The types of method references cannot be inferred by Java.

@danieldietrich, fixed

Great, thank you!


Access to Intel(r) Performance Counter Monitor has denied (Performance Monitoring Unit is occupied by other application)

operating system: MacOS 12.7.1
CPU: i9-9980HK
Clang version:Apple clang version 13.1.6 (clang-13<IP_ADDRESS>.5)

do any other PMU tools run in parallel? you can try to run pcm with the -r flag

It's not working with -r flag.Maybe iStats Menus?

try to stop the other app you suspect and re-run  "pcm -r"

Still not working

are you running pcm as root?

No,i will have a try with sudo.

Not working

please share a complete output of "sudo pcm -r"

➜  bin git:(master) sudo ./pcm -r
Intel(r) Performance Counter Monitor ($Format:%ci ID=%h$)
=====  Processor information  =====
Hybrid processor         : no
IBRS and IBPB supported  : yes
STIBP supported          : yes
Spec arch caps supported : yes
Max CPUID level          : 22
CPU model number         : 158
IOServiceOpen returned 0x10000003
Unable to build CPU topology
Resetting PMU configuration
Zeroed PMU registers
WARNING: Core 0 IA32_PERFEVTSEL0_ADDR is not zeroed<PHONE_NUMBER>3709551615
Access to Intel(r) Performance Counter Monitor has denied (Performance Monitoring Unit is occupied by other application). Try to stop the application that uses PMU.
Alternatively you can try running PCM with option -r to reset PMU.
Cleaning up
Zeroed PMU registers
Zeroed uncore PMU registers

could you try the released version here (https://github.com/intel/pcm/releases/tag/202311 )? Recompile both the PCM MSR driver and PCM itself please

There is a different error "IOServiceOpen returned 0x10000003" above which might point to the issue: PCM MSR driver could not be loaded. Did you try the manual install procedure: https://github.com/intel/pcm/blob/master/doc/MAC_HOWTO.txt
Could you share the output of kextstat ?

Requires kext signing or turning off SIP.
2023-11-23 08:41:31.845 xcodebuild[7394:40866] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionSentinelHostApplications for extension Xcode.DebuggerFoundation.AppExtensionHosts.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
2023-11-23 08:41:31.846 xcodebuild[7394:40866] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionPointIdentifierToBundleIdentifier for extension Xcode.DebuggerFoundation.AppExtensionToBundleIdentifierMap.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
Error Domain=KMErrorDomain Code=29 "Authenticating extension failed: Kext com.intel.driver.PcmMsr v1 in executable kext bundle com.intel.driver.PcmMsr at /private/var/db/KernelExtensionManagement/Staging/com.intel.driver.PcmMsr.H27GvM/PcmMsrDriver.kext:

Authenticating extension failed: Bad code signature" UserInfo={NSLocalizedDescription=Authenticating extension failed: Kext com.intel.driver.PcmMsr v1 in executable kext bundle com.intel.driver.PcmMsr at /private/var/db/KernelExtensionManagement/Staging/com.intel.driver.PcmMsr.H27GvM/PcmMsrDriver.kext:

Authenticating extension failed: Bad code signature}


Meltano supported tap-snowflake

Repo: https://github.com/MeltanoLabs/tap-snowflake
Slack channel: https://meltano.slack.com/archives/C04BG3978NT/p1669058668410089

Development Scope:

[x] tagged release
[x] tests pass in CI
[x] branch protection
[x] cookiecutter TODOs completed and removed
[x] clean README
[x] Added to meltano hub
[ ] feature coverage relative to Hub default https://hub.meltano.com/extractors/tap-snowflake--transferwise/?

[ ] ?

@kgpayne @tayloramurphy I created this to define the scope of development for these new plugins, track status, and decide when its ready to recommend. Can you help fill in the description with the features (specific to this source) we expect the initial release to support? It will help us and users understand what done is and when we're there.


Update log-analytics-alerts-actions.md

Hello,
I'd like to suggest a very small update to this post so that adds the SIGNL4 mobile alerting app as a additional example for webhook Alert actions. It does not need additional back-end setup in the target system and the OMS alerts appear instantly on the mobile device:
https://www.signl4.com/blog/microsoft-oms-alerts-staff-duty/
Best regards,
René

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

@ReneBormann : Thanks for your contribution to the Azure documentation! The author, @bwren, has been notified to review your proposed change.

@ReneBormann I'm reluctant to add this since we open ourselves to adding a variety of other services that can be called with webhooks.  We're not trying to give an exhaustive list, just a simple example.

#please-close


Update check_prime.cpp

Here slightly change is, We need to check the number till its sqare root.
Description of Change

Checklist

[x] Added description of change
[x] Added file name matches File name guidelines
[x] Added tests and example, test must pass
[x] Added documentation so that the program is self-explanatory and educational - Doxygen guidelines
[x] Relevant documentation/comments is changed or added
[x] PR title follows semantic commit guidelines
[x] Search previous suggestions before making a new one, as yours may be a duplicate.
[x] I acknowledge that all my contributions will be made under the project's license.

Notes:

Duplicate of #1537.


Default sort order for binding identifiers

The default sort order that's presented is by name, which won't necessary be the logical choice. Here is a real-world situation I came across:

Binding identifiers(s) or menu option: A
1: en.jdmn.com
2: es.jdmn.com
3: fr.jdmn.com
4: jdmn.com
5: www.jdmn.com
Please pick the main host, which will be presented as the subject of the certificate:

I'd like to make a recommendation to change the behavior of SortBindings as follows by adding an initial sort by Length:
private IEnumerable<IISHelper.IISBindingOption> SortBindings(IEnumerable<IISHelper.IISBindingOption> bindings) => bindings.OrderBy(x => x.Length).ThenBy(x => x.HostUnicode).ThenBy(x => x.SiteId);
Which would have resulted in the following:

Binding identifiers(s) or menu option: A
1: jdmn.com
2: en.jdmn.com
3: es.jdmn.com
4: fr.jdmn.com
5: www.jdmn.com
Please pick the main host, which will be presented as the subject of the certificate:

And the most common scenario (a domain with a www alias) would always result with the domain first and the www second. As it stands, if a domain starts with letters before www, then the domain without www is presented as the default, however, a domain that would start with a later letter, such as y , would then have the www variant presented as the default. This adjustment would always present the non-www variant first as the default.

I agree that the current sorting is not ideal, but the most important consideration is that everyone can easily find the host(s) that they're looking for. Sorting by shortest would help your appearant preference in this simple scenario, but obviously the order becomes more important when the list grows beyond a handful of items (i.e. multiple domains and/or multiple levels of subdomains), in which case sorting by shortest will also have some undesirable properties.
A better and more general solution would be to sort by each level of the host name seperately, effectively grouping together similar hosts.

I agree with you. Perhaps I was looking at it a little too simplisticly. If we're loking at the globality of domains then, how about the following logic:
private IEnumerable<IISHelper.IISBindingOption> SortBindings(IEnumerable<IISHelper.IISBindingOption> bindings) =>
	bindings
		 .OrderBy(x => x.HostUnicode.Split('.').Reverse().FirstOrDefault())
		 .ThenBy(x => x.HostUnicode.Split('.').Reverse().Skip(1).FirstOrDefault())
		 .ThenBy(x => x.HostUnicode.Split('.').Reverse().Skip(2).FirstOrDefault())
		 .ThenBy(x => x.HostUnicode.Split('.').Reverse().Skip(3).FirstOrDefault())
		 .ThenBy(x => x.SiteId));

This would sort the following list:

www.domain.com
domain.com
www.example.co.uk
example.co.uk
support.example.co.uk
wiki.example.co.uk
es.contoso.net
fr.contoso.net
en.contoso.net
contoso.net

By its domain parts, starting with the tld and working its way down, as such:

domain.com
www.domain.com
contoso.net
en.contoso.net
es.contoso.net
fr.contoso.net
example.co.uk
support.example.co.uk
wiki.example.co.uk
www.example.co.uk


Response with Content-Type = application/json

Changed json.dumps to Flask's jsonify to reply with the correct Content-Type: application/json. This is important, for example, to Javascript Frameworks that consumes Dagda API or to see a pretty JSON in Postman and web browsers
sort_keys is not necessary because jsonify order the keys by default.
:)

LGFM but you should fix the unit tests before the PR can be merged.
I will try to review the PR ASAP for help you with it.

Fixed in other way. Thank you anyway ;-)


Release Azure.ResourceManager.Kusto

Code was updated by https://github.com/Azure/azure-sdk-for-net/pull/33743
No later than 2023-02-12

Close this issue as the new version has been released.


Draggable widgets feedback not rendering updates

Updates are rendered to the childWhenDragging widget but not to the feedback widget.
Steps to Reproduce
https://gist.github.com/mannfeldt/e33e2f8324b783a8fd5b5252f7eedc1b

Drag the container.
Click the button while still dragging.

The question is open at https://stackoverflow.com/questions/57472626/how-to-update-draggable-feedback-widget-while-dragging.
But seems it's a bug with flutter itself.

Persists with current master 1.21.0-6.0.pre.129

flutter doctor -v
[✓] Flutter (Channel master, 1.21.0-6.0.pre.129, on Mac OS X 10.15.6 19G73, locale en-GB)
    • Flutter version 1.21.0-6.0.pre.129 at /Users/nevercode/dev/flutter
    • Framework revision 30aef0a3b9 (14 hours ago), 2020-07-30 14:20:21 -0700
    • Engine revision a9910e409c
    • Dart version 2.10.0 (build 2.10.0-1.0.dev 24c7666def)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at /Users/nevercode/Library/Android/sdk
    • Platform android-29, build-tools 29.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.6)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.6, Build version 11E708
    • CocoaPods version 1.9.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 47.1.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)

[✓] VS Code (version 1.47.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.12.2

[✓] Connected device (6 available)
    • Redmi Note 7 (mobile)       • 6345c469                                 • android-arm64  • Android 9 (API 28)
    • Nevercode’s iPhone (mobile) • b668e524315069f3db3661ac11ff1f66afafebdb • ios            • iOS 13.6
    • iPhone 11 Pro Max (mobile)  • 55C8466B-5367-492B-8EFE-EC45D980571F     • ios            • com.apple.CoreSimulator.SimRuntime.iOS-13-6 (simulator)
    • macOS (desktop)             • macos                                    • darwin-x64     • Mac OS X 10.15.6 19G73
    • Web Server (web)            • web-server                               • web-javascript • Flutter Tools
    • Chrome (web)                • chrome                                   • web-javascript • Google Chrome 84.0.4147.105

• No issues found!

I was experiencing this bug and found that wrapping the feedback widget in a container with specified height and width fixed this problem. My guess is if the feedback widget does not have anything to render inside, it renders to 1 or 0 pixels because the widget sort of "breaks out" of the parent's constraints.

@dominic-deantonio No sure I follow. In my minimal example the feedback widget has a fixed width and height. It is displayed when dragging but its data (Text value) is not rerendered while dragging and clicking the button at the same time. Did you have the same issue? And if so how would you solve it in the minimal example? https://dartpad.dev/b6409e10de32b280b8938aa75364fa7b

I am able to reproduce the issue on the latest stable 3.3 and master 3.6. The childWhenDragging does not reflect the updates.
https://user-images.githubusercontent.com/31410839/204442292-9259ee60-a48a-4772-9400-4df696fb2022.mov

code sample
import 'package:flutter/material.dart';

void main() async {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Draggable Test',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: MyHomePage(),
    );
  }
}

class MyHomePage extends StatefulWidget {
  MyHomePage({Key? key}) : super(key: key);
  @override
  _MyHomePageState createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  late int counter;

  @override
  void initState() {
    counter = 0;
    super.initState();
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text('Draggable Test'),
      ),
      body: Column(
        children: <Widget>[
          Draggable(
            feedback: Container(
              color: Colors.red,
              width: 100,
              height: 100,
              child: Text(counter.toString(),style: TextStyle(color: Colors.white),),
            ),
            childWhenDragging: Container(
              color: Colors.red,
              width: 100,
              height: 100,
              child: Text(counter.toString(),style: TextStyle(color: Colors.white),),
            ),
            child: Container(
              color: Colors.red,
              width: 100,
              height: 100,
              child: Text(counter.toString(),style: TextStyle(color: Colors.white),),
            ),
          ),
          ElevatedButton(
            onPressed: () {
              setState(() {
                counter += 1;
              });
            },
            child: const Text("plus"),
          )
        ],
      ),
    );
  }
}

flutter doctor -v (mac)
[✓] Flutter (Channel master, 3.6.0-6.0.pre.33, on macOS 12.6 21G115 darwin-arm64,
    locale en-IN)
    • Flutter version 3.6.0-6.0.pre.33 on channel master at
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision a9858ec524 (72 minutes ago), 2022-11-21 10:58:11 -0500
    • Engine revision 46a6b54295
    • Dart version 2.19.0 (build 2.19.0-406.0.dev)
    • DevTools version 2.19.0
    • If those were intentional, you can disregard the above warnings; however it is
      recommended to use "git" directly to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0-rc4)
    • Android SDK at /Users/mahesh/Library/Android/sdk
    • Platform android-33, build-tools 33.0.0-rc4
    • ANDROID_HOME = /Users/mahesh/Library/Android/sdk
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.0.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14A400
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[✓] IntelliJ IDEA Community Edition (version 2021.2.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 61.2.4
    • Dart plugin version 212.5080.8

[✓] VS Code (version 1.70.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.53.20221101

[✓] Connected device (3 available)
    • iPhone 12 Pro (mobile) • 026D5789-9E78-4AD5-B1B2-3F8D4E7F65E4 • ios
      • com.apple.CoreSimulator.SimRuntime.iOS-14-5 (simulator)
    • macOS (desktop)        • macos                                • darwin-arm64
      • macOS 12.6 21G115 darwin-arm64
    • Chrome (web)           • chrome                               • web-javascript
      • Google Chrome 107.0.5304.110

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

[✓] Flutter (Channel stable, 3.3.9, on macOS 12.6 21G115 darwin-arm, locale en-IN)
    • Flutter version 3.3.9 on channel stable at /Users/mahesh/Development/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision b8f7f1f986 (24 hours ago), 2022-11-23 06:43:51 +0900
    • Engine revision 8f2221fbef
    • Dart version 2.18.5
    • DevTools version 2.15.0

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0-rc4)
    • Android SDK at /Users/mahesh/Library/Android/sdk
    • Platform android-33, build-tools 33.0.0-rc4
    • ANDROID_HOME = /Users/mahesh/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.0.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14A400
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[✓] IntelliJ IDEA Community Edition (version 2021.2.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 61.2.4
    • Dart plugin version 212.5080.8

[✓] VS Code (version 1.70.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.53.20221101

[✓] Connected device (3 available)
    • iPhone 12 Pro (mobile) • 026D5789-9E78-4AD5-B1B2-3F8D4E7F65E4 • ios            •
      com.apple.CoreSimulator.SimRuntime.iOS-14-5 (simulator)
    • macOS (desktop)        • macos                                • darwin-arm64   • macOS 12.6 21G115 darwin-arm
    • Chrome (web)           • chrome                               • web-javascript • Google Chrome 107.0.5304.110

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!


Tabbing away from within the datepicker doesn't close the calendar

Is there any props where I can close/hide the calendar when I tab the focus away from within the calendar?
Currently, I have to put an event listener on 'keydown' on the buttons inside the calendar, and trigger a setState to set the focused props to false when the key is Tab

@sumeet-jain recently added some functionality that would help with this I think! How are you rendering the calendar currently, @reicolee ?

@majapw Can you elaborate on the functionality that would help with this issue?  I just upgraded to 20.1.0 and it seems that I cannot tab out of the calendar once i've tabbed in.  If i reverse tab i get out of the calendar but it doesn't close.

I am having the same issue.  It is reproducible here:
http://airbnb.io/react-dates/?path=/story/daterangepicker-drp--default
ADA accessibility compliance requires that the datepicker close when tabbing out of the input that renders it.

When I fork the current repo, this bug is no longer occurring.  But the latest released version is broken and the story book link in the ReadMe is even more broken.  Also, when forking and running locally, there is a missing node-sass v^4.0.0 devDep.

When you say the latest release is broken, do you mean, it has this bug, but it's fixed in the repo?
The storybook link should hopefully be fixed with #1673; as for node-sass, it's very sensitive to your node version, so locally i think it'll only work on node 12 or 14.

When you say the latest release is broken, do you mean, it has this bug, but it's fixed in the repo?
The storybook link should hopefully be fixed with #1673; as for node-sass, it's very sensitive to your node version, so locally i think it'll only work on node 12 or 14.

Good to know about node-sass.
Yes.  This bug is in the latest released version.  When I forked the repo yesterday though, the bug seems to be gone as it was working as expected.  I haven't tried an external usage but its working in storybook, which is making me think this bug will be fixed in the next release.  Speaking of which, do you know when that will be?  I've got a deadline I need to meet for our a11y grade.

I don’t have a timeline, but I’m hoping for sooner rather than later.

Closing, since it’s fixed in the default branch. Happy to reopen if the next release doesn’t solve it.

How would one do it with the DayPickerSingleDateController
  const [focusedInput, setFocusedInput] = React.useState(true)
  const [date, setDate] = React.useState(null)
  const [visible, setVisible] = React.useState(false)
  const inputRef = React.useRef(null)

  const onDateChange = (newDate) => {
    if (newDate) {
      const momentDate = moment(newDate) // Convert to Moment object
      setDate(momentDate)
      setVisible(false)
    } else {
      setDate(null)
    }
  }
  const formattedDate = date ? date.format('MM/DD/YYYY') : ''

  const inputClick = (e) => {
    setVisible(true)
  }

  const handleBlur = (e) => {
    // Check if the blur event target is outside the input and DayPicker
    if (!inputRef.current.contains(e.relatedTarget)) {
      // setShowDate(false)
      setVisible(false)
    }
  }
   return

        <CustomInput
          id="maskedInput"
          placeholder="mm/dd/yyyy"
          onClick={inputClick}
          onFocus={inputClick}
          onBlur={handleBlur} // Handle blur event
          value={formattedDate}
          {...props}
          ref={inputRef} // Attach the ref to the input element
        />

      {visible && (

          <DayPickerSingleDateController
            onDateChange={onDateChange}
            // onFocusChange={setFocusedInput}
            onFocusChange={({ focused }) => setFocusedInput(focused)}
            focused={focusedInput}
            // focusedInput={focusedInput}
            onOutsideClick={() => setVisible(false)}
            date={date}
            // orientation={'vertical'}
            // numberOfMonths={2}
            {...props}
          />

      )}

I tried onBlur, and it's not responding


Can I change the user behind the VotableThing instance?

Imagine I have two logins:
var importReddit = new Reddit();
importReddit.LogIn(TargetUsername, TargetPassword);

var exportReddit = new Reddit();
exportReddit.LogIn(DestUsername, DestPassword);

var savedThingies = importAccount.GetSaved();

How can I then transfer the saved things to the second account?
Ideally, I need to be able to .SetUser(User) and then loop and call Save. IE:
var savedThingies = importAccount.GetSaved();
foreach (var savedPost in savedThingies)
{
    savedPost.SetReddit(exportReddit); // or SetUser
    savedPost.Save();
}

I was thinking there had to be another way. Can I somehow get the URI from savedPost, load up a new VotableItem or something and then save?

I think you'd want to just use your exportReddit to save the post again directly via the URL/thingid/however the save item portion is implemented. I haven't used it to be perfectly honest.

Gotcha, I will look into that now. I need to find the member of exportReddit that takes a URL/thingid.

It looks like RedditUser doesn't implement anything to actually save posts. It may need a pull request to add that functionality, i'm only seeing a way to retrieve them.

There is a .Save() on the post itself. That doesn't work? Or that won't
work for this usecase you mean?
On Wed, Feb 3, 2021, 9:55 AM CrustyJew<EMAIL_ADDRESS>wrote:

It looks like RedditUser doesn't implement anything to actually save
posts. It may need a pull request to add that functionality, i'm only
seeing a way to retrieve them.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/CrustyJew/RedditSharp/issues/236#issuecomment-772614210,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAWMN27SIKIJ4A3FJU3LWELS5FWX3ANCNFSM4W7ZKCCA
.

ohhh yeah that might work. So in that case you'd want to do a new "get post" on your import instance and then save the post. Alternatively I think you can actually just call the LogIn method again on your instance of Reddit to change the user like you were originally wanting to do now that I think about it more >.<

I just tested this with the following code and it seems to be working.
var savedThingies = importAccount.GetSaved().ToList();
// Change login instance!
importReddit.LogIn(DestUsername, DestPassword);
foreach (var savedPost in savedThingies)
{
    Console.WriteLine("Saving thing " + savedPost.FullName + " " + savedPost.Id + " " + savedPost.Shortlink);
    try {
        savedPost.Save();
        Console.WriteLine("Success.");
    }
    catch(Exception ex)
    {
        Console.WriteLine("Failed!");
        Console.WriteLine(ex);
    }
}


Auth form input issues

Overivew
A few auth input issues to fix, (1) stop presenting an error on the password field before the user has a chance to provide one, (2) stop the browser from showing the auto-complete box and (3) give the user a chance to provide an ID before presenting them with an error.
Design Details
Stop presenting an error on the password field before the user has a chance to provide one
To Reproduce

Go to Settings > Users
Click Create User
Observe the form:

Expected behavior
There's no error below Password
Stop the browser from showing the auto-complete box
Details

Set auto-complete to off on inputs
Reference: Removing the browser's built-in auto-complete feature

Expected behavior
There is no auto-complete box.
Give the user a chance to provide an ID before presenting them with an error
To Reproduce

Navigate to Settings > Teams > Create Team, Settings > API Tokens > Create Token, or Settings > Projects > Create Projects
Use the Edit ID button
Observe an error

Expected behavior
There's no error below ID
Notes
ℹ Both in dev and acceptance as of 08/06.

@srenatus i hijacked this issue and added a few more issues to it, hope you don't mind ✌


Improve ipywidgets layout for roulette

Improve aesthetics
Separate the list of distributions into discrete and continuous. Or create a panel of checkboxes with general control like "all discrete", "all continuous", "deselect all"... This panel could be placed to the right of the matplotlib subplot to take advantage of the blank space (and wide screens).

@aloctavodia I was thinking about this issue day before yesterday.
Would the second point be something like this

maybe, Not sure about custom, what will happen when the users click "custom"?
I guess that if the user selects the distributions from the dropdown menu then "custom" will turn on. Right?
What about having 3 checkboxes, Continuous, Discrete, and None?

It should be possible to click on Continuous, and Discrete at the same time (to select all).
It should not be possible to click on None and something else.
Deselecting Continous and Discrete has the same result as clicking None
Selecting None cleans all selections, this is useful to clean user custom selections.

Yep, that's what custom would do...
I like the idea of having Continuous, Discrete, and None(easier to understand). Let's go with that. Is that fine?

Yes, that's fine.

With #318  merged @aloctavodia do you want me to do anything on the aesthetics...
Also we should open an issue for updating the .gif

I don't have any clear any about the asthetics. Yes we need to update the gif.


Searching with repeated words doesn't seemed to work.  e.g., "Chicken fried chicken" will come up with only fried chicken.

Description
Searching with repeated words doesn't seemed to work.  e.g., "Chicken fried chicken" will come up with only fried chicken.

Actual Behavior
Just ... fried chicken.
Metadata
Typesense Version:
OS:

Can I get this issue assigned to me? Would love to fix this issue.


td sequential

Added TD sequential indicator.
see https://tradetrekker.wordpress.com/tdsequential/

sample screenshot

Hello @dorren,
Thanks for the submission! Coincidentally, I have just started to look at implementing TD Sequential as well as the one Troy Watson shared in Issue #156. Yet, I will be renaming it td_seq. Anyhow, I will merge this into the development branch as soon as I can.
Kind Regards,
KJ


Source Path wildcard support not working

OS: MacOS 10.14.6 & linux
VSCode version:  1.42.0
Extension version:  1.4.5
Python version: Python 3.7.4
LLDB version: lldb-1<IP_ADDRESS>
Swift-5.0
Source maps should be able to contain wildcards
I'm sure at one point glob support was working, but now it doesn't either in dev container or on MacOS.
Steps to reproduce

Clone https://github.com/jasonwilliams/boa
Inspect https://github.com/jasonwilliams/boa/blob/master/.devcontainer/devcontainer.json#L35-L37 you should see the path mapping set up
go into dev container mode
Path mapping is not working properly, you can see the internals are not pointing to the toolchain folders.

Working
      "sourceMap": {
        "/rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8": "/Users/[User]/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/src/rust"
      },

Not working
      "sourceMap": {
        "/rustc/*": "/Users/[User]/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/src/rust"
      },

I'm sure at one point glob support was working,

That's true, however that was a hack on top of that lldb itself provides, and later it turned out that my approach created problems in other places,  so I decided to drop this feature in favor of lldb's native support.
There seems to be a conceptual problem with globs in the source map, because in some circumstances the debugger needs to perform a reverse mapping.

😿