ChangeLog 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. ENet 1.2.2 (June 5, 2010):
  2. * checksum functionality is now enabled by setting a checksum callback
  3. inside ENetHost instead of being a configure script option
  4. * added totalSentData, totalSentPackets, totalReceivedData, and
  5. totalReceivedPackets counters inside ENetHost for getting usage
  6. statistics
  7. * added enet_host_channel_limit() for limiting the maximum number of
  8. channels allowed by connected peers
  9. * now uses dispatch queues for event dispatch rather than potentially
  10. unscalable array walking
  11. * added no_memory callback that is called when a malloc attempt fails,
  12. such that if no_memory returns rather than aborts (the default behavior),
  13. then the error is propagated to the return value of the API calls
  14. * now uses packed attribute for protocol structures on platforms with
  15. strange alignment rules
  16. * improved autoconf build system contributed by Nathan Brink allowing
  17. for easier building as a shared library
  18. Caveats: If you were using the compile-time option that enabled checksums,
  19. make sure to set the checksum callback inside ENetHost to enet_crc32 to
  20. regain the old behavior. The ENetCallbacks structure has added new fields,
  21. so make sure to clear the structure to zero before use if
  22. using enet_initialize_with_callbacks().
  23. ENet 1.2.1 (November 12, 2009):
  24. * fixed bug that could cause disconnect events to be dropped
  25. * added thin wrapper around select() for portable usage
  26. * added ENET_SOCKOPT_REUSEADDR socket option
  27. * factored enet_socket_bind()/enet_socket_listen() out of enet_socket_create()
  28. * added contributed Code::Blocks build file
  29. ENet 1.2 (February 12, 2008):
  30. * fixed bug in VERIFY_CONNECT acknowledgement that could cause connect
  31. attempts to occasionally timeout
  32. * fixed acknowledgements to check both the outgoing and sent queues
  33. when removing acknowledged packets
  34. * fixed accidental bit rot in the MSVC project file
  35. * revised sequence number overflow handling to address some possible
  36. disconnect bugs
  37. * added enet_host_check_events() for getting only local queued events
  38. * factored out socket option setting into enet_socket_set_option() so
  39. that socket options are now set separately from enet_socket_create()
  40. Caveats: While this release is superficially protocol compatible with 1.1,
  41. differences in the sequence number overflow handling can potentially cause
  42. random disconnects.
  43. ENet 1.1 (June 6, 2007):
  44. * optional CRC32 just in case someone needs a stronger checksum than UDP
  45. provides (--enable-crc32 configure option)
  46. * the size of packet headers are half the size they used to be (so less
  47. overhead when sending small packets)
  48. * enet_peer_disconnect_later() that waits till all queued outgoing
  49. packets get sent before issuing an actual disconnect
  50. * freeCallback field in individual packets for notification of when a
  51. packet is about to be freed
  52. * ENET_PACKET_FLAG_NO_ALLOCATE for supplying pre-allocated data to a
  53. packet (can be used in concert with freeCallback to support some custom
  54. allocation schemes that the normal memory allocation callbacks would
  55. normally not allow)
  56. * enet_address_get_host_ip() for printing address numbers
  57. * promoted the enet_socket_*() functions to be part of the API now
  58. * a few stability/crash fixes