aefb63a7a3
- update TODO Entropy/EquoInterface/ServerInterface: - they are now singleton, which is a big leap ahead in terms of ease of use Entropy/Equo/Server: - text_query, server_query: adapt code to better with singleton EquoInterface/ServerInterface instances Entropy/Spritz: - EquoInterface is now singleton, no need to load a global variable Entropy/urlFetcher: - add thread_stop_func, speed_limit, OutputInterface parameters to ease behaviour customization - rename __setup_proxy (private) to _setup_proxy - add set_id method, useful for thread identification when running multiple instances of urlFetcher - close() is now a private method - added thread_stop_func handling, used to stop fetches from other threads - commit() is now a private method - add handle_statistics method, if reimplemented, it's handy for controlling dataflow from other threads Entropy/entropy.py: - remove some unused functions imported from outputTools Entropy/EntropyCacher: - EntropyCacher is now singleton too Entropy/MultipleUrlFetcher: - base class that mimics the behaviour of urlFetcher adding the support for multiple simultaneous downloads Entropy/entropyTools: - improve xml_from_dict_extended and dict_from_xml_extended functions (add support for None types) Entropy/entropy.sh: - pre-declare public functions (pkg_*) git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3078 cd1c1023-2f26-0410-ae45-c471fc1f0318