#
e711e6e4 |
|
18-May-2015 |
Axel Dörfler <axeld@pinc-software.de> |
Moved BJob, and JobQueue into the support kit. * Put it in the BSupportKit namespace, following the style introduced with the package kit for now. * The BSupportKit::BJob class no longer knows about the package kit's Context class. However, the BPackageKit::BJob class does. * Due to the namespace juggling, a lot of files had to be touched. * The JobQueue class remains private. * Due to the way Haiku is built on itself, you cannot build this change under Haiku with an older release.
|
#
1aaa0c21 |
|
24-Jan-2015 |
Axel Dörfler <axeld@pinc-software.de> |
Package Kit: FetchFileJob now contains package size. * So that you know how much already was, and still has to be downloaded. * Automatic whitespace cleanup. * The link in FetchFileJob.h did not fetch the correct header under Haiku anymore (since the addition of the private headers to the image).
|
#
eee42275 |
|
14-Jun-2014 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
BPackageManager: Make BCommitTransactionResult available * BFatalErrorException: Add commitTransactionResult property and respective constructor. In case committing the transaction failed, BPackageManager throws a BFatalErrorException with the result. * BFatalErrorException::UserInteractionHandler: Pass BCommitTransactionResult to ProgressTransactionCommitted().
|
#
0de3219e |
|
14-Jun-2014 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
package daemon: Rework error and issue propagation to client * BDaemonClient: Move inner class BCommitTransactionResult to top level and make it public. * BCommitTransactionResult: - Add a whole bunch of specific error code enum values. Such an error code is now the primary error, as opposed to before where we would mix status_t and enum value errors. There's a systemError property of type status_t which may provide additional information, though (depending on the primary error type). - Remove the errorMessage property. Due to mapping all errors to the specific error codes this is no longer necessary. Mixing such a message with another error description is also not very helpful when it comes to localization (still not supported, though). - Add several properties (paths, strings, error codes) that serve as arguments to the primary error and are used by FullErrorMessage(). - Add issues property, a list of instances of new class BTransactionIssue. Those describe non-critical issues (e.g. failed update of a settings file) that occurred in the process of committing the transaction. Those issues should be presented to the user by the package management program. * Exception: Adjust to transport the BCommitTransactionResult properties. * CommitTransactionHandler, FsTransactions, Root, Volume: Adjust to BCommitTransactionResult/Exception changes. * CommitTransactionHandler: Now requires a BCommitTransactionResult to which it adds the issues it encounters. The reply BMessage is no longer needed, though. * Volume: Refactor common code from the three methods that use CommitTransactionHandler into new method _CommitTransaction.
|
#
3d97f9a0 |
|
29-Sep-2013 |
Rene Gollent <rene@gollent.com> |
package_daemon: Cleanups. - Remove no longer needed context object, as well as dummy BDecisionProvider implementation, as the base class now does the same directly by default.
|
#
9345049a |
|
28-Sep-2013 |
Rene Gollent <anevilyak@gmail.com> |
Package Kit: Implement progress notifications. - BJobStateListener: Add progress state and corresponding hook. - FetchFileJob: Notify job progress hook on libcurl notifications. - UserInteractionHandler: Add hooks for download progress and checksum validation progress. - PackageManager: inherit from JobStateListener and watch for job notifications for internally generated jobs. Forward to corresponding UserInteractionHandler hooks as needed. - Adapt pkgman, HaikuDepot and package_daemon to above changes. Neither HaikuDepot nor package_daemon's progress hooks are wired up to do anything yet though.
|
#
6c883121 |
|
11-Sep-2013 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
package daemon: Replace changes alert by a window
|
#
38c62dfb |
|
10-Sep-2013 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
package daemon: Implement dependency resolution support ... for package changes performed manually by the user (i.e. adding/removing files in a packages directory). Currently only done for the system root. Alternative roots should still work as before, so this shouldn't affect haikuporter (not tested yet). Needs some more work (e.g. the GUI part).
|
#
e711e6e42fd7ec3111ba9dc2324fa8efedd6674b |
|
18-May-2015 |
Axel Dörfler <axeld@pinc-software.de> |
Moved BJob, and JobQueue into the support kit. * Put it in the BSupportKit namespace, following the style introduced with the package kit for now. * The BSupportKit::BJob class no longer knows about the package kit's Context class. However, the BPackageKit::BJob class does. * Due to the namespace juggling, a lot of files had to be touched. * The JobQueue class remains private. * Due to the way Haiku is built on itself, you cannot build this change under Haiku with an older release.
|
#
1aaa0c2142c6c843e93bd1ee8edd4c7ea6256559 |
|
24-Jan-2015 |
Axel Dörfler <axeld@pinc-software.de> |
Package Kit: FetchFileJob now contains package size. * So that you know how much already was, and still has to be downloaded. * Automatic whitespace cleanup. * The link in FetchFileJob.h did not fetch the correct header under Haiku anymore (since the addition of the private headers to the image).
|
#
eee422752c6de8ab971937a81225008d254ad785 |
|
14-Jun-2014 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
BPackageManager: Make BCommitTransactionResult available * BFatalErrorException: Add commitTransactionResult property and respective constructor. In case committing the transaction failed, BPackageManager throws a BFatalErrorException with the result. * BFatalErrorException::UserInteractionHandler: Pass BCommitTransactionResult to ProgressTransactionCommitted().
|
#
0de3219e339506a0c94b584a0df0287414437033 |
|
14-Jun-2014 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
package daemon: Rework error and issue propagation to client * BDaemonClient: Move inner class BCommitTransactionResult to top level and make it public. * BCommitTransactionResult: - Add a whole bunch of specific error code enum values. Such an error code is now the primary error, as opposed to before where we would mix status_t and enum value errors. There's a systemError property of type status_t which may provide additional information, though (depending on the primary error type). - Remove the errorMessage property. Due to mapping all errors to the specific error codes this is no longer necessary. Mixing such a message with another error description is also not very helpful when it comes to localization (still not supported, though). - Add several properties (paths, strings, error codes) that serve as arguments to the primary error and are used by FullErrorMessage(). - Add issues property, a list of instances of new class BTransactionIssue. Those describe non-critical issues (e.g. failed update of a settings file) that occurred in the process of committing the transaction. Those issues should be presented to the user by the package management program. * Exception: Adjust to transport the BCommitTransactionResult properties. * CommitTransactionHandler, FsTransactions, Root, Volume: Adjust to BCommitTransactionResult/Exception changes. * CommitTransactionHandler: Now requires a BCommitTransactionResult to which it adds the issues it encounters. The reply BMessage is no longer needed, though. * Volume: Refactor common code from the three methods that use CommitTransactionHandler into new method _CommitTransaction.
|
#
3d97f9a0a919aac6dc0fd17fec9cf50485b6c535 |
|
29-Sep-2013 |
Rene Gollent <rene@gollent.com> |
package_daemon: Cleanups. - Remove no longer needed context object, as well as dummy BDecisionProvider implementation, as the base class now does the same directly by default.
|
#
9345049af828506bd2b20408e3612655a0153db1 |
|
28-Sep-2013 |
Rene Gollent <anevilyak@gmail.com> |
Package Kit: Implement progress notifications. - BJobStateListener: Add progress state and corresponding hook. - FetchFileJob: Notify job progress hook on libcurl notifications. - UserInteractionHandler: Add hooks for download progress and checksum validation progress. - PackageManager: inherit from JobStateListener and watch for job notifications for internally generated jobs. Forward to corresponding UserInteractionHandler hooks as needed. - Adapt pkgman, HaikuDepot and package_daemon to above changes. Neither HaikuDepot nor package_daemon's progress hooks are wired up to do anything yet though.
|
#
6c883121700a3339bcd43572ebcd72c415a3124a |
|
11-Sep-2013 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
package daemon: Replace changes alert by a window
|
#
38c62dfb8b5acffe9373b19e087d037d38a281a5 |
|
10-Sep-2013 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
package daemon: Implement dependency resolution support ... for package changes performed manually by the user (i.e. adding/removing files in a packages directory). Currently only done for the system root. Alternative roots should still work as before, so this shouldn't affect haikuporter (not tested yet). Needs some more work (e.g. the GUI part).
|