History log of /haiku/src/apps/cortex/MediaRoutingView/MediaRoutingView.cpp
Revision Date Author Comments
# bf6a2a2b 14-Jun-2021 Niels Sascha Reedijk <niels.reedijk@gmail.com>

Cortex: fix the catalog location of the main application

Previously, hrev55011 introduced localization for Cortex, which then
prompted to close #7530. It has then been reopened, when it turns out
that the translations for the container application (RouteApp) did not
work, whereas the individual add-ons/modules were translated.

The cause is that by default BCatalog looks up the translations based on
the subtype part of the signature. This is x-vnd.Cortex.Route (without
the application/ supertype). This change will place the translations in
the right place of the file system.

The add-ons were never affected, since they BCatalog is explicitly told
to find the translations for the entire signature, like:

static BCatalog sCatalog("application/x-vnd.Cortex.InfoView");

Even so, it was chosen to omit the `application` supertype from the
signature for the shared code as well.

This should fix #7530 for good.

Change-Id: Iff18fabef7aba68602e49db1e98cfed2f486f545
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4091
Reviewed-by: Niels Sascha Reedijk <niels.reedijk@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>


# 2cba2d56 04-Jan-2013 Dancsó Róbert <dancso.robert@d-rendszer.hu>

Added localization support for Cortex app.

* Fixes #7530.

Change-Id: I238c4c8fe32b181a8e1a4bd688bcbe9f3a87f79f
Signed-off-by: Kacper Kasper <kacperkasper@gmail.com>
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3169
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>


# 62c7ec5c 23-Nov-2018 Augustin Cavalier <waddlesplash@gmail.com>

Fix various instances of -Wset-but-unused.

Largely no functional change; most of these are just
removing the unused variables.


# be61575c 03-Jul-2015 Philippe Saint-Pierre <stpere@gmail.com>

Cortex: fix for possible null-dereference

CID 600442


# 1a7bcf69 01-Jun-2014 Oliver Tappe <zooey@hirschkaefer.de>

Lots of B_PRI... insertions to fix errors with DEBUG=1.


# aed35104 05-Aug-2012 Humdinger <humdingerb@gmail.com>

Close alerts with ESCAPE key.

Added SetFlags(B_CLOSE_ON_ESCAPE) or SetShortcut(index, B_ESCAPE) to BAlerts
depending if the result gets used later in the code, or if it's a one-button
BAlert.


# c284bb0f 14-Aug-2011 Matt Madia <mattmadia@gmail.com>

Moved Cortex license file into each of its source files. No functional change.


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


# c7da4347 02-Mar-2008 Axel Dörfler <axeld@pinc-software.de>

Applied patch by Maurice to fix Cortex' transport add-on selection, thanks!


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


# 5680c33e 18-Jun-2007 Ingo Weinhold <ingo_weinhold@gmx.de>

Style changes by Vasilis Kaoutsis.


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


# 595c89bc 14-May-2007 Axel Dörfler <axeld@pinc-software.de>

Next row of Cortex style updates, courtesy of Vasilis Kaoutsis - thanks!


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


# dfd1fe13 26-Jan-2007 Axel Dörfler <axeld@pinc-software.de>

Fixed some warnings, mostly wrong uses of the ASSERT macro.


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


# a0795c6f 08-Mar-2006 Marcus Overhagen <marcusoverhagen@gmail.com>

imported Cortex 2.1.2 source


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


# be61575ce6a5a3334a03583abde2af9da330b856 03-Jul-2015 Philippe Saint-Pierre <stpere@gmail.com>

Cortex: fix for possible null-dereference

CID 600442


# 1a7bcf6962e1c99906cce0fe602e08c3fcda46f6 01-Jun-2014 Oliver Tappe <zooey@hirschkaefer.de>

Lots of B_PRI... insertions to fix errors with DEBUG=1.


# aed35104852941f0f6f3d1dcc5338b5f337d0a3c 05-Aug-2012 Humdinger <humdingerb@gmail.com>

Close alerts with ESCAPE key.

Added SetFlags(B_CLOSE_ON_ESCAPE) or SetShortcut(index, B_ESCAPE) to BAlerts
depending if the result gets used later in the code, or if it's a one-button
BAlert.


# c284bb0ff659027e777dbbb8eae4fb3cf1cb335f 14-Aug-2011 Matt Madia <mattmadia@gmail.com>

Moved Cortex license file into each of its source files. No functional change.


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


# c7da4347dfc96089a6c7692ba6d46367521f7f1f 02-Mar-2008 Axel Dörfler <axeld@pinc-software.de>

Applied patch by Maurice to fix Cortex' transport add-on selection, thanks!


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


# 5680c33e4801511fcff87f56174d2afd663b0f0b 18-Jun-2007 Ingo Weinhold <ingo_weinhold@gmx.de>

Style changes by Vasilis Kaoutsis.


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


# 595c89bcdc1a214805651670b6c3c0d1080d2ac3 14-May-2007 Axel Dörfler <axeld@pinc-software.de>

Next row of Cortex style updates, courtesy of Vasilis Kaoutsis - thanks!


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


# dfd1fe13b8d2211b32782225cefe9eb7ee6184de 26-Jan-2007 Axel Dörfler <axeld@pinc-software.de>

Fixed some warnings, mostly wrong uses of the ASSERT macro.


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


# a0795c6fe30e25338049a952326c61deb7a343b6 08-Mar-2006 Marcus Overhagen <marcusoverhagen@gmail.com>

imported Cortex 2.1.2 source


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