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


# f0e491d3 28-Jul-2020 Andrew Lindesay <apl@lindesay.co.nz>

HaikuDepot: Icon / Tarball Handling

Instead of exploding the tar-ball of icons from
HDS, keep it as a tar-ball, index it and read
data directly out from specific indicies on demand.

This will speed up the process of downloading
the icons by removing the unpack. Also updates
will be faster by avoiding the need to delete the
old icon files.

Because icons are loaded on-demand, the start
time is faster by avoiding all the icon loads.
There are also savings on memory consumption.

Indexing on each load is surprisingly fast so
no external index is maintained. Likewise for
the tar-balls's meta-data.

This commit does not cover the implementation
of an LRU cache of the icons in memory.

Relates to #15370

Change-Id: Ia1647d8c805be89618f493d2592bf7877fca3f14
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3205
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>


# 30bd2c8c 19-Apr-2020 Andrew Lindesay <apl@lindesay.co.nz>

HaikuDepot: Fix Icon Backgrounds

Some icons are not correctly observing the color
of the background view they are drawing on. This
commit will fix that problem.

Resolves #14587

Change-Id: Icdd3eda915c985eba3517f888f29ccb2f8278487
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2500
Reviewed-by: waddlesplash <waddlesplash@gmail.com>


# bbf16bc6 06-Aug-2018 David Murphy <murphman@gmail.com>

HaikuDepot: Fix featured package icon drawing transparency

Change-Id: I4ed26754ef5c0bfb0638de1703ece7d84fadf12a
Reviewed-on: https://review.haiku-os.org/443
Reviewed-by: Andrew Lindesay <apl@lindesay.co.nz>


# fa19dd44 10-Dec-2015 looncraz <looncraz@looncraz.net>

apps: Convert to using Set*UIColor.

Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
Patches 0045-0075, 0077-0087 from looncraz, unmodified.


# 2a36368b 08-Apr-2015 Michael Lotz <mmlr@mlotz.ch>

HaikuDepot: Make BitmapView use SharedBitmaps directly.

Instead of extracting a BBitmap out of the SharedBitmap and giving that
to BitmapView, set SharedBitmaps directly. When using BBitmaps we
circumvent the reference counting of the SharedBitmaps and it would be
possible for the SharedBitmap and its BBitmaps to get deleted while
one of them was still used in a BitmapView.

Fixes use-after-free when icons are updated that are already used in
BitmapViews.


# 823d2b88 27-Sep-2014 Stephan Aßmus <superstippi@gmx.de>

HaikuDepot: Split generic and specific UI classes

* Also fixed placement of PackageManager which I must have
dropped into the wrong folder by accident.


# 2a36368bda35aed7210c3285019b286581fc8786 08-Apr-2015 Michael Lotz <mmlr@mlotz.ch>

HaikuDepot: Make BitmapView use SharedBitmaps directly.

Instead of extracting a BBitmap out of the SharedBitmap and giving that
to BitmapView, set SharedBitmaps directly. When using BBitmaps we
circumvent the reference counting of the SharedBitmaps and it would be
possible for the SharedBitmap and its BBitmaps to get deleted while
one of them was still used in a BitmapView.

Fixes use-after-free when icons are updated that are already used in
BitmapViews.


# 823d2b88e963cd51d30b7b7dcc22b6d32f685600 27-Sep-2014 Stephan Aßmus <superstippi@gmx.de>

HaikuDepot: Split generic and specific UI classes

* Also fixed placement of PackageManager which I must have
dropped into the wrong folder by accident.