Commit Graph

5188 Commits

Author SHA1 Message Date
Fabio Erculiani fe4631e46e [entropy.services.interfaces] fix small bug with data_counter triggered by the previous commit 2009-07-16 14:35:28 +02:00
Fabio Erculiani 241190bedd [entropy.services.interfaces] enforce data reception constraints
When receiving data through the ServerHost Request Handler, make sure
that the length of data sent matches matches the lenght information
provided. Do not consider reception done until this is true. To avoid
infinite loop issues, add a watchdog timer which raises an (handled)
ValueError exception.
2009-07-16 13:03:13 +02:00
Fabio Erculiani 25ddf16b50 [entropy.services.interfaces] log instance signature too 2009-07-16 12:31:18 +02:00
Fabio Erculiani 1e16e8d1ff [entropy.services.interfaces] log more info when catching ValueError exceptions 2009-07-16 11:32:01 +02:00
Fabio Erculiani 5945636318 [entropy.services.interfaces] properly store traceback in case of ValueError exceptions 2009-07-16 10:51:52 +02:00
Fabio Erculiani 9c3c47e209 [docs] update API documentation 2009-07-16 09:23:50 +02:00
Fabio Erculiani 098bb818ae [entropy.tools] trivial changes 2009-07-16 09:03:08 +02:00
Fabio Erculiani 18f3000b2b [sulfur.packages] fix invalid method call 2009-07-16 08:59:20 +02:00
Fabio Erculiani 1bd7a3ee5f [entropy.qa] make get_missing_rdepends method "protected" 2009-07-16 08:57:05 +02:00
Fabio Erculiani 23987bdce4 [entropy.qa] move resolve_dynamic_library to entropy.tools 2009-07-16 08:55:11 +02:00
Fabio Erculiani 0c249b8d9b [entropy.qa] rename scan_missing_dependencies to test_missing_dependencies 2009-07-16 08:52:32 +02:00
Fabio Erculiani d391ec4bac [entropy.qa] rename libraries_test method to test_shared_objects 2009-07-16 08:49:51 +02:00
Fabio Erculiani b0bedded43 [todo] update TODO 2009-07-16 08:49:41 +02:00
Fabio Erculiani 80289324cb [entropy.tools] make get_file_size working for unicode file_path strings too 0.97.7 2009-07-15 23:26:57 +02:00
Fabio Erculiani fc4048464e [entropy.client.interfaces.Client] tweak Client constructor init order again 0.97.6 2009-07-15 23:16:38 +02:00
Fabio Erculiani 5e018b5cb9 [entropy.client.interfaces.methods] no need to run world updates calculation on load_repository_database 2009-07-15 23:11:45 +02:00
Fabio Erculiani 054db055fa [entropy.client.interfaces.Client] fix Entropy Client plugin init issue
When Client class is instantiated, validate_repositories() is called
before the Entropy SystemSettings Client plugin is effectively added.
This can cause world updates calculation method to raise KeyError
exception when referencing SystemSettings client plugin metadata.
0.97.5
2009-07-15 23:04:58 +02:00
Fabio Erculiani def1c87cae [entropy.output] add docstrings (partial) 2009-07-15 20:13:57 +02:00
Fabio Erculiani 698d9de48c [entropy.security] add docstrings (incomplete) 2009-07-15 19:36:26 +02:00
Fabio Erculiani 9994d0dc62 [entropy.qa] add todo 2009-07-15 19:36:02 +02:00
Fabio Erculiani e9aec38622 [sulfur.dialogs/sulfur.event] Package info window fixes:
:: make User Generated Content tab sending a signal when clicked
   (instead of keeping the app locked with UGC data retrieval)
:: make UGC refresh button working (bug in data handling)
2009-07-14 16:51:20 +02:00
Fabio Erculiani fb0c79439a [sulfur] when loading UGC cache, sync EntropyCacher to make sure that data is ready 2009-07-14 16:50:47 +02:00
Fabio Erculiani 6c51fb51c2 [sulfur] rename Packages tab to Applications 2009-07-14 16:12:19 +02:00
Fabio Erculiani 28b3725a79 [docs] update API documentation 2009-07-14 13:47:06 +02:00
Fabio Erculiani c8df8f2a50 [entropy.qa] complete entropy.qa docstrings 2009-07-14 13:44:33 +02:00
Fabio Erculiani 269b787d95 [entropy.spm] backup ACCEPT_LICENSE Portage setting only when setting it 0.97.4 2009-07-13 19:23:21 +02:00
Fabio Erculiani cf636aa5f6 [sulfur.Makefile] fix Sulfur installation 0.97.3 2009-07-13 16:20:06 +02:00
Fabio Erculiani c13f3d1b29 [entropy.client.interfaces.methods] improve remove_repository
It happened that when a repository got removed through remove_repository
its entry in Client.validRepositories didn't get removed in time
to avoid printing a wrong error message to user.
0.97.2
2009-07-13 14:46:47 +02:00
Fabio Erculiani d4f4684d5f [entropy.output] fix xtermTitle 2009-07-13 13:51:41 +02:00
Fabio Erculiani aaa8f7beba [entropy.output] partially add docstrings to entropy.output 2009-07-13 13:49:45 +02:00
Fabio Erculiani 3c9848a940 [translations] update Italian translation 2009-07-13 12:22:30 +02:00
Fabio Erculiani 034fababe4 [entropy.client.interfaces.methods] fix wrong const_debug_write string formatting 2009-07-13 12:08:24 +02:00
Fabio Erculiani c32a0b73f7 [entropy.spm] add more comments on portage.doebuild 2009-07-13 12:06:33 +02:00
Fabio Erculiani bad861736d [entropy.spm] doebuild: fix ebuild check_license's Portage pkg_setup bug
Portage, when used through its API, doesn't seem to source all the ebuild
variables, in our case, the triggering variable was "LICENSE" which was
not set properly when calling portage.doebuild("setup"). The buggy package
is "net-wireless/broadcom-sta" which contain check_license into pkg_setup.
2009-07-13 11:27:37 +02:00
Fabio Erculiani d78a7142f7 [entropy.client.interfaces.trigger] show pkg_setup output when entropy is running in debug mode 2009-07-13 11:10:03 +02:00
Fabio Erculiani d301e9515b [client.text_ui] make possible to install entropy packages via relative paths 2009-07-13 08:33:00 +02:00
Fabio Erculiani 646b7d33e6 [entropy.client.interfaces.package] force accept_license to Spm for config action too. 2009-07-12 21:54:29 +02:00
Fabio Erculiani 18cfed45a2 [translations] update translations 2009-07-12 21:48:22 +02:00
Fabio Erculiani 17e86bb06f [equo] make equo "not enough parameters" string translatable 2009-07-12 21:38:16 +02:00
Fabio Erculiani 4472fef456 [entropy.client.interfaces.fetch] fix wrong plural string 2009-07-12 21:35:12 +02:00
Fabio Erculiani 7a17a3fae4 [sulfur.packages] several speed improvements and fixes
:: make Queue class using SulfurSignals to emit queue changes
:: dramatically improve speed of EntropyPackages._pkg_get_downgrade
:: add some debugging output to EntropyPackages class
2009-07-12 21:29:18 +02:00
Fabio Erculiani 753235df54 [entropy.package] improve constructor of EntropyPackage, add (commented out) __getattr__ method to ease debugging 2009-07-12 21:28:24 +02:00
Fabio Erculiani 256140cb99 [sulfur] handle new signals declared into sulfur.event 2009-07-12 21:27:05 +02:00
Fabio Erculiani c81e1e1fa2 [sulfur] use const.debug to determine if Sulfur is running in debug mode 2009-07-12 21:26:42 +02:00
Fabio Erculiani 44c2ae4a27 [sulfur.setup] move debugging mode code here 2009-07-12 21:25:33 +02:00
Fabio Erculiani d5d145c767 [sulfur.views] fix bug that caused inability to "undo" actions on the "Queued" tab 2009-07-12 21:24:58 +02:00
Fabio Erculiani 79f3dc3109 [sulfur.event] register new UI events 2009-07-12 21:24:21 +02:00
Fabio Erculiani af18d2d60d [sulfur.views] refresh QueueView items when UGC data has been updated. 2009-07-12 18:09:12 +02:00
Fabio Erculiani ddd61f534b [sulfur] change name of the repository edit confirmation button, from "edit" to "save" 2009-07-12 18:03:36 +02:00
Fabio Erculiani 23d34b4c23 [sulfur] improve packages search bar experience 2009-07-11 22:22:30 +02:00