Commit Graph

  • 7e823516d4 FAILED ATTEMPT - just committing everything 5 months after losing my sanity. heck-rework heck 2022-12-07 21:34:56 +0100
  • 342986dc06 .gitignore heck 2022-05-09 16:57:11 +0200
  • bc4873b286 .clang-tidy heck 2022-05-09 16:57:03 +0200
  • a7bba8210e libc99 is prototyping the patterns and semantics of the pEpEngine, that are valid. heck 2022-05-09 16:56:36 +0200
  • 90685f41e5 .gitignore heck 2022-03-10 01:31:06 +0100
  • d3f2e1b279 Test: add test_identity.cc heck 2022-03-10 01:30:58 +0100
  • b463d27c5d separate prototype from test heck 2022-03-10 01:29:38 +0100
  • 4bee3b821a maybe add some include guards heck 2022-03-09 21:04:36 +0100
  • c363bd7924 prototype: pEp::PODStruct - logger classname defines by T heck 2022-03-09 15:53:43 +0100
  • 0a641597d4 prototype: remove alloc/free routines from namespace pEp, they have been moved into the respective classes, (might generalize and extract them later again) heck 2022-03-09 15:49:40 +0100
  • 224c52b96c prototype: TestStruct1 - use default alloc/free from PODStruct, and use data() method to access wrapped struct for binding heck 2022-03-09 15:48:18 +0100
  • 26e0848fa1 prototype: pEp::PODStruct - created default alloc/free, and a constructor to provide custom alloc/free heck 2022-03-09 15:45:37 +0100
  • 6b0ab94595 prototype: pEp::String - move alloc/free routines into class heck 2022-03-09 15:43:41 +0100
  • ba0857c930 prototype: pEp::String - does never host a char*, but only wraps one thats hosted somehwere else, so we only need a char**, no char* heck 2022-03-09 15:38:17 +0100
  • 33b898fa23 prototype: pEp::String - avoid nullptr in the char* (if the c_str_p is nullptr then init with "") heck 2022-03-09 15:35:25 +0100
  • 7e5d39f28b prototype: just comments and prints heck 2022-03-09 14:23:37 +0100
  • 3f2f9ee3b3 Build: change default make target to test and bypass src (nothing there yet) heck 2022-03-09 00:15:08 +0100
  • 41fff66a0c Build: tests - link against libc99 (example lib) heck 2022-03-09 00:14:25 +0100
  • 79a3dfecf8 prtotype: make struct wrapper generic heck 2022-03-09 00:13:40 +0100
  • c25c114082 prtotype: prefix libc99 usage with :: heck 2022-03-08 13:27:56 +0100
  • 8d9a1272b8 move protoyping into new dir 'test' heck 2022-03-08 12:57:26 +0100
  • fafde0f22a .gitignore heck 2022-03-08 12:56:53 +0100
  • 9ab1fe5d75 add example c99 library mimicking the structures of the pEpEngine in a minimal way. heck 2022-03-08 12:56:38 +0100
  • d7c3e61322 move 'test' to 'test_old' heck 2022-03-08 12:54:57 +0100
  • 47a1ea9e4c move 'src' to 'src_old' heck 2022-03-08 12:54:44 +0100
  • 1df9c84511 protyping: Structs wrapper / ownership / more tests heck 2022-03-08 00:15:42 +0100
  • e0634523a6 protyping: POD / String types, and more tests heck 2022-03-07 17:55:45 +0100
  • 82d64f8c58 Build: link against libpEpCxx11 heck 2022-03-07 17:55:12 +0100
  • 20075f1167 Coding Conventions: .clang-tidy - allow implicit bool conversion heck 2022-03-03 13:51:45 +0100
  • e49c88052d Add generic class 'POD', a generic POD-wrapper heck 2022-03-03 13:49:14 +0100
  • 0853bea66c Coding Conventions: update .clang-tidy heck 2022-03-02 03:26:09 +0100
  • eed57ef631 func name typo heck 2022-02-22 22:45:55 +0100
  • 3b556c2e99 using std::shared_ptr is too complicated for this. heck 2022-02-22 22:43:39 +0100
  • 3737da708d Inital prototyping heck 2022-02-22 22:39:14 +0100
  • 1e331a12a2 Doc: format README.md master heck 2022-02-22 22:37:31 +0100
  • aa3ec7a911 add .clang-tidy heck 2022-02-22 22:37:12 +0100
  • bceb2ee40e Build: more warnings etc... heck 2022-02-22 22:36:50 +0100
  • 6ae1cad840 .gitignore heck 2022-02-14 15:28:18 +0100
  • 6d59e27c29 Build: adds gtest prefix, clean out unused clutter heck 2022-02-14 15:28:09 +0100
  • eaa77767a7 add .clang-format / reformat heck 2022-02-14 15:25:55 +0100
  • 4e43ab01f2 add docu, add tests. next try..... roker 2021-11-02 08:29:38 +0100
  • 2ab0230cd6 update NFC data from Unicode 13.0.0 to Unicode 14.0.0. roker 2021-11-01 17:00:09 +0100
  • b8df0024af test the remaining nfc_string member functions. roker 2021-10-08 18:32:15 +0200
  • 34be0bc02b add some tests for nfc_string (only UTF8 for now, UTF16 is TODO). roker 2021-10-08 12:53:19 +0200
  • 70b9218839 Oops... default c'tor forgotten. And some trivial assignment operators as alias to .assign(). roker 2021-10-08 12:52:43 +0200
  • 935b1de2df fix unittest_nfc16 and comment the unusual behavior of <U+1D161>. :-/ roker 2021-10-08 11:15:01 +0200
  • ebc949c092 using std::string_view. roker 2021-10-08 09:03:37 +0200
  • 640d7d210b implement the last missing method: nfc_string::normalize(). roker 2021-10-08 09:01:46 +0200
  • 97636fc2d0 implement the C++20 methods. makes nfc_string a boost::totally_ordered2 with StringView. roker 2021-10-08 03:04:59 +0200
  • 8f75ed8ed9 implement more and more missing member functions of nfc_string. roker 2021-10-07 20:50:30 +0200
  • 86bfec58c7 single-char isNFC() removed. Makes no sense. Add freestanding operator+() for nfc_string roker 2021-10-07 20:35:39 +0200
  • f71397426b std::basic_string<CharT> has a FAT interface... I'll forward most of it to the embedded string. roker 2021-10-07 18:26:18 +0200
  • d8bcff63f3 make nfc_string complete... roker 2021-10-07 15:22:12 +0200
  • c81740b0e6 add class nfc_string roker 2021-10-07 14:55:22 +0200
  • 4cd987c24f add German design document for libpEpDatatypes. roker 2021-10-06 19:18:51 +0200
  • 01941f70ad C++17 is minimum requirement now. So replace pEp::string_view with std::string_view etc. roker 2021-10-05 17:37:46 +0200
  • 2330093cff remove support for C++ < 17 and add more convenience functions Volker Birk 2021-10-02 23:28:15 +0200
  • f5f12e2105 add UTF<char16_t>::utf_length(). Be more pedantic about surrogates where they're not allowed. roker 2021-10-01 17:05:27 +0200
  • 4c9ff8de3a Merge remote-tracking branch 'refs/remotes/origin/master' roker 2021-10-01 15:32:08 +0200
  • f677af8732 doc. heck 2021-10-01 14:44:49 +0200
  • 3c8069fa14 concept. heck 2021-10-01 14:44:44 +0200
  • 8205b7b9de bundle UTF handling functions as static member functions of a UTF class template to circumvent prohibition of partial function specialization. *sigh* roker 2021-10-01 14:39:58 +0200
  • c0c278aad9 add u32string_view typedef. roker 2021-10-01 14:37:16 +0200
  • f5b13062c3 start to encapsulate the functions in a class, to avoid the prohibition of partial function specialization. roker 2021-10-01 09:10:10 +0200
  • f1179d91da move operations are 'noexcept'. implement copy_out() for stringpair and message. roker 2021-09-30 15:44:47 +0200
  • bd7a9b4e93 use LANG_VERSION to switch from C++14 (default) to C++17, if necessary roker 2021-09-30 14:02:31 +0200
  • 5349d21158 Missing include heck 2021-09-30 00:51:32 +0000
  • c48088d788 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. roker 2021-09-29 12:33:44 +0200
  • 065e730d87 unrelated, but still not commited. roker 2021-09-29 12:20:41 +0200
  • 5cdb6e3bdc add additional explicit template instantiations. :-/ roker 2021-09-29 10:53:51 +0200
  • f914202788 add identity_list* Wrapper<::identity_list*>::copy_out() roker 2021-09-29 10:38:08 +0200
  • 7973a9638b okay, we allow copying for all Wrapper where copy_out() is implemented. roker 2021-09-29 10:24:56 +0200
  • d965b3115b allow non-const access to wrapped type. Can be dangerous! USE WITH CAUTION! roker 2021-09-29 09:50:01 +0200
  • af5720bed0 add copy_out() to get a copy of the wrapped value. roker 2021-09-29 09:46:16 +0200
  • 8f7f181899 oh, the missing comma confuses libetpan, letting it reject the whole Cc: line. pEpMIME parses 4 entries here. Who is rignt? roker 2021-09-28 17:49:36 +0200
  • 5c399ab820 fix Wrapper<::message*>::_new() to use mime_decode_message() instead of a dummy. roker 2021-09-28 17:42:44 +0200
  • 8306edaf09 resort the test to see what is working and what not, yet. roker 2021-09-28 17:12:50 +0200
  • 0c82dcc5dc add an EXPECT_NE() to check for nullptr before derefencing it. Avoids segfault. But the test is still red. roker 2021-09-28 17:10:33 +0200
  • 1da02a1eb2 add more comprehensive test for message parser. And... it segfaults. :-( roker 2021-09-28 17:03:14 +0200
  • b536dac898 Build: Add local.conf.example heck 2021-09-09 20:59:23 +0200
  • 5ffd66f169 fix the unittests for UTF-16 NFC tests Release_0.0.1 roker 2021-07-12 13:29:58 +0200
  • 1d1575e971 copy unittest_nfc.cc to unittest_nfc16.cc roker 2021-07-06 16:51:01 +0200
  • 6e1f680ec5 use string_view in unittest_nfc. That avoids copying and makes compiler happy, too! roker 2021-07-06 16:34:05 +0200
  • d3747a8b1f add UTF-16 stuff, and try to re-use as much code as possible. roker 2021-07-06 13:23:10 +0200
  • 1a9c3fc1a8 implement parseUtf16(). roker 2021-07-02 15:14:45 +0200
  • b9a0dde181 add u16string_view. roker 2021-07-02 15:13:49 +0200
  • 57ee30017d test the wrapper for message. roker 2021-07-01 15:26:57 +0200
  • 2348e3a080 inherit from std::iterator<> to add some typedefs that make GNU G++ happy. Unfortunately, std::iterator<> is deprecated in C++17, for whatever reason. :-/ roker 2021-06-29 17:24:27 +0200
  • fea6876528 remove warning. :-D roker 2021-06-29 16:47:42 +0200
  • d36141f3b1 forgot Wrapper<pEp_identity*>::_new() and ~::free(). roker 2021-06-22 14:28:15 +0200
  • 9278dd9e9b add unittest for identity & identity_list roker 2021-06-21 20:03:16 +0200
  • 8dd301c251 fix cut & paste errors, so the compiler is happy again. :) roker 2021-06-21 14:48:10 +0200
  • 9f2d01a2bf add identity & identity_list. roker 2021-06-21 13:35:44 +0200
  • 2e1241bb5f 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... roker 2021-06-18 18:31:52 +0200
  • 23d25ef428 G++ does not like "non-template functions as friends of class templates. So I change the operator== into member function. :-| roker 2021-06-18 18:30:58 +0200
  • 176d649476 add bloblist specialization. DOES NOT COMPILE, YET. roker 2021-06-18 12:59:55 +0200
  • 76ead4b179 add identity.cc I had fogotten. roker 2021-06-18 10:56:31 +0200
  • 801f23a746 uuuh... a const_cast would silent the compiler. hmm. roker 2021-06-18 10:50:41 +0200
  • 392662b981 unittest to show how the intended usage will be. roker 2021-06-18 10:43:31 +0200
  • cbbd03ae01 okay, if I change the value_type from 'char*' to 'const char*' I got other troubles there... *sigh* roker 2021-06-18 10:42:55 +0200