Merged with default protocol5

Fixed Container::splice() method trimming the last element even when not supposed to

Added the ByteArray::quote() method to return a string representation of the byte array, and used it to print out the contents of unparseable packets.

Added Doxygen configuration

Added versions of min() and max() that find the smallest and largest values in an iterable.

Fixed compilation problems. protocol5

Merged with default protocol5

Added the ByteArray typedef for Vector<unsigned char>

Bytestream now behaves more like a cursor. It does not store the data anymore, rather it leaves the user to specify a vector to use for storage.

Restyled RCONSession method names and paren style

Merged with default protocol5

Eliminated unnecessary difference to the protocol5 branch

Merged with default protocol5

Renamed Datagram members, RCONSession::handle_packet now takes the datagram as the parameter.

Fixed complation problems. protocol5

Merged with default protocol5

Restored the String::vsprintf buffer to 1024 characters, it only was 64 characters long for testing.

Made String::vsprintf behave properly with long strings.

Documented mystring.cpp. String::trim removed as it does the same as String::removeFromEnd.

Added doxygen documentation to mystring.h

Renamed String methods, and reformatted mystring.h

Restyled geometry.h

Renamed the methods of ColoredLine

Restyled parentheses in coloredline.cpp/.h

Merged with default protocol5

Reformatted parentheses in interface.cpp.

Restyled the names of the private methods of Interface

Restyled Interface's public method names

Made Range not include the 'max' parameter, replaced a lot of for()-loops with C++11-style range-for-loops

Removed the hardcoded /watch from RCONSession::send_command since it already exists in Interface::handle_command protocol5

Removed the disconnection change in Interface::handle_input(), not sure where that even came from protocol5

Removed duplicate ColoredLine::add_string definition protocol5

Merged with default protocol5

Added support for colored nicknames

Merged with default protocol5

Commit ZFC's end of reliable RCON streams protocol5

Adjusted String::mid again

Renamed g_pageSize

Restyled the names of Interface's private members

Moved the APPNAME also inside version.cpp (now application_name()) and changed it to uppercase

Moved version definitions from version.h to version.cpp since they have no reason to be in the header file

Use tags as a compare basis for updating the revision if available, so that when a revision gets tagged, hginfo.h gets updated.

Changed version to 1.2

Added tag 1.1 for changeset 9d640b94ef02

Removed the unused IS_RELEASE commented macro (we use HG_TAG for detecting releases for version strings instead) 1.1

Fixed missing newline in /connect usage message

Fixed some warning on MSVC

Added support for alt+backspace, which removes the previous word

Improved the color handling a tad

Fixed: sending a message from earlier history did not flush to a new input line, instead just up a single level in history

ZFC's own messages are now printed in blue to distinguish them from messages from the server.

Need to `#include <stdlib.h>` in basics.h or md5.cpp doesn't compile under Linux/Clang

Added support for long-form color codes, such as \c[Green]

Added /disconnect

Now disconnects properly without instantly quitting

Fix compilation on MSVC 2010

(0) -100 -56 tip

mercurial