aboutsummaryrefslogtreecommitdiff
path: root/builtin/mainmenu
Commit message (Collapse)AuthorAge
* Conf.example: Re-add deleted noise parameter documentationparamat2016-09-23
| | | | | | | | 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.
* Fix a typo and use proper deprecation notification systemest312016-09-19
| | | | | | | Fix a typo pointed out by @thecow275. Also, use the deprecated notification system which respects the deprecated_lua_api_handling setting.
* Client: disable pre v25 init sending by defaultest312016-08-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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).
* Tidy up generate_from_settingtypes.lua a bit.Tim2016-08-20
| | | | | | | | | * 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
* Move generation from settingtypes out of dlg_settings_advancedTim2016-08-20
| | | | | | | | | | | 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.
* Main menu, lua_api.txt: Fix mod/texture pack screenshot size issuesWuzzy2016-07-27
| | | | | | Recommend mod screenshot size in lua_api.txt Adjust displayed screenshot size of texture packs Document texture pack files in lua_api.txt
* Android: Re-add button to remove singleplayer worldest312016-05-14
| | | | Fixes #4120.
* Mainmenu: don't show change keys dialog on androidest312016-05-13
| | | | | | | | | | | | 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.
* Fix #4111 ("Provided world path doesn't exist" if choosing singleplayer on ↵Rui2016-05-13
| | | | | | first run") Bug and whitespace error fixed (Zeno)
* Update credits tabest312016-05-09
|
* Mainmenu: Remove space under mod listRui2016-05-01
|
* Android menu: Unified serverlistkilbith2016-04-28
|
* Mainmenu: Standardize the menu button order and sizesSmallJoker2016-04-28
|
* Fix mainmenu code downloading the public serverlist twice.Ekdohibs2016-04-22
| | | | | Also, fix a nil error that can happen sometimes in menu_handle_key_up_down
* Textures: Replace menu background fallback dirt_bg.png with empty sky textureparamat2016-04-21
|
* Mainmenu: Code cleaningkilbith2016-04-20
|
* Mainmenu: Unify favorite servers with main serverlistkilbith2016-04-20
|
* Mainmenu: Still support favorites if send_pre_v25_init is disabledest312016-04-15
| | | | | | | | | | | | | | | | | | | | | | | @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"
* mainmenu: Tidy up logic in is_server_protocol_compat() (#3997)SmallJoker2016-04-15
| | | Apply de morgan to simplify the logic.
* Mainmenu: Refactor tab UI codeRui9142016-04-08
| | | | | | - Use local variables for tabs in place of globals - Merge together if statements where possible - Replace manual table searching code with indexof where possible
* Mainmenu: Move description.txt textbox downRui9142016-03-31
| | | | Additionally, fix misc. code style issues
* Credits: Make that easy to add/removeRui2016-03-24
|
* Add option to not send pre v25 init packetest312016-03-15
| | | | | | | | | | | | | | | | | 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.
* Settings Tab: Regroup dropdown datas in tablesJean-Patrick Guerrero2016-03-06
|
* Faster insertion into tableRui9142016-03-06
|
* Update settings tab + some misc. clean-upJean-Patrick Guerrero2016-03-05
|
* Don't generate trailing spaces in minetest.conf.exampleest312016-02-27
| | | | | If the default value of a setting was empty, it previously generated a trailing space.
* Restore simple settings tab and add advanced settings as dialogBlockMen2016-02-21
|
* Fix world config menu ignoring `name` in `mod.conf`.Diego Martinez2016-01-23
|
* Fix error message in settings tab overlapping 'save' buttonRogier2016-01-16
| | | | | | | | | | The save button is now fully functional again when an error message is shown. After an invalid value is entered in the settings tab dialog, the GUI label for the error message that is shown was partly overlapping the 'save' button, so that the top half of the button could not be clicked on.
* Fix the checking of flags values in the settings tabRogier2016-01-10
| | | | | | | | | | | | Changes: - Accept setting an empty flags-type value in the settings tab if the variable specification permits it - Don't accept substrings of flag values E.g. with values: 'one,two,three', 'hree', 'w', etc. used to be accepted. Not any more - Don't accept flags with random pattern-matching special characters E.g. with values: 'one,two,three', 'on.', '(o)[n]e*' etc. used to be accepted. Not any more.
* Improve parsing of setting types from settingtypes.txt for settings tabRogier2016-01-10
| | | | | | - Accept numbers prefixed with '+' - Accept multiple spaces instead of just a single one where spaces are expected - Allow flags to have an empty default value
* Alphabetical sorting of texture packs in menu (fixes #3487)jeanpatrick.guerrero@gmail.com2015-12-26
|
* Settings tab: add v3f typeest312015-11-08
| | | | | Add the v3f type, currently is just a nice placeholder for string. Currently undocumented, on wish of @PilzAdam, to support future changes.
* minetest. to core.Rui9142015-10-31
|
* Fix parameter passing to gettext callPilzAdam2015-10-25
|
* Credits: Remove my nameRui2015-10-25
|
* Escape " in generated settings_translation_file.cppPilzAdam2015-10-25
|
* Fix setting commentsPilzAdam2015-10-24
|
* Don't allow games or mods to add secure. settingsPilzAdam2015-10-24
|
* Better gettext support for protocol version mismatch messagesest312015-10-24
| | | | | Previously, xgettext failed to resolve the dynamic call. Thanks to @JakubVanek for pointing this out.
* Improve Lua settings menuPilzAdam2015-10-24
| | | | | | | | | | | | * Add key settings to setting table and ignore them later This way they are added to the auto-generated minetest.conf.example * Add flags type * Add input validation for int, float and flags * Break in-game graphic settings into multiple sections * Parse settingtpes.txt in mods and games * Improve description for a lot of settings * Fix typos and wording in settingtypes.txt * Convert language setting to an enum
* Display sane output for empty descriptionsest312015-10-18
| | | | | | | | | | According to its man page, the function gettext(3) "may return a nonempty string" when msgid is "". This commit fixes a bug where the comment "" for some settings caused gettext to return a "nonempty string", in this case header info of the po file.
* New settings tab contain all possible settingsPilzAdam2015-10-17
| | | | | Settings are automatically parsed from builtin/settingtypes.txt The edit dialog automatically adjust based on the type of setting
* Add viewing range GUI settingkilbith2015-10-06
|
* Minor tweaks handle_settings_buttonsRui9142015-09-14
|
* Change my emailRui9142015-09-03
|
* Credits tab: fix accidental merger of two contributorsest312015-08-31
| | | | Fixes #3125
* Use gettext to "None" of texture pack listRui9142015-08-25
|
* Remove some emails from credits tabkwolekr2015-08-19
|