1. 24 Sep, 2014 1 commit
  2. 20 Sep, 2014 1 commit
  3. 19 Sep, 2014 1 commit
  4. 17 Sep, 2014 1 commit
  5. 16 Sep, 2014 1 commit
    • Huu Nguyen's avatar
      Fix non-constant-expression narrowing · 5642366f
      Huu Nguyen authored
      For OS X, the microseconds field is implemented as an int type. The implicit narrowing in the initializer list throws a compiler error for some compilers with C++11 support turned on. The specific error message is: "error: non-constant-expression cannot be narrowed from type 'long' to '__darwin_suseconds_t' (aka 'int') in initializer list [-Wc++11-narrowing]".
      
      Tested on Clang 5.1.0 and Mac OS X 10.9.4.
      5642366f
  6. 12 Sep, 2014 1 commit
  7. 11 Sep, 2014 1 commit
  8. 31 Aug, 2014 1 commit
  9. 27 Aug, 2014 2 commits
    • Pieter Hintjens's avatar
      Problem: nodrop code is ugly · f15146b5
      Pieter Hintjens authored
      It's bad practice to start by testing all exceptional conditions
      and then dropping through to the 'normal' condition. Apart from
      being inefficient, it's deceptive to the user. Conditional code
      should always try to show the natural expectation of the code,
      with exceptional cases coming last.
      
      Solution: clean up this code.
      f15146b5
    • Pieter Hintjens's avatar
      Problem: issues with nodrop property · 35040aaf
      Pieter Hintjens authored
      - not initialized before use
      - name is nasty (boolean variables should not have negative names)
      
      Solution: rename to 'lossy' and initialize to 'true'.
      35040aaf
  10. 14 Aug, 2014 1 commit
  11. 13 Aug, 2014 2 commits
  12. 12 Aug, 2014 3 commits
  13. 08 Aug, 2014 2 commits
  14. 29 Jul, 2014 1 commit
  15. 28 Jul, 2014 1 commit
  16. 24 Jul, 2014 2 commits
    • Ewen McNeill's avatar
      z/OS: Skip pthread_{get,set}schedparam · 501666d0
      Ewen McNeill authored
      Updated:
          src/thread.cpp: On older z/OS UNIX System Services,
              pthread_{get,set}schedparam is not present (searching the
              Internet suggests it may be present in later version than
              the one being used for z/OS UNIX System Services porting).
      
              Make zmq::thread_t::setSchedulingParameters() a no-op on
              z/OS UNIX System Services.
      
          NOTE: pthread_{get,set}schedparam appear to have been introduced
          by POSIX.1-2001 or IEEE 1003.1-2004 so may not be universally
          available, and thus more platforms may need this "no-op" treatment.
      501666d0
    • Ewen McNeill's avatar
      Remove "const" from std::map key · 217e0ae9
      Ewen McNeill authored
      Updated:
          src/metdata.hpp: Remove explicit "const" from key of std::map<>
             because the key is implicitly const already (see
             http://en.cppreference.com/w/cpp/container/map and
             http://www.cplusplus.com/reference/map/map/).
      
      On some platforms (such as z/OS UNIX System Services) explicitly
      declaring the map key as "const" causes template expansion errors
      as it tries to create separate allocators for "const const std::string"
      and "const std::string" only to find that they clash.  (Presumably
      some compilers collapse these into one earlier.)
      
      There are no template expansion errors if the map key is left to be
      implicitly const.
      217e0ae9
  17. 23 Jul, 2014 1 commit
    • Ewen McNeill's avatar
      z/OS: Loop on EAGAIN on close() in ~signaler · 0af693c4
      Ewen McNeill authored
      Updated:
          src/signaler.cpp: Add close_wait_ms() static function to loop
             when receiving EAGAIN in response to close(), with ms long
             sleeps, up to a maximum limit (default 2000ms == 2 seconds);
             used in signaler_t::~signaler_t() destructor.
      0af693c4
  18. 12 Jul, 2014 1 commit
  19. 09 Jul, 2014 2 commits
  20. 07 Jul, 2014 1 commit
  21. 06 Jul, 2014 1 commit
  22. 03 Jul, 2014 1 commit
  23. 02 Jul, 2014 1 commit
  24. 01 Jul, 2014 1 commit
  25. 27 Jun, 2014 1 commit
    • Franco Fichtner's avatar
      socks: fix build on FreeBSD · f1207e6a
      Franco Fichtner authored
      The fix should be sane on all UNIX-like systems, so there's
      no ZMQ_HAVE_FREEBSD involved.  It's likely that other BSDs
      stumble across this problem too.
      f1207e6a
  26. 25 Jun, 2014 6 commits
  27. 24 Jun, 2014 2 commits