Release Notes
   Mod:PetFeeder
Author: Jeff Parker

Pet Feeder implements a simple to use drag/drop interface for setting up any number of foods for your pet to eat.  Itwill automatically feed your pet when its happiness falls below the threshold you set (Content/Happy). Add foods by drag/drop them onto the foods list -- no need to specify what kind of food it might be. Remove a food item by clicking on it in the food list. 

Food items can be in any bag and if a food runs out the pet simply moves on to the next food item.

Features:
- detects certain situations and will not attempt to feed if:
  - you are Sitting or Mounted 
  - you are using Feign Death or Shadowmeld.
  - you are eating or drinking
  - you are Channeling (mending pet, bandaging, holding breath, etc)
  - the pet is poisoned

- supports multiple pets and keeps track of foods per pet.
- Sort your food to consume by. (alpha a-z, alpha z-a, by quantity 1..N, by quantity N..1) or no sorting at all.
- Consumes the lowest stack of food first when you have more than one stack of one food.
- Bindable method to force feed the pet  (use /pf feed)
- Automatically detect and maintain the food list based on your inventory.
- Automatically detects and removes foods & items the pet does not like to eat.

Quick and simple to setup and very effective.

Use /pf or /petfeeder to bring up the interface. You must have established a pet to bring up the interface.

Version 3.0.1
- updated checks for DE/FR "Hunter"
- updated to check for 18 slot bags
- added texture check for _Fish_ in isFood()

Version 3.0
- updated interface allows for managing unliked/don't eat foods and displays icon of food
- added new sorting attribute: Quality
- added ability to sort on 1 or 2 attributes
- updated food detection algorithm to take textures into account

Version 2.1.2 -
- updated localization for German
- added check/remove for foods that are too low level for your pet

Version 2.1.1 -
- Detects AFK.
- localized for German
- added 'debugtoggle' switch.  Use /pf debugtoggle to turn debug mode on/off.
- Allow feeding if "Ability_Mount_WhiteTiger" is active as its used for "Aspect of the Pack" as well as a Mount.
- Fixed bug where Pet is kept in Combat state if it dies.  (although this resolves itself after the next combat sequence)
- removed VARIABLES_LOADED event registration.
- added PLAYER_ALIVE event registration to catch event when player is revived, to clear Combat flags.
- fixed bug where wrong food can be flagged as BadFood for pet if player manually feeds something pet doesn't like
- fixed bug in sorting where quantities were somehow set wrong.

Version 2.1 - 6/10/05
- Added check for SITTING.  Pet will not attempt to feed if sitting.  You must stand, jump or move to start feeding again.
- Added option to automatically detect put all foods in your inventory into the PetFeeder.  You can optionally have
  PetFeeder keep this list up-to-date for you.  With this feature turned on, foods will be removed as they are depleted
  from your inventory.
- Added button to clear all foods.
- Added checks for whether you are eating or drinking so pet doesn't interrupt.
- Located one problem: "Aspect of the Pack" is detected as a mount.  Blizzard uses "Ability_Mount_WhiteTiger" for this
  which is the same buff value used for being mounted on a Tiger. So feeding doesn't work if this is enabled.
- Fixed problem that incorrectly identified "Aspect of the Cheetah" as a mount ("Ability_Mount_JungleTiger").  This could end up 
  being a problem in itself if a Tiger mount also resolves to the same buff value.
- Observed a problem with WoW where PetHappiness events are not thrown correctly.  Seems to be rare and can be fixed by
  forcing a feeding of the pet.  The pet does not have a happiness icon next to its portrait when this occurs.
- Keeps track of foods your pet does not like and does not put them back into the list.

Version 2.0.3.4 - 6/9/05
- patch release for Blizzard changes to TOC version

Version 2.0.3.3 - 6/7/05
- patch release for Blizzard changes to FauxScrollFrame_Update

Version 2.0.3.2 - 6/6/05
- Properly updates quantities as consumed or created
- properly moves to next food items when current food is consumed to zero
- Pet won't feed when channeling (i.e. bandaging, healing pet)
- fixed bug when sitting and pet feeds (still can't detect player sitting!)

Version 2.0.3 - 6/4/05

- prevent feeding if:
 - Underwater breathing
 - Mounted
- when eating food in sorted order, choose slot of food with lowest amount

Version 2.0.2 - 5/27/05
- do not feed if Poisoned or if any Nature based debuff is active on the pet.
- Added messaging if user does not command a pet as PetFeeder cannot be launched
- Auto update food list when Pet changes
- Automatically detects and removes foods/items the pet does not like to eat.
- fixed redraw bugs on initial view
- TOC updated to 1300

Version 2.0.1 - 5/19/05
- bug release to fix typo

Version 2.0 - 5/18/05
- do not feed if Feigning Death
- do not feed if Shadowmeld is enabled
- let player put foods in the order to consume (don't sort)
- Added support for multiple pets.  Keeps track of foods per pet
- Added Sorting algorithms for consumption (alpha a-z, alpha z-a, by quantity 1..N, by quantity N..1)
- Added ability for force feeding (unless already feeding)
- Added binding support
- fixed UI redraw bugs
- fixed UI bug, non responsive to ESC.


Thanks for the great feedback!

Fixed the problems with updating quantities as they are consumed or created.  

Confirmed that the problem with exhausting a stack of food and not moving on to another item is resolved.

The pet now won't break channeling events ( bandaging, healing, holding breath) or attempt to feed if you're mounted.

I was unable to reproduce the problem where the pet won't feed after a rez.  I saw this once before and I noticed that the pet didn't have a Happy/Content/Unhappy icon shown when this happened.  I seemed that WoW wasn't firing the correct Pet event and the happiness level couldn't be identified -- this would definitely mess up any happiness based feeder.