- 14 Mar, 2000 10 commits
-
-
Jim Fulton authored
Major restructuring to fix a number of bugs: - Methods (retrieved as attributes) were sometimes not bound to objects in the right context. This could cause acquisition to fail within the methods. - An optimization skipped calling the __of__ method, assuming that it was skipping the standard acquistion __of__ method. This could cause application __of__ methods to get skipped. Now the __of__ method is never skipped. The return value is inspected to see if it can be simplified. In the future we might be willing to skip calling __of__ if we *know* that we are skipping a known __of__. - The special value, Acquired, used to force acquisition was not handled correctly when it was acquired from a container. - Some error handling was not done quite correctly. I don't know if this caused any problems. - Nested explicit acquisition wrappers may not have been handled correctly when accessed through attribute access of a containing implicit wrapper. Reduced code by sending all searches through the same routine, Wrapper_findattr. Added two new features: - You can now assign the aq_parent attribute of a wrapper. This is deemed to be useful in certain applications, including XML/DOM. - The method aq_acquire hysterically has two usages: o To explicitly acquire from an Explicit acquirer wrapper. o To apply a filter to guide the search process (e.g. for security). Sometimes, someone might want to apply a filter without forcing explict acquisition. An additional optional argument was added to allow use of a filter without forcing explicit acquisition.
- 13 Mar, 2000 4 commits
-
-
Evan Simpson authored
-
Michel Pelletier authored
-
Michel Pelletier authored
-
Michel Pelletier authored
-
- 10 Mar, 2000 6 commits
-
-
Jim Fulton authored
-
Jim Fulton authored
-
Evan Simpson authored
Made 'record' class act like a mapping, primarily so that you can pass it to a propertysheet's change or edit methods. It is also nice to be able to inspect a record's keys().
-
Amos Latteier authored
Fixed a bug in manage_clone thanks to Tom Scheidt. The cloned object was not being returned in its acquisition context. This caused permission problems when trying to perform operations on it.
-
- 09 Mar, 2000 10 commits
-
- 07 Mar, 2000 1 commit
-
-
Amos Latteier authored
Fixed problems which can occurr over a very fast link. This was fixed in 2.1.3 but didn't make it back into the regular branch.
-
- 02 Mar, 2000 1 commit
-
-
Christopher Petrilli authored
-
- 28 Feb, 2000 2 commits
-
-
Michel Pelletier authored
-
Michel Pelletier authored
bug... (not incriminating...)
-
- 24 Feb, 2000 1 commit
-
-
their __ac_permissions__ definition, but this caused the View permission for File objects to be unsettable since the 'tag' method (which actually only exists on Images) was in the 'View' permission definition. To fix this, I gave Image its own __ac_permissions__ structure and got rid of the reference to 'tag' in the __ac_permissions__ of File.
-
- 23 Feb, 2000 3 commits
-
-
Amos Latteier authored
-
Amos Latteier authored
-
Amos Latteier authored
Fixed a problem with old products that didn't have ProductHelp objects and improved the HelpSystem API a little to boot.
-
- 21 Feb, 2000 1 commit
-
-
Amos Latteier authored
-
- 17 Feb, 2000 1 commit
-