aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2024-10-09Rework glib main loop initializationHEADtrout_19.90.0trout/19.90.019.90.0masterScott Murray5-38/+85
Changes: - To avoid interactions with Qt6's new and/or different use of the glib main loop, explicitly create new main context and loop instances for our processing thread to avoid any interactions. This includes making the new context the default for the thread, which impacts implicit usage in glib functions. - Refactor things a bit to have agent registration run completely asynchronously to avoid that operation blocking Qt initialization. - To expand on the above, add new checking of the agent state to the connect & disconnect calls that rely on the agent, and add a new connman_get_agent_registered API function that clients can use to check the state. - Added some more DEBUG prints for potential future use, and bumped the default log level to WARNING to make it easier to diagnose any agent registration failures. Bug-AGL: SPEC-5257 Change-Id: I290f81c99b4ffc2939ef6f503505deabbd1ebc0b Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2024-02-13Add gitlab issue/merge request templatessalmon_18.90.0salmon/18.90.0ricefish_17.90.0ricefish/17.90.0lamprey_12.1.20lamprey/12.1.2018.90.017.90.012.1.20Jan-Simon Moeller2-0/+6
Add template files for gitlab Bug-AGL: SPEC-4474 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: Ibbaf1b408b05efeb6e99c6e0e8e4b18a8f7387e4
2022-12-28Fix error handlingricefish_18.0.3ricefish_18.0.2ricefish_18.0.1ricefish_18.0.0ricefish/18.0.3ricefish/18.0.2ricefish/18.0.1ricefish/18.0.0quillback_17.1.4quillback_17.1.3quillback_17.1.2quillback_17.1.1quillback_17.1.0quillback_17.0.2quillback_17.0.1quillback_17.0.0quillback/17.1.4quillback/17.1.3quillback/17.1.2quillback/17.1.1quillback/17.1.0quillback/17.0.2quillback/17.0.1quillback/17.0.0devtool-patcheddevtool-base18.0.318.0.218.0.118.0.017.1.417.1.317.1.217.1.117.1.017.0.217.0.117.0.0Scott Murray1-2/+2
There is a DEBUG logging statement that attempts to pass NULL to g_variant_print in the error state when connman is not present, tweak things to avoid that. Bug-AGL: SPEC-4623 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I0eeccf332456103dd45ad5e88836cb0484b47e7d
2022-02-28Be paranoid in D-Bus signal callbacksneedlefish_13.93.0needlefish/13.93.0marlin_12.93.0marlin/12.93.0lamprey_12.1.6lamprey_12.1.5lamprey_12.1.4lamprey_12.1.3lamprey_12.1.2lamprey/12.1.6lamprey/12.1.5lamprey/12.1.4lamprey/12.1.3lamprey/12.1.213.93.012.93.012.1.612.1.512.1.412.1.312.1.2Scott Murray1-0/+30
Added logic in the D-Bus signal callbacks to be paranoid about the input to the callback, as it became clear from debugging that having two different libraries use g_dbus_connection_signal_subscribe in the same process results in the separately registered callbacks all getting called with the superset of the filtered signal requests. At best this leads to confusion with respect to logging/debugging, at worst it opens the door to tripping over unexpected inputs in the callbacks. Bug-AGL: SPEC-4182 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I86a804917c5f31f4c94e3e642728f7e0df5dd2e4
2022-01-28Initial check-inmarlin_12.92.0marlin/12.92.0lamprey_12.1.1lamprey/12.1.112.92.012.1.1Scott Murray17-0/+2662
GLib based interface library for ConnMan, factored out of the agl-service-network binding code. See README.md for build and usage notes and the mapping of the new source files to those in the binding if that is for some reason required. Bug-AGL: SPEC-4182 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I13c0982c790353c6e48f21bb8c4953a676840dbb
2021-12-18Initial empty repositorymarlin_12.91.0marlin/12.91.012.91.0Jan-Simon Moeller0-0/+0