libera/#maemo-leste/ Sunday, 2024-06-09

freemangordonok, seems we call  targetId() on a channel that still has no  Channel::FeatureCore prepared00:23
freemangordonWizzup: what pretty-printer do you use for gdb qt debug?08:19
freemangordondoing post-mortem debugging with qtcreator running on d4 with Xephyr running on pc is not fun :(09:51
freemangordonWizzup: dsc_: https://github.com/maemo-leste/conversations/blob/master/src/lib/tp.cpp#L71610:08
freemangordonwho removes delete channel from accounts list of channels?10:08
freemangordonWizzup: dsc_: why is TelepathyChannel kept in accounts channels map when channel is invalidated? is that an overlook or by design?11:53
WizzupThey definitely need to be removed11:54
freemangordonok11:54
WizzupI seem to recall we talked about this a week or two ago somehow11:54
freemangordonI am preparing a fix for using pointers instead of shared pointes11:54
freemangordonwill try to fix the lifetime of all objects11:55
Wizzupunless it's a list dsc keeps for auto joining purposes as supposed to real channels, but basicaly any time anything is invalidated we need to just trash it obviously11:55
freemangordondsc_: ^^^11:56
freemangordonWizzup: have to run now11:56
Wizzupfreemangordon: I don't use a pretty printer for qt debug ouput in gdb btw, I did use some snippet to print QStrings from google somewhere12:12
freemangordonWizzup: well, I ended up using qtcreator12:29
freemangordonWizzup: please have a look at last 2 commits13:16
freemangordonhttps://github.com/maemo-leste/conversations/commits/use_shared_pointers/13:16
freemangordonthe first one should be clear, but the second one - why didn;t you use QSharedPointer from the beginning? like, I am not aware of any big overhead13:17
Wizzupprobably because I had some trouble using it13:18
freemangordonah :)13:18
Wizzupas you can tell from https://github.com/maemo-leste/conversations/commit/693e91bd967229b5f47cd01f48f7b83d940f4254#diff-87db68d7596ffb0dfea5735881430cc11e7a6c780e8de85a530e1654839077cdL67613:18
Wizzup:D13:18
freemangordonbut, this is not Tp:SharedPtr (which I fixed how it is used)13:19
freemangordonI am talking about our classes13:19
WizzupI think the ::staticCast I didn't know of somehow13:19
Wizzupsame reason I think13:19
freemangordonok13:19
WizzupI have mostly written Qt in python, except for the platform plugin13:19
freemangordonah, ok13:19
WizzupI have only done some C++ qt porting for our various apps13:20
freemangordonok, I'll convert to using shared pointers where applicable13:20
Wizzupok, then I will learn something :D13:21
Wizzupfreemangordon: wtf, my vkb is cyrillic now18:38
Wizzupтест18:38
dsc_da18:38
Wizzupстранже18:39
Wizzupwe were never able to switch it iirc18:39
freemangordonWizzup: vkb was working all the time20:07
freemangordonat least here20:07
inkyhow did u activate it, and isn't it device specific?20:18
inkywasn't the layout designed for n900?20:18
Wizzupfreemangordon: so how do you switch layouts?20:41
Wizzupooh20:53
Wizzupon the keyboard itself20:53
Wizzupok I remember now, the issue was with hwkbd20:53
Cat54hi21:08
dsc_hello21:09
Wizzuphi21:13
Gary812konichiwa21:20
Cat__freemangordon so how do i run maemo now i have a terminal on the phone21:35
freemangordonCat__: what OS is that? what phone?21:52
freemangordon Wizzup: yes, we have issue with hwkbd, besides n90021:54
freemangordonHIM does some funny things re Cyrillic21:54
freemangordondsc_: did you change something in the way messages got acked? as with last few releases I have the same messages again and again when internet connection gets reconnected21:55
freemangordonalso, are you ok with direction in https://github.com/maemo-leste/conversations/commit/693e91bd967229b5f47cd01f48f7b83d940f4254, shall I do the same for the other classes, where applicable?21:56
Cat__Its me, Samsung A6, PostmarketOS with gnome-mobile UI on 6.8.1 kernel21:57
freemangordonyes, I know its you21:57
freemangordonso, is this upstream kernel?21:58
freemangordonperhaps get PP image, dd it to uSD card and try to boot it21:59
freemangordonsee https://leste.maemo.org/PinePhone#Installation21:59
freemangordonyou shall use the same kernel you use now22:00
freemangordonWizzup: do we have some "unsupported devices howto" in wiki?22:02
freemangordonCat__: or, you may try to add your device to image builder (locally)22:04
freemangordonsee https://leste.maemo.org/Image_Builder22:04
dsc_freemangordon: nice @ AccountChannelPtr22:14
dsc_< freemangordon> dsc_: did you change something in the way messages got acked? <== dont think so (no idea how to ack messages, or whether we were already doing that)22:15
dsc_I have the same messages again and again when internet connection gets reconnected <== scrollbacks?22:16
dsc_with xmpp it seems to always give a scrollback on connection, and it has always done this22:17
dsc_so I made this to prevent duplicate db insertions: https://github.com/maemo-leste/conversations/commit/1015daacd3a278706cf167bf43f99ed0121e6fa622:18
dsc_it keeps track of "last message received"22:18
dsc_if its not working on master, i may have broken it22:18
dsc_you shouldnt be getting duplicates in the db22:18
dsc_but I am also interested on ack'ing messages, maybe it stops the repeated scrollbacks :)22:19
Wizzupdoubt it, tp plugins just need to be fixed22:38
WizzupI can help with the image builder work btw23:05
Wizzupfreemangordon: Cat__:  when fmg said try to boot pp image he probably mean to firs tload your own kernel on it23:06

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!