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
Maciek Borzecki
ff810b3293
configure: do not look for g-ir-scanner
9 years ago
Maciek Borzecki
fca7ef2b4c
configure: do not look for vapigen
9 years ago
Maciek Borzecki
31c47f1f9f
all: move files to their respective dirs
In preparation for DBus move the files to their respective directories.
9 years ago
Maciek Borzecki
aff78f72d8
Makefile: remove VAPI autogeneration
VAPI is autogenerated based on GObject introspection. The problem is
that for gir to work a library must be run on the host, what obviously
brakes if cross compilation is used. As a workaround use the hand
generated VAPI and completely dump autogeneration.
9 years ago
Maciek Borzecki
125e89aea2
mconn-crypt.vapi: add VAPI for mconn-crypt
Add hand crafted VAPI for mconn-crypt based on autogenerated version.
9 years ago
Maciek Borzecki
4039565630
core: use Mconn namespace
9 years ago
Maciek Borzecki
1effbd8e98
devicechannel: use Mconn namespace
9 years ago
Maciek Borzecki
9a41b9b258
telephony: use Mconn namespace
9 years ago
Maciek Borzecki
6ccb4b977e
mconn-crypt-test: use mconn_ namespace
9 years ago
Maciek Borzecki
a3b87fe5de
mconn-crypt-vala-test: use Mconn namespace
9 years ago
Maciek Borzecki
4b11424310
mconn-crypt: m_conn namespace changed to mconn
Part of namespac cleanup work.
9 years ago
Maciek Borzecki
b3e382d3a9
Makefile: use -g flag for valac
This enables debugging with gdb. Without -g flag, the generated C code
does not have file/line set, hence gdb has no way of telling the Vala
code line the C code corresponds to.
9 years ago
Maciek Borzecki
87d0422654
Makefile: cleanup generated C code
Remove C files generated by valac in 'clean' target.
9 years ago
Maciek Borzecki
fc8a663b72
devicechannel: setup TCP keepalive
Use TCP keepalive for detecting of connection goes offline in a more
reliable manner.
9 years ago
Maciek Borzecki
ac41b8e463
devicemanager: known device cache
Keep track of known device and dump their info to cache. This should
speed up reconnect after restarting mconnect. The rationale is that the
devices are likely to be connected to to the local network and use
DHCP and as such will most probably get the same address the next time
they appear. Hence, it should be ok to attemp connection the last know
IP address. If that fails, the discovery process will still take place.
10 years ago
Maciek Borzecki
3ee3af41fe
core: helper to get path to cache directory
10 years ago
Maciek Borzecki
25d1f6a83d
core: use APP_NAME when getting user directories
10 years ago
Maciek Borzecki
b483c506be
mconnect.spec: spec updates with missing build requirements
Builds on COPR for F21 & rawhide
10 years ago
Maciek Borzecki
7732bf6092
mconnect.spec: changelog update
10 years ago
Maciek Borzecki
f8aeb63063
mconnect.spec: update BuildRequires with autotools, libtool, pkg-config
10 years ago
Maciek Borzecki
febd2875b9
mconnect.spec: update spec to 0.2
10 years ago
Maciek Borzecki
e4d57eff5c
notification: keep track of shown notifications
Currently notifications shown so far are not tracked, thus often it
happens that multiple notifications regarding the same topic appear,
where only one should be shown. The change adds tracking of
notifications being shown within the Notification class.
Notifications cleared by user will be re-shown if device pushes them
again.
10 years ago
Maciek Borzecki
15b090757b
mconnect.spec: bump to 0.1-3
10 years ago
Maciek Borzecki
3437a33399
notification: add time to ticker
If no time was provided in original message, use local time
10 years ago
Maciek Borzecki
9009707254
telephony: add current time to notification
10 years ago
Maciek Borzecki
3a2ed3c6e3
mconnect.spec: bump spec version to 0.1-2
Since code has gone to public repository, start incrementing relase
number properly.
10 years ago
Maciek Borzecki
b8ffa0fe6e
device: some comments
10 years ago
Maciek Borzecki
94441d1ec4
device: move cleanup after channel is closed to single place
10 years ago
Maciek Borzecki
435ab1e3ac
devicechannel: receive() will catch all IOErrors internally
10 years ago
Maciek Borzecki
addf64d24d
devicemanager: print message that device got disconnected
10 years ago
Maciek Borzecki
5253bb9570
device: make sure to set the host if activating from device
10 years ago
Maciek Borzecki
13dde93eaa
device: do not use host address for detecting changed location
Whenever a mobile device wakes up, it will send an identity packet from
the same IP, using different 'tcpPort' in the message. This should
prevent device from being closed and reconnected to too frequently.
10 years ago
Maciek Borzecki
b047b98a81
device: clear host address on disconnect
10 years ago
Maciek Borzecki
f31bdf1012
device: incorrect channel null check
10 years ago
Maciek Borzecki
7c3dc91074
devicechannel: check if streams are non null before calling close()
10 years ago
Maciek Borzecki
e3cdb01398
device: use async DeviceChannel.open()
10 years ago
Maciek Borzecki
695de9b06d
devicechannel: detect connection close
10 years ago
Maciek Borzecki
576c91add0
devicechannel: log message in dispose
10 years ago
Maciek Borzecki
cf99693038
devicechannel: replace connected() signal with async open() method
10 years ago
Maciek Borzecki
908203adc9
config: pick up fallback config file from system data dirs
10 years ago
Maciek Borzecki
5b91211699
Makefile: use $(datadir)/mconnect for sample config
The sample configuration file is really more like data than a system
wice configuration file deserving a place in /etc. Move to $(datadir).
10 years ago
Maciej Borzecki
93a709e7f5
Merge pull request #1 from 3v1n0/master
Use gobject-introspection to generate VAPI
10 years ago
Marco Trevisan (Treviño)
e6e9f84179
README: update dependencies
10 years ago
Marco Trevisan (Treviño)
2cd456ccb4
MConnCrypt: fix docstring return type on decrypt
10 years ago
Marco Trevisan (Treviño)
4f4d9efac4
Configure: use g-ir-scanner to generate MConnCrypt vapi
Use a private library instead of rebuilding the same sources multiple times
10 years ago
Maciek Borzecki
2490f38fb4
mconnect.spec: bump git sha
10 years ago
Maciek Borzecki
55ae51af02
README.md: add libgee devel to build deps
10 years ago