History log of /haiku/src/apps/drivesetup/MainWindow.h
Revision Date Author Comments
# a075ce97 09-Apr-2019 Dancsó Róbert <dancso.robert@d-rendszer.hu>

DriveSetup: add "open with DiskProbe" menu

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


# 491bbe77 22-Nov-2013 Freeman Lou <freemanlou2430@Yahoo.com>

DriveSetup: Implement optimal zoom for main window

* Fixes #6265 and #8672.

- GCI 2013


# abc7fddf 24-Nov-2013 Freeman Lou <freemanlou2430@Yahoo.com>

DriveSetup: Context menu for drives/partitions added

* Fixes #9906.

- GCI 2013


# 8940ad25 12-Feb-2013 Axel Dörfler <axeld@pinc-software.de>

DriveSetup: Added support for changing partition parameters.

* Does not seem to work yet, though. The intel disk system should support it
now, but apparently the partition's delegate is not yet fully initialized
for whatever reason.


# a206dee3 01-Feb-2013 Axel Dörfler <axeld@pinc-software.de>

DriveSetup: improved default window size.

* The default width will no longer make the parameters and partition type
columns visible.
* Fixed default size of those two columns -- I did not notice that the column
state was being restored before, and thought it would just be another oddity
of BColumnListView :-)
* Since MainWindow maintains its size pretty much itself, the constructor no
longer gets a BRect.
* The window will now also be resized vertically to make space for all the
partitions (only affects first launch without settings file).
* Also made the window a bit higher by default.


# b039ee65 23-Jan-2013 Axel Dörfler <axeld@pinc-software.de>

Minor cleanup.

* Renamed *MI members to *MenuItem.


# badea728 03-Aug-2012 Alexander von Gluck IV <kallisti5@unixzen.com>

DriveSetup: Reorganize Disk menu.

* Group destructive and non-destructive operations
* Rename Disk->Format to Wipe (seems like a more modern term)
* Mostly bikeshed :)


# 47689d6e 03-Aug-2012 Alexander von Gluck IV <kallisti5@unixzen.com>

DriveSetup: Refactor gui layout as per ML thread

* Move disk partitioning systems under Disk menu
* Found and created bug #8827 (this wasn't introduced
by my changes and was pre-existing)
* My testing resulted in no regressions, however
please test though!


# f7a0f575 31-Aug-2009 Stephan Aßmus <superstippi@gmx.de>

When no settings file is found, resize the list view and the window such that
all columns are seen (taking care not to become bigger than the screen) and
center the window on screen.

+alphabranch


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


# 7f96148c 20-Jul-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

Patch by Bryce Groff with changes by myself:
* Added missing name parameter to the partitioning system module child creation
and child creation validation hooks. Pass the name to them.
* Added BPartitionParameterEditor interface, which is/will be used for editing
disk system specific parameters.
* Implemented partition parameter editors for BFS initialization and Intel
partition map child creation.
* Fixed the incorrect supported child partition type iteration in the Intel
partition map add-on. It does now return actual types.
* Handle the "active" flag parameter in the Intel partitioning system module.
* DriveSetup:
- Replaced the "Create" submenu by a simple menu item. The type can now by
chosen in the dialog.
- Make use of initialization and child creation parameter editors. Some
non-generic code has been moved to the respective editor implementations
(BFS, intel partitioning system).


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


# dc59ebe7 25-Jun-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

Patch by Bryce Groff with small changes by myself: Implemented partition
creation (ATM BFS only) and deletion.


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


# 4ee70e3b 15-May-2009 Stephan Aßmus <superstippi@gmx.de>

* Adopt the Init menu to the currently available
disk systems. For disk devices, we allow not only
file systems, but any disk system. This gets us
"Intel Partition Map" and "Intel Extended Partition".
I managed to initialize a disk with Intel Partition
Map this way.
* I imported a large chunk of currently disabled code
from Ingo's partitioner command line tool, which can
eventually be used to create partitions in the empty
space. I kept the "Create" menu still disabled, but
the correct content types are actually retrieved already,
which are "Intel Primary Partition" and "Intel Extended
Partition".


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


# 967d7204 03-Feb-2008 Stephan Aßmus <superstippi@gmx.de>

* Implemented support for generating global partition_ids for partitionable
spaces. This way we can use all the existing logic to select them in either
list view or the disk layout view. IAW, selecting empty spaces now works.
* Changed the way the Create menu works. It is now only enabled if a space
item is selected and then the sub items are filled with the types that
the parent partition says it supports for child creation. (Does not
yet seem to work.)
* PartitionViews for spaces were not put into the partition_id -> view map.
* Fixed focus indication when switching the disk for the disk layout view,
previously, the correct view was only selected when the disk did not change.
* Added a temporary work around to avoid showing bogus space items at all
(those smaller than a "cylinder size"). Currently hard coded to 8 MB size.
But I already have an idea how we could fix this in the Disk Device API
implementation.


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


# ec103c3c 27-Jan-2008 Stephan Aßmus <superstippi@gmx.de>

Moved DriveSetup from preferences to apps. Changed HaikuImage script
accordingly.


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


# 491bbe7797c6cfc073a1161bdb03d48602333035 22-Nov-2013 Freeman Lou <freemanlou2430@Yahoo.com>

DriveSetup: Implement optimal zoom for main window

* Fixes #6265 and #8672.

- GCI 2013


# abc7fddf07d3cc3f296681275cf392993e50743b 24-Nov-2013 Freeman Lou <freemanlou2430@Yahoo.com>

DriveSetup: Context menu for drives/partitions added

* Fixes #9906.

- GCI 2013


# 8940ad259ab803eff8176766a73f8f531142c3b6 12-Feb-2013 Axel Dörfler <axeld@pinc-software.de>

DriveSetup: Added support for changing partition parameters.

* Does not seem to work yet, though. The intel disk system should support it
now, but apparently the partition's delegate is not yet fully initialized
for whatever reason.


# a206dee38ea6adfa82f4cfeae22fe748deaf0477 01-Feb-2013 Axel Dörfler <axeld@pinc-software.de>

DriveSetup: improved default window size.

* The default width will no longer make the parameters and partition type
columns visible.
* Fixed default size of those two columns -- I did not notice that the column
state was being restored before, and thought it would just be another oddity
of BColumnListView :-)
* Since MainWindow maintains its size pretty much itself, the constructor no
longer gets a BRect.
* The window will now also be resized vertically to make space for all the
partitions (only affects first launch without settings file).
* Also made the window a bit higher by default.


# b039ee6572e456ad87d7240fe9e79bada2917105 23-Jan-2013 Axel Dörfler <axeld@pinc-software.de>

Minor cleanup.

* Renamed *MI members to *MenuItem.


# badea728fa8d7c91e70a3cc52e37da25b42239a9 03-Aug-2012 Alexander von Gluck IV <kallisti5@unixzen.com>

DriveSetup: Reorganize Disk menu.

* Group destructive and non-destructive operations
* Rename Disk->Format to Wipe (seems like a more modern term)
* Mostly bikeshed :)


# 47689d6e987c36c1b0157387f9c0636cff44e44f 03-Aug-2012 Alexander von Gluck IV <kallisti5@unixzen.com>

DriveSetup: Refactor gui layout as per ML thread

* Move disk partitioning systems under Disk menu
* Found and created bug #8827 (this wasn't introduced
by my changes and was pre-existing)
* My testing resulted in no regressions, however
please test though!


# f7a0f575a88b6a68498ee22393eb9201f912831c 31-Aug-2009 Stephan Aßmus <superstippi@gmx.de>

When no settings file is found, resize the list view and the window such that
all columns are seen (taking care not to become bigger than the screen) and
center the window on screen.

+alphabranch


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


# 7f96148cacdbf4ed476c22e6e8148b7f44a91d9e 20-Jul-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

Patch by Bryce Groff with changes by myself:
* Added missing name parameter to the partitioning system module child creation
and child creation validation hooks. Pass the name to them.
* Added BPartitionParameterEditor interface, which is/will be used for editing
disk system specific parameters.
* Implemented partition parameter editors for BFS initialization and Intel
partition map child creation.
* Fixed the incorrect supported child partition type iteration in the Intel
partition map add-on. It does now return actual types.
* Handle the "active" flag parameter in the Intel partitioning system module.
* DriveSetup:
- Replaced the "Create" submenu by a simple menu item. The type can now by
chosen in the dialog.
- Make use of initialization and child creation parameter editors. Some
non-generic code has been moved to the respective editor implementations
(BFS, intel partitioning system).


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


# dc59ebe78baea7622ef3328bea170c14ec9ed351 25-Jun-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

Patch by Bryce Groff with small changes by myself: Implemented partition
creation (ATM BFS only) and deletion.


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


# 4ee70e3bbaf997c862c7edf9ae8075c2c4734213 15-May-2009 Stephan Aßmus <superstippi@gmx.de>

* Adopt the Init menu to the currently available
disk systems. For disk devices, we allow not only
file systems, but any disk system. This gets us
"Intel Partition Map" and "Intel Extended Partition".
I managed to initialize a disk with Intel Partition
Map this way.
* I imported a large chunk of currently disabled code
from Ingo's partitioner command line tool, which can
eventually be used to create partitions in the empty
space. I kept the "Create" menu still disabled, but
the correct content types are actually retrieved already,
which are "Intel Primary Partition" and "Intel Extended
Partition".


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


# 967d72041f81ab74e2cd286cf91ed2b594ba91f5 03-Feb-2008 Stephan Aßmus <superstippi@gmx.de>

* Implemented support for generating global partition_ids for partitionable
spaces. This way we can use all the existing logic to select them in either
list view or the disk layout view. IAW, selecting empty spaces now works.
* Changed the way the Create menu works. It is now only enabled if a space
item is selected and then the sub items are filled with the types that
the parent partition says it supports for child creation. (Does not
yet seem to work.)
* PartitionViews for spaces were not put into the partition_id -> view map.
* Fixed focus indication when switching the disk for the disk layout view,
previously, the correct view was only selected when the disk did not change.
* Added a temporary work around to avoid showing bogus space items at all
(those smaller than a "cylinder size"). Currently hard coded to 8 MB size.
But I already have an idea how we could fix this in the Disk Device API
implementation.


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


# ec103c3c389cb3f2827c816f7544eb2a51ea49c6 27-Jan-2008 Stephan Aßmus <superstippi@gmx.de>

Moved DriveSetup from preferences to apps. Changed HaikuImage script
accordingly.


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