Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2017-08-08 | util.h and its impl are now c++ | Marcus Fritzsch | 5 | -5/+5 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | main: read only once from stdin for status log | Marcus Fritzsch | 1 | -3/+1 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | cmake: enable _GLIBCXX_DEBUG when building Debug | Marcus Fritzsch | 1 | -0/+6 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | main: handling signals, added simple unique_fd RAII helper | Marcus Fritzsch | 1 | -2/+44 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | main: read() returns ssize_t not int | Marcus Fritzsch | 1 | -1/+2 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | main: cleanup Poller implementation | Marcus Fritzsch | 1 | -7/+1 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | main: better check_events implementation | Marcus Fritzsch | 3 | -53/+74 | |
* Introduced helper struct Poller * Implements check_events() and calls custom handlers on POLLIN. * Moved status dump to genivi::controller. Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | main: add wl_output proxy-to-id mapping in wl_output global handler | Marcus Fritzsch | 1 | -4/+10 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | main: rename connection, streamline init_layout and error handling | Marcus Fritzsch | 1 | -14/+16 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | wayland: do not special-case ~display for DEBUG_OUTPUT | Marcus Fritzsch | 1 | -11/+2 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | wayland: genivi object events are called with their respective object | Marcus Fritzsch | 2 | -74/+77 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | wayland: be explicit about our struct layer/surface designation | Marcus Fritzsch | 1 | -2/+2 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | wayland: wayland_proxy ctor improvement | Marcus Fritzsch | 1 | -4/+3 | |
* Take the std::function by rval reference. * Do not create a lambda for the wl_proxy_destroy deleter. Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | wayland: header order fixed, comment on controller member order | Marcus Fritzsch | 1 | -1/+8 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | wayland: delete copy ctors and operators | Marcus Fritzsch | 1 | -0/+16 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | cmake: do not generate the ivi_application protocol | Marcus Fritzsch | 1 | -2/+0 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | wayland: unique_ptr'd wayland_proxy | Marcus Fritzsch | 2 | -110/+117 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | wayland: removed unnecessary destructors | Marcus Fritzsch | 2 | -11/+0 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | wayland: simpler layout for controller::proxy_to_id maps | Marcus Fritzsch | 2 | -4/+6 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | wayland: moved screen inline methods to .cpp | Marcus Fritzsch | 2 | -13/+18 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | main: do not include cstdlib, it's unused | Marcus Fritzsch | 1 | -2/+0 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | wayland: moved inline methods to .cpp | Marcus Fritzsch | 2 | -134/+166 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | wayland: less cast-y, minor style fixes | Marcus Fritzsch | 1 | -41/+39 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | cmake: merged target properties on winman, added IPO/LTO | Marcus Fritzsch | 1 | -3/+3 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | clang-tidy the place up | Marcus Fritzsch | 3 | -80/+91 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | wayland: controller_surface() sets surface visibility, less lookups | Marcus Fritzsch | 1 | -3/+3 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | wayland: less lookup-y controller_layer() | Marcus Fritzsch | 1 | -1/+2 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | wayland: remove layer on controller::layer_destroyed | Marcus Fritzsch | 1 | -0/+2 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | main: set layer visibility in init_layout() | Marcus Fritzsch | 2 | -2/+3 | |
Also don't set layer visibility when adding surfaces. Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | wayland: minor clang-format fixes | Marcus Fritzsch | 1 | -2/+2 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | wayland: introduce reverse mappings of proxy-ptr to id | Marcus Fritzsch | 2 | -2/+44 | |
Needed to lookup the objects when we receive calls like e.g. surface::layer(). Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | wayland: rename controlled_entity to controller_child | Marcus Fritzsch | 2 | -9/+9 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | main: pass struct conn by-reference to init_layout() | Marcus Fritzsch | 1 | -6/+6 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | main: strip std::quniue_ptr from wl::display as it is superfluous | Marcus Fritzsch | 1 | -17/+17 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | wayland: cast wl_fixed_to_double() return to float for our interface | Marcus Fritzsch | 1 | -2/+4 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | wayland: display unique_ptr holds a void(*)(...) deleter | Marcus Fritzsch | 2 | -5/+8 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | wayland: clang-format | Marcus Fritzsch | 2 | -21/+21 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | util: make log_() static | Marcus Fritzsch | 1 | -1/+2 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | wayland: one less level of unique_ptr | Marcus Fritzsch | 3 | -25/+23 | |
Display now holds struct registry by value, as holding it through a unique_ptr was rather unnecessary. Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | main: use auto variables where appropriate and sensible | Marcus Fritzsch | 1 | -4/+4 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | main: header hygiene | Marcus Fritzsch | 1 | -5/+0 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | cmake: modernized to the best of my knowledge | Marcus Fritzsch | 2 | -13/+34 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | wayland: set surface layout in controller::surface | Marcus Fritzsch | 1 | -15/+11 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | use unordered_map for id->obj maps | Marcus Fritzsch | 3 | -9/+7 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | main: c++-ifiy struct conn c init | Marcus Fritzsch | 1 | -1/+1 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | main: do not capture the whole environment in lambdas | Marcus Fritzsch | 1 | -2/+2 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | main: added some 'demarcation' comments | Marcus Fritzsch | 1 | -0/+18 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | main/init_layout: use screen::set_render_order instead of add_layer calls | Marcus Fritzsch | 1 | -2/+1 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | wayland: C++ified set_render_order requests for layer and screen | Marcus Fritzsch | 1 | -2/+15 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | update session | Marcus Fritzsch | 1 | -15/+16 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> |