Dirk-Jan C. Binnema
|
4a0eba8ddf
|
improve unit tests
|
2023-09-24 20:21:57 +03:00 |
|
Dirk-Jan C. Binnema
|
04e3a2f9a8
|
mu-utils: improve tests
|
2023-09-21 23:41:15 +03:00 |
|
Dirk-Jan C. Binnema
|
7cbab21099
|
utils: add utf8_wordbreak
Determine if a string has wordbreaks in a mostly Xapian-compatible way.
We need this to determine what strings should be considered "phrases".
|
2023-09-17 18:11:10 +03:00 |
|
Dirk-Jan C. Binnema
|
9dcbe1d96c
|
lib: unit tests: improve / better coverage
|
2023-09-13 23:02:53 +03:00 |
|
Dirk-Jan C. Binnema
|
9c28c65d45
|
utils: handle "unbroken" scripts
Do not removing combining characters from scripts without explicit word
boundaries, such as those for CJK.
Reuse some Xapian code for that.
|
2023-09-09 11:40:36 +03:00 |
|
Dirk-Jan C. Binnema
|
15f08488d3
|
remove Mu::format, use mu_format
Use the new fmt-based formatting.
|
2023-08-19 20:04:50 +03:00 |
|
Dirk-Jan C. Binnema
|
82235b9d49
|
fmt: more update to use new fmt-based APIs
|
2023-07-06 21:49:50 +03:00 |
|
Dirk-Jan C. Binnema
|
daef904ca1
|
utils: add Regex::replace + unit tests
|
2023-01-29 10:13:29 +02:00 |
|
Dirk-Jan C. Binnema
|
ba69e2104a
|
utils: remove some dead test code
|
2023-01-29 10:13:29 +02:00 |
|
Dirk-Jan C. Binnema
|
6979a66630
|
utils: get rid of mu-util.[ch]
It was getting old...
Remove the unused parts, refactor the few parts still in use.
|
2023-01-14 20:02:05 +02:00 |
|
Dirk-Jan C. Binnema
|
27ecbbdd65
|
many: use Mu::Regex instead of std::regex
The former is PCRE-compatible, and faster than std::regex.
|
2022-12-30 11:15:03 +02:00 |
|
Dirk-Jan C. Binnema
|
dbd3c1309a
|
command-handler: rework for new sexp
Rework / cleanup the command-handler (and rename for command-parser).
Update tests (and integrate with sources)
|
2022-11-07 18:38:03 +02:00 |
|
Dirk-Jan C. Binnema
|
9e60ebb683
|
utils: add helpers for assoc-pairs
Add some unit-test, too.
|
2022-10-02 18:24:23 +03:00 |
|
Dirk-Jan C. Binnema
|
317fe53ff7
|
tests: update test helpers and users
Move test-mu-common to mu-test-utils. Use mu_test_init as a wrapper for
g_test_init. Update users.
|
2022-08-11 22:55:10 +03:00 |
|
Dirk-Jan C. Binnema
|
f69ad37e7a
|
utils: add regex-split
|
2022-06-16 22:49:46 +03:00 |
|
Dirk-Jan C. Binnema
|
646a672ae0
|
test-utils: add error test
|
2022-06-09 00:39:34 +03:00 |
|
Dirk-Jan C. Binnema
|
015a7ee0cb
|
utils: improve locale_workaround
Fixes: #2270.
|
2022-06-04 00:41:28 +03:00 |
|
Dirk-Jan C. Binnema
|
13f0e24241
|
lib: improve test coverage
Add a bunch of tests
|
2022-06-02 21:07:41 +03:00 |
|
Dirk-Jan C. Binnema
|
91dcd19dad
|
tests: improve coverage a bit
|
2022-05-24 19:36:39 +03:00 |
|
Dirk-Jan C. Binnema
|
9c9f9ecae3
|
lib: improve coverage a bit
|
2022-05-23 23:55:11 +03:00 |
|
Dirk-Jan C. Binnema
|
cea3167f3e
|
lib: remove some dead code (mu-str/utils)
Remove unused library code; recycle some electrons.
|
2022-05-19 23:38:49 +03:00 |
|
Dirk-Jan C. Binnema
|
b03590cca8
|
tests: skip missing timezones in queries, too
|
2022-05-18 01:08:40 +03:00 |
|
Dirk-Jan C. Binnema
|
33d30775ee
|
test-utils: Skip test if timezone is not available
|
2022-05-18 00:52:28 +03:00 |
|
Dirk-Jan C. Binnema
|
6126d7ee62
|
store: ensure updates update message sexp too
And turn all "add" into "replace" so old messages get removed.
Update tests too.
|
2022-05-05 01:40:17 +03:00 |
|
Dirk-Jan C. Binnema
|
b7a30c0a36
|
utils: update date/size parsing, factor out format
And update tests
|
2022-04-30 10:40:45 +03:00 |
|
Dirk-Jan C. Binnema
|
e0096c3dee
|
utils: improve split / join
|
2022-03-19 10:58:13 +02:00 |
|
Dirk-Jan C. Binnema
|
4990792f02
|
utils: rework Mu::split
And add some tests, cleanups.
|
2022-02-22 23:07:30 +02:00 |
|
Dirk-Jan C. Binnema
|
ec826cd838
|
tests: update naming
|
2022-02-21 23:51:46 +02:00 |
|
Dirk-Jan C. Binnema
|
e818e94d0e
|
build: fix some scan-build warnings
|
2022-02-07 17:36:34 +02:00 |
|
Dirk-Jan C. Binnema
|
48d3f9cfab
|
tests: move to subdir, move to meson
De-clutter the source directories a bit. Ensure tests build with meson, and
remove from autotools in a few places (no need to do things twice).
|
2021-11-08 23:58:05 +02:00 |
|