No description
Find a file
Ashod Nakashian efe874f89c wsd: simplify shutdown and termination flagging
With the use of a single flag for both, the
logic is now less ambiguous, as we cannot have
termination flagged without also implying
shutting down.
The assertions are no longer needed.

Now that setting the termination flag
explicitly implies having the shut down flag
as well, the checks are simpler. We only
need to check that the shutdown is not set
to continue running as normal, since having
the termination flag must perfoce mean shut
down is also set, there is no need to check
both.

Change-Id: I99e22f5668385182b0594040a8e3354b55e74642
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2023-08-14 16:32:50 +02:00
.git-hooks
.github Revert "Add action for detecting code duplicates" 2023-08-11 11:45:21 +02:00
.gitpod-files
android CollaboraOnline#6546 enable automatic color in default paragraph style 2023-08-10 12:22:26 +02:00
browser When document layer is not ready and socket message is not delayed, message is lost. 2023-08-14 16:17:19 +03:00
common wsd: simplify shutdown and termination flagging 2023-08-14 16:32:50 +02:00
cypress_test Cypress updates. 2023-08-14 14:24:46 +03:00
debian Bump version to 23.05.2.2 2023-07-24 17:08:40 +02:00
docker docker: fix permission denied in archlinux 2023-08-04 07:58:56 +02:00
etc
fuzzer
gtk
indexing
ios CollaboraOnline#6546 enable automatic color in default paragraph style 2023-08-10 12:22:26 +02:00
kit wsd: simplify shutdown and termination flagging 2023-08-14 16:32:50 +02:00
kubernetes/helm fix(helm): update appVersion 2023-07-27 12:47:29 +05:30
man Rewrite coolwsd-generate-proof-key in C++ 2023-07-22 00:14:48 +02:00
net cid#322475 COPY_INSTEAD_OF_MOVE 2023-08-10 08:47:25 +02:00
scripts Poco: build for Android 2023-07-02 10:29:16 +02:00
test cid#318854 Unchecked return value 2023-08-09 13:39:23 +02:00
tools cid#318900 Out-of-bounds write 2023-08-14 12:31:55 +02:00
wasm
wsd wsd: simplify shutdown and termination flagging 2023-08-14 16:32:50 +02:00
.cirrus.yml
.clang-format
.clang-tidy
.gitignore
.gitpod.dockerfile
.gitpod.yml
.mailmap
AUTHORS
autogen.sh
browsersync-config.js
ChangeLog
CODE_OF_CONDUCT.md
config.h.in
config_version.h.in
configure.ac make: better clang detection 2023-08-03 08:40:20 +02:00
CONTRIBUTING.md
coolkitconfig-mobile.xcu add dark mode settings to coolkitconfig-mobile.xcu 2023-07-03 11:01:07 +02:00
coolkitconfig.xcu.in Disable CalcHiddenColRow by default 2023-06-28 11:31:30 +03:00
coolwsd-systemplate-setup
coolwsd-welcome.xml
coolwsd.init.rhel6
coolwsd.service
coolwsd.spec.in Rewrite coolwsd-generate-proof-key in C++ 2023-07-22 00:14:48 +02:00
coolwsd.xml.in admin: added retryInterval option in monitor config 2023-06-29 18:21:33 +02:00
COPYING
discovery.xml
favicon.ico
g
jsstress.in
Makefile.am gcov: support cleaning coverage data and document 2023-08-03 08:40:20 +02:00
NEWS
PROBLEMS
README.CONTRIBUTING.md
README.FILENOTICES.md
README.md Update README.md (remove outdated build status links) 2023-06-26 10:28:13 +02:00
SECURITY.md
trace-event.sample2.json

Open in Gitpod

Collabora Online

Master: Pull request policy

irc Telegram Forum Website L10n Gitpod Ready-to-Code

Your own private Office in the Cloud

Get in touch 💬

Key features

  • View and edit text documents, spreadsheets, presentations & more
  • Collaborative editing features
  • Works in any modern browser no plugin needed
  • Open Source primarily under the MPLv2 license. Some parts are under other open source licences, see e.g. browser/LICENSE.

Website

For many more details, build instructions, downloads and more please visit https://collaboraonline.github.io/

Developer assistance

Please ask your questions on any of the bridged IRC/Matrix/Telegram rooms

Join the conversation on our Discourse server at https://forum.collaboraonline.com/

Watch the tinderbox status (if it's green) at https://cpci.cbg.collabora.co.uk:8080/job/Tinderbox%20for%20online%20master%20against%20co-22.05/

Development bits

This project has several components:

  • wsd/
    • The Web Services Daemon - which accepts external connections
  • kit/
    • The client which lives in its own chroot and renders documents
  • common/
    • Shared code between these processes
  • browser/
    • The client side JavaScript component
  • test/
    • C++ based unit tests
  • cypress_test/
    • JavaScript based integration tests

Please consult the README files in the component's directory for more details:

iOS and Android apps

See the corresponding READMEs:

GitPod

Head over to https://collaboraonline.github.io/post/build-code/ select gitpod from the dropdown and follow the steps.

Interesting things to keep in mind:

  • Make sure your browser is not blocking windows/tabs from opening from the gitpod workspace URL (maybe add *.gitpod.io to your browser's whitelist)
    • The GitPod tasks will run automatically and further instructions will be printed out right in the terminal
    • VNC tab will open automatically if not just click in the left icon Remote explorer and click 6080. You will see a tab completly black, that's normal.
    • As mentioned in those instructions if you are not using the VS Code desktop and if you are only relying on your browser please:
      • Do not try to click the URL from the make run out put instead copy that URL and execute firefox [paste URL here]
      • Head over to the tab where the VNC is opened (black page), you will see Firefox opening there, maximize and have fun.
      • You can also run cypress tests via GitPod but you will need to use Firefox, for that just prepend CYPRESS_BROWSER="firefox" to the desired command. Example: CYPRESS_BROWSER="firefox" make check for every test or CYPRESS_BROWSER="firefox" make check-desktop spec=impress/scrolling_spec.js for one specific test on desktop

Enjoy!