Anthony Bilinski
adc0f0cca6
refactor: Comply with Wmissing-declarations
...
* Move free functions to the anonymous namespace
* Additionally move static free functions to the anonymous namespace
* Move functions that must be accessed externally to static class functions
2022-03-11 10:08:02 -08:00
jenli669
04a9bc46f4
docs(copyright): update and add copyright info
...
zealously updates and adds qTox copyright information.
Fixes #5713
2019-06-28 01:18:26 +02:00
Anthony Bilinski
5dc4e6de81
chore(legal): update copyright date to 2018 for all source files
2018-04-25 17:33:38 -07:00
Anthony Bilinski
e564b85e3c
fix(chatform): Broaden URL matching to include unicode
...
Fix #4853
Fix #4295
*Instead of searching strictly valid URIs, allow anything characters following scheme. This allows for UTF-8 characters used in other languages, as well as parentheses and other ASCII characters. This will over-match some invalid URLs.
*Ignored surrounding characters of URIs and ending punctuation
*Fix www-only links by adding http scheme to href
2018-02-25 01:48:25 -08:00
noavarice
de108ce834
refactor: allow newline|space to appear after multiline code seq
...
Also added tests
2017-11-03 21:00:09 +03:00
noavarice
acff6e0450
test: removed debug messages
2017-11-03 21:00:09 +03:00
noavarice
3faa0ecaad
test: added test for multiline code
2017-11-03 21:00:09 +03:00
noavarice
e80a2bcc69
test: added tests for IPv6 format
2017-11-03 21:00:09 +03:00
noavarice
5a569ea467
test: re-made test for URL highlighting
...
Also one test was removed. Answering sudden6's question, this test will
not pass after merging current pull request (if it will)
2017-11-03 21:00:09 +03:00
noavarice
40c4f431dd
refactor: removed unnecessary functions and test depending on them
2017-11-03 21:00:09 +03:00
noavarice
d302e261d4
test: updated tests for text formatting
...
Updated test data, changed additional functions and reimplemented test
slots
2017-11-03 21:00:09 +03:00
noavarice
a9eca8e626
refactor: removed TextFormatter instantiations from tests
2017-11-03 21:00:08 +03:00
Diadlo
b8ae494ef3
test: Replace check on Qtest
2017-06-04 23:10:50 +03:00
sudden6
a3b234e6dd
chore(formatting): run clang-format
2017-06-01 09:50:59 +02:00
Yuri
e597d391fc
fix(includes): Added missing #include <ctime>
...
time(3) requires this include. Found when qTox failed to build on the FreeBSD due to the missing include.
2017-04-11 00:04:48 -07:00
noavarice
d34ac1e396
test: added case for multiple URL's in one message
2017-03-22 14:10:23 +03:00
noavarice
54ae5c006d
test: added tests for all types of markdown symbols in URL
2017-03-12 23:14:44 +03:00
noavarice
e9fb073753
test: added test on URL highlighting in text messages
2017-03-06 11:55:54 +03:00
Zetok Zalbavar
80f5de31b3
style: reformat current C++ codebase using clang-format
2017-02-26 11:52:45 +00:00
noavarice
87f219a78f
refactor: message text formatting works better now
...
- tag intersection detected
- variables and constants' names became shorter
2017-02-19 23:53:11 +03:00
noavarice
445ba28e7b
test: Added test for TextFormatter class
...
It's a first simple version
2017-02-19 17:46:52 +03:00