Notices


Closed Thread
Thread Tools
Scorpius's Avatar
Posts: 1,396 | Thanked: 2,796 times | Joined on Sep 2010 @ Caracas, Venezuela
#5091
Originally Posted by NerdKnight View Post
I made some patches to Yappari 1.1.46, this is the changelog:
  • Message notifications with group name instead of sender name
  • Anti-battery drain patch
  • Added UTF-8 codes for some emoji with softbank encoding. (before I received a square from contacts that uses windows phone, looks like it uses the new utf8 encodig)
Here you can download a deb package, and here the source code.

I think this can solve some problems posted recently.
And what about the profile picture patch?!?

And what's that about an "anti-battery draining patch"?
__________________
Support Yappari (a Whatsapp client for the N900 only) - Donate
 
NerdKnight's Avatar
Posts: 113 | Thanked: 334 times | Joined on Oct 2010 @ Argentina
#5092
Originally Posted by Scorpius View Post
And what about the profile picture patch?!?

And what's that about an "anti-battery draining patch"?
I made no patch for profile picture.

I had a problem very similar to what described totalizator, I posted about it some time ago. The "anti-battery draining patch" or 100% cpu usage patch solves this problem, at least for me .
 

The Following User Says Thank You to NerdKnight For This Useful Post:
Scorpius's Avatar
Posts: 1,396 | Thanked: 2,796 times | Joined on Sep 2010 @ Caracas, Venezuela
#5093
Originally Posted by NerdKnight View Post
I made no patch for profile picture.

I had a problem very similar to what described totalizator, I posted about it some time ago. The "anti-battery draining patch" or 100% cpu usage patch solves this problem, at least for me .
I mean, what exactly did you do in the code?

Yeah I know I can compare the source files with diff or something but I'm lazy :P
__________________
Support Yappari (a Whatsapp client for the N900 only) - Donate
 

The Following User Says Thank You to Scorpius For This Useful Post:
NerdKnight's Avatar
Posts: 113 | Thanked: 334 times | Joined on Oct 2010 @ Argentina
#5094
Originally Posted by Scorpius View Post
I mean, what exactly did you do in the code?

Yeah I know I can compare the source files with diff or something but I'm lazy :P
mmm, I made this a while ago, I put some network read function in a separated thread (so the gui doesn't freeze when there is some connection problem) and validated the socket connection if is valid before using it.
Here the patch with the battery fix and here the whole patch.
 

The Following 6 Users Say Thank You to NerdKnight For This Useful Post:
Scorpius's Avatar
Posts: 1,396 | Thanked: 2,796 times | Joined on Sep 2010 @ Caracas, Venezuela
#5095
Originally Posted by NerdKnight View Post
mmm, I made this a while ago, I put some network read function in a separated thread (so the gui doesn't freeze when there is some connection problem) and validated the socket connection if is valid before using it.
Here the patch with the battery fix and here the whole patch.
I would actually think your patch consumes even more battery:

1.- Instead of waiting for the I/O system to announce to the application there are bytes pending for reading in the network device, you're polling the network device every second with a timer.

2.- You're polling even when you're not connected. That's why you had to verify if socket is valid (and you used NULL in a C++ program like it were a C program). There's no way to call read() with an invalid socket object since the object had to trigger a signal and to do that it *has* to be valid.

So I'm not sure about this patch.
__________________
Support Yappari (a Whatsapp client for the N900 only) - Donate
 
panjgoori's Avatar
Posts: 1,236 | Thanked: 1,278 times | Joined on Aug 2011 @ Balochistan
#5096
as some people are reporting about 100% CPU usage i also face this problem but only when Yappari shows connected but not logged in and when it changes its status from Connected to Logged In everything goes back to normal.
 

The Following User Says Thank You to panjgoori For This Useful Post:
Scorpius's Avatar
Posts: 1,396 | Thanked: 2,796 times | Joined on Sep 2010 @ Caracas, Venezuela
#5097
Originally Posted by panjgoori View Post
as some people are reporting about 100% CPU usage i also face this problem but only when Yappari shows connected but not logged in and when it changes its status from Connected to Logged In everything goes back to normal.
This is actually good information. I haven't ever reproduced the problem, but looks like it only happens when you have a bad connection.
__________________
Support Yappari (a Whatsapp client for the N900 only) - Donate
 

The Following User Says Thank You to Scorpius For This Useful Post:
panjgoori's Avatar
Posts: 1,236 | Thanked: 1,278 times | Joined on Aug 2011 @ Balochistan
#5098
Originally Posted by Scorpius View Post
This is actually good information. I haven't ever reproduced the problem, but looks like it only happens when you have a bad connection.
well may be yes. as my cellular internet connection is very slow and also sometimes doesn't even work.
 

The Following User Says Thank You to panjgoori For This Useful Post:
Posts: 37 | Thanked: 9 times | Joined on Dec 2013
#5099
@ scorpius / nerdknight

can you make a fix/patch with the 2 points

- Message notifications with group name instead of sender name
- Added UTF-8 codes for some emoji with softbank encoding.

but wihtout the "Anti-battery drain patch".

Thanks in advance
 
Posts: 4 | Thanked: 1 time | Joined on Dec 2012 @ Mexico
#5100
Hi Scorpius!
There is a way to use Yappari without SIM? The SIM Slot of my N900 has failed and I try to use Yappari only with Wifi.

Grettings!
 
Closed Thread

Tags
alpha, awesomeness, best_client, let_it_die, mumbai_dumbai, read_first_post, whatsapp

Thread Tools

 
Forum Jump


All times are GMT. The time now is 04:34.