History log of /haiku/src/apps/diskprobe/TypeEditors.cpp
Revision Date Author Comments
# 3961af9f 29-Jul-2023 Humdinger <humdingerb@gmail.com>

Use UTF8 multiplication sign "×" instead of "x"

It was suggested for translations in Pootle, and I agree it looks
subtly nicer: a bit smaller and vertically centered.

Also made all strings that include the "x" translatable, in case
there are different local usages.

For icon sizes in Tracker, move menu creation into a loop with an
kIconSizes array holding the pixel dimensions.

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


# 425ac1b6 20-Jun-2023 Alexander von Gluck IV <kallisti5@unixzen.com>

refactor: Swap %Ld for %lld in all format usages

* %Ld is an undocumented alias for %lld in glibc.
* muslc doesn't implement it for this reason.
* While we will likely never drop %Ld support,
lets clean house and set a better example.

Change-Id: Id46dad3104abae483e80cc5c05d1464d3ecd8030
Reviewed-on: https://review.haiku-os.org/c/haiku/+/6636
Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>


# 58d81e5a 23-Dec-2022 Humdinger <humdingerb@gmail.com>

DiskProbe: Fix view colors not being live

The background color under the icon in the main window and
the attribute icon editor didn't change live.

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


# 6970f0fd 26-Aug-2022 Augustin Cavalier <waddlesplash@gmail.com>

DiskProbe: Adjust layout building in StringEditor.

Does not seem to affect #13164.


# c5702ad4 09-Nov-2021 Mikael Konradsson <mikael.konradsson@outlook.com>

DiskProbe: Clean up old compiler pragmas for BeOS and Dano.

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


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


# 744a3927 07-Nov-2015 Humdinger <humdingerb@gmail.com>

Use templatized version of BLayoutBuilder

...also more B_USE_WINDOW_SPACING


# d0ac6099 07-Nov-2015 Humdinger <humdingerb@gmail.com>

Use B_USE_WINDOW_SPACING

Use B_USE_WINDOW_SPACING as inset from contents to window border.
Some whitespace cleanup.


# 907ea782 23-Dec-2014 Adrien Destugues <pulkomandy@gmail.com>

DiskProbe: convert ImageView to layout kit.

Fixes #11653.


# 8d67965f 17-Nov-2014 Adrien Destugues <pulkomandy@gmail.com>

DiskProbe: use layouted view for StringEditor.

Fixes #11476.


# 1bc7045f 15-Dec-2013 Pawel Dziepak <pdziepak@quarnos.org>

kernel, libroot: Introduce new API for obtaining system info


# a31ac990 04-May-2013 Jérôme Duval <jerome.duval@gmail.com>

Diskprobe: some 64 bit fixes

* also warnings about comparisons between signed and non signed.


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


# e77e4cff 21-Jun-2010 Adrien Destugues <pulkomandy@pulkomandy.ath.cx>

Patch by Jorma Karvonen (#6080) : improve diskprobe localization.


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


# a021189b 17-May-2010 Stephan Aßmus <superstippi@gmx.de>

Patch by Jorma Karvonen: Localization of DiskProbe and small style cleanups.
Closes ticket #5916, thanks a bunch!


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


# 7974d3dc 13-Jan-2010 Stephan Aßmus <superstippi@gmx.de>

Patch by Humdinger:
Updated Haiku apps to use sentence-case. What a huge undertaking...
The files where I had to apply the patch manually (for mysterious
reasons) have also gotten a whitespace cleanup. I've proof-read
everything so hopefully there should be no problems.

This should be the final part of #5169.


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


# 6c85c7ee 14-Aug-2009 Philippe Saint-Pierre <stpere@gmail.com>

Revert r32402. Some problems are occuring in the attribute editor and I want to make sure they aren't caused by my patch before committing for good.


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


# 498c03bd 14-Aug-2009 Philippe Saint-Pierre <stpere@gmail.com>

StringEditor : The TextView wasn't sending messages saying its content was modified by the user.
Symptoms :
* The Save menu item wasn't enabled
* the undo/redo menu item weren't neither

The fix I made was to commit the changes made by the user to the editor instance, by augmenting the InsertText and DeleteText from the TextView.
This fixes ticket #3507.


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


# 4fba3522 11-Apr-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

* Removed src/kits/tracker/OpenHashTable.h. The shared version in
headers/private/shared is newer, though with small interface changes.
* Removed the unnecessary Debug.h include in
headers/private/shared/ObjectList.h.
* Adjusted sources using these headers, mostly by adding missing includes.
* Lots of automatic whitespace cleanup.


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


# 9ed6b858 16-Sep-2008 Stefano Ceccherini <stefano.ceccherini@gmail.com>

fix warning. BSlider::SetValue() accepts an int32 parameter

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


# 13542b73 24-Mar-2008 Axel Dörfler <axeld@pinc-software.de>

Dano build fix.


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


# 58e5eff9 10-Jan-2008 Axel Dörfler <axeld@pinc-software.de>

* Some refactoring and cleanups.
* Started a "View As" feature which will allow you to use the type
editor for the file itself - not yet enabled (or working).


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


# 527b14e9 09-Jan-2008 Axel Dörfler <axeld@pinc-software.de>

Renamed AttributeEditors.{cpp|h} to TypeEditors.{cpp|h}.


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


# 907ea782aaf5f68d2b9b92e5eecac6e9dd376fcd 23-Dec-2014 Adrien Destugues <pulkomandy@gmail.com>

DiskProbe: convert ImageView to layout kit.

Fixes #11653.


# 8d67965f06cdbf8f37a8baee4a814f569cfffac6 17-Nov-2014 Adrien Destugues <pulkomandy@gmail.com>

DiskProbe: use layouted view for StringEditor.

Fixes #11476.


# 1bc7045fdfb85e6151d01c73669be19627c4783b 15-Dec-2013 Pawel Dziepak <pdziepak@quarnos.org>

kernel, libroot: Introduce new API for obtaining system info


# a31ac990cc82daeccd7c8deb39e0c634643418fc 04-May-2013 Jérôme Duval <jerome.duval@gmail.com>

Diskprobe: some 64 bit fixes

* also warnings about comparisons between signed and non signed.


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


# e77e4cff3e5e8b778a6522b894664f507b9fa978 21-Jun-2010 Adrien Destugues <pulkomandy@pulkomandy.ath.cx>

Patch by Jorma Karvonen (#6080) : improve diskprobe localization.


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


# a021189bbbbc8b7a32322aed13714bdc54696dd7 17-May-2010 Stephan Aßmus <superstippi@gmx.de>

Patch by Jorma Karvonen: Localization of DiskProbe and small style cleanups.
Closes ticket #5916, thanks a bunch!


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


# 7974d3dcf39ce78e5885b481eee12e561ad6e096 13-Jan-2010 Stephan Aßmus <superstippi@gmx.de>

Patch by Humdinger:
Updated Haiku apps to use sentence-case. What a huge undertaking...
The files where I had to apply the patch manually (for mysterious
reasons) have also gotten a whitespace cleanup. I've proof-read
everything so hopefully there should be no problems.

This should be the final part of #5169.


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


# 6c85c7eec82f314274e41ca842f7c9dc8f35d3c3 14-Aug-2009 Philippe Saint-Pierre <stpere@gmail.com>

Revert r32402. Some problems are occuring in the attribute editor and I want to make sure they aren't caused by my patch before committing for good.


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


# 498c03bdd66b5e3252023b6d94a251160ec61120 14-Aug-2009 Philippe Saint-Pierre <stpere@gmail.com>

StringEditor : The TextView wasn't sending messages saying its content was modified by the user.
Symptoms :
* The Save menu item wasn't enabled
* the undo/redo menu item weren't neither

The fix I made was to commit the changes made by the user to the editor instance, by augmenting the InsertText and DeleteText from the TextView.
This fixes ticket #3507.


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


# 4fba3522e02906506b6c713ef5b57d72e9458fef 11-Apr-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

* Removed src/kits/tracker/OpenHashTable.h. The shared version in
headers/private/shared is newer, though with small interface changes.
* Removed the unnecessary Debug.h include in
headers/private/shared/ObjectList.h.
* Adjusted sources using these headers, mostly by adding missing includes.
* Lots of automatic whitespace cleanup.


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


# 9ed6b85806ce6206a5b2d0ccb8374d6fcd38d40e 16-Sep-2008 Stefano Ceccherini <stefano.ceccherini@gmail.com>

fix warning. BSlider::SetValue() accepts an int32 parameter

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


# 13542b73799a22aa3bba804b251c3d7073865cda 24-Mar-2008 Axel Dörfler <axeld@pinc-software.de>

Dano build fix.


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


# 58e5eff96f4f697e9bac1389c4e07661c25a7ff8 10-Jan-2008 Axel Dörfler <axeld@pinc-software.de>

* Some refactoring and cleanups.
* Started a "View As" feature which will allow you to use the type
editor for the file itself - not yet enabled (or working).


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


# 527b14e9d548c05336910cdee47c2e5218c06885 09-Jan-2008 Axel Dörfler <axeld@pinc-software.de>

Renamed AttributeEditors.{cpp|h} to TypeEditors.{cpp|h}.


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