haiku/src/servers/app
Adi Oanca 76d68e8ad8 More cleanup.
* moved code from Layer::do_MoveBy/do_ResizeBy/do_ScrollBy into
Layer::MoveBy/ResizeBy/ScrollBy()
* removed do_Move/Resize/ScrollBy()
* removed WinBorder::_ResizeBy()




git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14810 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-09 20:14:52 +00:00
..
drawing now updates BView::PenLocation() correctly after DrawString(), stuff like DrawChar('a') is working nicely now, for rotated text much better then in BeOS in fact because of subpixel precision in pen location 2005-11-09 16:55:08 +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 * The font list is now cached client-side. The app_server is only queried for 2005-11-07 16:19:40 +00:00
AppServer.h Got rid of sDesktop. 2005-10-31 19:35:46 +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 Assigned names to "some BLocker"s to aid debugging. 2005-11-04 16:56:15 +00:00
CursorManager.h All cursor related changes: 2005-07-18 00:22:08 +00:00
CursorSet.cpp Removed {set|get}_syscursor according to DW. Scratch that last sentence in the last commit, with this Appearance builds again. 2005-07-18 00:35:18 +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 renamed DisplayDriverPainter.* to DrawingEngine.* 2005-11-04 15:54:16 +00:00
DecorManager.cpp Assigned names to "some BLocker"s to aid debugging. 2005-11-04 16:56:15 +00:00
DecorManager.h first step of geting rid of abstract DisplayDriver base class for less development overhead, DisplayDriverPainter is renamed to DrawingEngine 2005-11-04 15:23:54 +00:00
DefaultDecorator.cpp renamed DisplayDriverPainter.* to DrawingEngine.* 2005-11-04 15:54:16 +00:00
DefaultDecorator.h * the FontManager is now a looper (but doesn't do anything useful yet). 2005-11-03 17:03:36 +00:00
Desktop.cpp Added some code for notifying client BDirectWindows that the window was moved or resized. Currently commented because of other problems. Looks like the windows bounds are not changed if a MoveBy() is called before the window is shown. Removed unneeded includes. Small changes 2005-11-08 23:26:47 +00:00
Desktop.h first step of geting rid of abstract DisplayDriver base class for less development overhead, DisplayDriverPainter is renamed to DrawingEngine 2005-11-04 15:23:54 +00:00
DesktopSettings.cpp The font manager now has default fonts for bold/fixed as well - these are now used 2005-11-09 19:16:25 +00:00
DesktopSettings.h * the FontManager is now a looper (but doesn't do anything useful yet). 2005-11-03 17:03:36 +00:00
DesktopSettingsPrivate.h The font manager now has default fonts for bold/fixed as well - these are now used 2005-11-09 19:16:25 +00:00
DrawState.cpp * origin in DrawState is now the summed up origin, when setting it, 2005-11-08 01:16:15 +00:00
FontFamily.cpp The font manager now utilizes a hash table to look up fonts by ID. 2005-11-08 16:49:33 +00:00
FontManager.cpp The font manager now has default fonts for bold/fixed as well - these are now used 2005-11-09 19:16:25 +00:00
HashTable.cpp The FontStyles are already deleted when deconstructing the family list - the 2005-11-08 19:04:01 +00:00
IPoint.cpp Moved app_server files to app/. 2005-03-24 14:45:52 +00:00
Jamfile Remove IPoint.cpp from the build as no one needs it 2005-11-08 23:25:31 +00:00
Layer.cpp More cleanup. 2005-11-09 20:14:52 +00:00
Layer.h More cleanup. 2005-11-09 20:14:52 +00:00
MessageLooper.cpp The Desktop class now gets its own message processing loop: moved application 2005-07-25 21:08:34 +00:00
MessageLooper.h The app_server now inherits from MessageLooper as well. 2005-07-25 21:53:48 +00:00
MultiLocker.cpp Assigned names to "some BLocker"s to aid debugging. 2005-11-04 16:56:15 +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 Cleanup. 2005-11-08 17:38:07 +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 renamed DisplayDriverPainter to DrawingEngine, removed tons of duplicated code, and - guess what - found some bugs while doing so... but nothing critical. This patch removes the former DisplayDriver API from libappserver.so, which I think breaks Decorator plug-ins for now 2005-11-04 18:22:22 +00:00
PicturePlayer.h renamed DisplayDriverPainter.* to DrawingEngine.* 2005-11-04 15:54:16 +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 Removed unused files like PortMessage.cpp/h and Session.cpp/h. 2005-11-02 12:55:20 +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 Added some code for notifying client BDirectWindows that the window was moved or resized. Currently commented because of other problems. Looks like the windows bounds are not changed if a MoveBy() is called before the window is shown. Removed unneeded includes. Small changes 2005-11-08 23:26:47 +00:00
RootLayer.h Removed leftover 2005-11-08 23:55:27 +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 step of geting rid of abstract DisplayDriver base class for less development overhead, DisplayDriverPainter is renamed to DrawingEngine 2005-11-04 15:23:54 +00:00
ServerApp.cpp * ServerFont now also adopts the FontStyle's face and direction on 2005-11-09 20:10:40 +00:00
ServerApp.h first step of geting rid of abstract DisplayDriver base class for less development overhead, DisplayDriverPainter is renamed to DrawingEngine 2005-11-04 15:23:54 +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 * ServerFont now also adopts the FontStyle's face and direction on 2005-11-09 20:10:40 +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 renamed DisplayDriverPainter.* to DrawingEngine.* 2005-11-04 15:54:16 +00:00
ServerScreen.h first step of geting rid of abstract DisplayDriver base class for less development overhead, DisplayDriverPainter is renamed to DrawingEngine 2005-11-04 15:23:54 +00:00
ServerWindow.cpp now updates BView::PenLocation() correctly after DrawString(), stuff like DrawChar('a') is working nicely now, for rotated text much better then in BeOS in fact because of subpixel precision in pen location 2005-11-09 16:55:08 +00:00
ServerWindow.h Made ServerWindow::_HandleDirectConnection() a public method. It will be called from WinBorder too. 2005-11-08 08:32:32 +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
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 Added missing header, applied style guide. 2005-11-07 17:16:09 +00:00
Utils.h Moved app_server files to app/. 2005-03-24 14:45:52 +00:00
VirtualScreen.cpp renamed DisplayDriverPainter.* to DrawingEngine.* 2005-11-04 15:54:16 +00:00
VirtualScreen.h first step of geting rid of abstract DisplayDriver base class for less development overhead, DisplayDriverPainter is renamed to DrawingEngine 2005-11-04 15:23:54 +00:00
WinBorder.cpp More cleanup. 2005-11-09 20:14:52 +00:00
WinBorder.h More cleanup. 2005-11-09 20:14:52 +00:00
Workspace.cpp Fixed a stupid bug when checking if the window order changed. Added support for BWindow::Activate(false). Added some debug support for Workspace::WMState. Simplified a bit code for sending a window to back. 2005-10-29 10:19:23 +00:00
Workspace.h Fixed a stupid bug when checking if the window order changed. Added support for BWindow::Activate(false). Added some debug support for Workspace::WMState. Simplified a bit code for sending a window to back. 2005-10-29 10:19:23 +00:00
WorkspacesLayer.cpp Cleanup. 2005-11-08 17:38:07 +00:00
WorkspacesLayer.h first step of geting rid of abstract DisplayDriver base class for less development overhead, DisplayDriverPainter is renamed to DrawingEngine 2005-11-04 15:23:54 +00:00