1. 03 Feb, 2016 4 commits
  2. 02 Feb, 2016 5 commits
  3. 01 Feb, 2016 19 commits
  4. 31 Jan, 2016 1 commit
  5. 30 Jan, 2016 11 commits
    • Constantin Rack's avatar
      8dbda15e
    • Constantin Rack's avatar
    • Min RK's avatar
      allow underscores in domain names · cdec4dc9
      Min RK authored
      Since they are allowed
      
      (They are not, however, allowed in hostnames)
      cdec4dc9
    • somdoron's avatar
      Fix compilation errors on windows · 389e853c
      somdoron authored
      389e853c
    • Doron Somech's avatar
      Merge pull request #1744 from jcfr/fix-gcc-warnings · add4e767
      Doron Somech authored
      Fix unused-parameter/unused-but-set-variable/missing-field-initializers warnings
      add4e767
    • Doron Somech's avatar
      Merge pull request #1743 from jcfr/add-missing-ctest-tests · 318dd7c7
      Doron Somech authored
      ctest: Add missing test_udp and test_large_msg
      318dd7c7
    • Doron Somech's avatar
      Merge pull request #1742 from jemc/master · 73f73dda
      Doron Somech authored
      Problem: `udp_address::interface` conflicts with VS2015 build.
      73f73dda
    • Jean-Christophe Fillion-Robin's avatar
      Style: Fix -Wmissing-field-initializers in socket_poller.cpp · 2cb8da3b
      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.
      
      It was originally introduce in the refactoring associated with
      zeromq/libzmq@da2bc60 (Removing zmq_pollfd as it is replaced by zmq_poller).
      
      8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---
      /path/to/libzmq/src/socket_poller.cpp: In member function ‘int zmq::socket_poller_t::add(zmq::socket_base_t*, void*, short int)’:
      /path/to/libzmq/src/socket_poller.cpp:92:51: warning: missing initializer for member ‘zmq::socket_poller_t::item_t::pollfd_index’ [-Wmissing-field-initializers]
           item_t item = {socket_, 0, user_data_, events_};
                                                         ^
      /path/to/libzmq/src/socket_poller.cpp: In member function ‘int zmq::socket_poller_t::add_fd(zmq::fd_t, void*, short int)’:
      /path/to/libzmq/src/socket_poller.cpp:108:50: warning: missing initializer for member ‘zmq::socket_poller_t::item_t::pollfd_index’ [-Wmissing-field-initializers]
           item_t item = {NULL, fd_, user_data_, events_};
                                                        ^
      8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---
      2cb8da3b
    • Jean-Christophe Fillion-Robin's avatar
      Style: Fix -Wunused-but-set-variable in test_stream_exceeds_buffer.cpp · 46b02338
      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/tests/test_stream_exceeds_buffer.cpp: In function ‘int main()’:
      /path/to/libzmq/tests/test_stream_exceeds_buffer.cpp:19:9: warning: variable ‘rc’ set but not used [-Wunused-but-set-variable]
           int rc = setsockopt(server_sock, SOL_SOCKET, SO_REUSEADDR, &enable, sizeof(enable));
               ^
      8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---
      46b02338
    • 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
    • Jean-Christophe Fillion-Robin's avatar
      ctest: Add missing test_udp and test_large_msg · 05e48cc6
      Jean-Christophe Fillion-Robin authored
      This commit fixes the author warnings reported below. These tests
      have originally been introduced in zeromq/libzmq@5ebfd17 and
      zeromq/libzmq@5fe75f0.
      
      8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---
      CMake Warning (dev) at tests/CMakeLists.txt:133 (message):
        Test 'test_udp' is not known to CTest.
      This warning is for project developers.  Use -Wno-dev to suppress it.
      
      CMake Warning (dev) at tests/CMakeLists.txt:133 (message):
        Test 'test_large_msg' is not known to CTest.
      This warning is for project developers.  Use -Wno-dev to suppress it.
      8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---
      05e48cc6