cascardo/f2fchat.git
10 years agoPing a friend when we get it from the cache
Thadeu Lima de Souza Cascardo [Wed, 9 Oct 2013 22:00:08 +0000 (19:00 -0300)]
Ping a friend when we get it from the cache

10 years agoAdd some debug when receiving a message
Thadeu Lima de Souza Cascardo [Wed, 9 Oct 2013 21:59:48 +0000 (18:59 -0300)]
Add some debug when receiving a message

10 years agoFix bug on if condition.
Thadeu Lima de Souza Cascardo [Wed, 9 Oct 2013 21:57:50 +0000 (18:57 -0300)]
Fix bug on if condition.

10 years agoAdd getter for friend name
Thadeu Lima de Souza Cascardo [Wed, 9 Oct 2013 21:57:08 +0000 (18:57 -0300)]
Add getter for friend name

10 years agosock_init should be called before loading cache
Thadeu Lima de Souza Cascardo [Wed, 9 Oct 2013 21:56:38 +0000 (18:56 -0300)]
sock_init should be called before loading cache

10 years agoCompare response address with friend address.
Thadeu Lima de Souza Cascardo [Wed, 9 Oct 2013 21:49:56 +0000 (18:49 -0300)]
Compare response address with friend address.

10 years agoUse GSocket and GSocketAddress from GIO.
Thadeu Lima de Souza Cascardo [Wed, 9 Oct 2013 21:49:27 +0000 (18:49 -0300)]
Use GSocket and GSocketAddress from GIO.

10 years agoUse uint16_t for port instead of a string
Thadeu Lima de Souza Cascardo [Wed, 9 Oct 2013 11:22:02 +0000 (08:22 -0300)]
Use uint16_t for port instead of a string

10 years agoAdd socket and message.
Thadeu Lima de Souza Cascardo [Wed, 9 Oct 2013 11:16:25 +0000 (08:16 -0300)]
Add socket and message.

Create a socket to send and receive messages from.

10 years agoBuild with GIO
Thadeu Lima de Souza Cascardo [Wed, 9 Oct 2013 11:14:50 +0000 (08:14 -0300)]
Build with GIO

10 years agoWrite GKeyFile data to a file.
Thadeu Lima de Souza Cascardo [Tue, 8 Oct 2013 01:06:43 +0000 (22:06 -0300)]
Write GKeyFile data to a file.

There is no API for writing a GKeyFile back, so we need a hack like
this.

10 years agoFix bug when appending to friends list.
Thadeu Lima de Souza Cascardo [Tue, 8 Oct 2013 01:05:31 +0000 (22:05 -0300)]
Fix bug when appending to friends list.

10 years agoDo not override CFLAGS and LIBS.
Thadeu Lima de Souza Cascardo [Tue, 8 Oct 2013 01:04:17 +0000 (22:04 -0300)]
Do not override CFLAGS and LIBS.

Use specific extra CFLAGS and LDFLAGS for the program.

10 years agoUse a GKeyFile to load the cache of friends' addresses.
Thadeu Lima de Souza Cascardo [Tue, 8 Oct 2013 00:25:45 +0000 (21:25 -0300)]
Use a GKeyFile to load the cache of friends' addresses.

Unfortunately, we need a hack to save the GKeyFile.

10 years agoUse a GLib main loop
Thadeu Lima de Souza Cascardo [Mon, 7 Oct 2013 11:38:06 +0000 (08:38 -0300)]
Use a GLib main loop

10 years agoDepend on GLib
Thadeu Lima de Souza Cascardo [Mon, 7 Oct 2013 11:33:00 +0000 (08:33 -0300)]
Depend on GLib

10 years agoGet the address for a friend
Thadeu Lima de Souza Cascardo [Mon, 7 Oct 2013 11:32:47 +0000 (08:32 -0300)]
Get the address for a friend

10 years agoAdd the friend cache.
Thadeu Lima de Souza Cascardo [Sun, 6 Oct 2013 03:02:56 +0000 (00:02 -0300)]
Add the friend cache.

The cache has a list of friends with its respective last seen address.

10 years agoIntroduce a HACKING file
Thadeu Lima de Souza Cascardo [Sat, 5 Oct 2013 19:28:16 +0000 (16:28 -0300)]
Introduce a HACKING file

Tell how to prepare the code for a build, and how to build a release.

10 years agoautotools support for f2fchat
Thadeu Lima de Souza Cascardo [Sat, 5 Oct 2013 19:27:02 +0000 (16:27 -0300)]
autotools support for f2fchat