1. 11 May, 2021 2 commits
  2. 10 May, 2021 1 commit
  3. 12 Feb, 2021 1 commit
    • pfeatherstone's avatar
      Serialization to and from vector<int8_t> and vector<uint8_t> (#2301) · 479b69e6
      pfeatherstone authored
      
      
      * [SERIALIZATION]	- vectorstream can now be used with vector<int8_t> and vector<uint8_t>
      
      * [SERIALIZATION]	- update proxy_serialize and proxy_deserialize to work with vector<int8_t> and vector<uint8_t>
      
      * [SERIALIZATION]	- updated vectorstream tests
      
      * [SERIALIZATION]	- updated serialize tests. check you can go to and from any of vector<char>, vector<int8_t> and vector<uint8_t>
      
      * [SERIALIZATION]	- updated matrix tests. check you can go to and from any of vector<char>, vector<int8_t> and vector<uint8_t>
      
      * [SERIALIZATION]	- updated dnn tests. check you can go to and from any of vector<char>, vector<int8_t> and vector<uint8_t>
      
      * [SERIALIZATION] improved and possibly safer
      
      * [SERIALIZATION] use placement new. best of all worlds i think. we have least object overhead. but code looks a tad uglier. oh well, user doesn't have to care
      
      * [SERIALIZATION] i hope this is easier on the eyes.
      Co-authored-by: default avatarpf <pf@pf-ubuntu-dev>
      479b69e6
  4. 25 Nov, 2020 1 commit
    • pfeatherstone's avatar
      Fixes bug when (de)serializing vector<complex<float>> (#2244) · d9e58d66
      pfeatherstone authored
      
      
      * [SERIALIZATION] fixed bug when (de)serializing vector<complex<float>>. DLIB_DEFINE... macro uses __out and __in variables names for ostream and istream objects respectively to avoid member variable name conflicts.
      
      * Refactoring objects in DLIB_DEFINE_DEFAULT_SERIALIZATION to avoid name conflicts with user types
      
      * Refactoring objects in DLIB_DEFINE_DEFAULT_SERIALIZATION to avoid name conflicts with user types
      
      * removed tabs
      
      * removed more tabs
      Co-authored-by: default avatarpf <pf@pf-ubuntu-dev>
      d9e58d66
  5. 25 Sep, 2020 1 commit
  6. 19 Sep, 2020 2 commits
    • Davis King's avatar
      update docs · 20a14772
      Davis King authored
      20a14772
    • pfeatherstone's avatar
      Extended proxy_(de)serialize objects to work with stringstream, ostringstream,... · ab346ddf
      pfeatherstone authored
      
      Extended proxy_(de)serialize objects to work with stringstream, ostringstream, istringstream and vector<char> (#2181)
      
      * [DLIB] extended proxy objects to work with strinstream, istringstream, ostringstream and vector<char>
      
      * [DLIB]  - use std::istream and std::ostream instead of std::istringstream, std::ostringstream and std::stringstream.
      		- put back the filename member variable for better error messages
      
      * [DLIB]  - review requirement
      Co-authored-by: default avatarpf <pf@pf-ubuntu-dev>
      ab346ddf
  7. 13 Sep, 2020 2 commits
  8. 11 Mar, 2020 1 commit
  9. 18 Mar, 2018 1 commit
  10. 13 Mar, 2018 1 commit
  11. 10 Mar, 2018 1 commit
    • jjaloszy2's avatar
      Clear flags (#1190) · 973f4536
      jjaloszy2 authored
      Set istream flags to 0 in old_deserialize_floating_point.  This was flagged by [[nodiscard]] warning in MS compiler.
      973f4536
  12. 29 Jan, 2018 1 commit
  13. 21 Jan, 2018 1 commit
  14. 16 Sep, 2017 1 commit
  15. 03 Aug, 2017 1 commit
  16. 12 May, 2017 1 commit
    • elelel's avatar
      Replace shared_ptr/weak_ptr with STL's versions (#588) · 74f9f2fb
      elelel authored
      * Replace shared_ptr/weak_ptr with stdlib counterparts
      
      * Fix ptr usage through tests compilation
      
      * Bring back dlib smart ptrs as legacy
      
      * Include scoped_ptr directly
      
      * Add explanation about smart_ptr deprecation
      74f9f2fb
  17. 05 Nov, 2016 1 commit
  18. 06 Feb, 2016 1 commit
  19. 06 Aug, 2015 1 commit
  20. 09 Jul, 2014 1 commit
    • Davis King's avatar
      Changed the serialization code for C-strings so that they don't save the null terminator · f3ce1059
      Davis King authored
      byte.  This makes their serialization format the same as the format for std::string.  I had
      to revert the previous mod for this because it didn't work in visual studio.  This change
      fixes that.  The code should still be able to read all previously serialized data correctly.
      Moreover, any char arrays that aren't null terminated will still be read and written in
      their entirety.
      f3ce1059
  21. 07 Jul, 2014 1 commit
  22. 08 Jun, 2014 1 commit
  23. 09 May, 2014 1 commit
  24. 13 Nov, 2013 1 commit
  25. 20 Apr, 2013 1 commit
  26. 06 Apr, 2013 2 commits
  27. 16 Jan, 2013 2 commits
  28. 18 Aug, 2012 1 commit
  29. 26 Jul, 2012 1 commit
  30. 15 Jul, 2012 4 commits
  31. 07 Sep, 2011 1 commit
  32. 29 Apr, 2011 1 commit