From b5e084c9a50526f0dfd8a0602a2607e636e83cb9 Mon Sep 17 00:00:00 2001 From: sfan5 Date: Fri, 24 Jan 2025 16:50:39 +0100 Subject: [PATCH] Update github URL references (#15705) --- .github/CONTRIBUTING.md | 14 +++++++------- .github/ISSUE_TEMPLATE/bug_report.yaml | 2 +- .github/ISSUE_TEMPLATE/config.yml | 2 +- .github/PULL_REQUEST_TEMPLATE.md | 2 +- .github/SECURITY.md | 2 +- .github/workflows/lua_api_deploy.yml | 2 +- CMakeLists.txt | 2 +- README.md | 4 ++-- android/native/build.gradle | 2 +- builtin/mainmenu/dlg_reinstall_mtg.lua | 2 +- .../shaders/second_stage/opengl_fragment.glsl | 2 +- doc/breakages.md | 4 ++-- doc/client_lua_api.md | 2 +- doc/compiling/linux.md | 6 +++--- doc/compiling/macos.md | 2 +- doc/developing/android.md | 2 +- doc/direction.md | 18 +++++++++--------- doc/lua_api.md | 12 +++++------- doc/lua_api.txt | 2 +- doc/luanti.6 | 4 ++-- doc/menu_lua_api.md | 2 +- irr/src/CIrrDeviceSDL.cpp | 4 ++-- lib/tiniergltf/Readme.md | 2 +- misc/net.minetest.minetest.metainfo.xml | 12 ++++++------ src/client/particles.cpp | 4 ++-- src/database/database-redis.cpp | 2 +- src/defaultsettings.cpp | 2 +- src/main.cpp | 4 ++-- src/unittest/test_mapblock.cpp | 2 +- src/unittest/test_threading.cpp | 8 ++++---- util/buildbot/common.sh | 2 +- util/gather_git_credits.py | 2 +- 32 files changed, 66 insertions(+), 68 deletions(-) diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index 4edd63207..985a6caca 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -14,7 +14,7 @@ Contributions are welcome! Here's how you can help: [clone](https://help.github.com/articles/cloning-a-repository/) your fork. 2. Before you start coding, consider opening an - [issue at Github](https://github.com/minetest/minetest/issues) to discuss the + [issue on Github](https://github.com/luanti-org/luanti/issues) to discuss the suitability and implementation of your intended contribution with the core developers. @@ -30,9 +30,9 @@ Contributions are welcome! Here's how you can help: 3. Start coding! - Refer to the - [Lua API](https://github.com/minetest/minetest/blob/master/doc/lua_api.md), + [Lua API](https://github.com/luanti-org/luanti/blob/master/doc/lua_api.md), [Developer Wiki](http://dev.minetest.net/Main_Page) and other - [documentation](https://github.com/minetest/minetest/tree/master/doc). + [documentation](https://github.com/luanti-org/luanti/tree/master/doc). - Follow the [C/C++](http://dev.minetest.net/Code_style_guidelines) and [Lua](http://dev.minetest.net/Lua_code_style_guidelines) code style guidelines. - Check your code works as expected and document any changes to the Lua API. @@ -53,7 +53,7 @@ Contributions are welcome! Here's how you can help: - 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/minetest/minetest/pull/new/master). + - 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. @@ -78,7 +78,7 @@ 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 Minetest *engine*? If not, report it [elsewhere](http://www.minetest.net/development/#reporting-issues). -3. [Open an issue](https://github.com/minetest/minetest/issues/new) and describe +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. @@ -159,13 +159,13 @@ Submit a :+1: (+1) or "Looks good" comment to show you believe the pull-request - 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 https://github.com/minetest/minetest/pull/1.patch | git am` + - `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/minetest/minetest/labels) for devices, platforms etc. +- Tag issues with the appropriate [labels](https://github.com/luanti-org/luanti/labels) for devices, platforms etc. ## Releasing a new version diff --git a/.github/ISSUE_TEMPLATE/bug_report.yaml b/.github/ISSUE_TEMPLATE/bug_report.yaml index ae736d52f..29df88d18 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yaml +++ b/.github/ISSUE_TEMPLATE/bug_report.yaml @@ -9,7 +9,7 @@ body: 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/minetest/minetest_game/issues). + * 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: diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index 502e8e1d7..c6834265d 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -1,7 +1,7 @@ blank_issues_enabled: true contact_links: - name: Submit issues about Minetest Game - url: https://github.com/minetest/minetest_game/issues/new/choose + 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 diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 0d7c0fb86..60a926039 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -3,7 +3,7 @@ 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/minetest/minetest/blob/master/doc/direction.md)? +- 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 diff --git a/.github/SECURITY.md b/.github/SECURITY.md index c045d957f..22b154458 100644 --- a/.github/SECURITY.md +++ b/.github/SECURITY.md @@ -3,7 +3,7 @@ ## Supported Versions We only support the latest stable version for security issues. -See the [releases page](https://github.com/minetest/minetest/releases). +See the [releases page](https://github.com/luanti-org/luanti/releases). ## Reporting a Vulnerability diff --git a/.github/workflows/lua_api_deploy.yml b/.github/workflows/lua_api_deploy.yml index e42335a78..68db8316f 100644 --- a/.github/workflows/lua_api_deploy.yml +++ b/.github/workflows/lua_api_deploy.yml @@ -16,7 +16,7 @@ on: jobs: build: - if: github.repository == 'minetest/minetest' + if: github.repository == 'luanti-org/luanti' runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 diff --git a/CMakeLists.txt b/CMakeLists.txt index de97d49bf..d942bb3aa 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -48,7 +48,7 @@ endif() # - win32/gcc: fails to link # - win32/clang: works # - macOS on x86: seems to be fine -# - macOS on ARM: crashes, see +# - macOS on ARM: crashes, see # Note: since CMake has no easy architecture detection disabling for Mac entirely #### #### if((WIN32 AND CMAKE_CXX_COMPILER_ID STREQUAL "GNU") OR APPLE) diff --git a/README.md b/README.md index aa8faccd5..3ff436419 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ Luanti (formerly Minetest) ========================== -![Build Status](https://github.com/minetest/minetest/workflows/build/badge.svg) +![Build Status](https://github.com/luanti-org/luanti/workflows/build/badge.svg) [![Translation status](https://hosted.weblate.org/widgets/minetest/-/svg-badge.svg)](https://hosted.weblate.org/engage/minetest/?utm_source=widget) [![License](https://img.shields.io/badge/license-LGPLv2.1%2B-blue.svg)](https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html) @@ -28,7 +28,7 @@ Further documentation - Website: https://www.luanti.org/ - Wiki: https://wiki.luanti.org/ - Forum: https://forum.luanti.org/ -- GitHub: https://github.com/minetest/minetest/ +- GitHub: https://github.com/luanti-org/luanti/ - [Developer documentation](doc/developing/) - [doc/](doc/) directory of source distribution diff --git a/android/native/build.gradle b/android/native/build.gradle index 806dda2f0..b5224c6a0 100644 --- a/android/native/build.gradle +++ b/android/native/build.gradle @@ -52,7 +52,7 @@ if (new File(depsDir, 'armeabi-v7a').exists()) { task downloadDeps(type: Download) { def depsZip = new File(buildDir, 'deps.zip') - src 'https://github.com/minetest/minetest_android_deps/releases/download/latest/deps-lite.zip' + src 'https://github.com/luanti-org/luanti_android_deps/releases/download/latest/deps-lite.zip' dest depsZip overwrite false diff --git a/builtin/mainmenu/dlg_reinstall_mtg.lua b/builtin/mainmenu/dlg_reinstall_mtg.lua index 85bdedf7b..11b20f637 100644 --- a/builtin/mainmenu/dlg_reinstall_mtg.lua +++ b/builtin/mainmenu/dlg_reinstall_mtg.lua @@ -19,7 +19,7 @@ -- This whole file can be removed after a while. -- It was only directly useful for upgrades from 5.7.0 to 5.8.0, but -- maybe some odd fellow directly upgrades from 5.6.1 to 5.9.0 in the future... --- see in case it's not obvious +-- see in case it's not obvious ---- ---- local SETTING_NAME = "no_mtg_notification" diff --git a/client/shaders/second_stage/opengl_fragment.glsl b/client/shaders/second_stage/opengl_fragment.glsl index 0a73aa393..6053884bc 100644 --- a/client/shaders/second_stage/opengl_fragment.glsl +++ b/client/shaders/second_stage/opengl_fragment.glsl @@ -61,7 +61,7 @@ vec4 applyBloom(vec4 color, vec2 uv) equation used: ((x * (A * x + C * B) + D * E) / (x * (A * x + B) + D * F)) - E / F */ -// see https://github.com/minetest/minetest/pull/14688 +// highp for GLES, see highp vec3 uncharted2Tonemap(highp vec3 x) { return ((x * (0.22 * x + 0.03) + 0.002) / (x * (0.22 * x + 0.3) + 0.06)) - 0.03333; diff --git a/doc/breakages.md b/doc/breakages.md index 956926471..51387e279 100644 --- a/doc/breakages.md +++ b/doc/breakages.md @@ -10,12 +10,12 @@ This list is largely advisory and items may be reevaluated once the time comes. * `game.conf` name/id mess * remove `depends.txt` / `description.txt` (would simplify ContentDB and Luanti code a little) * rotate moon texture by 180°, making it coherent with the sun - * https://github.com/minetest/minetest/pull/11902 + * https://github.com/luanti-org/luanti/pull/11902 * remove undocumented `set_physics_override(num, num, num)` * remove special handling of `${key}` syntax in metadata values * remove old_move * change physics_override `sneak` to disable the speed change and not just the node clipping - * https://github.com/minetest/minetest/issues/13699 + * https://github.com/luanti-org/luanti/issues/13699 * migrate from player names to UUIDs, this would enable renaming of accounts and unicode player names (if desired) * harmonize use_texture_alpha between entities & nodes, change default to 'opaque' and remove bool compat code * merge `sound` and `sounds` table in itemdef diff --git a/doc/client_lua_api.md b/doc/client_lua_api.md index fe65dd92e..8adfaee1a 100644 --- a/doc/client_lua_api.md +++ b/doc/client_lua_api.md @@ -23,7 +23,7 @@ Transferring client-sided mods from the server to the client is planned, but not If you see a deficiency in the API, feel free to attempt to add the functionality in the engine and API. You can send such improvements as -source code patches on GitHub (https://github.com/minetest/minetest). +source code patches on GitHub. Programming in Lua ------------------ diff --git a/doc/compiling/linux.md b/doc/compiling/linux.md index 54a44d501..ac803d422 100644 --- a/doc/compiling/linux.md +++ b/doc/compiling/linux.md @@ -70,14 +70,14 @@ For Void users: Download source (this is the URL to the latest of source repository, which might not work at all times) using Git: - git clone --depth 1 https://github.com/minetest/minetest.git + git clone --depth 1 https://github.com/luanti-org/luanti cd minetest Download source, without using Git: - wget https://github.com/minetest/minetest/archive/master.tar.gz + wget https://github.com/luanti-org/luanti/archive/master.tar.gz tar xf master.tar.gz - cd minetest-master + cd luanti-master ## Build diff --git a/doc/compiling/macos.md b/doc/compiling/macos.md index 09452004e..12818a334 100644 --- a/doc/compiling/macos.md +++ b/doc/compiling/macos.md @@ -16,7 +16,7 @@ brew install cmake freetype gettext gmp hiredis jpeg-turbo jsoncpp leveldb libog Download source (this is the URL to the latest of source repository, which might not work at all times) using Git: ```bash -git clone --depth 1 https://github.com/minetest/minetest.git luanti +git clone --depth 1 https://github.com/luanti-org/luanti luanti cd luanti ``` diff --git a/doc/developing/android.md b/doc/developing/android.md index 5a134d561..285351cf0 100644 --- a/doc/developing/android.md +++ b/doc/developing/android.md @@ -2,7 +2,7 @@ ## Sign the Android APK from CI -The [Github Actions Workflow](https://github.com/minetest/minetest/actions?query=workflow%3Aandroid+event%3Apush) +The [Github Actions Workflow](https://github.com/luanti-org/luanti/actions?query=workflow%3Aandroid+event%3Apush) automatically produces an APK for each architecture. Before installing them onto a device they however need to be signed. diff --git a/doc/direction.md b/doc/direction.md index 85b44f57c..574572516 100644 --- a/doc/direction.md +++ b/doc/direction.md @@ -7,7 +7,7 @@ following documents: * [What is Minetest?](http://c55.me/blog/?p=1491) * [celeron55's roadmap](https://forum.luanti.org/viewtopic.php?t=9177) -* [celeron55's comment in "A clear mission statement for Minetest is missing"](https://github.com/minetest/minetest/issues/3476#issuecomment-167399287) +* [celeron55's comment in "A clear mission statement for Minetest is missing"](https://github.com/luanti-org/luanti/issues/3476#issuecomment-167399287) * [Core developer to-do/wish lists](https://forum.luanti.org/viewforum.php?f=7) ## 2. Medium-term Roadmap @@ -16,7 +16,7 @@ These are the current medium-term goals for Luanti development, in no particular order. These goals were created from the top points in a -[roadmap brainstorm](https://github.com/minetest/minetest/issues/10461). +[roadmap brainstorm](https://github.com/luanti-org/luanti/issues/10461). This should be reviewed approximately yearly, or when goals are achieved. Pull requests that address one of these goals will be labeled as "Roadmap". @@ -32,9 +32,9 @@ Once that is done, fancier features can be worked on, such as water shaders, shadows, and improved lighting. Examples include -[transparency sorting](https://github.com/minetest/minetest/issues/95), -[particle performance](https://github.com/minetest/minetest/issues/1414), -[general view distance](https://github.com/minetest/minetest/issues/7222). +[transparency sorting](https://github.com/luanti-org/luanti/issues/95), +[particle performance](https://github.com/luanti-org/luanti/issues/1414), +[general view distance](https://github.com/luanti-org/luanti/issues/7222). This includes work on maintaining [our Irrlicht fork](https://github.com/minetest/irrlicht), and switching to @@ -43,16 +43,16 @@ alternative libraries to replace Irrlicht functionality as needed ### 2.2 Internal code refactoring To ensure sustainable development, Luanti's code needs to be -[refactored and improved](https://github.com/minetest/minetest/pulls?q=is%3Aopen+sort%3Aupdated-desc+label%3A%22Code+quality%22+). +[refactored and improved](https://github.com/luanti-org/luanti/pulls?q=is%3Aopen+sort%3Aupdated-desc+label%3A%22Code+quality%22). This will remove code rot and allow for more efficient development. ### 2.3 UI Improvements -A [formspec replacement](https://github.com/minetest/minetest/issues/6527) is +A [formspec replacement](https://github.com/luanti-org/luanti/issues/6527) is needed to make GUIs better and easier to create. This replacement could also be a replacement for HUDs, allowing for a unified API. -A [new mainmenu](https://github.com/minetest/minetest/issues/6733) is needed to +A [new mainmenu](https://github.com/luanti-org/luanti/issues/6733) is needed to improve user experience. First impressions matter, and the current main menu doesn't do a very good job at selling Luanti or explaining what it is. A new main menu should promote games to users, allowing Minetest Game to no @@ -65,5 +65,5 @@ an issue for any large changes before spending lots of time. There are still a significant number of issues with objects. Collisions, -[performance](https://github.com/minetest/minetest/issues/6453), +[performance](https://github.com/luanti-org/luanti/issues/6453), API convenience, and discrepancies between players and entities. diff --git a/doc/lua_api.md b/doc/lua_api.md index 0cc797a06..cf269cf6c 100644 --- a/doc/lua_api.md +++ b/doc/lua_api.md @@ -5,10 +5,10 @@ Luanti Lua Modding API Reference it's now called `core` due to the renaming of Luanti (formerly Minetest). `minetest` will keep existing as an alias, so that old code won't break. -* More information at -* Developer Wiki: +* More information at +* Developer Wiki: * (Unofficial) Minetest Modding Book by rubenwardy: -* Modding tools: +* Modding tools: Introduction ------------ @@ -327,7 +327,7 @@ Many glTF features are not supported *yet*, including: * Double-sided materials don't work * Alternative means of supplying data * Embedded images. You can use `gltfutil.py` from the - [modding tools](https://github.com/minetest/modtools) to strip or extract embedded images. + [modding tools](https://github.com/luanti-org/modtools) to strip or extract embedded images. * References to files via URIs Textures are supplied solely via the same means as for the other model file formats: @@ -1484,8 +1484,6 @@ Node drawtypes There are a bunch of different looking node types. -Look for examples in `games/devtest` or `games/minetest_game`. - * `normal` * A node-sized cube. * `airlike` @@ -4370,7 +4368,7 @@ Hello @1, how are you today?=Hallo @1, wie geht es dir heute? ``` For old translation files, consider using the script `mod_translation_updater.py` -in the Luanti [modtools](https://github.com/minetest/modtools) repository to +in the Luanti [modtools](https://github.com/luanti-org/modtools) repository to generate and update translation files automatically from the Lua sources. Gettext translation file format diff --git a/doc/lua_api.txt b/doc/lua_api.txt index 95bc7f1f6..df7b12d4d 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -1,3 +1,3 @@ Moved to lua_api.md -URL: https://github.com/minetest/minetest/blob/master/doc/lua_api.md +URL: https://github.com/luanti-org/luanti/blob/master/doc/lua_api.md diff --git a/doc/luanti.6 b/doc/luanti.6 index 0eb5b630e..587af24fc 100644 --- a/doc/luanti.6 +++ b/doc/luanti.6 @@ -124,7 +124,7 @@ Colon delimited list of directories to search for mods. Path to Luanti user data directory. .SH BUGS -Please report all bugs at https://github.com/minetest/minetest/issues. +Please report all bugs at https://github.com/luanti-org/luanti/issues. .SH AUTHOR .PP @@ -134,4 +134,4 @@ This man page was originally written by Juhani Numminen . .SH WWW -http://www.minetest.net/ +http://www.luanti.org/ diff --git a/doc/menu_lua_api.md b/doc/menu_lua_api.md index 49459e191..260c6b661 100644 --- a/doc/menu_lua_api.md +++ b/doc/menu_lua_api.md @@ -382,7 +382,7 @@ Settings * `core.settings:save()` -> nil, save all settings to config file For a complete list of methods of the `Settings` object see -[lua_api.md](https://github.com/minetest/minetest/blob/master/doc/lua_api.md) +[lua_api.md](./lua_api.md) Worlds diff --git a/irr/src/CIrrDeviceSDL.cpp b/irr/src/CIrrDeviceSDL.cpp index f7974202f..e263c2948 100644 --- a/irr/src/CIrrDeviceSDL.cpp +++ b/irr/src/CIrrDeviceSDL.cpp @@ -256,7 +256,7 @@ CIrrDeviceSDL::CIrrDeviceSDL(const SIrrlichtCreationParameters ¶m) : if (++SDLDeviceInstances == 1) { #ifdef __ANDROID__ // Blocking on pause causes problems with multiplayer. - // See https://github.com/minetest/minetest/issues/10842. + // see SDL_SetHint(SDL_HINT_ANDROID_BLOCK_ON_PAUSE, "0"); SDL_SetHint(SDL_HINT_ANDROID_BLOCK_ON_PAUSE_PAUSEAUDIO, "0"); @@ -270,7 +270,7 @@ CIrrDeviceSDL::CIrrDeviceSDL(const SIrrlichtCreationParameters ¶m) : SDL_SetHint(SDL_HINT_NO_SIGNAL_HANDLERS, "1"); // Disabling the compositor is not a good idea in windowed mode. - // See https://github.com/minetest/minetest/issues/14596 + // see SDL_SetHint(SDL_HINT_VIDEO_X11_NET_WM_BYPASS_COMPOSITOR, "0"); #if defined(_IRR_COMPILE_WITH_JOYSTICK_EVENTS_) diff --git a/lib/tiniergltf/Readme.md b/lib/tiniergltf/Readme.md index a8cc65c93..58873277e 100644 --- a/lib/tiniergltf/Readme.md +++ b/lib/tiniergltf/Readme.md @@ -6,7 +6,7 @@ What this is: * A tiny glTF deserializer which maps JSON objects to appropriate C++ structures. * Intended to be safe for loading untrusted input. -* Slightly tailored to the needs of [Minetest](https://github.com/minetest/minetest). +* Slightly tailored to the needs of Luanti What this doesn't and shouldn't do: diff --git a/misc/net.minetest.minetest.metainfo.xml b/misc/net.minetest.minetest.metainfo.xml index 9e7d927f1..5ab3d6817 100644 --- a/misc/net.minetest.minetest.metainfo.xml +++ b/misc/net.minetest.minetest.metainfo.xml @@ -131,14 +131,14 @@ roleplaying - https://www.minetest.net - https://www.minetest.net/get-involved/#reporting-issues - https://dev.minetest.net/Translation - https://www.minetest.net/get-involved/#donate + https://www.luanti.org + https://www.luanti.org/get-involved/#reporting-issues + https://dev.luanti.org/Translation/ + https://www.luanti.org/get-involved/#donate https://wiki.luanti.org/FAQ https://wiki.luanti.org - https://github.com/minetest/minetest - https://www.minetest.net/get-involved + https://github.com/luanti-org/luanti + https://www.luanti.org/get-involved luanti diff --git a/src/client/particles.cpp b/src/client/particles.cpp index 693e5f00c..bcb3cf207 100644 --- a/src/client/particles.cpp +++ b/src/client/particles.cpp @@ -392,7 +392,7 @@ void ParticleSpawner::spawnParticle(ClientEnvironment *env, float radius, } case ParticleParamTypes::AttractorKind::line: { - // https://github.com/minetest/minetest/issues/11505#issuecomment-915612700 + // const auto& lorigin = attractor_origin; v3f ldir = attractor_direction; ldir.normalize(); @@ -408,7 +408,7 @@ void ParticleSpawner::spawnParticle(ClientEnvironment *env, float radius, } case ParticleParamTypes::AttractorKind::plane: { - // https://github.com/minetest/minetest/issues/11505#issuecomment-915612700 + // const v3f& porigin = attractor_origin; v3f normal = attractor_direction; normal.normalize(); diff --git a/src/database/database-redis.cpp b/src/database/database-redis.cpp index 5699f0b31..77c89cec8 100644 --- a/src/database/database-redis.cpp +++ b/src/database/database-redis.cpp @@ -20,7 +20,7 @@ /* * Redis is not a good fit for Minetest and only still supported for legacy as * well as advanced use case reasons, see: - * + * * * Do NOT extend this backend with any new functionality. */ diff --git a/src/defaultsettings.cpp b/src/defaultsettings.cpp index d9e1356fd..261fb8fb3 100644 --- a/src/defaultsettings.cpp +++ b/src/defaultsettings.cpp @@ -148,7 +148,7 @@ void set_default_settings() settings->setDefault("keymap_minimap", "KEY_KEY_V"); settings->setDefault("keymap_console", "KEY_F10"); - // See https://github.com/minetest/minetest/issues/12792 + // see settings->setDefault("keymap_rangeselect", has_touch ? "KEY_KEY_R" : ""); settings->setDefault("keymap_freemove", "KEY_KEY_K"); diff --git a/src/main.cpp b/src/main.cpp index de407a932..d93803306 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -51,8 +51,8 @@ extern "C" { #endif #if defined(__MINGW32__) && !defined(__clang__) -// see https://github.com/minetest/minetest/issues/14140 or -// https://github.com/minetest/minetest/issues/10137 for one of the various issues we had +// see or +// for some of the issues we had #error ================================== #error MinGW gcc has a broken TLS implementation and is not supported for building \ Luanti. Look at testTLS() in test_threading.cpp and see for yourself. \ diff --git a/src/unittest/test_mapblock.cpp b/src/unittest/test_mapblock.cpp index 7f3f860b4..e4071efd5 100644 --- a/src/unittest/test_mapblock.cpp +++ b/src/unittest/test_mapblock.cpp @@ -325,7 +325,7 @@ void TestMapBlock::testLoadNonStd(IGameDef *gamedef) * 2176 IDs (but only the first 128 could use the full range of param2), and * finally 16-bit like today. * The content_width field in MapBlocks was used around that time during the - * transition to 16-bit: + * transition to 16-bit: * A content_width of 1 would normally never appear with a version > 24, but * it is in fact perfectly possible to serialize a block in todays format with * shortened IDs. diff --git a/src/unittest/test_threading.cpp b/src/unittest/test_threading.cpp index 0eb9bb7df..77842964b 100644 --- a/src/unittest/test_threading.cpp +++ b/src/unittest/test_threading.cpp @@ -204,10 +204,10 @@ private: which affected only 32-bit MinGW. It was caused by incorrect calling convention and fixed in GCC in 2020. - Occurrences in Minetest: - * (2020) - * (2022) - * (2023) + Occurrences in Luanti: + * (2020) + * (2022) + * (2023) */ void TestThreading::testTLS() { diff --git a/util/buildbot/common.sh b/util/buildbot/common.sh index ff3aef2e9..e92e08ab8 100644 --- a/util/buildbot/common.sh +++ b/util/buildbot/common.sh @@ -1,4 +1,4 @@ -CORE_GIT=https://github.com/minetest/minetest +CORE_GIT=https://github.com/luanti-org/luanti CORE_BRANCH=master CORE_NAME=minetest diff --git a/util/gather_git_credits.py b/util/gather_git_credits.py index d531f81cb..513a406cd 100755 --- a/util/gather_git_credits.py +++ b/util/gather_git_credits.py @@ -14,7 +14,7 @@ CUTOFF_ACTIVE = 3 CUTOFF_PREVIOUS = 21 # For a description of the points system see: -# https://github.com/minetest/minetest/pull/9593#issue-398677198 +# def load(revs): points = defaultdict(int)