summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2012-12-22Release 1.101.10Marcel Holtmann2-1/+9
2012-12-22build: Fix Daniel's commits without nameMarcel Holtmann1-0/+1
2012-12-22build: Fix Flavio's name mapping to email addressMarcel Holtmann1-0/+1
2012-12-22build: Add vpn/net.connman.vpn.service to .gitignoreMarcel Holtmann1-0/+1
2012-12-22gdbus: Avoid using g_ptr_array_new_full convenience functionMarcel Holtmann1-1/+2
The g_ptr_array_new_full function only got introduced with GLib 2.30 and to avoid requiring a newer GLib use g_ptr_array_set_free_func instead.
2012-12-21session-policy-local: Check policy being non-NULL before usingPatrik Flykt1-1/+3
When running unit/test-session the following happens if SELinux is disabled but --enable-session-policy-local is specified for ./configure: connmand[6468]: src/session.c:__connman_session_create() owner :1.269 connmand[6468]: src/dbus.c:selinux_get_context_reply() Failed to retrieve SELinux context connmand[6468]: src/session.c:session_create_cb() session 0x2388dc0 config (nil) connmand[6468]: Aborting (signal 11) [src/connmand] connmand[6468]: ++++++++ backtrace ++++++++ connmand[6468]: #0 0x7f5b2b8184f0 in /lib/x86_64-linux-gnu/libc.so.6 connmand[6468]: #1 0x4379b4 in policy_local_destroy() at plugins/session_policy_local.c:245 connmand[6468]: #2 0x46703f in free_session() at src/session.c:258 connmand[6468]: #3 0x468603 in session_create_cb() at src/session.c:1710 connmand[6468]: #4 0x4377e7 in selinux_context_reply() at plugins/session_policy_local.c:201 connmand[6468]: #5 0x461366 in selinux_get_context_reply() at src/dbus.c:475 connmand[6468]: #6 0x7f5b2c66b1ca in /lib/x86_64-linux-gnu/libdbus-1.so.3 connmand[6468]: #7 0x7f5b2c66e293 in /lib/x86_64-linux-gnu/libdbus-1.so.3 connmand[6468]: #8 0x410aa8 in message_dispatch() at gdbus/mainloop.c:76 connmand[6468]: #9 0x7f5b2c8eeeeb in /lib/x86_64-linux-gnu/libglib-2.0.so.0 connmand[6468]: #10 0x7f5b2c8ee355 in /lib/x86_64-linux-gnu/libglib-2.0.so.0 connmand[6468]: #11 0x7f5b2c8ee688 in /lib/x86_64-linux-gnu/libglib-2.0.so.0 connmand[6468]: #12 0x7f5b2c8eea82 in /lib/x86_64-linux-gnu/libglib-2.0.so.0 connmand[6468]: #13 0x410592 in main() at src/main.c:672 connmand[6468]: #14 0x7f5b2b804ead in /lib/x86_64-linux-gnu/libc.so.6 connmand[6468]: +++++++++++++++++++++++++++
2012-12-20gweb: Use glib memory functionsDaniel Wagner1-1/+1
Use for all memory allocation/dealocation operation the glib functions. This allows us to use g_mem_profile().
2012-12-20gdhcp: Use glib memory functionsDaniel Wagner1-1/+1
Use for all memory allocation/dealocation operation the glib functions. This allows us to use g_mem_profile().
2012-12-20core: Use glib memory functionsDaniel Wagner2-6/+6
Use for all memory allocation/dealocation operation the glib functions. This allows us to use g_mem_profile().
2012-12-19build: Compile support for new D-Bus client helpersMarcel Holtmann1-1/+1
2012-12-19gdbus: Increase the method call timeout to 5 minutesMarcel Holtmann1-1/+3
2012-12-19gdbus: Add helper for sending async error repliesMarcel Holtmann2-0/+38
2012-12-19gdbus: Fix race condition with creating duplicate client proxiesMarcel Holtmann1-0/+23
2012-12-19gdbus: Fix issue with unref of client while parsing interfacesMarcel Holtmann1-0/+8
2012-12-19gdbus: Fix issue with unref of client in connect handlerMarcel Holtmann1-0/+8
2012-12-19gdbus: Add support for D-Bus client method callsMarcel Holtmann2-0/+82
2012-12-19gdbus: Add callback support for handling property changesMarcel Holtmann2-10/+31
2012-12-19gdbus: Handle property changed signals and update propertyMarcel Holtmann1-31/+107
2012-12-19gdbus: Set property changed filter match rule for each proxyMarcel Holtmann1-40/+57
2012-12-19gdbus: Use a GPtrArray for the match rulesMarcel Holtmann1-18/+24
2012-12-19gdbus: Add support for setting D-Bus client basic propertiesMarcel Holtmann2-0/+99
2012-12-19gdbus: Deep copy of variants also requires a signatureMarcel Holtmann1-2/+7
2012-12-19gdbus: Add support for complex D-Bus client propertiesMarcel Holtmann1-16/+46
2012-12-19gdbus: Add support for D-Bus client propertiesMarcel Holtmann2-3/+126
2012-12-19gdbus: Add support for D-Bus client proxiesMarcel Holtmann2-4/+343
2012-12-19gdbus: Add helper functions for simple D-Bus clientsMarcel Holtmann2-0/+355
2012-12-17agent: Don't crash when no agent was registered on exitDaniel Wagner1-0/+4
If the user never registered an agent, agent_sender and agent_path are NULL. D-Bus does not handle this gracefully, instead it kills ConnMan. So let's skip the D-Bus part in this case. connmand[4271]: src/agent.c:connman_agent_driver_unregister() Sending release to (null) path (null) iface net.connman.Agent process 4271: arguments to dbus_message_new_method_call() were incorrect, assertion "path != NULL" failed in file dbus-message.c line 1198. This is normally a bug in some application using the D-Bus library. D-Bus not built with -rdynamic so unable to print a backtrace connmand[4271]: Aborting (signal 6) [./src/connmand] connmand[4271]: ++++++++ backtrace ++++++++ connmand[4271]: #0 0x3a9920f500 in /lib64/libpthread.so.0 connmand[4271]: #1 0x3a98e36285 in /lib64/libc.so.6 connmand[4271]: #2 0x3a98e37b9b in /lib64/libc.so.6 connmand[4271]: #3 0x3c7602fff5 in /lib64/libdbus-1.so.3 connmand[4271]: #4 0x3c76026fc1 in /lib64/libdbus-1.so.3 connmand[4271]: #5 0x3c76018aea in /lib64/libdbus-1.so.3 connmand[4271]: #6 0x45b8b1 in connman_agent_driver_unregister() at src/agent.c:426 connmand[4271]: #7 0x457b7c in __connman_service_cleanup() at src/service.c:6756 connmand[4271]: #8 0x43f54f in main() at src/main.c:702 connmand[4271]: #9 0x3a98e2169d in /lib64/libc.so.6 connmand[4271]: +++++++++++++++++++++++++++
2012-12-14main: Small cleanup for config file parsing and checkingMarcel Holtmann1-7/+9
2012-12-14main: Add function to check for main.conf groups and keysPatrik Flykt1-0/+53
Print out a warning on an unknown group and unknown keys in the "General" group.
2012-12-14main: Use defines for main.conf keysPatrik Flykt1-18/+29
2012-12-14vpn-provider: Report disconnect errors other than -EINPROGRESSPatrik Flykt1-3/+3
Return code -EINPROGRESS is an indication of a disconnect taking place, not a disconnect error.
2012-12-14vpn-provider: Set state when connecting and disconnectingPatrik Flykt1-7/+6
Update provider state when connect or disconnect is initiated.
2012-12-14vpn-plugin: Send proper response to caller and connect if neededPatrik Flykt1-11/+30
Send a proper response to the caller and attempt to connect if the provider data exists but is not connected.
2012-12-14vpn: Clear pending connect flag on connect attemptPatrik Flykt1-0/+2
Fixes BMC#25894
2012-12-12technology: Soft block on offline mode or disabled technologyPatrik Flykt1-2/+2
When adding an rfkill device which is unblocked, soft block it immediately if offline mode is enabled or the technology (enable_persistent) is disabled. Fixes BMC#25858
2012-12-11README: Add extra empty line between sectionsMarcel Holtmann1-0/+1
2012-12-11unit: Fix differences with including gdbus.h headerMarcel Holtmann3-3/+3
2012-12-11client: Fix up header inclusion messMarcel Holtmann7-31/+26
2012-12-11client: Do not include headers from the coreMarcel Holtmann6-13/+49
2012-12-11client: Provide own D-Bus helper functionsMarcel Holtmann6-7/+114
2012-12-11client: Remove useless circular inclusion protectionMarcel Holtmann5-24/+0
2012-12-11client: Add missing includes of config.hMarcel Holtmann7-0/+28
2012-12-11client: Fix the mangled copyright statementMarcel Holtmann11-24/+38
In addition relax it to GPLv2 or later to make linking against newer versions of readline library possible.
2012-12-11build: Fix typo in command line client configure optionMarcel Holtmann1-1/+1
2012-12-10vpn-plugin: Check completion of configure and connectPatrik Flykt1-16/+14
When creating a configuration, wait until both configuration and connection has been done. Otherwise NULL user data is passed to the callback which then cannot relay an error to the caller and the caller will get a timeout waiting for a reply from D-Bus.
2012-12-10vpn-plugin: Propagate most common errors to callback functionPatrik Flykt1-4/+14
Instead of always setting the create callback function error to -ECONNREFUSED, create a helper function to detect the two most often emitted errors.
2012-12-10manager: -EINPROGRESS is a valid response for ConnectProviderPatrik Flykt1-7/+1
With VPN connections being handled by connman-vpnd, -EINPROGRESS is a valid value to report to the caller if the VPN is already connecting.
2012-12-10session_policy_local: Create policy directory if necessaryDaniel Wagner1-0/+12
Create the policy directory as first thing. If we don't do this adding a watch on the non existing directory will fail and the whole plugin is not loaded. We need to figure out later how permissive the MODE of the directory should be. Currently, we play safe and have it tied down.
2012-12-05session: Call callback directly when no plugin is assignedDaniel Wagner1-8/+9
When we have no plugin assigned we have to call the final session callback directly. Since __connman_session_create() doesn't know if a plugin was called or not, create_policy_config() or __connman_session_create() needs to free all allocated resources (also in the error path).
2012-12-05session: Add a cleanup function for the user configDaniel Wagner1-13/+23
This helps to make the error path more readable.