1. 05 May, 2016 1 commit
  2. 12 Feb, 2016 1 commit
    • Pieter Hintjens's avatar
      Problem: tests don't build on Windows · bbcc79d1
      Pieter Hintjens authored
      There were numerous small issues with test cases:
      
      - some lacked the right source file header
      - some were not portable at all
      - some were using internal libzmq APIs (headers)
      
      Solution: fixed and cleaned up.
      bbcc79d1
  3. 06 Feb, 2016 2 commits
  4. 01 Feb, 2016 1 commit
  5. 30 Jan, 2016 1 commit
    • Jean-Christophe Fillion-Robin's avatar
      Style: Fix unused parameter compilation warnings · f329252d
      Jean-Christophe Fillion-Robin authored
      This commit addresses the following warnings reported on gcc 5.2.1. In
      the future, this will help reduce the "noise" and help catch warnings
      revealing a serious problem.
      
      8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---
      /path/to/libzmq/src/options.cpp:1048:36: warning: unused parameter ‘option_’ [-Wunused-parameter]
       bool zmq::options_t::is_valid (int option_) const
                                          ^
      
      /path/to/libzmq/src/plain_client.cpp:146:30: warning: unused parameter ‘cmd_data’ [-Wunused-parameter]
               const unsigned char *cmd_data, size_t data_size)
                                    ^
      
      /path/to/libzmq/src/plain_client.cpp:146:30: warning: unused parameter ‘cmd_data’ [-Wunused-parameter]
               const unsigned char *cmd_data, size_t data_size)
                                    ^
      
      /path/to/libzmq/src/socket_base.cpp:1445:44: warning: unused parameter ‘group_’ [-Wunused-parameter]
       int zmq::socket_base_t::xjoin (const char *group_)
                                                  ^
      /path/to/libzmq/src/socket_base.cpp:1451:45: warning: unused parameter ‘group_’ [-Wunused-parameter]
       int zmq::socket_base_t::xleave (const char *group_)
                                                   ^
      
      /path/to/libzmq/src/radio.cpp:145:33: warning: unused parameter ‘msg_’ [-Wunused-parameter]
       int zmq::radio_t::xrecv (msg_t *msg_)
                                       ^
      /path/to/libzmq/src/dish.cpp:164:32: warning: unused parameter ‘msg_’ [-Wunused-parameter]
       int zmq::dish_t::xsend (msg_t *msg_)
                                      ^
      
      /path/to/libzmq/tests/test_msg_ffn.cpp:32:16: warning: unused parameter ‘data’ [-Wunused-parameter]
       void ffn(void *data, void *hint) {
                      ^
      
      /path/to/libzmq/tests/test_timers.cpp:50:19: warning: unused parameter ‘timer_id’ [-Wunused-parameter]
       void handler (int timer_id, void* arg)
                         ^
      8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---
      f329252d
  6. 28 Jan, 2016 1 commit
  7. 14 Jan, 2016 1 commit
  8. 21 Dec, 2015 1 commit
    • Pieter Hintjens's avatar
      Problem: zmq timers API is not CLASS conformant · f8b9ca5f
      Pieter Hintjens authored
      If we're going to add CLASS-like APIs we should use the proper
      syntax; specifically 'destroy' instead of 'close', which is a
      hangover from the 'ZeroMQ is like sockets' model we're slowly
      moving away from.
      
      Solution: change zmq_timers_close(p) to zmq_timers_destroy(&p)
      f8b9ca5f
  9. 18 Dec, 2015 1 commit