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
Maciek Borzecki
9ca7a18338
devicechannel: use Socket.create_socket_source() helper
Calling Socket.create_source() will generate a C call to
g_socket_datagram_based_create_source(), and that returns null for TCP
sockets. Use a helper Socket.create_socket_source() method to workaround
this problem..
9 years ago
Maciek Borzecki
700ec1913d
vapi: use modified gio-2.0 bindings
GLib.Socket implements GLib.DatagramBased, hence calling
Socket.create_source() results in a C call to
g_socket_datagram_based_create_source() insted of
g_socket_create_source() as one my expect. The former works only for
datagram based sockets (as implemented in gio/gsocket.c), hence
Socket.create_source() for TCP socket will always return null. To
workaround this, export g_socket_create_source() as
Socket.create_socket_source() method.
The change is expected to be a part of vala 0.34 release.
9 years ago
Maciek Borzecki
6a4048250f
devicechannel/discovery: fix Socket.creat_source() return type changes
Due to gio-2.0 VAPI changes Socket.create_source() does not return a
SocketSource anymore, but a standard GLib.Source instead. Make sure that
we cast to SocketSource.
9 years ago
Maciek Borzecki
e5efb27add
Makefile: disable valac colored output
Prevent valac from producing colored output as it breaks Emacs compile
buffer handling and find-file support.
9 years ago
Maciek Borzecki
a78f9aac92
travis: install libgirepository
9 years ago
Maciek Borzecki
a8034dbdc8
travis: switch to trusty, install build deps
9 years ago
Maciek Borzecki
6f0aaaafe5
travis: initial version of Travis config
9 years ago