haiku/src/servers/app
Axel Dörfler 67d3b755ec Fixed a stupid bug in ReleaseScreen(); caused an endless loop.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13717 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-17 16:11:27 +00:00
..
drawing some useful leftovers from debugging, use new with nothrow for it to make sense to test the returned pointer 2005-07-16 23:34:23 +00:00
Angle.cpp Some cleanup, some removed typos, some unification, some fixes and some added todos. Most of it related to client-server communication. Apps that rely on BFont stuff should work now (StyledEdit, Fonts, Keymap, Menu, ...). Or should not hang/quit at startup at least. 2005-07-10 21:16:43 +00:00
Angle.h Some cleanup, some removed typos, some unification, some fixes and some added todos. Most of it related to client-server communication. Apps that rely on BFont stuff should work now (StyledEdit, Fonts, Keymap, Menu, ...). Or should not hang/quit at startup at least. 2005-07-10 21:16:43 +00:00
app_server.rdef added icons needed for BAlerts 2005-07-16 22:50:43 +00:00
AppServer.cpp First baby step to a restructured app_server: 2005-07-15 12:45:23 +00:00
AppServer.h Some cleanup, some removed typos, some unification, some fixes and some added todos. Most of it related to client-server communication. Apps that rely on BFont stuff should work now (StyledEdit, Fonts, Keymap, Menu, ...). Or should not hang/quit at startup at least. 2005-07-10 21:16:43 +00:00
BGet++.cpp offscreen bitmaps work, tested on Haiku as well, supports all colorspaces that BBitmap::ImportBits() supports. It uses a fallback for non-B_RGB(A)32 bitmaps. Added support for B_SUB_PIXEL_PRECISION view flags, though it is a bit hacky, since I had to add it to LayerData, even though it is not a true part of stack data. Added Layer::SetFlags() to enforce code path and update fLayerData. Cleaned up DisplayDriverPainter and DisplayDriver API (changed some const BRect& rect to simply BRect rect in order to be able to reuse it in the code), moved Painter.h, the test environment only draws the changed part of the frame buffer again - this causes a lot less CPU overhead, Painter special cases stroke width of 1.0 to use square caps, which is similar to R5 implementation and removes a lot of problems with non-straight line drawing, ServerWindow uses the DisplayDriver from it's WinBorder instead of the one from the Desktop (needed for offscreen windows, which have their own DisplayDriverPainter), it also checks for GetRootLayer() == NULL, because offscreen layers are not attached to a RootLayer, there was a fix for scrolling which worked at least in the test environment, it is now defunced, because Adi moved _CopyBits to Layer... I need to reenable it later, LayerData has no more fEscapementDelta, also fixed fFontAliasing (which was thought to overriding the font flags, and now works as such again), Desktop initialises the menu_info and scroll_bar_info stuff, which makes ScrollBars work actually... hope I didn't forget something. 2005-07-05 16:17:16 +00:00
BGet++.h Improved AreaPool to have an initial size as well as well as a name that is 2005-06-24 04:01:16 +00:00
BitmapManager.cpp Improved AreaPool to have an initial size as well as well as a name that is 2005-06-24 04:01:16 +00:00
ColorSet.cpp Some cleanup, some removed typos, some unification, some fixes and some added todos. Most of it related to client-server communication. Apps that rely on BFont stuff should work now (StyledEdit, Fonts, Keymap, Menu, ...). Or should not hang/quit at startup at least. 2005-07-10 21:16:43 +00:00
CursorData.cpp Moved app_server files to app/. 2005-03-24 14:45:52 +00:00
CursorData.h step 3, exracted code from DisplayDriver into DisplayDriverImpl, adjusted the existing implementations to derive from the new class, got rid of some "friend" stuff along the way, essentially I made room for the new Painter based DisplayDriver implementation. 2005-03-25 17:29:20 +00:00
CursorManager.cpp Just some style cleanups again. Sorry I couldn't resist, won't happen again ;-). 2005-07-12 17:41:22 +00:00
CursorManager.h Just some style cleanups again. Sorry I couldn't resist, won't happen again ;-). 2005-07-12 17:41:22 +00:00
DebugInfoManager.cpp added a little debugging facility for printing on-screen debugging info on Haiku. For those like me without serial debugging... also made RootLayer use the desktop background color. 2005-05-25 23:59:23 +00:00
DebugInfoManager.h Just some style cleanups again. Sorry I couldn't resist, won't happen again ;-). 2005-07-12 17:41:22 +00:00
Decorator.cpp a new state begins life as a copy from the previous state, fixed Scale(). Note that BoundsOrigin() (and therefor Scale()) is called _a lot_ so we should cache the value! I started to work on this, but our lack of encapsulation strikes again... Layer::fLayerData is used directly all over the place. 2005-06-16 12:32:42 +00:00
DecorManager.cpp Fixed some style related functions and other oddities in FontServer. 2005-06-24 03:31:41 +00:00
DecorManager.h Cleanup for decorator management code 2005-06-17 19:10:15 +00:00
DefaultDecorator.cpp Made the border line darker for B_BORDERED_WINDOW_LOOK - menus look much better now 2005-07-05 23:10:08 +00:00
DefaultDecorator.h a new state begins life as a copy from the previous state, fixed Scale(). Note that BoundsOrigin() (and therefor Scale()) is called _a lot_ so we should cache the value! I started to work on this, but our lack of encapsulation strikes again... Layer::fLayerData is used directly all over the place. 2005-06-16 12:32:42 +00:00
Desktop.cpp First baby step to a restructured app_server: 2005-07-15 12:45:23 +00:00
Desktop.h First baby step to a restructured app_server: 2005-07-15 12:45:23 +00:00
FontFamily.cpp large cleanup, should have fixed some memory leaks too 2005-06-03 19:30:32 +00:00
FontServer.cpp Fixed some style related functions and other oddities in FontServer. 2005-06-24 03:31:41 +00:00
Globals.h Moved app_server files to app/. 2005-03-24 14:45:52 +00:00
IPoint.cpp Moved app_server files to app/. 2005-03-24 14:45:52 +00:00
Jamfile First baby step to a restructured app_server: 2005-07-15 12:45:23 +00:00
Layer.cpp renamed the tree parsing/child iteration functions, I think it is much clearer now what they do, more likely to find bugs too 2005-07-10 17:16:31 +00:00
Layer.h renamed the tree parsing/child iteration functions, I think it is much clearer now what they do, more likely to find bugs too 2005-07-10 17:16:31 +00:00
LayerData.cpp offscreen bitmaps work, tested on Haiku as well, supports all colorspaces that BBitmap::ImportBits() supports. It uses a fallback for non-B_RGB(A)32 bitmaps. Added support for B_SUB_PIXEL_PRECISION view flags, though it is a bit hacky, since I had to add it to LayerData, even though it is not a true part of stack data. Added Layer::SetFlags() to enforce code path and update fLayerData. Cleaned up DisplayDriverPainter and DisplayDriver API (changed some const BRect& rect to simply BRect rect in order to be able to reuse it in the code), moved Painter.h, the test environment only draws the changed part of the frame buffer again - this causes a lot less CPU overhead, Painter special cases stroke width of 1.0 to use square caps, which is similar to R5 implementation and removes a lot of problems with non-straight line drawing, ServerWindow uses the DisplayDriver from it's WinBorder instead of the one from the Desktop (needed for offscreen windows, which have their own DisplayDriverPainter), it also checks for GetRootLayer() == NULL, because offscreen layers are not attached to a RootLayer, there was a fix for scrolling which worked at least in the test environment, it is now defunced, because Adi moved _CopyBits to Layer... I need to reenable it later, LayerData has no more fEscapementDelta, also fixed fFontAliasing (which was thought to overriding the font flags, and now works as such again), Desktop initialises the menu_info and scroll_bar_info stuff, which makes ScrollBars work actually... hope I didn't forget something. 2005-07-05 16:17:16 +00:00
MultiLocker.cpp Added some root layer locking in ServerWindow.cpp when accessing the layer tree. Moved HWInterface management out of DisplayDriverPainter and into Desktop. Removed all the directly hardware related functions from DisplayDriver API. They just called the same HWInterface functions. Now DisplayDriver is much cleaner and ready for being attached to a yet to be written BitmapHWInterface. Clean up of the display mode stuff in Screen and the View-/AccelerantHWInterface. Frequency is now regarded on Haiku. AccelerantHWInterface::GetModeList now works before SetMode has been called. Added MultiLocker from the sample code. HWInterface uses it now in preparation to being used from multiple instances of DisplayDriver. 2005-06-23 23:46:17 +00:00
MultiLocker.h Added some root layer locking in ServerWindow.cpp when accessing the layer tree. Moved HWInterface management out of DisplayDriverPainter and into Desktop. Removed all the directly hardware related functions from DisplayDriver API. They just called the same HWInterface functions. Now DisplayDriver is much cleaner and ready for being attached to a yet to be written BitmapHWInterface. Clean up of the display mode stuff in Screen and the View-/AccelerantHWInterface. Frequency is now regarded on Haiku. AccelerantHWInterface::GetModeList now works before SetMode has been called. Added MultiLocker from the sample code. HWInterface uses it now in preparation to being used from multiple instances of DisplayDriver. 2005-06-23 23:46:17 +00:00
OffscreenServerWindow.cpp offscreen bitmaps work, tested on Haiku as well, supports all colorspaces that BBitmap::ImportBits() supports. It uses a fallback for non-B_RGB(A)32 bitmaps. Added support for B_SUB_PIXEL_PRECISION view flags, though it is a bit hacky, since I had to add it to LayerData, even though it is not a true part of stack data. Added Layer::SetFlags() to enforce code path and update fLayerData. Cleaned up DisplayDriverPainter and DisplayDriver API (changed some const BRect& rect to simply BRect rect in order to be able to reuse it in the code), moved Painter.h, the test environment only draws the changed part of the frame buffer again - this causes a lot less CPU overhead, Painter special cases stroke width of 1.0 to use square caps, which is similar to R5 implementation and removes a lot of problems with non-straight line drawing, ServerWindow uses the DisplayDriver from it's WinBorder instead of the one from the Desktop (needed for offscreen windows, which have their own DisplayDriverPainter), it also checks for GetRootLayer() == NULL, because offscreen layers are not attached to a RootLayer, there was a fix for scrolling which worked at least in the test environment, it is now defunced, because Adi moved _CopyBits to Layer... I need to reenable it later, LayerData has no more fEscapementDelta, also fixed fFontAliasing (which was thought to overriding the font flags, and now works as such again), Desktop initialises the menu_info and scroll_bar_info stuff, which makes ScrollBars work actually... hope I didn't forget something. 2005-07-05 16:17:16 +00:00
OffscreenServerWindow.h offscreen bitmaps work, tested on Haiku as well, supports all colorspaces that BBitmap::ImportBits() supports. It uses a fallback for non-B_RGB(A)32 bitmaps. Added support for B_SUB_PIXEL_PRECISION view flags, though it is a bit hacky, since I had to add it to LayerData, even though it is not a true part of stack data. Added Layer::SetFlags() to enforce code path and update fLayerData. Cleaned up DisplayDriverPainter and DisplayDriver API (changed some const BRect& rect to simply BRect rect in order to be able to reuse it in the code), moved Painter.h, the test environment only draws the changed part of the frame buffer again - this causes a lot less CPU overhead, Painter special cases stroke width of 1.0 to use square caps, which is similar to R5 implementation and removes a lot of problems with non-straight line drawing, ServerWindow uses the DisplayDriver from it's WinBorder instead of the one from the Desktop (needed for offscreen windows, which have their own DisplayDriverPainter), it also checks for GetRootLayer() == NULL, because offscreen layers are not attached to a RootLayer, there was a fix for scrolling which worked at least in the test environment, it is now defunced, because Adi moved _CopyBits to Layer... I need to reenable it later, LayerData has no more fEscapementDelta, also fixed fFontAliasing (which was thought to overriding the font flags, and now works as such again), Desktop initialises the menu_info and scroll_bar_info stuff, which makes ScrollBars work actually... hope I didn't forget something. 2005-07-05 16:17:16 +00:00
OffscreenWinBorder.cpp offscreen bitmaps work, tested on Haiku as well, supports all colorspaces that BBitmap::ImportBits() supports. It uses a fallback for non-B_RGB(A)32 bitmaps. Added support for B_SUB_PIXEL_PRECISION view flags, though it is a bit hacky, since I had to add it to LayerData, even though it is not a true part of stack data. Added Layer::SetFlags() to enforce code path and update fLayerData. Cleaned up DisplayDriverPainter and DisplayDriver API (changed some const BRect& rect to simply BRect rect in order to be able to reuse it in the code), moved Painter.h, the test environment only draws the changed part of the frame buffer again - this causes a lot less CPU overhead, Painter special cases stroke width of 1.0 to use square caps, which is similar to R5 implementation and removes a lot of problems with non-straight line drawing, ServerWindow uses the DisplayDriver from it's WinBorder instead of the one from the Desktop (needed for offscreen windows, which have their own DisplayDriverPainter), it also checks for GetRootLayer() == NULL, because offscreen layers are not attached to a RootLayer, there was a fix for scrolling which worked at least in the test environment, it is now defunced, because Adi moved _CopyBits to Layer... I need to reenable it later, LayerData has no more fEscapementDelta, also fixed fFontAliasing (which was thought to overriding the font flags, and now works as such again), Desktop initialises the menu_info and scroll_bar_info stuff, which makes ScrollBars work actually... hope I didn't forget something. 2005-07-05 16:17:16 +00:00
OffscreenWinBorder.h offscreen bitmaps work, tested on Haiku as well, supports all colorspaces that BBitmap::ImportBits() supports. It uses a fallback for non-B_RGB(A)32 bitmaps. Added support for B_SUB_PIXEL_PRECISION view flags, though it is a bit hacky, since I had to add it to LayerData, even though it is not a true part of stack data. Added Layer::SetFlags() to enforce code path and update fLayerData. Cleaned up DisplayDriverPainter and DisplayDriver API (changed some const BRect& rect to simply BRect rect in order to be able to reuse it in the code), moved Painter.h, the test environment only draws the changed part of the frame buffer again - this causes a lot less CPU overhead, Painter special cases stroke width of 1.0 to use square caps, which is similar to R5 implementation and removes a lot of problems with non-straight line drawing, ServerWindow uses the DisplayDriver from it's WinBorder instead of the one from the Desktop (needed for offscreen windows, which have their own DisplayDriverPainter), it also checks for GetRootLayer() == NULL, because offscreen layers are not attached to a RootLayer, there was a fix for scrolling which worked at least in the test environment, it is now defunced, because Adi moved _CopyBits to Layer... I need to reenable it later, LayerData has no more fEscapementDelta, also fixed fFontAliasing (which was thought to overriding the font flags, and now works as such again), Desktop initialises the menu_info and scroll_bar_info stuff, which makes ScrollBars work actually... hope I didn't forget something. 2005-07-05 16:17:16 +00:00
PicturePlayer.cpp offscreen bitmaps work, tested on Haiku as well, supports all colorspaces that BBitmap::ImportBits() supports. It uses a fallback for non-B_RGB(A)32 bitmaps. Added support for B_SUB_PIXEL_PRECISION view flags, though it is a bit hacky, since I had to add it to LayerData, even though it is not a true part of stack data. Added Layer::SetFlags() to enforce code path and update fLayerData. Cleaned up DisplayDriverPainter and DisplayDriver API (changed some const BRect& rect to simply BRect rect in order to be able to reuse it in the code), moved Painter.h, the test environment only draws the changed part of the frame buffer again - this causes a lot less CPU overhead, Painter special cases stroke width of 1.0 to use square caps, which is similar to R5 implementation and removes a lot of problems with non-straight line drawing, ServerWindow uses the DisplayDriver from it's WinBorder instead of the one from the Desktop (needed for offscreen windows, which have their own DisplayDriverPainter), it also checks for GetRootLayer() == NULL, because offscreen layers are not attached to a RootLayer, there was a fix for scrolling which worked at least in the test environment, it is now defunced, because Adi moved _CopyBits to Layer... I need to reenable it later, LayerData has no more fEscapementDelta, also fixed fFontAliasing (which was thought to overriding the font flags, and now works as such again), Desktop initialises the menu_info and scroll_bar_info stuff, which makes ScrollBars work actually... hope I didn't forget something. 2005-07-05 16:17:16 +00:00
PicturePlayer.h Moved app_server files to app/. 2005-03-24 14:45:52 +00:00
PNGDump.cpp just a little cleanup, made PNG screenshots work 2005-05-15 00:22:55 +00:00
PNGDump.h Moved app_server files to app/. 2005-03-24 14:45:52 +00:00
RAMLinkMsgReader.cpp Renamed BAppServerLink to AppServerLink, BPortLink to PortLink, LinkMsgReader 2005-06-14 21:28:56 +00:00
RAMLinkMsgReader.h Renamed BAppServerLink to AppServerLink, BPortLink to PortLink, LinkMsgReader 2005-06-14 21:28:56 +00:00
RGBColor.cpp Added an app server command to retrieve the color map. Made some adjustments to SystemPalette.cpp, implemented support for it in BPrivateScreen. Moved get_scs() a bit down to avoid a deadlock. Note that getting the colormap doesn't work due to port capacity limit (?) 2005-06-07 21:32:24 +00:00
RootLayer.cpp First baby step to a restructured app_server: 2005-07-15 12:45:23 +00:00
RootLayer.h First baby step to a restructured app_server: 2005-07-15 12:45:23 +00:00
ScreenManager.cpp Fixed a stupid bug in ReleaseScreen(); caused an endless loop. 2005-07-17 16:11:27 +00:00
ScreenManager.h First baby step to a restructured app_server: 2005-07-15 12:45:23 +00:00
ServerApp.cpp Implemented BPrivateScreen::ReadBitmap(), but the guts are still missing 2005-07-13 22:33:52 +00:00
ServerApp.h Improved quit mechanism (for the last time): if an application had open 2005-07-01 10:09:11 +00:00
ServerBitmap.cpp fInitialized is also set in the copy constructor. BTW, the Haiku Logo is displayed now (forgot to commit this earlier). Thanks to Axel for finding out about this. 2005-06-14 00:38:21 +00:00
ServerCursor.cpp cosmetical changes and some bug fixes along the way, added another constructor to take on bitmap data from somewhere else 2005-04-14 00:04:26 +00:00
ServerFont.cpp Fixed some style related functions and other oddities in FontServer. 2005-06-24 03:31:41 +00:00
ServerPicture.cpp Moved app_server files to app/. 2005-03-24 14:45:52 +00:00
ServerPicture.h Moved app_server files to app/. 2005-03-24 14:45:52 +00:00
ServerScreen.cpp fixed my previous commit, it helps to read the diffs again... but this fallback needs to move somewhere else, as commented by the TODO 2005-07-16 23:43:30 +00:00
ServerScreen.h _FindMode is now more robust and really tries everything it can to find a mode... 2005-07-16 22:50:17 +00:00
ServerWindow.cpp Some cleanup, some removed typos, some unification, some fixes and some added todos. Most of it related to client-server communication. Apps that rely on BFont stuff should work now (StyledEdit, Fonts, Keymap, Menu, ...). Or should not hang/quit at startup at least. 2005-07-10 21:16:43 +00:00
ServerWindow.h Renamed AS_WINDOW_TITLE to AS_SET_WINDOW_TITLE. 2005-07-05 19:20:19 +00:00
SubWindowList.cpp ServerApp now maintains a list of all windows, ServerWindow's AS_DELETE_WINDOW 2005-06-23 18:48:10 +00:00
SubWindowList.h Renamed class FMWList to SubWindowList. Cleaned up SubWindowList a bit. 2005-06-17 16:34:22 +00:00
SysCursor.cpp Renamed BAppServerLink to AppServerLink, BPortLink to PortLink, LinkMsgReader 2005-06-14 21:28:56 +00:00
SystemPalette.cpp forgot to remove debug output 2005-07-16 22:49:17 +00:00
TokenHandler.cpp Moved app_server files to app/. 2005-03-24 14:45:52 +00:00
Utils.cpp Aren't these supposed to be chars? 2005-04-01 04:03:11 +00:00
Utils.h Moved app_server files to app/. 2005-03-24 14:45:52 +00:00
VirtualScreen.cpp First baby step to a restructured app_server: 2005-07-15 12:45:23 +00:00
VirtualScreen.h First baby step to a restructured app_server: 2005-07-15 12:45:23 +00:00
WinBorder.cpp Minor cleanup: we have a constant for the desktop window feel. 2005-07-06 16:26:53 +00:00
WinBorder.h offscreen bitmaps work, tested on Haiku as well, supports all colorspaces that BBitmap::ImportBits() supports. It uses a fallback for non-B_RGB(A)32 bitmaps. Added support for B_SUB_PIXEL_PRECISION view flags, though it is a bit hacky, since I had to add it to LayerData, even though it is not a true part of stack data. Added Layer::SetFlags() to enforce code path and update fLayerData. Cleaned up DisplayDriverPainter and DisplayDriver API (changed some const BRect& rect to simply BRect rect in order to be able to reuse it in the code), moved Painter.h, the test environment only draws the changed part of the frame buffer again - this causes a lot less CPU overhead, Painter special cases stroke width of 1.0 to use square caps, which is similar to R5 implementation and removes a lot of problems with non-straight line drawing, ServerWindow uses the DisplayDriver from it's WinBorder instead of the one from the Desktop (needed for offscreen windows, which have their own DisplayDriverPainter), it also checks for GetRootLayer() == NULL, because offscreen layers are not attached to a RootLayer, there was a fix for scrolling which worked at least in the test environment, it is now defunced, because Adi moved _CopyBits to Layer... I need to reenable it later, LayerData has no more fEscapementDelta, also fixed fFontAliasing (which was thought to overriding the font flags, and now works as such again), Desktop initialises the menu_info and scroll_bar_info stuff, which makes ScrollBars work actually... hope I didn't forget something. 2005-07-05 16:17:16 +00:00
Workspace.cpp Tried to separate active WinBorder from front, but failed - it's now always 2005-07-06 20:19:22 +00:00
Workspace.h Tried to separate active WinBorder from front, but failed - it's now always 2005-07-06 20:19:22 +00:00
WorkspacesLayer.cpp No longer draws the desktop window. 2005-07-08 00:38:52 +00:00
WorkspacesLayer.h WorkspacesLayer now makes use of DisplayDriver::ConstrainClippingRegion() in 2005-07-01 07:58:22 +00:00