Commit graph

25 commits

Author SHA1 Message Date
Christian Müller
f731daa637 Merge remote-tracking branch 'upstream/master' 2019-09-18 10:19:02 +02:00
Christian Müller
6730bdafad Update NetworkManager.go
Fix the interface removing unimplemnted methods
2019-08-29 17:21:09 +02:00
Josef Filzmaier
e5941e8300 Change connection parameter name
The developer.gnome.org spec specifies that the
function call DeactivateConnection() requires
an ActiveConnection as its parameter.
2019-08-14 18:54:51 +02:00
meskedal
4c09e115f8 Fixed duplicate entries in nm and utils
After the latest merge there was a duplicate entry of AddAndActivateWirelessConnection in NetworkManager.go
which has been removed. There was also duplicate functions call2 and
callError2 in utils.go. The duplicate of AddAndActivateWirelessConnection referenced
callError2, and both of these duplicates has been removed.
2019-06-29 23:53:31 +02:00
Tom Wambold
7f3cfc8b74
Merge pull request #10 from phommel/master
Don't Panic ™ : Refactoring of execption handling from panic to error values
2019-06-26 10:08:15 -04:00
Peter Hommel
12d19b58ae Don't Panic: Forward all errors as error values. Read this for reference: https://dave.cheney.net/2012/01/18/why-go-gets-exceptions-right 2019-06-26 09:24:05 +02:00
jkirkwood
744dfb200e Remove all panicking from methods 2019-06-19 17:47:59 +00:00
jkirkwood
2a9ef418e6 Implement better error handling for properties 2019-06-19 17:26:36 +00:00
Christian Müller
ff4ee87140 Complete NetworkManager Methods and properties, add Checkpoint (empty) 2019-06-12 14:34:18 +02:00
Christian Müller
cda635bea4 Add NetworkManager.AdAndActivateConnection 2019-06-05 08:33:01 +02:00
Christian Müller
84f8864a22 Add NetworkManager.DeactivateConnection 2019-06-03 16:39:36 +02:00
Christian Müller
bfdf42806c Add NetworkManager.ActivateConnection 2019-06-03 16:38:38 +02:00
Christian Müller
43dec4c754 NetworkManager doc typos 2019-06-03 16:38:08 +02:00
Christian Müller
b9e95e8780 Refactor callAndPanic to callWithReturnAndPanic 2019-05-28 11:06:28 +02:00
Christian Müller
3eddf987a8 Add 1.16 Methods and Properties path definitions 2019-05-16 17:10:52 +02:00
Christian Müller
a5d97dddcc Rename call methods for better understandable logic. Add additional call with no return value. 2019-05-15 17:38:20 +02:00
Christian Müller
ab586e0f32 Add NetworkManager.GetAllDevices 2019-05-15 15:53:18 +02:00
Peter Hommel
9224fc9401 I have added AddAndActivateConnection to NetworkManager (#8)
Add `AddAndActivateConnection` method to NetworkManager.

This adds a network profile, and activates the connection in one operation.
2019-05-13 09:51:12 -04:00
Peter Hommel
54e6cf98e2 AddAndActivateWirelessConnection: removed unnecessary recover 2019-05-13 14:12:35 +02:00
Peter Hommel
f42ba34c0a AddAndActivateWirelessConnection: documentation, error handling and return value 2019-05-09 10:42:29 +02:00
Peter Hommel
5852676635 added AddAndActivateConnection method to NetworkManager 2019-05-03 13:47:35 +02:00
hiro15
e95fae9eed Request scan and activate access point (#6)
Add some methods for wireless devices.
2018-12-04 09:31:30 -05:00
hiro15
c185f6c3d0 Active connection (#5)
Implement ActiveConnection interface.
2018-11-27 12:40:05 -05:00
Tom Wambold
e9eb8e5842 Flesh out Device and AccessPoint objects, JSON marshalling, basic signals. 2016-05-25 16:47:07 -04:00
Tom Wambold
75591bce97 Initial commit with not a whole lot of coverage. 2016-05-24 20:58:18 -04:00