Compare commits

18 Commits
0-1-1 ... main

Author SHA1 Message Date
431ba3dffa finalizer 2026-04-18 17:03:53 +02:00
0786a8eb0e init with function name 2026-04-18 16:54:32 +02:00
debda73068 webview-exit 2026-04-18 16:43:19 +02:00
ce72177973 events on quit 2026-04-18 16:31:12 +02:00
5214b9f925 Another attempt on quitting cleanly 2026-04-18 15:50:41 +02:00
f37e89d956 racket webview qt finalizer next 2026-04-18 15:32:15 +02:00
89b084a6a7 Making sure no warnings are printed (except for getenv) on windows. 2026-04-17 13:58:28 +02:00
ee33c72915 small adjustments, many enhancements to rktplayer 2026-04-16 22:22:25 +02:00
59c316a1f0 alive ack implemented and stopping 2026-04-11 16:27:45 +02:00
e9e295c3bc alive_ack_queue implemented 2026-04-11 16:10:39 +02:00
52aa0cac10 Alive thread implemented 2026-04-11 09:50:59 +02:00
8e5381fda2 Added callback for events. 2026-04-10 23:49:29 +02:00
82f58bc24b Events for racket-webview-qt 2026-04-10 22:07:03 +02:00
ef3883ed15 threading / event callback 2026-04-10 10:16:13 +02:00
79d18bdd5d - 2026-04-09 10:42:36 +02:00
7468a16d63 icon 2026-04-08 16:39:23 +02:00
a5378e32b9 - 2026-04-07 13:42:21 +02:00
8ab8cb5335 - 2026-04-07 11:18:15 +02:00
140 changed files with 625 additions and 129 deletions

2
.gitignore vendored
View File

@@ -73,3 +73,5 @@ CMakeLists.txt.user*
*.exe
build
lib/linux-x86_64
lib/*.zip

View File

@@ -23,6 +23,7 @@ add_library(rktwebview SHARED
json.cpp json.h
utils.h
utils.cpp
memqueue.h memqueue.cpp
)
add_executable(rktwebview_prg

View File

@@ -28,6 +28,7 @@
#define COMMAND_SET_OU_TOKEN 22
#define COMMAND_NEW_CONTEXT 23
#define COMMAND_MESSAGE 24
#define COMMAND_SET_ICON 25
class Command
{

15
install-linux.sh → install/install-linux.sh Normal file → Executable file
View File

@@ -2,20 +2,21 @@
#
ARCH=`uname -m`
LIB="lib/linux/$ARCH"
LIB="../lib/linux-$ARCH"
BUILD="../build/Release"
mkdir -p $LIB
rm -f $LIB/*.so*
cp build/Release/*.so $LIB
cp build/Release/rktwebview_prg $LIB
cp $BUILD/*.so $LIB
cp $BUILD/rktwebview_prg $LIB
QT_PATH=`ldd build/Release/rktwebview_prg | grep Qt | awk '{print $3}' | head -1 | sed -e 's%[/]lib[/].*%%'`
QT_PATH=`ldd $BUILD/rktwebview_prg | grep Qt | awk '{print $3}' | head -1 | sed -e 's%[/]lib[/].*%%'`
echo "QT_PATH=$QT_PATH"
QT_PLUGINS="$QT_PATH/plugins"
PLUGINS="platforms position generic iconengines imageformats qmltooling tls xcbglintegrations"
EXTRA_LIBS_SO=`ldd build/Release/rktwebview_prg | grep Qt | awk '{ print $3 }'`
EXTRA_LIBS_SO=`ldd $BUILD/rktwebview_prg | grep Qt | awk '{ print $3 }'`
EXTRA_LIBS_PLATFORM_PLUGIN_XCB=`ldd $QT_PATH/plugins/platforms/libqxcb.so | grep Qt | awk '{print $3}'`
for pl in $PLUGINS
@@ -63,4 +64,8 @@ done
cp $QT_PATH/libexec/QtWebEngineProcess $LIB
(cd $LIB; cd ..; zip -9 -y -r linux-$ARCH.zip linux-$ARCH)

View File

@@ -92,7 +92,7 @@ const JSON &JSON::at(unsigned int index) const {
int JSON::length() const {
if( Type == Class::Array )
return Internal.List->size();
return static_cast<int>(Internal.List->size());
else
return -1;
}
@@ -105,9 +105,9 @@ bool JSON::hasKey(const std::string &key) const {
int JSON::size() const {
if( Type == Class::Object )
return Internal.Map->size();
return static_cast<int>(Internal.Map->size());
else if( Type == Class::Array )
return Internal.List->size();
return static_cast<int>(Internal.List->size());
else
return -1;
}

Binary file not shown.

Binary file not shown.

View File

@@ -1,48 +0,0 @@
[
{
"name": "qtbase",
"repositories": ["qtbase", "qtactiveqt", "qtimageformats"]
},
{
"name": "qtdeclarative",
"repositories": ["qtdeclarative"]
},
{
"name": "qtmultimedia",
"repositories": ["qtmultimedia"]
},
{
"name": "qtconnectivity",
"repositories": ["qtconnectivity"]
},
{
"name": "qtlocation",
"repositories": ["qtlocation"]
},
{
"name": "qtwebsockets",
"repositories": ["qtwebsockets"]
},
{
"name": "qtserialport",
"repositories": ["qtserialport"]
},
{
"name": "qtwebengine",
"repositories": ["qtwebengine"]
},
{
"name": "designer",
"modules": ["Designer"]
},
{
"name": "linguist"
},
{
"name": "assistant"
},
{
"name": "qt_help",
"modules": ["Help"]
}
]

Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More