Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | remove extra line | Laurent Ghigonis | 2012-11-29 | 1 | -1/+0 |
| | |||||
* | use EVLOOP_NONBLOCK in event_base_loop(), as we now deal with timers in | Laurent Ghigonis | 2012-11-29 | 2 | -4/+6 |
| | | | | gg_client so we need more event cycles than EVLOOP_ONCE. | ||||
* | many improvements, mainly on gg_client | Laurent Ghigonis | 2012-11-29 | 2 | -62/+162 |
| | | | | | | | | * when client or server disconnects, correctly inform the other party * add a reconnect mechanism for gg_client() based on timers * clean function headers * improve *_send() code * client now ignores packets from someone else than it's server | ||||
* | basic process event message handling | Laurent Ghigonis | 2012-11-29 | 2 | -12/+67 |
| | |||||
* | remove TODO, in README.txt now | Laurent Ghigonis | 2012-11-29 | 1 | -2/+0 |
| | |||||
* | set default ports as constants, and use them in sendrecv unittest | Laurent Ghigonis | 2012-11-29 | 2 | -2/+7 |
| | |||||
* | move around functions so they are in the right order. | Laurent Ghigonis | 2012-11-29 | 1 | -111/+115 |
| | | | | no functionnal change | ||||
* | auto calculate the packet size in gg_*_send() | Laurent Ghigonis | 2012-11-29 | 3 | -6/+41 |
| | |||||
* | include event.h here, and also the default queue.h of the system instead of the | Laurent Ghigonis | 2012-11-29 | 1 | -1/+7 |
| | | | | shipped one for now | ||||
* | add a way to pass userdata to server and client callbacks | Laurent Ghigonis | 2012-11-29 | 4 | -8/+16 |
| | |||||
* | fix callback function definition | Laurent Ghigonis | 2012-11-29 | 1 | -1/+1 |
| | |||||
* | add missing func header | Laurent Ghigonis | 2012-11-29 | 1 | -3/+3 |
| | |||||
* | also test user id | Laurent Ghigonis | 2012-11-29 | 1 | -1/+2 |
| | |||||
* | sending and receiving packets implemented and tested in unittest | Laurent Ghigonis | 2012-11-29 | 3 | -22/+127 |
| | |||||
* | add a unittest for testing sending are receiving pkts | Laurent Ghigonis | 2012-11-29 | 1 | -0/+51 |
| | |||||
* | improve connection handling between server and client. | Laurent Ghigonis | 2012-11-29 | 3 | -29/+111 |
| | | | | | better API. skeletion for packet_decode() | ||||
* | fix error handling in "make run_loop | Laurent Ghigonis | 2012-11-29 | 1 | -1/+1 |
| | |||||
* | fix Makefile for automatic compilation of new unittests | Laurent Ghigonis | 2012-11-29 | 1 | -8/+5 |
| | |||||
* | correctly handle new users | Laurent Ghigonis | 2012-11-29 | 2 | -12/+75 |
| | |||||
* | better naming | Laurent Ghigonis | 2012-11-29 | 1 | -1/+1 |
| | |||||
* | add a "make run_loop" target to execute the unit tests 20 times | Laurent Ghigonis | 2012-11-29 | 1 | -0/+18 |
| | |||||
* | formating fix | Laurent Ghigonis | 2012-11-29 | 1 | -1/+0 |
| | |||||
* | implement callbacks when server receives a connect, and test it in unit test | Laurent Ghigonis | 2012-11-29 | 3 | -18/+46 |
| | |||||
* | fix errors count in unit tests run | Laurent Ghigonis | 2012-11-29 | 1 | -0/+1 |
| | |||||
* | improve unit test | Laurent Ghigonis | 2012-11-29 | 1 | -2/+9 |
| | |||||
* | correctly set LD_LIBRARY_PATH to use libglouglou from parent dir | Laurent Ghigonis | 2012-11-29 | 1 | -1/+1 |
| | |||||
* | compile the sources before running unit tests | Laurent Ghigonis | 2012-11-29 | 1 | -1/+1 |
| | |||||
* | improve "make run" tests output | Laurent Ghigonis | 2012-11-29 | 1 | -2/+7 |
| | |||||
* | add a way to run all the tests and document it in tests/README.txt | Laurent Ghigonis | 2012-11-29 | 2 | -0/+17 |
| | |||||
* | add first unit tests | Laurent Ghigonis | 2012-11-29 | 2 | -0/+30 |
| | |||||
* | fix function name | Laurent Ghigonis | 2012-11-29 | 1 | -1/+1 |
| | |||||
* | implement client connection | Laurent Ghigonis | 2012-11-29 | 2 | -14/+73 |
| | | | | fix includes | ||||
* | fix make install | Laurent Ghigonis | 2012-11-29 | 1 | -2/+2 |
| | |||||
* | coded gg_server_start() | Laurent Ghigonis | 2012-11-28 | 2 | -23/+127 |
| | |||||
* | add skeleton from ARCHITECTURE.txt | Laurent Ghigonis | 2012-11-26 | 2 | -1/+61 |
| | |||||
* | one file for all will be enough for now | Laurent Ghigonis | 2012-11-12 | 1 | -0/+0 |
| | |||||
* | correct includes and fix CFLAGS | Laurent Ghigonis | 2012-11-12 | 2 | -4/+7 |
| | |||||
* | compilation basics | Laurent Ghigonis | 2012-11-12 | 2 | -4/+29 |
| | |||||
* | libglouglou in README | Laurent Ghigonis | 2012-07-21 | 1 | -0/+1 |
| | |||||
* | add libglouglou, for now only containing libglouglou.h, containing the | Laurent Ghigonis | 2012-07-21 | 2 | -0/+63 |
packet structure used to communicate between client and server |