Commit graph

373 commits

Author SHA1 Message Date
Ihor Hordiichuk
70c0add507 Translated using Weblate (Ukrainian)
Currently translated at 94.4% (576 of 610 strings)

Translated using Weblate (Ukrainian)

Currently translated at 100.0% (5 of 5 strings)

Translated using Weblate (Ukrainian)

Currently translated at 100.0% (110 of 110 strings)

Co-authored-by: Ihor Hordiichuk <igor_ck@outlook.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-app/uk/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ios-app/uk/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/uk/
Translation: Collabora Online/Android app
Translation: Collabora Online/UI
Translation: Collabora Online/iOS app
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I9201cee111136d70a486403974fbaa782f056fd2
2024-07-10 18:14:11 +02:00
Andras Timar
f10a21d6a4 Bump version to 24.04.5.1
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I1df8e3d7d684522d3bcb645bf2beab5d245c6e2b
2024-07-04 13:30:23 +02:00
Software In Interlingua
9a716f7d8c Translated using Weblate (Interlingua)
Currently translated at 0.2% (1 of 478 strings)

Translated using Weblate (Interlingua)

Currently translated at 80.0% (4 of 5 strings)

Translated using Weblate (Interlingua)

Currently translated at 9.0% (2 of 22 strings)

Translated using Weblate (Interlingua)

Currently translated at 58.1% (64 of 110 strings)

Co-authored-by: Software In Interlingua <softinterlingua@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-app/ia/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-lib/ia/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/ia/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ios-app/ia/
Translation: Collabora Online/Android app
Translation: Collabora Online/Android lib
Translation: Collabora Online/Help
Translation: Collabora Online/iOS app
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I251dce935821abb3d11b74ba03e9ca5437b49f47
2024-06-30 15:17:12 +02:00
Andras Timar
3e771856a4 Bump version to 24.04.4.1
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Iff5456207adb5bf464290cb0c51acbf6de30b459
2024-06-05 13:51:02 +02:00
Skyler
1d436f0ada Make Collabora Office folder visible in iCloud
Previously the Collabora Office folder was hidden in iCloud. This was
normally fine as you could only create documents outside it, however
creating documents from the "Recents" tab still created them inside the
folder, making it impossible to later find the documents.

Showing the folder fixes this issue.

Signed-off-by: Skyler <skyler.grey@collabora.com>
Change-Id: I3ad9f2708934006fe25e8aa64af3c8f0378ab267
2024-06-04 16:06:13 +02:00
Skyler
5593f12517 iOS: Add declarations for APIs
Some APIs require declaration of reason, and after May 1st this would
prevent us from uploading new builds. This commit adds the required
compliance information to explain why we use the APIs we do.

Please see https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_use_of_required_reason_api
for more details on APIs which require reasoning to use

Signed-off-by: Skyler <skyler.grey@collabora.com>
Change-Id: Ie6b05b754b2f3fd8e3e9b49d8e3b0581f63a8a1d
2024-06-04 16:06:13 +02:00
Skyler
db68ed7cd6 iOS: Change document editing roles & ranks
The ranks in iOS are "Owner", "Default", "Alternate" and "None". We used
"Owner" for all of the OASIS formats, which are not defined by us, but
for .fodt which is specified as "com.collabora.xyz" we had "Default".

Similarly, we only open PDFs in "Read Only" mode so should be classified
as a viewer rather than an editor.

Signed-off-by: Skyler <skyler.grey@collabora.com>
Change-Id: I411d9b26e7f4a70ed7cc36974459fdf5c89a6c22
2024-06-04 16:06:13 +02:00
Darshan Upadhyay
3a3518b454 Translated using Weblate (Hindi)
Currently translated at 26.5% (156 of 588 strings)

Translated using Weblate (Hindi)

Currently translated at 20.0% (1 of 5 strings)

Co-authored-by: Darshan Upadhyay <darshan.upadhyay1188@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ios-app/hi/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/hi/
Translation: Collabora Online/UI
Translation: Collabora Online/iOS app
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I5cb618bd36c160658d61cf70cb6f6b51d7be628c
2024-05-21 16:13:24 +02:00
Caolán McNamara
ff02af21d3 add Async DNS implementation
Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Change-Id: I577af4280ac5a0a4389bb11ac6c531d846a196d1
2024-05-17 19:47:09 +01:00
Michael Meeks
ebb4eda3df Move common/MessageQueue.cpp -> kit/KitQueue.cpp.
This is not common code, it's used only in the Kit.

Rename TileQueue -> KitQueue as well as unhelpful member variable naming.

Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
Change-Id: If158597f99f302cbc27e8eab139972f57a2fc3bb
2024-05-09 09:50:08 +01:00
Aron Budea
246e87fea2 wsd: Unconditionally compile support-key-enabled code paths
Signed-off-by: Aron Budea <aron.budea@collabora.com>
Change-Id: Iec477c223f2dc75e0be8b472c8439ca9311d6aae
2024-04-14 01:23:00 +01:00
Andras Timar
9ce1b32d05 Bump version to 24.04.1.2
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I44be7be99a902b2da46aff26a74b3cf8189fdc8d
2024-04-07 14:11:38 +02:00
Jaume Pujantell
3ba713aabf add isMobileApp util function to reduce ifdefs
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
2024-03-20 09:13:00 +01:00
Michael Meeks
f406a8c901 ios: blind project file edit to include KitWebSocket.cpp.
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
Change-Id: Id5f6287b20ad35a6505dfeace6a9cdcc9e551bc7
2024-03-06 20:56:55 -05:00
Ashod Nakashian
7570dd299c wsd: use RequestVettingStation for async loading
This replaces the synchronous loading logic
with the new asynchronous one.

Change-Id: I20fd7903cffbbd7c524d8051295113439ef75d5b
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2024-02-24 14:09:22 -05:00
Ashod Nakashian
5a82c36680 wsd: move ClientRequestDispatcher to own file
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>
2024-02-21 20:13:39 -05:00
Aron Budea
c0b65318f2 Bump baseline to C++20
Signed-off-by: Aron Budea <aron.budea@collabora.com>
Change-Id: I8201175e83eba549f22aaeb935cda46a712ec492
2024-02-21 18:28:47 +01:00
Andras Timar
2a43eb3236 Translated using Weblate (Persian)
Currently translated at 100.0% (5 of 5 strings)

Translated using Weblate (Arabic)

Currently translated at 100.0% (5 of 5 strings)

Translated using Weblate (Malayalam)

Currently translated at 100.0% (5 of 5 strings)

Translated using Weblate (Vietnamese)

Currently translated at 100.0% (5 of 5 strings)

Translated using Weblate (English (South Africa))

Currently translated at 100.0% (5 of 5 strings)

Translated using Weblate (English (New Zealand))

Currently translated at 100.0% (5 of 5 strings)

Translated using Weblate (Upper Sorbian)

Currently translated at 100.0% (5 of 5 strings)

Translated using Weblate (Albanian)

Currently translated at 100.0% (5 of 5 strings)

Co-authored-by: Andras Timar <andras.timar@collabora.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ios-app/ar/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ios-app/en_NZ/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ios-app/en_ZA/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ios-app/fa/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ios-app/hsb/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ios-app/ml/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ios-app/sq/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ios-app/vi/
Translation: Collabora Online/iOS app
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I7c246f57c83c6ca8179ba7c1760fb60f7ecaa6e0
2024-01-31 11:47:59 +01:00
Besnik Bleta
74ee22a454 Translated using Weblate (Albanian)
Currently translated at 100.0% (110 of 110 strings)

Translated using Weblate (Albanian)

Currently translated at 100.0% (5 of 5 strings)

Co-authored-by: Besnik Bleta <besnik@programeshqip.org>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-app/sq/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ios-app/sq/
Translation: Collabora Online/Android app
Translation: Collabora Online/iOS app
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I3d5fedc3e50895b7cbe34a38a088b47eb8d9cbf9
2024-01-31 11:47:59 +01:00
Andras Timar
83dd570538 Translated using Weblate (Japanese)
Currently translated at 100.0% (5 of 5 strings)

Translated using Weblate (Hebrew)

Currently translated at 100.0% (5 of 5 strings)

Translated using Weblate (Finnish)

Currently translated at 100.0% (5 of 5 strings)

Translated using Weblate (Welsh)

Currently translated at 100.0% (5 of 5 strings)

Translated using Weblate (Ukrainian)

Currently translated at 100.0% (5 of 5 strings)

Translated using Weblate (Turkish)

Currently translated at 100.0% (5 of 5 strings)

Translated using Weblate (Swedish)

Currently translated at 100.0% (5 of 5 strings)

Translated using Weblate (Slovenian)

Currently translated at 100.0% (5 of 5 strings)

Translated using Weblate (Slovak)

Currently translated at 100.0% (5 of 5 strings)

Translated using Weblate (Russian)

Currently translated at 100.0% (5 of 5 strings)

Translated using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (5 of 5 strings)

Translated using Weblate (Portuguese)

Currently translated at 100.0% (5 of 5 strings)

Translated using Weblate (Polish)

Currently translated at 100.0% (5 of 5 strings)

Translated using Weblate (Norwegian Nynorsk)

Currently translated at 100.0% (5 of 5 strings)

Translated using Weblate (Korean)

Currently translated at 100.0% (5 of 5 strings)

Translated using Weblate (Kabyle)

Currently translated at 100.0% (5 of 5 strings)

Translated using Weblate (Italian)

Currently translated at 100.0% (5 of 5 strings)

Translated using Weblate (Indonesian)

Currently translated at 100.0% (5 of 5 strings)

Translated using Weblate (English (Australia))

Currently translated at 100.0% (5 of 5 strings)

Translated using Weblate (Icelandic)

Currently translated at 100.0% (5 of 5 strings)

Translated using Weblate (Greek)

Currently translated at 100.0% (5 of 5 strings)

Translated using Weblate (German)

Currently translated at 100.0% (5 of 5 strings)

Translated using Weblate (Galician)

Currently translated at 100.0% (5 of 5 strings)

Translated using Weblate (French)

Currently translated at 100.0% (5 of 5 strings)

Translated using Weblate (Esperanto)

Currently translated at 100.0% (5 of 5 strings)

Translated using Weblate (English (United Kingdom))

Currently translated at 100.0% (5 of 5 strings)

Translated using Weblate (Dutch)

Currently translated at 100.0% (5 of 5 strings)

Translated using Weblate (Danish)

Currently translated at 100.0% (5 of 5 strings)

Translated using Weblate (Czech)

Currently translated at 100.0% (5 of 5 strings)

Translated using Weblate (Croatian)

Currently translated at 100.0% (5 of 5 strings)

Translated using Weblate (Chinese (Traditional))

Currently translated at 100.0% (5 of 5 strings)

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (5 of 5 strings)

Translated using Weblate (Bulgarian)

Currently translated at 100.0% (5 of 5 strings)

Translated using Weblate (Bosnian)

Currently translated at 100.0% (5 of 5 strings)

Translated using Weblate (Basque)

Currently translated at 100.0% (5 of 5 strings)

Translated using Weblate (Afrikaans)

Currently translated at 100.0% (5 of 5 strings)

Translated using Weblate (Hungarian)

Currently translated at 100.0% (5 of 5 strings)

Translated using Weblate (Asturian)

Currently translated at 100.0% (5 of 5 strings)

Translated using Weblate (Catalan)

Currently translated at 100.0% (5 of 5 strings)

Translated using Weblate (Spanish)

Currently translated at 100.0% (5 of 5 strings)

Translated using Weblate (Norwegian Bokmål)

Currently translated at 100.0% (5 of 5 strings)

Co-authored-by: Andras Timar <andras.timar@collabora.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ios-app/af/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ios-app/ast/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ios-app/bg/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ios-app/bs/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ios-app/ca/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ios-app/cs/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ios-app/cy/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ios-app/da/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ios-app/de/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ios-app/el/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ios-app/en_AU/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ios-app/en_GB/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ios-app/eo/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ios-app/es/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ios-app/eu/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ios-app/fi/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ios-app/fr/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ios-app/gl/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ios-app/he/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ios-app/hr/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ios-app/hu/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ios-app/id/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ios-app/is/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ios-app/it/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ios-app/ja/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ios-app/kab/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ios-app/ko/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ios-app/nb_NO/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ios-app/nl/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ios-app/nn/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ios-app/pl/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ios-app/pt/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ios-app/pt_BR/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ios-app/ru/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ios-app/sk/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ios-app/sl/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ios-app/sv/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ios-app/tr/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ios-app/uk/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ios-app/zh_Hans/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ios-app/zh_Hant/
Translation: Collabora Online/iOS app
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ia0de0d87f779abdce16d7612e9b7f3f4e6643a9b
2024-01-31 11:47:59 +01:00
Software In Interlingua
4bf3374a1d Added translation using Weblate (Interlingua)
Added translation using Weblate (Interlingua)

Co-authored-by: Software In Interlingua <softinterlingua@gmail.com>
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ib83134b3fb6931bfc115036f6e3e8f44ec9077f4
2024-01-31 11:47:59 +01:00
Andras Timar
49c0565fb0 update iOS specific translatable strings
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I7b22d0af41b7e75dff7239b2a6c57e8b785b2f5c
2024-01-31 10:26:02 +01:00
Andras Timar
ce5ffecce8 iOS app version in Settings
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ia33c6b25bdfbbe201b4aad74441944039d7906bb
2024-01-31 10:26:02 +01:00
Andras Timar
a04b69b393 Bump version to 23.05.8 for iOS app
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I5143f0dce43a9e324a2499c2e1defcebbc3a94fe
2024-01-30 10:25:36 +01:00
MOHAMED IRFAN
41faa50420 Added translation using Weblate (Javanese)
Added translation using Weblate (Javanese)

Co-authored-by: MOHAMED IRFAN <MD.irfan@allautopartstore.com>
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I2045315806d4467df745ff3c16da5d9e8ad53b63
2024-01-17 11:02:08 +01:00
Patrick Luby
73a8f533af Refactor conversion of exported file's URL to system path
File names with spaces or non-ASCII characters are encoded in the URL so
use -[NSURL path] to properly decode and convert the URL to its system
path.

Signed-off-by: Patrick Luby <guibomacdev@gmail.com>
Change-Id: I156bde25e299f1fa42f02c8516c6603eadfe0691
2024-01-10 14:31:46 +01:00
Patrick Luby
c4737dfc58 Implement LOK_CALLBACK_EXPORT_FILE for download requests in the iOS app
Have the document's DocumentViewController display a save dialog and
export a copy of the file written by the LibreOffice code.

Signed-off-by: Patrick Luby <guibomacdev@gmail.com>
Change-Id: Idf8136bc321893f18010eb74f9c39b21f0f698d5
2024-01-10 14:31:46 +01:00
Andras Timar
fc63b1218c Bump version to 23.05.7 for iOS app
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I2e10552fdcfa0c73fbc6593fe11ec5425e042ab4
2024-01-04 20:32:06 +01:00
Patrick Luby
8a9f8f0127 Reenable debugging from Safari
The new WKWebView.inspectable property must be set to YES in order
for Safari to connect to a debug version of the iOS app whether the
app is running on an iOS device or on macOS.

Signed-off-by: Patrick Luby <guibomacdev@gmail.com>
Change-Id: I873a25a149e3ec967ab0775ba8105ecce26f07ac
2024-01-04 09:24:02 +01:00
Patrick Luby
bb6fea0bea Set window.savedUIState to false in iOS app
When building the iOS app, the %SAVED_UI_STATE% does not get
replaced with a quoted string during the build and the resulting
unquoted string causes document loading to stop.

Also, eliminate warnings when running in Xcode by adding missing
CFBundleTypeRole entries in the iOS app's Info.plist.

Signed-off-by: Patrick Luby <guibomacdev@gmail.com>
Change-Id: Ie398955241a078be45af28e54c49387ff673870b
2024-01-01 09:59:40 +01:00
Jaume Pujantell
8f178ef6cd extract some functions to extra files for in process mode
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
2023-12-18 10:34:10 +00:00
Andras Timar
e29934b944 Bump version to 23.05.6.1
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: If3f6bd3a6b1418d0d1f96308a9356549922ba972
2023-12-04 16:39:02 +01:00
Michael Meeks
b45f4b8f93 spdx: improve machine and human readability of headers.
Change-Id: I71f1421debf31b8c6cd0fd75c0cb45e2563b8a5a
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
2023-11-20 14:30:02 +00:00
DPE
bbb05dcff4 Translated using Weblate (Norwegian Bokmål)
Currently translated at 63.3% (340 of 537 strings)

Translated using Weblate (Norwegian Bokmål)

Currently translated at 61.6% (331 of 537 strings)

Translated using Weblate (Norwegian Bokmål)

Currently translated at 100.0% (5 of 5 strings)

Translated using Weblate (Norwegian Bokmål)

Currently translated at 59.4% (319 of 537 strings)

Translated using Weblate (Norwegian Bokmål)

Currently translated at 100.0% (22 of 22 strings)

Co-authored-by: DPE <danpe_jobo@hotmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-lib/nb_NO/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ios-app/nb_NO/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/nb_NO/
Translation: Collabora Online/Android lib
Translation: Collabora Online/UI
Translation: Collabora Online/iOS app
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Iaabb7ffb88433e624d58dad43f3fbadd5aacd681
2023-11-09 10:56:54 +01:00
Andras Timar
1fea2274fb Bump version to 23.05.5.1
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I54981e3b8ff71be9d47f5ce39ec435ea7a382ab3
2023-10-11 20:29:43 +02:00
Caolán McNamara
654cb1ae05 add DeltaSimd to android/iOS
Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Change-Id: Icad55a047ea505d81e50ae634e38d8301fb3b21e
2023-09-25 16:55:04 +01:00
Caolán McNamara
ff2bd955c8 add Simd.[c|h]pp to ios build
Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Change-Id: I03971f023ba3bb7c51872fd4179da8b5fb8128a1
2023-09-25 16:55:04 +01:00
Andras Timar
938b8e318b Bump iOS version to 23.05.4
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ic77f62cd723dc3d03d7f95e8a7d6f9676646d980
2023-09-12 08:46:25 +02:00
Patrick Luby
805d0cec13 Handle special "direct-" formats
Signed-off-by: Patrick Luby <plubius@neooffice.org>
Change-Id: I73c2de73d60a444b6cdf3817d3e90e245f239075
2023-09-12 00:49:18 +02:00
Patrick Luby
e7bd50c967 Fix minor iOS build and runtime problems
This patch contains changes to iOS and/or Android code only.

Signed-off-by: Patrick Luby <plubius@neooffice.org>
Change-Id: Ia1461b0b3ca374b682494a7e2e900b832c85ea9d
2023-09-12 00:49:18 +02:00
Andras Timar
85ee03f98f CollaboraOnline#6546 enable automatic color in default paragraph style
use the xml token "use-window-font-color" to toggle auto color on.

https: //github.com/CollaboraOnline/online/issues/6546
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ib14b144ce6f593114a8130f5816f479d5cd4fe85
2023-08-10 12:22:26 +02:00
Aron Budea
bfdac84db2 Bump version to 23.05.2.1
Signed-off-by: Aron Budea <aron.budea@collabora.com>
Change-Id: I5716d9d6556f45185b7b78fa05277403855d0353
2023-07-20 13:32:00 +02:00
Andras Timar
d0149b1426 Bump version to 23.05.1.1
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I39740fe9b1c30c0a56056435d58eabd3121698bf
2023-06-23 18:55:31 +02:00
Patrick Luby
12213d7ec5 Fix iOS build breakages by adding http::Request to iOS build
Still needed to add a bunch of #if !MOBILAPP to disable all of the
Online server's unit testing classes so that the iOS app won't crash
when opening a document.

TODO: the iOS app will not accept text input at all. Is some code
unexpectedly consuming message data sent over the mobile fake socket?

Signed-off-by: Patrick Luby <plubius@neooffice.org>
Change-Id: Ie874ee8e452188a7b4cdf6d5f87708e5ed9b0235
2023-06-15 19:01:42 +01:00
Patrick Luby
094183e279 Fix issue #5876 by closing the document if the content process dies
Signed-off-by: Patrick Luby <plubius@neooffice.org>
Change-Id: I6fc887dd30328395d424a6371ba3603d2c09b607
2023-05-16 09:43:29 +02:00
Patrick Luby
48ddd7c589 Related to issue #5876: don't autorelease large NSStrings
The +[NSString string...] selectors won't be released until
an enclosing autorelease pool is released. But since we use
ARC, we don't know where the compiler has inserted the
autorelease pool so JS messages may not be released until
after a very long time potentially causing an out of memory
crash. So, use the -[[NSString alloc] init...] selectors
instead.

Signed-off-by: Patrick Luby <plubius@neooffice.org>
Change-Id: Iff0be8ee5b322347e746dc030948b82d117c43a1
2023-05-16 09:43:29 +02:00
Patrick Luby
aad344f8a5 Suppress or fix all iOS compiler warnings without changing any code
Signed-off-by: Patrick Luby <plubius@neooffice.org>
Change-Id: I3a7693ad1d4a7b4873e462a26a9628454884c8c2
2023-05-16 09:43:29 +02:00
Patrick Luby
94469d7b61 Replace deprecated calls
Also, don't set webView.configuration.userContentController to nil as it
generates a "nil not allowed" compiler warning.

Signed-off-by: Patrick Luby <plubius@neooffice.org>
Change-Id: Ibb49228a65f102fa6d97d4e5affafae8ad528c0d
2023-05-16 09:43:29 +02:00
Patrick Luby
0ffa5dc7c1 Reserve the maxiumum possible length after encoding
This avoids an excessive number of reallocations. This is overkill
for non-binary messages, but most non-binary messages appear to be
under 1K bytes in length. In contrast, it appears that binary
messags routinely use at least 75% of the maximum possible length.

Signed-off-by: Patrick Luby <plubius@neooffice.org>
Change-Id: I522fe74bc355a78b6b561ec9475a1afb27cf54b2
2023-05-16 09:43:29 +02:00
Patrick Luby
9b2a3d8cc7 Related to issue #5876: reduce excessive copying of message data
Many .png tile messages are very large so avoid using
-[NSString stringByAppendingString:] calls to create the JavaScript
string.

Signed-off-by: Patrick Luby <plubius@neooffice.org>
Change-Id: I8163ef93da315122f938c9ed2b66b49a443f283f
2023-05-16 09:43:29 +02:00