[haiku-commits] Re: haiku: hrev43679 - in src: servers/app kits/interface servers/registrar kits/app servers/debug

  • From: Clemens <clemens.zeidler@xxxxxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sun, 22 Jan 2012 17:08:34 +1300

On Sun, 22 Jan 2012 15:56:24 +1300, <clemens.zeidler@xxxxxxxxxxxxxx> wrote:

hrev43679 adds 8 changesets to branch 'master'
old head: 403e13486211b372e1c539e0603407b81d66dfa0
new head: c7413cf90cd13672348a8c1421c2f8d11de95798
04209cd: Catch a app_server crash in the debug server. Let the registrar restart the app_server and notify all apps.
577f587: Make it possible to reconnect BBitmap to the app_server.
  * maintain a list of all BBitmaps
* refactor the client memory allocator class, its possible now to just clone existing client area
40c3487: Reconnect BPicture to the app_server.
  * maintain a list of all BPictures to do so
* BView downloads the BPicture data after recording the picture. This could probably done more efficiently using shared memory in the first place.
00670f0: Reconnect imput server.
6c40fc5: Reconnect BApplication and trigger reconnect of all BWindows in an application.
  * handle bitmap reconnect request in the app server
958ac01: Reconnect window and recreate all views.
5dbc26d: Add AS_RECONNECT_BITMAP to the server protocol.
c7413cf: Forgot this file.

Restarting the app_server is basically working now. However, there are still some issues, see ticket #8292...

Should be fairly easy now to write an app that shuts down the running app_server and replace it by a new one. Its basically sending a message to the registrar and implementing the shutdown there (see todo in the code). Since I bet its not working reliable yet its more a developer thing but in the unlikely case of an app_server crash it could also help normal user.


Other related posts: