collabora-online/gtk
Michael Meeks c117d87bb4 nearly pure re-factor: split out code into its own modules.
StateRecorder.hpp split from ChildSession.cpp
KitWebSocketHandler.[ch]pp split from Kit.cpp.
ThreadPool.hpp split from RenderTiles.hpp

Expose headers for KitSocketPoll and Document
at the same time.

Not clear we need the DocumentManagerInterface anymore.

Conditionally compile out Document::createSession for unittest
dependency breaking, and avoid Rlimit::handleSetrlimitCommand
likewise.

Make makePropertyValue a private method of Kit.cpp.

clang-format new files.

Change-Id: I47a1d6afe20165f156b477a931b94c916cff4b9d
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
2024-03-06 20:56:55 -05:00
..
Makefile.am nearly pure re-factor: split out code into its own modules. 2024-03-06 20:56:55 -05:00
README It seems that the gtk app takes a pathname, not a file: URI 2022-11-24 16:09:03 +02:00
gtk.hpp Make the gtk app build again 2022-11-24 15:02:10 +02:00
mobile.cpp Actually use the safer (escaped) string we construct 2023-01-06 16:09:52 +02:00

README

This is a GTK+ Webkit app that is intended to work similarly enough to
the iOS app being developed in the "ios" folder, and the Android app
being developed in the "android" folder, that (some kinds of) problems
in them also show up in this app, and can be investigated by people
with no Android, Mac, or iOS device.

How to build this:

Use a separate tree of "online". Do NOT use one where you build a
normal Online.

Run autogen.sh, then configure:

./configure --enable-gtkapp --with-lo-path=/home/tml/lo/master/instdir --with-lokit-path=/home/tml/lo/master/include

Obviously, adjust the path to your LibreOffice build tree as necessary.

Then make.

You will get the gtk/mobile executable. Run it for example like this:

gtk/mobile $PWD/test/data/hello-world.odt

Then, if it doesn't work, debug it and fix it.