Commit Graph

409 Commits

Author SHA1 Message Date
lxnay a4d8f35dd2 Entropy/Spritz:
- dialogs, add missing module import


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3168 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-14 16:19:53 +00:00
lxnay 85b16445a0 Entropy/Entropy Notification Applet/Spritz:
- when subclassing entropy.client.interfaces.Client reimplement init_singleton instead of __init__ because the former is now a Singleton


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3163 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-14 15:37:00 +00:00
lxnay d4d0ecbaec Entropy/Spritz:
- fix typo


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3156 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-12 20:14:02 +00:00
lxnay 3a97fc8c8b Entropy/Client/Interface:
- split Client class into single ones
- deprecated camelCase methods
- remove a few, unused or useless
Entropy/docs:
- update APICHANGES
Entropy/*:
- adapt the code to work with non-deprecated methods


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3154 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-12 19:18:27 +00:00
lxnay d7151b6555 Entropy/*:
- update module imports to reflect the new entropy package structure
Entropy/Client/Interfaces/Package:
- fixed sources_fetch_step source packages download


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3150 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-11 09:36:47 +00:00
lxnay 11a5aeb55c Entropy:
- comment out another set of imports
Entropy/Spritz:
- improve thread shutdown
Entropy/entropy-repository-daemon:
- update threads handling code


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3128 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-08 18:48:31 +00:00
lxnay 83e184fc5e Entropy/*:
- make use of the new entropy package structure


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3123 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-08 15:49:55 +00:00
lxnay 715421089b Entropy/MELTDOWN :-):
- entropy modules is now a python package, kept backward compatibility for now


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3121 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-08 15:24:30 +00:00
lxnay d4cd836ac4 Entropy/Spritz:
- update Spritz copyright year on About


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3119 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-07 18:30:26 +00:00
lxnay 3df27f7c18 Entropy/FtpInterface (usage):
- raise exceptionTools.ConnectionError when needed and catch it
Entropy/Spritz:
- Equo interface, check if progressLog variable exists


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3099 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-02 12:08:34 +00:00
lxnay 1653563534 Entropy/Spritz:
- missing QueueExecutor import


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3092 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-01 13:14:44 +00:00
lxnay 713ec7d866 Entropy/Spritz:
- fix UI updates during updateRepositories


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3091 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-01 13:10:20 +00:00
lxnay e960e4afd5 Entropy/entropyTools:
- TimeScheduled: disable accuracy by default
Entropy/Spritz:
- better handle Repositories Updates UI refresh
Entropy/TODO:
- update TODO


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3090 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-01 12:48:27 +00:00
lxnay 349b164f7b Entropy/TODO:
- update TODO
Entropy/Spritz:
- wait for UGC to close cleanly
Entropy/entropyConstants:
- const_kill_threads: wait for threads to close cleanly
Entropy/MultipleUrlFetcher:
- beautify output
Entropy/EntropyCacher:
- on stop() wait for CacheWriter to close cleanly
Entropy/EquoInterface:
- fetch_files: minor updates and fixes
- fetch_files_on_mirrors: new method, that mimics the behaviour of fetch_file_on_mirrors but using MultipleUrlFetcher
- fetch_file_on_mirrors: some fixes
Entropy/PackageInterface:
- implement multi_fetch action
- match_checksum: update method adding arguments to ease code reuse
- new methods multi_match_checksum and multi_fetch_step
- new method multi_checksum_step


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3084 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-02-28 22:10:54 +00:00
lxnay aefb63a7a3 Entropy/TODO:
- 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
2009-02-27 17:59:34 +00:00
lxnay 40caacd0fb Entropy/entropyTools/*:
- new version of parallelTask, API changes, update every part of the code that uses it


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3071 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-02-23 22:56:54 +00:00
lxnay 14134e7007 Entropy/entropyTools/*:
- new version of TimeScheduled, API changes, update every part of the code that uses it


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3070 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-02-23 22:50:34 +00:00
lxnay bb724a8cd9 Entropy/Spritz:
- fix remove option on Updates tab


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3065 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-02-23 16:14:28 +00:00
lxnay d6df167385 Entropy/Clients:
- spawn add_download_stats instead of add_downloads


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3064 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-02-23 08:32:39 +00:00
lxnay 771d0d679e Entropy/Spritz:
- update desktop file


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3063 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-02-23 08:28:00 +00:00
lxnay 9138d410a9 Entropy/*:
- random trivial fixes


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3062 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-02-22 23:49:06 +00:00
lxnay 4629810b63 Entropy/urlFetcher:
- add a new error status "-4", meaning timeout error, move KeyboardInterrupt error code to -100
Entropy/EquoInterface:
- properly handle timeout errors without discarding data downloaded until then


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3061 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-02-22 19:46:52 +00:00
lxnay dd9864e06d Entropy/Spritz:
- fix SystemSettings call, scan is no more exported, use clear() instead


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3052 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-02-22 17:35:57 +00:00
lxnay 028910d672 Entropy/Spritz:
- package searches are now case-insensitive


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3027 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-02-15 22:01:30 +00:00
lxnay dd743eadc1 Entropy/Spritz:
- add support for ChangeLog visualization in package properties window
Entropy/Equo/Server:
- add changelog query support
Entropy/TODO:
- update TODO


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3019 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-02-14 14:42:40 +00:00
lxnay ec168afc1d Entropy/EquoInterface:
- rename some methods, we are entering in a final stabilization process
Entropy/TODO:
- update TODO


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3017 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-02-11 19:21:03 +00:00
lxnay cb509f5d42 Entropy/TODO:
- update TODO
Entropy/PackageInterface:
- call preinstall step before preremove and postremove on install actions
Entropy/client:
- move repositories.conf to repositories.conf.example
Entropy:
- use /usr/bin/python2 instead of /usr/bin/python as interpreter to avoid Python 3 issues


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2996 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-02-08 12:17:27 +00:00
lxnay b76740d612 Entropy/Spritz:
- split colours settings tab into two separate


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2983 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-02-03 08:14:07 +00:00
lxnay 79fd89d59a Entropy/Spritz:
- fix packages removal handling when cancel button is pressed on packages removal validation

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2981 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-02-02 17:05:06 +00:00
lxnay c285c911fd Entropy/Spritz:
- fix repo update button, cache handling


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2978 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-02-02 11:47:10 +00:00
lxnay 4dd6ed5b20 Entropy/Spritz:
- LicenseDialog, change API, make it multithreading-aware


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2975 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-31 15:41:00 +00:00
lxnay 461cec43e6 Entropy/Spritz:
- processPackageQueue: fix typo


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2974 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-31 14:55:41 +00:00
lxnay 37766ce0b9 Entropy/Spritz:
- TaskQueue executor: wrap code around a while loop to keep the FIFO empty as much as possible


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2973 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-31 14:54:28 +00:00
lxnay 22c2b19b2b Entropy/Spritz:
- implement TaskQueue like I did on the repo manager, this improves multithreading reliablity


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2971 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-31 14:13:01 +00:00
lxnay 33caba6c93 Entropy/Equo:
- kill all stale threads the hard way when an exception occured
Entropy/Spritz:
- same as above


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2967 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-30 08:14:41 +00:00
lxnay 1e37b78a32 Entropy/Spritz:
- also install entropy-repo-manager


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2962 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-28 16:22:15 +00:00
lxnay 2432f7af5d Entropy/Spritz:
- remove unused method get_hover_obj inside EntropyPackageView

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2961 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-28 15:52:40 +00:00
lxnay e34db48d1f Entropy/Spritz:
- move Spritz message area below main buttons
- improve behaviour of package menu and package treeview selections handling


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2960 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-28 15:51:37 +00:00
lxnay 49dbdf4b21 Entropy/Spritz/System Manager Client:
- unparallelize most of the socket calls to improve reliability


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2948 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-26 14:46:03 +00:00
lxnay 68cf13d04c Entropy/TODO:
- update TODO
Entropy/Spritz/Repository Manager Client:
- when printing an error dialog, use TaskQueue to route the GFX calls to the right thread
- when clicking on the SPM package info button, fork after having issued the socket command


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2945 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-26 10:37:10 +00:00
lxnay 76a4578f1d Entropy/SystemManagerServerInterface:
- revert previous changes


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2941 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-26 09:25:34 +00:00
lxnay a63c1265f6 Entropy:
- append -O to python interpreter args for equo and spritz


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2940 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-26 09:17:30 +00:00
lxnay 730b0f237b Entropy/TODO:
- update TODO :-)
Entropy/GUI Repository Manager:
- rework the structure to avoid calling GUI functions outside the main thread, since GTK libs are not completely thread-safe
- add a bunch of bug fixes


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2936 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-20 19:56:45 +00:00
lxnay 97b2649568 Entropy/SystemSettings:
- improve internal dictionary handling and move live_unmasking dict away from the persistent dict
Entropy/Spritz:
- improve reliability of the queue clean button, especially when masked packages have been selected


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2930 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-17 17:29:48 +00:00
lxnay 955514a672 Entropy/Spritz:
- Package Unmask dialog: make sure to only enable valid treeview elements and filter out garbage like parent categories


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2929 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-17 17:02:49 +00:00
lxnay b7d763ec82 Entropy/Spritz:
- fix Undo Remove feature, should work as expected now


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2928 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-17 16:56:14 +00:00
lxnay 26aa683cf6 Entropy/Spritz:
- move the exception window to its own dialogs.py class
- make every Spritz-based app to use ExceptionDialog directly to reduce code duplication
- remove gtkEventThread since it's not needed anymore
- fix traceback string reported by Spritz, which was a bit confusing


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2926 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-17 15:13:06 +00:00
lxnay ccea15cbe1 Entropy/Spritz:
- when aborting the queue processing, do not tell the user that there's been an error, PEBKAC is always behind the corner


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2922 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-17 13:13:29 +00:00
lxnay 3c76a90f17 Entropy/Spritz:
- in confirmation dialogs and queue view, show packages marked for removal at the top


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2920 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-17 11:15:16 +00:00
lxnay bb3f7cf44d Entropy/Spritz:
- Queue tab: add Clean button to reset the current package queue
- improve package search speed (string.find is ways faster)
- enable list search in the Advisories tab


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2919 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-17 09:26:17 +00:00