#
e2c40127 |
|
24-Jul-2022 |
John Scipione <jscipione@gmail.com> |
test_app_server: fix build test_app_server: fix build for SVGViewView.cpp src/tests/kits/interface/picture/SVGViewView.cpp: In method `struct rgb_color Svg2PictureView::GetColorAttribute(const XML_Char **, const char *, unsigned char)': src/tests/kits/interface/picture/SVGViewView.cpp:258: warning: unsigned int format, long unsigned int arg (arg 3) src/tests/kits/interface/picture/SVGViewView.cpp:258: warning: unsigned int format, long unsigned int arg (arg 4) src/tests/kits/interface/picture/SVGViewView.cpp:258: warning: unsigned int format, long unsigned int arg (arg 5) src/tests/kits/interface/picture/SVGViewView.cpp:264: warning: unsigned int format, long unsigned int arg (arg 3) src/tests/kits/interface/picture/SVGViewView.cpp:264: warning: unsigned int format, long unsigned int arg (arg 4) src/tests/kits/interface/picture/SVGViewView.cpp:264: warning: unsigned int format, long unsigned int arg (arg 5) src/tests/kits/interface/picture/SVGViewView.cpp:276: warning: int format, int32 arg (arg 3) src/tests/kits/interface/picture/SVGViewView.cpp:276: warning: int format, int32 arg (arg 4) src/tests/kits/interface/picture/SVGViewView.cpp:276: warning: int format, int32 arg (arg 5) Change-Id: I886cef4df7f47425db8ee22ec1271d122cb454ea test_app_server: fix build for ScreenManager.cpp src/servers/app/ScreenManager.cpp:206: parse error before `(' Add expat build feature to picture Jamfile src/tests/kits/interface/picture/SVGViewView.h:5: expat.h: No such file or directory Change-Id: I83edbc3059d6042482820a43eb41ef16928b8f6b Reviewed-on: https://review.haiku-os.org/c/haiku/+/5504 Reviewed-by: John Scipione <jscipione@gmail.com> Reviewed-by: waddlesplash <waddlesplash@gmail.com>
|
#
50d29435 |
|
06-Jul-2022 |
Augustin Cavalier <waddlesplash@gmail.com> |
app_server: Mild cleanup to ScreenManager. The #ifdefs for test mode are now more appropriately located.
|
#
741032ea |
|
12-Mar-2021 |
Murai Takashi <tmurai01@gmail.com> |
servers/app: Fix double delete Pointed out by Clang Static Analyzer. Change-Id: Ifba9ffd03a49fd66cc3e3c7cacaee641b7e939ab Reviewed-on: https://review.haiku-os.org/c/haiku/+/3774 Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
|
#
779ab335 |
|
09-Dec-2020 |
X512 <danger_mail@list.ru> |
use .IsSet() instead if .Get() != NULL Change-Id: Ia2b7a719fd398e78cc3b11d4f7b02cb81179f65f Reviewed-on: https://review.haiku-os.org/c/haiku/+/3488 Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
|
#
d99d8dbd |
|
27-Aug-2020 |
X512 <danger_mail@list.ru> |
app_server memory management: use ObjectDeleter to mark ownership Make object ownership explicit by use of ObjectDeleter where possible. Change-Id: I499a00aa3390d1510ae284419e73faffa5166430 Reviewed-on: https://review.haiku-os.org/c/haiku/+/2695 Reviewed-by: Adrien Destugues <pulkomandy@gmail.com> Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
|
#
f569b970 |
|
24-Apr-2020 |
X512 <danger_mail@list.ru> |
test_app_server: add multiple screen support Change-Id: I89fb30936160615d28aebb36c8b1f84690007de7 Reviewed-on: https://review.haiku-os.org/c/haiku/+/2511 Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
|
#
cec4fe2f |
|
21-Nov-2017 |
Michael Lotz <mmlr@mlotz.ch> |
app_server: Remove stubbed HTML5 HWInterface. It was mostly a renamed copy of the remote HWInterface with beginnings of a webserver and client. It never became actually functional.
|
#
f3e8ed4d |
|
21-Nov-2017 |
Michael Lotz <mmlr@mlotz.ch> |
app_server: Implement screen changed hooks and notifications. The ScreenOwner interface gets an additional ScreenChanged() hook. It is implemented in the Desktop class to automatically set the preferred screen mode on the changed screen. The HWInterfaceListener, previously only used by the downstream DrawingEngine, gets an additional ScreenChanged() hook as well to inform an upstream client of a changed screen. The ScreenManager ties these two mechanisms together.
|
#
1a472d01 |
|
22-Sep-2017 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
servers/app: html5/remote drawing 64-bit fixes * Still doesn't seem to work anymore. * Documentation: TARGET_SCREEN="html5:127.0.0.1:80" DeskCalc
|
#
dcaec19c |
|
08-Feb-2013 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
AppServer: Organize "HWInterface" classes * Organize interface classes into directories * Long term this will assist in the multi-head interface / accelerant changes. * local draws to the local hw accelerant * remote draws to a remote connection (???) * html5 draws to... an html5 canvas?
|
#
3fed1a15 |
|
05-Aug-2012 |
Alex Smith <alex@alex-smith.me.uk> |
Get app_server working on x86_64. With this commit, app_server now compiles and runs at boot! Nothing particularly interesting happens, just the blue background and a mouse pointer. Remote backends are broken and not compiled in, see #8834. Note that it won't be possible to build this quite yet, need to get the FreeType package uploaded.
|
#
8d33dc29 |
|
01-Apr-2012 |
François Revol <revol@free.fr> |
An html5 <canvas> based drawing engine This implements an html5 rendering engine. Inspired by the Broadway GDK backend for Gnome. Work in progress. For now it just connects and dumps debug output.
|
#
b7b32111 |
|
06-Oct-2009 |
Stephan Aßmus <superstippi@gmx.de> |
Leave out the cool new remote screen feature from the libbe_test app_server. Otherwise libnetwork.so needs to be dragged in, which has some issues. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33454 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
68667bf4 |
|
04-Oct-2009 |
Michael Lotz <mmlr@mlotz.ch> |
* Adding a remote desktop interface that operates on app_server drawing primitives by providing a RemoteDrawingEngine and a RemoteHWInterface. Not really optimized yet, still a bit WIP. * Adding corresponding infrastructure like a blocking ring buffer and network sender/receiver that are attached to the buffers to feed/drain them as well as a RemoteMessage helper that provides a message based interface. * Adding target screen concept to request an app to be run on a specific screen. It's controlled by the TARGET_SCREEN environment variable which is added on the app side and sent to the app_server. * Right now only remote target screens are supported, in which case a new RemoteHWInterface is created that tries to connect to the given host:port. * Fix shape bounds when drawing, they need to be translated by the pen position and converted to screen like the points as well. Wasn't visible though as the bounds weren't used in the normal DrawingEngine. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33417 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
0eed9183 |
|
20-Aug-2009 |
Axel Dörfler <axeld@pinc-software.de> |
* Rewrote screen configuration management: VirtualScreen doesn't have anything to do with the configurations now, instead, there is a separated ScreenConfigurations class that maintains all known screen_configurations per workspace (and the Workspace::Private class has two of them, one for the current modes, one for the stored modes). * Added Desktop::{Get|Set}ScreenMode() methods, ServerApp now only calls those. * Getting and setting of anything else than the current screen is now supported. * This change also fixes that a temporarily set screen mode was not being restored on workspace switch. * Also, the Deskbar now seems to have the wrong location a lot, which is something that should be easily fixable therefore. I will look into this next. * Got rid of the unhandy screen_id structure server side, and in BPrivateScreen; we now just use an int32 - the next API break should definitely replace the screen_id with a simple typedef. * Some cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32541 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
953d895e |
|
07-Mar-2008 |
Axel Dörfler <axeld@pinc-software.de> |
* Got rid of the "Layer" part of WindowLayer, ViewLayer, WorkspacesLayer (now WorkspacesView), OffscreenWindowLayer. * Renamed ServerScreen.cpp/h to Screen.cpp/h (the class was already called Screen). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24303 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
67491d2a |
|
29-Nov-2006 |
Stephan Aßmus <superstippi@gmx.de> |
* introduced a listener mechanism to be notified of frame buffer changes in the HWInterface (ie on mode switch) * initialization and shutdown of the HWInterface instance no longer go through DrawingEngine, which had nothing to do with it in the first place (this is in preparation of giving each ServerWindow it's own DrawingEngine instance) * small performance improvement in ViewLayer::ScrollBy() * some cleanup in ServerConfig.h git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19391 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
bd09e99d |
|
11-Dec-2005 |
Axel Dörfler <axeld@pinc-software.de> |
Made the direct window test environment optional, since it crashes the Dano app_server... If you like to use it, define USE_DIRECT_WINDOW_TEST_MODE in the haiku_app_server Jamfile. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15504 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
62b965a6 |
|
10-Dec-2005 |
Stephan Aßmus <superstippi@gmx.de> |
* got the "cloned accelerant" based DWindowHWInterface to work, though without using the clipping info from a BDirectWindow... I made it so that the window used stays on top always, until I can think of something better. The other problem is that you should not move the window, since Painter doesn't update it's pointer into the frame buffer. * Now the test environment is running at pretty much the same speed as it would under Haiku, completely by-passing the BeOS app_server. It shows that Painter needs to be optimized for writing to graphics memory, and also that we need to figure out a way to distribute update sessions more equally. What happens is this: The first invalidation of a window triggers an update on the client side... the client cannot keep up with drawing, since it is pretty much blocked all the time because the desktop thread moves a window and because the clipping constantly changes. In the meantime, new update request are added to the pending session because the client has still not finished with the current session. Only when things settle a bit, the next update session can be startet. On the bright side of things, the earlier problems with scrolling seem to be fixed for good. * some documentation updates on Painter git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15478 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
|
#
67d3b755 |
|
17-Jul-2005 |
Axel Dörfler <axeld@pinc-software.de> |
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
|
#
fd5bec1e |
|
14-Jul-2005 |
Axel Dörfler <axeld@pinc-software.de> |
First baby step to a restructured app_server: - introduced new ScreenManager and VirtualScreen classes - removed screen handling from RootLayer - removed multiple screen/root layer stuff from Desktop, it's now using a VirtualScreen object instead git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13686 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
dcaec19c9a11eec63fd86420326935c5097e48e9 |
|
08-Feb-2013 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
AppServer: Organize "HWInterface" classes * Organize interface classes into directories * Long term this will assist in the multi-head interface / accelerant changes. * local draws to the local hw accelerant * remote draws to a remote connection (???) * html5 draws to... an html5 canvas?
|
#
3fed1a15f58e8d6fe6b492f3b94bb3625ffeddbd |
|
05-Aug-2012 |
Alex Smith <alex@alex-smith.me.uk> |
Get app_server working on x86_64. With this commit, app_server now compiles and runs at boot! Nothing particularly interesting happens, just the blue background and a mouse pointer. Remote backends are broken and not compiled in, see #8834. Note that it won't be possible to build this quite yet, need to get the FreeType package uploaded.
|
#
8d33dc2971c49b5fe2eb9401e77406199d524d8f |
|
01-Apr-2012 |
François Revol <revol@free.fr> |
An html5 <canvas> based drawing engine This implements an html5 rendering engine. Inspired by the Broadway GDK backend for Gnome. Work in progress. For now it just connects and dumps debug output.
|
#
b7b32111a0ba1cf03044fe0b31ac11403b7e704d |
|
06-Oct-2009 |
Stephan Aßmus <superstippi@gmx.de> |
Leave out the cool new remote screen feature from the libbe_test app_server. Otherwise libnetwork.so needs to be dragged in, which has some issues. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33454 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
68667bf48a9e29a2d142cb3308b606d80bee3c2d |
|
04-Oct-2009 |
Michael Lotz <mmlr@mlotz.ch> |
* Adding a remote desktop interface that operates on app_server drawing primitives by providing a RemoteDrawingEngine and a RemoteHWInterface. Not really optimized yet, still a bit WIP. * Adding corresponding infrastructure like a blocking ring buffer and network sender/receiver that are attached to the buffers to feed/drain them as well as a RemoteMessage helper that provides a message based interface. * Adding target screen concept to request an app to be run on a specific screen. It's controlled by the TARGET_SCREEN environment variable which is added on the app side and sent to the app_server. * Right now only remote target screens are supported, in which case a new RemoteHWInterface is created that tries to connect to the given host:port. * Fix shape bounds when drawing, they need to be translated by the pen position and converted to screen like the points as well. Wasn't visible though as the bounds weren't used in the normal DrawingEngine. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33417 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
0eed9183061a7763972bc2589f9c43489cd078ab |
|
20-Aug-2009 |
Axel Dörfler <axeld@pinc-software.de> |
* Rewrote screen configuration management: VirtualScreen doesn't have anything to do with the configurations now, instead, there is a separated ScreenConfigurations class that maintains all known screen_configurations per workspace (and the Workspace::Private class has two of them, one for the current modes, one for the stored modes). * Added Desktop::{Get|Set}ScreenMode() methods, ServerApp now only calls those. * Getting and setting of anything else than the current screen is now supported. * This change also fixes that a temporarily set screen mode was not being restored on workspace switch. * Also, the Deskbar now seems to have the wrong location a lot, which is something that should be easily fixable therefore. I will look into this next. * Got rid of the unhandy screen_id structure server side, and in BPrivateScreen; we now just use an int32 - the next API break should definitely replace the screen_id with a simple typedef. * Some cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32541 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
953d895e020ece5d50cfc2e76d9f370ceb5c45e7 |
|
07-Mar-2008 |
Axel Dörfler <axeld@pinc-software.de> |
* Got rid of the "Layer" part of WindowLayer, ViewLayer, WorkspacesLayer (now WorkspacesView), OffscreenWindowLayer. * Renamed ServerScreen.cpp/h to Screen.cpp/h (the class was already called Screen). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24303 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
67491d2adc2fa7050317f8e113c01d5cf700abd7 |
|
29-Nov-2006 |
Stephan Aßmus <superstippi@gmx.de> |
* introduced a listener mechanism to be notified of frame buffer changes in the HWInterface (ie on mode switch) * initialization and shutdown of the HWInterface instance no longer go through DrawingEngine, which had nothing to do with it in the first place (this is in preparation of giving each ServerWindow it's own DrawingEngine instance) * small performance improvement in ViewLayer::ScrollBy() * some cleanup in ServerConfig.h git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19391 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
bd09e99dbdb86aa40960f887d09ee71052b67e57 |
|
11-Dec-2005 |
Axel Dörfler <axeld@pinc-software.de> |
Made the direct window test environment optional, since it crashes the Dano app_server... If you like to use it, define USE_DIRECT_WINDOW_TEST_MODE in the haiku_app_server Jamfile. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15504 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
62b965a65f1c2e5898e0ec2c294b3d5a24f7761e |
|
10-Dec-2005 |
Stephan Aßmus <superstippi@gmx.de> |
* got the "cloned accelerant" based DWindowHWInterface to work, though without using the clipping info from a BDirectWindow... I made it so that the window used stays on top always, until I can think of something better. The other problem is that you should not move the window, since Painter doesn't update it's pointer into the frame buffer. * Now the test environment is running at pretty much the same speed as it would under Haiku, completely by-passing the BeOS app_server. It shows that Painter needs to be optimized for writing to graphics memory, and also that we need to figure out a way to distribute update sessions more equally. What happens is this: The first invalidation of a window triggers an update on the client side... the client cannot keep up with drawing, since it is pretty much blocked all the time because the desktop thread moves a window and because the clipping constantly changes. In the meantime, new update request are added to the pending session because the client has still not finished with the current session. Only when things settle a bit, the next update session can be startet. On the bright side of things, the earlier problems with scrolling seem to be fixed for good. * some documentation updates on Painter git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15478 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
|
#
67d3b755ec20691b3f52b013996fdd3414efd2e6 |
|
17-Jul-2005 |
Axel Dörfler <axeld@pinc-software.de> |
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
|
#
fd5bec1e482fc3aa3b6b98ae26599433d3cb797d |
|
14-Jul-2005 |
Axel Dörfler <axeld@pinc-software.de> |
First baby step to a restructured app_server: - introduced new ScreenManager and VirtualScreen classes - removed screen handling from RootLayer - removed multiple screen/root layer stuff from Desktop, it's now using a VirtualScreen object instead git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13686 a95241bf-73f2-0310-859d-f6bbb57e9c96
|