Rename "Nitpicker" service name to "Gui"

Issue #3778
This commit is contained in:
Norman Feske 2020-06-11 16:06:21 +02:00
parent c6eda9bd80
commit 98f39c698f
64 changed files with 209 additions and 211 deletions

View File

@ -39,7 +39,7 @@ Launchpad::Launchpad(Env &env, unsigned long initial_quota)
"RM", "PD", "CPU", "IO_MEM", "IO_PORT", "IRQ", "ROM", "LOG", "VM",
/* services expected to got started by init */
"Nitpicker", "Init", "Timer", "Block", "Nic", "Rtc", "Gpu", "Report",
"Gui", "Init", "Timer", "Block", "Nic", "Rtc", "Gpu", "Report",
0 /* null-termination */
};

View File

@ -1,10 +1,10 @@
/*
* \brief Wrapper of a nitpicker session
* \brief Wrapper of a GUI session
* \author Norman Feske
* \date 2014-10-01
*
* This utility is intended to reduce repetitive boiler-plate code of
* components that intercept the nitpicker session interface. By default,
* components that intercept the GUI session interface. By default,
* all RPC function calls are forwarded to the wrapped session. So the
* implementations have to override only those functions that need
* customizations.
@ -17,8 +17,8 @@
* under the terms of the GNU Affero General Public License version 3.
*/
#ifndef _INCLUDE__GEMS__WRAPPED_NITPICKER_SESSION_H_
#define _INCLUDE__GEMS__WRAPPED_NITPICKER_SESSION_H_
#ifndef _INCLUDE__GEMS__WRAPPED_GUI_SESSION_H_
#define _INCLUDE__GEMS__WRAPPED_GUI_SESSION_H_
/* Genode includes */
#include <base/rpc_server.h>
@ -108,4 +108,4 @@ class Wrapped_nitpicker_session : public Genode::Rpc_object<Nitpicker::Session>
}
};
#endif /* _INCLUDE__GEMS__WRAPPED_NITPICKER_SESSION_H_ */
#endif /* _INCLUDE__GEMS__WRAPPED_GUI_SESSION_H_ */

View File

@ -19,7 +19,7 @@
<service name="ROM"/>
<service name="Report"/>
<service name="Timer"/>
<service name="Nitpicker"/>
<service name="Gui"/>
<service name="File_system"/>
</parent-provides>

View File

@ -4,7 +4,7 @@
<service name="PD"/>
<service name="CPU"/>
<service name="LOG"/>
<service name="Nitpicker"/>
<service name="Gui"/>
<service name="Timer"/>
<service name="Report"/>
</parent-provides>

View File

@ -4,7 +4,7 @@
<service name="PD"/>
<service name="CPU"/>
<service name="LOG"/>
<service name="Nitpicker"/>
<service name="Gui"/>
<service name="Timer"/>
<service name="Report"/>
</parent-provides>
@ -15,7 +15,7 @@
<default caps="100"/>
<service name="Nitpicker">
<service name="Gui">
<default-policy> <child name="wm"/> </default-policy>
</service>
@ -49,7 +49,7 @@
<start name="wm" caps="250">
<resource name="RAM" quantum="6M"/>
<provides>
<service name="Nitpicker"/> <service name="Report"/> <service name="ROM"/>
<service name="Gui"/> <service name="Report"/> <service name="ROM"/>
</provides>
<config>
<policy label_prefix="decorator" role="decorator"/>
@ -63,7 +63,7 @@
<service name="Report" label_last="clipboard"> <parent/> </service>
<service name="ROM" label_last="clipboard"> <parent/> </service>
<service name="Report"> <child name="report_rom"/> </service>
<service name="Nitpicker" label=""> <parent label="focus"/> </service>
<service name="Gui" label=""> <parent label="focus"/> </service>
<any-service>
<child name="nitpicker"/> <parent/> <any-child/>
</any-service>
@ -81,7 +81,7 @@
<service name="ROM" label="decorator_margins"> <child name="report_rom"/> </service>
<service name="ROM" label="rules"> <child name="report_rom"/> </service>
<service name="Report"> <child name="report_rom"/> </service>
<service name="Nitpicker"> <child name="wm"/> </service>
<service name="Gui"> <child name="wm"/> </service>
<any-service> <parent/> <any-child/> </any-service>
</route>
@ -98,7 +98,7 @@
<service name="ROM" label="pointer"> <child name="report_rom"/> </service>
<service name="Report" label="decorator_margins"> <child name="report_rom"/> </service>
<service name="Report" label="hover"> <child name="report_rom"/> </service>
<service name="Nitpicker"> <child name="wm"/> </service>
<service name="Gui"> <child name="wm"/> </service>
<any-service> <parent/> <any-child/> </any-service>
</route>

View File

@ -4,7 +4,7 @@
<service name="PD"/>
<service name="CPU"/>
<service name="LOG"/>
<service name="Nitpicker"/>
<service name="Gui"/>
<service name="Timer"/>
<service name="Report"/>
</parent-provides>

View File

@ -4,7 +4,7 @@
<service name="PD"/>
<service name="CPU"/>
<service name="LOG"/>
<service name="Nitpicker"/>
<service name="Gui"/>
<service name="Timer"/>
<service name="Report"/>
</parent-provides>
@ -15,7 +15,7 @@
<default caps="100"/>
<service name="Nitpicker">
<service name="Gui">
<default-policy> <child name="wm"/> </default-policy>
</service>
@ -77,7 +77,7 @@
<start name="wm" caps="250">
<resource name="RAM" quantum="8M"/>
<provides>
<service name="Nitpicker"/> <service name="Report"/> <service name="ROM"/>
<service name="Gui"/> <service name="Report"/> <service name="ROM"/>
</provides>
<config>
<policy label_suffix="decorator -> " role="decorator"/>
@ -91,7 +91,7 @@
<service name="Report" label_last="clipboard"> <parent/> </service>
<service name="Report" label_last="shape"> <parent/> </service>
<service name="Report"> <child name="report_rom"/> </service>
<service name="Nitpicker" label=""> <parent label="focus"/> </service>
<service name="Gui" label=""> <parent label="focus"/> </service>
<any-service> <parent/> </any-service>
</route>
</start>

View File

@ -47,7 +47,7 @@ install_config {
<start name="nitpicker">
<resource name="RAM" quantum="1M"/>
<provides><service name="Nitpicker"/></provides>
<provides><service name="Gui"/></provides>
<config>
<domain name="pointer" layer="1" label="no" content="client" origin="pointer" />
<domain name="default" layer="2" label="no" content="client" hover="always" />
@ -60,7 +60,7 @@ install_config {
<start name="pointer">
<resource name="RAM" quantum="1M"/>
<route>
<service name="Nitpicker"> <child name="nitpicker"/> </service>
<service name="Gui"> <child name="nitpicker"/> </service>
<any-service> <parent/> <any-child/> </any-service>
</route>
</start>

View File

@ -58,7 +58,7 @@ install_config {
<start name="nitpicker">
<resource name="RAM" quantum="1M"/>
<provides><service name="Nitpicker"/></provides>
<provides> <service name="Gui"/> </provides>
<config>
<report pointer="yes" />
<domain name="default" layer="2" content="client" label="no"/>

View File

@ -50,7 +50,7 @@ install_config {
<start name="nitpicker" caps="200">
<resource name="RAM" quantum="1M"/>
<provides><service name="Nitpicker"/></provides>
<provides> <service name="Gui"/> </provides>
<config>
<domain name="" layer="2" content="client" label="no" />
<default-policy domain=""/>

View File

@ -60,7 +60,7 @@ install_config {
<start name="nitpicker">
<resource name="RAM" quantum="4M"/>
<provides><service name="Nitpicker"/></provides>
<provides><service name="Gui"/></provides>
<config focus="rom">
<background color="#123456"/>
<domain name="pointer" layer="1" content="client" label="no" origin="pointer" />
@ -74,7 +74,7 @@ install_config {
<start name="pointer">
<resource name="RAM" quantum="1M"/>
<route>
<service name="Nitpicker"> <child name="nitpicker" /> </service>
<service name="Gui"> <child name="nitpicker" /> </service>
<any-service> <parent/> <any-child/> </any-service>
</route>
</start>
@ -142,7 +142,7 @@ install_config {
<service name="PD"/>
<service name="LOG"/>
<service name="Timer"/>
<service name="Nitpicker"/>
<service name="Gui"/>
<service name="File_system"/>
<service name="Report"/>
</parent-provides>
@ -165,7 +165,7 @@ install_config {
<start name="wm" pkg="} [depot_user]/pkg/[current_pkg wm] {">
<route>
<service name="Nitpicker"> <parent/> </service>
<service name="Gui"> <parent/> </service>
</route>
</start>
@ -177,7 +177,7 @@ install_config {
<service name="ROM" label="decorator_margins"> <child name="wm"/> </service>
<service name="ROM" label="rules"> <child name="wm"/> </service>
<service name="Report"> <child name="wm"/> </service>
<service name="Nitpicker"> <child name="wm"/> </service>
<service name="Gui"> <child name="wm"/> </service>
<service name="File_system" label="recall"> <child name="recall_fs"/> </service>
</route>
</start>
@ -187,27 +187,27 @@ install_config {
<service name="ROM" label="window_layout"> <child name="wm"/> </service>
<service name="ROM" label="pointer"> <child name="wm"/> </service>
<service name="Report"> <child name="wm"/> </service>
<service name="Nitpicker"> <child name="wm"/> </service>
<service name="Gui"> <child name="wm"/> </service>
</route>
</start>
<start name="backdrop" pkg="} [depot_user]/pkg/[current_pkg sticks_blue_backdrop] {">
<route>
<service name="Nitpicker"> <parent label="backdrop"/> </service>
<service name="Gui"> <parent label="backdrop"/> </service>
</route>
</start>
<!--
<start name="slides" pkg="} [depot_user]/pkg/[current_pkg pdf_view] {">
<route>
<service name="Nitpicker"> <child name="wm"/> </service>
<service name="Gui"> <child name="wm"/> </service>
</route>
</start>
-->
<start name="nano3d" pkg="} [depot_user]/pkg/[current_pkg nano3d] {">
<route>
<service name="Nitpicker"> <child name="wm"/> </service>
<service name="Gui"> <child name="wm"/> </service>
</route>
<config shape="cube"/>
</start>
@ -220,7 +220,7 @@ install_config {
<start name="system_shell" pkg="} [depot_user]/pkg/[current_pkg system_shell] {">
<route>
<service name="Nitpicker"> <child name="wm"/> </service>
<service name="Gui"> <child name="wm"/> </service>
<service name="File_system" label="fonts"> <child name="fonts_fs"/> </service>
<service name="File_system"> <parent/> </service>
<service name="Report" label="clipboard"> <parent label="clipboard"/> </service>
@ -255,7 +255,7 @@ install_config {
<service name="ROM" label_last="fs_rom"> <parent/> </service>
<service name="ROM"> <child name="fs_rom"/> </service>
<service name="Timer"> <child name="timer"/> </service>
<service name="Nitpicker" label_last="backdrop">
<service name="Gui" label_last="backdrop">
<child name="nitpicker" label="backdrop"/> </service>
<service name="File_system"> <child name="ram_fs"/> </service>
<any-service> <parent/> <any-child/> </any-service>

View File

@ -93,7 +93,7 @@ install_config {
<start name="nitpicker">
<resource name="RAM" quantum="4M"/>
<provides><service name="Nitpicker"/></provides>
<provides><service name="Gui"/></provides>
<config focus="rom">
<report hover="yes" displays="yes"/>
<background color="#000000"/>
@ -112,7 +112,7 @@ install_config {
<start name="pointer">
<resource name="RAM" quantum="1M"/>
<route>
<service name="Nitpicker"> <child name="nitpicker" /> </service>
<service name="Gui"> <child name="nitpicker" /> </service>
<any-service> <parent/> <any-child/> </any-service>
</route>
</start>
@ -235,7 +235,7 @@ install_config {
<binary name="init"/>
<resource name="RAM" quantum="122M"/>
<provides>
<service name="Nitpicker"/>
<service name="Gui"/>
<service name="File_system"/>
<service name="Report"/>
<service name="ROM"/>
@ -245,7 +245,7 @@ install_config {
<child name="leitzentrale_config"/> </service>
<service name="ROM" label_prefix="manager -> config -> ">
<child name="config_rom"/> </service>
<service name="Nitpicker"> <child name="nitpicker"/> </service>
<service name="Gui"> <child name="nitpicker"/> </service>
<service name="Timer"> <child name="timer"/> </service>
<service name="File_system" label="config">
<child name="config_fs" label="rw"/> </service>
@ -301,9 +301,9 @@ install_config {
<service name="Block" label_last="ahci-1"> <child name="ahci-1"/> </service>
<service name="Block" label_last="ahci-2"> <child name="ahci-2"/> </service>
<service name="Block"> <child name="drivers"/> </service>
<service name="Nitpicker" label_prefix="leitzentrale">
<service name="Gui" label_prefix="leitzentrale">
<child name="leitzentrale"/> </service>
<service name="Nitpicker"> <child name="nitpicker"/> </service>
<service name="Gui"> <child name="nitpicker"/> </service>
<service name="Timer"> <child name="timer"/> </service>
<service name="Report" label_prefix="leitzentrale ->">
<child name="leitzentrale"/> </service>

View File

@ -50,7 +50,7 @@ install_config {
<start name="nitpicker">
<resource name="RAM" quantum="4M"/>
<provides><service name="Nitpicker"/></provides>
<provides><service name="Gui"/></provides>
<config>
<background color="#123456"/>
<domain name="pointer" layer="1" content="client" label="no" origin="pointer" />
@ -64,7 +64,7 @@ install_config {
<start name="pointer">
<resource name="RAM" quantum="1M"/>
<route>
<service name="Nitpicker"> <child name="nitpicker" /> </service>
<service name="Gui"> <child name="nitpicker" /> </service>
<any-service> <parent/> <any-child/> </any-service>
</route>
</start>

View File

@ -79,7 +79,7 @@ append config {
<libc stdout="/dev/log" stderr="/dev/log" pipe="/dev/pipe" rtc="/dev/rtc"/>
</config>
<route>
<service name="Nitpicker"> <child name="wm"/> </service>
<service name="Gui"> <child name="wm"/> </service>
<service name="Report" label="shape"> <child name="wm"/> </service>
<service name="ROM" label="channel_list"> <child name="dynamic_rom" /> </service>
<service name="ROM" label="egl_drv.lib.so"> <parent label="egl_swrast.lib.so" /> </service>

View File

@ -46,7 +46,7 @@ append config {
<start name="nitpicker">
<resource name="RAM" quantum="1M"/>
<provides><service name="Nitpicker"/></provides>
<provides><service name="Gui"/></provides>
<config>
<domain name="default" layer="2" content="client" label="no"/>
<domain name="nano3d" layer="1" content="client" label="no" origin="pointer"/>
@ -69,7 +69,7 @@ append config {
<image png="genode_logo.png" anchor="bottom_right" alpha="150"/>
</config>
<route>
<service name="Nitpicker"> <child name="nitpicker" label="backdrop" /> </service>
<service name="Gui"> <child name="nitpicker" label="backdrop" /> </service>
<any-service> <parent/> <any-child/> </any-service>
</route>
</start>

View File

@ -46,7 +46,7 @@ install_config {
<start name="nitpicker">
<resource name="RAM" quantum="1M"/>
<provides><service name="Nitpicker"/></provides>
<provides><service name="Gui"/></provides>
<config>
<domain name="pointer" layer="1" content="client" label="no" origin="pointer" />
<domain name="default" layer="3" content="client" label="no" focus="click" hover="always" />
@ -59,7 +59,7 @@ install_config {
<start name="pointer">
<resource name="RAM" quantum="1M"/>
<route>
<service name="Nitpicker"> <child name="nitpicker" /> </service>
<service name="Gui"> <child name="nitpicker" /> </service>
<any-service> <parent/> <any-child/> </any-service>
</route>
</start>
@ -92,12 +92,12 @@ install_config {
<start name="nit_fader">
<resource name="RAM" quantum="5M"/>
<provides><service name="Nitpicker"/></provides>
<provides><service name="Gui"/></provides>
<route>
<service name="ROM" label="config">
<child name="dynamic_rom" label="nit_fader.config"/>
</service>
<service name="Nitpicker"> <child name="nitpicker" /> </service>
<service name="Gui"> <child name="nitpicker" /> </service>
<any-service> <parent/> <any-child/> </any-service>
</route>
</start>
@ -105,7 +105,7 @@ install_config {
<start name="scout">
<resource name="RAM" quantum="10M"/>
<route>
<service name="Nitpicker"> <child name="nit_fader" /> </service>
<service name="Gui"> <child name="nit_fader" /> </service>
<any-service> <parent/> <any-child/> </any-service>
</route>
</start>
@ -114,7 +114,7 @@ install_config {
<binary name="scout" />
<resource name="RAM" quantum="10M"/>
<route>
<service name="Nitpicker"> <child name="nitpicker" /> </service>
<service name="Gui"> <child name="nitpicker" /> </service>
<any-service> <parent/> <any-child/> </any-service>
</route>
</start>

View File

@ -269,7 +269,7 @@ install_config {
<start name="nitpicker" caps="1000">
<resource name="RAM" quantum="6M"/>
<provides><service name="Nitpicker"/></provides>
<provides><service name="Gui"/></provides>
<route>
<service name="ROM" label="config">
<child name="config_fs_rom" label="nitpicker"/> </service>
@ -338,7 +338,7 @@ install_config {
<provides> <service name="Report"/> </provides>
<config shapes="yes"/>
<route>
<service name="Nitpicker"> <child name="nitpicker"/> </service>
<service name="Gui"> <child name="nitpicker"/> </service>
<service name="ROM" label="hover"> <child name="report_rom"/> </service>
<service name="ROM" label="xray"> <child name="report_rom"/> </service>
<any-service> <parent/> <any-child/> </any-service>
@ -365,7 +365,7 @@ install_config {
</config>
<route>
<service name="Report"> <child name="report_rom"/> </service>
<service name="Nitpicker"> <child name="nitpicker"/> </service>
<service name="Gui"> <child name="nitpicker"/> </service>
<service name="Timer"> <child name="timer"/> </service>
<any-service> <parent/> </any-service>
</route>
@ -401,7 +401,7 @@ install_config {
<resource name="RAM" quantum="130M"/>
<affinity xpos="1" width="1"/> <!-- decouple leitzentrale from boot CPU -->
<provides>
<service name="Nitpicker"/>
<service name="Gui"/>
<service name="File_system"/> <!-- fonts -->
<service name="ROM"/> <!-- view dialog ROMs -->
<service name="Report"/> <!-- view hover reports -->
@ -423,7 +423,7 @@ install_config {
<service name="ROM" label="manager -> nitpicker_hover">
<child name="report_rom"/> </service>
<service name="Report"> <child name="fs_report"/> </service>
<service name="Nitpicker"> <child name="nitpicker"/> </service>
<service name="Gui"> <child name="nitpicker"/> </service>
<service name="Timer"> <child name="timer"/> </service>
<service name="File_system" label="config">
<child name="config_fs" label="rw"/> </service>
@ -461,13 +461,13 @@ install_config {
<service name="Platform" label_prefix="acpica">
<child name="drivers" label="acpica"/> </service>
<service name="Platform"> <child name="drivers"/> </service>
<service name="Nitpicker" label_prefix="leitzentrale">
<service name="Gui" label_prefix="leitzentrale">
<child name="leitzentrale"/> </service>
<service name="Nitpicker" label="backdrop">
<service name="Gui" label="backdrop">
<child name="nitpicker" label="backdrop"/> </service>
<service name="Nitpicker" label="lock_screen">
<service name="Gui" label="lock_screen">
<child name="nitpicker" label="lock_screen"/> </service>
<service name="Nitpicker"> <child name="nitpicker"/> </service>
<service name="Gui"> <child name="nitpicker"/> </service>
<service name="Timer"> <child name="timer"/> </service>
<service name="Report" label_suffix="-> shape"> <child name="pointer"/> </service>
<service name="Report" label="inspect -> clipboard">

View File

@ -8,7 +8,7 @@
<service name="IO_MEM"/>
<service name="IO_PORT"/>
<service name="IRQ"/>
<service name="Nitpicker"/>
<service name="Gui"/>
<service name="Timer"/>
<service name="Block"/>
<service name="Report"/>

View File

@ -11,7 +11,7 @@
<service name="CPU"/>
<service name="LOG"/>
<service name="Report"/>
<service name="Nitpicker"/>
<service name="Gui"/>
<service name="Timer"/>
<service name="File_system"/>
</parent-provides>
@ -20,7 +20,7 @@
<default caps="100"/>
<service name="Nitpicker">
<service name="Gui">
<default-policy> <child name="wm"/> </default-policy> </service>
<service name="File_system">
@ -39,10 +39,10 @@
<start name="fader">
<binary name="nit_fader"/>
<resource name="RAM" quantum="50M"/>
<provides> <service name="Nitpicker"/> </provides>
<provides> <service name="Gui"/> </provides>
<config initial_fade_in_steps="100" fade_in_steps="20" alpha="210"/>
<route>
<service name="Nitpicker"> <child name="manager"/> </service>
<service name="Gui"> <child name="manager"/> </service>
<any-service> <parent/> </any-service>
</route>
</start>
@ -53,10 +53,10 @@
<start name="fader">
<binary name="nit_fader"/>
<resource name="RAM" quantum="50M"/>
<provides> <service name="Nitpicker"/> </provides>
<provides> <service name="Gui"/> </provides>
<config fade_out_steps="30" alpha="0"/>
<route>
<service name="Nitpicker"> <child name="manager"/> </service>
<service name="Gui"> <child name="manager"/> </service>
<any-service> <parent/> </any-service>
</route>
</start>
@ -69,14 +69,14 @@
<provides> <service name="Framebuffer"/> <service name="Input"/> </provides>
<config/>
<route>
<service name="Nitpicker"> <child name="fader"/> </service>
<service name="Gui"> <child name="fader"/> </service>
<any-service> <parent/> </any-service>
</route>
</start>
<start name="nitpicker" caps="200">
<resource name="RAM" quantum="6M"/>
<provides> <service name="Nitpicker"/> </provides>
<provides> <service name="Gui"/> </provides>
<config focus="rom">
<background color="#272f45"/>
<domain name="default" layer="1" content="client" label="no" hover="always" focus="click"/>
@ -139,7 +139,7 @@
<start name="wm" caps="300">
<resource name="RAM" quantum="4M"/>
<provides>
<service name="Nitpicker"/> <service name="Report"/> <service name="ROM"/>
<service name="Gui"/> <service name="Report"/> <service name="ROM"/>
</provides>
<config>
<policy label_prefix="decorator" role="decorator"/>
@ -149,7 +149,7 @@
<service name="ROM" label="resize_request"> <child name="report_rom"/> </service>
<service name="ROM" label="focus"> <child name="report_rom"/> </service>
<service name="Report"> <child name="report_rom"/> </service>
<service name="Nitpicker"> <child name="nitpicker"/> </service>
<service name="Gui"> <child name="nitpicker"/> </service>
<any-service> <parent/> <any-child/> </any-service>
</route>
</start>
@ -187,7 +187,7 @@
<service name="ROM" label="pointer"> <child name="report_rom"/> </service>
<service name="Report" label="decorator_margins"> <child name="report_rom"/> </service>
<service name="Report" label="hover"> <child name="report_rom"/> </service>
<service name="Nitpicker"> <child name="wm"/> </service>
<service name="Gui"> <child name="wm"/> </service>
<any-service> <parent/> </any-service>
</route>
</start>
@ -206,7 +206,7 @@
<start name="manager" caps="300">
<binary name="sculpt_manager"/>
<resource name="RAM" quantum="3M"/>
<provides> <service name="Nitpicker"/> </provides>
<provides> <service name="Gui"/> </provides>
<config/>
<route>
<service name="Report" label="runtime_config">
@ -233,7 +233,7 @@
<service name="ROM" label_suffix="_hover"> <child name="report_rom"/> </service>
<service name="ROM" label="window_list"> <child name="report_rom"/> </service>
<service name="ROM" label="decorator_margins"> <child name="report_rom"/> </service>
<service name="Nitpicker"> <parent/> </service>
<service name="Gui"> <parent/> </service>
<any-service> <parent/> </any-service>
</route>
</start>
@ -255,7 +255,7 @@
<provides> <service name="Framebuffer"/> <service name="Input"/> </provides>
<config origin="top_right" xpos="-412" ypos="2" initial_width="400" initial_height="400"/>
<route>
<service name="Nitpicker"> <child name="wm" label="log"/> </service>
<service name="Gui"> <child name="wm" label="log"/> </service>
<any-service> <parent/> </any-service>
</route>
</start>
@ -309,7 +309,7 @@
xpos="-20" ypos="-20" />
</config>
<route>
<service name="Nitpicker"> <child name="wm" label="logo"/> </service>
<service name="Gui"> <child name="wm" label="logo"/> </service>
<any-service> <parent/> </any-service>
</route>
</start>

View File

@ -21,7 +21,7 @@ install_config {
<service name="LOG"/>
</parent-provides>
<default-route>
<service name="Nitpicker"> <child name="nitpicker"/> </service>
<service name="Gui"> <child name="nitpicker"/> </service>
<service name="Timer"> <child name="timer"/> </service>
<service name="Terminal"> <child name="terminal"/> </service>
<service name="Platform"> <child name="platform_drv"/> </service>
@ -50,7 +50,7 @@ install_config {
<start name="nitpicker">
<resource name="RAM" quantum="2M"/>
<provides><service name="Nitpicker"/></provides>
<provides> <service name="Gui"/> </provides>
<config>
<domain name="pointer" layer="1" content="client" label="no" origin="pointer" />
<domain name="default" layer="2" content="client" label="no" focus="click" hover="always" />

View File

@ -59,7 +59,7 @@ install_config {
<start name="nitpicker">
<resource name="RAM" quantum="4M"/>
<provides><service name="Nitpicker"/></provides>
<provides><service name="Gui"/></provides>
<config focus="rom">
<report hover="yes"/>
<background color="#123456"/>
@ -76,7 +76,7 @@ install_config {
<start name="pointer">
<resource name="RAM" quantum="1M"/>
<route>
<service name="Nitpicker"> <child name="nitpicker" /> </service>
<service name="Gui"> <child name="nitpicker" /> </service>
<any-service> <parent/> <any-child/> </any-service>
</route>
</start>

View File

@ -123,7 +123,7 @@ append config {
</vfs>
</config>
<route>
<service name="Nitpicker"> <child name="wm"/> </service>
<service name="Gui"> <child name="wm"/> </service>
<service name="Report" label="shape"> <child name="wm"/> </service>
<service name="ROM" label="egl_drv.lib.so"> <parent label="egl_swrast.lib.so" /> </service>
@ -148,7 +148,7 @@ append config {
</vfs>
</config>
<route>
<service name="Nitpicker"> <child name="wm"/> </service>
<service name="Gui"> <child name="wm"/> </service>
<service name="Report" label="shape"> <child name="wm"/> </service>
<service name="ROM" label="egl_drv.lib.so"> <parent label="egl_swrast.lib.so" /> </service>
<any-service> <parent /> <any-child/> </any-service>
@ -170,7 +170,7 @@ append config {
</vfs>
</config>
<route>
<service name="Nitpicker"> <child name="wm"/> </service>
<service name="Gui"> <child name="wm"/> </service>
<service name="Report" label="shape"> <child name="wm"/> </service>
<service name="ROM" label="egl_drv.lib.so"> <parent label="egl_swrast.lib.so" /> </service>
<any-service> <parent /> <any-child/> </any-service>
@ -192,7 +192,7 @@ append config {
</vfs>
</config>
<route>
<service name="Nitpicker"> <child name="wm"/> </service>
<service name="Gui"> <child name="wm"/> </service>
<service name="Report" label="shape"> <child name="wm"/> </service>
<service name="ROM" label="egl_drv.lib.so"> <parent label="egl_swrast.lib.so" /> </service>
<any-service> <parent /> <any-child/> </any-service>
@ -213,7 +213,7 @@ append config {
</vfs>
</config>
<route>
<service name="Nitpicker"> <child name="wm"/> </service>
<service name="Gui"> <child name="wm"/> </service>
<service name="Report" label="shape"> <child name="wm"/> </service>
<service name="ROM" label="egl_drv.lib.so"> <parent label="egl_swrast.lib.so" /> </service>
<any-service> <parent /> <any-child/> </any-service>

View File

@ -53,7 +53,7 @@ install_config {
<start name="nitpicker">
<resource name="RAM" quantum="4M"/>
<provides><service name="Nitpicker"/></provides>
<provides><service name="Gui"/></provides>
<config focus="rom">
<domain name="pointer" layer="1" content="client" label="no" origin="pointer" />
<domain name="default" layer="2" content="client" label="no" hover="always"/>
@ -66,7 +66,7 @@ install_config {
<start name="pointer">
<resource name="RAM" quantum="1M"/>
<route>
<service name="Nitpicker"> <child name="nitpicker"/> </service>
<service name="Gui"> <child name="nitpicker"/> </service>
<any-service> <parent/> <any-child/> </any-service>
</route>
</start>
@ -75,11 +75,11 @@ install_config {
<resource name="RAM" quantum="32M"/>
<binary name="init"/>
<provides>
<service name="Nitpicker"/> <service name="Report"/> <service name="ROM"/>
<service name="Gui"/> <service name="Report"/> <service name="ROM"/>
</provides>
<route>
<service name="ROM" label="config"> <parent label="wm.config"/> </service>
<service name="Nitpicker"> <child name="nitpicker"/> </service>
<service name="Gui"> <child name="nitpicker"/> </service>
<any-service> <parent/> <any-child/> </any-service>
</route>
</start>

View File

@ -319,7 +319,7 @@ void Child::gen_start_node(Xml_generator &xml,
_gen_provides_sub_node(xml, service, "input", "Input");
_gen_provides_sub_node(xml, service, "log", "LOG");
_gen_provides_sub_node(xml, service, "nic", "Nic");
_gen_provides_sub_node(xml, service, "nitpicker", "Nitpicker");
_gen_provides_sub_node(xml, service, "nitpicker", "Gui");
_gen_provides_sub_node(xml, service, "report", "Report");
_gen_provides_sub_node(xml, service, "rom", "ROM");
_gen_provides_sub_node(xml, service, "terminal", "Terminal");

View File

@ -437,7 +437,7 @@ void Depot_deploy::Child::gen_start_node(Xml_generator &xml, Xml_node common,
_gen_provides_sub_node(xml, service, "input", "Input");
_gen_provides_sub_node(xml, service, "log", "LOG");
_gen_provides_sub_node(xml, service, "nic", "Nic");
_gen_provides_sub_node(xml, service, "nitpicker", "Nitpicker");
_gen_provides_sub_node(xml, service, "nitpicker", "Gui");
_gen_provides_sub_node(xml, service, "report", "Report");
_gen_provides_sub_node(xml, service, "rom", "ROM");
_gen_provides_sub_node(xml, service, "terminal", "Terminal");

View File

@ -33,7 +33,7 @@ struct Sculpt::Route : List_model<Route>::Element
case Service::Type::BLOCK: return "block";
case Service::Type::FILE_SYSTEM: return "file_system";
case Service::Type::NIC: return "nic";
case Service::Type::NITPICKER: return "nitpicker";
case Service::Type::GUI: return "nitpicker";
case Service::Type::RM: return "rm";
case Service::Type::IO_MEM: return "io_mem";
case Service::Type::IO_PORT: return "io_port";
@ -59,7 +59,7 @@ struct Sculpt::Route : List_model<Route>::Element
case Service::Type::BLOCK: return "Block device";
case Service::Type::FILE_SYSTEM: return "File system";
case Service::Type::NIC: return "Network";
case Service::Type::NITPICKER: return "GUI";
case Service::Type::GUI: return "GUI";
case Service::Type::RM: return "Region maps";
case Service::Type::IO_MEM: return "Direct memory-mapped I/O";
case Service::Type::IO_PORT: return "Direct port I/O";

View File

@ -126,7 +126,7 @@ class Sculpt::Runtime_config
}
}
if (service == "Nitpicker") {
if (service == "Gui") {
result = "GUI";
return;
}
@ -323,10 +323,10 @@ class Sculpt::Runtime_config
Registry<Parent_service> _r { };
Parent_service const
_focus { _r, Type::NITPICKER, "keyboard focus", "focus" },
_backdrop { _r, Type::NITPICKER, "desktop background", "backdrop" },
_lockscreen{ _r, Type::NITPICKER, "desktop lock screen", "lock_screen" },
_nitpicker { _r, Type::NITPICKER, "system GUI server" },
_focus { _r, Type::GUI, "keyboard focus", "focus" },
_backdrop { _r, Type::GUI, "desktop background", "backdrop" },
_lockscreen{ _r, Type::GUI, "desktop lock screen", "lock_screen" },
_nitpicker { _r, Type::GUI, "system GUI server" },
_config_fs { _r, Type::FILE_SYSTEM, "writeable system configuration", "config" },
_report_fs { _r, Type::FILE_SYSTEM, "read-only system reports", "report" },
_capslock { _r, Type::ROM, "global capslock state", "capslock" },

View File

@ -25,7 +25,7 @@ struct Sculpt::Service
typedef String<32> Info;
enum class Type {
AUDIO_IN, AUDIO_OUT, BLOCK, FILE_SYSTEM, NIC, NITPICKER,
AUDIO_IN, AUDIO_OUT, BLOCK, FILE_SYSTEM, NIC, GUI,
RM, IO_MEM, IO_PORT, IRQ, REPORT, ROM, TERMINAL, TRACE,
USB, RTC, PLATFORM, VM, UNDEFINED };
@ -48,7 +48,7 @@ struct Sculpt::Service
case Type::BLOCK: return "Block";
case Type::FILE_SYSTEM: return "File_system";
case Type::NIC: return "Nic";
case Type::NITPICKER: return "Nitpicker";
case Type::GUI: return "Gui";
case Type::RM: return "RM";
case Type::IO_MEM: return "IO_MEM";
case Type::IO_PORT: return "IO_PORT";

View File

@ -146,7 +146,7 @@ struct Text_area::Main : Sandbox::Local_service_base::Wakeup,
service_node("PD");
service_node("LOG");
service_node("File_system");
service_node("Nitpicker");
service_node("Gui");
service_node("Timer");
service_node("Report");
});
@ -198,7 +198,7 @@ struct Text_area::Main : Sandbox::Local_service_base::Wakeup,
});
xml.node("service", [&] () {
xml.attribute("name", "Nitpicker");
xml.attribute("name", "Gui");
xml.node("local", [&] () { });
});

View File

@ -63,7 +63,7 @@ set config {
<start name="nitpicker" caps="200">
<resource name="RAM" quantum="2M"/>
<provides><service name="Nitpicker"/></provides>
<provides> <service name="Gui"/> </provides>
<config>
<domain name="pointer" layer="1" content="client" label="no" origin="pointer" />
<domain name="default" layer="2" content="client" label="no" focus="click" hover="always" />
@ -94,7 +94,7 @@ set launchpad_config {
<service name="RM"/>
<service name="CPU"/>
<service name="LOG"/>
<service name="Nitpicker"/>
<service name="Gui"/>
<service name="Timer"/>
<service name="Gpu"/>
</parent-provides>

View File

@ -26,7 +26,7 @@ set config {
<service name="LOG"/>
</parent-provides>
<default-route>
<service name="Nitpicker"> <child name="wm"/> </service>
<service name="Gui"> <child name="wm"/> </service>
<any-service> <parent/> <any-child/> </any-service>
</default-route>
<default caps="100"/>
@ -49,7 +49,7 @@ set config {
<start name="nitpicker">
<resource name="RAM" quantum="4M"/>
<provides><service name="Nitpicker"/></provides>
<provides> <service name="Gui"/> </provides>
<config focus="rom">
<domain name="pointer" layer="1" content="client" label="no" origin="pointer" />
<domain name="default" layer="2" content="client" label="no" hover="always"/>
@ -62,7 +62,7 @@ set config {
<start name="pointer">
<resource name="RAM" quantum="1M"/>
<route>
<service name="Nitpicker"> <child name="nitpicker"/> </service>
<service name="Gui"> <child name="nitpicker"/> </service>
<any-service> <parent/> <any-child/> </any-service>
</route>
</start>
@ -71,11 +71,11 @@ set config {
<resource name="RAM" quantum="32M"/>
<binary name="init"/>
<provides>
<service name="Nitpicker"/> <service name="Report"/> <service name="ROM"/>
<service name="Gui"/> <service name="Report"/> <service name="ROM"/>
</provides>
<route>
<service name="ROM" label="config"> <parent label="wm.config"/> </service>
<service name="Nitpicker"> <child name="nitpicker"/> </service>
<service name="Gui"> <child name="nitpicker"/> </service>
<any-service> <parent/> <any-child/> </any-service>
</route>
</start>

View File

@ -74,7 +74,7 @@ append config {
</launcher>
</config>
<route>
<service name="Nitpicker"> <child name="wm"/> </service>
<service name="Gui"> <child name="wm"/> </service>
<service name="Report" label="calculatorform -> shape">
<child name="pointer" label="wm -> qt_launchpad -> calculatorform -> shape"/>
</service>

View File

@ -45,7 +45,7 @@ append config {
<libc stdout="/dev/log" stderr="/dev/log" pipe="/dev/pipe" rtc="/dev/rtc"/>
</config>
<route>
<service name="Nitpicker"> <child name="wm"/> </service>
<service name="Gui"> <child name="wm"/> </service>
<service name="Report" label="shape">
<child name="pointer" label="wm -> calculatorform -> shape"/>
</service>

View File

@ -96,9 +96,9 @@ proc qt5_start_nodes { feature_arg } {
append start_nodes {
<start name="nitpicker" caps="200">
<resource name="RAM" quantum="2M"/>
<provides><service name="Nitpicker"/></provides>
<provides> <service name="Gui"/> </provides>
<route> }
append_if [use_fb_sdl feature] start_nodes {
append_if [use_fb_sdl feature] start_nodes {
<service name="Framebuffer"> <child name="fb_sdl" /> </service>
}
append_if [use_fb_drv feature] start_nodes {
@ -128,7 +128,7 @@ proc qt5_start_nodes { feature_arg } {
<provides> <service name="Report"/> </provides>
<config shapes="yes"/>
<route>
<service name="Nitpicker"> <child name="nitpicker"/> </service>
<service name="Gui"> <child name="nitpicker"/> </service>
<service name="ROM" label="hover"> <child name="wm_report_rom"/> </service>
<service name="ROM" label="xray"> <child name="wm_report_rom"/> </service>
<any-service> <parent/> <any-child/> </any-service>
@ -173,13 +173,13 @@ proc qt5_start_nodes { feature_arg } {
<press name="KEY_CAPSLOCK" bool="capslock" change="toggle"/>
<press name="KEY_NUMLOCK" bool="numlock" change="toggle"/>
<report name="capslock"> <bool name="capslock"/> </report>
<report name="numlock"> <bool name="numlock"/> </report>
<report name="capslock"> <bool name="capslock"/> </report>
<report name="numlock"> <bool name="numlock"/> </report>
</config>
<route>
<service name="Report"> <child name="wm_report_rom"/> </service>
<service name="Nitpicker"> <child name="nitpicker"/> </service>
<service name="Timer"> <child name="timer"/> </service>
<service name="Report"> <child name="wm_report_rom"/> </service>
<service name="Gui"> <child name="nitpicker"/> </service>
<service name="Timer"> <child name="timer"/> </service>
<any-service> <parent/> <any-child/> </any-service>
</route>
</start>
@ -187,7 +187,7 @@ proc qt5_start_nodes { feature_arg } {
<start name="wm" caps="250">
<resource name="RAM" quantum="8M"/>
<provides>
<service name="Nitpicker"/> <service name="Report"/> <service name="ROM"/>
<service name="Gui"/> <service name="Report"/> <service name="ROM"/>
</provides>
<config>
<policy label_prefix="decorator" role="decorator"/>

View File

@ -32,7 +32,7 @@ append config {
<start name="openglwindow" caps="200">
<resource name="RAM" quantum="80M"/>
<route>
<service name="Nitpicker"> <child name="wm"/> </service>
<service name="Gui"> <child name="wm"/> </service>
<service name="Report" label="shape">
<child name="pointer" label="wm -> openglwindow -> shape"/>
</service>

View File

@ -53,7 +53,7 @@ append config {
</policy>
</config>
<route>
<service name="Nitpicker"> <child name="wm"/> </service>
<service name="Gui"> <child name="wm"/> </service>
<any-service> <parent /> <any-child/> </any-service>
</route>
</start>
@ -71,7 +71,7 @@ append config {
<libc stdout="/dev/log" stderr="/dev/log" pipe="/dev/pipe" rtc="/dev/rtc"/>
</config>
<route>
<service name="Nitpicker"> <child name="wm"/> </service>
<service name="Gui"> <child name="wm"/> </service>
<service name="Report" label="shape">
<child name="pointer" label="wm -> test-qpluginwidget -> shape"/>
</service>

View File

@ -53,7 +53,7 @@ append config {
<libc stdout="/dev/log" stderr="/dev/log" pipe="/dev/pipe" rtc="/dev/rtc"/>
</config>
<route>
<service name="Nitpicker"> <child name="wm"/> </service>
<service name="Gui"> <child name="wm"/> </service>
<service name="Report" label="shape">
<child name="pointer" label="wm -> test-qt_quick -> shape"/>
</service>

View File

@ -54,7 +54,7 @@ append config {
<libc stdout="/dev/log" stderr="/dev/log" pipe="/dev/pipe" rtc="/dev/rtc"/>
</config>
<route>
<service name="Nitpicker"> <child name="wm"/> </service>
<service name="Gui"> <child name="wm"/> </service>
<service name="Report" label="shape">
<child name="pointer" label="wm -> samegame -> shape"/>
</service>

View File

@ -46,7 +46,7 @@ append config {
<libc stdout="/dev/log" stderr="/dev/log" pipe="/dev/pipe" rtc="/dev/rtc"/>
</config>
<route>
<service name="Nitpicker"> <child name="wm"/> </service>
<service name="Gui"> <child name="wm"/> </service>
<service name="Report" label="shape">
<child name="pointer" label="wm -> testqstring -> shape"/>
</service>

View File

@ -46,7 +46,7 @@ append config {
<libc stdout="/dev/log" stderr="/dev/log" pipe="/dev/pipe" rtc="/dev/rtc"/>
</config>
<route>
<service name="Nitpicker"> <child name="wm"/> </service>
<service name="Gui"> <child name="wm"/> </service>
<service name="Report" label="shape">
<child name="pointer" label="wm -> tetrix -> shape"/>
</service>

View File

@ -67,7 +67,7 @@ append config {
</vfs>
</config>
<route>
<service name="Nitpicker"> <child name="wm"/> </service>
<service name="Gui"> <child name="wm"/> </service>
<service name="Report" label="shape"> <child name="wm"/> </service>
<service name="ROM" label="egl_drv.lib.so"> <parent label="egl_swrast.lib.so" /> </service>
<any-service> <parent /> <any-child/> </any-service>
@ -89,7 +89,7 @@ append config {
</vfs>
</config>
<route>
<service name="Nitpicker"> <child name="wm"/> </service>
<service name="Gui"> <child name="wm"/> </service>
<service name="Report" label="shape"> <child name="wm"/> </service>
<service name="ROM" label="egl_drv.lib.so"> <parent label="egl_swrast.lib.so" /> </service>
<any-service> <parent /> <any-child/> </any-service>

View File

@ -85,7 +85,7 @@ append config {
<libc stdout="/dev/log" stderr="/dev/log" pipe="/dev/pipe" rtc="/dev/rtc"/>
</config>
<route>
<service name="Nitpicker"> <child name="wm"/> </service>
<service name="Gui"> <child name="wm"/> </service>
<service name="Report" label="shape">
<child name="pointer" label="wm -> basic -> shape"/>
</service>

View File

@ -30,7 +30,7 @@ void initialize_qt_gui(Genode::Env &env)
QStringList QNitpickerIntegrationPlugin::keys() const
{
QStringList list;
list << "Nitpicker";
list << "Gui";
return list;
}

View File

@ -6,7 +6,7 @@
<service name="RM"/>
<service name="ROM"/>
<service name="Timer"/>
<service name="Nitpicker"/>
<service name="Gui"/>
</parent-provides>
<default-route>
<any-service> <parent/> <any-child/> </any-service>

View File

@ -1,9 +1,7 @@
/*
* \brief Nitpicker session interface
* \brief GUI session interface
* \author Norman Feske
* \date 2006-08-10
*
* A Nitpicker session handles exactly one buffer.
*/
/*
@ -46,7 +44,7 @@ struct Nitpicker::Session : Genode::Session
/**
* \noapi
*/
static const char *service_name() { return "Nitpicker"; }
static const char *service_name() { return "Gui"; }
/*
* A nitpicker session consumes a dataspace capability for the server's

View File

@ -149,7 +149,7 @@ install_config {
<start name="nitpicker" caps="110">
<resource name="RAM" quantum="1216K"/>
<provides><service name="Nitpicker"/></provides>
<provides> <service name="Gui"/> </provides>
<route>
<service name="ROM" label="config">
<child name="nitpicker_config"/> </service>

View File

@ -46,7 +46,7 @@ install_config {
<start name="nitpicker">
<resource name="RAM" quantum="1M"/>
<provides><service name="Nitpicker"/></provides>
<provides> <service name="Gui"/> </provides>
<config>
<domain name="" layer="2" /> <default-policy domain=""/>
</config>

View File

@ -85,7 +85,7 @@ set config {
</start>
<start name="nitpicker">
<resource name="RAM" quantum="4M"/>
<provides><service name="Nitpicker"/></provides>
<provides> <service name="Gui"/> </provides>
<config>
<report focus="yes" hover="yes" xray="yes"/>
<domain name="pointer" layer="1" content="client" label="no" origin="pointer"/>
@ -195,11 +195,11 @@ set config {
<provides> <service name="Report"/> </provides>
<config shapes="yes" verbose="no"/>
<route>
<service name="PD"> <parent/> </service>
<service name="LOG"> <parent/> </service>
<service name="Nitpicker"> <child name="nitpicker"/> </service>
<service name="ROM" label="xray"> <child name="report_rom_nitpicker"/> </service>
<service name="ROM" label="hover"> <child name="report_rom_nitpicker"/> </service>
<service name="PD"> <parent/> </service>
<service name="LOG"> <parent/> </service>
<service name="Gui"> <child name="nitpicker"/> </service>
<service name="ROM" label="xray"> <child name="report_rom_nitpicker"/> </service>
<service name="ROM" label="hover"> <child name="report_rom_nitpicker"/> </service>
<service name="ROM"> <parent/> </service>
<service name="CPU"> <parent/> </service>
</route>
@ -209,60 +209,60 @@ set config {
<binary name="testnit"/>
<resource name="RAM" quantum="2M"/>
<route>
<service name="LOG"> <parent/> </service>
<service name="PD"> <parent/> </service>
<service name="CPU"> <parent/> </service>
<service name="ROM"> <parent/> </service>
<service name="Timer"> <child name="timer"/> </service>
<service name="Nitpicker"> <child name="nitpicker"/> </service>
<service name="LOG"> <parent/> </service>
<service name="PD"> <parent/> </service>
<service name="CPU"> <parent/> </service>
<service name="ROM"> <parent/> </service>
<service name="Timer"> <child name="timer"/> </service>
<service name="Gui"> <child name="nitpicker"/> </service>
</route>
</start>
<start name="test-label-smiley">
<binary name="testnit"/>
<resource name="RAM" quantum="2M"/>
<route>
<service name="LOG"> <parent/> </service>
<service name="PD"> <parent/> </service>
<service name="CPU"> <parent/> </service>
<service name="ROM"> <parent/> </service>
<service name="Timer"> <child name="timer"/> </service>
<service name="Nitpicker"> <child name="nitpicker"/> </service>
<service name="LOG"> <parent/> </service>
<service name="PD"> <parent/> </service>
<service name="CPU"> <parent/> </service>
<service name="ROM"> <parent/> </service>
<service name="Timer"> <child name="timer"/> </service>
<service name="Gui"> <child name="nitpicker"/> </service>
</route>
</start>
<start name="test-label-arrow">
<binary name="testnit"/>
<resource name="RAM" quantum="2M"/>
<route>
<service name="LOG"> <parent/> </service>
<service name="PD"> <parent/> </service>
<service name="CPU"> <parent/> </service>
<service name="ROM"> <parent/> </service>
<service name="Timer"> <child name="timer"/> </service>
<service name="Nitpicker"> <child name="nitpicker"/> </service>
<service name="LOG"> <parent/> </service>
<service name="PD"> <parent/> </service>
<service name="CPU"> <parent/> </service>
<service name="ROM"> <parent/> </service>
<service name="Timer"> <child name="timer"/> </service>
<service name="Gui"> <child name="nitpicker"/> </service>
</route>
</start>
<start name="test-label-blade">
<binary name="testnit"/>
<resource name="RAM" quantum="2M"/>
<route>
<service name="PD"> <parent/> </service>
<service name="LOG"> <parent/> </service>
<service name="CPU"> <parent/> </service>
<service name="ROM"> <parent/> </service>
<service name="Timer"> <child name="timer"/> </service>
<service name="Nitpicker"> <child name="nitpicker"/> </service>
<service name="PD"> <parent/> </service>
<service name="LOG"> <parent/> </service>
<service name="CPU"> <parent/> </service>
<service name="ROM"> <parent/> </service>
<service name="Timer"> <child name="timer"/> </service>
<service name="Gui"> <child name="nitpicker"/> </service>
</route>
</start>
<start name="test-label-bladex">
<binary name="testnit"/>
<resource name="RAM" quantum="2M"/>
<route>
<service name="PD"> <parent/> </service>
<service name="LOG"> <parent/> </service>
<service name="CPU"> <parent/> </service>
<service name="ROM"> <parent/> </service>
<service name="Timer"> <child name="timer"/> </service>
<service name="Nitpicker"> <child name="nitpicker"/> </service>
<service name="PD"> <parent/> </service>
<service name="LOG"> <parent/> </service>
<service name="CPU"> <parent/> </service>
<service name="ROM"> <parent/> </service>
<service name="Timer"> <child name="timer"/> </service>
<service name="Gui"> <child name="nitpicker"/> </service>
</route>
</start>
</config>}

View File

@ -58,10 +58,10 @@ class Loader::Child : public Child_policy
Service &_matching_service(Service::Name const &name)
{
if (name == "Nitpicker") return _local_nitpicker_service;
if (name == "ROM") return _local_rom_service;
if (name == "CPU") return _local_cpu_service;
if (name == "PD") return _local_pd_service;
if (name == "Gui") return _local_nitpicker_service;
if (name == "ROM") return _local_rom_service;
if (name == "CPU") return _local_cpu_service;
if (name == "PD") return _local_pd_service;
/* populate session-local parent service registry on demand */
Service *service = nullptr;

View File

@ -189,14 +189,14 @@ For example, the original start node of the Nitpicker GUI server as found in
the 'os/run/demo.run' run script looks as follows:
! <start name="nitpicker">
! <resource name="RAM" quantum="1M"/>
! <provides><service name="Nitpicker"/></provides>
! <provides><service name="Gui"/></provides>
! </start>
For debugging the Nitpicker service, it must be replaced with the following
snippet (see the 'debug_nitpicker.run' script at 'ports/run/' for reference):
! <start name="gdb_monitor">
! <resource name="RAM" quantum="4M"/>
! <provides><service name="Nitpicker"/></provides>
! <provides> <service name="Gui"/> </provides>
! <config><target name="nitpicker"/></config>
! </start>

View File

@ -27,7 +27,7 @@
<service name="CPU"/>
<service name="LOG"/>
<service name="VM"/>
<service name="Nitpicker"/>
<service name="Gui"/>
<service name="Timer"/>
<service name="Rtc"/>
<service name="Report"/>
@ -67,7 +67,7 @@
<service name="Report" label="shape"> <parent label="shape"/> </service>
<service name="ROM" label="clipboard"> <parent label="clipboard"/> </service>
<service name="Report" label="clipboard"> <parent label="clipboard"/> </service>
<service name="Nitpicker"> <parent label=""/> </service>
<service name="Gui"> <parent label=""/> </service>
<any-service> <parent/> </any-service>
</route>
</start>

View File

@ -3,7 +3,7 @@
<service name="CPU"/>
<service name="LOG"/>
<service name="Nic"/>
<service name="Nitpicker"/>
<service name="Gui"/>
<service name="PD"/>
<service name="Report"/>
<service name="RM"/>

View File

@ -7,7 +7,7 @@
<service name="LOG"/>
<service name="Timer"/>
<service name="File_system"/>
<service name="Nitpicker"/>
<service name="Gui"/>
<service name="Report"/>
</parent-provides>
@ -20,7 +20,7 @@
<provides> <service name="Framebuffer"/> <service name="Input"/> </provides>
<config xpos="10" ypos="10" initial_width="800" initial_height="600"/>
<route>
<service name="Nitpicker"> <parent label="terminal"/> </service>
<service name="Gui"> <parent label="terminal"/> </service>
<any-service> <parent/> </any-service>
</route>
</start>

View File

@ -6,7 +6,7 @@
<service name="RM"/>
<service name="CPU"/>
<service name="LOG"/>
<service name="Nitpicker"/>
<service name="Gui"/>
<service name="Timer"/>
<service name="Rtc"/>
<service name="Report"/>
@ -57,7 +57,7 @@
<service name="Report" label="shape"> <parent label="shape"/> </service>
<service name="ROM" label="clipboard"> <parent label="clipboard"/> </service>
<service name="Report" label="clipboard"> <parent label="clipboard"/> </service>
<service name="Nitpicker"> <parent label=""/> </service>
<service name="Gui"> <parent label=""/> </service>
<any-service> <parent/> </any-service>
</route>
</start>

View File

@ -91,7 +91,7 @@ append config {
</policy>
</config>
<route>
<service name="Nitpicker"> <child name="wm"/> </service>
<service name="Gui"> <child name="wm"/> </service>
<any-service> <parent/> <any-child/> </any-service>
</route>
</start>
@ -124,7 +124,7 @@ append config {
<libc stdout="/dev/log" stderr="/dev/log" pipe="/dev/pipe" rtc="/dev/rtc" socket="/socket"/>
</config>
<route>
<service name="Nitpicker"> <child name="wm"/> </service>
<service name="Gui"> <child name="wm"/> </service>
<service name="Report" label="shape">
<child name="pointer" label="wm -> arora -> shape"/>
</service>

View File

@ -80,7 +80,7 @@ install_config {
<start name="gdb_monitor" caps="200">
<resource name="RAM" quantum="10M"/>
<provides><service name="Nitpicker"/></provides>
<provides> <service name="Gui"/> </provides>
<config>
<target name="nitpicker">
<config>

View File

@ -421,7 +421,7 @@ append config {
<service name="Report"> <child name="report_rom"/></service>
<any-service><parent/><any-child/></any-service>
</route>
<provides><service name="Nitpicker"/></provides>
<provides><service name="Gui"/></provides>
</start>
<start name="pointer">
@ -483,7 +483,7 @@ if {$use_fancy_stuff} {
<service name="RM"/>
<service name="CPU"/>
<service name="LOG"/>
<service name="Nitpicker"/>
<service name="Gui"/>
<service name="Timer"/>
<service name="Nic"/>
<service name="Block"/>

View File

@ -151,7 +151,7 @@ append config {
<start name="nitpicker" priority="-1">
<resource name="RAM" quantum="12M"/>
<provides><service name="Nitpicker"/></provides>
<provides><service name="Gui"/></provides>
<route>
<service name="Framebuffer"> <child name="fb_drv" /> </service>
<service name="Report"> <child name="report_rom" /> </service>
@ -175,7 +175,7 @@ append config {
<provides> <service name="Report"/> </provides>
<config shapes="yes"/>
<route>
<service name="Nitpicker"> <child name="nitpicker"/> </service>
<service name="Gui"> <child name="nitpicker"/> </service>
<service name="ROM" label="hover"> <child name="report_rom"/> </service>
<service name="ROM" label="xray"> <child name="report_rom"/> </service>
<any-service> <parent/> </any-service>

View File

@ -278,7 +278,7 @@ append config_of_app {
<start name="nitpicker" priority="-1">
<resource name="RAM" quantum="12M"/>
<provides><service name="Nitpicker"/></provides>
<provides><service name="Gui"/></provides>
<route>
<service name="Framebuffer"> <child name="fb_drv" /> </service>
<service name="Input"> <child name="input_filter" /> </service>
@ -303,7 +303,7 @@ append config_of_app {
<provides> <service name="Report"/> </provides>
<config shapes="yes"/>
<route>
<service name="Nitpicker"> <child name="nitpicker"/> </service>
<service name="Gui"> <child name="nitpicker"/> </service>
<service name="ROM" label="hover"> <child name="report_rom"/> </service>
<service name="ROM" label="xray"> <child name="report_rom"/> </service>
<any-service> <parent/> </any-service>

View File

@ -125,7 +125,7 @@ append config_of_app {
<start name="nitpicker" priority="-1" caps="150">
<resource name="RAM" quantum="12M"/>
<provides><service name="Nitpicker"/></provides>
<provides><service name="Gui"/></provides>
<route>
<service name="Framebuffer"> <child name="fb_drv" /> </service>
<service name="Input"> <child name="input_filter" /> </service>
@ -141,7 +141,7 @@ append config_of_app {
<provides> <service name="Report"/> </provides>
<config shapes="yes"/>
<route>
<service name="Nitpicker"> <child name="nitpicker"/> </service>
<service name="Gui"> <child name="nitpicker"/> </service>
<service name="ROM" label="hover"> <child name="report_rom"/> </service>
<service name="ROM" label="xray"> <child name="report_rom"/> </service>
<any-service> <parent/> </any-service>
@ -154,11 +154,11 @@ if { $use_vms > 1 } {
<resource name="RAM" quantum="32M"/>
<binary name="init"/>
<provides>
<service name="Nitpicker"/> <service name="Report"/> <service name="ROM"/>
<service name="Gui"/> <service name="Report"/> <service name="ROM"/>
</provides>
<route>
<service name="ROM" label="config"> <parent label="wm.config"/> </service>
<service name="Nitpicker"> <child name="nitpicker"/> </service>
<service name="Gui"> <child name="nitpicker"/> </service>
<any-service> <parent/> <any-child/> </any-service>
</route>
</start>}
@ -267,7 +267,7 @@ for { set i 1} { $i <= $use_vms } { incr i} {
<route>}
append_if [expr ($use_vms > 1)] config_of_app {
<service name="Nitpicker"> <child name="wm"/></service>}
<service name="Gui"> <child name="wm"/> </service>}
append_if [expr $use_ram_fs] config_of_app {
<service name="File_system" label="from_ram_fs"> <child name="ram_fs"/> </service>}

View File

@ -66,7 +66,7 @@ install_config {
<start name="nitpicker">
<resource name="RAM" quantum="4M"/>
<provides><service name="Nitpicker"/></provides>
<provides><service name="Gui"/></provides>
<config focus="rom">
<report focus="yes" /> <!-- interpreted by clipboard -->
@ -87,7 +87,7 @@ install_config {
<start name="pointer">
<resource name="RAM" quantum="2M"/>
<route>
<service name="Nitpicker"> <child name="nitpicker"/> </service>
<service name="Gui"> <child name="nitpicker"/> </service>
<any-service> <parent/> <any-child/> </any-service>
</route>
</start>
@ -110,13 +110,13 @@ install_config {
<resource name="RAM" quantum="32M"/>
<binary name="init"/>
<provides>
<service name="Nitpicker"/> <service name="Report"/> <service name="ROM"/>
<service name="Gui"/> <service name="Report"/> <service name="ROM"/>
</provides>
<route>
<service name="ROM" label="config"> <parent label="wm.config"/> </service>
<service name="ROM" label_last="clipboard"> <child name="clipboard"/> </service>
<service name="Report" label_last="clipboard"> <child name="clipboard"/> </service>
<service name="Nitpicker"> <child name="nitpicker"/> </service>
<service name="Gui"> <child name="nitpicker"/> </service>
<any-service> <parent/> <any-child/> </any-service>
</route>
</start>
@ -126,7 +126,7 @@ install_config {
<provides> <service name="Framebuffer"/> <service name="Input"/> </provides>
<config xpos="10" ypos="10" initial_width="800" initial_height="600"/>
<route>
<service name="Nitpicker"> <child name="wm" label="terminal"/> </service>
<service name="Gui"> <child name="wm" label="terminal"/> </service>
<any-service> <parent/> </any-service>
</route>
</start>

View File

@ -169,7 +169,7 @@ append config {
<start name="nitpicker" priority="-1">
<resource name="RAM" quantum="4M"/>
<provides><service name="Nitpicker"/></provides>
<provides><service name="Gui"/></provides>
<route>
<service name="Framebuffer"> <child name="fb_drv" /> </service>
<service name="Report"> <child name="report_rom" /> </service>}
@ -198,7 +198,7 @@ append config {
<provides><service name="Report"/></provides>
<config shapes="yes"/>
<route>
<service name="Nitpicker"> <child name="nitpicker"/> </service>
<service name="Gui"> <child name="nitpicker"/> </service>
<service name="ROM" label="hover"> <child name="report_rom"/> </service>
<service name="ROM" label="xray"> <child name="report_rom"/> </service>
<any-service> <parent/> </any-service>

View File

@ -237,7 +237,7 @@ append_if [expr $use_cpu_load] config {
<service name="LOG"><parent/></service>
<service name="Timer"><child name="timer"/></service>
<service name="ROM" label="trace_subjects"><child name="report_rom"/></service>
<service name="Nitpicker"><child name="nitpicker"/></service>
<service name="Gui"><child name="nitpicker"/></service>
<any-service><parent/></any-service>
</route>
</start>

View File

@ -6,7 +6,7 @@
<service name="CPU"/>
<service name="LOG"/>
<service name="Timer"/>
<service name="Nitpicker"/>
<service name="Gui"/>
</parent-provides>
<default-route> <any-service> <any-child/> <parent/> </any-service> </default-route>
<start name="framebuffer" caps="100">
@ -21,7 +21,7 @@
</start>
<start name="nitpicker" caps="100">
<resource name="RAM" quantum="1M"/>
<provides><service name="Nitpicker"/></provides>
<provides> <service name="Gui"/> </provides>
<config>
<domain name="pointer" layer="1" label="no" content="client" xray="no" origin="pointer" />
<domain name="default" layer="2" label="no" content="client" hover="always" focus="click" />