Reply
Thread Tools Display Modes
Unread 08-24-05, 02:18 PM   #1
Cairenn
Credendo Vides
 
Cairenn's Avatar
Premium Member
WoWInterface Admin
Join Date: Mar 2004
Posts: 6,910
API changes from 1.6.1 to 0.7.0 (1700)

Iriel's list of actual API changes between 1.6.1 and 0.7.0

Here's a list of all of the API level changes I've found between the live
code and the 0.7.0 (1700) build on test. I have not included the changes to
FrameXML code here (I'd imagine they're quite substantial)

WIDGET CHANGES


* NEW Frame:EnableMouseWheel
* NEW child1,child2,... = Frame:GetChildren()
* NEW strata = Frame:GetFrameStrata()
* NEW num = Frame:GetNumChildren()
* NEW function = Frame:GetScript("handler")
* NEW Frame:SetBackdrop([backdropTable])
* NEW Frame:SetFrameStrata("strata")
* NEW Frame:SetParent(parent or "parent")
* NEW Frame:SetScript("handler", function)

* NEW r,g,b,a = FontString:GetTextColor()
* NEW FontString:SetFont("font", size [, "flags"]);

* NEW lines = EditBox:GetHistoryLines()
* NEW EditBox:SetHistoryLines(lines)
* NEW EditBox:SetIgnoreArrows([isIgnored])

* REMOVED GameTooltip:SetMoneyWidth(width)
* NEW GameTooltip:SetMinimumWidth(width)

* NEW ScrollingMessageFrame:Clear()
* NEW ScrollingMessageFrame:EnableFading([isEnabled])
* NEW lines = ScrollingMessageFrame:GetMaxLines()
* NEW ScrollingMessageFrame:SetFadeDuration(dseconds)
* NEW ScrollingMessageFrame:SetMaxLines(lines)
* NEW ScrollingMessageFrame:SetTimeVisible(seconds)

* NEW SimpleHTML:SetHyperlinkFormat

* NEW StatusBar:SetStatusBarTexture("file" [,"layer"])

* REMOVED PlayerModel:UpdateModel();

* NEW Frame Type DressUpModel (inherits from PlayerModel)
* NEW DressUpModel:Dress()
* NEW DressUpModel:TryOn(item)
* NEW DressUpModel:Undress()

NEW/REMOVED/CHANGED API FUNCTIONS


* NEW BindEnchant()
* NEW canJoin = CanJoinBattlefieldAsGroup()
* NEW CancelAreaSpiritHeal()
* REMOVED ChatFrameLog(x) -- Replaced with LoggingChat
* NEW inRange = CheckBinderDist() -- Check distance to hearthstone binder.
* NEW inRange = CheckPetUntrainerDist() -- Check distance to pet trainer.
* NEW ConfirmBinder() -- Confirm hearthstone binding
* UPDATED ConfirmLootRoll(id, rollType) -- New rolltype arg (1=need, 2=greed)
* NEW ConfirmPetUnlearn() -- Confirm pet training unlearn
* NEW CreateMiniWorldMapArrowFrame("parentFrame") -- Create arrow frame for minimap (battlefield minimap)
* NEW CrateWorldMapArrowFrame("parentFrame") -- Create arrow frame for world map.
* NEW GetActionAutocast(slot)
* NEW dep1,dep2,... = GetAddOnDependencies(index or "name")
* NEW name,title,notes,enabled,loadable,reason,security = GetAddOnInfo(index or "name")
* NEW count = GetNumAddOns()
* UPDATED GetNumGuildMembers([includeOffline]) -- Added flag
* NEW count = GetPlayerBuffApplications(buffIndex) -- Get # of buffs stacked
* NEW autoCastAllowed,autoCastEnabled = GetSpellAutocast(id, book)
* NEW loaded = IsAddOnLoaded(index or "name")
* NEW isConsumable = IsConsumableAction(slot)
* NEW loaded,reason = LoadAddon(index or "name")
* NEW isLogging = LoggingChat([newState])
* NEW isLogging = LoggingCombat([newState])
* NEW PetStopAttack()
* NEW PositionMiniWorldMapArrowFrame("point", "frame"[ ,relativePoint] [,offsetX, offsetY])
* NEW PositionWorldMapArrowFrame("point", "frame"[ ,relativePoint] [,offsetX, offsetY])
* NEW ResetChatColors()
* NEW RestoreVideoDefaults()
* UPDATED RollOnLoot(id, rollType) -- Updated rolltype arg (0=pass, 1=need, 2=greed)
* NEW ShowMiniWorldMapArrowFrame(isShown)
* NEW ShowWorldMapArrowFrame(isShown)
* REMOVED ToggleCombatLogFileWrite() -- Replaced with LoggingCombat
* NEW ToggleSpellAutocast(id, book)
* NEW UpdateWorldMapArrowFrames()
* NEW debugbreak
* NEW debugdump
* NEW debugload
* NEW debugprint
* NEW debugprofilestart
* NEW debugprofilestop
* NEW debugtimestamp

MOVEMENT API FUNCTION CHANGES (Grouped for sanity)


* UPDATED CameraOrSelectOrMoveStart() - Removed time argument
* UPDATED CameraOrSelectOrMoveStop([x]) - Removed time argument
* UPDATED CameraZoomIn(x) - Removed time argument
* UPDATED CameraZoomOut(x) - Removed time argument
* UPDATED MoveBackwardStart() - Removed time argument
* UPDATED MoveBackwardStop() - Removed time argument
* UPDATED MoveForwardStart() - Removed time argument
* UPDATED MoveForwardStop() - Removed time argument
* UPDATED PitchDownStart() - Removed time argument
* UPDATED PitchDownStop() - Removed time argument
* UPDATED PitchUpStart() - Removed time argument
* UPDATED PitchUpStop() - Removed time argument
* UPDATED StrafeLeftStart() - Removed time argument
* UPDATED StrafeLeftStop() - Removed time argument
* UPDATED StrafeRightStart() - Removed time argument
* UPDATED StrafeRightStop() - Removed time argument
* UPDATED ToggleRun() - Removed argument
* UPDATED TurnLeftStart() - Removed time argument
* UPDATED TurnLeftStop() - Removed time argument
* UPDATED TurnOrActionStart() - Removed time argument
* UPDATED TurnOrActionStop() - Removed time argument
* UPDATED TurnRightStart() - Removed time argument
* UPDATED TurnRightStop() - Removed time argument


(Originally posted here)

Last edited by Cairenn : 08-24-05 at 03:37 PM.
Cairenn is online now   Reply With Quote
Unread 08-24-05, 03:33 PM   #2
Littlejohn
A Warpwood Thunder Caller
AddOn Author - Click to view addons
Join Date: Jun 2005
Posts: 90
How appropriate that DressUpModel rendered in a big cheesy grin!
Littlejohn is offline   Reply With Quote
Unread 08-24-05, 03:38 PM   #3
Cairenn
Credendo Vides
 
Cairenn's Avatar
Premium Member
WoWInterface Admin
Join Date: Mar 2004
Posts: 6,910
ROFL! Thanks for catching it, hadn't even noticed.
__________________
I'm fine. You know what 'fine' stands for, don't you? Yeah - Freaked Out, Insecure, Neurotic and Emotional
~~~~~~~~~~~~~~~~~~~
Co-Founder & Admin: MMOUI
FaceBook Profile, Page, Group
Avatar Image by RaffaeleMarinetti
Cairenn is online now   Reply With Quote
Unread 08-24-05, 06:41 PM   #4
Beladona
A Molten Giant
 
Beladona's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2005
Posts: 539
the test server notes, compares, and file snapshots are on http://wdn.wowinterface.com
Beladona is offline   Reply With Quote
Unread 08-24-05, 06:55 PM   #5
Cairenn
Credendo Vides
 
Cairenn's Avatar
Premium Member
WoWInterface Admin
Join Date: Mar 2004
Posts: 6,910
Thanks Bela.
__________________
I'm fine. You know what 'fine' stands for, don't you? Yeah - Freaked Out, Insecure, Neurotic and Emotional
~~~~~~~~~~~~~~~~~~~
Co-Founder & Admin: MMOUI
FaceBook Profile, Page, Group
Avatar Image by RaffaeleMarinetti
Cairenn is online now   Reply With Quote
Unread 08-24-05, 08:14 PM   #6
Kaelten
Jack's raging bile duct
 
Kaelten's Avatar
Featured
Join Date: May 2005
Posts: 771
I noticed that the file that contained things like gsub = string.gsub is now missing, does that mean that these shortcuts have been removed or have they just been moved to a different file?
__________________
WowAce.com & CurseForge.com Adminstrator
Developer of Ace3, OneBag3, and many other addons and libraries
Project lead and Mac developer for the Curse Client

Anyone that needs what they want
And doesn't want what they need
I want nothing to do with
Kaelten is offline   Reply With Quote
Unread 08-24-05, 08:21 PM   #7
bsmorgan
A Theradrim Guardian
AddOn Author - Click to view addons
Join Date: Mar 2005
Posts: 60
I'm using the MonkeyQuest, MonkeySpeed, and MonkeyBuddy addons which I don't think are being maintained anymore.

GameTooltip:SetText(MONKEYSPEED_TITLE, ITEM_QUALITY6_TOOLTIP_COLOR.r, ITEM_QUALITY6_TOOLTIP_COLOR.g, ITEM_QUALITY6_TOOLTIP_COLOR.b, 1);

claims that ITEM_QUALITY6_TOOLTIP_COLOR is nil. Where would I find out what has changed here and an appropriate substitute?

Thanks for all the work you've all done to document the changes. I've bookmarked a bunch of stuff tonight!

Regards,

Brad
bsmorgan is offline   Reply With Quote
Unread 08-24-05, 08:52 PM   #8
Kaelten
Jack's raging bile duct
 
Kaelten's Avatar
Featured
Join Date: May 2005
Posts: 771
ITEM_QUALI TY6_TOOLTI P_COLOR = { r = 1.0, g = 0.5, b = 0 };

was the original line included in GameTooltip.lua but it was removed in 1.7
__________________
WowAce.com & CurseForge.com Adminstrator
Developer of Ace3, OneBag3, and many other addons and libraries
Project lead and Mac developer for the Curse Client

Anyone that needs what they want
And doesn't want what they need
I want nothing to do with
Kaelten is offline   Reply With Quote
Reply

Go BackWoWInterface » Developer Discussions » Tutorials & Other Helpful Info. » API changes from 1.6.1 to 0.7.0 (1700)

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off