Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/trunk/src/external/enet/ChangeLog @ 8078

Last change on this file since 8078 was 7459, checked in by adrfried, 14 years ago

Merged ipv6 branch

Orxonox now includes a modified version of ENet 1.3.0

  • Property svn:eol-style set to native
File size: 3.9 KB
RevLine 
[7328]1ENet 1.3.0 (June 5, 2010):
2
3* enet_host_create() now requires the channel limit to be specified as
4a parameter
5* enet_host_connect() now accepts a data parameter which is supplied
6to 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
8which 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
11field, saving 4 bytes per packet unless the checksum option is used
12* removed the dependence on the rand callback for session number handling
13
14Caveats: This version is not protocol compatible with the 1.2 series or
15earlier. The enet_host_connect and enet_host_create API functions require
16supplying additional parameters.
17
18ENet 1.2.2 (June 5, 2010):
19
20* checksum functionality is now enabled by setting a checksum callback
21inside ENetHost instead of being a configure script option
22* added totalSentData, totalSentPackets, totalReceivedData, and
23totalReceivedPackets counters inside ENetHost for getting usage
24statistics
25* added enet_host_channel_limit() for limiting the maximum number of
26channels allowed by connected peers
27* now uses dispatch queues for event dispatch rather than potentially
28unscalable array walking
29* added no_memory callback that is called when a malloc attempt fails,
30such that if no_memory returns rather than aborts (the default behavior),
31then the error is propagated to the return value of the API calls
32* now uses packed attribute for protocol structures on platforms with
33strange alignment rules
34* improved autoconf build system contributed by Nathan Brink allowing
35for easier building as a shared library
36
37Caveats: If you were using the compile-time option that enabled checksums,
38make sure to set the checksum callback inside ENetHost to enet_crc32 to
39regain the old behavior. The ENetCallbacks structure has added new fields,
40so make sure to clear the structure to zero before use if
41using enet_initialize_with_callbacks().
42
43ENet 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
51ENet 1.2 (February 12, 2008):
52
53* fixed bug in VERIFY_CONNECT acknowledgement that could cause connect
54attempts to occasionally timeout
55* fixed acknowledgements to check both the outgoing and sent queues
56when removing acknowledged packets
57* fixed accidental bit rot in the MSVC project file
58* revised sequence number overflow handling to address some possible
59disconnect 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
62that socket options are now set separately from enet_socket_create()
63
64Caveats: While this release is superficially protocol compatible with 1.1,
65differences in the sequence number overflow handling can potentially cause
66random disconnects.
67
68ENet 1.1 (June 6, 2007):
69
70* optional CRC32 just in case someone needs a stronger checksum than UDP
71provides (--enable-crc32 configure option)
72* the size of packet headers are half the size they used to be (so less
73overhead when sending small packets)
74* enet_peer_disconnect_later() that waits till all queued outgoing
75packets get sent before issuing an actual disconnect
76* freeCallback field in individual packets for notification of when a
77packet is about to be freed
78* ENET_PACKET_FLAG_NO_ALLOCATE for supplying pre-allocated data to a
79packet (can be used in concert with freeCallback to support some custom
80allocation schemes that the normal memory allocation callbacks would
81normally 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
Note: See TracBrowser for help on using the repository browser.