- 28 Jul, 2007 22 commits
-
-
Hanno Schlichting authored
-
Hanno Schlichting authored
-
Hanno Schlichting authored
-
Philipp von Weitershausen authored
-
Philipp von Weitershausen authored
-
Philipp von Weitershausen authored
-
Philipp von Weitershausen authored
-
Philipp von Weitershausen authored
-
Philipp von Weitershausen authored
-
Philipp von Weitershausen authored
-
Philipp von Weitershausen authored
-
Philipp von Weitershausen authored
of the loop here.
-
Philipp von Weitershausen authored
parent (by using the aq_inner() and aq_parent() functions, not the attributes).
-
Philipp von Weitershausen authored
-
Hanno Schlichting authored
Use new module level aq_inContextOf method, so this works for non-wrappers as well. Still needs to be made aware of __parent__ pointers
-
Philipp von Weitershausen authored
-
Philipp von Weitershausen authored
module-level aq_acquire, aq_inner, aq_parent, etc. functions.
-
Philipp von Weitershausen authored
function so that we can write a module-level function for that functionality as well.
-
Philipp von Weitershausen authored
-
Philipp von Weitershausen authored
-
Philipp von Weitershausen authored
from the base class.
-
Philipp von Weitershausen authored
and an object's parent by usingn the aq_parent and aq_inner *functions*, not attributes.
-
- 27 Jul, 2007 12 commits
-
-
Philipp von Weitershausen authored
-
Philipp von Weitershausen authored
Both are the canonical forms of getting to an object's parent now.
-
Philipp von Weitershausen authored
meta_type)...
-
Philipp von Weitershausen authored
'self' is a view) have an aq_chain that includes the view again. Naturally, this branch is all about ripping this out.
-
Philipp von Weitershausen authored
-
Philipp von Weitershausen authored
so let's simply reuse Zope3's ViewPageTemplateFIle
-
Philipp von Weitershausen authored
-
Philipp von Weitershausen authored
*usually* ends up being the view, unless the provider decides otherwise.
-
Philipp von Weitershausen authored
-
Philipp von Weitershausen authored
-
Philipp von Weitershausen authored
-
Philipp von Weitershausen authored
not the context).
-
- 24 Jul, 2007 4 commits
-
-
Philipp von Weitershausen authored
Log message for revision 77024: Read that mail again, we agreed on raising an AttributeError instead of returning None.
-
Philipp von Weitershausen authored
Log message for revision 71227: Step 4: Make aq_get aware of __parent__ pointers. (Also some comment cosmetics in _Acquisition.c) Log message for revision 71228: Test aq_parent property as well (in addition to aq_parent function) Log message for revision 71229: Step 5: Make aq_chain aware of __parent__ pointers.
-
Philipp von Weitershausen authored
Log message for revision 71224: Step 3: Make aq_parent aware of __parent__ pointers.
-
Philipp von Weitershausen authored
Log message for revision 71221: Step 2: Make aq_acquire aware of __parent__ pointers, even if the object isn't acquisition wrapped. Log message for revision 71223: Add another test that tests acquisition wrappers with containers that have __parent__. Log message for revision 71225: Cosmetics: adjust a piece of code that I added earlier to the indentation style of the overall file Log message for revision 71226: Cleanup: * no need to introduce another variable where we check for a __parent__ attribute * clean up after failed getattr (it throws an AttributeError) * properly DECREF the __parent__ attribute when it's no longer needed and the wrapper that is temporarily created from the __parent__ attribute. Log message for revision 75578: Added a test to Acquisition that shows the current segmentation fault problem, when Acquisition goes in circles. Log message for revision 76140: First attempt to fix 'Acquisition problem' when encountering cyclic hierarchies via __parent__ pointers. [hannosch, nouri] In addition, Hanno and Nouri's fix was expanded to not only cover circular __parent__ pointers but also to cover a mixture of circular __parent__ and aq_parent pointers (which can occur when old Implicit acquisition meets new __parent__ pointer code). Also cleaned up much of the comments and added more comments.
-
- 10 Jul, 2007 2 commits
-
-
Philipp von Weitershausen authored
Allow assignment to a wrapper's __parent__.
-
Philipp von Weitershausen authored
Warming up: Make acquisition wrappers have __parent__ in addition to aq_parent (they point to the same thing).
-