[7328] | 1 | ENet 1.3.0 (June 5, 2010): |
---|
| 2 | |
---|
| 3 | * enet_host_create() now requires the channel limit to be specified as |
---|
| 4 | a parameter |
---|
| 5 | * enet_host_connect() now accepts a data parameter which is supplied |
---|
| 6 | to the receiving receiving host in the event data field for a connect event |
---|
| 7 | * added an adaptive order-2 PPM range coder as a built-in compressor option |
---|
| 8 | which can be set with enet_host_compress_with_range_coder() |
---|
| 9 | * added support for packet compression configurable with a callback |
---|
| 10 | * improved session number handling to not rely on the packet checksum |
---|
| 11 | field, saving 4 bytes per packet unless the checksum option is used |
---|
| 12 | * removed the dependence on the rand callback for session number handling |
---|
| 13 | |
---|
| 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 | |
---|
| 18 | ENet 1.2.2 (June 5, 2010): |
---|
| 19 | |
---|
| 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 | |
---|
| 37 | Caveats: If you were using the compile-time option that enabled checksums, |
---|
| 38 | make sure to set the checksum callback inside ENetHost to enet_crc32 to |
---|
| 39 | regain the old behavior. The ENetCallbacks structure has added new fields, |
---|
| 40 | so make sure to clear the structure to zero before use if |
---|
| 41 | using enet_initialize_with_callbacks(). |
---|
| 42 | |
---|
| 43 | ENet 1.2.1 (November 12, 2009): |
---|
| 44 | |
---|
| 45 | * fixed bug that could cause disconnect events to be dropped |
---|
| 46 | * added thin wrapper around select() for portable usage |
---|
| 47 | * added ENET_SOCKOPT_REUSEADDR socket option |
---|
| 48 | * factored enet_socket_bind()/enet_socket_listen() out of enet_socket_create() |
---|
| 49 | * added contributed Code::Blocks build file |
---|
| 50 | |
---|
| 51 | ENet 1.2 (February 12, 2008): |
---|
| 52 | |
---|
| 53 | * fixed bug in VERIFY_CONNECT acknowledgement that could cause connect |
---|
| 54 | attempts to occasionally timeout |
---|
| 55 | * fixed acknowledgements to check both the outgoing and sent queues |
---|
| 56 | when removing acknowledged packets |
---|
| 57 | * fixed accidental bit rot in the MSVC project file |
---|
| 58 | * revised sequence number overflow handling to address some possible |
---|
| 59 | disconnect bugs |
---|
| 60 | * added enet_host_check_events() for getting only local queued events |
---|
| 61 | * factored out socket option setting into enet_socket_set_option() so |
---|
| 62 | that socket options are now set separately from enet_socket_create() |
---|
| 63 | |
---|
| 64 | Caveats: While this release is superficially protocol compatible with 1.1, |
---|
| 65 | differences in the sequence number overflow handling can potentially cause |
---|
| 66 | random disconnects. |
---|
| 67 | |
---|
| 68 | ENet 1.1 (June 6, 2007): |
---|
| 69 | |
---|
| 70 | * optional CRC32 just in case someone needs a stronger checksum than UDP |
---|
| 71 | provides (--enable-crc32 configure option) |
---|
| 72 | * the size of packet headers are half the size they used to be (so less |
---|
| 73 | overhead when sending small packets) |
---|
| 74 | * enet_peer_disconnect_later() that waits till all queued outgoing |
---|
| 75 | packets get sent before issuing an actual disconnect |
---|
| 76 | * freeCallback field in individual packets for notification of when a |
---|
| 77 | packet is about to be freed |
---|
| 78 | * ENET_PACKET_FLAG_NO_ALLOCATE for supplying pre-allocated data to a |
---|
| 79 | packet (can be used in concert with freeCallback to support some custom |
---|
| 80 | allocation schemes that the normal memory allocation callbacks would |
---|
| 81 | normally not allow) |
---|
| 82 | * enet_address_get_host_ip() for printing address numbers |
---|
| 83 | * promoted the enet_socket_*() functions to be part of the API now |
---|
| 84 | * a few stability/crash fixes |
---|
| 85 | |
---|
| 86 | |
---|