Minetest logo

IRC log for #minetest-dev, 2019-12-11

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

All times shown according to UTC.

Time Nick Message
00:10 ssieb joined #minetest-dev
00:15 nornagon joined #minetest-dev
00:26 nornagon joined #minetest-dev
00:40 BrunoMine joined #minetest-dev
02:16 nephele joined #minetest-dev
04:42 NoctisLabs joined #minetest-dev
04:49 erlehmann joined #minetest-dev
06:44 Kimapr_ joined #minetest-dev
06:45 Kimapr joined #minetest-dev
07:35 pyrollo joined #minetest-dev
08:39 ShadowNinja joined #minetest-dev
08:50 T4im joined #minetest-dev
09:03 proller joined #minetest-dev
11:23 Icedream joined #minetest-dev
11:30 proller joined #minetest-dev
11:31 Fixer joined #minetest-dev
11:55 erlehmann_ joined #minetest-dev
13:30 CrazyDave joined #minetest-dev
14:10 CrazyDave joined #minetest-dev
14:10 CrazyDave left #minetest-dev
14:20 realz joined #minetest-dev
14:26 Kimapr_ joined #minetest-dev
14:27 Kimapr_ joined #minetest-dev
14:27 Kimapr__ joined #minetest-dev
14:29 Kimapr joined #minetest-dev
16:17 erlehmann joined #minetest-dev
17:10 HDMI_STECKDOSE joined #minetest-dev
17:10 tomraceror joined #minetest-dev
17:10 nobody joined #minetest-dev
17:25 proller joined #minetest-dev
17:36 Krock joined #minetest-dev
18:06 nobody joined #minetest-dev
18:18 ensonic joined #minetest-dev
18:27 erlehmann_ joined #minetest-dev
18:55 TC01 joined #minetest-dev
19:06 fluxflux joined #minetest-dev
19:14 Krock YES fixed it
19:15 Krock colors will now also work on labels
19:26 nobody left #minetest-dev
19:39 Krock #9187
19:39 ShadowBot https://github.com/minetest/minetest/issues/9187 -- StaticText/EnrichedString: Styling support by SmallJoker
19:40 Krock +/- perfectly balanced. Not intended but that's fine, I think.
19:48 rubenwardy we need actual formspec unit tests, argh
19:50 rubenwardy wip thing I closed: #8615
19:50 ShadowBot https://github.com/minetest/minetest/issues/8615 -- Add formspec rendering automated testing by rubenwardy
19:50 ssieb joined #minetest-dev
19:55 rubenwardy not sure what the best approach would be, the above is basically a fancy hack
19:58 Krock a tab for each formspec element
19:58 Krock inside, various combinations of its parameters
19:58 rubenwardy there's no comparison of expected vs actual, and there's no automation to make checking easy
19:58 Krock and a "meta" formspec element (like checkbox) to control styling
19:59 Krock after it's done there could be screenshots saved until an automated solution has been found
19:59 rubenwardy the approach in the above PR is to render a bunch of different formspecs to screenshots
19:59 rubenwardy using a fake mainmenu
19:59 rubenwardy and then it would output all the screenshots to a directory
19:59 rubenwardy and then compare those screenshots against accepted screenshots
19:59 rubenwardy outputting and differences to a results dir
20:00 rubenwardy the person would then check the differences, and run a script to commit them if they're correct
20:01 rubenwardy in CI, it would use a virtual X server and simply list any tests that have changed
20:03 rubenwardy Do you think using the mainmenu code to save screenshots is an acceptable hack?
20:03 rubenwardy I could make a different formspec environment
20:04 rubenwardy that could be cleaner
20:12 rubenwardy I've decided that making a new formspec environment would be a lot cleaner
20:13 rubenwardy also, super easy PR to review: #9184
20:13 ShadowBot https://github.com/minetest/minetest/issues/9184 -- Add Lua builtin unit tests by rubenwardy
20:16 Krock well yes, it's not clean and a different env would be way better
20:16 Krock if there's limited time or uncertain design concepts I'd use the mainmenu code to check how well it works
20:19 Krock how does the tests/*.lua thing work? Does "busted" parse all files it can find?
20:19 Krock or is "tests" a default path?
20:19 rubenwardy busted searches for *_spec.lua
20:19 rubenwardy https://olivinelabs.com/busted/
20:21 Krock hmm okay, thanks.
20:24 Krock some lines are >90 characters. breaking it would make the code harder to read...
20:57 H4mlet joined #minetest-dev
21:05 ensonic joined #minetest-dev
21:10 proller joined #minetest-dev
21:23 rubenwardy yay!
21:23 rubenwardy I have a formspec rendering in standalone, not in the menu or game
22:06 rubenwardy #9188
22:06 ShadowBot https://github.com/minetest/minetest/issues/9188 -- Add standalone formspec renderer by rubenwardy
22:07 ssieb joined #minetest-dev
22:15 Sokomine joined #minetest-dev
22:31 p_gimeno nice
22:44 thrym_ joined #minetest-dev
23:24 rubenwardy #9189
23:24 ShadowBot https://github.com/minetest/minetest/issues/9189 -- WIP: Add formspec renderering tests by rubenwardy
23:29 nornagon joined #minetest-dev

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