This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| *** loader.c.orig 2023-01-04 01:40:00.048623579 -0800 | |
| --- loader.c 2023-01-04 04:16:01.124146104 -0800 | |
| *************** static NTSTATUS load_native_dll( LPCWSTR | |
| *** 2604,2611 **** | |
| { | |
| void *module = NULL; | |
| SIZE_T len = 0; | |
| NTSTATUS status = NtMapViewOfSection( mapping, NtCurrentProcess(), &module, 0, 0, NULL, &len, | |
| ! ViewShare, 0, PAGE_EXECUTE_READ ); | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import QtQuick | |
| import QtQuick.Controls | |
| import QtQuick.Controls.Material | |
| import QtQuick.Layouts | |
| ColumnLayout { | |
| id: calendar | |
| property alias day: gridMonth.selectedDay | |
| property alias month: comboMonth.currentIndex | |
| property alias year: spinYear.value |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import QtQuick 2.4 | |
| Item { | |
| id: scrollbar | |
| property QtObject target //< The flickable to control | |
| property bool autoHide: true //< If true, the bar will be hidden unless mouseover or moving | |
| property real visibleOpacity: 0.9 //< When visible (not hidden), how "opaque" are we? | |
| property int orientation: Qt.Vertical //< Either Qt.Vertical or Qt.Horizontal |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import QtQuick | |
| Item { | |
| id: splitView | |
| property real minWidth: 10 | |
| signal manuallyResized() | |
| // The rest is internal: | |
| property variant componentList: [] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include "wasm.h" | |
| #include <QDebug> | |
| #include <QByteArray> | |
| #include <QDataStream> | |
| #include <QIODevice> | |
| #include <emscripten.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include "wasm.h" | |
| #include <QUrlQuery> | |
| #include <QPair> | |
| #include <emscripten.h> | |
| EM_JS(char*, __js_location, (void), { | |
| var locstr = window.location.href; | |
| var len = lengthBytesUTF16(locstr) + 1; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import QtQuick 2.15 | |
| import Qt5Compat.GraphicalEffects | |
| RectangularGlow { | |
| id: glowBox | |
| cornerRadius: 5 | |
| color: 'black' | |
| glowRadius: 5 | |
| spread: 0.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/deps/media-playback/CMakeLists.txt b/deps/media-playback/CMakeLists.txt | |
| index d58d121..ae938fa 100644 | |
| --- a/deps/media-playback/CMakeLists.txt | |
| +++ b/deps/media-playback/CMakeLists.txt | |
| @@ -28,6 +28,7 @@ if(CMAKE_SYSTEM_PROCESSOR MATCHES "^(powerpc|ppc)64le") | |
| PUBLIC | |
| -mvsx) | |
| add_compile_definitions(NO_WARN_X86_INTRINSICS) | |
| +elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "^(arm|aarch).*") | |
| elseif(NOT MSVC) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <magick/api.h> | |
| /* Convert input "image" in any format GraphicsMagick supports into PDF, resized and monochrome, | |
| * to be printed on a thermal printer (such as a CT-S310II) via CUPS. | |
| * | |
| * OrderedDitherImage seems to leak memory, according to Valgrind. | |
| * | |
| * Message me on Github if you know how to fix this? It's roughly 500 bytes per iteration on my tests. | |
| */ | |
| int image2pdf( int width, double dpi, const char *indata, size_t inlen, char **outdata, size_t *outlen ) |