Maciek Borzecki
ea97bb695b
device-proxy: subscribe to device property changes
8 years ago
Maciek Borzecki
5718b50330
device, mconnectctl: export and show connection status
Signed-off-by: Maciek Borzecki <maciek.borzecki@gmail.com>
8 years ago
Maciek Borzecki
eb114687b5
travis: switch to building inside containers
Travis host images are quite outdated, so the builds will now use containers
instead. By default there's a build for Arch Linux (using base/archlinux:latest
image) and Fedora (using official fedora:latest).
Builds are done using extra/travis-build script.
8 years ago
Maciek Borzecki
cac1ac1001
mconnectctl: sample client app for mconnect
8 years ago
Maciek Borzecki
e6e7f8d6d3
devicemanager: release protocol packet handlers when device disconnects
This prevents a protocol handler to be fired more than once.
8 years ago
Maciek Borzecki
01351bac98
devicechannel: convert ciriticals to warnings
8 years ago
Maciek Borzecki
4b2153c9f7
discovereddevice: split device that was found through discovery process from Device
8 years ago
Maciek Borzecki
fa72198c40
build: add run-gdb target
Add make target 'run-gdb' that will automatically start gdb with
G_MESSAGES_DEBUG=all and G_DEBUG=fatal-criticals environment variables.
8 years ago
Maciek Borzecki
d9bd439d5d
device: rejected pairing should be logged as warning
Otherwise debugging with G_DEBUG=fatal-criticals is not possible.
8 years ago
Maciek Borzecki
5145f40fdc
devicemanager: cleanup device signal handling, prevent duplicated signals
Cleanup device signals handling. Fix a problem with duplicated signals from
Device which were a result of same signal callback being registered multiple
times.
8 years ago
Maciek Borzecki
b06936c506
device: add is_active property
indicated is communication with device is possible
8 years ago
Maciek Borzecki
874f2f0971
device: reduce chatter
8 years ago
Maciek Borzecki
b6ec6e455e
packethandlers: allow releasing of a device (eg. when device is no longer paired)
8 years ago
Maciek Borzecki
ca4c09cb28
devicemanager: device managed is not directly exported to DBus, cleanup DBus attributes
8 years ago
Maciek Borzecki
6c8bf2ee67
devicechannel, device: channel close need not be async
8 years ago
Maciek Borzecki
b30ffb7ddf
mousepad, battery: reduce chatter
8 years ago
Maciek Borzecki
3e3bcf0083
devicemanager: check if device is enabled in config only when needed
8 years ago
Maciek Borzecki
bb45b12751
devicemanager, proxy: proper 'new device' signal
8 years ago
Maciek Borzecki
3c3687ad59
devicemanager-proxy: check if there is a device associated with given path
8 years ago
Maciek Borzecki
e2cd6500b2
devicemanager: log that device is already known
8 years ago
Maciek Borzecki
c68ac52d97
device-proxy: cleanup exported properties
8 years ago
Maciek Borzecki
e10ff4a15c
device: class is no longer expored over DBus, drop all DBus related attributes
8 years ago
Maciek Borzecki
14f051f675
mconnect: use DBus proxies for devicemanager and device
8 years ago
Maciek Borzecki
3b6e7bc80c
devicemanager: list and activate devices through DBus
8 years ago
Maciek Borzecki
3477d3ee85
device: fix activation of device that is disconnected but its address is known
8 years ago
Maciek Borzecki
0dabf5e7d9
device: do not clean host address when disconnecting
8 years ago
Maciek Borzecki
b16e1491d5
devicemanager: allow_device, list_devices DBus methods
8 years ago
Maciek Borzecki
39785fca9e
devicemanager: use Device.allowed flag or poke config to see if device is accepted
8 years ago
Maciek Borzecki
936886f17d
device: add 'allowed' cache flag
8 years ago
Maciek Borzecki
1e664bf8af
application, devicemanager: restore devices from cache when application becomes active
8 years ago
Maciek Borzecki
7a814ffdc4
application: DBus registration, register manager object
8 years ago
Maciek Borzecki
bdcd3cf442
device, devicemanager: add DBus intefaces, hide methods from the bus
8 years ago
Maciek Borzecki
9753a21c29
config, core, devicemanager: cleanup valac warnings
8 years ago
Maciek Borzecki
d8bc0f851b
devicechannel, discovery: update to match latest gio-2.0 API
8 years ago
Maciek Borzecki
9ff55328bd
vapi/gio-2.0: remove stale gio-2.0 VAPI files
Patched gio-2.0 VAPI files are no longer needed.
8 years ago
Maciek Borzecki
04dfd445db
application: add GLib.Application() support
9 years ago
Maciek Borzecki
2210f1fd07
mconnect.spec: remove RPM spec
9 years ago
Maciek Borzecki
23e1acf1d1
README: list gtk3-devel as dependency
Signed-off-by: Maciek Borzecki <maciek.borzecki@gmail.com>
9 years ago
Maciek Borzecki
b72351eacc
README: update template config file location
9 years ago
Maciek Borzecki
4e670ef5d7
README: update readme
9 years ago
Maciek Borzecki
a532c68c5e
travis: install mousepad plugin dependencies
9 years ago
Maciek Borzecki
7f0841fe10
mousepad: implement mousepad plugin
Implement mousepad plugin handler. The input in realized through AT-SPI.
9 years ago
Maciek Borzecki
4c865a7bbc
discovery: use Socket.create_socket_source()
Use Socket.create_socket_source() as it works for both TCP and UDP
sockets, but also does not use GDatagramBased interface, thus should
allow building on systems with older GLib versions.
9 years ago
Maciek Borzecki
5c951863b2
travis: run verbose builds
9 years ago
Maciek Borzecki
5eff60734b
mconn-crypt: fix compiler warnings
9 years ago
Maciek Borzecki
9f7ad17517
travis: bump vala version for travis builds
9 years ago
Maciek Borzecki
ba16d18379
devicechannel: consume the last \n character
A message ends with \n (newline), make sure that's the only extra
character we consume.
9 years ago
Maciek Borzecki
5d70c03d0a
devicemanager: handle cache load errors
9 years ago
Maciek Borzecki
38f438de7c
device: loading device from cache may fail
Replace named constructor Device.from_cache() with static method
Device.new_from_cache() to catch errors when loading from cache and
return null in such case.
9 years ago
Maciek Borzecki
6df3ab4c44
devicechannel: use synchronoous receive
IO receive from the mobile can be done synchronously without problems.
9 years ago