54 Commits (1d1575e971e8fca514fc421834e2bd3e60b9f069)

Author SHA1 Message Date
  roker 1d1575e971 copy unittest_nfc.cc to unittest_nfc16.cc 7 months ago
  roker 6e1f680ec5 use string_view in unittest_nfc. That avoids copying and makes compiler happy, too! 7 months ago
  roker d3747a8b1f add UTF-16 stuff, and try to re-use as much code as possible. 7 months ago
  roker 1a9c3fc1a8 implement parseUtf16(). 7 months ago
  roker b9a0dde181 add u16string_view. 7 months ago
  roker 57ee30017d test the wrapper for message. 7 months ago
  roker 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. :-/ 7 months ago
  roker fea6876528 remove warning. :-D 7 months ago
  roker d36141f3b1 forgot Wrapper<pEp_identity*>::_new() and ~::free(). 7 months ago
  roker 9278dd9e9b add unittest for identity & identity_list 7 months ago
  roker 8dd301c251 fix cut & paste errors, so the compiler is happy again. :) 7 months ago
  roker 9f2d01a2bf add identity & identity_list. 7 months ago
  roker 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... 7 months ago
  roker 23d25ef428 G++ does not like "non-template functions as friends of class templates. So I change the operator== into member function. :-| 7 months ago
  roker 176d649476 add bloblist specialization. DOES NOT COMPILE, YET. 7 months ago
  roker 76ead4b179 add identity.cc I had fogotten. 7 months ago
  roker 801f23a746 uuuh... a const_cast would silent the compiler. hmm. 7 months ago
  roker 392662b981 unittest to show how the intended usage will be. 7 months ago
  roker cbbd03ae01 okay, if I change the value_type from 'char*' to 'const char*' I got other troubles there... *sigh* 7 months ago
  roker 16cf6ce9c3 add stringlist wrapper. 7 months ago
  roker b8529ff268 change return type. 7 months ago
  roker 39e8dd2d10 Yay, all tests are green now! \o/ 8 months ago
  roker 555c3acd88 fix member functions 8 months ago
  roker 450acba1bc now the unittests compile. \o/ All declared functions & variables are defined. 8 months ago
  roker 8f86913011 implement missing member functions for StringPair and StringPairList. 8 months ago
  roker 999052db8b externalize zhe initializer_list<> to get better compiler error messages. might be reverted sometimes later. 8 months ago
  roker 2b41928f54 define a separate iterator type which can be copied easily and does not own the pointee. Add weird member pointer. \o/ 8 months ago
  roker 8c2cef7b27 okay, it does not work this way: iterators are copied often, but the main Wrapper<T> shall not be copyable. 8 months ago
  roker 680a19bcc8 find() -> find_if() etc. to make it compile. *sigh* 8 months ago
  roker 68f3006e37 fix unittests. but there is still a lot to do... 8 months ago
  roker 0f8cdd048a add ListWrapper<T,E>. define StringPairList. 8 months ago
  roker 1a270a0106 add comprehensive test for pEp::StringPairList 8 months ago
  roker 63cc9909a2 add default goal in Makefile. 8 months ago
  roker 377074baf8 make 'all' a PONY target. 8 months ago
  roker d52ed09280 add unittest_stringpair; fix linker errors. 8 months ago
  roker b8b855e075 add wrapper for stringpair_t 8 months ago
  roker 2a8fbafbb8 add operator""_sv(). 8 months ago
  roker c36701cdee generate_nfc_compose() is in namespace pEp. 8 months ago
  roker 263222aefb add simple unittest; stolen from JSON Adapter. 8 months ago
  roker cf27e646b6 move nfc stuff into namespace pEp. 8 months ago
  roker 450275c71a add NFC functions from pEpMIME. 8 months ago
  roker 7f7198fb21 yay, template<> template<> does the trick! awesome syntax. 8 months ago
  roker fe88301c3b implement the wrapper for certain types. 8 months ago
  roker 68052a3c78 add 1st rough version of test/Makefile 8 months ago
  roker fa8c1bf66c add .gitignore 8 months ago
  roker f98d163384 add Makefiles & Makefile.conf, stolen from libpEpAdapter. 8 months ago
  roker 6f4ac9e572 add operator""_CRLF() to ease definition of NET-ASCII/NET-Unicode test data strings. 9 months ago
  roker 57bbe558e4 change include guard to fulfill our coding style standard. :-) 9 months ago
  roker e46c0b6477 generic wrapper for several C datatypes. 9 months ago
  roker b70c3eaff2 copy discussion result from pad to README.md 9 months ago