<feed xmlns='http://www.w3.org/2005/Atom'>
<title>minetest.git/src/connection.cpp, branch hud_font_style</title>
<subtitle>lizzy's patches for luanti
</subtitle>
<id>https://git.vlhl.dev/lizzy/luanti/minetest.git/atom?h=hud_font_style</id>
<link rel='self' href='https://git.vlhl.dev/lizzy/luanti/minetest.git/atom?h=hud_font_style'/>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/lizzy/luanti/minetest.git/'/>
<updated>2015-02-16T10:00:55+00:00</updated>
<entry>
<title>[Patch 2/4] Network rework: packet writing, sending and cleanups</title>
<updated>2015-02-16T10:00:55+00:00</updated>
<author>
<name>Loic Blot</name>
<email>loic.blot@unix-experience.fr</email>
</author>
<published>2015-01-16T10:37:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/lizzy/luanti/minetest.git/commit/?id=ed04e8e9e407f0dd57fa83a9732b3a3968cb80e0'/>
<id>urn:sha1:ed04e8e9e407f0dd57fa83a9732b3a3968cb80e0</id>
<content type='text'>
NetworkPacket.cpp:
* Remove some deprecated functions, we must use streaming interface
* m_data converted from u8* to std::vector&lt;u8&gt;
* Add an exporter to forge packet to Connection object
* implement operator &lt;&lt; std::wstring. n
* implement operator &lt;&lt; std::string
* dynamic resize when write packet content.
* fix string writing and performances.
* create ServerCommandFactory, used by client to get useful informations about packet processing (sending).
  * Reliability
  * Transmit channel
* Implement putRawString for some ugly char (_INIT packet), and use it.
* Many packet read and write migrated
* Implement oldForgePacket to interface writing with current connection
* fix U8/char/bool writing
* fix string writing and performances.
* add some missing functions
* Use v3s16 read instead of reading x,y,z separately
* Add irr::video::SColor support into packets
* Add some missing handlers
* Add a template function to increase offset
* Throw a serialization error on packet reading (must be improved)

PacketFactories:
* Create ServerCommandFactory, used by client to get useful informations about packet processing (sending).
* Create ClientCommandFactory, used by server to get useful informations about packet processing (sending).

Client.cpp:
* implement NetworkPacket ::Send interface.
* Move packet handlers to a dedicated file
* Remove Client::Send(SharedBuffer)

Server.cpp:
* implement NetworkPacket ::Send interface.
* Rewrite all packets using NetworkPacket
* Move packet handlers to a dedicated file
* Remove Server::Send(SharedBuffer)

ClientIface.cpp:
* Remove sendToAll(SharedBuffer&lt;u8&gt;)

Connection.hpp rework:
* Remove duplicate include
* Remove duplicate negation
* Remove a useless variable
* Improve code performance by using a m_peers_list instead of scanning m_peers map
* Remove Connection::Send(SharedBuffer)
* Fix useafterfree into NetworkPacket Sending
* Remove unused Connection::sendToAll

Test.cpp:
* Remove dead code
* Update tests to use NetworkPackets

Misc:
* add new wrappers to Send packets in client, using NetworkPacket
* Add NetworkPacket methods for Connection
* coding style fix
* dead code since changes cleanup
* Use v3s16 read instead of reading x,y,z separately in some packets
* Use different files to handle packets received by client and server
* Cleanup: Remove useless includes

ok @Zeno-
Tested by @Zeno- @VanessaE and @nerzhul on running servers
</content>
</entry>
<entry>
<title>Fix all warnings and remove -Wno-unused-but-set cflag</title>
<updated>2015-01-19T04:29:19+00:00</updated>
<author>
<name>kwolekr</name>
<email>kwolekr@minetest.net</email>
</author>
<published>2015-01-19T04:29:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/lizzy/luanti/minetest.git/commit/?id=38bd9e93a252cb2dd5ace6b0132514edff38b504'/>
<id>urn:sha1:38bd9e93a252cb2dd5ace6b0132514edff38b504</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Performance fixes.</title>
<updated>2015-01-13T13:48:56+00:00</updated>
<author>
<name>onkrot</name>
<email>vob999@bk.ru</email>
</author>
<published>2015-01-10T11:05:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/lizzy/luanti/minetest.git/commit/?id=0fd1ee03808ee8121e7b65e5c7c9ba19599d185e'/>
<id>urn:sha1:0fd1ee03808ee8121e7b65e5c7c9ba19599d185e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix -Wtype-limits warnings and remove disabling of -Wtype-limits</title>
<updated>2014-12-29T13:56:40+00:00</updated>
<author>
<name>Craig Robbins</name>
<email>kde.psych@gmail.com</email>
</author>
<published>2014-12-29T13:53:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/lizzy/luanti/minetest.git/commit/?id=3993102e880f2a31b6fef9484b8527a58e850744'/>
<id>urn:sha1:3993102e880f2a31b6fef9484b8527a58e850744</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix MSVC compiler warning about passing this pointer in initializer list</title>
<updated>2014-12-29T04:40:44+00:00</updated>
<author>
<name>sapier</name>
<email>Sapier at GMX dot net</email>
</author>
<published>2014-08-22T17:25:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/lizzy/luanti/minetest.git/commit/?id=acb351950287339b3dcd44e462999e3317047401'/>
<id>urn:sha1:acb351950287339b3dcd44e462999e3317047401</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use std::string::empty() instead of size() where applicable</title>
<updated>2014-12-12T20:16:24+00:00</updated>
<author>
<name>Anton</name>
<email>vob999@bk.ru</email>
</author>
<published>2014-12-12T14:55:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/lizzy/luanti/minetest.git/commit/?id=10e0cf8b2c27917a3fd45e73a5d835af4313db3b'/>
<id>urn:sha1:10e0cf8b2c27917a3fd45e73a5d835af4313db3b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix #1733: An unhandled exception occurred: GetPeer: Peer not found (possible timeout)</title>
<updated>2014-10-28T17:39:23+00:00</updated>
<author>
<name>Craig Robbins</name>
<email>kde.psych@gmail.com</email>
</author>
<published>2014-10-26T05:32:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/lizzy/luanti/minetest.git/commit/?id=6396712ec488e5113e9367dfa6184f6989c8c360'/>
<id>urn:sha1:6396712ec488e5113e9367dfa6184f6989c8c360</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Log unhandled exceptions in connectionthreads to errorstream</title>
<updated>2014-09-06T16:22:27+00:00</updated>
<author>
<name>sapier</name>
<email>Sapier at GMX dot net</email>
</author>
<published>2014-09-06T16:22:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/lizzy/luanti/minetest.git/commit/?id=62ea342ad1b725ac44a787c60388cbc8a1c383c5'/>
<id>urn:sha1:62ea342ad1b725ac44a787c60388cbc8a1c383c5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix access to invalid data on reception of packet with size 0</title>
<updated>2014-09-06T15:42:34+00:00</updated>
<author>
<name>sapier</name>
<email>Sapier at GMX dot net</email>
</author>
<published>2014-09-06T15:41:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/lizzy/luanti/minetest.git/commit/?id=944e79d7a6bc9b80210e12f9e96ea37c37703910'/>
<id>urn:sha1:944e79d7a6bc9b80210e12f9e96ea37c37703910</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Improve timeout calculation</title>
<updated>2014-08-22T18:56:16+00:00</updated>
<author>
<name>sapier</name>
<email>Sapier at GMX dot net</email>
</author>
<published>2014-07-12T13:58:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/lizzy/luanti/minetest.git/commit/?id=247a1ebf2317556eea79a018fb236a0145e55121'/>
<id>urn:sha1:247a1ebf2317556eea79a018fb236a0145e55121</id>
<content type='text'>
gf
</content>
</entry>
</feed>
