<feed xmlns='http://www.w3.org/2005/Atom'>
<title>minetest.git/src/network/packethandlers/client.cpp, branch mirror_hands</title>
<subtitle>lizzy's patches for luanti
</subtitle>
<id>https://git.vlhl.dev/lizzy/luanti/minetest.git/atom?h=mirror_hands</id>
<link rel='self' href='https://git.vlhl.dev/lizzy/luanti/minetest.git/atom?h=mirror_hands'/>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/lizzy/luanti/minetest.git/'/>
<updated>2015-03-16T09:19:19+00:00</updated>
<entry>
<title>Rename packethandler/{client,server}.cpp to {client,server}packethandler.cpp</title>
<updated>2015-03-16T09:19:19+00:00</updated>
<author>
<name>Loic Blot</name>
<email>loic.blot@unix-experience.fr</email>
</author>
<published>2015-03-16T09:19:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/lizzy/luanti/minetest.git/commit/?id=b560294050e662a32b6b885ccf0e0f3b492cf5c4'/>
<id>urn:sha1:b560294050e662a32b6b885ccf0e0f3b492cf5c4</id>
<content type='text'>
* Requested by @Zeno-
* Approved by @nerzhul
</content>
</entry>
<entry>
<title>Replace NetworkPacket pointers to references</title>
<updated>2015-03-13T21:01:49+00:00</updated>
<author>
<name>Loic Blot</name>
<email>loic.blot@unix-experience.fr</email>
</author>
<published>2015-03-13T21:01:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/lizzy/luanti/minetest.git/commit/?id=083c8c734e8af037d8ad3a1a35475a5d4756572c'/>
<id>urn:sha1:083c8c734e8af037d8ad3a1a35475a5d4756572c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Prepare Protocol v25 init &amp; authentication.</title>
<updated>2015-03-13T19:23:03+00:00</updated>
<author>
<name>Loic Blot</name>
<email>loic.blot@unix-experience.fr</email>
</author>
<published>2015-03-13T15:35:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/lizzy/luanti/minetest.git/commit/?id=74d34da6cbb06a4d5659eb3287a87239c31da22c'/>
<id>urn:sha1:74d34da6cbb06a4d5659eb3287a87239c31da22c</id>
<content type='text'>
* TOSERVER_INIT and TOCLIENT_INIT renamed to _LEGACY
* TOSERVER_PASSWORD merged from dev-0.5, can use protocol v24 and v25
* TOCLIENT_ACCESS_DENIED merged from dev-0.5, can use protocol v24 and v25, with normalized strings an a custom id for custom errors
* new TOSERVER_INIT packet only send MT version, supported compressions, protocols and serialization, this permit to rework everything later without break the _INIT packet
* new TOSERVER_AUTH packet which auth the client
* new TOCLIENT_HELLO packet which send server serialization version atm
* new TOCLIENT_AUTH_ACCEPTED which is send when TOCLIENT_AUTH was okay. After this packet, the client load datas from servers, like after TOCLIENT_INIT_LEGACY packet
</content>
</entry>
<entry>
<title>Handle the newly added TOCLIENT_ACCESS_DENIED and TOCLIENT_DELETE_PARTICLESPAWNER</title>
<updated>2015-03-13T13:28:20+00:00</updated>
<author>
<name>Loic Blot</name>
<email>loic.blot@unix-experience.fr</email>
</author>
<published>2015-03-13T13:14:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/lizzy/luanti/minetest.git/commit/?id=9f3fc7201beedc66f974d54415b8e3fedb13ccb3'/>
<id>urn:sha1:9f3fc7201beedc66f974d54415b8e3fedb13ccb3</id>
<content type='text'>
* Rename the handlers from _Legacy to regular, because here we can use same handlers
* Fix some packet names and pseudo handlers
</content>
</entry>
<entry>
<title>Rename some packet and handlers to &lt;packet&gt;_Legacy name for compat layer between new network changes and old network clients</title>
<updated>2015-03-13T12:40:48+00:00</updated>
<author>
<name>Loic Blot</name>
<email>loic.blot@unix-experience.fr</email>
</author>
<published>2015-03-13T12:40:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/lizzy/luanti/minetest.git/commit/?id=126f36c2e6c153f2791db743a8ceca44b6b36b10'/>
<id>urn:sha1:126f36c2e6c153f2791db743a8ceca44b6b36b10</id>
<content type='text'>
</content>
</entry>
<entry>
<title>For usages of assert() that are meant to persist in Release builds (when NDEBUG is defined), replace those usages with persistent alternatives</title>
<updated>2015-03-07T12:41:47+00:00</updated>
<author>
<name>Craig Robbins</name>
<email>kde.psych@gmail.com</email>
</author>
<published>2015-03-06T10:21:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/lizzy/luanti/minetest.git/commit/?id=ced6d20295a8263757d57c02a07ffcb66688a163'/>
<id>urn:sha1:ced6d20295a8263757d57c02a07ffcb66688a163</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Clean up database API and save the local map on an interval</title>
<updated>2015-03-06T05:20:45+00:00</updated>
<author>
<name>ShadowNinja</name>
<email>shadowninja@minetest.net</email>
</author>
<published>2014-11-16T20:31:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/lizzy/luanti/minetest.git/commit/?id=708337dfc2b3871dc6de983e781e4a4a60a1881d'/>
<id>urn:sha1:708337dfc2b3871dc6de983e781e4a4a60a1881d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove Queue class which uses std::list and use native std::queue</title>
<updated>2015-03-05T06:49:51+00:00</updated>
<author>
<name>Loic Blot</name>
<email>loic.blot@unix-experience.fr</email>
</author>
<published>2015-03-04T16:48:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/lizzy/luanti/minetest.git/commit/?id=b214cde5b4a833e1826ec6850b95bf1938c8b0a0'/>
<id>urn:sha1:b214cde5b4a833e1826ec6850b95bf1938c8b0a0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Move sha1.hpp and base64.hpp to util/</title>
<updated>2015-02-21T13:03:27+00:00</updated>
<author>
<name>Loic Blot</name>
<email>loic.blot@unix-experience.fr</email>
</author>
<published>2015-02-21T12:00:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/lizzy/luanti/minetest.git/commit/?id=3998a1f8f98c9d95a4b91b7a95612c6313081279'/>
<id>urn:sha1:3998a1f8f98c9d95a4b91b7a95612c6313081279</id>
<content type='text'>
</content>
</entry>
<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>
</feed>
