1. 14 Jan, 2019 1 commit
    • Jakub Adam's avatar
      tests: Fix -Wcast-function-type warnings with GCC 8 · 51cadfdc
      Jakub Adam authored
      glib documentation says G_SOURCE_FUNC() macro should be used to suppress
      the warning about incompatible function types when the function will be
      cast back to the correct type before it is called by the GSource.
      51cadfdc
  2. 20 Jun, 2016 1 commit
  3. 01 Oct, 2015 2 commits
  4. 06 Nov, 2014 2 commits
  5. 25 Sep, 2014 1 commit
  6. 31 Mar, 2014 1 commit
  7. 07 Mar, 2014 1 commit
  8. 31 Jan, 2014 6 commits
    • Olivier Crête's avatar
      Remove the "length" parameter from NiceOutputMessage · 4f456a46
      Olivier Crête authored
      It was used correctly only half the time anyway
      4f456a46
    • Olivier Crête's avatar
      Remove the "to" parameter from NiceOutputMessage · 5c235a86
      Olivier Crête authored
      We never send multiple messages to separate targets in practice, so
      this will simplify the code
      5c235a86
    • Philip Withnall's avatar
      agent: Add support for vectored I/O for sends · f7b15f14
      Philip Withnall authored
      Add one new public function, nice_agent_send_messages_nonblocking(),
      which replaces nice_agent_send_full(). This isn’t an API break, because
      nice_agent_send_full() hasn’t been in a release yet. The new API allows
      sending multiple messages in a single call, and supports vectors of
      buffers to transmit the messages from.
      
      The existing nice_agent_send() API has been left untouched, although
      it’s a bit of a bugbear because it’s non-blocking and doesn’t fit with
      the new *_nonblocking() naming scheme. Oh well.
      
      This doesn’t bring any notable changes to the number of memcpy()s on the
      critical path: it remains at zero for the common cases and common socket
      types. It introduces the possibility for future work to eliminate some
      memcpy()s in more complex socket types, like tcp-turn and tcp-bsd, but
      these optimisations have not been made yet. FIXME comments have been
      added.
      
      This includes modifications to the test-send-recv unit test to cover the
      new API.
      f7b15f14
    • Philip Withnall's avatar
      905aa839
    • Philip Withnall's avatar
      tests: Remove redundant GLIB_CHECK_VERSION checks · b222b1bf
      Philip Withnall authored
      Since we define GLIB_VERSION_MIN_REQUIRED, GLib will not emit deprecated
      function call warnings for functions like g_type_init() or
      g_thread_init().
      b222b1bf
    • Philip Withnall's avatar
      0655aab0