libera/#maemo-leste/ Monday, 2024-12-16

freemangordontmlind: heh https://github.com/torvalds/linux/commit/b286f4e87e325b76789f30337c98ba72e00532e207:33
freemangordonthat gives access to struct tty in serdev device, no?07:34
dsc_is there a cmd to restart hildon?14:04
dsc_nvm dont need it14:09
dsc_freemangordon: ok, some questions :D14:28
dsc_I make a change to `hildon-input-method`14:28
dsc_rm ../*.deb14:29
dsc_dpkg-buildpackage -us -uc14:29
dsc_sudo dpkg -i ../*.deb14:29
dsc_need to update debian/changelog, then make a new package, then install, then restart maemo-leste14:29
dsc_how to make this easier14:30
dsc_make -j4 -> ./src/.libs/libhildon-im-ui.so -> /usr/lib/x86_64-linux-gnu/libhildon-im-ui.so14:32
dsc_then, how to restart14:32
dsc_its via maemo-invoke14:33
dsc_which is another question: how to debug when it segfaults14:33
Wizzupyou don't need to make a changelog14:35
Wizzupand you can dsmetool -k the him process14:35
Wizzuphttps://leste.maemo.org/Debugging#Dealing_with_Maemo_Launcher_.2F_Maemo_Invoker14:36
Wizzupdsc_: ^14:36
dsc_thx14:38
dsc_alright I understand whats going on Re: events15:19
dsc_hildon communicates through x11 events via so-called xclient messages15:20
dsc_its sets an atom on these custom messages (where traditionally you'd use event->type for regular x11 events015:21
dsc_k15:21
dsc_HILDON_IM_INPUT_MODE16:21
dsc_Unknown Atom16:21
dsc_HILDON_IM_SURROUNDING_CONTENT16:21
dsc_HildonIMSurroundingContentMessage: hello from x1116:21
dsc_event->type: 3316:21
dsc_Unknown event name: ClientMessage16:21
dsc_hmm16:21
dsc_HILDON_IM_SURROUNDING_CONTENT16:21
dsc_i found youuuuuuu16:21
dsc_'HILDON_IM_SURROUNDING_CONTENT' it is16:21
dsc_(re: vkb submit)16:25
dsc_so basically16:29
dsc_for Qt16:29
dsc_1. hook all events16:29
dsc_2. check for these funky hildon events16:30
dsc_3. do the Qt equivalent of those16:30
dsc_4. detect text submissions through HILDON_IM_SURROUNDING_CONTENT16:30
dsc_thats it16:30
Wizzupsurrounding content I think is to send data from app to him16:31
Wizzupso that you can edit16:31
dsc_could be but its not what I am observing ;x16:31
dsc_whats an example of text that is pre-filled?16:33
dsc_ah, the IM accounts dialogs16:33
dsc_lets see..16:33
Wizzupyeah or ssid16:34
dsc_Wizzup: yes thats correct, its also used to send from client to him16:40
dsc_so bidirectional text comitting16:41
dsc_committing816:41
dsc_*16:41
dsc_HIM -> client I would expect it to use "HILDON_IM_INSERT_UTF8" but it doesnt16:43
dsc_oh wait it does... for the IM accounts input boxes16:46
dsc_but not for the terminal app16:46
dsc_ok anyway16:46
dsc_time to do some Qt dev tomorrow16:46
Wizzupok, I suspect you can confirm all these findings above in the qt4 fork17:07
Wizzupbtw, is anyone else having issues with conversations in -devel or is it just me?17:07
WizzupIt hangs for me when I go to availablility offline17:07
Wizzupavailability*17:07
arno11Wizzup: no hang here20:36
Wizzuparno11: ok21:15
arno11btw i've written a quite well running chatgpt lightweight gtk2 (and libcurl) client on my n900: it can do chat, vision, tts and i m currently adding more stuff. i think it could be cool for -extras.21:20
arno11(but ofc it will need some review)21:26

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