]>
git.lizzy.rs Git - minetest.git/log
sfan5 [Sat, 5 Jun 2021 11:36:52 +0000 (13:36 +0200)]
Fix check that given IRRLICHT_LIBRARY exists
Muhammad Rifqi Priyo Susanto [Fri, 4 Jun 2021 19:22:53 +0000 (02:22 +0700)]
Android: Do not submit text after pressing Enter key for multi-line text (#11298)
Regular EditText is used for multi-line text to not close the dialog after pressing back button.
New button is added for submitting multi-line text.
DS [Fri, 4 Jun 2021 19:22:33 +0000 (21:22 +0200)]
Add metatables to lua vectors (#11039)
Add backwards-compatible metatable functions for vectors.
sfan5 [Tue, 1 Jun 2021 17:45:45 +0000 (19:45 +0200)]
fontengine: Fix crash loading PNG/XML fonts from paths without dot
fixes #11096
SmallJoker [Sun, 30 May 2021 18:24:12 +0000 (20:24 +0200)]
Add core.compare_block_status function (#11247)
Makes it possible to check the status of the mapblock in a future-extensible way.
Lars Müller [Sun, 30 May 2021 18:23:12 +0000 (20:23 +0200)]
Fix base64 validation and add unittests (#10515)
Implement proper padding character checks
sfan5 [Sun, 30 May 2021 09:15:02 +0000 (11:15 +0200)]
Use safe_file_write to save forceloaded blocks
sfan5 [Sat, 29 May 2021 17:08:16 +0000 (19:08 +0200)]
Fix procession ordering issue in content_cao
sfan5 [Tue, 25 May 2021 19:16:55 +0000 (21:16 +0200)]
Remove unused version detection from FindLuaJIT.cmake
sfan5 [Tue, 25 May 2021 19:03:51 +0000 (21:03 +0200)]
Fix background color of formspec text fields
sfan5 [Tue, 25 May 2021 18:20:16 +0000 (20:20 +0200)]
script: Replace calls to depreated luaL_openlib
sfan5 [Tue, 25 May 2021 18:03:05 +0000 (20:03 +0200)]
Provide exact error message if postgres connection string missing
Wuzzy [Sat, 6 Mar 2021 03:05:14 +0000 (04:05 +0100)]
Fix misleading /shutdown command syntax
SmallJoker [Sat, 29 May 2021 09:44:48 +0000 (11:44 +0200)]
UnitSAO: Prevent circular attachments
Wuzzy [Tue, 25 May 2021 21:44:41 +0000 (23:44 +0200)]
Fix cloud fog being broken for high clouds
savilli [Mon, 24 May 2021 17:40:35 +0000 (19:40 +0200)]
Fix client crash on when con::PeerNotFoundException is thrown (#11286)
SmallJoker [Fri, 21 May 2021 15:26:02 +0000 (17:26 +0200)]
GUIEditBox: Allow selecting and copying read-only texts
sfan5 [Mon, 17 May 2021 14:55:55 +0000 (16:55 +0200)]
CI: add workaround to fix clang builds
see https://github.com/actions/virtual-environments/issues/3376
sfan5 [Sun, 16 May 2021 12:05:43 +0000 (14:05 +0200)]
Fix curl_timeout being ignored for Lua HTTP fetches
Lejo [Sat, 15 May 2021 21:56:33 +0000 (23:56 +0200)]
Fix list of libraries included in AppImage
Dmitry Marakasov [Sat, 15 May 2021 08:15:03 +0000 (11:15 +0300)]
Use --image-base instead of -Ttext-segment for lld linker on FreeBSD (#9367) (#11263)
sfan5 [Sat, 8 May 2021 18:18:29 +0000 (20:18 +0200)]
Fix swapped vertex colors on GLES2
sfan5 [Sat, 8 May 2021 17:33:52 +0000 (19:33 +0200)]
Fix overlays for 2D-drawn items
fixes #11248
lhofhansl [Thu, 6 May 2021 17:24:30 +0000 (10:24 -0700)]
Fix build for newer versions of GCC (#11246)
Wuzzy [Thu, 6 May 2021 17:24:11 +0000 (17:24 +0000)]
Improve liquid documentation (#11158)
Loic Blot [Thu, 6 May 2021 07:02:11 +0000 (09:02 +0200)]
fix: extractZipFile is not part of Client but more generic.
This solve a crash from mainmenu while extracting the zip
sfan5 [Wed, 21 Apr 2021 16:21:12 +0000 (18:21 +0200)]
Add basic client-server test to CI
sfan5 [Wed, 21 Apr 2021 16:52:14 +0000 (18:52 +0200)]
Use Irrlicht functions to query npot texture support
Loic Blot [Mon, 3 May 2021 08:27:00 +0000 (10:27 +0200)]
fix: some code tidy about includes & irr namespaces
Loic Blot [Thu, 29 Apr 2021 18:38:35 +0000 (20:38 +0200)]
refacto: remove get_gui_env & draw_load_screen from RenderingEngine singleton
Loic Blot [Thu, 29 Apr 2021 07:45:49 +0000 (09:45 +0200)]
fix: don't use RenderingEngine singleton when it's possible
Loic Blot [Thu, 29 Apr 2021 07:40:56 +0000 (09:40 +0200)]
refacto: RenderingEngine::get_scene_manager() is now not callable from singleton
This permits to make evidence that we have some bad object passing on various code parts. I fixed majority of them to reduce the scope of passed objects
Unfortunately, for some edge cases i should have to expose ISceneManager from client, this should be fixed in the future when our POO will be cleaner client side (we have a mix of rendering and processing in majority of the client objects, it works but it's not clean)
Loic Blot [Thu, 29 Apr 2021 07:30:19 +0000 (09:30 +0200)]
refacto: Hud: make driver, client, player, inventory, tsrc private & drop unused guienv
also fix c_content.h, on client it includes the src/client/hud.h instead of src/hud.h, which leads to wrong file dependency on the lua stack
Loic Blot [Thu, 29 Apr 2021 07:20:01 +0000 (09:20 +0200)]
refacto: drop unused Hud::smgr
Loic Blot [Thu, 29 Apr 2021 07:07:36 +0000 (09:07 +0200)]
refacto: don't use RenderingEngine singleton on CAO
* we don't need on CAO side more than SceneManager, and temporary. Pass only required SceneManager as a parameter to build CAO and add them to the current scene
* Use temporary the RenderingEngine singleton from ClientEnvironment, waitfor for better solution
* Make ClientActiveObject::addToScene virtual function mandatory to be defined by children to ensure we don't forget to properly define it
Loic Blot [Thu, 29 Apr 2021 06:51:17 +0000 (08:51 +0200)]
refacto: protect some RenderingEngine::get_scene_manager
* protect it from Camera, Sky, ClientMap object calls
* rename Game::sky to Game::m_sky
Loic Blot [Wed, 28 Apr 2021 10:48:13 +0000 (12:48 +0200)]
refacto: RenderingEngine is now better hidden
* No more access to the singleton instance from everywhere (RenderingEngine::get_instance dropped)
* RenderingEngine::get_timer_time is now non static
* RenderingEngine::draw_menu_scene is now non static
* RenderingEngine::draw_scene is now non static
* RenderingEngine::{initialize,finalize} are now non static
* RenderingEngine::run is now non static
* RenderingEngine::getWindowSize now have a static helper. It was mandatory to hide the global get_instance access
Loic Blot [Wed, 28 Apr 2021 09:07:28 +0000 (11:07 +0200)]
refacto: hide mesh_cache inside the rendering engine
This permit cleaner access to meshCache and ensure we don't access to it from all the code
Loic Blot [Wed, 28 Apr 2021 08:53:36 +0000 (10:53 +0200)]
refacto: add RenderingEngine::cleanupMeshCache
This permits to prevent client to own the mesh cache cleanup logic. It's better in RenderingEngine
Loic Blot [Wed, 28 Apr 2021 08:22:13 +0000 (10:22 +0200)]
refacto: rendering engine singleton removal step 1 (filesystem)
Make the RenderingEngine filesystem member non accessible from everywhere
This permits also to determine that some lua code has directly a logic to extract zip file. Move this logic inside client, it's not the lua stack role to perform a such complex operation
Found also another irrlicht <1.8 compat code to remove
Loic Blot [Wed, 28 Apr 2021 07:55:51 +0000 (09:55 +0200)]
fix: drop old irrlicht <1.8 compat on Client::loadMedia
sfan5 [Tue, 27 Apr 2021 21:41:35 +0000 (23:41 +0200)]
Fix Windows pipelines on Gitlab-CI
Wuzzy [Wed, 28 Apr 2021 06:38:47 +0000 (06:38 +0000)]
Fix rotation for falling mesh degrotate nodes (#11159)
sfan5 [Wed, 28 Apr 2021 06:38:18 +0000 (08:38 +0200)]
Add helpful error messages if Irrlicht library / include dir are set incorrectly (#11232)
sfan5 [Tue, 27 Apr 2021 09:50:40 +0000 (11:50 +0200)]
Update library versions in buildbot (#11229)
Wuzzy [Fri, 23 Apr 2021 19:37:45 +0000 (19:37 +0000)]
Rename “Irrlicht” to “IrrlichtMt” in documentation
Vincent Robinson [Fri, 23 Apr 2021 19:37:24 +0000 (12:37 -0700)]
Add `minetest.colorspec_to_colorstring` (#10425)
sfan5 [Wed, 21 Apr 2021 18:25:18 +0000 (20:25 +0200)]
Fix two CMake build issues
* PostgreSQL fallback code missed the includes (closes #11219)
* build failed when Freetype enabled but not found
sfan5 [Wed, 21 Apr 2021 14:42:34 +0000 (16:42 +0200)]
Fix devtest Lua error
fallback_image() was removed in
3e1904fa8c4aae3448d58b7e60545a4fdd8234f3 ,
which was written after this PR but merged before it.
sfan5 [Tue, 20 Apr 2021 17:50:34 +0000 (19:50 +0200)]
Look for PostgreSQL library properly and fix CI
sfan5 [Tue, 20 Apr 2021 17:50:19 +0000 (19:50 +0200)]
Enable cleanTransparent filter for mipmapping and improve its' algorithm (#11145)
Wuzzy [Tue, 20 Apr 2021 17:50:03 +0000 (17:50 +0000)]
Put torch/signlike node on floor if no paramtype2 (#11074)
Seth Traverse [Tue, 20 Apr 2021 17:23:31 +0000 (10:23 -0700)]
Add a key to toggle map block bounds (#11172)
It's often useful to know where the map block boundaries are for doing server admin work and the like.
Adds three modes: single mapblock, range of 5, and disabled.
sfan5 [Sun, 18 Apr 2021 14:07:13 +0000 (16:07 +0200)]
GLES fixes (#11205)
* Consistently set float precision for GLES
* Enable DPI scaling on Windows+GLES
sfan5 [Sun, 28 Mar 2021 20:53:48 +0000 (22:53 +0200)]
Isolate library tables between sandbox and insecure env
sfan5 [Fri, 16 Apr 2021 21:39:16 +0000 (23:39 +0200)]
Fix ignored OpenGLES2 include path and cmake warning
benrob0329 [Tue, 13 Apr 2021 18:02:43 +0000 (14:02 -0400)]
Also return the ObjectRef from minetest.spawn_falling_node() (#11184)
SmallJoker [Tue, 13 Apr 2021 18:02:18 +0000 (20:02 +0200)]
Attachments: Avoid data loss caused by set_attach() in callbacks (#11181)
sfan5 [Sun, 11 Apr 2021 15:10:06 +0000 (17:10 +0200)]
Buildbot changes to allow out-of-tree builds (#11180)
* Do proper out-of-tree builds with buildbot
* Don't write to bin/ for cross builds
* This allows safely building multiple builds from the same source dir, e.g. with the buildbot.
* Disable Gettext (by default) and Freetype (entirely) for server builds
Wuzzy [Sun, 11 Apr 2021 15:09:37 +0000 (15:09 +0000)]
Modifying fall damage via armor group (#11080)
Adds a new fall_damage_add_percent armor group which influences the fall damage in addition to the existing node group.
sfan5 [Fri, 9 Apr 2021 20:36:10 +0000 (22:36 +0200)]
Fix server favorites not saving when client/serverlist/ doesn't exist already (#11152)
Wuzzy [Fri, 2 Apr 2021 14:02:22 +0000 (16:02 +0200)]
Update German builtin translation
Wuzzy [Fri, 2 Apr 2021 13:59:28 +0000 (15:59 +0200)]
Update builtin locale files
Wuzzy [Mon, 5 Apr 2021 15:18:45 +0000 (17:18 +0200)]
Don't reseed stars when changing star count
sfan5 [Fri, 9 Apr 2021 19:16:45 +0000 (21:16 +0200)]
Update Android build config
yw05 [Mon, 5 Apr 2021 13:56:29 +0000 (15:56 +0200)]
Make edit boxes respond to string input (IME) (#11156)
Make edit boxes respond to string input events (introduced in minetest/irrlicht#23) that are usually triggered by entering text with an IME.
DS [Mon, 5 Apr 2021 13:55:56 +0000 (15:55 +0200)]
Add vector.to_string and vector.from_string (#10323)
Writing vectors as strings is very common and should belong to `vector.*`. `minetest.pos_to_string` is also too long to write, implies that one should only use it for positions and leaves no spaces after the commas.
sfan5 [Mon, 5 Apr 2021 13:21:43 +0000 (15:21 +0200)]
Don't apply connection timeout limit to locally hosted servers
fixes #11085
SmallJoker [Mon, 5 Apr 2021 11:38:50 +0000 (13:38 +0200)]
Game: Scale damage flash to max HP
The flash intensity is calculated proportionally to the maximal HP.
sfan5 [Mon, 5 Apr 2021 11:38:31 +0000 (13:38 +0200)]
Reserve vectors before pushing and other code quality changes (#11161)
Wuzzy [Mon, 5 Apr 2021 11:37:58 +0000 (11:37 +0000)]
Devtest: Remove testnodes_show_fallback_image
Loic Blot [Fri, 2 Apr 2021 12:17:24 +0000 (14:17 +0200)]
fix(ci): ensure we build on docker only modifications
Loic Blot [Fri, 2 Apr 2021 10:25:52 +0000 (12:25 +0200)]
fix(docker): reduce the number of required libraries on build
Loic Blot [Fri, 2 Apr 2021 07:26:03 +0000 (09:26 +0200)]
fix: use irrlicht fork instead of the standard library
Loic Blot [Fri, 2 Apr 2021 07:25:50 +0000 (09:25 +0200)]
fix: don't send the whole local context to the docker image
sfan5 [Thu, 1 Apr 2021 22:20:16 +0000 (00:20 +0200)]
CGUITTFont optimizations (#11136)
sfan5 [Thu, 1 Apr 2021 22:19:39 +0000 (00:19 +0200)]
Sort out cURL timeouts and increase default
Vincent Robinson [Thu, 1 Apr 2021 22:18:58 +0000 (15:18 -0700)]
Add `math.round` and fix `vector.round` (#10803)
sfan5 [Wed, 31 Mar 2021 11:15:47 +0000 (13:15 +0200)]
Irrlicht support code maintenance
sfan5 [Tue, 30 Mar 2021 19:50:39 +0000 (21:50 +0200)]
Draw items as 2D images (instead of meshes) when possible
Lars Müller [Tue, 30 Mar 2021 19:49:50 +0000 (21:49 +0200)]
Block & report player self-interaction (#11137)
SmallJoker [Tue, 30 Mar 2021 19:49:15 +0000 (21:49 +0200)]
Consistent title bar + render information in mainmenu (#10764)
sfan5 [Tue, 30 Mar 2021 12:04:14 +0000 (14:04 +0200)]
Add entry in features table for degrotate changes
Wuzzy [Mon, 29 Mar 2021 22:27:46 +0000 (22:27 +0000)]
Fix wield image of plantlike_rooted (#11067)
Vitaliy [Mon, 29 Mar 2021 22:25:11 +0000 (01:25 +0300)]
Degrotate support for mesh nodes (#7840)
Emojigit [Mon, 29 Mar 2021 17:58:39 +0000 (01:58 +0800)]
Update language choices in settingtypes.txt (#11124)
Wuzzy [Mon, 29 Mar 2021 17:57:48 +0000 (17:57 +0000)]
Clean up various misleading and/or confusing messages and texts related to priv changes (#11126)
Wuzzy [Sun, 28 Mar 2021 19:55:56 +0000 (21:55 +0200)]
Update CONTRIBUTING info on translating builtin
sfan5 [Mon, 29 Mar 2021 17:55:24 +0000 (19:55 +0200)]
Replace fallback font nonsense with automatic per-glyph fallback (#11084)
sfan5 [Fri, 26 Mar 2021 22:08:39 +0000 (23:08 +0100)]
Fix broken include check and correct Gitlab-CI script
HybridDog [Fri, 26 Mar 2021 19:59:05 +0000 (20:59 +0100)]
Translate chatcommand delay message and replace minetest with core (#11113)
sfan5 [Thu, 25 Mar 2021 14:09:49 +0000 (15:09 +0100)]
Adjust build config for Irrlicht changes (again)
Loic Blot [Fri, 19 Mar 2021 17:37:07 +0000 (18:37 +0100)]
Drop irrUString from MT, it's owned by irrlicht now
Desour [Tue, 23 Mar 2021 00:02:49 +0000 (01:02 +0100)]
Fix attached-to-object sounds having a higher reference distance
sfan5 [Tue, 23 Mar 2021 14:43:26 +0000 (15:43 +0100)]
Fix broken `BiomeGen` abstraction (#11107)
Jean-Patrick Guerrero [Sun, 21 Mar 2021 22:23:30 +0000 (23:23 +0100)]
Fix segfault for model[] without animation speed
Hugues Ross [Sun, 21 Mar 2021 22:23:14 +0000 (18:23 -0400)]
lua_api.txt: Fix style selector examples
Vitaliy [Sun, 21 Mar 2021 22:22:22 +0000 (01:22 +0300)]
Restore minimal normal texture support (for minimap shading)
sfan5 [Sat, 20 Mar 2021 21:06:17 +0000 (22:06 +0100)]
Serialize tool capabilities JSON without whitespace
fixes #11087
sfan5 [Sat, 20 Mar 2021 18:48:25 +0000 (19:48 +0100)]
Mainmenu: Improve "Join Game" tab (#11078)