Skip to content

Commit 0f21c09

Browse files
committed
2 parents f1e09d7 + 8022789 commit 0f21c09

24 files changed

+2784
-326
lines changed

src/collaborationmanager.cpp

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ CollaborationManager::~CollaborationManager()
2222
}
2323
}
2424
/*!
25-
* \brief start ethersync client process
25+
* \brief start teamtype client process
2626
* \param folder directory in which to start
2727
* \return successful start
2828
*/
@@ -77,7 +77,7 @@ bool CollaborationManager::isClientRunning()
7777
}
7878
/*!
7979
* \brief start host server
80-
* ethersync share --directory <folder>
80+
* teamtype share --directory <folder>
8181
* \param folder directory which is synced
8282
* \return successful start
8383
*/
@@ -112,7 +112,7 @@ bool CollaborationManager::startHostServer(const QString folder)
112112
}
113113
/*!
114114
* \brief start guest server
115-
* ethersync join <code> --directory <folder>
115+
* teamtype join <code> --directory <folder>
116116
* \param folder directory which is synced, should be empty and will be filled by the host
117117
* \param code the code provided by the host
118118
* \return successful start
@@ -126,7 +126,7 @@ bool CollaborationManager::startGuestServer(const QString folder,const QString &
126126
const QString binPath=m_conf->ce_toolPath;
127127
QString folderName=m_conf->ce_clientPath;
128128
QDir dir(folderName);
129-
dir.mkpath(".ethersync");
129+
dir.mkpath(".teamtype");
130130
if(!binPath.isEmpty()){
131131
// run binPath share folder
132132
collabServerProcess = new QProcess(this);
@@ -172,10 +172,10 @@ bool CollaborationManager::isServerRunning()
172172
return (collabServerProcess!=nullptr);
173173
}
174174
/*!
175-
* \brief check if file is in a folder with .ethersync subfolder
175+
* \brief check if file is in a folder with .teamtype subfolder
176176
* This hints at a running server
177177
* \param filename
178-
* \return folder was already used with ethersync
178+
* \return folder was already used with teamtype
179179
*/
180180
bool CollaborationManager::isFileLocatedInCollabFolder(const QString &filename)
181181
{
@@ -185,14 +185,14 @@ bool CollaborationManager::isFileLocatedInCollabFolder(const QString &filename)
185185
return fi.absolutePath()==m_collabClientFolder;
186186
}
187187
QDir dir=fi.absoluteDir();
188-
if(dir.exists(".ethersync")){
188+
if(dir.exists(".ethersync")||dir.exists(".teamtype")){
189189
// client is not running, but server might be
190190
return true;
191191
}
192192
return false;
193193
}
194194
/*!
195-
* \brief reset starting check for ethersync
195+
* \brief reset starting check for teamtype
196196
* If starting failed once, all further attempts are moot
197197
* Here this check is reset, e.g. if user changed path in settings
198198
*/
@@ -450,12 +450,12 @@ void CollaborationManager::readyCollabServerStandardOutput()
450450
if(buffer.contains("Connected to peer:")){
451451
emit guestServerSuccessfullyStarted();
452452
}
453-
if(buffer.contains("\tethersync join")){
453+
if(buffer.contains("\tteamtype join")){
454454
// extract code
455455
QStringList lines= buffer.split("\n", Qt::SkipEmptyParts);
456456
for(QString line : lines){
457457
line=line.trimmed();
458-
if(line.startsWith("ethersync join")){
458+
if(line.startsWith("teamtype join")){
459459
m_code=line.mid(15);
460460
emit hostServerSuccessfullyStarted();
461461
}

src/collaborationmanager.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ private slots:
6161
ConfigManager *m_conf=nullptr;
6262
LatexDocuments *m_docs=nullptr;
6363

64-
QProcess *collabServerProcess = nullptr; /// for host server: ethersync share
65-
QProcess *collabClientProcess = nullptr; /// for client: ethersync client
64+
QProcess *collabServerProcess = nullptr; /// for host server: teamtype share
65+
QProcess *collabClientProcess = nullptr; /// for client: teamtype client
6666

6767
bool m_startingEthersyncFailed = false; /// if command start fails, all further attempts are moot
6868
QString m_errorMessage; /// last error message

src/configdialog.ui

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@
105105
</size>
106106
</property>
107107
<property name="currentIndex">
108-
<number>8</number>
108+
<number>16</number>
109109
</property>
110110
<widget class="QWidget" name="pageGeneral">
111111
<layout class="QVBoxLayout">
@@ -137,8 +137,8 @@
137137
<rect>
138138
<x>0</x>
139139
<y>0</y>
140-
<width>808</width>
141-
<height>696</height>
140+
<width>550</width>
141+
<height>520</height>
142142
</rect>
143143
</property>
144144
<layout class="QVBoxLayout" name="verticalLayout">
@@ -738,8 +738,8 @@
738738
<rect>
739739
<x>0</x>
740740
<y>0</y>
741-
<width>837</width>
742-
<height>608</height>
741+
<width>568</width>
742+
<height>542</height>
743743
</rect>
744744
</property>
745745
<layout class="QVBoxLayout" name="verticalLayout_17">
@@ -1584,8 +1584,8 @@ Then you can select a new shortcut by one of the following ways:
15841584
<rect>
15851585
<x>0</x>
15861586
<y>0</y>
1587-
<width>1128</width>
1588-
<height>526</height>
1587+
<width>637</width>
1588+
<height>414</height>
15891589
</rect>
15901590
</property>
15911591
<layout class="QGridLayout">
@@ -2043,8 +2043,8 @@ Then you can select a new shortcut by one of the following ways:
20432043
<rect>
20442044
<x>0</x>
20452045
<y>0</y>
2046-
<width>1128</width>
2047-
<height>1641</height>
2046+
<width>1086</width>
2047+
<height>1329</height>
20482048
</rect>
20492049
</property>
20502050
<layout class="QVBoxLayout" name="verticalLayout_8">
@@ -3337,8 +3337,8 @@ them here.</string>
33373337
<rect>
33383338
<x>0</x>
33393339
<y>0</y>
3340-
<width>622</width>
3341-
<height>1030</height>
3340+
<width>1086</width>
3341+
<height>783</height>
33423342
</rect>
33433343
</property>
33443344
<layout class="QVBoxLayout" name="verticalLayout_9">
@@ -4021,8 +4021,8 @@ Examples:
40214021
<rect>
40224022
<x>0</x>
40234023
<y>0</y>
4024-
<width>449</width>
4025-
<height>280</height>
4024+
<width>1096</width>
4025+
<height>419</height>
40264026
</rect>
40274027
</property>
40284028
<layout class="QVBoxLayout" name="verticalLayout_13">
@@ -4297,8 +4297,8 @@ Examples:
42974297
<rect>
42984298
<x>0</x>
42994299
<y>0</y>
4300-
<width>546</width>
4301-
<height>629</height>
4300+
<width>1086</width>
4301+
<height>486</height>
43024302
</rect>
43034303
</property>
43044304
<layout class="QVBoxLayout" name="verticalLayout_16">
@@ -4800,8 +4800,8 @@ Note: Changing this setting will only affect documents that are opened afterward
48004800
<rect>
48014801
<x>0</x>
48024802
<y>0</y>
4803-
<width>430</width>
4804-
<height>203</height>
4803+
<width>1096</width>
4804+
<height>419</height>
48054805
</rect>
48064806
</property>
48074807
<layout class="QGridLayout">
@@ -5066,7 +5066,7 @@ Note: Changing this setting will only affect documents that are opened afterward
50665066
</property>
50675067
<item>
50685068
<property name="text">
5069-
<string>ethersync</string>
5069+
<string>teamtype</string>
50705070
</property>
50715071
</item>
50725072
</widget>

src/configmanager.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -714,7 +714,7 @@ ConfigManager::ConfigManager(QObject *parent): QObject (parent),
714714

715715
// collaborative editing
716716
registerOption("CollaborativeEditing/Tool",&ce_tool,0,&pseudoDialog->comboBoxCollaborativeTool);
717-
registerOption("CollaborativeEditing/ToolPath",&ce_toolPath,"ethersync",&pseudoDialog->lineEditCollaborativeToolPath);
717+
registerOption("CollaborativeEditing/ToolPath",&ce_toolPath,"teamtype",&pseudoDialog->lineEditCollaborativeToolPath);
718718
const QString pth=QStandardPaths::writableLocation(QStandardPaths::DocumentsLocation);
719719
registerOption("CollaborativeEditing/ClientFolder",&ce_clientPath,pth+QDir::separator()+tr("txsCollaborationFolder"),&pseudoDialog->lineEditCollaborativeClientFolder);
720720
registerOption("CollaborativeEditing/UserName",&ce_userName,"txs",&pseudoDialog->lineEditCollaborativeUserName);

src/qcodeedit/lib/qeditor.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6457,7 +6457,7 @@ void QEditor::paintMarks(){
64576457
}
64586458
/*!
64596459
* \brief set external curso
6460-
* \param userId given by ethersync
6460+
* \param userId given by teamtype
64616461
* \param c cursor to set
64626462
*/
64636463
void QEditor::setExternalCursor(const QString &userId, QDocumentCursor &c)

src/texstudio.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6764,7 +6764,7 @@ void Texstudio::connectCollabServer()
67646764
if (ok && !text.isEmpty()){
67656765
// trim join code
67666766
text=text.trimmed();
6767-
if(text.startsWith("ethersync join ")) text=text.mid(15);
6767+
if(text.startsWith("teamtype join ")) text=text.mid(15);
67686768
// start server
67696769
const QString folderName=configManager.ce_clientPath;
67706770
collabManager->startGuestServer(folderName,text);
@@ -6868,7 +6868,7 @@ void Texstudio::updateCollaborationEditors(int startLine, int startCol, int endL
68686868
}
68696869
/*!
68706870
* \brief register file for collaboration
6871-
* Check if file is in a ethersync folder and try to start client if possible
6871+
* Check if file is in a teamtype folder and try to start client if possible
68726872
* \param filename
68736873
* \return operation successful
68746874
*/
@@ -6966,7 +6966,7 @@ void Texstudio::hostServerSuccessfullyStarted()
69666966
QSize iconSize = QSize(iconWidth, iconWidth);
69676967
QIcon icon = getRealIconCached("network-connect");
69686968
statusLabelCollab->setPixmap(icon.pixmap(iconSize));
6969-
statusLabelCollab->setToolTip(tr("Collaboration: Connected in folder %1\nto join: ethersync join %2").arg(collabManager->collabClientFolder(), joinCode));
6969+
statusLabelCollab->setToolTip(tr("Collaboration: Connected in folder %1\nto join: teamtype join %2").arg(collabManager->collabClientFolder(), joinCode));
69706970
if(statusLabelCollab->actions().isEmpty()){
69716971
QAction *act=new QAction(tr("Copy access code"),this);
69726972
connect(act,&QAction::triggered,this,&Texstudio::copyCollabLinkToClipboard);
@@ -7012,7 +7012,7 @@ void Texstudio::copyCollabLinkToClipboard()
70127012
const QString joinCode=collabManager->codeForConnectingGuest();
70137013
if(joinCode.isEmpty()) return;
70147014
QClipboard *clipboard = QGuiApplication::clipboard();
7015-
clipboard->setText("ethersync join "+joinCode);
7015+
clipboard->setText("teamtype join "+joinCode);
70167016
}
70177017

70187018
//////////////// MESSAGES - LOG FILE///////////////////////

utilities/manual/build/html/CHANGELOG.html

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,22 @@
77
<meta property="og:type" content="website" />
88
<meta property="og:url" content="CHANGELOG.html" />
99
<meta property="og:site_name" content="TeXstudio" />
10-
<meta property="og:description" content="TeXstudio 4.9.0: implement peer-to-peer collaborative editing with ethersync, see manual, fix table insert from libreoffice calc, see#4186, fix stylesheet application on windowed pdf viewer, see#41..." />
11-
<meta name="description" content="TeXstudio 4.9.0: implement peer-to-peer collaborative editing with ethersync, see manual, fix table insert from libreoffice calc, see#4186, fix stylesheet application on windowed pdf viewer, see#41..." />
10+
<meta property="og:description" content="TeXstudio 4.9.0: implement peer-to-peer collaborative editing with teamtype, see manual, fix table insert from libreoffice calc, see#4186, fix stylesheet application on windowed pdf viewer, see#418..." />
11+
<meta property="og:image:width" content="1146" />
12+
<meta property="og:image:height" content="600" />
13+
<meta property="og:image" content="_images/social_previews/summary_CHANGELOG_42d8393c.png" />
14+
<meta property="og:image:alt" content="TeXstudio 4.9.0: implement peer-to-peer collaborative editing with teamtype, see manual, fix table insert from libreoffice calc, see#4186, fix stylesheet application on windowed pdf viewer, see#418..." />
15+
<meta name="description" content="TeXstudio 4.9.0: implement peer-to-peer collaborative editing with teamtype, see manual, fix table insert from libreoffice calc, see#4186, fix stylesheet application on windowed pdf viewer, see#418..." />
16+
<meta name="twitter:card" content="summary_large_image" />
1217
<link rel="index" title="Index" href="genindex.html" /><link rel="search" title="Search" href="search.html" /><link rel="prev" title="Background information" href="background.html" />
1318

14-
<link rel="shortcut icon" href="_static/texstudio.ico"/><!-- Generated with Sphinx 7.4.7 and Furo 2025.07.19 -->
19+
<link rel="shortcut icon" href="_static/texstudio.ico"/><!-- Generated with Sphinx 8.2.3 and Furo 2024.08.06 -->
1520
<title>CHANGELOG - TeXstudio 4.9.0 documentation</title>
16-
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=03e43079" />
17-
<link rel="stylesheet" type="text/css" href="_static/styles/furo.css?v=25af2a20" />
21+
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=fa44fd50" />
22+
<link rel="stylesheet" type="text/css" href="_static/styles/furo.css?v=ad9e2e31" />
1823
<link rel="stylesheet" type="text/css" href="_static/tabs.css?v=4c969af8" />
1924
<link rel="stylesheet" type="text/css" href="_static/sphinx-design.min.css?v=95c83b7e" />
20-
<link rel="stylesheet" type="text/css" href="_static/styles/furo-extensions.css?v=8dab3a3b" />
25+
<link rel="stylesheet" type="text/css" href="_static/styles/furo-extensions.css?v=4aa03575" />
2126

2227

2328

@@ -197,6 +202,7 @@
197202

198203
<div class="sidebar-sticky"><a class="sidebar-brand" href="index.html">
199204

205+
200206
<span class="sidebar-brand-text">TeXstudio 4.9.0 documentation</span>
201207

202208
</a><form class="sidebar-search-container" method="get" action="search.html" role="search">
@@ -260,7 +266,7 @@ <h1>CHANGELOG<a class="headerlink" href="#changelog" title="Link to this heading
260266
<section id="texstudio-4-9-0">
261267
<h2>TeXstudio 4.9.0<a class="headerlink" href="#texstudio-4-9-0" title="Link to this heading"></a></h2>
262268
<ul class="simple">
263-
<li><p>implement peer-to-peer collaborative editing with ethersync, <a class="reference external" href="https://texstudio-org.github.io/editing.html#collaborative-editing-pair-programming">see manual</a></p></li>
269+
<li><p>implement peer-to-peer collaborative editing with teamtype, <a class="reference external" href="https://texstudio-org.github.io/editing.html#collaborative-editing-pair-programming">see manual</a></p></li>
264270
<li><p>fix table insert from libreoffice calc, see <a class="reference external" href="https://github.com/texstudio-org/texstudio/issues/4186">#4186</a></p></li>
265271
<li><p>fix stylesheet application on windowed pdf viewer, see <a class="reference external" href="https://github.com/texstudio-org/texstudio/discussions/4185">#4185</a></p></li>
266272
<li><p>fix showing log for labels with colon in its name, see <a class="reference external" href="https://github.com/texstudio-org/texstudio/issues/4184">#4184</a></p></li>
@@ -2090,9 +2096,9 @@ <h2>Texmaker 1.2<a class="headerlink" href="#texmaker-1-2" title="Link to this h
20902096
</aside>
20912097
</div>
20922098
</div><script src="_static/documentation_options.js?v=e33213b2"></script>
2093-
<script src="_static/doctools.js?v=9a2dae69"></script>
2099+
<script src="_static/doctools.js?v=9bcbadda"></script>
20942100
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
2095-
<script src="_static/scripts/furo.js?v=46bd48cc"></script>
2101+
<script type="module" src="_static/scripts/furo.js?v=d32f1409"></script>
20962102
<script src="_static/tabs.js?v=3ee01567"></script>
20972103
<script src="_static/design-tabs.js?v=36754332"></script>
20982104
</body>

utilities/manual/build/html/_static/basic.css

Lines changed: 2 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,5 @@
11
/*
2-
* basic.css
3-
* ~~~~~~~~~
4-
*
52
* Sphinx stylesheet -- basic theme.
6-
*
7-
* :copyright: Copyright 2007-2024 by the Sphinx team, see AUTHORS.
8-
* :license: BSD, see LICENSE for details.
9-
*
103
*/
114

125
/* -- main layout ----------------------------------------------------------- */
@@ -115,15 +108,11 @@ img {
115108
/* -- search page ----------------------------------------------------------- */
116109

117110
ul.search {
118-
margin: 10px 0 0 20px;
119-
padding: 0;
111+
margin-top: 10px;
120112
}
121113

122114
ul.search li {
123-
padding: 5px 0 5px 20px;
124-
background-image: url(file.png);
125-
background-repeat: no-repeat;
126-
background-position: 0 7px;
115+
padding: 5px 0;
127116
}
128117

129118
ul.search li a {
@@ -752,14 +741,6 @@ abbr, acronym {
752741
cursor: help;
753742
}
754743

755-
.translated {
756-
background-color: rgba(207, 255, 207, 0.2)
757-
}
758-
759-
.untranslated {
760-
background-color: rgba(255, 207, 207, 0.2)
761-
}
762-
763744
/* -- code displays --------------------------------------------------------- */
764745

765746
pre {

utilities/manual/build/html/_static/doctools.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,5 @@
11
/*
2-
* doctools.js
3-
* ~~~~~~~~~~~
4-
*
52
* Base JavaScript utilities for all Sphinx HTML documentation.
6-
*
7-
* :copyright: Copyright 2007-2024 by the Sphinx team, see AUTHORS.
8-
* :license: BSD, see LICENSE for details.
9-
*
103
*/
114
"use strict";
125

utilities/manual/build/html/_static/language_data.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,6 @@
11
/*
2-
* language_data.js
3-
* ~~~~~~~~~~~~~~~~
4-
*
52
* This script contains the language-specific data used by searchtools.js,
63
* namely the list of stopwords, stemmer, scorer and splitter.
7-
*
8-
* :copyright: Copyright 2007-2024 by the Sphinx team, see AUTHORS.
9-
* :license: BSD, see LICENSE for details.
10-
*
114
*/
125

136
var stopwords = ["a", "and", "are", "as", "at", "be", "but", "by", "for", "if", "in", "into", "is", "it", "near", "no", "not", "of", "on", "or", "such", "that", "the", "their", "then", "there", "these", "they", "this", "to", "was", "will", "with"];

0 commit comments

Comments
 (0)