History log of /haiku/src/apps/devices/Device.cpp
Revision Date Author Comments
# b36bd5f7 13-Dec-2022 xoblite <haiku@xoblite.net>

Devices: Miscellaneous polishing (removed the old non-utilized view tabs etc)

* Removed the old non-utilized "Basic" and "Bus" view tabs to make the "Device details" view default and more prominent
* The tab title now shows the name of the currently selected device, and the default width of the value column has been increased to show more text by default
* Removed non-referenced/skeleton code plus made various clean-up edits as suggested by reviewers

Change-Id: I32ece29aa04e357cb4a8a0672becb754e4ccdacf
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5908
Reviewed-by: KHH <haiku@xoblite.net>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>


# c3f23e82 10-Oct-2022 Jérôme Duval <jerome.duval@gmail.com>

Devices: add a view for USB devices

Tried to match the USB classes to categories.

Change-Id: Id021730755060ab6a5149eea87f5e25370c67e1c
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5738
Reviewed-by: Fredrik Holmqvist <fredrik.holmqvist@gmail.com>


# bca45352 16-Nov-2013 PieterPan <haiku@panman.eu>

Devices: Check out of bound array access on category strings.

* Computes the length of the category strings array.
* Checks against this length before accessing the array
* Improves comment
* Should fix #10186

Signed-off-by: Jérôme Duval <jerome.duval@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.


# 541ff51a 15-Apr-2012 Oliver Tappe <zooey@hirschkaefer.de>

Cleanup BCatalogAddOn.

* rename BCatalogAddOn to BCatalogData, since it doesn't represent an
add-on, but rather the catalog data provided by an add-on
* move BCatalogData out of Catalog.{h,cpp} into its own header and
implementation file
* drop BCatalogData::MarkForTranslation() methods, they're not needed
* drop BCatalog::GetNoAutoCollectString() methods, they're not being
used anywhere
* cleanup the B_TRANSLATE_... macros somewhat
* add versions of the B_TRANSLATE_MARK_... macros that are meant to be
used in void context (when the string isn't being used by the program,
just meant to be picked up by collectcatkeys).
* adjust several apps to use B_TRANSLATE_MARK_..._VOID where needed
* adjust users of BCatalogAddOn accordingly


# ae8811a4 08-Feb-2012 Jorma Karvonen <karvonen.jorma@gmail.com>

Fixes non-localized strings of the Devices application.

Closes ticket #7245.

Signed-off-by: Humdinger <humdingerb@gmail.com>


# 211be129 22-Feb-2011 Siarzhuk Zharski <zharik@gmx.li>

A bit of extra localization support for Devices app.
Partially fixes #7245.



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


# 40531813 15-Feb-2011 Siarzhuk Zharski <zharik@gmx.li>

It is yet another localization patch from Jorma Karvonen. :-D Fixes #7111. Thanks.



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


# eaa5d3bc 13-Dec-2010 Adrien Destugues <pulkomandy@pulkomandy.ath.cx>

80 column fix for devices


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


# 7c2ffab8 13-Dec-2010 Adrien Destugues <pulkomandy@pulkomandy.ath.cx>

Patch from Jason Fagnière (Protonux) as part of GCI :
* i18nize devices, charactermap, cdplayer, activitymonitor.

Thanks!

(note : there are some known 80-column problems in this patch)


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


# 26bfe3cb 25-Jul-2010 Philippe Houdoin <philippe.houdoin@gmail.com>

Applied patch by Alexander von Gluck (kallisti5) - ticket #6350.
Small changes done: append ACPI node name to device name.


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


# 55b42c2b 18-Oct-2009 Stephan Aßmus <superstippi@gmx.de>

Patch by Pieter Panman:
* Rewrote Devices application. -> Thanks a bunch!! Nice work!
* Put Devices onto the image.

Changes by myself:
* Merge some code from the old "preflet" which the new app still relied on.
* Fixed some coding style issues. I didn't review all of the code yet, though.


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


# bca45352395a526b5e32a67b96ac0ccb2bbe6204 16-Nov-2013 PieterPan <haiku@panman.eu>

Devices: Check out of bound array access on category strings.

* Computes the length of the category strings array.
* Checks against this length before accessing the array
* Improves comment
* Should fix #10186

Signed-off-by: Jérôme Duval <jerome.duval@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.


# 541ff51a6ef4c47f8ab105ba6ff895cdbba83aca 15-Apr-2012 Oliver Tappe <zooey@hirschkaefer.de>

Cleanup BCatalogAddOn.

* rename BCatalogAddOn to BCatalogData, since it doesn't represent an
add-on, but rather the catalog data provided by an add-on
* move BCatalogData out of Catalog.{h,cpp} into its own header and
implementation file
* drop BCatalogData::MarkForTranslation() methods, they're not needed
* drop BCatalog::GetNoAutoCollectString() methods, they're not being
used anywhere
* cleanup the B_TRANSLATE_... macros somewhat
* add versions of the B_TRANSLATE_MARK_... macros that are meant to be
used in void context (when the string isn't being used by the program,
just meant to be picked up by collectcatkeys).
* adjust several apps to use B_TRANSLATE_MARK_..._VOID where needed
* adjust users of BCatalogAddOn accordingly


# ae8811a418a16643590192de063e7ae81bab74c0 08-Feb-2012 Jorma Karvonen <karvonen.jorma@gmail.com>

Fixes non-localized strings of the Devices application.

Closes ticket #7245.

Signed-off-by: Humdinger <humdingerb@gmail.com>


# 211be12926b2dd2d7b082a0e30d0c8187dcdd74a 22-Feb-2011 Siarzhuk Zharski <zharik@gmx.li>

A bit of extra localization support for Devices app.
Partially fixes #7245.



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


# 405318137db710b8e36a94edcf3b0ef2fe23971f 15-Feb-2011 Siarzhuk Zharski <zharik@gmx.li>

It is yet another localization patch from Jorma Karvonen. :-D Fixes #7111. Thanks.



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


# eaa5d3bcea42398579345e8d3779cf5df9490a44 13-Dec-2010 Adrien Destugues <pulkomandy@pulkomandy.ath.cx>

80 column fix for devices


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


# 7c2ffab858c6f0447aef751eef73f00a8512839d 13-Dec-2010 Adrien Destugues <pulkomandy@pulkomandy.ath.cx>

Patch from Jason Fagnière (Protonux) as part of GCI :
* i18nize devices, charactermap, cdplayer, activitymonitor.

Thanks!

(note : there are some known 80-column problems in this patch)


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


# 26bfe3cb27d81c7dfba1fe5083d00765ae10fba0 25-Jul-2010 Philippe Houdoin <philippe.houdoin@gmail.com>

Applied patch by Alexander von Gluck (kallisti5) - ticket #6350.
Small changes done: append ACPI node name to device name.


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


# 55b42c2b4d9ac798d02ed40c7f25413103e03590 18-Oct-2009 Stephan Aßmus <superstippi@gmx.de>

Patch by Pieter Panman:
* Rewrote Devices application. -> Thanks a bunch!! Nice work!
* Put Devices onto the image.

Changes by myself:
* Merge some code from the old "preflet" which the new app still relied on.
* Fixed some coding style issues. I didn't review all of the code yet, though.


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