aboutsummaryrefslogtreecommitdiff
path: root/util/bump_version.sh
Commit message (Collapse)AuthorAge
* Fix bump_version.sh & client_lua_api.mdLoic Blot2017-06-06
| | | | This modification was forgotten at release
* Upgrade Android build to Gradle build systemShadowNinja2016-04-28
| | | | | | The old Ant build system has been deprecated for a while and new development is focused on Gradle. I also removed a hardcoded string that lint caught and moved the patch files to a subdirectory. I left the JNI files in the root directory.
* Make Git version detection use VERSION_STRING instead of tagsShadowNinja2015-05-05
| | | | | | | | | | This fixes the problem where 0.4.12-dev versions were erroneously shown as 0.4.11-dev because the tag was added on a separate branch. It also fixes a similar issue when builders didn't fetch new tags when updating. This also removes the number-of-commits-since-tag field, since it's incompatible with this. Said field doesn't seem to be useful anyway if you have the commit hash.
* Add util/bump_version.shKahrl2014-12-30
treet, Fifth Floor, Boston, MA 02110-1301 USA. local function dialog_event_handler(self,event) if self.user_eventhandler == nil or self.user_eventhandler(event) == false then --close dialog on esc if event == "MenuQuit" then self:delete() return true end end end local dialog_metatable = { eventhandler = dialog_event_handler, get_formspec = function(self) if not self.hidden then return self.formspec(self.data) end end, handle_buttons = function(self,fields) if not self.hidden then return self.buttonhandler(self,fields) end end, handle_events = function(self,event) if not self.hidden then return self.eventhandler(self,event) end end, hide = function(self) self.hidden = true end, show = function(self) self.hidden = false end, delete = function(self) if self.parent ~= nil then self.parent:show() end ui.delete(self) end, set_parent = function(self,parent) self.parent = parent end } dialog_metatable.__index = dialog_metatable function dialog_create(name,get_formspec,buttonhandler,eventhandler) local self = {} self.name = name self.type = "toplevel" self.hidden = true self.data = {} self.formspec = get_formspec self.buttonhandler = buttonhandler self.user_eventhandler = eventhandler setmetatable(self,dialog_metatable) ui.add(self) return self end