History log of /haiku/src/apps/bootmanager/DrivesPage.cpp
Revision Date Author Comments
# 6de9c42d 24-Oct-2023 Humdinger <humdinger@mailbox.org>

BootManager: improved layouting

Addresses #15418 without completely solving it.
At least for font sizes >= 11 points it works mostly. Buttons are
no longer cut off, though the summary page showing all partitions
is taller than necessary for > 3 partitions, esp. for smaller font
sizes.

Views aren't vertically centered at least.

Change-Id: Id6224b83f27510c9ed45e303f0b5dabf47af0574
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7062
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>


# 6191e1b1 28-Sep-2022 Augustin Cavalier <waddlesplash@gmail.com>

BootManager: Use BControlLook::ComposeIconSize().

Fixes #17909.


# 8e3ccf2c 10-Feb-2019 Rob Gill <rrobgill@protonmail.com>

BootManager Disallow install to read-only drive (Bug #14596 & Bug #7200)

* Test for read-only devices during drive scan
if read-only detected, flag it in ui and disallow installation

Change-Id: Idd9e8e94d4a4840df97939154e1bbec70d0c0ece
Reviewed-on: https://review.haiku-os.org/c/1026
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
Reviewed-by: Axel Dörfler <axeld@pinc-software.de>


# 7833a997 31-May-2015 Janus <janus2@ymail.com>

BootManager: fix glitches in listview.

* Avoid labels overlapping.
* Avoid glitch on redraw partition size.
* Use system colors.
* Fix 9231.


# 4011cb5d 21-Nov-2014 Adrien Destugues <pulkomandy@gmail.com>

BootManager: different error when no MBR is found

We were using the same "no space available" message used when the first
partition starts too early. Be more specific here to make it clearer
what the problem is.

Fixes #7087.


# dc7bdd55 18-Nov-2014 Adrien Destugues <pulkomandy@gmail.com>

BootMan: Don't rename the "Install" button to "Quit"

... when there are no installable disks.

The button is disabled anyway, and it is not useful to rename it. The
program can be exited by closing the window anyway, so a "Quit" button
is useless.


# 73309d56 17-Sep-2014 Julien Lepiller <julien@lepiller.eu>

bootman: add the drive's icon in the drive list

* Also check status of GetIcon()
* Delete fDrive, fIcon in destructor

Fixes #7088

Signed-off-by: Jessica Hamilton <jessica.l.hamilton@gmail.com>


# 546208a5 16-Apr-2012 Oliver Tappe <zooey@hirschkaefer.de>

More catalog-related cleanup.

* rename B_TRANSLATE_CONTEXT to B_TRANSLATION_CONTEXT and
B_TRANSLATE_WITH_CONTEXT to B_TRANSLATE_CONTEXT, squashing a TODO
* adjust all uses of both macros in Haiku's source tree
* use correct header guard for collecting/Catalog.h

The renamed macros require adjustments to all external applications
using catalogs.


# 177d3b66 10-Jan-2011 Rene Gollent <anevilyak@gmail.com>

Cleanup.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40200 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 0baa186b 10-Jan-2011 Rene Gollent <anevilyak@gmail.com>

Refactor a little bit in order to better handle the button states as suggested by Axel. Should resolve #7073.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40193 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 3927ba4b 09-Jan-2011 Rene Gollent <anevilyak@gmail.com>

Don't crash if no item is currently selected. Fixes #7085.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40189 a95241bf-73f2-0310-859d-f6bbb57e9c96


# ea4b7aeb 08-Jan-2011 Axel Dörfler <axeld@pinc-software.de>

* Reselect the previously chosen disk, if any, otherwise, as before, the boot
drive.
* Do not change the wizard buttons after they have been updated already due to
the selection when building the UI.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40173 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 49c044ab 08-Jan-2011 Axel Dörfler <axeld@pinc-software.de>

* Changed bootman.S to use the BIOS provided drive to stage load itself, as well
as when the boot menu entry has a 0 BIOS drive. This allows the boot loader to
be installed on any drive.
* Implemented BootDrive class, and changed LegacyBootMenu the way it should
work now. Installing the boot menu should now work again, and the first time
while installing Haiku.
* Removed MakeArray.cpp - we already have such a tool in our repository.
* Build BootLoader.h automatically during the build process - the only
disadvantage is that you can only build it on x86 now (but other systems
don't use this boot loader, anyway).
* In general, the BootManager is prepared to handle different kinds of boot
menus; one only needs to write a class BootMenu implementation for this to
work - and have the possibility to choose between different menus, if there
are more than one per platform/partitioning system.
* Renamed quite a few methods.
* Automatic whitespace cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40149 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 5675f44e 05-Jan-2011 Axel Dörfler <axeld@pinc-software.de>

* Work in progress of being able to choose the drive to install the menu to.
Note, the BootManager might not work right now, anymore.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40130 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 7833a997192f28e8596d2b05b894efcda4f64095 31-May-2015 Janus <janus2@ymail.com>

BootManager: fix glitches in listview.

* Avoid labels overlapping.
* Avoid glitch on redraw partition size.
* Use system colors.
* Fix 9231.


# 4011cb5d303d89140dc966279f894865a6e9a208 21-Nov-2014 Adrien Destugues <pulkomandy@gmail.com>

BootManager: different error when no MBR is found

We were using the same "no space available" message used when the first
partition starts too early. Be more specific here to make it clearer
what the problem is.

Fixes #7087.


# dc7bdd559776bb8525203698cc64f8de806234b2 18-Nov-2014 Adrien Destugues <pulkomandy@gmail.com>

BootMan: Don't rename the "Install" button to "Quit"

... when there are no installable disks.

The button is disabled anyway, and it is not useful to rename it. The
program can be exited by closing the window anyway, so a "Quit" button
is useless.


# 73309d564f6e50159c2051eded8e466946e494eb 17-Sep-2014 Julien Lepiller <julien@lepiller.eu>

bootman: add the drive's icon in the drive list

* Also check status of GetIcon()
* Delete fDrive, fIcon in destructor

Fixes #7088

Signed-off-by: Jessica Hamilton <jessica.l.hamilton@gmail.com>


# 546208a53940a26c6379c48a7854ade1a8250fc5 16-Apr-2012 Oliver Tappe <zooey@hirschkaefer.de>

More catalog-related cleanup.

* rename B_TRANSLATE_CONTEXT to B_TRANSLATION_CONTEXT and
B_TRANSLATE_WITH_CONTEXT to B_TRANSLATE_CONTEXT, squashing a TODO
* adjust all uses of both macros in Haiku's source tree
* use correct header guard for collecting/Catalog.h

The renamed macros require adjustments to all external applications
using catalogs.


# 177d3b66f0260c4619c6e92e8bea08c45fad09dc 10-Jan-2011 Rene Gollent <anevilyak@gmail.com>

Cleanup.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40200 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 0baa186bfb88bd960b987a6cd8eb855d074f7dbe 10-Jan-2011 Rene Gollent <anevilyak@gmail.com>

Refactor a little bit in order to better handle the button states as suggested by Axel. Should resolve #7073.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40193 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 3927ba4b3de092d507c641def8bffbcf49d429b2 09-Jan-2011 Rene Gollent <anevilyak@gmail.com>

Don't crash if no item is currently selected. Fixes #7085.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40189 a95241bf-73f2-0310-859d-f6bbb57e9c96


# ea4b7aebf37a45850637f66aa27cbde4cee90d74 08-Jan-2011 Axel Dörfler <axeld@pinc-software.de>

* Reselect the previously chosen disk, if any, otherwise, as before, the boot
drive.
* Do not change the wizard buttons after they have been updated already due to
the selection when building the UI.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40173 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 49c044ab9fc4afb883931c0d0e5ba5083e60a563 08-Jan-2011 Axel Dörfler <axeld@pinc-software.de>

* Changed bootman.S to use the BIOS provided drive to stage load itself, as well
as when the boot menu entry has a 0 BIOS drive. This allows the boot loader to
be installed on any drive.
* Implemented BootDrive class, and changed LegacyBootMenu the way it should
work now. Installing the boot menu should now work again, and the first time
while installing Haiku.
* Removed MakeArray.cpp - we already have such a tool in our repository.
* Build BootLoader.h automatically during the build process - the only
disadvantage is that you can only build it on x86 now (but other systems
don't use this boot loader, anyway).
* In general, the BootManager is prepared to handle different kinds of boot
menus; one only needs to write a class BootMenu implementation for this to
work - and have the possibility to choose between different menus, if there
are more than one per platform/partitioning system.
* Renamed quite a few methods.
* Automatic whitespace cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40149 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 5675f44e8462b10aa718b2bcceb72f9ac60eca87 05-Jan-2011 Axel Dörfler <axeld@pinc-software.de>

* Work in progress of being able to choose the drive to install the menu to.
Note, the BootManager might not work right now, anymore.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40130 a95241bf-73f2-0310-859d-f6bbb57e9c96