summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Add more Prometheus metrics (#12274)sfan52022-05-09
|
* HUD: Update selection mesh every frame (#12270)Lars Müller2022-05-09
| | | Fixes outdated selection boxes after entity property changes.
* Fix Minetest blaming the wrong mod for errors (#12241)Lars Müller2022-05-09
| | | Covers the case where mods insert their callbacks manually into "minetest.registered_<callbacks>" (often to achieve a particular order of execution).
* Docs: Recommend `self.name` (#12239)Lars Müller2022-05-09
|
* Consolidate some data structures in MapBlockMeshsfan52022-05-08
|
* Cache serialized mapblocks during sendingsfan52022-05-08
| | | | | | | This reduces the (absolute) time spent in Server::SendBlocks() from 700ms to 300ms (relative) share of MapBlock::serialize() from 80% to 60% in a test setup with 10 players and many block changes
* item_entity: Cache collisionbox for use in on_stepsfan52022-05-08
| | | | | I don't have absolute numbers but if calls to get_properties() take up 30%+ of on_step() execution time that's bound to matter.
* Fix mapblock geometry optimisation not workingROllerozxa2022-05-08
| | | | Caused by the depth sorting PR marking not only transparent nodes to be ignored but also opaque ones with the TILE_MATERIAL_BASIC material type
* Remove unused variable WARN_INITZughy2022-05-08
|
* Enable dependencies when enabling modpacks (#12202)Jude Melton-Houghton2022-05-08
|
* Fix enabling of dependencies with identical names (#12253)Jude Melton-Houghton2022-05-08
|
* Fix mods not being recursively enabledrubenwardy2022-05-08
| | | | Fixes #12290
* Fix texture packs showing as "Nil (enabled)" in Content tabrubenwardy2022-05-07
| | | | Fixes #12285
* Add benchmarks for json string serialize/deserialize (#12258)paradust72022-05-06
| | | Co-authored-by: sfan5 <sfan5@live.de>
* Enable chat clickable weblinks by default (#12115)Froggo2022-05-06
| | | Co-authored-by: rubenwardy <rw@rubenwardy.com>
* Bump IrrlichtMt to 1.9.0mt5 in CIsfan52022-05-06
|
* Declare all bundled libs as staticsfan52022-05-06
| | | | | Otherwise it can happen that these are built as shared depending on the options passed to CMake, which obviously isn't intended.
* Sort out some issues with our CI setupsfan52022-05-06
| | | | | | | * add missing apt-get update where needed * move some jobs to run on ubuntu-20.04 * update actions plugins to latest * speed up the job that runs multiplayer tests
* Fix Windows Visual Studio actions (#11176)LoneWolfHT2022-05-04
| | | Co-authored-by: rubenwardy <rw@rubenwardy.com>
* Avoid rendering invisible faces of simple nodeboxes (#12262)x20482022-05-04
| | | | | | * Skip rendering faces adjacent to opaque nodes * Cancel out opposite faces of adjacent nodebox nodes of the same type Fixes #6409
* hud_get: Return precision field for waypoints (#12215)Lars Müller2022-05-04
|
* guiScalingFilter: Fix most memory leaks (#12256)SmallJoker2022-05-04
| | | | Calls to the cache function ended up creating a new texture regardless whether the texture is already cached.
* Make logging cost free when there is no output target (#12247)paradust72022-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.
* Add vector.combine (#11920)Lars Müller2022-05-04
|
* ContentDB: Fix ungraceful crash on aliases when list download failsrubenwardy2022-05-03
| | | | Fixes #12267 and fixes #12154
* Fix broken FPS/dtime counters in debug infosfan52022-05-03
| | | | was broken by a89afe1229e327da3c397a3912b2d43d2196ea2b
* Async environment for mods to do concurrent tasks (#11131)sfan52022-05-02
|
* Fix synchronization issue at thread startsfan52022-05-02
| | | | | | | | | | If a newly started thread immediately exits then m_running would immediately be set to false again and the caller would be stuck waiting for m_running to become true forever. Since a mutex for synchronizing startup already exists we can simply move the while loop into it. see also: #5134 which introduced m_start_finished_mutex
* Refactor some Lua API functions in preparation for async envsfan52022-05-02
|
* Reorganize some builtin functions in preparation for async envsfan52022-05-02
|
* Remove some unused variable from Lua class wrapperssfan52022-05-02
|
* Add German translation to AppData file (#12161)JakobDev2022-05-02
|
* Initialize wield mesh colors when changing item. (#12254)x20482022-05-01
| | | Fixes #12245
* Deal with compiler warningssfan52022-04-30
|
* Enable additional warning flagssfan52022-04-30
| | | | also make them work with the RelWithDebInfo build type
* Run automated tests when lua files change (#12184)x20482022-04-30
| | | | | | | | | | | * Run automated tests when lua files change * skip busted on devtest * use newer build env * Add .luacheckrc for games/devetest Co-authored-by: sfan5 <sfan5@live.de>
* Update mods_here.txt to mention installing mods via CDB (#11876)qwerty123a22022-04-29
| | | Co-authored-by: rubenwardy <rw@rubenwardy.com>
* Clean up some auth packet handling related codesfan52022-04-28
|
* Fix password changing getting stuck if wrong password is entered oncesfan52022-04-28
|
* Apply disallow_empty_password to password changes toosfan52022-04-28
|
* Fix race condition in registration leading to duplicate create_auth callssfan52022-04-28
|
* Refactor local time getter functions (#12221)Oblomov2022-04-28
| | | | | | | | | | | | | | | | | This commit introduces mt_localtime() in src/gettime.h, a wrapper around the OS-specific thread-safe versions of localtime() (resp. localtime_s on Windows and localtime_r in other systems). Per the Open Group recommendation, «portable applications should call tzset() explicitly before using ctime_r() or localtime_r() because setting timezone information is optional for those functions», so we also do a one-shot call of tzset() (_tzset() on Windows to avoid warning C4996). The function is used to replace the localtime() calls in getTimestamp() and makeScreenshot(). (The only reminaing call to localtime() in the tree now is the one in the local copy of the Lua source code.)
* Remove HW_buffer_counter after IrrlichtMt fix to remove HWBufferMap (#12232)paradust72022-04-28
| | | Keep code and use version check instead, for backwards compatibility
* Show unknown node in debug screen (#12230)Wuzzy2022-04-28
|
* DevTest: Fix armorball sprite (#12228)Wuzzy2022-04-28
|
* Support CSS Color Module Level 4 (#12204)Lars Müller2022-04-27
|
* Fix texture packs not showing as enabled in mainmenurubenwardy2022-04-24
| | | | Fixes #12219
* Fix invalid queued package element and path (#12218)Alex2022-04-24
|
* DevTest: Add more test weapons and armorball modes (#11870)Wuzzy2022-04-24
| | | Co-authored-by: sfan5 <sfan5@live.de>
* Fix worldaligned texturesGiuseppe Bilotta2022-04-24
| | | | | | | | | | | | As reported in #12197, b0b9732359d43325c8bd820abeb8417353365a0c introduces a regression in worldalign textures. The specific change that seems to be responsible for this issue is the change in order between the computation of the cuboid texture coordinates and the box edge correction. Fix #12197 by moving the box edge correction back to before the cuboid texture coordinates, as it used to be.