History log of /haiku/src/bin/screen_blanker/PasswordWindow.cpp
Revision Date Author Comments
# 3cb84528 09-Jul-2023 Trung Nguyen <trungnt282910@gmail.com>

headers/os: Make headers generator-friendly

Make Haiku headers a bit more friendly to binding generators by:
- Giving some `enum`s names (especially those that appear in
default arguments).
- Converting an internal `inline` function into a macro so that
the result could be evaluated in compile time.

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


# f696e88a 09-Dec-2015 looncraz <looncraz@looncraz.net>

Convert various more things to using Set*UIColor.

Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
Patches 0038, 0040, 0042-0044 from looncraz, unmodified.


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


# c3cd5321 18-Mar-2011 Jonas Sundström <jonas@kirilla.com>

Localization of Screensaver unlock window. Ticket #7232

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


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

Patch by Humdinger:
Changed strings to sentence case in various places. This is the
case-misc.diff part of ticket #5169.


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


# 0834f79c 14-Mar-2009 Ryan Leavengood <leavengood@gmail.com>

An Esc pressed while the password window is showing will close it and resume
the screen saver.

I added this to the filter in the ScreenSaverWindow instead of the
PasswordWindow to avoid having to add another BMessageFilter. It already is
getting all keydowns anyhow.


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


# 89b1afd1 22-Oct-2008 Axel Dörfler <axeld@pinc-software.de>

* Added a new window feel kPasswordWindowFeel that is above all other feels.
* Changed the password window to use this feel.
* Later, the screen saver itself should use this feel whenever the password
mode is enabled. The password window should then use a modal-app feel, but
this doesn't work yet.


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


# 4a1b9897 08-Oct-2008 Axel Dörfler <axeld@pinc-software.de>

* Made the screen saver window as well as the password window kWindowScreenFeel.
* This makes them highest in the window order, so that floating all windows
like the Deskbar cannot compromise the password protection anymore.
This fixes #2808.
* Note, the password window should also block uses of Alt-Tab, even though this
is usually harmless (as only other windows with kWindowScreenFeel can be
promoted to the front).
* Also note, the password window should actually be an app modal window that
appears in front of the screen saver window. However, the app_server currently
doesn't allow anything but menus on top of a kWindowScreenFeel window.
* Removed changing full screen setting of the ScreenSaver window, as this
shouldn't matter.
* Minor cleanup.


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


# 13ab8074 15-Jan-2008 Karsten Heimrich <host.haiku@gmx.de>

small cleanup
password window is now font sensitiv, fixes Ticket #705



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


# af55bae2 06-Jun-2006 Axel Dörfler <axeld@pinc-software.de>

* Implemented DPMS support.
* Cleanup.


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


# 7008829b 12-Apr-2006 Jérôme Duval <korli@users.berlios.de>

fixed some uninited members and locks


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


# 09362b0d 08-Feb-2006 Jérôme Duval <korli@users.berlios.de>

use the current screen


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


# 911290f7 04-Sep-2005 Jérôme Duval <korli@users.berlios.de>

copyright update
fix for blank time in screen_blanker


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


# 6ebd8e95 18-Aug-2005 Jérôme Duval <korli@users.berlios.de>

more fixes


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


# cc5b9137 17-Aug-2005 Jérôme Duval <korli@users.berlios.de>

added focus


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


# 0b092335 17-Aug-2005 Jérôme Duval <korli@users.berlios.de>

improved password handling


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


# bef4185e 02-Aug-2005 Jérôme Duval <korli@users.berlios.de>

fixes Loadsettings return value
rename pwWindow to PasswordWindow
added ScreenSaver to Jamfile to have Matrix screensaver loaded correctly


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


# c3cd5321d5ea3431cef8c1d4a923d12896a8622f 18-Mar-2011 Jonas Sundström <jonas@kirilla.com>

Localization of Screensaver unlock window. Ticket #7232

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


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

Patch by Humdinger:
Changed strings to sentence case in various places. This is the
case-misc.diff part of ticket #5169.


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


# 0834f79c8ce6e973204ff08a16ffaa3e97d8a1ff 14-Mar-2009 Ryan Leavengood <leavengood@gmail.com>

An Esc pressed while the password window is showing will close it and resume
the screen saver.

I added this to the filter in the ScreenSaverWindow instead of the
PasswordWindow to avoid having to add another BMessageFilter. It already is
getting all keydowns anyhow.


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


# 89b1afd16c7fc6e32462a2c4fb4ce43cfc50ce6a 22-Oct-2008 Axel Dörfler <axeld@pinc-software.de>

* Added a new window feel kPasswordWindowFeel that is above all other feels.
* Changed the password window to use this feel.
* Later, the screen saver itself should use this feel whenever the password
mode is enabled. The password window should then use a modal-app feel, but
this doesn't work yet.


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


# 4a1b989745f943f222e67b53b6183a39281998c9 08-Oct-2008 Axel Dörfler <axeld@pinc-software.de>

* Made the screen saver window as well as the password window kWindowScreenFeel.
* This makes them highest in the window order, so that floating all windows
like the Deskbar cannot compromise the password protection anymore.
This fixes #2808.
* Note, the password window should also block uses of Alt-Tab, even though this
is usually harmless (as only other windows with kWindowScreenFeel can be
promoted to the front).
* Also note, the password window should actually be an app modal window that
appears in front of the screen saver window. However, the app_server currently
doesn't allow anything but menus on top of a kWindowScreenFeel window.
* Removed changing full screen setting of the ScreenSaver window, as this
shouldn't matter.
* Minor cleanup.


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


# 13ab80745a7ac431e04f7b87e142d25e0f5cc797 15-Jan-2008 Karsten Heimrich <host.haiku@gmx.de>

small cleanup
password window is now font sensitiv, fixes Ticket #705



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


# af55bae2f690f138d18dc982b7535840bd12b805 06-Jun-2006 Axel Dörfler <axeld@pinc-software.de>

* Implemented DPMS support.
* Cleanup.


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


# 7008829b0f31b1407d6e1394525765da88d9763f 12-Apr-2006 Jérôme Duval <korli@users.berlios.de>

fixed some uninited members and locks


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


# 09362b0d5cc029e16659991063bbd3971ea5b360 08-Feb-2006 Jérôme Duval <korli@users.berlios.de>

use the current screen


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


# 911290f7012db7dca0a4a04296d7c8e9c4c6e242 04-Sep-2005 Jérôme Duval <korli@users.berlios.de>

copyright update
fix for blank time in screen_blanker


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


# 6ebd8e95cd511e62a72ff79abd911da74e0fa9eb 18-Aug-2005 Jérôme Duval <korli@users.berlios.de>

more fixes


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


# cc5b91374f09e3393b54ec8015cf6e0d4055a851 17-Aug-2005 Jérôme Duval <korli@users.berlios.de>

added focus


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


# 0b0923357e8a52770f07d3cd25d1db50d8727326 17-Aug-2005 Jérôme Duval <korli@users.berlios.de>

improved password handling


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


# bef4185e93ef3528e8050f1146ef1c6768612906 02-Aug-2005 Jérôme Duval <korli@users.berlios.de>

fixes Loadsettings return value
rename pwWindow to PasswordWindow
added ScreenSaver to Jamfile to have Matrix screensaver loaded correctly


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