90685f4
(heck-rework)
.gitignore by
2022-03-10 01:31:06 +0100
d3f2e1b
Test: add test_identity.cc by
2022-03-10 01:30:58 +0100
b463d27
separate prototype from test by
2022-03-10 01:29:38 +0100
4bee3b8
maybe add some include guards by
2022-03-09 21:04:36 +0100
c363bd7
prototype: pEp::PODStruct - logger classname defines by T by
2022-03-09 15:53:43 +0100
0a64159
prototype: remove alloc/free routines from namespace pEp, they have been moved into the respective classes, (might generalize and extract them later again) by
2022-03-09 15:49:40 +0100
224c52b
prototype: TestStruct1 - use default alloc/free from PODStruct, and use data() method to access wrapped struct for binding by
2022-03-09 15:48:18 +0100
26e0848
prototype: pEp::PODStruct - created default alloc/free, and a constructor to provide custom alloc/free by
2022-03-09 15:45:37 +0100
6b0ab94
prototype: pEp::String - move alloc/free routines into class by
2022-03-09 15:43:41 +0100
ba0857c
prototype: pEp::String - does never host a char*, but only wraps one thats hosted somehwere else, so we only need a char**, no char* by
2022-03-09 15:38:17 +0100
33b898f
prototype: pEp::String - avoid nullptr in the char* (if the c_str_p is nullptr then init with "") by
2022-03-09 15:35:25 +0100
7e5d39f
prototype: just comments and prints by
2022-03-09 14:23:37 +0100
3f2f9ee
Build: change default make target to test and bypass src (nothing there yet) by
2022-03-09 00:15:08 +0100
41fff66
Build: tests - link against libc99 (example lib) by
2022-03-09 00:14:25 +0100
79a3dfe
prtotype: make struct wrapper generic by
2022-03-09 00:13:40 +0100
c25c114
prtotype: prefix libc99 usage with :: by
2022-03-08 13:27:56 +0100
8d9a127
move protoyping into new dir 'test' by
2022-03-08 12:57:26 +0100
fafde0f
.gitignore by
2022-03-08 12:56:53 +0100
9ab1fe5
add example c99 library mimicking the structures of the pEpEngine in a minimal way. by
2022-03-08 12:56:38 +0100
d7c3e61
move 'test' to 'test_old' by
2022-03-08 12:54:57 +0100
47a1ea9
move 'src' to 'src_old' by
2022-03-08 12:54:44 +0100
1df9c84
protyping: Structs wrapper / ownership / more tests by
2022-03-08 00:15:42 +0100
e063452
protyping: POD / String types, and more tests by
2022-03-07 17:55:45 +0100
82d64f8
Build: link against libpEpCxx11 by
2022-03-07 17:55:12 +0100
20075f1
Coding Conventions: .clang-tidy - allow implicit bool conversion by
2022-03-03 13:51:45 +0100
e49c880
Add generic class 'POD', a generic POD-wrapper by
2022-03-03 13:49:14 +0100
0853bea
Coding Conventions: update .clang-tidy by
2022-03-02 03:26:09 +0100
eed57ef
func name typo by
2022-02-22 22:45:55 +0100
3b556c2
using std::shared_ptr is too complicated for this. by
2022-02-22 22:43:39 +0100
3737da7
Inital prototyping by
2022-02-22 22:39:14 +0100
1e331a1
(HEAD -> master)
Doc: format README.md by
2022-02-22 22:37:31 +0100
aa3ec7a
add .clang-tidy by
2022-02-22 22:37:12 +0100
bceb2ee
Build: more warnings etc... by
2022-02-22 22:36:50 +0100
6ae1cad
.gitignore by
2022-02-14 15:28:18 +0100
6d59e27
Build: adds gtest prefix, clean out unused clutter by
2022-02-14 15:28:09 +0100
eaa7776
add .clang-format / reformat by
2022-02-14 15:25:55 +0100
4e43ab0
add docu, add tests. next try..... by
2021-11-02 08:29:38 +0100
2ab0230
update NFC data from Unicode 13.0.0 to Unicode 14.0.0. by
2021-11-01 17:00:09 +0100
b8df002
test the remaining nfc_string member functions. by
2021-10-08 18:32:15 +0200
34be0bc
add some tests for nfc_string (only UTF8 for now, UTF16 is TODO). by
2021-10-08 12:53:19 +0200
70b9218
Oops... default c'tor forgotten. And some trivial assignment operators as alias to .assign(). by
2021-10-08 12:52:43 +0200
935b1de
fix unittest_nfc16 and comment the unusual behavior of <U+1D161>. :-/ by
2021-10-08 11:15:01 +0200
ebc949c
using std::string_view. by
2021-10-08 09:03:37 +0200
640d7d2
implement the last missing method: nfc_string::normalize(). by
2021-10-08 09:01:46 +0200
97636fc
implement the C++20 methods. makes nfc_string a boost::totally_ordered2 with StringView. by
2021-10-08 03:04:59 +0200
8f75ed8
implement more and more missing member functions of nfc_string. by
2021-10-07 20:50:30 +0200
86bfec5
single-char isNFC() removed. Makes no sense. Add freestanding operator+() for nfc_string by
2021-10-07 20:35:39 +0200
f713974
std::basic_string<CharT> has a FAT interface... I'll forward most of it to the embedded string. by
2021-10-07 18:26:18 +0200
d8bcff6
make nfc_string complete... by
2021-10-07 15:22:12 +0200
c81740b
add class nfc_string by
2021-10-07 14:55:22 +0200
4cd987c
add German design document for libpEpDatatypes. by
2021-10-06 19:18:51 +0200
01941f7
C++17 is minimum requirement now. So replace pEp::string_view with std::string_view etc. by
2021-10-05 17:37:46 +0200
2330093
remove support for C++ < 17 and add more convenience functions by
2021-10-02 23:28:15 +0200
f5f12e2
add UTF<char16_t>::utf_length(). Be more pedantic about surrogates where they're not allowed. by
2021-10-01 17:05:27 +0200
4c9ff8d
Merge remote-tracking branch 'refs/remotes/origin/master' by
2021-10-01 15:32:08 +0200
f677af8
doc. by
2021-10-01 14:44:49 +0200
3c8069f
concept. by
2021-10-01 14:44:44 +0200
8205b7b
bundle UTF handling functions as static member functions of a UTF class template to circumvent prohibition of partial function specialization. *sigh* by
2021-10-01 14:39:58 +0200
c0c278a
add u32string_view typedef. by
2021-10-01 14:37:16 +0200
f5b1306
start to encapsulate the functions in a class, to avoid the prohibition of partial function specialization. by
2021-10-01 09:10:10 +0200
f1179d9
move operations are 'noexcept'. implement copy_out() for stringpair and message. by
2021-09-30 15:44:47 +0200
bd7a9b4
use LANG_VERSION to switch from C++14 (default) to C++17, if necessary by
2021-09-30 14:02:31 +0200
5349d21
Missing include by
2021-09-30 00:51:32 +0000
c48088d
add char* strdup_NFC(string_view s). FIXME: The more efficient implementation needs some more internal re-work, that's why this correct but stupid quick'n'dirty implementation is there for now. by
2021-09-29 12:33:44 +0200
065e730
unrelated, but still not commited. by
2021-09-29 12:20:41 +0200
5cdb6e3
add additional explicit template instantiations. :-/ by
2021-09-29 10:53:51 +0200
f914202
add identity_list* Wrapper<::identity_list*>::copy_out() by
2021-09-29 10:38:08 +0200
7973a96
okay, we allow copying for all Wrapper where copy_out() is implemented. by
2021-09-29 10:24:56 +0200
d965b31
allow non-const access to wrapped type. Can be dangerous! USE WITH CAUTION! by
2021-09-29 09:50:01 +0200
af5720b
add copy_out() to get a copy of the wrapped value. by
2021-09-29 09:46:16 +0200
8f7f181
oh, the missing comma confuses libetpan, letting it reject the whole Cc: line. pEpMIME parses 4 entries here. Who is rignt? by
2021-09-28 17:49:36 +0200
5c399ab
fix Wrapper<::message*>::_new() to use mime_decode_message() instead of a dummy. by
2021-09-28 17:42:44 +0200
8306eda
resort the test to see what is working and what not, yet. by
2021-09-28 17:12:50 +0200
0c82dcc
add an EXPECT_NE() to check for nullptr before derefencing it. Avoids segfault. But the test is still red. by
2021-09-28 17:10:33 +0200
1da02a1
add more comprehensive test for message parser. And... it segfaults. :-( by
2021-09-28 17:03:14 +0200
b536dac
Build: Add local.conf.example by
2021-09-09 20:59:23 +0200
5ffd66f
(tag: Release_0.0.1)
fix the unittests for UTF-16 NFC tests by
2021-07-12 13:29:58 +0200
1d1575e
copy unittest_nfc.cc to unittest_nfc16.cc by
2021-07-06 16:51:01 +0200
6e1f680
use string_view in unittest_nfc. That avoids copying and makes compiler happy, too! by
2021-07-06 16:34:05 +0200
d3747a8
add UTF-16 stuff, and try to re-use as much code as possible. by
2021-07-06 13:23:10 +0200
1a9c3fc
implement parseUtf16(). by
2021-07-02 15:14:45 +0200
b9a0dde
add u16string_view. by
2021-07-02 15:13:49 +0200
57ee300
test the wrapper for message. by
2021-07-01 15:26:57 +0200
2348e3a
inherit from std::iterator<> to add some typedefs that make GNU G++ happy. Unfortunately, std::iterator<> is deprecated in C++17, for whatever reason. :-/ by
2021-06-29 17:24:27 +0200
fea6876
remove warning. :-D by
2021-06-29 16:47:42 +0200
d36141f
forgot Wrapper<pEp_identity*>::_new() and ~::free(). by
2021-06-22 14:28:15 +0200
9278dd9
add unittest for identity & identity_list by
2021-06-21 20:03:16 +0200
8dd301c
fix cut & paste errors, so the compiler is happy again. :) by
2021-06-21 14:48:10 +0200
9f2d01a
add identity & identity_list. by
2021-06-21 13:35:44 +0200
2e1241b
okay, ListWrapper<bloblist_t*, void> is a full specialization, so its members don't need "template<>". Clang++ did not tell me that, g++ did. But still bizarre somehow... by
2021-06-18 18:31:52 +0200
23d25ef
G++ does not like "non-template functions as friends of class templates. So I change the operator== into member function. :-| by
2021-06-18 18:30:58 +0200
176d649
add bloblist specialization. DOES NOT COMPILE, YET. by
2021-06-18 12:59:55 +0200
76ead4b
add identity.cc I had fogotten. by
2021-06-18 10:56:31 +0200
801f23a
uuuh... a const_cast would silent the compiler. hmm. by
2021-06-18 10:50:41 +0200
392662b
unittest to show how the intended usage will be. by
2021-06-18 10:43:31 +0200
cbbd03a
okay, if I change the value_type from 'char*' to 'const char*' I got other troubles there... *sigh* by
2021-06-18 10:42:55 +0200
16cf6ce
add stringlist wrapper. by
2021-06-18 10:10:03 +0200
b8529ff
change return type. by
2021-06-18 09:18:15 +0200
39e8dd2
Yay, all tests are green now! \o/ by
2021-06-14 16:24:51 +0200
555c3ac
fix member functions by
2021-06-14 15:25:54 +0200