1. 18 Oct, 2013 2 commits
  2. 10 Sep, 2013 1 commit
  3. 19 Aug, 2013 1 commit
  4. 17 Aug, 2013 1 commit
  5. 28 Jun, 2013 1 commit
  6. 15 May, 2013 1 commit
    • Pieter Hintjens's avatar
      Added configuration for PLAIN security · e1f797b0
      Pieter Hintjens authored
      * ZMQ_PLAIN_SERVER, ZMQ_PLAIN_USERNAME, ZMQ_PLAIN_PASSWORD options
      * Man page changes to zmq_setsockopt and zmq_getsockopt
      * Man pages for ZMQ_NULL, ZMQ_PLAIN, and ZMQ_CURVE
      * Test program test_security
      e1f797b0
  7. 25 Apr, 2013 1 commit
    • Jon Dyte's avatar
      Experimental function zmq_recviov doesnt work correctly in a couple of cases · 56ead844
      Jon Dyte authored
      1) VSM - you cannot hand out the 'data' address as it was not allocated on the heap
      2) for other messages the 'data' address cannot be handed out either, as it not the address
      originally returned by malloc and hence cannot be passed to 'free'.
      see msg.cpp
      u.lmsg.content = (content_t*) malloc (sizeof (content_t) + size_);
      ....
      u.lmsg.content->data = u.lmsg.content + 1;
      
      So the function is changed to always malloc a data buffer and copy the data into it.
      There is a possible optimisation using memmove for the non-VSM case but that is not done yet.
      56ead844
  8. 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
  9. 08 Mar, 2013 2 commits
  10. 30 Jan, 2013 1 commit
  11. 17 Jan, 2013 1 commit
  12. 02 Jan, 2013 2 commits
  13. 29 Dec, 2012 1 commit
  14. 21 Nov, 2012 1 commit
  15. 24 Oct, 2012 1 commit
  16. 21 Sep, 2012 1 commit
  17. 07 Sep, 2012 1 commit
  18. 27 Aug, 2012 1 commit
    • Arthur O'Dwyer's avatar
      Silence all "unused parameter" warnings from Clang. · 3b984d40
      Arthur O'Dwyer authored
      Compiling without warnings is a good goal, because it makes
      new warnings (which probably indicate bugs) stand out rather
      than getting lost in the spam.
      
      My fixes fall into two categories:
      
          - Adding (void) casts of unused parameters, where their
            unusedness seems like a TODO (or in some cases a bug?).
      
          - Removing parameter names altogether, where the function
            is clearly a stub that will never use its parameters.
      
      Should be no change in behavior.
      3b984d40
  19. 24 Aug, 2012 1 commit
    • Arthur O'Dwyer's avatar
      The "count_" out-parameter is doubled instead of unchanged. · a48751b3
      Arthur O'Dwyer authored
      Static analysis says:
      src\zmq.cpp(489): error V220: Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being casted: '* count_'.
      src\zmq.cpp(510): error V127: An overflow of the 32-bit 'nread' variable is possible inside a long cycle which utilizes a memsize-type loop counter.
      
      I've silenced the warning on line 489 and ignored the other.
      But also, it looks to me like there's a serious bug here: The
      out-parameter "count_" is never set to zero before we start
      incrementing it. So its final value will always be between
      1 and 2 times its initial value. The fix seems obvious.
      a48751b3
  20. 28 Jul, 2012 1 commit
  21. 24 Jul, 2012 1 commit
  22. 05 Jun, 2012 1 commit
  23. 27 May, 2012 1 commit
  24. 22 May, 2012 1 commit
  25. 21 May, 2012 1 commit
  26. 20 Apr, 2012 1 commit
  27. 18 Apr, 2012 1 commit
  28. 29 Mar, 2012 1 commit
  29. 21 Mar, 2012 1 commit
  30. 20 Mar, 2012 1 commit
    • Pieter Hintjens's avatar
      Fixed issues #337, #341, and #340 · 6e71a54b
      Pieter Hintjens authored
      * Implemented new ctx API (_new, _destroy, _get, _set)
      * Removed 'typesafe' macros from zmq.h
      * Added support for MAX_SOCKETS (was tied into change for #337)
      * Created new man pages
      6e71a54b
  31. 16 Mar, 2012 1 commit
  32. 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
  33. 17 Feb, 2012 3 commits
  34. 16 Feb, 2012 2 commits