- 02 Nov, 2010 17 commits
-
-
Nicolas Delaby authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39767 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Ivan Tyagov authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39765 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Ivan Tyagov authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39764 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Delaby authored
Base_viewPDMFieldLibrary git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39763 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Dumazet authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39762 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Dumazet authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39761 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Fabien Morin authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39760 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Kazuhiko Shiozaki authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39759 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Ivan Tyagov authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39758 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Jérome Perrin authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39757 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Dumazet authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39756 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Dumazet authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39755 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Dumazet authored
Makes the code more efficient, and much more readable. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39754 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Dumazet authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39753 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Dumazet authored
Exploring Zope code finally revealed what we needed in the code, to allow removing the "trick". It's a "trick" because we have no real reason to call again the __init__ method of a metaclass: it's nicer to understand what we need to do and to do it explicitely. In this case, the __get__ slot was missing after the __bases__ assignement (bases are recomputed and as a result __get__ is null'ed), and there is a method exposed in Zope's ExtensionClass to do exactly this and only this. The InitializeClass calls are included because ExtensionClass.__init__ calls __class_init__, which sets correctly roles and security on the class. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39752 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Dumazet authored
1) Do not use gc.get_referrers as this is highly inefficient. (the returned list contains a lot of objects, some of them are persistent objects, some of them are not classes, etc, etc... But worse, "dead" objects with a zero reference count can be returned by this function, and this function would "ressucitate" them. gc.get_referrers for application code is usually a bad idea) 2) Use instead a Python metaclass to track who's been subclassing a portal type class, and after a change on the portal type class, we just call the efficient PortalTypeMetaClass.getSubclassList to get descendants. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39751 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Dumazet authored
it is evil to recreate the attributes during _aq_reset. Scenario: * First call to aq_dynamic * aq_portal_type = Base.aq_portal_type - inner aq_dynamic business - causing an aq_reset call - Base.aq_portal_type = {} - [...] - return * local aq_portal_type is not anymore Base.aq_portal_type The symptoms are random, hard to reproduce loud KeyError crashes in hasattr(aq_portal_type[aq_key], accessor_name, None) that disappear on the second try. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39750 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 01 Nov, 2010 15 commits
-
-
Gabriel Monnerat authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39747 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Gabriel Monnerat authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39746 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Gabriel Monnerat authored
* The initial commit git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39744 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Kazuhiko Shiozaki authored
This business template is the refactored version of erp5_jquery, and the previous version is still available by installing erp5_jquery_legacy instead of this one. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39742 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Kazuhiko Shiozaki authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39741 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Ivan Tyagov authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39739 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Arnaud Fontaine authored
Sheets into ZODB git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39738 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Arnaud Fontaine authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39737 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Arnaud Fontaine authored
have always been an instance of Expression git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39736 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Arnaud Fontaine authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39735 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Rafael Monnerat authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39734 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Dumazet authored
* export migrated portal types with new type_class property git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39731 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Dumazet authored
* remove my_type_factory_method_id from BaseType_view as type_class is replacing this field with portal type classes code git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39730 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Arnaud Fontaine authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39728 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Arnaud Fontaine authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39727 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 31 Oct, 2010 4 commits
-
-
Julien Muchembled authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39726 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Julien Muchembled authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39725 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Julien Muchembled authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39724 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Julien Muchembled authored
This fixes testInventory and testInventoryModule git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39723 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 30 Oct, 2010 1 commit
-
-
Rafael Monnerat authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39719 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 29 Oct, 2010 3 commits
-
-
Rafael Monnerat authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39718 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Kazuhiko Shiozaki authored
FYI, pure python client is also under development: * http://pypi.python.org/pypi/handlersocket * https://code.launchpad.net/~songofacandy/+junk/pyhandlersocket git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39717 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Lucas Carvalho authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39715 20353a03-c40f-0410-a6d1-a30d3c3de9de
-