Identify and implement refactors in WAM

Description

Breakdown refactors needed in WAM to properly abstract webOS, AGL and desktop. 

This should, at least, include refactoring the system bus in WAM so it can use AGL binder on WAM and Luna bus on WebOS (and maybe dbus on desktop).

Environment

None

is blocked by

Activity

Walt Miner 
September 2, 2020 at 3:36 PM

 Can this be closed?

José Dapena Paz 
November 14, 2018 at 9:00 AM
(edited)

I will start adding here ideas for refactors. Those would become Jira tickets later:

  • Stop using C flavours of standard libraries (i.e. replace assert.h with cassert, stdlib.h with cstdlib, etc).

  • Provide an alternate logging implementation in case PmLog is not available, and replace usage of printf for error handling.

  • Find geometry types. As we'll drop Qt, we need replacement for things like QSize and QRect. We cannot use Chrome alternates either.

  • Move WebOSWebView  specific implementation from src/platform/webengine to src/platform/webengine/webos_webview. Only use webos webview headers from there (previous step to getting again multiple web engines support). Similar refactor could be needed for window implementation, as it is based on the existing abstractions and wayland implementation in webos webview.

Fixed

Details

Assignee

Reporter

Labels

Priority

Created October 31, 2018 at 4:20 PM
Updated April 7, 2021 at 8:03 PM
Resolved April 6, 2021 at 12:06 PM