| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
Removed all MOBILEAPP preprocessor conditionals from Util.hpp/.cpp
Added isMobileApp function to help remove further conditionals.
Signed-off-by: Jaume Pujantell <jaume.pujantell@collabora.com>
Change-Id: I038a4db47ec2a2c7bb10f5696df5571b13bd9a61
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This moves ClientRequestDispatcher and all
its direct exclusive dependencies to its
own file and adjusts formatting.
No functional changes were performed,
although namespaces were restored and
other minor changes were done for
consistency.
The resulting file is still rather large
at around 2000 lines, but that makes
COOLWSD.cpp smaller by about 30% now.
Change-Id: I59bcd997ad08702ce7029c6791095e75ad9b23b0
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
|
|
|
|
|
|
|
|
| |
Extract some functions from ForKit.cpp and COOLWSD.cpp to new files
so we can do a kit in process mode without using ifdef directives.
Signed-off-by: Jaume Pujantell <jaume.pujantell@collabora.com>
Change-Id: I7529f8f46a8026318244666b27d1ce72ed5ad4ca
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ib1b071b96322511b7f319ff6b851e902b3556fbb
|
|
|
|
|
| |
Signed-off-by: Tor Lillqvist <tml@collabora.com>
Change-Id: Ic0aaf8c944fa10ec370a0b733d1f5c881ea349ce
|
|
|
|
|
| |
Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: I544abda3744fc5415a4dfd935e0df864c5765ca3
|
|
|
|
|
| |
Signed-off-by: Tor Lillqvist <tml@collabora.com>
Change-Id: I075e69a385ec508d72a5d6e4b775dd932bca5184
|
|
|
|
|
|
|
|
| |
Apparently using a debug=true query parameter breaks tile
rendering. So let's not use that then. Now tiles show up.
Signed-off-by: Tor Lillqvist <tml@collabora.com>
Change-Id: Ia458a6bdf35b956bf2570801d132211f600513f6
|
|
|
|
|
|
|
|
| |
Now some UI stuff shows up on the cool page. No document tiles yet,
though.
Signed-off-by: Tor Lillqvist <tml@collabora.com>
Change-Id: I5cc33cc8df3a700ee752a3ad437cdb3aabfbca86
|
|
|
|
|
| |
Signed-off-by: Tor Lillqvist <tml@collabora.com>
Change-Id: Id0764d3097f2b9f0a4ba1b699b63e026749f802b
|
|
|
|
|
| |
Signed-off-by: Tor Lillqvist <tml@collabora.com>
Change-Id: Ic6834f5f5b57035831778305ece9228d14bed930
|
|
|
|
|
| |
Signed-off-by: Tor Lillqvist <tml@collabora.com>
Change-Id: I000fdcc059c39cf3c0c4a9ec066f4039c653cb70
|
|
|
|
|
| |
Change-Id: Ibd8d3d65f5fffc0abbc410e3f265c3eea0af6c40
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
|
|
|
|
|
|
|
|
|
|
|
| |
We need to flush and shutdown logging before exiting,
so we can't use _exit/_Exit directly.
In addition, with profiling (e.g. code-coverage) we
must flush the profile data, lest it's all for naught.
Change-Id: I726c5a2f4e699c17dd0d7d5b1c86d856e0118b3c
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
|
|
|
|
|
| |
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ib7d4e804bebe52dead8d53b0e0bbaed0f08bf3d0
|
|
|
|
|
| |
Change-Id: Icea136704eaf13c6da0ec455a9e6207b57e2a7f6
Signed-off-by: Henry Castro <hcastro@collabora.com>
|
|
|
|
|
| |
Change-Id: Ib46a667f6add8b52600074d10db459e69b836d04
Signed-off-by: Henry Castro <hcastro@collabora.com>
|
|
|
|
|
| |
Change-Id: Iaa28f1269f8192755ec323396ae4ff054529f412
Signed-off-by: Henry Castro <hcastro@collabora.com>
|
|
|
|
|
| |
Change-Id: I8e1f57e5dd2935d9b22d906acbb75e28f84016f5
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
|
|
|
|
| |
Change-Id: I8623770b32d278a45357dc7f757fabfadd2b4af7
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Just adds the missing source files to the automake file.
Still it seems unmaintained since a year and doesn't look that
mobile at all (from my expectations), but it still works AFAI
can tell.
While at it add the mobile binary to .gitignore.
Change-Id: I7db21041c6848f94fcb4058c730385b077048a9c
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98553
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
|
|
|
|
|
|
|
|
|
|
| |
The new utility is safer and more readable.
Change-Id: I3a86675378d458cb004e5534dbf2b401936d0e57
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98183
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
|
|
|
|
| |
Change-Id: Ib8bcf8b578f1d926f26a0ebae15cfa36e5d922d2
|
|
|
|
| |
Change-Id: I4f6f27f28d55a6529eb89732a8562e6e27d376af
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
Lets leave this optimization for later, this is incomplete, and does not
fix the problem which it was originally supposed to address.
This reverts commit bce922e8fd50b5344b083aedfe04ed072661795b.
Change-Id: I5d2ee19058261c7612d36014181f509604c8acde
|
|
|
|
| |
Change-Id: Idc22ccbae1effac9e2db5293703a768e033fd7e9
|
|
|
|
| |
Change-Id: I5f9c9420b6c83601db1c8fdba4ae5a10b17b2107
|
|
|
|
| |
Change-Id: If90f8ccef4f223ae783363e9fc3a3e9fed644c24
|
|
|
|
| |
Change-Id: I62ce96932b77ea8051cfb2862cb4f617d2804c1d
|
|
|
|
| |
Change-Id: Ia337cde9f183849088d3712dd339f21b7d290fd7
|
|
|
|
|
|
| |
Sure, could add more and more options to specify what LibreOffice
installation to run against, etc, like gtktiledviewer. That is not a
priority though, this is just a very basic testbed for now.
|
| |
|
|
|
|
|
| |
Need to copy from hello.odt, like the Makefile.am does when you 'make
run'.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Use g_idle_add() to make the webkit_web_view_run_javascript() call run
on the GTK+ thread. Correspondingly, need to use a separate
short-lived thread to do the fakeSocketWrite() calls from
handle_lool_message(), so that the GTK+ main loop is ready to run the
added lambda. Or something like that.
Now it gets a bit further, doesn't crash, but just sudddenly exits
before showing the document even.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add plumbing to send messages from the Online code to the JavaScript
code, and vice versa. Similar to what is done for iOS.
Sadly, it crashes. Multi-thread issues. Not surprisingly, it crashes
when I call webkit_web_view_run_javascript() in another thread than
the one where the GTK+ and other Webkit calls were done. I need to
come up with some clever way to do everything from the same thread.
(On iOS, I use dispatch_async(dispatch_get_main_queue(),...) to
schedule a block (i.e., a lambda expression) to be run in the main
thread.)
|
|
|
|
|
| |
Rename the gtk/gtk.h file to gtk/gtk.hpp to not have it confused with
the actual GTK+ <gtk/gtk.h>.
|
|
|
|
| |
Change-Id: I6650583931f3c09a8c3d75c38a2e0dbceae5853d
|
|
|
|
| |
Change-Id: Ifa3acfd09e10dbee4ecf43bec5735263e3655790
|
|
The idea is that it would work sufficiently identically, so that even
people without a Mac and without an iOS device could participate in
development of the non-iOS-specific bits, like the JavaScript, or the
online MOBILEAPP-specific plumbing. Which would be great.
No, this doesn't do anything sane yet. It does compile the same online
C++ files as the iOS app, though. (Some minor tweaks were needed in a
couple of them to silence gcc warnings.)
There is a plain Makefile, but I should change to using autofoo, too.
Eventually, this will need to be built in a separate tree from a
normal online, just like when using the --enable-iosapp configure
switch. (But for now, doesn't matter.)
Change-Id: I13e4d921acb99d802d2f9da4b0df4a237ca60ad6
|