From 50ef3045905d2f0e2a873ca7d40113cd27b66796 Mon Sep 17 00:00:00 2001 From: Darthpred Date: Tue, 28 Aug 2012 12:03:52 +0400 Subject: [PATCH] Version 1.1 for MoP --- CHANGELOG.txt | 26 +- Description for Tukui.txt | 27 +- ElvUI_SLE/ElvUI_SLE.lua | 45 +- ElvUI_SLE/ElvUI_SLE.toc | 38 +- ElvUI_SLE/config/load_config.xml | 2 +- ElvUI_SLE/config/profile.lua | 138 +- ElvUI_SLE/config/sle_private.lua | 28 + ElvUI_SLE/core/install.lua | 3544 ++++++++++---------- ElvUI_SLE/core/load_core.xml | 1 - ElvUI_SLE/core/options.lua | 18 +- ElvUI_SLE/layout/layout.lua | 23 +- ElvUI_SLE/libs/load_libs.xml | 2 +- ElvUI_SLE/locales/china.lua | 20 - ElvUI_SLE/locales/english.lua | 349 +- ElvUI_SLE/locales/french.lua | 20 - ElvUI_SLE/locales/german.lua | 200 +- ElvUI_SLE/locales/korean.lua | 20 - ElvUI_SLE/locales/russian.lua | 373 +- ElvUI_SLE/locales/spanish.lua | 24 - ElvUI_SLE/locales/taiwan.lua | 20 - ElvUI_SLE/modules/auras/auras.lua | 54 +- ElvUI_SLE/modules/auras/load_auras.xml | 123 +- ElvUI_SLE/modules/auras/options.lua | 24 + ElvUI_SLE/modules/autorelease/autorelease.lua | 2 +- ElvUI_SLE/modules/autorelease/options.lua | 2 +- ElvUI_SLE/modules/backgrounds/backgrounds.lua | 11 +- ElvUI_SLE/modules/backgrounds/options.lua | 50 +- ElvUI_SLE/modules/chat/chat.lua | 22 +- ElvUI_SLE/modules/chat/options.lua | 23 +- ElvUI_SLE/modules/datatexts/add_panels.lua | 24 +- .../modules/datatexts/dashboard/dashboard.lua | 71 + .../datatexts/dashboard/datapanels/bags.lua | 25 + .../datatexts/dashboard/datapanels/durability.lua | 65 + .../modules/datatexts/dashboard/datapanels/fps.lua | 23 + .../modules/datatexts/dashboard/datapanels/ms.lua | 24 + .../modules/datatexts/dashboard/load_dashboard.xml | 7 + ElvUI_SLE/modules/datatexts/load_datatexts.xml | 1 + ElvUI_SLE/modules/datatexts/options.lua | 54 +- ElvUI_SLE/modules/datatexts/time.lua | 2 +- ElvUI_SLE/modules/datatexts/version.lua | 2 +- ElvUI_SLE/modules/exprepbar/exprepbar.lua | 433 +-- ElvUI_SLE/modules/exprepbar/options.lua | 69 +- ElvUI_SLE/modules/load_modules.xml | 2 - ElvUI_SLE/modules/marks/marks.lua | 6 +- ElvUI_SLE/modules/marks/options.lua | 3 +- ElvUI_SLE/modules/raidutility/options.lua | 9 +- ElvUI_SLE/modules/raidutility/raidutility.lua | 16 +- ElvUI_SLE/modules/skins/addons/load_addons.xml | 10 - ElvUI_SLE/modules/skins/addons/notes.lua | 2 +- ElvUI_SLE/modules/skins/addons/oces.lua | 2 +- ElvUI_SLE/modules/skins/addons/tdb.lua | 2 +- ElvUI_SLE/modules/skins/blizzard/extraab.lua | 2 +- ElvUI_SLE/modules/skins/blizzard/load_blizzard.xml | 2 +- ElvUI_SLE/modules/skins/blizzard/petbattle.lua | 368 ++ ElvUI_SLE/modules/skins/load_skins.xml | 1 - ElvUI_SLE/modules/skins/options.lua | 30 +- ElvUI_SLE/modules/uibuttons/options.lua | 2 +- ElvUI_SLE/modules/uibuttons/uibuttons.lua | 16 +- ElvUI_SLE/modules/unitframes/load_unitframes.xml | 5 +- ElvUI_SLE/modules/unitframes/options.lua | 90 +- ElvUI_SLE/modules/unitframes/tags.lua | 117 + ElvUI_SLE/modules/unitframes/units/arena.lua | 15 +- ElvUI_SLE/modules/unitframes/units/boss.lua | 15 +- ElvUI_SLE/modules/unitframes/units/focus.lua | 15 +- ElvUI_SLE/modules/unitframes/units/player.lua | 382 ++- ElvUI_SLE/modules/unitframes/units/target.lua | 15 +- .../modules/unitframes/units/targettarget.lua | 15 +- ElvUI_SLE/modules/unitframes/update_elements.lua | 339 +- ToDo.txt | 8 + 69 files changed, 4058 insertions(+), 3460 deletions(-) create mode 100644 ElvUI_SLE/config/sle_private.lua create mode 100644 ElvUI_SLE/modules/auras/options.lua create mode 100644 ElvUI_SLE/modules/datatexts/dashboard/dashboard.lua create mode 100644 ElvUI_SLE/modules/datatexts/dashboard/datapanels/bags.lua create mode 100644 ElvUI_SLE/modules/datatexts/dashboard/datapanels/durability.lua create mode 100644 ElvUI_SLE/modules/datatexts/dashboard/datapanels/fps.lua create mode 100644 ElvUI_SLE/modules/datatexts/dashboard/datapanels/ms.lua create mode 100644 ElvUI_SLE/modules/datatexts/dashboard/load_dashboard.xml create mode 100644 ElvUI_SLE/modules/skins/blizzard/petbattle.lua create mode 100644 ElvUI_SLE/modules/unitframes/tags.lua create mode 100644 ToDo.txt diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 1225024..60b45dc 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -1,3 +1,23 @@ +v1.1 (August 28, 2012) +- (Backend) Optimize Druid Resource +- (Backend) Private options now use Elv's popus +- Added Demonic Fury number on warlock classbar +- Added debuff resizing +- Added hiding for combat ico +- Readded castername in buff/debuff icon due to darth rewriting auras.lua and not doing his job +- Moved options for auras to its own category +- Removed some skinning of addons as we are now working with Azilroka on the skinning package. +- Removed embed right fix due it being removed from ElvUI +- Fixed the chat text going over the panel's border +- Options for full values on hp/power text changed due to ElvUI's changes in text formatting. Now you can use tags. Just add a ":sl" at the end of the health or power tag to get full value. Doesn't work with percent. +- Background frames now have an option for transparancy +- Exp/Rep bar text options were changed to show full or short values +- Added an option to move editbox for chat pannels +- PvP text options were removed, ElvUI now has it's own +- Removed Skada and DBM skins +- Removed Pet Autocast option +- Changed positions of some options + v1.03 (July 25, 2012) - Fixed Combatlog not anchoring correctly in right panel as the only chat window - Fixed Microbar Bug (Leave combat issue) @@ -18,4 +38,8 @@ v1.01 (July 11, 2012) - Added Alphabet layout to Microbar v1.0 (July 7, 2012) -- Inital Release \ No newline at end of file +- Inital Release + +===Things done in beta, not looked at in live yet.=== +- Skinned more of the Blizzard Interface Options (Raid Profiles Section) +- Skinned additional button in interface options area \ No newline at end of file diff --git a/Description for Tukui.txt b/Description for Tukui.txt index d1a1ef2..902faaa 100644 --- a/Description for Tukui.txt +++ b/Description for Tukui.txt @@ -2,15 +2,11 @@ Please Note: This addon will not function without ElvUI installed. You can download it at http://www.tukui.org. -Shadow & Light is an external edit of ElvUI. Which means it wasn't made by changing of ElvUI's files directly. What this means to you, is that any time ElvUI has an update, you will not have to worry about it overwriting our edited version of ElvUI. It also means if we push an update it mess with any ElvUI files. This addon can not be used without ElvUI installed and enabled. +Shadow & Light is an external edit of ElvUI, meaning it isn't made by changing of ElvUI's files directly. What this means to you, is that any time ElvUI gets updated, you will not have to worry about it overwriting our edited version of ElvUI. It also means if we push an update it will not mess with any ElvUI files. This addon can not be used without ElvUI installed and enabled. Originally this project started as two personal edits of ElvUI by Darth Predator and I. For technical support reasons and other reasons as well, we have moved to a combine effort on this external edit of the ElvUI. Shadow & Light does not disable or hinder the normal function of ElvUI but does add additional features that are not yet implemented or will not be added to ElvUI. You'll find Shadow & Light options under it's own configuration category in ElvUI's config section by typing /ec -Mists of Pandaria Beta Download: -- Github -- Tukui.org - Suggestions/Concerns: - Private Massage on TukUI.org to Repooc - Curse Ticket System @@ -26,44 +22,31 @@ You'll find Shadow & Light options under it's own configuration category in ElvU - Modified Installation Process (Includes settings that each of the authors play with.) - Dragon Soul LFR progression in Time Datatext - PvP Auto Release -- Customizable size of auras near the minimap -- Tweaked visuals for pet autocastable abilities - Ability to show full value for hp/mana on unitframes -- Customize PvP text position and visibility states on player unitframe - Customize Combat Icon position on player unitframe - Classbar offset -- Balance Druid power value text on ClassBar -- Compacted Exp/Rep Bar +- Balance Druid and DEmonoligy Warlock power value text on ClassBar +- Ability to set text on exp/rep bar to full values - Misc Custom UI Button (Quickly access ElvUI Config, ReloadUI, Toggle Move Anchors, Boss mod config/options (DBM, DXE, or Bigwigs), Addons Manager (stAddOnManager or ACP) -- Microbar - Skinned Raid Marker Bar - Additional datatext panels that can be moved -- Additional options for DBM and Skada skins +- Additional options for DBM skin - Chat fading - Customizable size of chat history stored - Additional background panels that can be customized to your liking. - Freely movable Raid Utility menu - Caster Name in Auras Tooltip -- Increased number of auras per row near the minimap - Altered layout of chat panels +- Movvable Pet Batlle Actionbar Skins: -- Altoholic Skin -- Minor fix to the ElvUI Auctionator skin -- DBM Options Window Skin -- Extended Vendor Skin -- MoveAnything Skin - Nirriti's Notes Skin - OneClickEnchantScroll Skin - Tabbed Dungeon Browser Skin -- TellMeWhen Options Window Skin - Removed Boss Button Texture -- Additional skinning of Blizzard's options Included Addons: (if you have any of those the I'd recommend to disable them) -- XP & Rep Bars mod for ElvUI by Benik -- Extended Vendor Skin & Altoholic Skin by Azilroka - The idea of Classbar offset was taken from Boradan's guide and his addon - Blizzard additional skins by Pat - UI buttons idea by Swordyy diff --git a/ElvUI_SLE/ElvUI_SLE.lua b/ElvUI_SLE/ElvUI_SLE.lua index 91cbd34..5712378 100644 --- a/ElvUI_SLE/ElvUI_SLE.lua +++ b/ElvUI_SLE/ElvUI_SLE.lua @@ -1,16 +1,13 @@ -------------------------------------------------- ---Here be Credits -------------------------------------------------- ---Testing line -local E, L, V, P, G = unpack(ElvUI); --Engine, Locales, Profile, Global +local E, L, V, P, G, _ = unpack(ElvUI); --Inport: Engine, Locales, PrivateDB, ProfileDB, GlobalDB, Localize Underscore local SLE = E:NewModule('SLE', 'AceHook-3.0', 'AceEvent-3.0'); -function SLE:Initialize() - self:RegisterEvent("PLAYER_REGEN_DISABLED", "UpdateThings"); - if E.db.general.loginmessage then - print(L['SLE_LOGIN_MSG']) - end - E.db.datatexts.panels.Top_Center = 'Version' +function SLE:Tutorials() --Additional tutorials + table.insert(E.TutorialList, #(E.TutorialList)+1, L["To enable full values of health/power on unitframes in Shadow & Light add \":sl\" to the end of the health/power tag.\nExample: [health:current:sl]."]); +end + +function SLE:ConfigCats() --Additional config groups + table.insert(E.ConfigModeLayouts, #(E.ConfigModeLayouts)+1, "S&L"); + E.ConfigModeLocalizedStrings["S&L"] = "S&L" end --Updating things that must be updated only after everything loads @@ -18,7 +15,7 @@ function SLE:UpdateThings() E:GetModule('UnitFrames'):Update_CombatIndicator() end -StaticPopupDialogs["VERSION_MISMATCH"] = { +E.PopupDialogs["VERSION_MISMATCH"] = { text = L["Your version of ElvUI is older than recommended to use with Shadow & Light Edit. Please, download the latest version from tukui.org."], button1 = CLOSE, timeout = 0, @@ -27,19 +24,35 @@ StaticPopupDialogs["VERSION_MISMATCH"] = { } --Showing warning message about too old versions of ElvUI - if tonumber(E.version) < 3.89 then - StaticPopup_Show("VERSION_MISMATCH") - end +if tonumber(E.version) < 4.00 then + E:StaticPopup_Show("VERSION_MISMATCH") +end E.UpdateAllSLE = E.UpdateAll function E:UpdateAll() E.UpdateAllSLE(self) + E:GetModule('BackGrounds'):UpdateFrames() E:GetModule('DTPanels'):Update() + E:GetModule('DTPanels'):DashboardShow() + E:GetModule('DTPanels'):DashWidth() E:GetModule('UnitFrames'):Update_CombatIndicator() - E:GetModule('UIButtons'):Start() + E:GetModule('UIButtons'):UpdateAll() E.db.datatexts.panels.Top_Center = 'Version' E:GetModule('DataTexts'):LoadDataTexts() --Prevents datatexts from not changing on profile switch (Elv's issue) E:GetModule('RaidUtility'):MoveButton() end + +function SLE:Initialize() + self:RegisterEvent("PLAYER_REGEN_DISABLED", "UpdateThings"); + if E.db.general.loginmessage then + print(L['SLE_LOGIN_MSG']) + end + E.db.datatexts.panels.Top_Center = 'Version' + E:GetModule('DTPanels'):DashboardShow() + E:GetModule('Layout'):EditboxPos() + SLE:Tutorials() + SLE:ConfigCats() +end + E:RegisterModule(SLE:GetName()) \ No newline at end of file diff --git a/ElvUI_SLE/ElvUI_SLE.toc b/ElvUI_SLE/ElvUI_SLE.toc index 2b89db5..e8b18ab 100644 --- a/ElvUI_SLE/ElvUI_SLE.toc +++ b/ElvUI_SLE/ElvUI_SLE.toc @@ -1,20 +1,20 @@ -## Interface: 40300 -## Title: |cff1784d1ElvUI |rShadow and Light Edit -## Author: Darth Predator, Repooc -## Version: 1.03 -## Notes: Plugin-edit for |cff1784d1ElvUI|r. -## Notes-ruRU: Плагин-редакция для |cff1784d1ElvUI|r. -## eMail: darthpred@gmail.com, repooc@tukui.org -## URL: http://tukui.org/ -## RequiredDeps: ElvUI -## OptionalDeps: Skada, CoolLine, Poisoner -## DefaultState: Enabled - -libs\load_libs.xml -locales\load_locales.xml -media\load_media.xml -ElvUI_SLE.lua -core\load_core.xml -modules\load_modules.xml -config\load_config.xml +## Interface: 50001 +## Title: |cff1784d1ElvUI |rShadow and Light Edit +## Author: Darth Predator, Repooc +## Version: 1.1 +## Notes: Plugin-edit for |cff1784d1ElvUI|r. +## Notes-ruRU: Плагин-редакция для |cff1784d1ElvUI|r. +## eMail: darthpred@gmail.com, repooc@tukui.org +## URL: http://tukui.org/ +## RequiredDeps: ElvUI +## OptionalDeps: Skada, CoolLine, Poisoner +## DefaultState: Enabled + +libs\load_libs.xml +locales\load_locales.xml +media\load_media.xml +ElvUI_SLE.lua +core\load_core.xml +modules\load_modules.xml +config\load_config.xml layout\layout.lua \ No newline at end of file diff --git a/ElvUI_SLE/config/load_config.xml b/ElvUI_SLE/config/load_config.xml index ad4ad17..31e82cc 100644 --- a/ElvUI_SLE/config/load_config.xml +++ b/ElvUI_SLE/config/load_config.xml @@ -1,4 +1,4 @@