|
2014-08-13
, 16:31
|
Posts: 57 |
Thanked: 96 times |
Joined on Jul 2012
|
#5142
|
|
2014-08-13
, 16:36
|
|
Posts: 1,396 |
Thanked: 2,796 times |
Joined on Sep 2010
@ Caracas, Venezuela
|
#5143
|
Hi scorpius. I'm also really appreciate all the work on Yappari.
One of the reason for me to keep N900 as my main phone.
I made some modification in yappari's GUI.
1. add timeout in settings option, because 3G and 3.5G connection from my operator is not stable. I prefer use 2.5G for yappari, but in latest version from yappari, the connection always time out with default value. So I add time out setting.
2. I also change select contact when create chat button was clicked as window, so it did not automatically closed when viewing a contact info.
http://s7.postimg.org/tmk58374r/screenshot01.png
|
2014-08-13
, 16:57
|
Posts: 57 |
Thanked: 96 times |
Joined on Jul 2012
|
#5144
|
Interesting. The "View" button looks really helpful (for stalkers! :P ).
The read timeout value changes what value exactly in the code?
|
2014-08-13
, 17:07
|
|
Posts: 1,396 |
Thanked: 2,796 times |
Joined on Sep 2010
@ Caracas, Venezuela
|
#5145
|
In Whatsapp/bintreenodereader.cpp, there is a defined READ_TIMEOUT 1000.
When I change that value to higher number, timeout didn't happen.
So I add read timeout setting.
|
2014-08-13
, 17:09
|
|
Posts: 6,436 |
Thanked: 12,701 times |
Joined on Nov 2011
@ Ängelholm, Sweden
|
#5146
|
|
2014-08-13
, 17:11
|
|
Posts: 1,239 |
Thanked: 1,278 times |
Joined on Aug 2011
@ Balochistan
|
#5147
|
|
2014-08-13
, 17:23
|
|
Posts: 1,396 |
Thanked: 2,796 times |
Joined on Sep 2010
@ Caracas, Venezuela
|
#5148
|
this is my implementation of reading btw: https://github.com/CODeRUS/mitakuulu...eader.cpp#L214
|
2014-08-13
, 17:41
|
|
Posts: 6,436 |
Thanked: 12,701 times |
Joined on Nov 2011
@ Ängelholm, Sweden
|
#5149
|
|
2014-08-13
, 17:43
|
Posts: 57 |
Thanked: 96 times |
Joined on Jul 2012
|
#5150
|
That's the time in milliseconds when Yappari will try another read from the network socket.
If you change it to a higher value, the GUI should freeze more often in bad connections. If you change it to a lower value, the GUI should response better, but your battery will last a lot less.
It doesn't really has anything to do with the socket timeout, which is 300 seconds (5 minutes).
If you read the code you'll see that no matter what value you set there, it's inside a while loop so it will still try to read until it reads what it needs to read, or until the socket times out and throws an exception.
Tags |
alpha, awesomeness, best_client, let_it_die, mumbai_dumbai, read_first_post, whatsapp |
|
And yes I would get sued if I name it like that anyway.
Support Yappari (a Whatsapp client for the N900 only) - Donate