aboutsummaryrefslogtreecommitdiff
path: root/builtin/mainmenu
AgeCommit message (Collapse)Author
2017-05-19Mainmenu: Fix issues while trying to enable all mods (#5770)SmallJoker
2017-05-17Builtin: Fix subgame mod selection (#5367)SmallJoker
2017-05-16CSM: Document forgotten functionsSmallJoker
2017-05-15Add option to use neither node highlighting nor outliningezhh
2017-05-10Menu: Fix starting a server if the server address is an empty string. (#5742)red-001
Minetest uses an empty string internal to signal that a server should be started.
2017-05-09Android: Fix crash while loading main menu (#5736)red-001
Broken by 43d1f37
2017-05-09Move Pilzadam to previous developers. (#5735)Auke Kok
2017-05-06Use a settings object for the main settingsShadowNinja
This unifies the settings APIs. This also unifies the sync and async registration APIs, since the async registration API did not support adding non-functions to the API table.
2017-05-05Save minetest screen width/height options when modified (#5683)Loïc Blot
* Save minetest screen width/height options when modified * Add autosave_screensize setting (default true) * Fix @SmallJoker comments
2017-04-19Conf.example: Move some lines to minetest.conf.example.extraparamat
Some information in conf.example cannot be generated from settingtypes.txt, moving it to a new file makes generating conf.example while preserving that information easier. Regenerate conf.example from settingtypes.txt.
2017-02-18Multiplayer menu: fix attempt to open nonexistant imagekilbith
Since local servers and local favorites have no ping value (these are only provided by the server) we shouldn't load a broken image filename. Fixes #5238
2017-02-12Mainmenu: Brighter text colours for readabilityHybrid Dog
2017-02-10Use tree to list mods rather than textlistrubenwardy
2017-02-03Serverlist: Add ping indicators (#5164)kilbith
2017-01-18Add search to advanced settings (#4806)rubenwardy
* Add search to advanced settings * Press enter again to go to next result * Use keyword based search, auto select best option
2017-01-16Adjust formspec spacing on the Client tab of the mainmenurubenwardy
2017-01-15Add keyword based search to serverlistred-001
2017-01-13Main menu tweaksShadowNinja
2017-01-07Make column alignment consistent in advanced settings (#5004)Ezhh
2016-12-22Final update to credits before releaseCraig Robbins
2016-12-12Mod dependency lists: Should have platform-independent line breakingBernardo Sulzbach
This fixes a bug existing in modmgr.lua as reported by @Wuzzy2 which caused the mod dependency list to glitch if input was using a line terminator different than the OS default. The C++ code does not need any changes as it already trims CR occurrences on platforms on which the line termination sequence is LF. Taken into account the size of the depends.txt files used, this should not introduce a noticeable performance regression. Fixes #4720
2016-12-12Setting limits: Fix message text in advanced settings tabRogier
It would complain that the value should be higher than the lower bound, when it should be higher than or equal to the lower bound. Similar issue for the upper bound.
2016-12-07Update credits (#4827)Zeno-
Update credits
2016-11-05Separate optional from required mod dependencies in main menu (#4721)Wuzzy
* Separate optional from require dep's in main menu * Simplify modmgr mod dependency listing code
2016-10-31Add version APIShadowNinja
2016-10-12Add a button for disabling all mods to world config. (#3900)red-001
2016-09-23Conf.example: Re-add deleted noise parameter documentationparamat
Re-add documentation of noise parameter formats. Re-add 'mgv5_np_ground' noise parameters in group format. Both these were deleted through auto-generation of conf.example. Add note to builtin/mainmenu/dlg_settings_advanced.lua that this documentation must be preserved.
2016-09-19Fix a typo and use proper deprecation notification systemest31
Fix a typo pointed out by @thecow275. Also, use the deprecated notification system which respects the deprecated_lua_api_handling setting.
2016-08-22Client: disable pre v25 init sending by defaultest31
Disable the ability to connect to old servers by default to improve password security. If people still want to connect to old (0.4.12 and earlier) servers, they can flip the send_pre_v25_init setting. Add the ability to detect if we've tried to connect to a server which only supports the pre v25 init protocol, and show an apropriate error message. Most times the error will already be catched at the serverlist level, the detection mechanism only acts as last resort, because the "Connection timed out" error message that would be shown otherwise would be very confusing. Automatic "fixing" of this condition is not desired, as it would allow for downgrade attacks. As already 161 of the 167 servers on the serverlist support the new srp based auth protocol (> 96%), the breakage should be minimal. Follow up of commit af30183124d40a969040d7de4b3a487feec466e4 "Add option to not send pre v25 init packet" Also change the pessimistic assumption of masterlist server versions to optimistic, in order to avoid buggy behaviour (favourites not in the serverlist would be denied to connect to, etc).
2016-08-20Tidy up generate_from_settingtypes.lua a bit.Tim
* Multiline strings * Table-concat instead of String-concats * string.rep instead of loop-concat * string.format %q instead of manual quotation by gsub * Assert writeable files * Generate new settings_translation_file
2016-08-20Move generation from settingtypes out of dlg_settings_advancedTim
Avoids unreachable code linter warning by moving generation code (of minetest.conf.example and settings_translation_file.cpp) out of dlg_settings_advanced. Due to passing the settings, also it avoids reading the settings file twice. Instead of activating the code by changing the active if-clauses, its activation is now done by uncommenting the loadfile() statement.
2016-07-27Main menu, lua_api.txt: Fix mod/texture pack screenshot size issuesWuzzy
Recommend mod screenshot size in lua_api.txt Adjust displayed screenshot size of texture packs Document texture pack files in lua_api.txt
2016-05-14Android: Re-add button to remove singleplayer worldest31
Fixes #4120.
2016-05-13Mainmenu: don't show change keys dialog on androidest31
The change keys dialog can't be left. It doesn't make much sense to show it on Android in the first place, therefore disable it, just like commit aed70cb0b652d6cb2272e7b94cd56671b3df6239 'Disable sound and key binding settings in "pause" menu on android' has disabled it for the esc menu. Fixes #4115.
2016-05-13Fix #4111 ("Provided world path doesn't exist" if choosing singleplayer on ↵Rui
first run") Bug and whitespace error fixed (Zeno)
2016-05-09Update credits tabest31
2016-05-01Mainmenu: Remove space under mod listRui
2016-04-28Android menu: Unified serverlistkilbith
2016-04-28Mainmenu: Standardize the menu button order and sizesSmallJoker
2016-04-22Fix mainmenu code downloading the public serverlist twice.Ekdohibs
Also, fix a nil error that can happen sometimes in menu_handle_key_up_down
2016-04-21Textures: Replace menu background fallback dirt_bg.png with empty sky textureparamat
2016-04-20Mainmenu: Code cleaningkilbith
2016-04-20Mainmenu: Unify favorite servers with main serverlistkilbith
2016-04-15Mainmenu: Still support favorites if send_pre_v25_init is disabledest31
@SmallJoker has noted a bug that servers from the (local) main menu favorites list can't be opened. This commit fixes the bug by disabling any main menu based protocol checks for servers from the favorite list. Also, it fixes a second bug that happens when a server from the public serverlist doesn't send its supported protocol versions, most likely because its running a minetest older than commit [1]. Then we have shown an error msg that the server has enforced one specific protocol version. This was most likely not the case. Of course, we can't do anything better than do an assumption on the protocol versions if they are not known. That assumption should however be closest to the most often occuring case as possible. Also, some little cleanups. [1]: 5a0ed780f56a5225b3d7c5f64099586e390e5f39 "Server: announce MIN/MAX protocol version supported to serverlist. Client: check serverlist"
2016-04-15mainmenu: Tidy up logic in is_server_protocol_compat() (#3997)SmallJoker
Apply de morgan to simplify the logic.
2016-04-08Mainmenu: Refactor tab UI codeRui914
- Use local variables for tabs in place of globals - Merge together if statements where possible - Replace manual table searching code with indexof where possible
2016-03-31Mainmenu: Move description.txt textbox downRui914
Additionally, fix misc. code style issues
2016-03-24Credits: Make that easy to add/removeRui
2016-03-15Add option to not send pre v25 init packetest31
The legacy init packet (pre v25) sends information about the client's password that a server could use to log in to other servers if the username and password are the same. All the other benefits of SRP of protocol v25 are missed if the legacy init packet is still sent during connection creation. This patch adds an option to not send the v25 init packet. Not sending the v25 packet means breaking compat with pre v25 servers, but as the option is not enabled by default, no servers are affected unless the user explicitly flips the switch. More than 90% of the servers on the serverlist support post v25 protocols. The patch also fixes a bug with greying out of non compliant servers being done wrongly, the min and max params were mixed.
2016-03-06Settings Tab: Regroup dropdown datas in tablesJean-Patrick Guerrero