Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The arguments and output may see changes, warn users that the
current ones are experimental.
|
|
|
|
Update argument and man page to use 'technologies'
|
|
|
|
|
|
The new main.c uses the previously added services, technology, manager,
interactive, and monitor files to create the connmanctl command line
interface. It is able to display properties of services and technologies,
and set/enable them.
|
|
|
|
|
|
Add a couple more functions for opening D-Bus message containers
with different signatures currently used by the command line client.
|
|
When the client is started with the 'interactive' option, it drops
into interactive shell mode. The interactive commands are handled
using readline. All of the commands (except interactive) can be
used in this mode.
|
|
Implement all of the command handling that connmanctl uses. Both the
main program and interactive mode should use the same commands, thus
there is no separation between the abilities of the two modes.
|
|
The command line client is able to run as a monitor to ConnMan. When
the client is started with the 'monitor' option, it will wait for any
signals from ConnMan and display them. It is useful for realtime
verbose output of ConnMan D-Bus events.
|
|
Support connecting/disconnecting services, list and set ConnMan properties.
'get_message()' is used to send any method request to ConnMan, and it
returns the reply that several functions use.
|
|
Support Technology API functionality such as scanning, parsing and
setting and receiving technology properties. Using 'match_tech_name()'
the command line utility can verify if a given technology exists on
the system.
|
|
Support Service API message D-Bus message parsing. Functions are
provided for configuring properties, iterating through D-Bus messages
and extracting properties in a useful manner.
|
|
|
|
Instead of allow the user configuring which plugin should build and used
via issuing 'configure --with-configplugin=foo' add explicit
enable flags 'configure --enable-session-policy'.
Also with this patch, the name is changed from session-default to
session-policy.
|
|
With one argument, len(sys.argv) is equal to 2.
|
|
len(sys.argv) gives the number of arguments including the
name of the command.
Fixes BMC#25722
|
|
Fixes BMC#25721
|
|
Decrease the refcount with one on error.
|
|
Update the ipdevice interface name if it is changed by udev.
|
|
Since service is referenced already in the message queue, there is no need
to reference it also in the callback data: this might lead to an over refcount
issue if the queue message is canceled before receiving any answer to it.
(callback's data refcount is still there).
|
|
|
|
When calling free_connman_wispr_portal_context(), the context is
freed. Add a backpointer to the wispr portal context in order to
clear the context from the wispr_portal struct.
|
|
When the callback has been called, the whole structure might be
freed. Thus don't call the debug function tied to the structure.
|
|
In some cases we did not destroy the bridge and ip pool.
|
|
Commit 4fe07df removed an error message about missing bridge functionality.
Return it back.
|
|
Connman tries to check if bridging is supported by the kernel by checking
whether "/proc/sys/net/bridge" is present. If the bridge is a kernel
module which is not already loaded, then tethering cannot be enabled.
Instead of checking for the file we invoke the "get bridge version" socket
ioctl and the kernel will handle module loading issues - if the bridge
module is not loaded, it will first load it, and then check the version.
|
|
|
|
|
|
|
|
|
|
Clean up any queued Agent API messages when the agent disappears or
the service is disconnected. Send cancel to the agent on D-Bus
timeout.
|
|
Clean up the queue and cancel the current message at the agent, if
any. Split out the actual cancel message sending as it will be used
separately from the rest of the code.
|
|
|
|
Add functions for queuing Agent API messages and sending the
first one when there is no message processed by the agent.
Handle D-Bus pending call replies and simplify the D-Bus reply
processing by handing the message to the callback function.
|
|
Convert usage of g_slist_append() to g_slist_prepend() where
appropriate. gdbus, dnsproxy, resolver, rtnl, session and session
unit test have ordering requirements and thus not touched.
|
|
All session stay in free ride mode all the time. We still
have to know if we have called connect on a service. Therefore
we need to distiguish between reason CONNECT and FREE_RIDE.
|
|
Reorder and group the settings, first the read only values
and then the ones which can be changed.
|
|
The RoamingPolicy setting which should be set by the platform integrator
and not by the application developper is moved the configuration plugin.
|
|
Remove this setting from the D-Bus API and move to the configuration
plugin.
|