diff --git a/.github/ISSUE_TEMPLATE/bug_report.yaml b/.github/ISSUE_TEMPLATE/bug_report.yaml new file mode 100644 index 0000000..b3d2bf0 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yaml @@ -0,0 +1,68 @@ +name: Bug Report +description: File a bug report +title: "🐛 " +labels: ["🐛 Bug"] +body: + - type: checkboxes + attributes: + label: Is there an existing issue for this? + description: Please [search for existing issues](https://github.com/Limmek/Shitlist/issues) to see if an open or closed one already exists for the bug you encountered. If a bug exists and it is closed you can create a new bug report. + options: + - label: I have searched the existing open and closed issues. + required: true + + - type: textarea + attributes: + label: Description + description: What did you expect to happen and what happened instead? + validations: + required: true + + - type: dropdown + id: flavor + attributes: + label: World of Warcraft Flavor + description: What version of World of Warcraft are are you running? + options: + - Retail (Default) + - Classic + - Wrath of the Lich King Classic + validations: + required: true + + - type: checkboxes + id: testing + attributes: + label: Tested with only Shitlist + description: Did you try having Shitlist as the only enabled addon and everything else disabled? + options: + - label: "Yes" + required: true + + - type: textarea + attributes: + label: Lua Error + description: | + Do you have an error log of what happened? If you don't see any errors, make sure that error reporting is enabled (`/console scriptErrors 1`) or install [BugSack](https://www.curseforge.com/wow/addons/bugsack) & [BugGrabber](https://www.curseforge.com/wow/addons/bug-grabber), yes both are needed. + render: Text + validations: + required: false + + - type: textarea + attributes: + label: Reproduction Steps + description: Please list out the steps to reproduce your bug. Please verify that your reproduction steps are enough to reproduce the problem. + placeholder: | + 1. Go to '...' + 2. Click on '....' + 3. See error + validations: + required: true + + - type: textarea + attributes: + label: Screenshots + description: If applicable, add screenshots to help explain your problem. + placeholder: Click here to attach your screenshots via the editor button in the top right. + validations: + required: false diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 0000000..3ba13e0 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1 @@ +blank_issues_enabled: false diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..13d858b --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,9 @@ +version: 2 +updates: +- package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "weekly" + open-pull-requests-limit: 10 + assignees: + - Limmek diff --git a/.github/issue-rules.yml b/.github/issue-rules.yml new file mode 100644 index 0000000..3305cd6 --- /dev/null +++ b/.github/issue-rules.yml @@ -0,0 +1,6 @@ +nomatches: +- contains: "Which version of WeakAuras are you using?" # Checks the entire issue for a substring match. + addLabels: ["\U0001F41B Bug"] + +- contains: "Is your feature request related to a problem? Please describe." + addLabels: ["\U0001F3A8 Feature Request"] diff --git a/.github/workflows/release.yml b/.github/workflows/build.yml similarity index 83% rename from .github/workflows/release.yml rename to .github/workflows/build.yml index 10c3de5..014c970 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/build.yml @@ -7,7 +7,8 @@ on: - "**" jobs: - release: + run: + name: Package and release runs-on: ubuntu-latest env: @@ -23,4 +24,4 @@ jobs: - name: Package and release uses: BigWigsMods/packager@v2 with: - args: -S -w 0 -a 0 -p 0 -m .pkgmeta -d + args: -p 344967 -w 0 -a 0 -m .pkgmeta diff --git a/.github/workflows/interface-version.yml b/.github/workflows/interface-version.yml new file mode 100644 index 0000000..d3f5a90 --- /dev/null +++ b/.github/workflows/interface-version.yml @@ -0,0 +1,42 @@ +name: Update TOC Interface version(s) + +on: + workflow_dispatch: + workflow_run: + workflows: ['Luacheck'] + types: + - completed + #schedule: + #- cron: "0 * * * *" + +jobs: + run: + name: TOCcheck + runs-on: ubuntu-latest + steps: + - name: Clone project + uses: actions/checkout@v3 + + - name: Checking Vanilla + uses: p3lim/toc-interface-updater@v3 + with: + flavor: classic_era + future: false + + - name: Checking Wrath + uses: p3lim/toc-interface-updater@v3 + with: + flavor: classic + future: false + + - name: Checking Retail + uses: p3lim/toc-interface-updater@v3 + with: + flavor: retail + future: false + + - name: Commit changes + uses: EndBug/add-and-commit@v9 + with: + message: 'Update TOC interface version(s)' + add: '.' diff --git a/.github/workflows/issues.yml b/.github/workflows/issues.yml new file mode 100644 index 0000000..ea05c0f --- /dev/null +++ b/.github/workflows/issues.yml @@ -0,0 +1,18 @@ +name: Issue Template Check + +on: + issues: + types: [opened, edited] + +jobs: + auto_close_issues: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + + - name: "Automatically close issues that don't follow the issue template" + uses: damccorm/tag-ur-it@master + with: + repo-token: "${{ secrets.GITHUB_TOKEN }}" + configuration-path: "./.github/issue-rules.yml" diff --git a/.github/workflows/formating.yml b/.github/workflows/luacheck.yml similarity index 63% rename from .github/workflows/formating.yml rename to .github/workflows/luacheck.yml index 36cc68f..ae74b25 100644 --- a/.github/workflows/formating.yml +++ b/.github/workflows/luacheck.yml @@ -1,15 +1,15 @@ -name: Check formating +name: Luacheck on: workflow_dispatch: pull_request: - -defaults: - run: - working-directory: ./Shitlist + push: + branches: + - master jobs: - luacheck: + run: + name: Luacheck runs-on: ubuntu-latest steps: - name: Clone project @@ -21,4 +21,8 @@ jobs: uses: nebularg/actions-luacheck@v1 with: args: "--no-color -q" - config: https://raw.githubusercontent.com/Limmek/Shitlist/master/.luacheckrc + + - name: wow-lint + uses: davidcraig/action-wow-lint@v1.0.1 + with: + path-to-files: '*.lua' diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml deleted file mode 100644 index 95cc910..0000000 --- a/.github/workflows/update.yml +++ /dev/null @@ -1,29 +0,0 @@ -name: Update Interface version(s) - -on: - workflow_dispatch: - schedule: - - cron: "0 * * * *" - -defaults: - run: - working-directory: ./Shitlist - -jobs: - run: - runs-on: ubuntu-latest - steps: - - name: Clone project - uses: actions/checkout@v3 - - - name: Update TOC Interface version - uses: p3lim/toc-interface-updater@v2 - - - name: Create pull request - uses: peter-evans/create-pull-request@v4 - with: - token: ${{ secrets.GITHUB_TOKEN }} - title: Update Interface version - branch: bump-version - delete-branch: true - assignees: Limmek diff --git a/.gitignore b/.gitignore index e9aa6bc..0b4ea5b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,16 @@ +.vscode/* +!.vscode/settings.json +!.vscode/tasks.json +!.vscode/launch.json +!.vscode/extensions.json +!.vscode/*.code-snippets + +# Local History for Visual Studio Code +.history/ + +# Built Visual Studio Code Extensions +*.vsix + # Compiled Lua sources luac.out @@ -39,18 +52,9 @@ luac.out *.x86_64 *.hex -X VSCode -.vscode/* -!.vscode/settings.json -!.vscode/tasks.json -!.vscode/launch.json -!.vscode/extensions.json -!.vscode/*.code-snippets - -# Local History for Visual Studio Code -.history/ - -# Built Visual Studio Code Extensions -*.vsix +# Build Files +*.bat -*.code-workspace +# Addon dependencies +Libs/* +!Libs/libs.txt diff --git a/.luacheckrc b/.luacheckrc index c0b3424..c3997b2 100644 --- a/.luacheckrc +++ b/.luacheckrc @@ -1,31 +1,402 @@ -globals = { - "_G", - "Shitlist", - "ShitlistDB", - "ShitlistSettings", - "GameTooltip", +std = "lua51" +-- self = false +-- unused_args = false +max_line_length = false +-- max_code_line_length = false +-- max_string_line_length = false +-- max_comment_line_length = false + +-- include_files = { +-- "Shitlist.lua", +-- "ShitlistConfig.lua", +-- "ShitlistUtils.lua", +-- "Locales/*.lua" +-- } + +exclude_files = { + "libs/", + ".luacheckrc" } -max_line_length = 2823 -- fixme + ignore = { - "11./SLASH_.*", -- Setting an undefined (Slash handler) global variable - "11./BINDING_.*", -- Setting an undefined (Keybinding header) global variable - "113/LE_.*", -- Accessing an undefined (Lua ENUM type) global variable - "113/NUM_LE_.*", -- Accessing an undefined (Lua ENUM type) global variable - "211", -- Unused local variable - "211/L", -- Unused local variable "CL" - "211/CL", -- Unused local variable "CL" - "212", -- Unused argument - "213", -- Unused loop variable - -- "231", -- Set but never accessed - "311", -- Value assigned to a local variable is unused - "314", -- Value of a field in a table literal is unused - "42.", -- Shadowing a local variable, an argument, a loop variable. - "43.", -- Shadowing an upvalue, an upvalue argument, an upvalue loop variable. - "542", -- An empty if branch - "611", -- A line consists of nothing but whitespace. - "612", -- A line contains trailing whitespace. - "613", -- Trailing whitespace in a string. - "614", -- Trailing whitespace in a comment. + "111", -- Setting an undefined global variable. + "112", -- Mutating an undefined global variable. + "113", -- Accessing an undefined global variable. + "211", -- Unused local variable + "212", -- Unused argument + "213", -- Unused loop variable + "311", -- Value assigned to a local variable is unused + "432", -- Shadowing an upvalue argument + "512", -- Loop is executed at most once + "542", -- empty if branch +} + +globals = { + "Shitlist" +} + +read_globals = { + "bit", + "math", + "ceil", "floor", + "abs", "mod", "max", + "sin", "cos", "tan", + "hooksecurefunc", + "table", "tinsert", "tContains", "tAppendAll", "tDeleteItem", "wipe", "MergeTable", + "string", "tostringall", "strtrim", "strmatch", "strjoin", "strsplit", "strlower", + "time", + + -- our own globals + + -- misc custom, third party libraries + "LibStub", "tekDebug", + "AceGUIWidgetLSMlists", + "ChatThrottleLib", + "GetAuctionBuyout", + "TomTom", + "DBM", + + -- API functions + "C_AreaPoiInfo", + "C_Calendar", + "C_ChatInfo", + "C_Covenants", + "C_CovenantSanctumUI", + "C_CurrencyInfo", + "C_DateAndTime", + "C_GamePad", + "C_Garrison", + "C_Item", + "C_MajorFactions", + "C_Map", + "C_Minimap", + "C_MountJournal", + "C_NamePlate", + "C_PetJournal", + "C_QuestLog", + "C_Spell", + "C_SuperTrack", + "C_TaskQuest", + "C_Texture", + "C_Timer", + "C_TooltipInfo", + "C_ToyBox", + "C_Transmog", + "C_TransmogCollection", + "C_UnitAuras", + "C_VignetteInfo", + "TransmogUtil", + "UiMapPoint", + "Debug", + "Enum", + "BankButtonIDToInvSlotID", + "ContainerIDToInventoryID", + "ReagentBankButtonIDToInvSlotID", + "Ambiguate", + "CombatLogGetCurrentEventInfo", + "CreateColor", + "CreateColorFromBytes", + "CreateMacro", + "CursorHasItem", + "DeleteCursorItem", + "EditMacro", + "EnumerateServerChannels", + "FlashClientIcon", + "GetAddOnInfo", + "GetAddOnMetadata", + "GetAchievementCriteriaInfo", + "GetAchievementCriteriaInfoByID", + "GetAchievementInfo", + "GetAchievementLink", + "GetAchievementNumCriteria", + "GetAuctionItemSubClasses", + "GetBuildInfo", + "GetBackpackAutosortDisabled", + "GetBagSlotFlag", + "GetBankAutosortDisabled", + "GetBankBagSlotFlag", + "GetChannelName", + "GetContainerNumFreeSlots", + "GetContainerNumSlots", + "GetContainerItemID", + "GetContainerItemInfo", + "GetContainerItemLink", + "GetCurrentGuildBankTab", + "GetCurrentMapAreaID", + "GetCursorInfo", + "GetCVar", + "GetFactionInfoByID", + "GetGuildBankItemInfo", + "GetGuildBankItemLink", + "GetGuildBankTabInfo", + "GetGuildBankNumSlots", + "GetInventoryItemLink", + "GetItemClassInfo", + "GetItemCount", + "GetItemFamily", + "GetItemInfo", + "GetItemInfoInstant", + "GetItemQualityColor", + "GetItemSpecInfo", + "GetLocale", + "GetMacroIndexByName", + "GetNumGroupMembers", + "GetNumMacros", + "GetRealmName", + "GetPlayerAuraBySpellID", + "GetPlayerFacing", + "GetRaidTargetIndex", + "GetScreenHeight", + "GetScreenWidth", + "GetSpellInfo", + "GetTime", + "GetZoneText", + "InCinematic", + "InCombatLockdown", + "IsAddOnLoaded", + "IsAltKeyDown", + "IsControlKeyDown", + "IsCosmeticItem", + "IsInCinematicScene", + "IsInGroup", + "IsInGuild", + "IsInInstance", + "IsInRaid", + "IsModifiedClick", + "IsModifierKeyDown", + "IsReagentBankUnlocked", + "IsShiftKeyDown", + "IsSpellKnown", + "LoadAddOn", + "MouseIsOver", + "OpenWorldMap", + "PlaySound", + "PlaySoundFile", + "PlayerHasToy", + "PickupContainerItem", + "PickupGuildBankItem", + "QueryGuildBankTab", + "SendChatMessage", + "SetCVar", + "SetMapByID", + "SetMapToCurrentZone", + "SetRaidTarget", + "SetRaidTargetIconTexture", + "SplitContainerItem", + "SplitGuildBankItem", + "StopSound", + "UnitClass", + "UnitClassification", + "UnitCreatureType", + "UnitExists", + "UnitFactionGroup", + "UnitFullName", + "UnitGUID", + "UnitHealth", + "UnitHealthMax", + "UnitInRange", + "UnitIsAFK", + "UnitIsDead", + "UnitIsGroupLeader", + "UnitIsPlayer", + "UnitIsVisible", + "UnitLevel", + "UnitName", + "UnitOnTaxi", + "UnitPlayerControlled", + "UseContainerItem", + + -- FrameXML frames + "BankFrame", + "MerchantFrame", + "GameTooltip", + "UIParent", + "WorldFrame", + "Minimap", + "WorldMapFrame", + "MountJournal", + "DEFAULT_CHAT_FRAME", + "GameFontHighlightSmall", + + -- FrameXML API + "ChatEdit_InsertLink", + "ChatFrame_OpenChat", + "CopyTable", + "CreateAtlasMarkup", + "CreateTextureMarkup", + "CreateFrame", + "CreateFramePool", + "CreateObjectPool", + "CreateFromMixins", + "CreateAndInitFromMixin", + "Mixin", + "Item", + "ContinuableContainer", + "InterfaceOptionsFrame_OpenToCategory", + "CloseDropDownMenus", + "ToggleDropDownMenu", + "UIDropDownMenu_AddButton", + "UIDropDownMenu_CreateInfo", + "UISpecialFrames", + "ScrollingEdit_OnCursorChanged", + "ScrollingEdit_OnUpdate", + "GameTooltip_Hide", + "GameTooltip_OnLoad", + "GameTooltip_OnTooltipSetItem", + "GameTooltip_OnTooltipSetSpell", + "GameTooltip_OnTooltipSetUnit", + "GameTooltip_OnTooltipSetShoppingItem", + "GameTooltip_OnUpdate", + "GameTooltip_SetTitle", + "GameTooltip_SetDefaultAnchor", + "HandleModifiedItemClick", + "MapCanvasDataProviderMixin", + "MapCanvasPinMixin", + "Vector2DMixin", + "VignettePinMixin", + "WorldMapPOIQuantizerMixin", + "RegionUtil", + "FramePool_HideAndClearAnchors", + "OpenAchievementFrameToAchievement", + "ToggleWorldMap", + "SetItemButtonTexture", + "TooltipDataProcessor", + "TooltipUtil", + + -- FrameXML Constants + "ACHIEVEMENTS", + "ACTION_PARTY_KILL", + "ADD", + "ALL", + "ALT_KEY_TEXT", + "AZERITE_ESSENCE_TOOLTIP_NAME_RANK", + "BACKPACK_CONTAINER", + "BACKPACK_TOOLTIP", + "BAG_CLEANUP_BAGS", + "BAG_FILTER_ICONS", + "BAGSLOT", + "BANK", + "BANK_BAG_PURCHASE", + "BANK_CONTAINER", + "BOSS_DEAD", + "CHAT_MSG_SAY", + "CHAT_MSG_YELL", + "CHAT_MSG_PARTY", + "CHAT_MSG_RAID", + "CHAT_MSG_GUILD", + "CHAT_MSG_OFFICER", + "CLASS_ICON_TCOORDS", + "CLICK_FOR_DETAILS", + "CLOSE", + "COLOR", + "COMMUNITIES_DEFAULT_CHANNEL_NAME", + "COMMUNITIES_INVITE_MANAGER_LINK_TO_CHAT", + "COMPLETE", + "CONFIRM_BUY_BANK_SLOT", + "COVENANT_COLORS", + "CRITERIA_COMPLETED", + "CTRL_KEY_TEXT", + "DEFAULT", + "DRAG_MODEL", + "DONE", + "EMOTE88_CMD1", + "EMOTE410_CMD1", + "ENABLE", + "ENCOUNTER_JOURNAL_ITEM", + "ERR_USE_LOCKED_WITH_ITEM_S", + "EQUIP_CONTAINER", + "GREEN_FONT_COLOR", + "HIDE", + "ICON_LIST", + "ID", + "IGNORE", + "INCOMPLETE", + "ITEM_BIND_QUEST", + "ITEM_BNETACCOUNTBOUND", + "ITEM_CONJURED", + "ITEM_PET_KNOWN", + "ITEM_REQ_SKILL", + "ITEM_SET_NAME", + "ITEM_SOULBOUND", + "LE_BAG_FILTER_FLAG_EQUIPMENT", + "LE_BAG_FILTER_FLAG_IGNORE_CLEANUP", + "LE_EXPANSION_LEVEL_CURRENT", + "LE_EXPANSION_CLASSIC", + "LE_EXPANSION_BURNING_CRUSADE", + "LE_EXPANSION_WRATH_OF_THE_LICH_KING", + "LE_EXPANSION_CATACLYSM", + "LE_EXPANSION_MISTS_OF_PANDARIA", + "LE_EXPANSION_WARLORDS_OF_DRAENOR", + "LE_EXPANSION_LEGION", + "LE_EXPANSION_BATTLE_FOR_AZEROTH", + "LE_EXPANSION_SHADOWLANDS", + "LE_EXPANSION_DRAGONFLIGHT", + "LE_ITEM_CLASS_WEAPON", + "LE_ITEM_CLASS_ARMOR", + "LE_ITEM_CLASS_CONTAINER", + "LE_ITEM_CLASS_GEM", + "LE_ITEM_CLASS_ITEM_ENHANCEMENT", + "LE_ITEM_CLASS_CONSUMABLE", + "LE_ITEM_CLASS_GLYPH", + "LE_ITEM_CLASS_TRADEGOODS", + "LE_ITEM_CLASS_RECIPE", + "LE_ITEM_CLASS_BATTLEPET", + "LE_ITEM_CLASS_QUESTITEM", + "LE_ITEM_CLASS_MISCELLANEOUS", + "LE_ITEM_QUALITY_POOR", + "LE_PARTY_CATEGORY_HOME", + "LE_PARTY_CATEGORY_INSTANCE", + "LOCALIZED_CLASS_NAMES_FEMALE", + "LOCALIZED_CLASS_NAMES_MALE", + "LOCATION_COLON", + "LOOT", + "MAP_PIN", + "MAP_PIN_HYPERLINK", + "MAX_ACCOUNT_MACROS", + "MAX_CONTAINER_ITEMS", + "MOUNT", + "MOVE_FRAME", + "NEED", + "NEVER", + "NEW_ITEM_ATLAS_BY_QUALITY", + "NO", + "NONE", + "NUM_BAG_SLOTS", + "NUM_BANKBAGSLOTS", + "NUM_CONTAINER_FRAMES", + "NUM_LE_BAG_FILTER_FLAGS", + "OBJECTIVES_VIEW_ACHIEVEMENT", + "PARENS_TEMPLATE", + "PREVIEW", + "QUESTS_COLON", + "RAID_CLASS_COLORS", + "REAGENT_BANK", + "REAGENTBANK_CONTAINER", + "REAGENTBANK_DEPOSIT", + "RED_FONT_COLOR", + "REMOVE", + "RETRIEVING_ITEM_INFO", + "SEARCH_LOADING_TEXT", + "SHIFT_KEY_TEXT", + "SOUNDKIT", + "STATICPOPUP_NUMDIALOGS", + "SUBTITLE_FORMAT", + "TARGET", + "TEXTURE_ITEM_QUEST_BANG", + "TEXTURE_ITEM_QUEST_BORDER", + "TEXTURES_SUBHEADER", + "TOOLTIP_BATTLE_PET", + "TOY", + "TRADESKILL_POST", + "UIDROPDOWNMENU_MENU_VALUE", + "UIDROPDOWNMENU_MENU_LEVEL", + "UI_SCALE", + "UNKNOWN", + "UNKNOWNOBJECT", + "USED", + "WOW_PROJECT_ID", + "WOW_PROJECT_MAINLINE", + "WOW_PROJECT_CLASSIC", + "YES", + "ZONE", } -self=false -global=false diff --git a/.pkgmeta b/.pkgmeta index e39644b..09bf7d6 100644 --- a/.pkgmeta +++ b/.pkgmeta @@ -1,17 +1,40 @@ package-as: Shitlist manual-changelog: - filename: CHANGELOG.md - markup-type: markdown + filename: changelog.txt + markup-type: plain enable-nolib-creation: no -enable-toc-creation: yes +enable-toc-creation: no -# Ignore takes place before folder's moving takes place ignore: - - README.md - - luaformat.cfg + - .gitignore + - .luacheckrc + - .vscode + - .github + - .pkgmeta + - Libs/libs.txt -move-folders: - Shitlist/Shitlist: Shitlist +required-dependencies: + +externals: + Libs/AceAddon-3.0: svn://svn.wowace.com/wow/ace3/mainline/trunk/AceAddon-3.0 + Libs/AceComm-3.0: svn://svn.wowace.com/wow/ace3/mainline/trunk/AceComm-3.0 + Libs/AceConfig-3.0: svn://svn.wowace.com/wow/ace3/mainline/trunk/AceConfig-3.0 + Libs/AceConsole-3.0: svn://svn.wowace.com/wow/ace3/mainline/trunk/AceConsole-3.0 + Libs/AceDB-3.0: svn://svn.wowace.com/wow/ace3/mainline/trunk/AceDB-3.0 + Libs/AceDBOptions-3.0: svn://svn.wowace.com/wow/ace3/mainline/trunk/AceDBOptions-3.0 + Libs/AceEvent-3.0: svn://svn.wowace.com/wow/ace3/mainline/trunk/AceEvent-3.0 + Libs/AceGUI-3.0: svn://svn.wowace.com/wow/ace3/mainline/trunk/AceGUI-3.0 + Libs/AceHook-3.0: svn://svn.wowace.com/wow/ace3/mainline/trunk/AceHook-3.0 + Libs/AceLocale-3.0: svn://svn.wowace.com/wow/ace3/mainline/trunk/AceLocale-3.0 + Libs/AceSerializer-3.0: svn://svn.wowace.com/wow/ace3/mainline/trunk/AceSerializer-3.0 + Libs/AceTab-3.0: svn://svn.wowace.com/wow/ace3/mainline/trunk/AceTab-3.0 + Libs/AceTimer-3.0: svn://svn.wowace.com/wow/ace3/mainline/trunk/AceTimer-3.0 + Libs/CallbackHandler-1.0: svn://svn.wowace.com/wow/ace3/mainline/trunk/CallbackHandler-1.0 + Libs/LibDBIcon-1.0: svn://svn.wowace.com/wow/libdbicon-1-0/mainline/trunk/LibDBIcon-1.0 + Libs/LibStub: svn://svn.wowace.com/wow/libstub/mainline/tags/1.0 + Libs/LibDataBroker-1.1: + url: http://github.com/tekkub/libdatabroker-1-1.git + tag: latest diff --git a/.vscode/extensions.json b/.vscode/extensions.json new file mode 100644 index 0000000..1bf1a0d --- /dev/null +++ b/.vscode/extensions.json @@ -0,0 +1,10 @@ +{ + "recommendations": [ + "stylelint.vscode-stylelint", + "sumneko.lua", + "rog2.luacheck", + "ketho.wow-api", + "stanzilla.vscode-wow-toc", + "file-icons.file-icons" + ] +} \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..75f06f6 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,126 @@ +{ + "luacheck.useLuacheck": true, + "editor.wordWrapColumn": 133, + "editor.rulers": [ + 132 + ], + "editor.wordWrap": "off", + "editor.defaultFormatter": "Ketho.wow-api", + "Lua.diagnostics.enable": true, + "Lua.runtime.version": "Lua 5.1", + "Lua.completion.callSnippet": "Both", + "Lua.diagnostics.disable": [ + "undefined-field", + "unused-local", + "missing-fields", + "inject-field", + "need-check-nil", + "duplicate-set-field", + "param-type-mismatch", + "redundant-parameter" + ], + "Lua.diagnostics.globals": [ + "UnitIsPlayer", + "RegisterChatCommand", + "UIDROPDOWNMENU_MAXBUTTONS", + "ChatFontNormal", + "TooltipDataProcessor", + "UIDROPDOWNMENU_MENU_LEVEL", + "ShitlistSettings", + "Settings", + "NOT_BOUND", + "GetLocale", + "UIDropDownMenu_AddButton", + "tremove", + "DEFAULT_CHAT_FRAME", + "FONT_COLOR_CODE_CLOSE", + "GetCursorPosition", + "InterfaceOptions_AddCategory", + "Enum", + "GetItemInfo", + "UIDropDownMenu_CreateInfo", + "SlashCmdList", + "AddDoubleLine", + "GameTooltip", + "NORMAL_FONT_COLOR", + "_L", + "UIParentLoadAddOn", + "SetTooltipMoney", + "CreateFrame", + "ACCEPT", + "hash_SlashCmdList", + "RegisterCallback", + "NORMAL_FONT_COLOR_CODE", + "GameFontNormalSmall", + "OKAY", + "NUM_CHAT_WINDOWS", + "FriendsFrame", + "GameFontHighlightLarge", + "GetRealmName", + "UnitName", + "GetUnit", + "CLOSE", + "geterrorhandler", + "testDB", + "OpacitySliderFrame", + "IsSecureCmd", + "Shitlist", + "AddLine", + "SELECTED_CHAT_FRAME", + "GameFontHighlightSmall", + "SetDesaturation", + "ColorPickerFrame", + "ChatEdit_GetActiveWindow", + "UnitPopupMenus", + "ItemRefTooltip", + "IsControlKeyDown", + "print", + "LibStub", + "CANCEL", + "SHITLIST_ID", + "GetMouseFocus", + "ShitlistDB", + "IsShiftKeyDown", + "GameFontDisableSmall", + "UnitPopup_ShowMenu", + "InterfaceOptionsFrame_OpenToCategory", + "GameFontNormal", + "ReloadUI", + "pairs", + "C_Timer", + "GameFontHighlight", + "AuctionDB", + "_G", + "tinsert", + "UIDropDownMenu_AddSeparator", + "time", + "EasyMenu", + "UIDropDownMenu_SetWidth", + "UIDropDownMenu_SetText", + "UIDropDownMenu_Initialize", + "CloseDropDownMenus", + "ToggleDropDownMenu", + "PlayerFrameDropDown", + "UIDropDownMenu_GetText", + "ChatFrame1EditBox", + "TargetFrame", + "PlayerFrame", + "UIDropDownMenu_GetCurrentDropDown", + "UISpecialFrames", + "ChatFrame1", + "GameTooltip_SetDefaultAnchor", + "HIGHLIGHT_FONT_COLOR", + "WorldFrame", + "TooltipBackdropTemplateMixin", + "GameMenuFrame", + "UIDROPDOWNMENU_INIT_MENU", + "UIDROPDOWNMENU_MENU_VALUE", + "GetText", + "UIDropDownMenu_GetSelectedName", + "tostring", + "SendChatMessage", + "ipairs", + "UnitFullName", + "PlaySoundFile" + ], +} \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md deleted file mode 100644 index 6fcb445..0000000 --- a/CHANGELOG.md +++ /dev/null @@ -1,15 +0,0 @@ -# Changelog - -### 1.1.2 -- Changed config Backdrop -- Fixed Classic and WOTLK backwards compatibility. - -### 1.1.1 -- Fixed a issue in settings where Listed Players not saved new players correctly. - -### 1.1.0 -- Updated to work with - * *Retail* 10.0.2 - * *Wrath of the Lich King* 3.4.0 - * *Classic* 1.14.3 -- UI improvements diff --git a/Images/shitlist.png b/Images/shitlist.png new file mode 100644 index 0000000..159ae5c Binary files /dev/null and b/Images/shitlist.png differ diff --git a/Libs/libs.txt b/Libs/libs.txt new file mode 100644 index 0000000..e69de29 diff --git a/Locales/Locales.xml b/Locales/Locales.xml new file mode 100644 index 0000000..adf2216 --- /dev/null +++ b/Locales/Locales.xml @@ -0,0 +1,6 @@ + + +