ChangeLog 4.1 KB

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