These are chat archives for abranson/rockpool

27th
Jun 2016
ruff
@rufferson
Jun 27 2016 07:50
I think I've fixed end-of-call crash. need the check it thoroughly but so far I survived a call with no crash :)
But over the course of debugging it my pebble got corrupted and went to recovery mode resetting itself
so now I also need that language file upload feature :)
Andrew Branson
@abranson
Jun 27 2016 08:58
what fixed it?
i didn't get any further in the language upload. couldn't find a way to send the file without a nack in return.
btw i've suggested that we use qtmozembed for account signins etc just like here. i'm not sure why we weren't already. where did you get the embedding code from?
ruff
@rufferson
Jun 27 2016 11:07
For phone call - in status change handler method there was a object cleanup procedure which was making deleteLater - and that one disconnected signal/slots only to VoiceCallManager. However when object is created it also connected to the SailfishPlatform slots. And that one was causing segfault by attempting to execute slot on destroyed() signal
so the fix is to disconnect all slots - disconnect() instead of disconnect(this)
Andrew Branson
@abranson
Jun 27 2016 12:21
ah brilliant. i'd only got as far as commenting out the deleteLater
i'm surprised you need the language file though. i thought only the old pebble's needed that, and all the charsets were built into the times and above
ruff
@rufferson
Jun 27 2016 12:26
I also thought but then when playing with pebble sdk I've noticed the info it dumps contains local locale and even name of the file. so it's still there, it seems it was uploaded during initialization which I made on Android and during this initialization I've specified that i want cyrillic support
ruff
@rufferson
Jun 27 2016 12:40
so that's now on my todo list to capture with mitmproxy - pebble initialization (where from and what it fetches as language file - to be sure file itself is correct), then accountToken acquisition, then weather app
Andrew Branson
@abranson
Jun 27 2016 14:05
oh yes that's a good idea. trouble is i don't have an android device, so i've been fishing in the dark.
especially would like to know which icon the pebble shows when there's a firmware update. i plumped for the flag but it doesn't look right...
ruff
@rufferson
Jun 27 2016 14:10
I never saw update alert on pebble from android so don't know how it should look like, but ultimately all icons should be listed as resources in layouts.json file
Andrew Branson
@abranson
Jun 27 2016 14:31
yeah they're all there, but that doesn't tell me which one the pebble app uses to notify fw updates. i saw it on a blog entry once, but can't find it again.
ruff
@rufferson
Jun 27 2016 15:24
this one - http://www.mactrast.com/wp-content/uploads/2016/04/pebble_311_update_thumb.jpg doesn't look much different from the one you created. maybe just color