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

(0) -100 -56 +56 tip

mercurial