| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
No more use of FakeSocket, yay.
Functionality still quite limited compared to the main branch. Many of
the messages sent by JS are ignored. Most callbacks from core are
ignored yet. But at least tiles show up.
The app is temporarily renamed in this branch while work is ongoing,
so that one can have both versions on the same device.
|
|
|
|
|
|
|
| |
Change-Id: Ic932a836fc47de4b707d0468bafba65eaf5bf86a
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98774
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tor Lillqvist <tml@collabora.com>
|
|
|
|
|
|
|
|
| |
Change-Id: Ic65bbd0894f26f69e1b55c769ac47013f9aaf163
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98746
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Avoids the need for PNG encoding (takes significant amount of CPU
time) and Base64 encoding in the app process, transfer to JavaScript
(running in a WebKit process of its own), and corresponding decoding
(in the WebKit process). Instead simply pass the URL of each tile file
to the JavaScript. Remove each BMP file once it has been loaded.
Change-Id: I6e7b9450691679c64813979976c59f1763ec104c
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98710
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
|
|
|
|
|
|
|
| |
Change-Id: I488a1311404a94f64e145db99f76782e171965ba
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98714
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We probably used to have circular references that made KitSocketPoll
and KitWebSocketHandler objects hang around forever, or something.
(Not a problem in web-based Online where kit processes have a
restricted lifetime.)
Change-Id: Ia6eebc51f4a4a8fb4f69a2c83a0131de921ea1d6
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98744
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tor Lillqvist <tml@collabora.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
(Why not call LOG_INF directly in FakeSocket.cpp instead? Good
question. I guess my idea was originally to keep FakeSocket separately
testable without all the Online logging stuff.)
Change-Id: I1e6b730a9742ad653d431774d88fec6a36d98850
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98736
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tor Lillqvist <tml@collabora.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Useful (like LOG_TRC_NOFILE) in cases where the source file location
of the LOG_INF call is uninteresting. (Like if the message to be
logged has originated somewhere else.)
Change-Id: Id6d8c137be073a958943f01b3d7b98143fcd7dfd
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98735
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tor Lillqvist <tml@collabora.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
| |
This reverts commit f3572dc98828b1c5d617f3b503e76c7448fa5439.
Change-Id: I2b12aaa4c4ace0119be98e6d46ce95fdd1ac0f73
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98732
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Excised TileCacheDesc to improve performance and simplify code.
* clang-tidy suggestions and auto-rewrite fixes.
* Const-correctness.
* Inlined and improved a couple of trivial functions (that are called
often).
* Reduced some logs from INF to DBG as they are only meaningful to devs.
Change-Id: I1c4eb8c63da49aa061afbf3eb68cae23d4d5e7f3
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98661
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Jenkins
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
|
|
|
|
|
|
|
|
| |
Change-Id: Ie55ce155cb31a2ebc54d82025d33a06ee08cab7f
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98722
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Pedro Silva <pedro.silva@collabora.com>
|
|
|
|
|
|
|
|
|
| |
and make sure that no default browser properties gets in the way
Change-Id: I2f536c47f4e7db73e4cf77bec03d42b8ad73bd07
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98715
Tested-by: Jenkins
Reviewed-by: Pedro Silva <pedro.silva@collabora.com>
|
|
|
|
|
|
|
|
|
|
| |
that the text overflows
Change-Id: Iec964d99a3582c78c83e9b6cb238ccb7cdc39b3c
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98669
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Pedro Silva <pedro.silva@collabora.com>
|
|
|
|
|
|
|
|
| |
Change-Id: I9be13d65d054320e473a9060ab4353bd08b476fb
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98671
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is for the benefit of a next-gen iOS app (without FakeSockets and
much of the current Online plumbing).
This is not supposed to cause any functional changes in normal Online
even if code is organised a bit differently.
Change-Id: Ib09a84ff5d3ba858cf3f50553d76757966af7ad2
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98655
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tor Lillqvist <tml@collabora.com>
|
|
|
|
|
|
|
|
| |
Change-Id: I94f08c6bc3cf6784c374282112463b3c00ba8607
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98622
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Dennis Francis <dennis.francis@collabora.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
instead of doing it on getting a 'setpart' back from core.
This is helpful in the following respects:
1. On new sheet insert, setpart is not sent by the core.
2. On sheet-switch, new sheet's messages (cursor) can arrive before we
get sheet-geometry-data because it is requested only after setpart
which is too late.
3. save almost all of the round-trip time for sheet-geometry data.
Change-Id: Id6464be72c2ff6e8dce006d8e7ba3141b8d6cf1b
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98621
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Dennis Francis <dennis.francis@collabora.com>
|
|
|
|
|
|
|
|
| |
Change-Id: I6ac7518bd46308fffd692be576d368b5e5067fd6
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98619
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
|
|
|
|
|
|
|
|
|
|
| |
Don't use 'Stub HTML Message' title...
Change-Id: I24953f1513fb5432e614958787b9d127ffa531a7
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98620
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
|
|
|
|
|
|
|
|
| |
Change-Id: Ie8486a496cd30f48f600d7acc7960674f3864b7d
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98527
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
|
|
|
|
|
|
|
|
|
|
| |
- happening on some browsers (black thick line)
Change-Id: I1f628f9b93caf3779564f0f4143a2cb599605699
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98529
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Pedro Silva <pedro.silva@collabora.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Instead of always checking the map._permission value, use the
isPermissionReadOnly and isPermissionEdit functions. Refactor
the code to use those.
Change-Id: I77ccd278b98a9318344c9b80c17be7cda09f00f8
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98592
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
|
|
|
|
|
|
|
|
|
| |
This also prepares the read-only with comments editing mode.
Change-Id: Ida643bb82bd54acff95531df1bd5d34534f5bc79
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98591
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
|
|
|
|
|
|
|
| |
Change-Id: Ia97036a60a135a538dcd733e1f6715025f534b3c
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98590
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
|
|
|
|
|
|
|
| |
Change-Id: Ic6cd15973a96d20895a1e0dc47fc33692b09ec92
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98589
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
|
|
|
|
|
|
|
|
|
|
| |
It is good practice, and those are needed when it is used in another
context.
Change-Id: I7811cbc6e072ed88ef2f0061994e7a18e797fd0d
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98588
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tor Lillqvist <tml@collabora.com>
|
|
|
|
|
|
|
|
|
|
| |
"Disable for now - pushed in error" says the comment added in
e11794da2551639e52d9f94867f6f35bae40a6c4.
Change-Id: Ia2b72bfe20f8ff16d74d1966d511c74eab3e4417
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98587
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tor Lillqvist <tml@collabora.com>
|
|
|
|
|
|
|
|
| |
Change-Id: I7d1ae4aef00c09ad6b02e34922520b48c2cd4641
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98557
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
I tried to enable SSL, because I didn't want to be insecure, as
stated by the message "insecure: ssl disabled". But for mobile
apps the whole communication is actually local and SSL no any
support option, so this is hopefully a better message.
Change-Id: I35c50772ed49910997b80e6f449483da21775120
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98552
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
|
|
|
|
|
|
|
|
| |
Change-Id: I1656d38fb8ad4213417b8c00c0c84540e0eacdbe
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98499
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tor Lillqvist <tml@collabora.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Move the code to the corresponding UI manager
initialization.
Change-Id: I68162f1a6ebb40b2bfbe85508173d9283a411f97
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98444
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
|
|
|
|
|
|
|
|
| |
Change-Id: I4682f00e7592f6aba5ef5a1e9bdd99339416c1e0
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98536
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
|
|
|
|
|
|
|
|
| |
Change-Id: I0ee6ee840c381263315305336e01f46dfdbcf1f4
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98525
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
|
|
|
|
|
|
|
|
| |
Change-Id: I3eb5afe1e67911b71e3152181c38eb2a2f9016f9
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98524
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
|
|
|
|
|
|
|
|
|
|
|
| |
and let the grid-resize lines be rendered in this fixed svg container
which makes their position-calculations a lot simpler.
Change-Id: I4b5834c6b00b1ee93b5a633b5cbba4b852608fd7
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98497
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Dennis Francis <dennis.francis@collabora.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
and this context object should be cached as a member only by the document layer.
All others must invoke getSplitPanesContext() on the map or the document layer
everytime it is needed. Otherwise it is a lot of effort to keep the
caches up-to-date on a sheet-switch etc.
Change-Id: I262b0f6a10060426d89460defc0d3f0a510b880e
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98496
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Dennis Francis <dennis.francis@collabora.com>
|
|
|
|
|
|
|
|
| |
Change-Id: Ic4b61de28fb20e24c7c7b97c89b3821682005814
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98495
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Dennis Francis <dennis.francis@collabora.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Explicit show/hide the close button if the page is loaded by
a WOPI Integrator.
Change-Id: I13d58bbbff03f283ed033a12a4489b610839748e
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98443
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
|
|
|
|
|
|
|
|
| |
Change-Id: I32f91d35fbf2332e133db7194fd795b9471af7b1
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98487
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
|
|
|
|
|
|
|
|
| |
Change-Id: I7d31c83b2438615b6fca9a9d8fb0f62a99728ddf
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98483
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
|
|
|
|
|
|
|
|
| |
Change-Id: I94af320ea9fbcf17e765518f33995032ac90a892
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98428
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
|
|
|
|
|
|
|
|
|
|
|
| |
We output the informative name we give ourselves to the thread anyway
which is much more useful.
Change-Id: I74721cc0014fa657adfb6ecea05bcd7f846421a4
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98477
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tor Lillqvist <tml@collabora.com>
|
|
|
|
|
|
|
|
|
|
|
| |
* be sure to wait from either the menu or the doc to appear to show the icon by adding the "editable" class on after onDocLayerInit and onWopiProps
* remove if (this.UserCanNotWriteRelative === false) as at that moment we still have no clue of its status
Change-Id: Icaaa921452b09d747be4fffab90bf1c93283718e
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/97128
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Pedro Silva <pedro.silva@collabora.com>
|
|
|
|
|
|
|
|
|
|
|
| |
The height input field is sometimes just disabled.
Might be a bug in the code.
Change-Id: I1d8dd5dabb1dee33606cab764b05657f4ce9df23
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98438
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
|
|
|
|
|
|
|
|
| |
Change-Id: I3d1763b171d7163d7a96343f0687a2d64c61e062
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98431
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
On Android and iOS, the window.LANG gets set to a value that uses
hyphens as separators, not underscores. Also, the script is included
for the Chinese variants. While at it, make the code more lenient:
Accept either separator and with script or not.
Change-Id: I5a5319572ec96892d22eb3b30586b5b8203bdee1
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98434
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tor Lillqvist <tml@collabora.com>
|
|
|
|
|
|
|
|
| |
Change-Id: If0b254eca495b57c8697ad17a53d0f7e952c6fba
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98430
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
|
|
|
|
|
|
|
|
| |
Change-Id: Idc747ac6ebb47b2ec2da086ba7e597d3bc396bf1
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98427
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
|
|
|
|
|
|
|
| |
Change-Id: I41a7715747cb22fe972547d4028c4c0e0899305e
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98426
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
|