1. 03 Jun, 2015 1 commit
    • Jens Auer's avatar
      Allocation-free msg::init_data · 611e96c7
      Jens Auer authored
      With a msg_t size of 64 bytes, it becomes possible to embedd the content_t's members
      struct for large messages directly in the msg_t. This saves the dynamic allocation
      of content_t obejcts when using msg_t::init_data.
      
      content_t contains a zmq::atomic_counter_t object which is not a POD in C++98
      and thus it cannot be used as a member of the union u. To bypass this, C++11
      is used which has relaxed rules for POD and atomic_counter is a C++11-POD. An
      alternative would have been to make atomic_counter a classical POD by removing
      constructors and all private member functions, i.e. have a struct and free functions
      to manipulate it.
      
      A new msg_t::init function is added which decides to either to copy the data for size<64 bytes
      or use msg_t::init_data to do zero-copy initialization.
      611e96c7
  2. 02 Jun, 2015 1 commit
  3. 01 Feb, 2015 1 commit
  4. 22 Jan, 2015 1 commit
  5. 13 Aug, 2014 1 commit
  6. 03 May, 2014 1 commit
  7. 30 Apr, 2014 1 commit
    • Martin Hurton's avatar
      Define i_properties interface · 19c62b93
      Martin Hurton authored
      - copy and move message operations are updated to maintain proper
        reference count of properties object
      - zmq_msg_gets updated to use i_properties interface to fetch property
        value
      - setter/getter added to msg_t class
      19c62b93
  8. 29 Apr, 2014 1 commit
  9. 12 Jan, 2014 1 commit
  10. 08 Jan, 2014 2 commits
  11. 07 Jan, 2014 1 commit
  12. 06 Jan, 2014 1 commit
  13. 02 Jan, 2014 1 commit
  14. 19 Aug, 2013 2 commits
  15. 18 Aug, 2013 1 commit
  16. 12 Mar, 2013 1 commit
    • Pieter Hintjens's avatar
      Removed corporate advertisements from source file headers · f0f16505
      Pieter Hintjens authored
      Copyrights had become ads for Sustrik's corporate sponsors, going against the original
      agreement to share copyrights with the community (that agreement was: one line stating
      iMatix copyright + one reference to AUTHORS file). The proliferation of corporate ads
      is also unfair to the many individual authors. I've removed ALL corporate title from
      the source files so the copyright statements can now be centralized in AUTHORS and
      source files can be properly updated on an annual basis.
      f0f16505
  17. 01 Nov, 2012 1 commit
  18. 31 Jul, 2012 1 commit
    • Martin Hurton's avatar
      Fix issue #406 · 9fab9937
      Martin Hurton authored
      When a peer reconnects, the router socket receives an identity
      message containing this peer id. When this happens, the current
      implementation crashes.
      
      This patch makes a router socket to silently ignore all identity
      messages coming from reconnected peers.
      9fab9937
  19. 14 Mar, 2012 1 commit
    • boris@boressoft.ru's avatar
      Add WinCE support. · 318ba883
      boris@boressoft.ru authored
      * Added two new files: errno.hpp and errno.cpp. They are required to use errno functionality on WM.
      * zmq.cpp, msg.h: removed inclusion of errno.h because it is included in zmq.h that is also included by .cpp.
      * windows.hpp: process.h is included only for desktop builds.
      * thread.cpp: on CE CreateThread is used instead of __beginthreadex
      * socket_base.cpp, clock.cpp: on CE include cmnintrin.h instead on intrin.h
      * signaler.cpp: on Windows should use special macro around event name (for unicode builds)
      * err.hpp: make it include errno.hpp (my file) instead on errno.h when building for CE
      * err.cpp: use FormatMessage when building for CE (because CE does not have ANSI API functions)
      * zmq.h: do not include errno.h whe building for CE
      * libzmq.vcproj: add tro new files
      318ba883
  20. 17 Feb, 2012 1 commit
  21. 16 Feb, 2012 1 commit
    • Pieter Hintjens's avatar
      Minor cleanups · ccdb7a63
      Pieter Hintjens authored
      * Fixed use of ssize_t in zmq_msg_t class
      * Corrected error after merge, old reference to inner_fctname (broke build)
      ccdb7a63
  22. 01 Nov, 2011 1 commit
  23. 31 Oct, 2011 1 commit
  24. 27 Oct, 2011 1 commit
  25. 02 Sep, 2011 1 commit
  26. 08 Jul, 2011 1 commit
  27. 17 May, 2011 1 commit
  28. 03 May, 2011 2 commits
  29. 21 Apr, 2011 1 commit
  30. 19 Apr, 2011 1 commit
  31. 12 Apr, 2011 1 commit