8000 rebase by ninnghazad · Pull Request #2 · ninnghazad/minetest · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

rebase #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 6,566 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
6566 commits
Select commit Hold shift + click to select a range
5b2b2c7
Game: disable 'toggle_sneak_key' while flying
SmallJoker Mar 15, 2025
f1364b1
GUI: Use the client's fonts for 'Open URL?' dialogues
SmallJoker Mar 15, 2025
4125ce8
Do not discover mod directories that fail parsing (#15917)
JosiahWI Mar 19, 2025
2540667
Warn if metatable passed to itemdef registration function
sfan5 Mar 16, 2025
ca047c3
Warn on core.override_item() after server startup
sfan5 Mar 16, 2025
a9a3b05
Prevent registration of certain new content after load time
sfan5 Mar 16, 2025
1f14b7c
Make remote media exclusively use GET for hash set (#15885)
sfan5 Mar 19, 2025
ead44a2
TouchControls: Implement an option for dig/place buttons (#15845)
grorp 10000 Mar 21, 2025
4ba438a
Improve KeyPress handling (#15923)
y5nw Mar 21, 2025
b1363fc
Fix logic inversion for dynamic media (server-side fix) (#15870)
ashtrayoz Mar 24, 2025
251bf0e
Fix possible nullptr dereference in serverpackethandler.cpp
ricardoglc Mar 26, 2025
b99f90e
Mainmenu: Trim whitespace from player name, address, port
grorp Mar 26, 2025
95d6008
IrrlichtMt: Fix orientation of IRenderTarget-textures (#15932)
SmallJoker Mar 26, 2025
8fc7bf2
Fix `core.get_content_info` docs and harden implementation (#15925)
JosiahWI Mar 26, 2025
ea1e879
Fix performance bug with applying LBMs
sfan5 Mar 18, 2025
71cd25a
Preserve LBM ordering when running them
sfan5 Mar 18, 2025
3dca2cd
Strip leading colon from LBM names
sfan5 Mar 18, 2025
ed40ea0
Improve edge case handling in LBMManager
sfan5 Mar 18, 2025
7b746d2
Make sure generated blocks have their timestamp set
sfan5 Mar 18, 2025
f63436c
Add basic unittests for LBMManager
sfan5 Mar 23, 2025
db15bc6
Some more random code cleanups
sfan5 Mar 18, 2025
fbc525d
Restore behavior of emergequeue_limit_total (#15947)
lhofhansl Mar 28, 2025
b0bc6ce
TouchControls: Take FOV into account for camera movement (#15936)
grorp Mar 28, 2025
8f8d7c4
Check if a block is already in the emege queue before checking occlus…
lhofhansl Mar 28, 2025
9154464
Improve warning message for registration table reuse
sfan5 Mar 24, 2025
a94c9a7
Move all registration logic into core.register_item for consistency
sfan5 Mar 24, 2025
af1ffce
Improve hand override documentation
cx384 Mar 29, 2025
882f132
Document special items
cx384 Mar 30, 2025
309c0a0
Formspec: fix clamped scroll offset of scroll_containers larger than …
SmallJoker Mar 30, 2025
4cd2273
Refactor input handler (#15933)
y5nw Mar 30, 2025
41d43e8
Document server texture pack in texture_packs.md (#15951)
cx384 Mar 30, 2025
4bc366b
Refactor createShadowRenderer
wrrrzr Mar 30, 2025
d7edf0b
Set StartupWMClass in desktop file
wrrrzr Mar 30, 2025
89e3bc8
Improve std::hash<SMaterial> implementation
sfan5 Mar 26, 2025
e73eed2
Apply some refactoring/cleanup to mainly util functions
sfan5 Mar 26, 2025
b146673
Remove old mystrtok_r for MinGW
sfan5 Mar 26, 2025
dea95c7
Reduce transitive includes by moving a class
sfan5 Mar 26, 2025
2602d03
Split ABM/LBM from serverenvironment.cpp to own file
sfan5 Mar 26, 2025
e6acc4e
Delete TestCAO
sfan5 Mar 26, 2025
ae0f955
Add nodiscard attribute to helper functions where it makes sense
sfan5 Mar 26, 2025
785c042
Drop gzip support from CZipReader
sfan5 Mar 29, 2025
1281173
Use secure randomness to seed internal RNG
sfan5 Mar 30, 2025
6724068
Slight fix to #15949 to handle emerge queue full (#15960)
lhofhansl Apr 1, 2025
c30c94d
Add server/client annotations to settingtypes.txt and make use of the…
grorp Apr 1, 2025
2569b50
Deprecate some legacy item registration logic (#15950)
appgurueu Apr 1, 2025
0179021
lua_api.md: MAX_WORKING_VOLUME is now 150 million
Jiskster Apr 1, 2025
47c75b3
ImageSource: restrict max dimensions to protect from integer overflow…
sfan5 Apr 1, 2025
7dbd3a0
lua_api.md: More info in LBM run_at_every_load documentation (#15956)
grorp Apr 2, 2025
66dedf1
lua_api.md: Mapblock-related and misc improvements (#15972)
grorp Apr 3, 2025
884f411
Set `CMAKE_POLICY_VERSION_MINIMUM=3.5` to make MSVC CI work again (#1…
appgurueu Apr 4, 2025
1db5a2f
Add delay between punching and digging node (#15931)
ryvnf Apr 4, 2025
a6d4cd7
Draw node animation for items (#15930)
cx384 Apr 4, 2025
52b9741
Move client code out of ItemDefManager (#15967)
cx384 Apr 4, 2025
6a71095
Break liquid reflow scan early for all-air blocks (#15975)
lhofhansl Apr 5, 2025
bed3613
Fix struct forward declaration
cx384 Apr 6, 2025
a3648b0
Add spatial index for objects (#14631)
appgurueu Apr 8, 2025
7689f1f
Improve some warning messages (#15990)
appgurueu Apr 8, 2025
03affa1
Some minor code cleanups
sfan5 Mar 31, 2025
38c3876
Drop support for storing mipmap data alongside IImage
sfan5 Apr 6, 2025
9ff07df
Fix GLES texture download to handle mipmaps and cubemap type
sfan5 Apr 6, 2025
427a7e4
Split texture initialization code from upload
sfan5 Apr 6, 2025
d5bf094
Prefer immutable texture storage when available
sfan5 Apr 6, 2025
46db688
Implement support for array textures in GL driver
sfan5 Apr 6, 2025
a00b9ca
Fix operator[] for vector2d and vector3d being potentially UB (#15977)
sfan5 Apr 8, 2025
9d81c02
Add/remove/change some log messages for clarity
sfan5 Apr 7, 2025
124d770
Fix edge-case where manually set gameid isn't used
sfan5 Apr 8, 2025
372e37f
Minor correction to how buildbot finds packages
sfan5 Apr 8, 2025
7829340
Rename perlin noise to value noise (#15858)
kno10 Apr 10, 2025
75862e3
ContentDB: Add reviews tab (#15254)
rubenwardy Apr 13, 2025
60c47c5
Optimize name-id-lookup for MapBlock serialization (#16000)
Desour Apr 14, 2025
bdaabad
Warn if async engine seems stuck (#16010)
sfan5 Apr 14, 2025
a9c197b
Expand usable range of fill_ratio to about 2.3e-10 (#16026)
sfence Apr 15, 2025
37d2bc8
Reuse some allocations in ClientMap rendering
sfan5 Apr 15, 2025
cf07b56
Expand workarounds for format inconsistency with BGRA8888 extension o…
sfan5 Apr 13, 2025
04e8274
Make ETLF_FLIP_Y_UP_RTT work for texture download on GLES
sfan5 Apr 13, 2025
fd85737
Add `allow_close[]` element to formspecs (#15971)
v-rob Apr 16, 2025
7375358
Fix warning in mg_decoration.cpp
sfence Apr 17, 2025
0695541
Fix cross-building by ensuring output path is set
twrightsman Apr 17, 2025
2bb7ed2
Add vcpkg.json (#15863)
y5nw Apr 20, 2025
bf15036
Show SDL version in the About tab (#16046)
y5nw Apr 20, 2025
c1d2124
SDL: Send events for X1 and X2 mouse buttons (#16025)
y5nw Apr 20, 2025
23bfb2d
Move keybinding settings to (Lua-based) setting menu (#15791)
y5nw Apr 20, 2025
2f46484
Make it more convenient to customize node drops (#15872)
j-r Apr 20, 2025
5f1ff45
Replace `_IRR_DEBUG_BREAK_IF` with assertions
appgurueu Apr 3, 2025
695d526
Get rid of `_IRR_OVERRIDE_` macro
appgurueu Apr 4, 2025
e114378
Fix some (MSVC) compiler warnings
appgurueu Apr 4, 2025
c0d10b2
Use SPDX-License-Identifiers in builtin
appgurueu Apr 4, 2025
1c5776d
`FATAL_ERROR` for orphan object refs in `objectrefGetOrCreate`
appgurueu Apr 12, 2025
4c4e296
Handle texture filtering sanely to avoid blurriness (#16034)
sfan5 Apr 21, 2025
b2c2a6f
Rename IShaderConstantSetter
sfan5 Apr 17, 2025
baa4c7c
Introduce IShaderConstantSetter abstraction
sfan5 Apr 17, 2025
f3c2bbf
Change shaders to be defined by input constants rather than drawtype/…
sfan5 Apr 17, 2025
900cf89
Move NodeShaderConstantSetter to game.cpp
sfan5 Apr 18, 2025
c0e42c6
Use map_compression_level_disk from minetest.conf for --recompress (#…
Linn16 Apr 21, 2025
5c6e4d3
Client: protect against circular attachments (#16038)
SmallJoker Apr 21, 2025
0cf1c47
Fix scrollbar on ContentDB grid by adding an area label (#16042)
grorp Apr 21, 2025
99150fa
Some RemoteClient improvements
lhofhansl Apr 12, 2025
2a3427a
Fix m_nearest_unsent_d calculation when changed blocks arrive
lhofhansl Apr 12, 2025
00addc3
Mark liquid and light updates low priority
lhofhansl Apr 22, 2025
7c619bd
Improve usability of Prometheus metrics backend (#16060)
sfan5 Apr 23, 2025
6c339c6
Switch to smallint for position keys (x,y,z) in postgres backend
BuckarooBanzay Nov 12, 2019
2c83c67
Move profiler call out of hot path in ClientMap (#16056)
sfan5 Apr 23, 2025
4a8f84b
Mainmenu: Move core.on_before_close to s_mainmenu like other callback…
Desour Apr 20, 2025
974d915
Remove `creative` priv from doc
Desour Apr 20, 2025
75f757e
Improve crafting doc
Desour Apr 20, 2025
f2ea4a4
Improve mod storage doc a little
Desour Apr 20, 2025
dd2e45e
Deprecate function support in `core.[de]serialize`
appgurueu Apr 23, 2025
d6d045a
Script: avoid fatal error in deprecated func handler
SmallJoker Apr 23, 2025
233ffbe
Change exit keybinding and fix bug in allow_close[]
v-rob Apr 23, 2025
4095435
CI: Use gcc-9 and clang-11 with Ubuntu 22.04 (#16076)
minlemon Apr 23, 2025
3e5d978
Android: Persistent notification while ingame (#13125)
srifqi Apr 24, 2025
efe120d
Translated using Weblate (Spanish)
MiguelPL4 Feb 15, 2025
78e3498
Translated using Weblate (Russian)
Uwuewsky Feb 15, 2025
02a87ce
Translated using Weblate (French)
waxtatect Feb 15, 2025
46357d8
Translated using Weblate (Japanese)
BreadT Feb 16, 2025
d887470
Translated using Weblate (Slovenian)
Feb 16, 2025
a1cdb0c
Translated using Weblate (Ukrainian)
FromKaniv Feb 16, 2025
c020c50
Translated using Weblate (Chinese (Simplified Han script))
Feb 17, 2025
f5785ec
Translated using Weblate (Ukrainian)
Feb 18, 2025
3376eb6
Translated using Weblate (French)
meafk2444 Feb 18, 2025
7b38484
Translated using Weblate (French)
Tanavit-M Feb 24, 2025
00652e1
Translated using Weblate (Chinese (Simplified Han script))
zbx1425 Feb 24, 2025
c561a06
Added translation using Weblate (Romanian)
kneekoo Feb 25, 2025
ee50f7c
Translated using Weblate (Romanian)
kneekoo Feb 25, 2025
3f295ac
Translated using Weblate (Ukrainian)
FromKaniv Feb 26, 2025
8aa043f
Translated using Weblate (Bulgarian)
Feb 27, 2025
74804e3
Translated using Weblate (Danish)
Feb 28, 2025
dac654e
Translated using Weblate (Spanish)
Feb 28, 2025
dde892e
Translated using Weblate (Ukrainian)
denissavchenko0 Mar 3, 2025
02244a1
Translated using Weblate (Ukrainian)
denissavchenko0 Mar 3, 2025
dc62a2f
Translated using Weblate (Turkish)
Mar 4, 2025
d1153d0
Translated using Weblate (Russian)
SkyBuilder1717 Mar 9, 2025
7ccab6d
Translated using Weblate (Japanese)
nogajun Mar 17, 2025
e9695c7
Translated using Weblate (Hindi)
ritwikraghav14 Mar 19, 2025
aa77bda
Translated using Weblate (Ukrainian)
Mar 21, 2025
cbe2067
Added translation using Weblate (Breton)
Mar 24, 2025
b022cc3
Translated using Weblate (Breton)
Mar 24, 2025
a252fc1
Translated using Weblate (Hebrew)
JhonGames Mar 24, 2025
697a316
Translated using Weblate (Spanish)
Mar 29, 2025
9be6f08
Translated using Weblate (Galician)
Apr 11, 2025
568157d
Translated using Weblate (Russian)
ItsRomeostar Apr 20, 2025
a9abeab
Update minetest.conf.example and dummy file
Apr 24, 2025
1de0edd
Update translation files
Apr 24, 2025
3497722
Replace broken "What is Minetest?" link with archived copy
minlemon Apr 24, 2025
33ae1af
Add how to run unit tests after compile instructions
minlemon Apr 22, 2025
0d414c4
Add testeditor to devtest for easier testing. (#15206)
sfence Apr 25, 2025
5113fca
Fix glTF reader not ignoring parent transforms for skinned meshes
appgurueu Apr 25, 2025
01e4395
glTF: Clean up rigid animation
appgurueu Apr 25, 2025
4164cea
Fix PUT and DELETE requests without data
sfan5 Apr 25, 2025
d937cd9
Don't restrict multipart requests to POST
sfan5 Apr 25, 2025
893a74f
Support HEAD and PATCH methods in http api
sfan5 Apr 26, 2025
6f37352
GUI: restore the Pause Menu after closing the Settings Menu
SmallJoker May 2, 2025
d96f5e1
MetaDataRef: Make `set_float` preserve numbers exactly (#16090)
appgurueu May 2, 2025
0c7149b
Build-related fixes (#16102)
sfan5 May 2, 2025
c5abecb
Improve log messages for core.clear_craft
z-op May 2, 2025
d795c28
Tune polygon offset handling to avoid issues with mesh nodes (#16064)
sfan5 May 2, 2025
0bdd5f2
Make SDL2 default on macOS (#16039)
sfence May 2, 2025
b841c23
Clean up TextureSource and related code
sfan5 Apr 20, 2025
9cb78f2
Try to reuse texture objects in TextureSource::rebuildTexture()
sfan5 Apr 20, 2025
486fb7c
Add caching of generated textures as image
sfan5 Apr 20, 2025
377fa5b
Minor improvements to image algorithms
sfan5 May 3, 2025
f4285a5
Purge some dead code (mostly Irrlicht) (#16111)
appgurueu May 4, 2025
98b2ede
dump[2]: avoid misleading rounding of numbers
appgurueu Apr 21, 2025
9ad23e4
Revamp `dump`
appgurueu Apr 24, 2025
747857b
Implement helpful `__tostring` for all userdata-based classes
appgurueu Apr 27, 2025
34e73da
Optimize appending to tables in `core.serialize` and `dump`
appgurueu May 2, 2025
0551346
Some ActiveBlockList improvements
lhofhansl May 5, 2025
1f9a3b5
Update src/serverenvironment.cpp
lhofhansl May 5, 2025
9b2ee1d
Remove Irrlicht GUI gradients (#16015)
siliconsniffer May 7, 2025
94dd3da
Prevent mixing in-tree and out-of-tree builds
sfan5 May 9, 2025
5f06885
Fix printing SER_FMT_VER_HIGHEST_READ in main.cpp
sfan5 May 13, 2025
959a8b5
Fix black font and menu header when game exits in background (#16131)
grorp May 14, 2025
600763d
Fix table[] focus regression from f4285a5 (#16136)
appgurueu May 14, 2025
57c1ab9
Migrate existing keycode-based keybindings (#16049)
y5nw May 14, 2025
612db5b
Fix handling of skinned meshes for nodes
appgurueu May 4, 2025
e039f4c
Improve mesh scaling factor documentation
appgurueu Apr 26, 2025
8a28339
Revert "Fix handling of skinned meshes for nodes"
sfan5 May 14, 2025
9ff00cd
Translated using Weblate (Indonesian)
Linerly Apr 25, 2025
e6511c6
Translated using Weblate (German)
Wuzzy2 Apr 25, 2025
b0ef3ed
Translated using Weblate (Russian)
ItsRomeostar Apr 25, 2025
649fef4
Translated using Weblate (French)
waxtatect Apr 28, 2025
2e717c2
Translated using Weblate (Russian)
Akamar Apr 28, 2025
faad4d7
Translated using Weblate (Polish)
Karol1165 May 2, 2025
15315e7
Translated using Weblate (Russian)
Uwuewsky May 2, 2025
ccc46f9
Translated using Weblate (Galician)
May 9, 2025
2103b07
Translated using Weblate (Portuguese)
LipeAma May 12, 2025
5cc44ed
Translated using Weblate (Swedish)
May 12, 2025
7c5a0d9
Translated using Weblate (Persian)
May 14, 2025
d19640d
Run updatepo.sh
May 14, 2025
d11d90f
Update settingtypes to reflect scancode-related changes (#16140)
y5nw May 16, 2025
3020c19
Client: Disable node specular shader effect (#16113)
SmallJoker May 17, 2025
a817fdf
Complete rename to Luanti in package metadata (#16017)
appgurueu May 17, 2025
dca88be
Remove PrefersNonDefaultGPU from desktop file (#16095)
Jan200101 May 18, 2025
8c8b7cb
Clean up menus properly on client exit (#16150)
sfan5 May 18, 2025
554dd5d
Update credits for 5.12.0 (#16142)
sfan5 May 18, 2025
56ecf6d
Mainmenu: Fix error after ESC in dialog windows (#16130)
SmallJoker May 18, 2025
4700939
Fix uninitialized variable warning in generate_srp_verifier_and_salt
AdeilnAcinrst May 18, 2025
30e33d7
Main menu: Fix ContentDB aliases for games having the '_game' suffix …
Ekdohibs May 19, 2025
7ac5502
Fix handling of skinned meshes for nodes
appgurueu May 20, 2025
95695f1
Translated using Weblate (German)
sfan5 May 14, 2025
31e923e
Translated using Weblate (Italian)
May 14, 2025
1b9a507
Translated using Weblate (Indonesian)
Linerly May 15, 2025
813f670
Translated using Weblate (Chinese (Simplified Han script))
May 14, 2025
f6c933d
Translated using Weblate (Russian)
SkyBuilder1717 May 16, 2025
db561ff
Translated using Weblate (Portuguese)
gitipedras May 18, 2025
fc1d57b
Translated using Weblate (French)
waxtatect May 18, 2025
b459d6e
Translated using Weblate (Basque)
josuigoa May 21, 2025
9b2aeb2
Update minetest.conf.example
May 23, 2025
8f08385
Bump version to 5.12.0
sfan5 May 23, 2025
66aa5f3
Continue with 5.13.0-dev
sfan5 May 23, 2025
2f1171e
Formspec: Fix broken 9-slice image button with gui_scaling_filter (#1…
SmallJoker May 24, 2025
d17f22f
Fix texture coordinates of cuboid drawtypes (#16091)
cx384 May 24, 2025
452160c
Clean up read_tiledef and related parts a bit
sfan5 May 13, 2025
1214a1d
Refactor ITextureSource use in main menu (#16135)
sfan5 May 24, 2025
e9b3284
Make MTP server shutdown flag atomic
JosiahWI May 22, 2025
fa0c09d
Do not modify peer timeout on shutdown
JosiahWI May 22, 2025
da7897a
Fix texture double-free in main menu
sfan5 May 27, 2025
94a9b94
Formspec: Fix incorrect cell size when using non-default fonts (#16178)
SmallJoker May 27, 2025
986cd32
Minor lua_api.md improvements (#16169)
grorp May 28, 2025
ae35f37
Move one CI run to be on 64-bit ARM
sfan5 May 28, 2025
a5263dc
Do not allow vector components to be nil
sfan5 May 18, 2025
ec16fb3
Add unit tests for Lua vector reading
sfan5 May 19, 2025
6ca9d75
Reject NaN and Inf in check_v3d() too
sfan5 May 19, 2025
5c25993
Change nil-component error to deprecation warning
sfan5 May 26, 2025
957ebf7
settingtypes: Add `no-c-format` flag for xgettext
Wuzzy2 May 30, 2025
9ce9d7f
Extend check for lingering clinets
sfan5 May 27, 2025
b580c66
Restrict minimum state for ClientInterface::sendToAll
sfan5 May 27, 2025
79e0d83
Rework user limit and checks around join process
sfan5 May 27, 2025
e03957e
Add VoxelManip:close() for explicit free
sfan5 May 25, 2025
41651c7
Add C++-side unit tests for MMVManip
sfan5 May 25, 2025
6274a8d
Refactor MMVManip to get rid of m_loaded_blocks
sfan5 May 25, 2025
aa1bab2
Implement API to create empty VoxelManip
sfan5 May 25, 2025
9f7501d
Handle writing to unloaded blocks in MMVManip::blitBackAll()
sfan5 May 25, 2025
fcddac6
Formspec: Fix malfunctioning 'Proceed' button on sizeless formspecs
SmallJoker May 28, 2025
660b1cf
Formspec: remove gotText(wstr) remains
SmallJoker May 28, 2025
535d757
Formspec: Move GUI event handling to switch/case
SmallJoker May 28, 2025
a2460df
Print Luanti version after ascii art
sfan5 May 30, 2025
56a7f0b
Don't break when multiple dialogs are shown on startup (#16204)
grorp Jun 1, 2025
0bb87eb
Avoid signal-unsafe operations in POSIX signal handler (#16160)
JosiahWI Jun 1, 2025
fde6384
Fix and clean up skeletal animation (#15722)
appgurueu Jun 1, 2025
4454d71
Formspec: change tabs with ctrl(+shift)+tab (#16167)
siliconsniffer Jun 7, 2025
29a9056
Fix 'core.mod_channel_join' return value documentation (#16218)
jordan4ibanez Jun 7, 2025
b9af44b
Remove redundant descriptions from key bindings (#16220)
scoutgwyndolyn Jun 7, 2025
38255cb
Clean up makeScreenshot() and make message translateable
sfan5 Jun 4, 2025
f431c12
Fix model[] not supporting float frames
appgurueu Jun 4, 2025
e452c29
Don't force-enable tileable_horizontal/vertical for solid nodes
grorp Jun 5, 2025
aba2b66
Add documentation for ValueNoise during load time (#16235)
Xeno333 Jun 7, 2025
f75d16c
Fix some misinformation in `world_format.md` (#16256)
Desour Jun 13, 2025
225d2cf
Make minimap respect `drawtype = "airlike"` (#16251)
Xeno333 Jun 13, 2025
81d62d0
Detect mouse moving out of inventory slot (#16101)
j-r Jun 13, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 5 additions & 0 deletions .clang-tidy
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Checks: '-*,modernize-use-emplace,modernize-avoid-bind,misc-throw-by-value-catch-by-reference,misc-unconventional-assign-operator,performance-*,-performance-avoid-endl,performance-inefficient-string-concatenation'
WarningsAsErrors: '-*,modernize-use-emplace,performance-type-promotion-in-math-fn,performance-faster-string-find,performance-implicit-cast-in-loop'
CheckOptions:
- key: performance-unnecessary-value-param.AllowedTypes
value: v[23]f;v[23][su](16|32)
4 changes: 4 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
./cmake-build-*
./build/*
./cache/*
Dockerfile
16 changes: 16 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[*]
end_of_line = lf

[*.{cpp,h,lua,txt,glsl,c,cmake,java,gradle}]
charset = utf-8
indent_size = 4
indent_style = tab
insert_final_newline = true
trim_trailing_whitespace = true

[*.md]
charset = utf-8
indent_size = 4
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true
6 changes: 6 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
# Forces all files which git considers text files to use LF line endings
* text=auto eol=lf

*.cpp diff=cpp
*.h diff=cpp

*.gltf binary
*.x binary
172 changes: 172 additions & 0 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,172 @@
# Contributing

Contributions are welcome! Here's how you can help:

- [Contributing code](#code)
- [Reporting issues](#issues)
- [Requesting features](#feature-requests)
- [Translating](#translations)
- [Donating](#donations)

## Code

1. [Fork](https://help.github.com/articles/fork-a-repo/) the repository and
[clone](https://help.github.com/articles/cloning-a-repository/) your fork.

2. Before you start coding, consider opening an
[issue on Github](https://github.com/luanti-org/luanti/issues) to discuss the
suitability and implementation of your intended contribution with the core
developers.

Any Pull Request that isn't a bug fix and isn't covered by
[the roadmap](../doc/direction.md) will be closed within a month unless it
receives a concept approval from a Core Developer. For this reason, it is
recommended that you open an issue for any such pull requests before doing
the work, to avoid disappointment.

You may also benefit from discussing on our IRC development channel
[#luanti-dev](http://www.luanti.org/irc/). Note that a proper IRC client
is required to speak on this channel.

3. Start coding!
- Refer to the
[Lua API](https://github.com/luanti-org/luanti/blob/master/doc/lua_api.md),
[Developer Wiki](https://dev.luanti.org/) and other
[documentation](https://github.com/luanti-org/luanti/tree/master/doc).
- Follow the [C/C++](https://dev.luanti.org/Code_style_guidelines) and
[Lua](https://dev.luanti.org/Lua_code_style_guidelines) code style guidelines.
- Check your code works as expected and document any changes to the Lua API.
- To avoid conflicting changes between contributions, do not do the following manually. They will be done before each release.
- Run `updatepo.sh` or update `luanti.po{,t}` even if your code adds new translatable strings.
- Update `minetest.conf.example` and `settings_translation_file.cpp` even if your code adds new core settings.

4. Commit & [push](https://help.github.com/articles/pushing-to-a-remote/) your changes to a new branch (not `master`, one change per branch)
- Commit messages should:
- Use the present tense.
- Be descriptive. See the commit messages by core developers for examples.
- The first line should:
- Start with a capital letter.
- Be a compact summary of the commit.
- Preferably have less than 70 characters.
- Have no full stop at the end.
- The second line should be empty.
- The following lines should describe the commit, starting a new line for each point.

5. Once you are happy with your changes, submit a pull request.
- Open the [pull-request form](https://github.com/luanti-org/luanti/pull/new/master).
- Add a description explaining what you've done (or if it's a
work-in-progress - what you need to do).
- Make sure to fill out the pull request template.

### A pull-request is considered merge-able when:

1. It follows [the roadmap](../doc/direction.md) in some way and fits the whole
picture of the project.
2. It works.
3. It follows the code style for
[C/C++](https://dev.luanti.org/Code_style_guidelines) or
[Lua](https://dev.luanti.org/Lua_code_style_guidelines).
4. The code's interfaces are well designed, regardless of other aspects that
might need more work in the future.
5. It uses protocols and formats which include the required compatibility.

## Issues

If you experience an issue, we would like to know the details - especially when
a stable release is on the way.

1. Do a quick search on GitHub to check if the issue has already been reported.
2. Is it an issue with the Luanti *engine*? If not, report it
[elsewhere](http://www.luanti.org/development/#reporting-issues).
3. [Open an issue](https://github.com/luanti-org/luanti/issues/new) and describe
the issue you are having - you could include:
- Error logs (check the bottom of the `debug.txt` file).
- Screenshots.
- Ways you have tried to solve the issue, and whether they worked or not.
- Your Luanti version and the content (games, mods or texture packs) you have installed.
- Your platform (e.g. Windows 10 or Ubuntu 15.04 x64).

After reporting you should aim to answer questions or clarifications as this
helps pinpoint the cause of the issue (if you don't do this your issue may be
closed after 1 month).

## Feature requests

Feature requests are welcome but take a moment to see if your idea follows
[the roadmap](../doc/direction.md) in some way and fits the whole picture of
the project. You should provide a clear explanation with as much detail as
possible.

## Translations

The core translations of Luanti are performed using Weblate. You can access
the project page with a list of current languages
[here](https://hosted.weblate.org/projects/minetest/minetest/).

Builtin (the component which contains things like server messages, chat command
descriptions, privilege descriptions) is translated separately; it needs to be
translated by editing a `.tr` text file. See
[Translation](https://dev.luanti.org/Translation) for more information.

## Donations

If you'd like to monetarily support Luanti development, you can find donation
methods on [our website](http://www.luanti.org/development/#donate).

# Maintaining

* This is a concise version of the
[Rules & Guidelines](https://dev.luanti.org/engine-dev-process/) on the developer wiki.*

These notes are for those who have push access Luanti (core developers / maintainers).

- See the [project organisation](https://dev.luanti.org/Organisation) for the people involved.

## Concept approvals and roadmaps

If a Pull Request is not a bug fix:

* If it matches a goal in [the roadmap](../doc/direction.md), then the PR should
be labeled as "Roadmap" and the goal stated by number in the description.
* If it doesn't match a goal, then it needs to receive a concept approval within
a week of being opened to remain open. This 1 week deadline does not apply to
PRs opened before the roadmap was adopted; instead, they may remain open or be
closed as needed. Use the "Concept Approved" label. Issues can be marked as
"Concept Approved" to give preapproval to future PRs.

## Reviewing pull requests

Pull requests should be reviewed and, if appropriate, checked if they achieve
their intended purpose. You can show that you are in the process of, or will
review the pull request by commenting *"Looks good"* or something similar.

**If the pull-request is not [merge-able](#a-pull-request-is-considered-merge-able-when):**

Submit a comment explaining to the author what they need to change to make the
pull-request merge-able.

- If the author comments or makes changes to the pull-request, it can be
reviewed again.
- If no response is made from the author within 1 month (when improvements are
suggested or a question is asked), it can be closed.

**If the pull-request is [merge-able](#a-pull-request-is-considered-merge-able-when):**

Submit a :+1: (+1) or "Looks good" comment to show you believe the pull-request should be merged. "Looks good" comments often signify that the patch might require (more) testing.

- Two core developers must agree to the merge before it is carried out and both should +1 the pull request.
- Who intends to merge the pull-request should follow the commit rules:
- The title should follow the commit guidelines (title starts with a capital letter, present tense, descriptive).
- Don't modify history older than 10 minutes.
- Use rebase, not merge to get linear history:
- `curl -Ls https://github.com/luanti-org/luanti/pull/1.patch | git am`

## Reviewing issues and feature requests

- If an issue does not get a response from its author within 1 month (when requiring more details), it can be closed.
- When an issue is a duplicate, refer to the first ones and close the later ones.
- Tag issues with the appropriate [labels](https://github.com/luanti-org/luanti/labels) for devices, platforms etc.

## Releasing a new version

*Refer to [dev.luanti.org/Releasing_Luanti](https://dev.luanti.org/Releasing_Luanti)*
79 changes: 79 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
name: Bug report
description: Create a report to help us improve
labels: ["Unconfirmed bug"]
body:
- type: markdown
attributes:
value: |
Please note the following:

1. **Please update Luanti to the latest stable or dev version** before submitting bug reports. Make sure the bug is still reproducible on the latest version.
2. This page is for reporting the bugs of **the engine itself**. For bugs in a particular game, please [search for the game in the ContentDB](https://content.luanti.org/packages/?type=game) and submit a bug report in their issue trackers.
* For example, you can submit issues about the Minetest Game [in its own repository](https://github.com/luanti-org/minetest_game/issues).
3. Please provide as many details as possible for us to spot the problem quicker.
- type: textarea
attributes:
label: Luanti version
description: |
Paste the Luanti version below.
If you are on a dev version, please also indicate the git commit hash.
Refer to the "About" tab of the menu or run `luanti --version` on the command line.
placeholder: |
Example:
Luanti 5.10.0-3ad6aee9b (Linux)
Using LuaJIT 2.1.1727870382
Built by GCC 14.2
Running on Linux/6.11.5 x86_64
BUILD_TYPE=Release
RUN_IN_PLACE=1
USE_CURL=1
USE_GETTEXT=1
USE_SOUND=1
STATIC_SHAREDIR="."
STATIC_LOCALEDIR="locale"
render: "true"
validations:
required: true
- type: input
attributes:
label: Operating system and version
description: It is recommended to upgrade your operating system to see if the problem persists.
placeholder: "Example: Ubuntu 22.04"
validations:
required: true
- type: input
attributes:
label: CPU model
description: Usually found in OS/system settings.
placeholder: "Example: Intel Core i5-2410M"
validations:
required: false
- type: markdown
attributes:
value: The GPU model and renderer can be omitted if the bug is not a graphical issue.
- type: input
attributes:
label: GPU model
description: Usually found in OS/system settings.
placeholder: "Example: NVIDIA GeForce GTX 1660"
validations:
required: false
- type: input
attributes:
label: Active renderer
description: You can find this in the "About" tab in the main menu.
placeholder: "Example: ES 3.2 / ogles2 / X11"
validations:
required: false
- type: textarea
attributes:
label: Summary
description: Describe your problem here.
validations:
required: true
- type: textarea
attributes:
label: Steps to reproduce
description: Explain how the problem has happened, providing a minimal test (e.g. a minimized code snippet) where possible.
validations:
required: true
8 changes: 8 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
blank_issues_enabled: true
contact_links:
- name: Submit issues about Minetest Game
url: https://github.com/luanti-org/minetest_game/issues/new
about: Only submit issues of the engine in this repository's issue tracker. Submit those of Minetest Game in its own issue tracker.
- name: Search for issue trackers of third-party games
url: https://content.luanti.org/packages/?type=game
about: For issues of third-party games, search for the game in the ContentDB and then submit an issue in their issue tracker.
39 changes: 39 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Feature request
description: Suggest an idea for this project
labels: ["Feature request"]
body:
- type: markdown
attributes:
value: |
Please note the following:
1. Only submit a feature request if the feature does not exist on the latest dev version.
2. This page is for suggesting changes to **the engine itself**. To suggest changes to games, please [search for the game in the ContentDB](https://content.luanti.org/packages/?type=game) and submit a feature request in their issue trackers.
- type: textarea
attributes:
label: Problem
description: |
A clear and concise description of the problem, i.e. "Why is this needed?"
Example: I'm always frustrated when [...]
validations:
required: true
- type: textarea
attributes:
label: Solutions
description: |
A clear and concise description of what you want to happen.
validations:
required: true
- type: textarea
attributes:
label: Alternatives
description: |
A clear and concise description of any alternative solutions or features you've considered.
validations:
required: true
- type: textarea
attributes:
label: Additional context
description: |
Add any other context or screenshots about the feature request here.
validations:
required: false
20 changes: 20 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
Add compact, short information about your PR for easier understanding:

- Goal of the PR
- How does the PR work?
- Does it resolve any reported issue?
- Does this relate to a goal in [the roadmap](https://github.com/luanti-org/luanti/blob/master/doc/direction.md)?
- If not a bug fix, why is this PR needed? What usecases does it solve?

## To do

This PR is a Work in Progress / Ready for Review.
<!-- ^ delete one -->

- [ ] List
- [ ] Things
- [ ] To do

## How to test

<!-- Example code or instructions -->
20 changes: 20 additions & 0 deletions .github/SECURITY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Security Policy

## Supported Versions

We only support the latest stable version for security issues.
See the [releases page](https://github.com/luanti-org/luanti/releases).

## Reporting a Vulnerability

We ask that you report vulnerabilities privately, by contacting a core developer,
to give us time to fix them. You can do that by emailing one of the following addresses:

* celeron55@gmail.com
* rw@rubenwardy.com

Depending on severity, we will either create a private issue for the vulnerability
and release a patch version of Luanti, or give you permission to file the issue publicly.

For more information on the justification of this policy, see
[Responsible Disclosure](https://en.wikipedia.org/wiki/Responsible_disclosure).
Loading
0