xbmc/xbmc — pull request #481 by pieh (2011-10-10 11:36:00+00:00)
Title: Store context in skin variables

Currently skin variables are created without context info. This cause problems if boolean conditions need context info to return proper value (http://forum.xbmc.org/showpost.php?p=905703&postcount=70). This PR fix this issue by adding context information to skin variables.

Simple logic:
- create skin variable "definitions" when parsing includes.xml (no context info)
- create proper skin variables with context info (copy of definition with context aware conditions) when parsing window .xml

This is bugfix so I think this (after review) should go in before release.