summaryrefslogtreecommitdiff
path: root/src/xcb_conn.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xcb_conn.c')
-rw-r--r--src/xcb_conn.c28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/xcb_conn.c b/src/xcb_conn.c
index 7d09637..8dab658 100644
--- a/src/xcb_conn.c
+++ b/src/xcb_conn.c
@@ -287,6 +287,7 @@ static int write_vec(xcb_connection_t *c, struct iovec **vector, int *count)
return 0;
}
+ c->out.total_written += n;
for(; *count; --*count, ++*vector)
{
int cur = (*vector)->iov_len;
@@ -528,3 +529,30 @@ int _xcb_conn_wait(xcb_connection_t *c, pthread_cond_t *cond, struct iovec **vec
return ret;
}
+
+uint64_t xcb_total_read(xcb_connection_t *c)
+{
+ uint64_t n;
+
+ if (xcb_connection_has_error(c))
+ return 0;
+
+ pthread_mutex_lock(&c->iolock);
+ n = c->in.total_read;
+ pthread_mutex_unlock(&c->iolock);
+ return n;
+}
+
+uint64_t xcb_total_written(xcb_connection_t *c)
+{
+ uint64_t n;
+
+ if (xcb_connection_has_error(c))
+ return 0;
+
+ pthread_mutex_lock(&c->iolock);
+ n = c->out.total_written;
+ pthread_mutex_unlock(&c->iolock);
+
+ return n;
+}
-0-6 main, development dictionaries repositoryroot
summaryrefslogtreecommitdiff
AgeCommit message (Expand)AuthorFilesLines
2017-05-02tdf#107558 French spelling dictionary (6.0.3) and thesaurusgov-5.3-49cp-5.3-66cp-5.3-65cp-5.3-64cp-5.3-63cp-5.3-60cp-5.3-59cp-5.3-58cp-5.3-57cp-5.3-56cp-5.3-55cp-5.3-53cp-5.3-52cp-5.3-51cp-5.3-50cp-5.3-49cp-5.3-47cp-5.3-46cp-5.3-44cp-5.3-43cp-5.3-42cp-5.3-41cp-5.3-40cp-5.3-39cp-5.3-38cp-5.3-37cp-5.3-36cp-5.3-35cp-5.3-33cp-5.3-32cp-5.3-29cp-5.3-28cp-5.3-26cp-5.3-25cp-5.3-24cp-5.3-22cp-5.3-21cp-5.3-20cp-5.3-19cp-5.3-18cp-5.3-17cp-5.3-15cp-5.3-14cp-5.3-13cp-5.3-12cp-5.3-11co-5.3-67co-5.3-66co-5.3-65co-5.3-64co-5.3-63co-5.3-59co-5.3-58co-5.3-57co-5.3-54co-5.3-49co-5.3-48cd-5.3-61cd-5.3-23libreoffice-5-3distro/collabora/cp-5.3distro/collabora/cd-5.3-3.4Olivier R6-84839/+88495
2017-03-03Update Croatian dictionary to version 2.0cp-5.3-9cp-5.3-8-wincp-5.3-8cp-5.3-7cp-5.3-6cp-5.3-5cp-5.3-4cp-5.3-3cp-5.3-2cp-5.3-10cp-5.3-1Krunoslav Šebetić3-215123/+55246
2017-02-07Guarani spell checker and thesaurus.Giovanni Caligaris9-9/+4250
2017-01-22tdf#105396 update German dictionariesAndras Timar15-90882/+360559
2016-12-29tdf#97349: typo fixes in control wordsAndras Timar1-2/+2
2016-12-14Updated the GB DictionaryMarco A.G.Pinto4-180/+2112
2016-11-23Branch libreoffice-5-3Christian Lohmaier0-0/+0
2016-11-22tdf#103922: add Tibetan syllable spellcheckerlibreoffice-5-3-branch-pointAron Budea9-0/+575
2016-11-20Czech thesaurus: regenerate from updated sourceStanislav Horacek4-4433/+3724
2016-11-07Czech thesaurus: regenerate from updated sourceStanislav Horacek6-82083/+80581
2016-10-08Calquing English’s title case is bad style in Spanish and GuaraniAdolfo Jayme Barrientos1-2/+2
2016-10-03Update pt_PT dictionary to version 16.10.1.2Andras Timar4-15942/+91971
2016-09-29Update Guarani thesaurus to v1.1Giovanni Calligaris11-915/+921
2016-08-16Update the Swedish dictionary to the latest releaseNiklas Johansson3-165718/+166321
2016-07-28cut size of README_en_GB.txtAron Budea1-15573/+11
2016-07-18tdf#97393, tdf#100019: updated EN (CA, GB, US, ZA) dictionariesAron Budea10-44003/+46538
2016-07-07Update pt_PT dictionary to version 16.7.4.1Andras Timar3-46/+74
2016-06-14tdf#90786 Put license file in the right directoryAron Budea1-1/+2
2016-05-24gb_Dictionary_add_thesaurus doesn't like whitespacelibreoffice-5-2-branch-pointcp-5.1-branch-pointChristian Lohmaier1-3/+1
2016-05-23thesuaurs.idx is generated by gb_Dictionary_add_thesaurusChristian Lohmaier2-145870/+1
2016-05-23tdf#97393 Update English Dictionaries to 2016.05.01 releaseAron Budea15-164413/+310946
2016-05-18tdf#90786 Bundle license file, and update Scottish Gaelic dict to 3.1Aron Budea4-6870/+111641
2016-04-07Update Croatian dictionaryKrunoslav Šebetić4-60130/+60741
2016-04-05Bring shipped Spanish dictionary up to version 2.1Ricardo Palomares8-7989/+22236
2016-03-14Update Icelandic dictionary and thesaurusBjörgvin Ragnarsson4-27612/+35842
2016-03-10tdf#98531 Updated Croatian dictionaryKrunoslav Šebetić3-186339/+186648
2016-02-26Czech thesaurus: Blacklist more words + re-generate after the recent changes.Jan Holesovsky2-100422/+75153
2016-02-26dictionary-to-thesaurus.py: Put the better categorized words to the front.Jan Holesovsky1-7/+13
2016-02-26dictionary-to-thesaurus.py: Only output the same class of word.Jan Holesovsky1-5/+27
2016-02-25Czech thesaurus: Updates of some terms.Jan Holesovsky2-36/+17
2016-02-25Czech thesaurus: Blacklist some unhelpful meanings.Jan Holesovsky3-8/+14
2016-02-25dictionary-to-thesaurus.py: Move blacklist to a separate file.Jan Holesovsky2-16/+35
2016-02-25Related tdf#93514: Introduce a new Czech thesaurus.Jan Holesovsky6-5/+186534
2016-02-25dictionary-to-thesaurus.py: Actually use the Czech names.Jan Holesovsky1-4/+4
2016-02-25dictionary-to-thesaurus.py: Various cleanups.Jan Holesovsky1-12/+66
2016-02-25dos2unix on the cs_CZ files.Jan Holesovsky4-520/+514
2016-02-25Czech: Script and dictionary to generate the Czech thesaurus.Jan Holesovsky2-0/+217872
2016-02-11Updated pt_PT dictionary to version 16.1.3.4Andras Timar2-15/+20
2016-01-17Bring shipped Spanish dictionary up to version 2.0Ricardo Palomares7-48438/+56809
2016-01-07Update the Swedish spelling dictionariesNiklas Johansson3-79/+649
2016-01-04tdf#96782 updated German dictionariesAndras Timar15-150513/+345430
2015-12-28Updated Slovenian thesaurusAndras Timar3-380/+1468
2015-12-12Add Guarani thesaurus (gug-PY)Giovanni Caligaris11-0/+3293
2015-10-27tdf#95024 update Hungarian spelling dictionarylibreoffice-5-1-branch-pointLászló Németh4-83523/+84518
2015-10-15Update pt_PT dictionary to version 15.10.3.1Andras Timar2-3/+4
2015-09-28tdf#94573: invalid encoding in hyph_zu_ZAJulien Nabet1-1/+1
2015-09-21tdf#94415 update Greek dictionary to version 0.9Andras Timar