ChangeLog 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  1. * added enet_socket_get_address() for querying the local address of a socket
  2. ENet 1.3.7 (March 6, 2013):
  3. * added ENET_PACKET_FLAG_SENT to indicate that a packet is being freed because it has been sent
  4. * added userData field to ENetPacket
  5. * changed how random seed is generated on Windows to avoid import warnings
  6. * fixed case where disconnects could be generated with no preceding connect event
  7. ENet 1.3.6 (December 11, 2012):
  8. * added support for intercept callback in ENetHost that can be used to process raw packets before ENet
  9. * added enet_socket_shutdown() for issuing shutdown on a socket
  10. * fixed enet_socket_connect() to not error on non-blocking connects
  11. * fixed bug in MTU negotiation during connections
  12. ENet 1.3.5 (July 31, 2012):
  13. * fixed bug in unreliable packet fragment queuing
  14. ENet 1.3.4 (May 29, 2012):
  15. * added enet_peer_ping_interval() for configuring per-peer ping intervals
  16. * added enet_peer_timeout() for configuring per-peer timeouts
  17. * added protocol packet size limits
  18. ENet 1.3.3 (June 28, 2011):
  19. * fixed bug with simultaneous disconnects not dispatching events
  20. ENet 1.3.2 (May 31, 2011):
  21. * added support for unreliable packet fragmenting via the packet flag
  22. ENET_PACKET_FLAG_UNRELIABLE_FRAGMENT
  23. * fixed regression in unreliable packet queuing
  24. * added check against received port to limit some forms of IP-spoofing
  25. ENet 1.3.1 (February 10, 2011):
  26. * fixed bug in tracking of reliable data in transit
  27. * reliable data window size now scales with the throttle
  28. * fixed bug in fragment length calculation when checksums are used
  29. ENet 1.3.0 (June 5, 2010):
  30. * enet_host_create() now requires the channel limit to be specified as
  31. a parameter
  32. * enet_host_connect() now accepts a data parameter which is supplied
  33. to the receiving receiving host in the event data field for a connect event
  34. * added an adaptive order-2 PPM range coder as a built-in compressor option
  35. which can be set with enet_host_compress_with_range_coder()
  36. * added support for packet compression configurable with a callback
  37. * improved session number handling to not rely on the packet checksum
  38. field, saving 4 bytes per packet unless the checksum option is used
  39. * removed the dependence on the rand callback for session number handling
  40. Caveats: This version is not protocol compatible with the 1.2 series or
  41. earlier. The enet_host_connect and enet_host_create API functions require
  42. supplying additional parameters.
  43. ENet 1.2.5 (June 28, 2011):
  44. * fixed bug with simultaneous disconnects not dispatching events
  45. ENet 1.2.4 (May 31, 2011):
  46. * fixed regression in unreliable packet queuing
  47. * added check against received port to limit some forms of IP-spoofing
  48. ENet 1.2.3 (February 10, 2011):
  49. * fixed bug in tracking reliable data in transit
  50. ENet 1.2.2 (June 5, 2010):
  51. * checksum functionality is now enabled by setting a checksum callback
  52. inside ENetHost instead of being a configure script option
  53. * added totalSentData, totalSentPackets, totalReceivedData, and
  54. totalReceivedPackets counters inside ENetHost for getting usage
  55. statistics
  56. * added enet_host_channel_limit() for limiting the maximum number of
  57. channels allowed by connected peers
  58. * now uses dispatch queues for event dispatch rather than potentially
  59. unscalable array walking
  60. * added no_memory callback that is called when a malloc attempt fails,
  61. such that if no_memory returns rather than aborts (the default behavior),
  62. then the error is propagated to the return value of the API calls
  63. * now uses packed attribute for protocol structures on platforms with
  64. strange alignment rules
  65. * improved autoconf build system contributed by Nathan Brink allowing
  66. for easier building as a shared library
  67. Caveats: If you were using the compile-time option that enabled checksums,
  68. make sure to set the checksum callback inside ENetHost to enet_crc32 to
  69. regain the old behavior. The ENetCallbacks structure has added new fields,
  70. so make sure to clear the structure to zero before use if
  71. using enet_initialize_with_callbacks().
  72. ENet 1.2.1 (November 12, 2009):
  73. * fixed bug that could cause disconnect events to be dropped
  74. * added thin wrapper around select() for portable usage
  75. * added ENET_SOCKOPT_REUSEADDR socket option
  76. * factored enet_socket_bind()/enet_socket_listen() out of enet_socket_create()
  77. * added contributed Code::Blocks build file
  78. ENet 1.2 (February 12, 2008):
  79. * fixed bug in VERIFY_CONNECT acknowledgement that could cause connect
  80. attempts to occasionally timeout
  81. * fixed acknowledgements to check both the outgoing and sent queues
  82. when removing acknowledged packets
  83. * fixed accidental bit rot in the MSVC project file
  84. * revised sequence number overflow handling to address some possible
  85. disconnect bugs
  86. * added enet_host_check_events() for getting only local queued events
  87. * factored out socket option setting into enet_socket_set_option() so
  88. that socket options are now set separately from enet_socket_create()
  89. Caveats: While this release is superficially protocol compatible with 1.1,
  90. differences in the sequence number overflow handling can potentially cause
  91. random disconnects.
  92. ENet 1.1 (June 6, 2007):
  93. * optional CRC32 just in case someone needs a stronger checksum than UDP
  94. provides (--enable-crc32 configure option)
  95. * the size of packet headers are half the size they used to be (so less
  96. overhead when sending small packets)
  97. * enet_peer_disconnect_later() that waits till all queued outgoing
  98. packets get sent before issuing an actual disconnect
  99. * freeCallback field in individual packets for notification of when a
  100. packet is about to be freed
  101. * ENET_PACKET_FLAG_NO_ALLOCATE for supplying pre-allocated data to a
  102. packet (can be used in concert with freeCallback to support some custom
  103. allocation schemes that the normal memory allocation callbacks would
  104. normally not allow)
  105. * enet_address_get_host_ip() for printing address numbers
  106. * promoted the enet_socket_*() functions to be part of the API now
  107. * a few stability/crash fixes