History log of /haiku-fatelf/src/apps/drivesetup/DiskView.cpp
Revision Date Author Comments
# c8ae0dd8 30-Nov-2012 Dancsó Róbert <dancso.robert@d-rendszer.hu>

DriveSetup: Added disk name to the DiskView.

* The disk device name will be shown on the disk map.

Signed-off-by: Axel Dörfler <axeld@pinc-software.de>


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


# 5421c7d6 20-Jul-2010 Adrien Destugues <pulkomandy@pulkomandy.ath.cx>

* Fix all localized applications, as an include was missing in some of them
* dstcheck : the generated catalog is now 'dstcheck.catkeys' instead of 'en.catkeys', so that it does not conflict with
other localized apps in the bin/ folder.


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


# b0eb1f9a 28-Jun-2010 Wim van der Meer <wpjvandermeer@gmail.com>

Adding missing #undef B_TRANSLATE_CONTEXT

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


# 4eb0cbb0 07-May-2010 Matt Madia <mattmadia@gmail.com>

Updated TR_CONTEXT to be B_TRANSLATE_CONTEXT, relating to #5408.


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


# 28ebad8f 06-May-2010 Matt Madia <mattmadia@gmail.com>

Updated to use B_TRANSLATE* macros. relates to #5408.

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


# 7d24c647 21-Jan-2010 Stephan Aßmus <superstippi@gmx.de>

Localized DriveSetup.


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


# a7ea0713 18-Mar-2009 Axel Dörfler <axeld@pinc-software.de>

* Now listens to disk device notifications, and rescans its device list when
something comes in -- this could be greatly improved, though.
* Cleanup.


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


# 441ad0b8 16-Jul-2008 Stephan Aßmus <superstippi@gmx.de>

* Don't continue with initializing a partition if the user cancelled the
parameter panel... Doh!
* Force update the disk view when rescanning the disks (a newly initialized
partition will now also show the correct name in the DiskView).


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


# a9cc6c1e 16-Jul-2008 Stephan Aßmus <superstippi@gmx.de>

The modification preparations were not properly maintained which could
cause all kinds of trouble when finally trying to initialize a partition.
In various situations, the disk would already be prepared for modifications
in which case PrepareModifications() will return an error when called again.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26462 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


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

Fixes the build for the app_server test environment.


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


# 8d2c63c7 01-Feb-2008 Stephan Aßmus <superstippi@gmx.de>

* To be able to call BPartition::GetPartitioningIngo(), you need to call
PrepareModifications() on the parent BDiskDevice first. Hm. I should
probably reorganize things a bit.
* Selecting these empty spaces is still not supported.
* Fixed inserting empty spaces in the DiskView at the correct index.


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


# 56d794d6 01-Feb-2008 Stephan Aßmus <superstippi@gmx.de>

* implemented detecting and displaying available space on devices and
partitions - I couldn't test it yet, but what is definitely missing
is being able to select these spaces to create new partitions on them
* fixed the bug that if you select a partition on another disk, the
disk view does not switch to the new disk. (I was comparing disk
pointers, but since I deleted the old BDiskDevice instance first, the
new one got assigned the same pointer... at least it appears I am not
leaking memory anywhere... :-))


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23811 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


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


# 5421c7d682a251f1cbcdfa1bf870ca1170584135 20-Jul-2010 Adrien Destugues <pulkomandy@pulkomandy.ath.cx>

* Fix all localized applications, as an include was missing in some of them
* dstcheck : the generated catalog is now 'dstcheck.catkeys' instead of 'en.catkeys', so that it does not conflict with
other localized apps in the bin/ folder.


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


# b0eb1f9aff65f6fd8ae2baa72ed40eed78abafc0 28-Jun-2010 Wim van der Meer <wpjvandermeer@gmail.com>

Adding missing #undef B_TRANSLATE_CONTEXT

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


# 4eb0cbb044cf538f18c0d252934a5bcaa33bfd34 07-May-2010 Matt Madia <mattmadia@gmail.com>

Updated TR_CONTEXT to be B_TRANSLATE_CONTEXT, relating to #5408.


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


# 28ebad8ff65bc98ce2f1246c25708300b458320a 06-May-2010 Matt Madia <mattmadia@gmail.com>

Updated to use B_TRANSLATE* macros. relates to #5408.

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


# 7d24c6470f0b2ceb3ea4973ae1e8311068271810 21-Jan-2010 Stephan Aßmus <superstippi@gmx.de>

Localized DriveSetup.


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


# a7ea0713b4d0a2a70f4225d835c89d0757acd957 18-Mar-2009 Axel Dörfler <axeld@pinc-software.de>

* Now listens to disk device notifications, and rescans its device list when
something comes in -- this could be greatly improved, though.
* Cleanup.


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


# 441ad0b87ec9d4bbf62f769ab6abf7bd6d902605 16-Jul-2008 Stephan Aßmus <superstippi@gmx.de>

* Don't continue with initializing a partition if the user cancelled the
parameter panel... Doh!
* Force update the disk view when rescanning the disks (a newly initialized
partition will now also show the correct name in the DiskView).


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


# a9cc6c1e3d0bc8e17f0be330588683813dd63a85 16-Jul-2008 Stephan Aßmus <superstippi@gmx.de>

The modification preparations were not properly maintained which could
cause all kinds of trouble when finally trying to initialize a partition.
In various situations, the disk would already be prepared for modifications
in which case PrepareModifications() will return an error when called again.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26462 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


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

Fixes the build for the app_server test environment.


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


# 8d2c63c70338e994e4038393eb1269b908c849f3 01-Feb-2008 Stephan Aßmus <superstippi@gmx.de>

* To be able to call BPartition::GetPartitioningIngo(), you need to call
PrepareModifications() on the parent BDiskDevice first. Hm. I should
probably reorganize things a bit.
* Selecting these empty spaces is still not supported.
* Fixed inserting empty spaces in the DiskView at the correct index.


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


# 56d794d68eaf9562d60cb397db1a030561960c2e 01-Feb-2008 Stephan Aßmus <superstippi@gmx.de>

* implemented detecting and displaying available space on devices and
partitions - I couldn't test it yet, but what is definitely missing
is being able to select these spaces to create new partitions on them
* fixed the bug that if you select a partition on another disk, the
disk view does not switch to the new disk. (I was comparing disk
pointers, but since I deleted the old BDiskDevice instance first, the
new one got assigned the same pointer... at least it appears I am not
leaking memory anywhere... :-))


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23811 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