Commit Graph

15 Commits

Author SHA1 Message Date
Denis Davydov
5231302217 Now the application does not start if it does not find ip, which starts with "fc" (ie, before starting the messenger, you need to run the cjdns daemon) 2018-07-26 14:42:37 +03:00
Denis Davydov
6019b36642 Cancel of fix 7100d5f9b5 2018-07-26 13:20:04 +03:00
Denis Davydov
b9cb29f7d7 Added one more \n to the Timeout Error message. 2018-07-26 13:13:54 +03:00
Denis Davydov
57f9ea67b9 Added a more detailed description for the error Timeout Error. 2018-07-26 13:10:31 +03:00
Denis Davydov
7100d5f9b5 Fixed a bug where no notification was sent that peer left from the chat 2018-07-26 12:59:43 +03:00
Denis Davydov
630f739538 Added the ability to correspond, performed a small optimization (fixed the memory leak), changed the structure of all the code (in particular, changed the names of many variables, etc.)
Also translated all into English.
2018-07-26 11:38:43 +03:00
Denis Davydov
65ab05979d Changed "action" to check the availability of a peer 2018-07-18 12:19:15 +03:00
Denis Davydov
2050f635ff Added comparison to true in the condition that is checked when the timeout () slot is invoked 2018-07-18 11:24:22 +03:00
Denis Davydov
f694a32f3e Changed some structure of classes Handler and MainWindow. Also added the line "My IP" on the main window. 2018-06-29 12:37:38 +03:00
Denis Davydov
bbfcfd00d9 Now when you click on the "Connect" button, the button stops being available, and the text on it changes to "Waiting..." until any message is not displayed. 2018-06-28 16:38:28 +03:00
Denis Davydov
7df934b392 Now the basic part of the application works stably.
The way of obtaining IPv6 is changed. Also changed the logic of the timer and fixed a bug with multiple calling the slot peerReceiverConnected().
2018-06-22 15:10:03 +03:00
Denis Davydov
d557b16c6a Now handler works. 2018-06-21 18:36:02 +03:00
Denis Davydov
a2fee2fe26 Changed the Network class constructor
Now sockets do not overlap (if you create an object of class Network in some other class).
2018-06-21 18:23:36 +03:00
Denis Davydov
7fa9deb1d4 The basic part of the application is written
The library nlohmann::json was removed (now QJson*), working class Network and idle handler.
2018-06-21 18:21:18 +03:00
Denis Davydov
e6412ebca9 Added template of project 2018-06-15 15:46:27 +03:00