libreoffice-online/gtk
Tor Lillqvist 410270fd14 Actually use the safer (escaped) string we construct
Also, no reason to append a null byte to it.

Don't know why this worked even when not escaping "dangerous"
characters. Does Webkit have a more relaxed lexical analyser?

Signed-off-by: Tor Lillqvist <tml@collabora.com>
Change-Id: Idfedcbf11a9ee565b954ba972e7e3bc9b804a122
2023-01-06 16:09:52 +02:00
..
gtk.hpp
Makefile.am Put all Zotero logic to browser 2022-12-12 13:35:29 +01:00
mobile.cpp Actually use the safer (escaped) string we construct 2023-01-06 16:09:52 +02:00
README It seems that the gtk app takes a pathname, not a file: URI 2022-11-24 16:09:03 +02:00

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.