aboutsummaryrefslogtreecommitdiff
path: root/src/guiFileSelectMenu.cpp
AgeCommit message (Collapse)Author
2017-06-11Improve the path select GUI (#5852)red-001
- Allow lua to chose whatever directories or files can be selected - Fix selecting directories - Rename dialog to `guiPathSelectMenu` from `guiFileSelectMenu` - Rename lua function for opening the menu from `show_file_open_dialog` to `show_path_select_dialog` - Remove duplicate code and fix code style. Related changes - fix `clang-format` whitelist. - Regenerate minetest.conf.example
2017-04-22Fixing warning pointed by @sfan5 and clang and cleanup guiFileSelectMenuLoic Blot
* Also pass clang-format on guiFileSelectMenu.h and remove it from whitelist
2017-04-21Fix various performance issues reported by cppcheck + code style (CI) (#5635)Loïc Blot
* Make CI happy with code style on master * guiFileSelectMenu: remove useless includes * some performance fixes pointed by cppcheck * remove some useless casts * TextDest: remove unused setFormSpec function
2016-05-01FileSelectMenu: Fix formspec parsing broken by Irrlicht file-chooserKahrl
2015-07-08Use UTF-8 instead of narrowest31
Use wide_to_utf8 and utf8_to_wide instead of wide_to_narrow and narrow_to_wide at almost all places. Only exceptions: test functions for narrow conversion, and chat, which is done in a separate commit.
2015-05-19Replace instances of std::map<std::string, std::string> with StringMapkwolekr
Also, clean up surrounding code style Replace by-value parameter passing with const refs when possible Fix post-increment of iterators
2013-11-11Fix win32/msvc i18n (quite UGLY version, blame Microsoft)sapier
2013-08-16Remove debug outputPilzAdam
2013-07-02Replace C++ mainmenu by formspec powered onesapier