Android build fails due to use of std::filesystem and
c++20 features like string::starts_with.
cmake requires c++2a flag
std::filesystem requires ndk 22+
Signed-off-by: Jaume Pujantell <jaume.pujantell@collabora.com>
Change-Id: Ibba1e5e76a32ba5526d9d7111b810a650f372a02
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 replaces the synchronous loading logic
with the new asynchronous one.
Change-Id: I20fd7903cffbbd7c524d8051295113439ef75d5b
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
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>
Currently translated at 100.0% (573 of 573 strings)
Translated using Weblate (Welsh)
Currently translated at 100.0% (22 of 22 strings)
Translated using Weblate (Welsh)
Currently translated at 99.3% (569 of 573 strings)
Translated using Weblate (Welsh)
Currently translated at 59.0% (13 of 22 strings)
Translated using Weblate (Welsh)
Currently translated at 100.0% (110 of 110 strings)
Co-authored-by: Rhoslyn Prys <rprys@posteo.net>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-app/cy/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-lib/cy/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/cy/
Translation: Collabora Online/Android app
Translation: Collabora Online/Android lib
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I1fd5c876897b291e9ec7ff035f480edde9188c3d
Currently translated at 100.0% (467 of 467 strings)
Translated using Weblate (Croatian)
Currently translated at 100.0% (467 of 467 strings)
Translated using Weblate (Croatian)
Currently translated at 100.0% (554 of 554 strings)
Translated using Weblate (Croatian)
Currently translated at 100.0% (110 of 110 strings)
Co-authored-by: Milo Ivir <mail@milotype.de>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-app/hr/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/hr/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/hr/
Translation: Collabora Online/Android app
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I4caa22b84638934e6f8474cbdad5ecd9e5ffc51e
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
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
RecentFilesAdapter.java:76: Error: Value must be ≥ 0 [Range]
filename = cursor.getString(cursor.getColumnIndex(OpenableColumns.DISPLAY_NAME));
RecentFilesAdapter.java:97: Error: Value must be ≥ 0 [Range]
length = cursor.getLong(cursor.getColumnIndex(OpenableColumns.SIZE));
file_explorer_grid_item.xml:42: Error: Inconsistent alignment specification between textAlignment and gravity attributes: was center_vertical, expected center_horizontal [RtlCompat]
android:textAlignment="center"
Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: I663a89b0ecce03b067e1fa216a030a19fa578da5
- update gradle plugin and version
- use mavenCentral instead of jcenter
Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: Iffe41bd7d5ff3e6a6d1acbe70c25e21e5a856548
- priortize theme settings from SettingsActivity over savedState
- fix darkmode toggle button does not behave as expected
Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: Idb884cba3af335edc0936736f35610e91cfd64e6
- It exits LOActivity when lokit thread finishes using lokit_main_mutex.
But if we edit document and exit without saving lokit thread gets
finished but COOLWSD is still running to clean up the docBrokers.
It takes some time to clean up this docBrokers.
We need to exit the LOActivity only after COOLWSD is finished
- for that I have added coolwsdRunningMutex again
- it was removed in ad32888d7c
Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: Ic9785f5aa55deafbac98efc4013bd3376d0ba62d
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
std::make_shared and std::make_unique
are superior to explict smart pointer
construction. Where we have private
constructors, we can't use them.
Change-Id: I492122f58e958113c6e6d31445c6614ad98c89aa
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
- android will not even show a popup
- for some reason after sdk 33 checkSelfPermission returns PackageManager.PERMISSION_DENIED for WRITE_EXTERNAL_STORAGE even if it given permission implicitly by android
Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: If50df0df0322d0bddf30d5ff5fb13ab9c010ed87
Currently translated at 20.0% (22 of 110 strings)
Translated using Weblate (Persian)
Currently translated at 1.8% (9 of 499 strings)
Translated using Weblate (Persian)
Currently translated at 15.4% (17 of 110 strings)
Co-authored-by: HM <goodlinuxuser@chmail.ir>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-app/fa/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/fa/
Translation: Collabora Online/Android app
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I06ca427ea45a5931dac5a4bbd40f58192fb1ea58
Currently translated at 4.5% (5 of 110 strings)
Translated using Weblate (Persian)
Currently translated at 1.8% (2 of 110 strings)
Translated using Weblate (Persian)
Currently translated at 0.9% (1 of 110 strings)
Added translation using Weblate (Persian)
Co-authored-by: HM <goodlinuxuser@chmail.ir>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-app/fa/
Translation: Collabora Online/Android app
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Icefa2f4b73cfe3e40e82aa7c51ddba5990c7feaa
Currently translated at 99.0% (109 of 110 strings)
Translated using Weblate (Albanian)
Currently translated at 0.0% (0 of 110 strings)
Translated using Weblate (Albanian)
Currently translated at 100.0% (22 of 22 strings)
Translated using Weblate (Albanian)
Currently translated at 50.1% (229 of 457 strings)
Translated using Weblate (Albanian)
Currently translated at 15.0% (69 of 457 strings)
Translated using Weblate (Albanian)
Currently translated at 96.8% (493 of 509 strings)
Translated using Weblate (Albanian)
Currently translated at 14.6% (67 of 457 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/android-lib/sq/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/sq/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/sq/
Translation: Collabora Online/Android app
Translation: Collabora Online/Android lib
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I7c421af6ce5301b420b3422984e0aba7f544133c