Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Fix potential use-after-free with item metadata (#12729) | Jude Melton-Houghton | 2022-09-14 |
| | | | This fixes a use-after-free bug in the case where itemstack metadata is accessed after the itemstack has been garbage-collected. | ||
* | Apply NetBSD string conversion workaround to OpenBSD as well (#12618) | Mantar | 2022-07-31 |
| | |||
* | Move f1000 sanitizing to the places that still use this type | sfan5 | 2022-07-14 |
| | |||
* | Animated particlespawners and more (#11545) | Lexi Hale | 2022-07-13 |
| | | | | | Co-authored-by: Lars Mueller <appgurulars@gmx.de> Co-authored-by: sfan5 <sfan5@live.de> Co-authored-by: Dmitry Kostenko <codeforsmile@gmail.com> | ||
* | Update my name | Nathanaël Courant | 2022-06-16 |
| | |||
* | Sanitize player position and speed server-side (#12396) | sfan5 | 2022-06-07 |
| | |||
* | Fix BSD iconv declaration | savilli | 2022-06-05 |
| | |||
* | Optimize JSON string (de)serialization routines | sfan5 | 2022-05-21 |
| | | | | | | stringstreams were shown to be slow when reading/writing single characters and there is lots of potential by having functions perform on existing buffers whenever possible. | ||
* | Improve testSerializeJsonString unit tests | sfan5 | 2022-05-21 |
| | | | | | this also removes the requirement that / is escaped, there is no reason for doing so. | ||
* | Add more Prometheus metrics (#12274) | sfan5 | 2022-05-09 |
| | |||
* | Make logging cost free when there is no output target (#12247) | paradust7 | 2022-05-04 |
| | | | | | The logging streams now do almost no work when there is no output target for them. For example, if LL_VERBOSE has no output targets, then `verbosestream << x` will return a StreamProxy with a null target. Any further `<<` operations applied to it will do nothing. | ||
* | Async environment for mods to do concurrent tasks (#11131) | sfan5 | 2022-05-02 |
| | |||
* | Support CSS Color Module Level 4 (#12204) | Lars Müller | 2022-04-27 |
| | |||
* | Fix OOB read in trim("") | ShadowNinja | 2022-04-08 |
| | |||
* | Update directory name sanitization | ShadowNinja | 2022-04-08 |
| | | | | | Only ASCII spaces have to be handles specially, and leading spaces are also disallowed. | ||
* | Add additional reserved directory names | ShadowNinja | 2022-04-08 |
| | |||
* | Spacing fixes | ShadowNinja | 2022-04-08 |
| | |||
* | Fix compiler warnings | ShadowNinja | 2022-04-08 |
| | |||
* | Fix memory leak from SpatialAreaStore (#12120) | Daroc Alden | 2022-03-09 |
| | |||
* | Move the codebase to C++14 | sfan5 | 2022-02-26 |
| | |||
* | Print announce error response (#11878) | ShadowNinja | 2022-01-01 |
| | | | | | | | | Fix HTTPFetch caller and request ID to 64 bits Check that allocated caller ID is not DISCARD Print body if serverlist request returns error Don't print control characters from HTTP responses Document special HTTPFetch caller IDs Allow unicode to be printed | ||
* | Restore GCC 5 compatibility (#11778) | JosiahWI | 2021-12-28 |
| | |||
* | Network: Delete copy constructor and use std::move instead (#11642) | SmallJoker | 2021-12-01 |
| | | | This is a follow-up change which disables class copies where possible to avoid unnecessary memory movements. | ||
* | Fix item duplication if player dies during interact callback (alternative) ↵ | sfan5 | 2021-10-25 |
| | | | | (#11662) | ||
* | Make /status message easier to read | Wuzzy | 2021-10-15 |
| | |||
* | Fix src/util/string.cpp on NetBSD | nia | 2021-09-19 |
| | | | | | | - iconv() prototype changed from traditional Unix defintion to POSIX definition in 9.99.x. - wchar_t is not a valid character set for iconv. Share code with Android for using UTF-32. | ||
* | Shave off buffer copies in networking code (#11607) | sfan5 | 2021-09-17 |
| | |||
* | Make sure relevant std::stringstreams are set to binary | sfan5 | 2021-09-11 |
| | |||
* | Add a simple PNG image encoder with Lua API (#11485) | hecks | 2021-07-29 |
| | | | | | | | | | * Add a simple PNG image encoder with Lua API Add ColorSpec to RGBA converter Make a safety wrapper for the encoder Create devtest examples Co-authored-by: hecktest <> Co-authored-by: sfan5 <sfan5@live.de> | ||
* | Improve shadow rendering with non-default camera FOV (#11385) | x2048 | 2021-07-11 |
| | | | | | | | | | | | * Adjust minimum filter radius for perspective * Expand shadow frustum when camera FOV changes, reuse FOV distance adjustment from numeric.cpp * Read shadow_soft_radius setting as float * Use adaptive filter radius to accomodate for PSM distortion * Adjust filter radius for texture resolution | ||
* | Fix base64 validation and add unittests (#10515) | Lars Müller | 2021-05-30 |
| | | | Implement proper padding character checks | ||
* | Add `minetest.colorspec_to_colorstring` (#10425) | Vincent Robinson | 2021-04-23 |
| | |||
* | Reserve vectors before pushing and other code quality changes (#11161) | sfan5 | 2021-04-05 |
| | |||
* | Tweak duration_to_string formatting | Wuzzy | 2021-03-16 |
| | |||
* | Keep mapblocks in memory if they're in range (#10714) | hecks | 2021-02-26 |
| | | | Some other minor parts of clientmap.cpp have been cleaned up along the way | ||
* | Add nametag background setting and object property (#10937) | rubenwardy | 2021-02-17 |
| | |||
* | Drop wide/narrow conversion functions | sfan5 | 2021-02-02 |
| | | | | | | | | | 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. | ||
* | Refactor utf8_to_wide/wide_to_utf8 functions | sfan5 | 2021-02-02 |
| | |||
* | Fix some minor code issues all over the place | sfan5 | 2020-12-24 |
| | |||
* | (se)SerializeString: Include max length in the name | SmallJoker | 2020-10-01 |
| | | | | | | | This commit clarifies the maximal length of the serialized strings. It will avoid accidental use of serializeString() when a larger string can be expected. Removes unused Wide String serialization functions | ||
* | Clean up serialization | SmallJoker | 2020-10-01 |
| | | | | | | | | This reverts 1a5b4b3 and further functions in serialize.cpp that are unused The intend for a sane NetworkPacket/stream replacement was good, but a wrapper class around i/ostream might be more versatile than introducing a new vector-based serialization class. | ||
* | Fix build for Visual Studio (explicitly cast pointers) (#10256) | Seeker | 2020-08-03 |
| | |||
* | decode_base64: Allow '=' padding character | SmallJoker | 2020-07-29 |
| | | | | '=' is a valid character, but minetest.decode_base64 returned nil when it was used for padding. | ||
* | Sanitize world directory names on create. Keep original name separate (#9432) | Hugues Ross | 2020-07-28 |
| | | | Blacklisted characters are replaced by '_' in the path. The display name is stored in world.mt, and duplicate file names are resolved by adding an incrementing suffix (_1, _2, _3, etc). | ||
* | Value copy / allocation optimizations mostly in server, SAO and serialize code | sfan5 | 2020-05-27 |
| | |||
* | Modernize include guards and add missing ones (#9898) | Awkor | 2020-05-23 |
| | |||
* | Add MetricsBackend with prometheus counter support | Loic Blot | 2020-04-29 |
| | |||
* | Fix truncation warning for F1000_MIN, F1000_MAX | sfan5 | 2020-04-27 |
| | |||
* | Add server side translations capability (#9733) | EvidenceB Kidscode | 2020-04-25 |
| | | | | * Add server side translations capability | ||
* | Android: fix handling non-latin characters on older Android devices (#9309) | Maksim | 2020-04-17 |
| |