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
Maciek Borzecki
2ad049acfb
README.md: add a note to README
10 years ago
Maciek Borzecki
ed5f421e40
README.md: update README
10 years ago
Maciek Borzecki
454ee61e26
Makefile: use REV if set in git-source-dist target
10 years ago
Maciek Borzecki
4a5de4f22f
mconnect.spec: update git sha1
10 years ago
Maciek Borzecki
6e20af99e6
telephony: use phone icon in notifications
10 years ago
Maciek Borzecki
e95355b8ca
notification: use phone icon in notifications
10 years ago
Maciek Borzecki
f7bca80a29
notification: ignore cancelled notifications
10 years ago
Maciek Borzecki
1812cea561
mconnect.spec: update git sha1
10 years ago
Maciek Borzecki
5f5ea9f24f
mconnect.spec: include configuration sample
10 years ago
Maciek Borzecki
0698107d11
devicemanager: check if device is allowed before activation
10 years ago
Maciek Borzecki
212059761e
main: enable debuging if enabled in config file
10 years ago
Maciek Borzecki
8350fe58d0
core: load configuration
10 years ago
Maciek Borzecki
7b888f2130
mconnect.conf: sample configuration
10 years ago
Maciek Borzecki
0c5eeec84e
config: configuration wrapper
10 years ago