summaryrefslogtreecommitdiffstats
path: root/src/CompositeChat.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* CompositeChat: use variants12xx122021-02-081-187/+62
|
* changing cComposite Chat to newer c++ standart (#5028)12xx122020-11-111-60/+57
| | | | | | | | | | | | | | | | | | | | * upgraded to new C++ for loops and fixed errors * readded delete instruction * now using unique ptr * added test for text only (that was causing an error for me) * using unique ptr constructor * added move constructor and deleted copy constructor * fixed deconstuctor http prefixes are constexpr and std::string_view * fixed whitespace Co-authored-by: 12xx12 <12xx12100@gmail.com>
* Update logging code to reduce unnecessary string copying:Peter Bell2020-05-161-12/+12
| | | | | | * Write into a single fmt::memory_buffer * Use string_view instead of AString for listener callbacks * Also collapsed vFLOG and vLOG functions into one per formatting type
* Update submodules (#4727)peterbell102020-05-091-3/+3
| | | | | | | | | | | | | Closes #4708 This updates jsoncpp, mbedtls, TCLAP and SQLiteCpp to their latest stable release. A few additional changes were needed: * jsoncpp deprecated Reader, FastWriter and StyledWriter which I've replaced with some helper functions in JsonUtils.cpp * SQLiteCpp changed how it builds with external sqlite libraries, now expecting them to be installed. The simplest path was to remove sqlite from cuberite's submodule and just use SQLiteCpp's internal version.
* Using Super.Mattes D2020-04-161-7/+7
|
* CompositeChat: Use shorter JSON format.Mattes D2016-12-161-1/+8
|
* Fixed cCompositeChat's constructor LuaAPI bindings.Mattes D2016-09-251-3/+2
| | | | The tolua-generated constructor would return an extra string value.
* Fixed RasPi builds of unit tests.Mattes D2016-08-041-1/+3
| | | | | On RasPi with gcc 4.8.2, the asserts wouldn't compile when tests were enabled. Enforced the assumption that ASSERT code is generated only in Debug builds.
* SelfTests: Moved cCompositeChat test to a separate project.Mattes D2016-06-181-89/+0
|
* Bulk clearing of whitespaceLogicParrot2016-02-051-17/+17
|
* SelfTests are registered and executed after logging framework init.Mattes D2015-06-111-12/+11
| | | | Fixes #2228.
* Made -Weverything an error.tycho2015-05-241-5/+5
|
* Make -Werror disabling file onlytycho2015-05-191-0/+4
| | | | Ad fix a load of warnings
* Moved chat json creating to the CompositeChat class.Howaner2014-09-131-0/+178
|
* Renamed LoggersTycho2014-08-121-12/+12
|
* First Implementatation of new Loggin frameworkTycho2014-08-101-12/+12
|
* Normalized comments.madmaxoft2014-07-171-9/+9
| | | | | This was mostly done automatically and then visually inspected for obvious errors. All //-style comments should have a 2-space separation from the code, and 1 space after the comment sign.
* cCompositeChat message type is now formattedTiger Wang2014-05-191-1/+2
|
* Added client translation to achievementsTiger Wang2014-05-191-0/+22
|
* LOG() API reads the LogLevel from the cCompositeChat's MessageType.madmaxoft2014-04-011-0/+23
|
* Console logging supports cCompositeChat as its parameters.madmaxoft2014-03-311-0/+29
|
* cCompositeChat has a MessageType param in the constructor.madmaxoft2014-03-311-2/+2
| | | | This should make it easier to use.
* Fixed a couple of missing defsTycho2014-03-141-1/+1
|
* Fixed test assertsTycho2014-03-101-31/+31
|
* Links sent via chat messages are clickable.madmaxoft2014-02-161-0/+15
| | | | Fixes #658.
* Implemented cCompositeChat::ParseText(), incl. self-test.madmaxoft2014-02-161-1/+206
|
* Implemented cCompositeChat.madmaxoft2014-02-151-0/+206
This allows plugins to send composite chat messages, containing URLs, commands to run and cmdline suggestions. Fixes #678.