Luanti logo

IRC log for #minetest, 2024-07-23

| Channels | #minetest index | Today | | Google Search | Plaintext

All times shown according to UTC.

Enable nick filtering
Time Nick Message
9 more elements. Show/hide.
03:37 Mantar What's up with minetest 5.9.0 both introducing the new "type" field for huds, and also spitting out deprecation warnings about not using it? Usually the warnings don't appear for a couple of releases
3 more elements. Show/hide.
04:01 Blockhead256 Mantar: I thought the idea was that the deprecation warning gets introduced as soon as something gets superceded like that, so that people actually have several releases to fix things
04:02 Blockhead256 like how the old true/false alpha options were replaced with a 3 string options and only several minor releases (major.minor.patch) did the default change and break stuff a bit
04:02 fluxionary joined #minetest
04:07 Mantar previously there was a grace period where it's listed as deprecated in the lua_api.txt but it didn't spit out a bunch of warnings in the console until a version or two had gone by
04:08 Blockhead256 well I don't see how that helps when you're supposed to update your mod anyway. Wouldn't you rather be warned early?
04:08 Blockhead256 I guess it's pretty annoying if you're trying to aim for backwards compatibility
04:08 Mantar I support several  different versions of MT, yeah
04:08 Blockhead256 well at least those on older versions won't see the warnings :)...
04:08 Mantar so the grace period was nice, I didn't have to add compatibility code paths until the old things was getting ready to actually go away
04:09 Mantar yeah, I prefer to silence all warnings if I can, because they can hide important stuff
04:09 Mantar it's just annoying that I have to deal with brand new 5.9.0 thing of renaming "hud_elem_type" to "type" immediately to do that, with no middle stage
04:10 Blockhead256 agreed, a clean log is like a clean bill of health on your mod
04:10 Mantar there's not a good way to check which one I need to use, either, except reading the version string
3 more elements. Show/hide.
04:42 BuckarooBanzai Mantar: you could check for the `hud_def_type_field` flag in the features
04:48 fluxionary joined #minetest
04:49 MTDiscord <warr1024> Because of the HUD type field change, I now have to add polyfills to all my mods/games to make sure that BOTH of them are always set now 😩
04:59 Mantar Thanks BB! (I guess I overlooked that in the humongous list of feature flags) That  should make it much easier to deal with
25 more elements. Show/hide.
13:10 MTDiscord <jordan4ibanez> Ahem
13:10 MTDiscord <jordan4ibanez> Amongst, ourselves
27 more elements. Show/hide.

| Channels | #minetest index | Today | | Google Search | Plaintext