History log of /haiku/src/apps/haikudepot/ui/PackageContentsView.cpp
Revision Date Author Comments
# 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>


# 16f2f8eb 02-Jun-2020 Andrew Lindesay <apl@lindesay.co.nz>

HaikuDepot: Contents for Local Pkg (b)

Fixes a bug where contents are not displayed
for local files that are not installed.

Resolves #16161
Change-Id: I27abfd78bf7882b1961f8d9c6ade30d4c15ec2ad
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2865
Reviewed-by: waddlesplash <waddlesplash@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>


# 7457ccb4 13-Aug-2018 Augustin Cavalier <waddlesplash@gmail.com>

BMessageFormat: Rename to BStringFormat.

The ICU class is named MessageFormat, but on Haiku, it sounds too much
like something related to BMessage (which it isn't in the slightest)
and not part of the Locale system. It works almost entirely with BStrings,
so naming it BStringFormat makes much more sense.

OK'ed by PulkoMandy and Humdinger.


# 36ab52c7 20-Aug-2015 Stephan Aßmus <superstippi@gmx.de>

HaikuDepot: Adapt package contents when package status changes

Based on a patch in ticket #11886 by TwoFx, but with checks for
packageRef.Get() != NULL and better member name for the package status.


# 87084745 07-Apr-2015 Michael Lotz <mmlr@mlotz.ch>

HaikuDepot: Clean up trailing whitespace.


# 72992391 04-Apr-2015 Stephan Aßmus <superstippi@gmx.de>

HaikuDepot: Title versus Name distinction

* The name is the static package name. The title is either that name,
or a translated pretty version of the name.
* Adjust package info retrieval to server API changes. Unbreaks package
translations.


# fed7859a 11-Jan-2015 Stephan Aßmus <superstippi@gmx.de>

HaikuDepot: Quitting while contents were populated dead-locked.

Fixes #11737


# 20988420 10-Jan-2015 Stephan Aßmus <superstippi@gmx.de>

HaikuDepot: Temporary solution for empty contents tab

Display a message (quick solution: a BStringItem) that package contents are
not available for remote packages.


# 78814465 10-Jan-2015 Stephan Aßmus <superstippi@gmx.de>

HaikuDepot: Fixed package content extraction

When trying to find a matching parent item, we cannot rely on cached
pointers to BPackageEntries, since those are re-used per entry level
from the BPackageReader. Instead, we build the package entry path as
a string and store that with the list item.

Removed debug output.


# 84316965 10-Jan-2015 Stephan Aßmus <superstippi@gmx.de>

HaikuDepot: Populate package contents asynchronously

Also remove debugging output with O(n*n) runtime. The problem for which I
write this is already understood, but it is not yet fixed.


# 9550c5ec 09-Jan-2015 Stephan Aßmus <superstippi@gmx.de>

HaikuDepot: Fixes and cleanup to the Contents tab patch

Most changes were in the PackageContentOutliner and its HandleEntry() method
to make it work correctly. The parent entry of a visited entry may not be
the last parent entry, but some other previously added entry. We need a
PackageEntryItem class to also store the BPackageEntry together with the
list item.
Other small fixes.


# f52ceeba 06-Jan-2015 Sidhant Sharma [:TigerKid001] <tigerkid001@gmail.com>

Bug#11563 - HaikuDepot Contents Tab

Signed-off-by: Stephan Aßmus <superstippi@gmx.de>


# 36ab52c74eb0e51bc6540dfc3f1dd5a26bd779f0 20-Aug-2015 Stephan Aßmus <superstippi@gmx.de>

HaikuDepot: Adapt package contents when package status changes

Based on a patch in ticket #11886 by TwoFx, but with checks for
packageRef.Get() != NULL and better member name for the package status.


# 8708474567be756984f35cd6c5bfcc2c9546dc1e 07-Apr-2015 Michael Lotz <mmlr@mlotz.ch>

HaikuDepot: Clean up trailing whitespace.


# 72992391bb6f9351f80367604d64c5da21a9f4a9 04-Apr-2015 Stephan Aßmus <superstippi@gmx.de>

HaikuDepot: Title versus Name distinction

* The name is the static package name. The title is either that name,
or a translated pretty version of the name.
* Adjust package info retrieval to server API changes. Unbreaks package
translations.


# fed7859a71f6b2c5fda4946d5de02008f16c00dc 11-Jan-2015 Stephan Aßmus <superstippi@gmx.de>

HaikuDepot: Quitting while contents were populated dead-locked.

Fixes #11737


# 2098842047c4b3bf4af9c2ef4082dd70a38c582f 10-Jan-2015 Stephan Aßmus <superstippi@gmx.de>

HaikuDepot: Temporary solution for empty contents tab

Display a message (quick solution: a BStringItem) that package contents are
not available for remote packages.


# 788144656e52cf4cc1285449b43bffa664c6141c 10-Jan-2015 Stephan Aßmus <superstippi@gmx.de>

HaikuDepot: Fixed package content extraction

When trying to find a matching parent item, we cannot rely on cached
pointers to BPackageEntries, since those are re-used per entry level
from the BPackageReader. Instead, we build the package entry path as
a string and store that with the list item.

Removed debug output.


# 84316965edb8b5280b5ab8997cae7240ef3526e0 10-Jan-2015 Stephan Aßmus <superstippi@gmx.de>

HaikuDepot: Populate package contents asynchronously

Also remove debugging output with O(n*n) runtime. The problem for which I
write this is already understood, but it is not yet fixed.


# 9550c5ec8efe8d30e9639e4d3b7e9ce405f02309 09-Jan-2015 Stephan Aßmus <superstippi@gmx.de>

HaikuDepot: Fixes and cleanup to the Contents tab patch

Most changes were in the PackageContentOutliner and its HandleEntry() method
to make it work correctly. The parent entry of a visited entry may not be
the last parent entry, but some other previously added entry. We need a
PackageEntryItem class to also store the BPackageEntry together with the
list item.
Other small fixes.


# f52ceebacbcbe74440dccfcb4e601e2ba0c86a2f 06-Jan-2015 Sidhant Sharma [:TigerKid001] <tigerkid001@gmail.com>

Bug#11563 - HaikuDepot Contents Tab

Signed-off-by: Stephan Aßmus <superstippi@gmx.de>