Commit Graph

29 Commits

Author SHA1 Message Date
florian.berthold ef1003b4c9 fix(options): use SetSelectedID so the text-size dropdown selection sticks
release / release (push) Successful in 3s
2026-05-29 10:43:54 +02:00
florian.berthold 3ed0021c7b fix(libs): pick up coa-ace3 9583952 (AceDB falsy-defaults PR #10 backport)
Re-sync after coa-ace3 9583952 backported WoWUIDev/Ace3 PR #10 which fixes
the AceDB-3.0 simple-value defaults metatable: previously falsy defaults
like ["*"] = false read back as nil because of `k2~=nil and v or nil`
short-circuiting. Now they round-trip correctly.
2026-05-24 19:31:44 +02:00
florian.berthold 6ef1f9dab8 fix: name+guard Woodcutting/Woodworking, drop regex+deprecated this+InterfaceOptions guards
ProfessionMenu.lua:
- profList: add Name="Woodcutting" (spell 13977860) and Name="Woodworking"
  (spells 1005008-1005011) so getProfessionRanks can find the matching
  GetSkillLineInfo entry. Without Name, both fell through GetSpellInfo+match
  with no result and returned nil,nil.
- getProfessionRanks: replace compName:match(name) (regex) with compName == name
  (plain compare); GetSkillLineInfo names are exact, regex was a bug magnet.
- Guard rank concat at lines ~394/397/400: skip the " (rank)" / " (max)" /
  " (rank/max)" append when getProfessionRanks returns nil so unknown
  skill lines don't error.
- InterfaceOptionsFrame:HookScript: wrap in 'if InterfaceOptionsFrame then';
  CoA's reworked FrameXML has no InterfaceOptionsFrame.

ProfessionMenuOptions.lua:
- Guard InterfaceOptionsFrame / InterfaceOptionsFrame_OpenToCategory /
  InterfaceOptions_AddCategory call sites (Options_Toggle, ProfessionMenu_
  OpenOptions, CreateOptionsUI). All nil on CoA's FrameXML.
- TxtSize dropdown func: drop deprecated WoW-2.x global 'this'; use
  UIDropDownMenu_GetSelectedID(ProfessionMenuOptions_TxtSizeMenu) instead.
2026-05-24 17:40:22 +02:00
florian.berthold 6d099f6db1 chore(libs): bump LibDataBroker-1.1 to v4 (from canonical) 2026-05-24 17:08:21 +02:00
florian.berthold 3fe1f67a0d chore(libs): sync Ace3 to coa-ace3 (WoWUIDev master @ 52e5f2c)
Bring every embedded Ace3 / CallbackHandler / LibStub copy in line with the
canonical Exiles/coa-ace3 bundle so LibStub resolution is predictable across
all Exiles forks regardless of which addons are enabled.

Libraries updated in this fork:
  AceAddon-3.0           13  (5 → 13)
  AceComm-3.0            14  (6 → 14)
  AceConsole-3.0         7
  AceDB-3.0              33  (21 → 33)
  AceEvent-3.0           4  (3 → 4)
  AceSerializer-3.0      5  (3 → 5)
  AceTimer-3.0           17  (5 → 17)
  CallbackHandler-1.0    8  (3 → 8)
  LibStub                2
2026-05-23 13:42:18 +02:00
florian.berthold a26197ec13 Add Woodworking profession + bump to 1.9
Woodworking is a new CoA crafting profession sitting alongside the
existing Woodcutting gathering line. It progresses through the
standard Apprentice/Journeyman/Expert/Artisan tier spells (no Master
or Grand Master yet), per db.exil.es:

    1005008  Apprentice Woodworking   ( 75)
    1005009  Journeyman Woodworking   (150)
    1005010  Expert Woodworking       (225)
    1005011  Artisan Woodworking      (300)

GetSpellInfo on each returns the rank-prefixed name; the addon's
getProfessionRanks() then matches against the 'Woodworking' skill
line, same shape as Apprentice/Alchemy etc. No transmute cooldowns
known yet, so no profCooldowns entry.
2026-05-09 01:01:07 +02:00
andrew6180 5c31e8dd1c Launcher prep 2024-03-27 07:23:18 -07:00
Anch 20abe2c6f2 minor code changes 2024-03-27 00:29:08 +13:00
Anch 418f953aeb added and option to show Herbalism and now show the pet Pierre 2023-12-13 10:44:51 +13:00
Anch cbd00ecd36 fixed profession buttons requiring a reload to work after changing ranks 2023-11-27 23:06:24 +13:00
Anch 2a4391eed3 Added option to show old Blizzard Trade Skill UI 2023-11-05 00:18:46 +13:00
Anch ca8785aa28 Disenchanting frame now shows what mats you should get from disenchanting an item 2023-11-03 19:22:57 +13:00
Anch e8fc5e4892 fixed a bug with smelting 2023-11-02 13:43:44 +13:00
Anch f1bcc1a6bb added option to display profession rank and max rank beside the name 2023-11-02 03:30:41 +13:00
Anch 4fd01d7681 changed where the bag event was registered 2023-11-01 21:47:38 +13:00
Anch 810f8de13a improved refresh after disenchanting an item 2023-11-01 01:47:37 +13:00
Anch b3c527e464 disenchanting interface
-added a disenchanting interface
-it is opened by right clicking the enchanting button
2023-10-30 03:00:38 +13:00
Anch 5499501fd8 soulbound and in collection check 2023-10-28 20:40:56 +13:00
Anch 442e74f557 menu now hides when you leave it 2023-10-27 14:45:43 +13:00
Anch a87c5b9576 bug fix 2023-10-27 05:02:49 +13:00
Anch ea692c38ef updates
- updated to delete sanguine workbench after dropping with the item delete setting
- added open menu on mouse over of the button
- Woodcutting now works
2023-10-27 04:54:22 +13:00
Anch 3b9afb28d7 forgot to remove a print 2023-10-27 01:50:16 +13:00
Anch 07fdfc0f9b added campfire, sanguine workbenchs and woodcutting 2023-10-27 00:59:21 +13:00
Anch 7ef61477d6 Update ProfessionMenu.toc 2023-10-26 01:28:52 +13:00
Anch 62a4fe7048 added a system to add a line to the item recovery window showing if recipes are known or unknown 2023-10-26 01:28:08 +13:00
Anch ccc268d5cc changes
- added variable text size for the menus
- added disenchanting and prospecting to the menu
- changed the text on the option to hide the main button to standalone button
2023-10-25 14:03:09 +13:00
Anch 5b9beb5c3e Update ProfessionMenu.toc 2023-10-24 16:06:36 +13:00
Anch 36ba8950c9 missed a c 2023-10-24 16:06:10 +13:00
Anch 34fb96e7f3 Initial commit 2023-10-24 15:50:14 +13:00