Age | Commit message (Collapse) | Author |
|
Sanitized a bit the policy container code. There Get(Type) and Get<T> methods
were supposed to have the same behavior, but they had different
implementations. Now all Get methods are based on the same code.
The real fix is that inheritsSet and inheritsScope are serialized only when
a policy was really found for that set and scope. Until now it was always
stored, so when deserializing, if the policy wasn't in the set for that
scope, it would crash.
|
|
Properly remove loaded policies when the add-ins that
define them are disabled.
Should fix 379 - Cannot enable the C# binding
|
|
We now use a special class for storing the invariant policies which
does not inherit policies from the user defined settings.
|
|
Moved PolicySet.CopyFrom to PolicyContainer.
|
|
* Makefile.am:
* MonoDevelop.Core.csproj:
* Solution.cs:
* SolutionItem.cs:
* IPolicyProvider.cs:
* PolicyContainer.cs: Added IPolicyProvider interface, to be
implemented by classes that provide policies.
* MonoDevelop.Core.addin.xml:
* PolicySetNode.cs: Added flag that specifies if a policy can be used
as base for differential serializations. It's false by default.
* PolicySet.cs:
* PolicyBag.cs:
* PolicyService.cs: Add support for user defined policies.
|
|
MD.Components into MD.Ide.
svn path=/trunk/monodevelop/; revision=153728
|