#
43e19c47 |
|
13-Mar-2024 |
Andrew Lindesay <apl@lindesay.co.nz> |
HaikuDepot: Fixes for Language Handling Change-Id: Ic6d5a59396f778f684985fad0e39985197c380b3 Reviewed-on: https://review.haiku-os.org/c/haiku/+/7524 Reviewed-by: Jérôme Duval <jerome.duval@gmail.com> Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
|
#
bf866d5e |
|
17-Feb-2024 |
Andrew Lindesay <apl@lindesay.co.nz> |
HaikuDepot : Improve Language Code Handling HDS is soon going to be enhanced to deal with more than just the two-character ISO language codes that it currently supports. The logic in HD is currently expecting that HDS will only supply these two character codes. This change is about making adjustments to be able to cater to any ICU language IDs from HDS. The naming in HDS is still going to continue to use the terminology that it currently does; it will call the identifier for a language a "natural language code". The HD source will instead reflect the nomenclature of ICU and call the same thing a language ID. Change-Id: Ib138c2e3b7b667edf15cd497c2f710f80b3c29f8 Reviewed-on: https://review.haiku-os.org/c/haiku/+/7424 Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org> Reviewed-by: Niels Sascha Reedijk <niels.reedijk@gmail.com>
|
#
3538133f |
|
28-Oct-2023 |
Andrew Lindesay <apl@lindesay.co.nz> |
HaikuDepot: Log Process Report To make it easier to understand what process elements are taking a long time to run, a small simple report is output as debug log at completion of a process. Change-Id: I09b93c494961e7abbbd22a3c58c64631f08025af Reviewed-on: https://review.haiku-os.org/c/haiku/+/7075 Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
|
#
08a5804d |
|
19-Oct-2023 |
Andrew Lindesay <apl@lindesay.co.nz> |
HaikuDepot: resolve occasional segfault in logging From time to time there is a segfault seemingly coming from the log macros. This seems to be coming from some logic to get a single character to denote the level of the log line. This commit simplifies that expression which seems to have resolved the problem. Change-Id: I8d5325feb6d534ec38c653397585318b5dcbad39 Reviewed-on: https://review.haiku-os.org/c/haiku/+/7057 Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org> Reviewed-by: waddlesplash <waddlesplash@gmail.com>
|
#
f67e0538 |
|
20-Feb-2022 |
Andrew Lindesay <apl@lindesay.co.nz> |
HaikuDepot: Size Package Files Obtain the size of local package files. Fixes #17445 Change-Id: Ica15d3f7c1e80bcf9b3b23d6af851cc33b5b6253 Reviewed-on: https://review.haiku-os.org/c/haiku/+/5016 Reviewed-by: Andrew Lindesay <apl@lindesay.co.nz>
|
#
0d4fa3e5 |
|
23-Oct-2021 |
Andrew Lindesay <apl@lindesay.co.nz> |
HaikuDepot: Show Publish Date Add a column to the table to show the publish date. Also add text on the featured packages view to show the publish date. Supports sorting. Fixes #13006 Change-Id: I19d9bc5bf7f44b5673c2ade5d00de8fdadbe1b06 Reviewed-on: https://review.haiku-os.org/c/haiku/+/4649 Reviewed-by: humdinger <humdingerb@gmail.com> Reviewed-by: Andrew Lindesay <apl@lindesay.co.nz> Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
|
#
d75b4d61 |
|
31-Jan-2021 |
Andrew Lindesay <apl@lindesay.co.nz> |
HaikuDepot: Remove Custom List Further removal of the use of custom list class; this time with the package lists. Relates To #15534 Change-Id: I1f01ed9d5ddbd7754097ce0adbf505d6ba17fd2f Reviewed-on: https://review.haiku-os.org/c/haiku/+/3732 Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
|
#
779ab335 |
|
09-Dec-2020 |
X512 <danger_mail@list.ru> |
use .IsSet() instead if .Get() != NULL Change-Id: Ia2b7a719fd398e78cc3b11d4f7b02cb81179f65f Reviewed-on: https://review.haiku-os.org/c/haiku/+/3488 Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
|
#
9984ca59 |
|
07-Jan-2021 |
Andrew Lindesay <apl@lindesay.co.nz> |
HaikuDepot: Remove Custom List Further removal of the use of custom list class. Relates To #15534 Change-Id: I1d84b562b334e5e52ed4772bad3a6aea7b715562 Reviewed-on: https://review.haiku-os.org/c/haiku/+/3657 Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
|
#
a5e4976d |
|
22-Sep-2020 |
Andrew Lindesay <apl@lindesay.co.nz> |
HaikuDepot: Lists; Categories + Stabilities Remove use of custom list class where it is not really required in the area of Categories. Also introduces stabilities relayed over from the Server and used in the HD user interface instead of being hard-coded. Relates To #15534 Change-Id: Ib71141e71cd4a0b4882827e2e59b62072de01b4b Reviewed-on: https://review.haiku-os.org/c/haiku/+/3331 Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
|
#
fa5c8097 |
|
25-Jul-2020 |
Andrew Lindesay <apl@lindesay.co.nz> |
HaikuDepot: Languages List Abstacts the list of supported languages into the LanguageModel class preventing use of List. Also; fix a few cases where newer logging techniques may have caused incorrect logic flow. Relates To #15534 Change-Id: I144fe4788abdaf0d93e53eeabc97b3f7aa2ec710 Reviewed-on: https://review.haiku-os.org/c/haiku/+/3085 Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
|
#
f96d1f4d |
|
10-Jul-2020 |
Andrew Lindesay <apl@lindesay.co.nz> |
HaikuDepot: Better Logging Changes the logging in HD to use a macro for the various log levels to declutter the code and to make it easier to more systematically log. Change-Id: I025970707a0a11e7e3aaa4b52fc91288af0183f5 Reviewed-on: https://review.haiku-os.org/c/haiku/+/3018 Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
|
#
8c6ebdec |
|
20-May-2020 |
Andrew Lindesay <apl@lindesay.co.nz> |
HaikuDepot: Changelog & Contents Tabs Disable the changelog tab in the case that a package has no changelog. Also disable the contents tab and do not attempt to load the package contents in the case where a package is not installed on the host. Resolves #15299 Change-Id: Id17daf46aba6709f35438db2ee30f3485fc251ea Reviewed-on: https://review.haiku-os.org/c/haiku/+/2749 Reviewed-by: humdinger <humdingerb@gmail.com> Reviewed-by: waddlesplash <waddlesplash@gmail.com>
|
#
c4199192 |
|
19-May-2020 |
Andrew Lindesay <apl@lindesay.co.nz> |
HaikuDepot: Performance This change removes two mistakes I made a long time ago that caused unnecessarily copying of lists of data. This fix speeds up the UI alot. This change also clears data in UI list elements when a bulk load is requested. It stops clearing otherwise and instead uses "add" and "remove" operations in the lists which is OK now because the UI list elements are much faster than they have been in the past. This removes the strange clean-and-reload that was visible in the UI previously. A threaded package loading system was put in place a long time ago, but with these performance improvements this mechanism is no longer necessary; it has been removed to simplify the code. Fixes #16012 Change-Id: I393cee929695726539602b51630ae285fb8384f1 Reviewed-on: https://review.haiku-os.org/c/haiku/+/2748 Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
|
#
041bbff9 |
|
29-Nov-2019 |
Andrew Lindesay <apl@lindesay.co.nz> |
HaikuDepot: Better Logging of Cache File Creation A user has reported having some problems around initial use of HaikuDepot and this seems to be related to setup of the directories etc... at start time. This change should improve the logging so that it is easier to identify the cause. Also some additional locking has been introduced as there might be a problem where two threads are creating the same directory at the same time. Relates to #15493 Change-Id: I4cbfda7c2ce87b8509ceb78788b7995ee3185050 Reviewed-on: https://review.haiku-os.org/c/haiku/+/1980 Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
|
#
89b16bb4 |
|
22-May-2019 |
Andrew Lindesay <apl@lindesay.co.nz> |
HaikuDepot: Categories from Server The list of categories for packages is currently hard-coded into the HaikuDepot desktop application. This change will change that so that the list is obtained from the HaikuDepot Server system and is always up to date with the server's list of categories. Change-Id: I757732f4d771e1599d6ad9c85cd65905640de928 Reviewed-on: https://review.haiku-os.org/c/1478 Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
|
#
81dab213 |
|
03-Jan-2019 |
Andrew Lindesay <apl@lindesay.co.nz> |
HaikuDepot : Generate Server Model + Parser The server uses JSON schema to generate some data-transfer-object (DTO) models for communication with other systems. This same schema can be used to generate the C++ .cpp and .h files for use in HaikuDepot. So far these have been generated by hand and then manually added to the Haiku repo. Now the schema files can be copied over and from those, the sources are generated. Change-Id: Ia288cb7a50843e5e2bc403a6ce55508a04218c04 Reviewed-on: https://review.haiku-os.org/c/858 Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
|
#
3369e03d |
|
15-Dec-2018 |
Andrew Lindesay <apl@lindesay.co.nz> |
HaikuDepot: Process and Data-loading Improvements This change is a reshuffle of the backend processing involved in the aquisition of data from servers including the pull-down and load of HPKR data as well as the pull-down and load of data from the HaikuDepotServer (HDS) system. The driver for this change is to implement an initial implementation of a progress bar for the loading of data as the application starts. The following are notable changes; * Removed some previously attempted 'functional style' logic in the model which didn't fit well with C++ * Use of the base-url in the logical mapping from HDS and HD data is no longer required and has been removed * Some logging has been improved making it clearer which part of HD is producing the logging which in turn helps with debugging issues * List class has been modified to more cleanly support sorted lists and binary searches; tests have also be updated accordingly * Reorganise and tidy-up of the data-loading processes' structures * The local repository update (HPKR) and data-load occur in background processes now in the same system as the HDS data-load - this has been crudely shifted from the MainWindow to new Processes and incorporated into the background processing system * The 'state-machine' background process runner is now replaced with a 'coordinator' style approach that can more easily handle the new processes related to HPKR loading. * Progress for loading processes is shown in the main window in the WorkStatusView - this is flickering a bit, but basically works * Added some documentation regarding how Processes work in the system * The "Refresh Repositories" menu item now also updates data from HDS * The "Refresh Repositories" menu item is disabled when the background processes are running that update the repository data Some further refinement would be good, but this change is large enough for one round of improvements. There is an issue that the status bar is used for screenshot display as well as this data-loading, but that was the case before so it is something that can be dealt with later if it is a problem. Change-Id: I7668307645e3aabaf7e4a6e37e2cca80cc0f489e Reviewed-on: https://review.haiku-os.org/770 Reviewed-by: waddlesplash <waddlesplash@gmail.com>
|