History log of /haiku/src/servers/registrar/ShutdownProcess.cpp
Revision Date Author Comments
# 93e536ab 24-Oct-2022 Augustin Cavalier <waddlesplash@gmail.com>

registrar: Properly clear out icons and resize when text changes.

May help with #18006.


# 67ca14e8 26-Aug-2022 Augustin Cavalier <waddlesplash@gmail.com>

registrar: Rewrite shutdown dialog to just use a BAlert.

Now that BAlerts can have custom buttons and change icons during
runtime, we need not maintain a custom "clone" of the BAlert logic
here in the registrar.

While at it, use ComposeIconSize to get larger icons on HiDPI.

This fixes #15704 as BAlerts already use the layout API,
while this logic did not.


# 644c29d0 07-Jan-2022 Augustin Cavalier <waddlesplash@gmail.com>

Adjust all in-tree applications after BBitmap::ImportBits API changes.

Change-Id: If3a06f35c01089cdbb696de479984f2b59fce7a0


# 65f4a227 13-May-2021 CodeforEvolution <secundaja@gmail.com>

registrar: Shutdown Icon Animation

In the case that an application is blocked by a model panel during shutdown, the icon will now show a "waiting" animation
like in BeOS R5.

Fixes #7980

Change-Id: Iec79fcaf431407ff51430a1a8e4c8ec41571059d
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4001
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>


# c2073305 07-Mar-2020 Augustin Cavalier <waddlesplash@gmail.com>

registrar: Replace the deprecated std::hash_set with our HashSet.


# 23623eee 10-Nov-2018 Augustin Cavalier <waddlesplash@gmail.com>

registrar: Remove now-unused non-Haiku code.


# 6899a856 10-Mar-2018 Jérôme Duval <jerome.duval@gmail.com>

Shutdown: follow up on ff6135f474eed07e58bbd1557cd2cd8ee8027677

* calling TRoster::GetShutdownApps() multiple times with the same lists
leads to problems because the lists aren't emptied first.
* instead we watch the user app launches, add them in the fUserApps list,
and let _QuitApps() iterates through the fUserApps list until it is empty.


# ff6135f4 26-Jan-2018 Hrishi Hiraskar <hrishihiraskar@gmail.com>

Shutdown: Apps can be launched in USER_APP_TERMINATION_PHASE

User can now launch applications in USER_APP_TERMINATION_PHASE
(like when there is a dialog to save an open document). Fixes
Change-Id: I3126e6ab8d2fd76016becb6ce0f726f82ecb7f3b


# 1a8c00c1 09-Dec-2015 looncraz <looncraz@looncraz.net>

servers: Convert to using Set*UIColor.

Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
Patches 0020-0022 from looncraz, unmodified.


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


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


# e09045d4 14-Oct-2011 Michael Lotz <mmlr@mlotz.ch>

* Fix debug build of the registrar.
* Make the macros use varargs so we avoid multiple invokations of the print
function (to properly use with debug_printf for example).
* Minor cleanup to the macros.


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


# 9f0f6fcd 25-Feb-2011 Jonas Sundström <jonas@kirilla.com>

Fix mixed up button labels.

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


# ea565737 25-Feb-2011 Philippe Houdoin <philippe.houdoin@gmail.com>

Localized Shutdown process.
Closes #7281.


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


# 506a7b97 10-Nov-2010 Stephan Aßmus <superstippi@gmx.de>

Prevent the shutdown dialog from minimizing without an entry
in Deskbar (registrar is a background application). Fixes ticket
#6809.


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


# 39eb6571 08-Oct-2010 Jérôme Duval <korli@users.berlios.de>

registrar: Actually checks if the app is running before asking it to quit, iterates until finding a valid app.


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


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

Patch by Humdinger:
Switched strings to sentence case in servers and kits. This is the
case-servers+kits.diff applied from #5169. Couldn't spot any possibly
problematic changes.
Thanks a lot!


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


# 50897e5f 26-Nov-2009 Stephan Aßmus <superstippi@gmx.de>

When we wait for one team, but then another aborts the shutdown process,
we should make that team accountable, not the one we waited for. This should
not have been a real problem, but this is more correct anyway.


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


# e48f3e5b 25-Nov-2009 Stephan Aßmus <superstippi@gmx.de>

Reverted part of r34253 and fixed the ticket for real plus another bug:
* When the user presses Cancel or Kill in the Shutdown progress window, in no
event will the "Application X aborted the shutdown process" be displayed.
* When the shutdown process already entered the waiting for a possibly blocked
app, and the app aborts the shutdown then, the "Application X aborted..."
alert will be displayed (issue not mentioned in ticket).
Fixes #3863 for real.


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


# a612f3c2 25-Nov-2009 Stephan Aßmus <superstippi@gmx.de>

Applied patch by idefix:
Canceling the shutdown process will not blame the application that happened
to be asked to quit at the time.
Thanks a lot! (Fixes #3863)


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


# a0439d88 09-Nov-2009 Axel Dörfler <axeld@pinc-software.de>

* Adjusted thread priorities of several system services based on a mail from
Mikhail Panasyuk: since worker threads often end up with B_NORMAL_PRIORITY,
it might be a good idea to give system threads a higher priority.
* Minor cleanup (mostly automatic whitespace).


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


# bc6272fe 18-Aug-2009 Philippe Saint-Pierre <stpere@gmail.com>

Registrar Shutdown window: Make Font Size sensitive
* Removed the WordWrap from the text view, until we computed the TextHeight(), then put it again, once the textview got resized.

I think it might be hiding an other bug in the way we compute TextHeight(), but it seems to be a workaround.

(Fixing?) Ticket #169


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


# 4b74bbf2 13-May-2009 Axel Dörfler <axeld@pinc-software.de>

* Make the shutdown request no longer prevent apps from being launched. Now
they only cannot be launched anymore once you acknowledge that request.


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


# 1c38b061 13-May-2009 Axel Dörfler <axeld@pinc-software.de>

* Style cleanup, added missing copyrights.


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


# d48fe244 12-May-2009 Axel Dörfler <axeld@pinc-software.de>

* Added the option to the shutdown confirmation dialog to perform the "other"
shutdown, ie. either reboot or shutdown.


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


# fb3e35fc 22-Jan-2009 Michael Lotz <mmlr@mlotz.ch>

Fixing all headers/namespaces/name lookup problems that hinder a GCC 4.3.2
build. I sure hope that this doesn't break the build for anyone else.


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


# 1b910a79 01-Oct-2008 Axel Dörfler <axeld@pinc-software.de>

* Since the "restart"/"shutdown" alert has the inconvenient consequence that the
shutdown process is entered (ie. you cannot start new applications anymore),
I changed its window feel to normal to make it possible to let it appear on
all workspaces.
* We should think about if simply letting it enter that phase later isn't the
better solution, though. Opinions welcome.
* Automatic whitespace cleanup.


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


# 3db71143 07-May-2008 Stephan Aßmus <superstippi@gmx.de>

Print a message about restarting or shutting down the computer. Since this
may take a short moment on real hardware, it is better than the "Asking blah
to quit..." which is otherwise still left.


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


# e954dc80 30-Mar-2008 Ingo Weinhold <ingo_weinhold@gmx.de>

Send SIGTERM on shutdown, not SIGHUP.


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


# 4e03eeaa 03-Mar-2008 Rene Gollent <anevilyak@gmail.com>

The registrar's shutdown window and BAlert both use
a BTextView in order to be able to display multiline
panel text (since BStringView can't handle this). However,
while they correctly set the background panel color, they
neglected to set the font style/color to that used by panel.
Fixed. This makes shutdown/restart dialogs properly color sensitive.




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


# 92c779bd 06-Jan-2008 Stephan Aßmus <superstippi@gmx.de>

patch by Alexandre Deckner (aldeck):
* improve the placement of text in the shutdown window
* define constants for the width of the "stripe" and icon size

Thanks! Fixes #1697.


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


# 7301a7fb 13-Nov-2007 Axel Dörfler <axeld@pinc-software.de>

bonefish+axeld:
* The debug_server now sends the registrar messages whenever the debug alert
is shown, and also, if the user wants to debug the team.
* In the latter case, the registrar will now cancel a shutdown process.
* Also, it will now wait with the shutdown process until the user has
acknowledged the debugger alert.


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


# 4fc538a9 03-Jun-2007 Axel Dörfler <axeld@pinc-software.de>

No longer allow the shutdown window being closed using the shortcut. Patch by Jonas Sundstrom, thanks!


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


# 1ad1713a 03-Jun-2007 Stephan Aßmus <superstippi@gmx.de>

* applied patch by Jonas Sundström,
makes the Escape key cancel the restart/shutdown dialog


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


# d619e899 16-Apr-2007 Ingo Weinhold <ingo_weinhold@gmx.de>

Fixed incorrect use of the sort() function. It expects a "less than"
compare function with bool return value, not a -1/0/1 returning
compare function. Fixes bug #1158 (registrar crash on shutdown).


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


# a1394a90 19-Mar-2007 Jérôme Duval <korli@users.berlios.de>

fixed bug #637:
"Shutdown window didn't draw fancy gray box where closing app's icons are shown
as in BeOS."


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


# 908b5c20 14-Dec-2006 Ryan Leavengood <leavengood@gmail.com>

Removed the dependency in the registrar on an input_server header file which I
had previously inroduced. It is not needed anymore.


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


# 970014a6 13-Dec-2006 Ryan Leavengood <leavengood@gmail.com>

Improved the shutdown process some more. Systems apps are allowed to ignore the
quit request and are simply removed from the list of apps to close if this
happens. This is primarily designed for the input_server.

I also corrected the MIME type of the debug_server which was causing it to be
incorrectly killed at shutdown.

I did some other clean-up and removed the code I unintentionally submitted
yesterday.


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


# 252f4767 12-Dec-2006 Ryan Leavengood <leavengood@gmail.com>

Added some needed stdio.h includes. I don't know what magic was used to compile
these for other people, but they wouldn't compile for me when building the
app_server test environment.


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


# fa4cfdbf 17-Nov-2006 Stephan Aßmus <superstippi@gmx.de>

* use B_RGBA32 icons in shutdown process window (untested)


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


# 499aacdd 15-Nov-2006 Ryan Leavengood <leavengood@gmail.com>

Fixed bugs #177 and #180 by adding code to notify the input_server that the
system is shutting down.

For the protocol between the Registrar and input_server I decided to just
re-use the message constant already defined in the input server headers
(SYSTEM_SHUTTING_DOWN.)

The code in the input server to notify the InputServerDevices about the
shutdown was pretty trivial.

For the code in the Registrar I'll let some gurus review it to make sure it
fits in with the rest of the code.


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


# 89b35356 14-Jun-2006 Jérôme Duval <korli@users.berlios.de>

revert 17726, my change wasn't good


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


# 1b4a4f54 05-Jun-2006 Jérôme Duval <korli@users.berlios.de>

changes the background color of CurrentAppIconView


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


# 4e65a207 22-May-2006 Axel Dörfler <axeld@pinc-software.de>

The shutdown window now uses the same placement method like BAlerts.


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


# b793e7b7 23-Apr-2006 Axel Dörfler <axeld@pinc-software.de>

No longer hide the "Application X has aborted the shutdown process" message when
that application quits; this just prevented us to see who the culprit is.


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


# cc7c040b 26-Mar-2006 Stephan Aßmus <superstippi@gmx.de>

* Renamed occurrences of "Reboot" to "Restart".
* Added TODO regarding the mismatch of shutdown phase names, comments,
and the actually executed actions. The phase names and comments say that
the background apps are terminated before the non-application processes,
while in reality things are done the other way around. I suppose the
latter order is correct though.


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


# 5d35aa28 13-Mar-2006 Axel Dörfler <axeld@pinc-software.de>

I don't think kill_thread() is actually supposed to wait for the thread
to be killed. Reverted ShutdownProcess.cpp to continue to use kill_team()
instead of sending a signal.


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


# 3f56c07d 13-Mar-2006 Ingo Weinhold <ingo_weinhold@gmx.de>

We use send_signal(..., SIGKILL) to kill a team instead of kill_team()
now, since the latter one can hang. Closes bug #240.


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


# c8a9444b 07-Feb-2006 Ingo Weinhold <ingo_weinhold@gmx.de>

After cancelling the shutdown process applications couldn't be started
anymore. Fixes bug #119.


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


# 01e69aca 25-Jan-2006 Axel Dörfler <axeld@pinc-software.de>

Now shows the "Reboot" button after the actual shutdown attempt.
The invalidate work-around is no longer needed for the app_server.


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


# 0248f7e0 11-Jan-2006 Axel Dörfler <axeld@pinc-software.de>

Fixed typo: asynchronous shutdown is now working (ie. Deskbar doesn't block
the shutdown process any longer).


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


# 758b1d0e 12-Nov-2005 Ingo Weinhold <ingo_weinhold@gmx.de>

Fixes that make Haiku build with gcc 4. Mainly out of the following
categories:
* Missing includes (like <stdlib.h> and <string.h>).
* Linking against $(TARGET_LIBSTDC++) instead of libstdc++.r4.so.
* Local variables shadowing parameters.
* Default parameters in function definitions (as opposed to function
declarations).
* All C++ stuff (nothrow, map, set, vector, min, max,...) must be imported
explicitly from the std:: namespace now.
* "new (sometype)[...]" must read "new sometype[...]", even if sometype is
something like "const char *".
* __FUNCTION__ is no longer a string literal (but a string expression), i.e.
'printf(__FUNCTION__ ": ...\n")' is invalid code.
* A type cast results in a non-lvalue. E.g. "(char *)buffer += bytes"
is an invalid expression.
* "friend class SomeClass" only works when SomeClass is known before.
Otherwise the an inner class with that name is considered as friend.
gcc 4 is much pickier about scopes.
* gcc 4 is generally stricter with respect to type conversions in C.



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


# 530cb79c 18-Jul-2005 Axel Dörfler <axeld@pinc-software.de>

Exchanged the order of the "Cancel" and "Reboot"/"Shutdown" buttons (and made the
latter the default), with Ingo's generous admission :-)


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


# 2fd4a041 17-Jul-2005 Ingo Weinhold <ingo_weinhold@gmx.de>

Added a boolean "synchronous" parameter to BRoster::Shutdown(). Used in the
Deskbar to initiate the shutdown process asynchronously. Couldn't test it,
because opening the Be menu doesn't work:
***PANIC: BW: Can't find view with ID: 19 !***



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


# 6e8834d0 16-Jul-2005 Ingo Weinhold <ingo_weinhold@gmx.de>

Removed forced debug output. Verified: _kern_shutdown(reboot = false) reboots too in qemu.

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


# 29aa5703 11-Jul-2005 Ingo Weinhold <ingo_weinhold@gmx.de>

* Now we have a hardcoded list of apps which shall not be terminated on
shutdown (input, app, debug server, and registrar).
* Fixed crashing bug, if the shutdown was aborted before the window was
created.
* The text of the confirmation alert depends on whether we reboot or
shut down.


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


# 8ddc570d 09-Jul-2005 Ingo Weinhold <ingo_weinhold@gmx.de>

* Implemented the BRoster::Shutdown() confirmation feature.
* When an application aborts the shutdown process by refusing to quit, the
shutdown window says so for 3 seconds before closing.
* Fixed the height of the normal buttons in the shutdown window. They
accidentially got the size of a default button.


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


# 177f17f4 07-Jul-2005 Philippe Houdoin <philippe.houdoin@gmail.com>

Fixed a bug. I think. Let's hope. Will see... Otherwise, I'm sorry. Really. (Untested).


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


# 6b454d97 07-Jul-2005 Ingo Weinhold <ingo_weinhold@gmx.de>

* Background applications are now ask to quit in parallel.
* Implemented handling of apps blocking on modal windows.
* Fixed a few bugs.


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


# 935c0c3a 06-Jul-2005 Ingo Weinhold <ingo_weinhold@gmx.de>

Changed the shutdown process to match Be's: The user apps are not longer
asked to quit in parallel. Instead they are asked one after the other.
Played with the window to look more like the one in BeOS. The "shadow" on
the left side is still missing, but otherwise it's close.



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


# b285c054 06-Jul-2005 Ingo Weinhold <ingo_weinhold@gmx.de>

Implemented a shutdown window. Since we're quitting all user applications
in parallel, it displays the mini icons of all still running apps. Doesn't
look that great, though. Also, quitting the apps in parallel speeds up the
shutdown process, but has the disadvantage, that all apps will throw their
"Save changes...?" alerts at the user at once, which might not be a
desirable experience. I'll probably revert to the way Be did it.


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


# 205f8b07 04-Jul-2005 Stefano Ceccherini <stefano.ceccherini@gmail.com>

I obviously broke the r5 build with the last commit. Fixed.

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


# 715166d5 05-Jul-2005 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Fixed the build under haiku. Reported by Konrad.

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


# 553ea301 03-Jul-2005 Ingo Weinhold <ingo_weinhold@gmx.de>

* Moved TRoster out of the BPrivate namespace. It does no longer appear in
any public header.
* Replaced a good deal of the MessageDeliverer's DeliverMessage() versions
by more general ones using the new interface MessagingTargetSet to represent
a set of targets. This simplifies the usage in cases where the caller doesn't
already have the targets in a supported representation.
* Implemented a first approximation of the shutdown process. There is no
GUI yet. Only superficially tested under R5.


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


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


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


# e09045d41f067ea34a2fcefedb36c2b83ac4cb5d 14-Oct-2011 Michael Lotz <mmlr@mlotz.ch>

* Fix debug build of the registrar.
* Make the macros use varargs so we avoid multiple invokations of the print
function (to properly use with debug_printf for example).
* Minor cleanup to the macros.


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


# 9f0f6fcd99edeb912fcc990245811126337df4de 25-Feb-2011 Jonas Sundström <jonas@kirilla.com>

Fix mixed up button labels.

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


# ea565737763a80b04a423e396858bd48ec034ec3 25-Feb-2011 Philippe Houdoin <philippe.houdoin@gmail.com>

Localized Shutdown process.
Closes #7281.


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


# 506a7b97c159670028eb7f7186dd097f230986b6 10-Nov-2010 Stephan Aßmus <superstippi@gmx.de>

Prevent the shutdown dialog from minimizing without an entry
in Deskbar (registrar is a background application). Fixes ticket
#6809.


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


# 39eb6571be1ed94fac03c318fe807973b2cb2061 08-Oct-2010 Jérôme Duval <korli@users.berlios.de>

registrar: Actually checks if the app is running before asking it to quit, iterates until finding a valid app.


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


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

Patch by Humdinger:
Switched strings to sentence case in servers and kits. This is the
case-servers+kits.diff applied from #5169. Couldn't spot any possibly
problematic changes.
Thanks a lot!


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


# 50897e5fcf99fe79d4c8785fc6a65cbe044ffa72 26-Nov-2009 Stephan Aßmus <superstippi@gmx.de>

When we wait for one team, but then another aborts the shutdown process,
we should make that team accountable, not the one we waited for. This should
not have been a real problem, but this is more correct anyway.


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


# e48f3e5b7e05e19af417a64a958e7dd62e17dec2 25-Nov-2009 Stephan Aßmus <superstippi@gmx.de>

Reverted part of r34253 and fixed the ticket for real plus another bug:
* When the user presses Cancel or Kill in the Shutdown progress window, in no
event will the "Application X aborted the shutdown process" be displayed.
* When the shutdown process already entered the waiting for a possibly blocked
app, and the app aborts the shutdown then, the "Application X aborted..."
alert will be displayed (issue not mentioned in ticket).
Fixes #3863 for real.


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


# a612f3c2ae5d82d5a169fe95e5124dab344d4aa0 25-Nov-2009 Stephan Aßmus <superstippi@gmx.de>

Applied patch by idefix:
Canceling the shutdown process will not blame the application that happened
to be asked to quit at the time.
Thanks a lot! (Fixes #3863)


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


# a0439d88df9202e0a5aea9fbe587a1eaf88dd348 09-Nov-2009 Axel Dörfler <axeld@pinc-software.de>

* Adjusted thread priorities of several system services based on a mail from
Mikhail Panasyuk: since worker threads often end up with B_NORMAL_PRIORITY,
it might be a good idea to give system threads a higher priority.
* Minor cleanup (mostly automatic whitespace).


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


# bc6272feedbc82b2ac93ea7e65f81235e71b79ce 18-Aug-2009 Philippe Saint-Pierre <stpere@gmail.com>

Registrar Shutdown window: Make Font Size sensitive
* Removed the WordWrap from the text view, until we computed the TextHeight(), then put it again, once the textview got resized.

I think it might be hiding an other bug in the way we compute TextHeight(), but it seems to be a workaround.

(Fixing?) Ticket #169


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


# 4b74bbf2766cc70bc486fc929cc74944c15ca4f3 13-May-2009 Axel Dörfler <axeld@pinc-software.de>

* Make the shutdown request no longer prevent apps from being launched. Now
they only cannot be launched anymore once you acknowledge that request.


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


# 1c38b061f8c245d75f57d4509a7106983a46939f 13-May-2009 Axel Dörfler <axeld@pinc-software.de>

* Style cleanup, added missing copyrights.


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


# d48fe2445b079a129d6094ea77730d831a0e0323 12-May-2009 Axel Dörfler <axeld@pinc-software.de>

* Added the option to the shutdown confirmation dialog to perform the "other"
shutdown, ie. either reboot or shutdown.


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


# fb3e35fcec1ef41b413b3b121764509f436dee4d 22-Jan-2009 Michael Lotz <mmlr@mlotz.ch>

Fixing all headers/namespaces/name lookup problems that hinder a GCC 4.3.2
build. I sure hope that this doesn't break the build for anyone else.


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


# 1b910a79a2a08763949ea522dcaa904aadff1fb2 01-Oct-2008 Axel Dörfler <axeld@pinc-software.de>

* Since the "restart"/"shutdown" alert has the inconvenient consequence that the
shutdown process is entered (ie. you cannot start new applications anymore),
I changed its window feel to normal to make it possible to let it appear on
all workspaces.
* We should think about if simply letting it enter that phase later isn't the
better solution, though. Opinions welcome.
* Automatic whitespace cleanup.


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


# 3db71143eab807fbb1a9da5f3184ff961f0ee909 07-May-2008 Stephan Aßmus <superstippi@gmx.de>

Print a message about restarting or shutting down the computer. Since this
may take a short moment on real hardware, it is better than the "Asking blah
to quit..." which is otherwise still left.


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


# e954dc800b6518e6cb271a5c9c963408ccccaed0 30-Mar-2008 Ingo Weinhold <ingo_weinhold@gmx.de>

Send SIGTERM on shutdown, not SIGHUP.


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


# 4e03eeaa477a8d7ca9ca85e62759f9eab2b6d8a9 03-Mar-2008 Rene Gollent <anevilyak@gmail.com>

The registrar's shutdown window and BAlert both use
a BTextView in order to be able to display multiline
panel text (since BStringView can't handle this). However,
while they correctly set the background panel color, they
neglected to set the font style/color to that used by panel.
Fixed. This makes shutdown/restart dialogs properly color sensitive.




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


# 92c779bd11ec2472f52b4d82798cb7df2c260397 06-Jan-2008 Stephan Aßmus <superstippi@gmx.de>

patch by Alexandre Deckner (aldeck):
* improve the placement of text in the shutdown window
* define constants for the width of the "stripe" and icon size

Thanks! Fixes #1697.


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


# 7301a7fbdbd860cf12024a0274ba9fd440ae8c5b 13-Nov-2007 Axel Dörfler <axeld@pinc-software.de>

bonefish+axeld:
* The debug_server now sends the registrar messages whenever the debug alert
is shown, and also, if the user wants to debug the team.
* In the latter case, the registrar will now cancel a shutdown process.
* Also, it will now wait with the shutdown process until the user has
acknowledged the debugger alert.


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


# 4fc538a920f36611ecf5f33df838feb01b753436 03-Jun-2007 Axel Dörfler <axeld@pinc-software.de>

No longer allow the shutdown window being closed using the shortcut. Patch by Jonas Sundstrom, thanks!


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


# 1ad1713ad2a4dddf7390d5bc77ab665b94773591 03-Jun-2007 Stephan Aßmus <superstippi@gmx.de>

* applied patch by Jonas Sundström,
makes the Escape key cancel the restart/shutdown dialog


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


# d619e899856882ac0b399c8c8b1c47ea697d313e 16-Apr-2007 Ingo Weinhold <ingo_weinhold@gmx.de>

Fixed incorrect use of the sort() function. It expects a "less than"
compare function with bool return value, not a -1/0/1 returning
compare function. Fixes bug #1158 (registrar crash on shutdown).


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


# a1394a90ad22a87d7a1144aafe7b5b308e033a99 19-Mar-2007 Jérôme Duval <korli@users.berlios.de>

fixed bug #637:
"Shutdown window didn't draw fancy gray box where closing app's icons are shown
as in BeOS."


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


# 908b5c203457353e1dc5d690076ab83d1ffc6b25 14-Dec-2006 Ryan Leavengood <leavengood@gmail.com>

Removed the dependency in the registrar on an input_server header file which I
had previously inroduced. It is not needed anymore.


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


# 970014a60a12f265ce53f633950043af86cc05ff 13-Dec-2006 Ryan Leavengood <leavengood@gmail.com>

Improved the shutdown process some more. Systems apps are allowed to ignore the
quit request and are simply removed from the list of apps to close if this
happens. This is primarily designed for the input_server.

I also corrected the MIME type of the debug_server which was causing it to be
incorrectly killed at shutdown.

I did some other clean-up and removed the code I unintentionally submitted
yesterday.


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


# 252f4767828ef4564f9fcedca981234e26e7bd32 12-Dec-2006 Ryan Leavengood <leavengood@gmail.com>

Added some needed stdio.h includes. I don't know what magic was used to compile
these for other people, but they wouldn't compile for me when building the
app_server test environment.


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


# fa4cfdbf62d0d1b367cabdbd518f9b13d2f5ad19 17-Nov-2006 Stephan Aßmus <superstippi@gmx.de>

* use B_RGBA32 icons in shutdown process window (untested)


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


# 499aacdd0a020783a81e0d15a21bb2a4be4abeea 15-Nov-2006 Ryan Leavengood <leavengood@gmail.com>

Fixed bugs #177 and #180 by adding code to notify the input_server that the
system is shutting down.

For the protocol between the Registrar and input_server I decided to just
re-use the message constant already defined in the input server headers
(SYSTEM_SHUTTING_DOWN.)

The code in the input server to notify the InputServerDevices about the
shutdown was pretty trivial.

For the code in the Registrar I'll let some gurus review it to make sure it
fits in with the rest of the code.


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


# 89b35356db2d298e50e9bf356de64eb323163e50 14-Jun-2006 Jérôme Duval <korli@users.berlios.de>

revert 17726, my change wasn't good


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


# 1b4a4f541a7935c8b2236af9984b8595baac8329 05-Jun-2006 Jérôme Duval <korli@users.berlios.de>

changes the background color of CurrentAppIconView


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


# 4e65a2073d252b97e60a727be655a4698eed4e28 22-May-2006 Axel Dörfler <axeld@pinc-software.de>

The shutdown window now uses the same placement method like BAlerts.


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


# b793e7b72cd4f0465333bb37d2d10a41ccedd65a 23-Apr-2006 Axel Dörfler <axeld@pinc-software.de>

No longer hide the "Application X has aborted the shutdown process" message when
that application quits; this just prevented us to see who the culprit is.


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


# cc7c040b56a08360912017656cb1e6b1561bb1d3 26-Mar-2006 Stephan Aßmus <superstippi@gmx.de>

* Renamed occurrences of "Reboot" to "Restart".
* Added TODO regarding the mismatch of shutdown phase names, comments,
and the actually executed actions. The phase names and comments say that
the background apps are terminated before the non-application processes,
while in reality things are done the other way around. I suppose the
latter order is correct though.


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


# 5d35aa28330fad4da8cce03ed146a261250bc082 13-Mar-2006 Axel Dörfler <axeld@pinc-software.de>

I don't think kill_thread() is actually supposed to wait for the thread
to be killed. Reverted ShutdownProcess.cpp to continue to use kill_team()
instead of sending a signal.


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


# 3f56c07d8f47b668082d3417dbeddfc20aad0913 13-Mar-2006 Ingo Weinhold <ingo_weinhold@gmx.de>

We use send_signal(..., SIGKILL) to kill a team instead of kill_team()
now, since the latter one can hang. Closes bug #240.


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


# c8a9444b630a5a7b3d9d9b748e1921dcc542444f 07-Feb-2006 Ingo Weinhold <ingo_weinhold@gmx.de>

After cancelling the shutdown process applications couldn't be started
anymore. Fixes bug #119.


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


# 01e69aca05bf3a5c01287fc3f67204de0d0b8d5b 25-Jan-2006 Axel Dörfler <axeld@pinc-software.de>

Now shows the "Reboot" button after the actual shutdown attempt.
The invalidate work-around is no longer needed for the app_server.


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


# 0248f7e099cab5a4bea8dd301ee561cba28c0256 11-Jan-2006 Axel Dörfler <axeld@pinc-software.de>

Fixed typo: asynchronous shutdown is now working (ie. Deskbar doesn't block
the shutdown process any longer).


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


# 758b1d0e05fe1042cce6e00d194a147802d4f9be 12-Nov-2005 Ingo Weinhold <ingo_weinhold@gmx.de>

Fixes that make Haiku build with gcc 4. Mainly out of the following
categories:
* Missing includes (like <stdlib.h> and <string.h>).
* Linking against $(TARGET_LIBSTDC++) instead of libstdc++.r4.so.
* Local variables shadowing parameters.
* Default parameters in function definitions (as opposed to function
declarations).
* All C++ stuff (nothrow, map, set, vector, min, max,...) must be imported
explicitly from the std:: namespace now.
* "new (sometype)[...]" must read "new sometype[...]", even if sometype is
something like "const char *".
* __FUNCTION__ is no longer a string literal (but a string expression), i.e.
'printf(__FUNCTION__ ": ...\n")' is invalid code.
* A type cast results in a non-lvalue. E.g. "(char *)buffer += bytes"
is an invalid expression.
* "friend class SomeClass" only works when SomeClass is known before.
Otherwise the an inner class with that name is considered as friend.
gcc 4 is much pickier about scopes.
* gcc 4 is generally stricter with respect to type conversions in C.



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


# 530cb79cf1df1abe4722cb9adf88901a5318b22c 18-Jul-2005 Axel Dörfler <axeld@pinc-software.de>

Exchanged the order of the "Cancel" and "Reboot"/"Shutdown" buttons (and made the
latter the default), with Ingo's generous admission :-)


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


# 2fd4a0411b7a0a98d8099ef3ec8e52ee75a1d3a1 17-Jul-2005 Ingo Weinhold <ingo_weinhold@gmx.de>

Added a boolean "synchronous" parameter to BRoster::Shutdown(). Used in the
Deskbar to initiate the shutdown process asynchronously. Couldn't test it,
because opening the Be menu doesn't work:
***PANIC: BW: Can't find view with ID: 19 !***



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


# 6e8834d0ee6d22516f01557cd15b5fd3fef0ac84 16-Jul-2005 Ingo Weinhold <ingo_weinhold@gmx.de>

Removed forced debug output. Verified: _kern_shutdown(reboot = false) reboots too in qemu.

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


# 29aa57037d97141c18fa70e9c037508d95a1403d 11-Jul-2005 Ingo Weinhold <ingo_weinhold@gmx.de>

* Now we have a hardcoded list of apps which shall not be terminated on
shutdown (input, app, debug server, and registrar).
* Fixed crashing bug, if the shutdown was aborted before the window was
created.
* The text of the confirmation alert depends on whether we reboot or
shut down.


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


# 8ddc570d6faa1b7d542dd1648c7d53fc33ac25da 09-Jul-2005 Ingo Weinhold <ingo_weinhold@gmx.de>

* Implemented the BRoster::Shutdown() confirmation feature.
* When an application aborts the shutdown process by refusing to quit, the
shutdown window says so for 3 seconds before closing.
* Fixed the height of the normal buttons in the shutdown window. They
accidentially got the size of a default button.


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


# 177f17f43656656ae577658eb869bc45026d271a 07-Jul-2005 Philippe Houdoin <philippe.houdoin@gmail.com>

Fixed a bug. I think. Let's hope. Will see... Otherwise, I'm sorry. Really. (Untested).


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


# 6b454d971de0b410c4194a1eea853d99be4321cc 07-Jul-2005 Ingo Weinhold <ingo_weinhold@gmx.de>

* Background applications are now ask to quit in parallel.
* Implemented handling of apps blocking on modal windows.
* Fixed a few bugs.


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


# 935c0c3a124213e803739fbf073ca7446232e7ee 06-Jul-2005 Ingo Weinhold <ingo_weinhold@gmx.de>

Changed the shutdown process to match Be's: The user apps are not longer
asked to quit in parallel. Instead they are asked one after the other.
Played with the window to look more like the one in BeOS. The "shadow" on
the left side is still missing, but otherwise it's close.



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


# b285c0542cda49b72fbd932bacd2a9b69356ea83 06-Jul-2005 Ingo Weinhold <ingo_weinhold@gmx.de>

Implemented a shutdown window. Since we're quitting all user applications
in parallel, it displays the mini icons of all still running apps. Doesn't
look that great, though. Also, quitting the apps in parallel speeds up the
shutdown process, but has the disadvantage, that all apps will throw their
"Save changes...?" alerts at the user at once, which might not be a
desirable experience. I'll probably revert to the way Be did it.


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


# 205f8b0720bcf3a5df2e9583bfa103a8a1c7e8ff 04-Jul-2005 Stefano Ceccherini <stefano.ceccherini@gmail.com>

I obviously broke the r5 build with the last commit. Fixed.

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


# 715166d5b8c189c84129873e5f0e7cb852470eac 05-Jul-2005 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Fixed the build under haiku. Reported by Konrad.

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


# 553ea30124732e31346177c3bab544e074231b8e 03-Jul-2005 Ingo Weinhold <ingo_weinhold@gmx.de>

* Moved TRoster out of the BPrivate namespace. It does no longer appear in
any public header.
* Replaced a good deal of the MessageDeliverer's DeliverMessage() versions
by more general ones using the new interface MessagingTargetSet to represent
a set of targets. This simplifies the usage in cases where the caller doesn't
already have the targets in a supported representation.
* Implemented a first approximation of the shutdown process. There is no
GUI yet. Only superficially tested under R5.


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