Now builds again default tip

refactor

merged with default protocol5

reduce delta with protocol5

merged with default protocol5

updated the documentation of the string functions

merged with default protocol5

added a lot of 'this->'

update the status bar after getting disconnected

handle exiting ZFC without using exceptions

various little touchups

updated copyright year

various changes, better network error handling

validate the ip address octets better

fixed an off-by-one error

cleanup ip address code

removed the Range class too

deleted constructors from IPAddress

renamed String and StringList uses

removed the String class in favor of std::string

removed Container classes in favor of std::vector

continue cleanup

start cleaning up unused code

readd PacketHeader structure into packetqueue branch packetqueue

merge commit packetqueue

remove PacketHeader from base protocol5 protocol5

merged with default protocol5

reduce delta with default protocol5

added protocol5 branch's string reading function which seems to be more reliable

added packet queue as a new head protocol5

remove the packet queue for now protocol5

Reduce delta between branches protocol5

Merged with default protocol5

Reduce delta to protocol5 branch by importing the change to RCONSessoin::handlePacket's signature

Added the PacketQueue class to make use of the sequence numbering to process packets in the correct order, and the ZFC9000 end of packet recovery protocol. protocol5

Fixed compilation problem protocol5

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

Happy new year 2016

Merged with default protocol5

Backport string changes from protocol5

Merged with default protocol5

Added some basic IRC-like commands that can be used to do what keystrokes can do without actually using keystrokes

Update the titlebar when sv_hostname changes protocol5

CVar watching stuff works now, fixed compilation protocol5

And another refactor on that..

Slight refactor on the fix in the previous commit

Apply Leonard's patch for fixing the colors:

Fixed crashing problems: min and max had their logic inverted and Bytestream::read_string moved the cursor too early

Use stdint.h types for the bytestream

Added pdcurses source files, if no curses library is provided, these source files will be fallen back to instead of raising an error. Should make compiling on windows slightly less painful.

NULL -> nullptr

Fix rendering of the date string...

Fix bad comparision in Bytestream::resize

Fix min/max name clashing

Suppress more MSVC warnings

'\e' is non-standard use '\x1b' instead

Removed empty cursesstuff.h

Add support for standard pdcurses, thanks to Leonard for pointing out the solutions to a few mysteries.

Now works with MSVC 2010/pdcurses-win32a

some work on MSVC support (still doesn't work yet...)

Use raw mode instead of cbreak mode, otherwise ctrl+q doesn't appear to work right

Fix compilation

Merged with default protocol5

Removed format.cpp and format.h, use built-in formatting instead

Clarify the controls footnote

Allow compilation on Windows/MinGW

Added support for SVRC_YOUREDISCONNECTED protocol5

Added rudimentary support for CVar watch (only as a debug command for now) protocol5

Added support for colored nicknames protocol5

Updated updaterevision.py, now handles tags and provides HG_TAG if appropriate

- moved huffman from sources/ to top level because it's external

Added mention of STONE layer to the LICENSE

Added LICENSE (yay more license header copies)

Update license headers

Massive refactor

Merge tab-complete

Yay colors

Removed a lot of boilerplate code

- and it's not a release anymore either... x_x

- bump version to 1.1 (I guess this should've been done first)

- fixed: had problems with integral overloading under 32-bit

Added tag 1.0 for changeset 5e968dc8d552

- set release mode 1.0

- now supports upper-case color codes too

- readme updated

- changed write_float/read_float to use memcpy

- formatting

- simplified main() now that RCONSession really cannot ever be null

- rcon sessions are no longer allocated on the heap

- restructured rconsession constructor a bit

- I think closing sockets is a good idea

- hmm, yank kind of implies removal so 'yank_and_delete' is kind of redundantly long

- don't print if paste buffer is empty anymore..

- added yanking/pasting (support for readline ^Y)

- i intended to actually use that new last() overload...

- added timestamps to output

- fixed: IPAddress::StringParseError did not inherit from std::exception and was thus not caught properly

- fixed: horizontal input scrolling was broken

- cleanup, fixed red text not rendering

- added a nicklist!

- renamed RendererLine to ColoredLine and split it into its own files

- fixed: invoking the 'are you sure you want to disconnect?' message did not trigger a screen refresh

- added readline alt-d and ^w support (delete till word boundaries)

- added readline alt-b and alt-f support (skip past words)

- added readline shortcuts: ^B, ^F, ^A, ^E, ^D (aliases to keyboard presses), ^U, ^K (new functionality)

- re-commit tab-complete experimental

- revert previous commits to create a common experimental ancestor experimental

- add support for SVRC_TOOMANYTABCOMPLETES experimental

- added experimental support for rcon tab-completion experimental

- someone forgot to update cmakelists!

- removed the unused filesystem.cpp/.h files (will readd them if I ever need them)

- project renamed to zfc9000 (credit to TerminusEst13 for the name!) :cactus:

- added line-wrapping to the output widget: lines to output are now first compiled into renderer-friendly format. the output view then uses these pre-processed lines to determine what lines to render. Phew! What a monster of a commit.

- handle resizing 8-)

- added support for in-game colors

- added input history (use up/down to navigate)

- added a simple command-line interface (you can now supply host and password on the command-line)

- handle the 'from' argument in RCONSession::handle_packet to filter out packets from foreign hosts

- added a help message to the statusbar

- now exits cleanly with ^Q!

- removed a useless copy of CMakeLists.txt in updaterevision/

- cleanup, refactor + better input handling

- the interface is now able to connect to arbitrary hosts (uses ^N to start the prompt) instead of the hardcoded localhost:10666

- the prompt is now colored

- don't send empty messages

- cleaned up rcon session messages

- now in color! (titlebar at least anyway)

- removed needless 'struct's

- converted bytestream to use trailing return types

- added command sending

- added backlog scrolling

- log area done, re-enabled the rcon connection

- begin work on interface - input line works for the most part :)

- to hell with that 'ok' field. now throws an exception if attempts to read past the end

- rcon session now works! woo!

- now able to login

- begin work on rcon sessions

(0) -192 tip

mercurial