From 9da82267dd3a9a6c152db5878161065f34894461 Mon Sep 17 00:00:00 2001 From: Durel Date: Tue, 24 Oct 2017 14:01:50 -0400 Subject: [PATCH] Version 2.0014 Updated changelog for this checkin --- aard_inventory.changelog | 39 +++++++++++++++++++++++++++++++++++++++ aard_inventory.xml | 13 ++++++++++--- 2 files changed, 49 insertions(+), 3 deletions(-) diff --git a/aard_inventory.changelog b/aard_inventory.changelog index a3c0671..3def113 100644 --- a/aard_inventory.changelog +++ b/aard_inventory.changelog @@ -2,6 +2,45 @@ dbot.changelog = {} +dbot.changelog[2.0014] = +{ + { change = drlDbotChangeLogTypeFix, + desc = +[[Fixed a race condition that could allow multiple threads to run the plugin + initialization code simultaneously]] + }, + { change = drlDbotChangeLogTypeFix, + desc = "Fixed a bug that allowed multiple automatic backups to execute simultaneously" + }, + { change = drlDbotChangeLogTypeFix, + desc = +[[Fixed search queries that compare something with a field that isn't present. + If a field is not present, we use a default value of 0 for that field.]] + }, + { change = drlDbotChangeLogTypeNew, + desc = +[[Added "eager" refresh mode to allow ASAP identification of newly acquired + items. The previous refresh "on" mode works the same as before.]] + + }, + { change = drlDbotChangeLogTypeMisc, + desc = +[[Optimized refresh code to skip notifications and checks in some cases where + there are no known unidentified items in your inventory]] + }, + { change = drlDbotChangeLogTypeMisc, + desc = "Increased default size of recent cache from 500 entries to 1000 entries" + }, + { change = drlDbotChangeLogTypeMisc, + desc = "Increased timeout when attempting to detect the prompt and invmon states" + }, + { change = drlDbotChangeLogTypeMisc, + desc = +[[Made the plugin less verbose. Some info notifications were downgraded to + notes and some notes were downgraded to debug messages.]] + } +} + dbot.changelog[2.0013] = { { change = drlDbotChangeLogTypeFix, diff --git a/aard_inventory.xml b/aard_inventory.xml index 8c74e57..7fb12c8 100644 --- a/aard_inventory.xml +++ b/aard_inventory.xml @@ -1667,24 +1667,31 @@ function inv.cli.refresh.fn(name, line, wildcards) if (command == "off") then retval = inv.items.refreshOff() - dbot.note("Automatic inventory refresh is disabled: run \"@G" .. pluginNameCmd .. + dbot.info("Automatic inventory refresh is disabled: run \"@G" .. pluginNameCmd .. " refresh on@W\" to re-enable it") inv.tags.stop(invTagsRefresh, line, retval) elseif (command == "on") then retval = inv.items.refreshOn(refreshPeriod, 0) - dbot.note("Inventory refresh is enabled") + dbot.info("Inventory refresh is enabled") inv.tags.stop(invTagsRefresh, line, retval) elseif (command == "eager") then retval = inv.items.refreshOn(refreshPeriod, inv.items.timer.refreshEagerSec or 0) - dbot.note("Inventory refresh is enabled and uses eager refreshes after acquiring items") + dbot.info("Inventory refresh is enabled and uses eager refreshes after acquiring items") inv.tags.stop(invTagsRefresh, line, retval) elseif (command == "") or (command == "all") then if (inv.state == invStatePaused) then inv.state = invStateIdle end -- if + + if (command == "") then + dbot.info("Inventory refresh started") + else + dbot.info("Inventory refresh full scan started") + end -- if + local retval = inv.items.refresh(0, refreshLoc, line, nil) if (retval == DRL_RET_HALTED) then dbot.note("Run \"" .. pluginNameCmd .. " refresh on\" to re-enable automatic inventory refreshes")