ChangeLog 4.0 KB

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