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


# 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>


# 42b6e527 20-Sep-2018 Kacper Kasper <kacperkasper@gmail.com>

Revert "HaikuDepot: don't scale bitmaps"

This reverts commit 2ba2d603518c6d00c8de4ab00b7f39726ba5f02c.

...and properly fix the scaling issue.

Change-Id: I2c7ef833c1ff592dd95ea7d83d3f7beced42f209
Reviewed-on: https://review.haiku-os.org/589
Reviewed-by: waddlesplash <waddlesplash@gmail.com>


# 2ba2d603 18-Sep-2018 Kacper Kasper <kacperkasper@gmail.com>

HaikuDepot: don't scale bitmaps

* There was an off-by-one error in initialization code;
BRect(0, 0, 15, 15) does not create 16x16 bitmap - it is 15x15.
As a result vector icons were rendered at 15x15 and then scaled to
16x16.

Change-Id: If1b57148e5a887a4bf71e01606d3d0d6fd0ed149
Reviewed-on: https://review.haiku-os.org/585
Reviewed-by: waddlesplash <waddlesplash@gmail.com>


# 622e144f 27-Nov-2017 Julian Harnath <julian.harnath@rwth-aachen.de>

HaikuDepot: add icons to screenshot window tool bar

* Arrow icons instead of text for previous/next buttons


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

HaikuDepot: Clean up trailing whitespace.


# 7b434ea4 26-Dec-2014 Stephan Aßmus <superstippi@gmx.de>

HaikuDepot: SharedBitmap: Enlarge maximum stream size

This is used for screenshots and some are larger than 128KiB.


# 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.


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

HaikuDepot: Clean up trailing whitespace.


# 7b434ea483eb53797c71806a6e07f4f5168ea323 26-Dec-2014 Stephan Aßmus <superstippi@gmx.de>

HaikuDepot: SharedBitmap: Enlarge maximum stream size

This is used for screenshots and some are larger than 128KiB.


# 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.