MMarius Vladivi-layout: simplify API
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
hmi-controller: prepare for API simplification The return values for most of the API functions will be removed and replaced by asserts. So remove the return value checks. The end result will be the same: These functions only fail for incorrect API usage, so basically the asserts are moved from the hmi-controller into the shell. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de> | 3 年前 | |
ivi-layout: simplify API Use assert() to check for invalid NULL arguments. Something like that happens during development and assert() makes it easier to find the error. And it avoids unnecessary additional error handling. The hmi-controller asserted anyways so this just moves the assert on level deeper. Other controller probably do the same thing, or don't check the return values at all. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de> | 3 年前 | |
ivi-layout: simplify API Use assert() to check for invalid NULL arguments. Something like that happens during development and assert() makes it easier to find the error. And it avoids unnecessary additional error handling. The hmi-controller asserted anyways so this just moves the assert on level deeper. Other controller probably do the same thing, or don't check the return values at all. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de> | 3 年前 | |
ivi-shell: add input panel support Input panels are used for complex text composition for CJK alphabets and for onscreen keyboards. Support for this is already implemented in libweston and the desktop shell. This adds extends the IVI shell to add support for input panels as well. The low-level parts are implemented in the IVI shell. The positioning of the input panels is delegated to the controller. Support for input panels and the relevant protocols is only enabled if the controller attaches a listener to the new signals. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de> | 3 年前 | |
ivi-layout: use libweston-desktop api is to send configure events everywhere Whenever shell_surface_send_configure() is called weston_desktop_surface_set_size() should be used instead for desktop surfaces. It is already done for IVI_LAYOUT_TRANSITION_VIEW_FADE_ONLY, do it everywhere else too. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de> | 6 年前 | |
ivi-layout: simplify API Use assert() to check for invalid NULL arguments. Something like that happens during development and assert() makes it easier to find the error. And it avoids unnecessary additional error handling. The hmi-controller asserted anyways so this just moves the assert on level deeper. Other controller probably do the same thing, or don't check the return values at all. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de> | 3 年前 | |
ivi-shell: handle subsurfaces for mouse/touch activation The surface of the focus_view may be a subsurface. So get the corresponding main surface first. Without this get_ivi_shell_surface(), will cast committed_private (which is a weston_subsurface object) to ivi_shell_surface. Weston crashes shortly afterwards. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de> | 3 年前 | |
ivi-shell: add input panel support Input panels are used for complex text composition for CJK alphabets and for onscreen keyboards. Support for this is already implemented in libweston and the desktop shell. This adds extends the IVI shell to add support for input panels as well. The low-level parts are implemented in the IVI shell. The positioning of the input panels is delegated to the controller. Support for input panels and the relevant protocols is only enabled if the controller attaches a listener to the new signals. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de> | 3 年前 | |
ivi-shell: add new signal to notify ivi shell destroying In the case the controlelrs are depended on ivi-shell resource, it must be destroy before the ivi shell destroy. To do this, add new ivi shell destroy signal on ivi shell, emit it on the begining of the shell destroying Suggested-by: Harsha M M <harsha.manjulamallikarjun@in.bosch.com> Suggested-by: Michael Olbrich <m.olbrich@pengutronix.de> Suggested-by: Marius Vlad <marius.vlad@collabora.com> Signed-off-by: Tran Ba Khang(MS/EMC31-XC) <Khang.TranBa@vn.bosch.com> | 3 年前 | |
ivi-shell: bring back reference weston.ini In commit d8e09afc9f1e ("tests: Convert ivi-shell-app-test.c to use weston_ini_setup") the reference weston.ini for the ivi-shell was removed, because it is not required by the test anymore. The reference weston.ini still has value as an example for the ivi-shell and how the ivi-shell-user-interface has to be configured. Retrieving this information from the test case is not intuitive. Furthermore, the file is still referenced by the ivi-shell/README, and the configuration_data for generating the file was not fully removed. Bring back the reference weston.ini for the ivi-shell and, while at it, cleanup the configuration_data() to define only keys that are actually used in weston.ivi.in. Signed-off-by: Michael Tretter <m.tretter@pengutronix.de> | 5 年前 |