aboutsummaryrefslogtreecommitdiff
path: root/src/chat.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove a few unused functions reported by callcatcher (#11658)SmallJoker2021-10-121-5/+0
|
* Fix client-side performance of chat UI (#11612)DS2021-09-191-5/+8
|
* Remove closing paren as weblink delimiterpecksin2021-08-291-1/+1
|
* Make chat web links clickable (#11092)pecksin2021-06-201-28/+105
| | | If enabled in minetest.conf, provides colored, clickable (middle-mouse or ctrl-left-mouse) weblinks in chat output, to open the OS' default web browser.
* Drop wide/narrow conversion functionssfan52021-02-021-2/+2
| | | | | | | | | The only valid usecase for these is interfacing with OS APIs that want a locale/OS-specific multibyte encoding. But they weren't used for that anywhere, instead UTF-8 is pretty much assumed when it comes to that. Since these are only a potential source of bugs and do not fulfil their purpose at all, drop them entirely.
* Remove unused functions reported by cppcheck (#10463)SmallJoker2020-10-051-9/+4
| | | | | | | Run unused functions reported by cppcheck This change removes a few (but not all) unused functions. Some unused helper functions were not removed due to their complexity and potential of future use.
* Fix last performance-type-promotion-in-math-fn problemsLoic Blot2018-04-041-3/+3
|
* Fix many issues reported by clang-tidy (#7189)Loïc Blot2018-04-021-5/+3
| | | | | | | | | | | * Fix many issues reported by clang-tidy We have many issues in code related to some performance to float <-> double. Clang-tidy reported it in performance-type-promotion-in-math-fn I fixed many of them. It's not ready for a promote to blocking Also fix some value which should be const-ref
* GameUI refactor (part 5/X): Move Game::guitext_chat to GameUI classLoic Blot2018-01-051-3/+2
| | | | | | Other enhancements: * Move update_profiler_gui to Game class * Move updateChat to Game class
* Chat: Remove prompt history duplicates (#6762)SmallJoker2017-12-141-4/+13
|
* don't pass g_settings around, and use it directlyEsteban I. RM2017-10-171-5/+7
|
* Implement #6096Esteban I. RM2017-10-171-0/+12
|
* Add clientside translations.Ekdohibs2017-08-241-0/+1
|
* Modernize source code: last part (#6285)Loïc Blot2017-08-201-2/+2
| | | | | | | | | | | * Modernize source code: last par * Use empty when needed * Use emplace_back instead of push_back when needed * For range-based loops * Initializers fixes * constructors, destructors default * c++ C stl includes
* cavegen.cpp, chat.cpp: modernize codeLoic Blot2017-08-161-27/+12
|
* C++11 patchset 9: move hardcoded init parameters to class definitions (part ↵Loïc Blot2017-06-161-17/+2
| | | | | | | | | | | | | | | | | | | | | | | | 1) (#5984) * C++11 patchset 9: move hardcoded init parameters to class definitions C++11 introduced the possibility to define the default values directly in class definitions, do it on current code Also remove some unused attributes * CollisionInfo::bouncy * collisionMoveResult::collides_xy * collisionMoveResult::standing_on_unloaded * Clouds::speed * More constructor cleanups + some variables removal * remove only write guiFormSpecMenu::m_old_tooltip * move header included inside defintions in genericobject.h * remove some unused since years exception classes * remove unused & empty debug_stacks_init * remove unused & empty content_nodemeta_serialize_legacy * remove forgotten useless bool (bouncy) in collision.cpp code
* chat.cpp fix wchar_t isspace -> iswspace & wrong isspace on an index (#5783)Loïc Blot2017-05-201-9/+9
|
* this might fix #5661, needs testing (#5775)red-0012017-05-201-1/+1
|
* Various code cleanup & little performance improvement on HTTP download (#5772)Loïc Blot2017-05-201-5/+0
| | | | | | * Disable or remove unused enum members/functions * Tiny code style fixes * Make some functions const * Replace ClientMediaDownloader std::unordered_map with std::map
* Fix various copy instead of const ref reported by cppcheck (#5615)Loïc Blot2017-04-191-1/+1
| | | | * Also remove InventoryList::peekItem unused function * Fix some post increment to preincrement reported by cppcheck
* Add colored text (not only colored chat).Ekdohibs2016-05-311-18/+19
| | | | | Add documentation, move files to a proper place and avoid memory leaks. Make it work with most kind of texts, and allow backgrounds too.
* Colored chat working as expected for both freetype and non-freetype builds. ↵TriBlade92016-05-311-16/+13
| | | | @nerzhul improvements * Add unit tests * Fix coding style * move guiChatConsole.hpp to client/
* Chat: Keep scroll position constant in ChatBuffer::deleteOldest()Kahrl2016-05-081-0/+7
|
* Escape more strings: formspecs, item descriptions, infotexts...Ekdohibs2016-04-241-2/+2
| | | | | | Also, change the escape character to the more standard \x1b Thus, it can be used in the future for translation or colored text, for example.
* Clean up StrfndShadowNinja2016-03-191-2/+2
| | | | | | | | | | | Changes: * Fix indentation. * Pass strings by const reference. * Merge Strfnd and WStrfnd into one class instead of copying them. * Remove trailing spaces. * Fix variable names. * Move to util. * Other miscellaneous style fixes.
* Remove chat escape sequences from chat messages, for future colored chat.Ekdohibs2016-03-151-0/+3
|
* Add text selection and copying to consoleShadowNinja2016-03-021-31/+33
|
* Use the console instead of a dedicated window when pressing keymap_chat/cmdEsteban I. Ruiz Moreno2016-03-021-9/+9
| | | | keymap_console opens a full window for chat history browsing.
* Remove unneccessary space for tab completionNathaniel Olsen2015-06-161-2/+2
|
* For usages of assert() that are meant to persist in Release builds (when ↵Craig Robbins2015-03-071-2/+3
| | | | NDEBUG is defined), replace those usages with persistent alternatives
* Suppress MSVC warning in chat.cppgregorycu2015-01-251-1/+1
|
* Add paste command (Ctrl-V) in GUIChatConsoleKahrl2014-12-101-0/+9
|
* Fix typo in comment in chat.cppKahrl2014-09-141-1/+1
|
* Omnicleanup: header cleanup, add ModApiUtil shared between game and mainmenuKahrl2013-08-141-1/+1
|
* Fix nick completionPilzAdam2013-04-051-4/+4
|
* Migrate to STL containers/algorithms.Ilya Zhuravlev2013-03-111-10/+10
|
* Update Copyright YearsSfan52013-02-241-1/+1
|
* Change Minetest-c55 to MinetestPilzAdam2013-02-241-1/+1
|
* Properly and efficiently use split utility headersPerttu Ahola2012-06-171-1/+2
|
* Switch the license to be LGPLv2/later, with small parts still remaining as ↵Perttu Ahola2012-06-051-4/+4
| | | | GPLv2/later, by agreement of major contributors
* Chat console, including a number of rebases and modifications.Kahrl2012-03-101-0/+768
Defaults modified from original: alpha=200, key=F10