IRC log for #maemo-ssu on 20121201

00:15.33*** join/#maemo-ssu arcean (~arcean@aacr133.neoplus.adsl.tpnet.pl)
00:36.19*** join/#maemo-ssu macmaN (~chezburge@138.167.190.90.dyn.estpak.ee)
03:18.50*** join/#maemo-ssu amiconn_ (amiconn@rockbox/developer/amiconn)
04:03.45*** join/#maemo-ssu DocScrutinizer05 (~HaleBopp@openmoko/engineers/joerg)
04:13.59*** join/#maemo-ssu Martix (~martix@ip-62-245-106-78.net.upcbroadband.cz)
05:02.28*** join/#maemo-ssu dhbiker (~dhbiker@193.2.218.150)
05:24.55*** join/#maemo-ssu dhbiker (~dhbiker@193.2.218.150)
06:10.33*** join/#maemo-ssu joshgillies (~josh@58-6-103-4.dyn.iinet.net.au)
07:09.36*** join/#maemo-ssu panda|mini (~panda|min@222.35.187.201)
07:13.06panda|miniHi, freemangordon, how is portrait mode lock status in current CSSU status?
07:13.35panda|minioops, I mean, will latest CSSU support Portrait mode already?
07:17.53DocScrutinizer05hmm? portrait mode support is in CSSU since errr... last millenium
07:18.14DocScrutinizer05of course it gets more perfect every other week
07:29.31*** join/#maemo-ssu _rd (~rd@p57B48A0B.dip0.t-ipconnect.de)
07:39.16DocScrutinizer05and in CSSU-Stable it's deactivated by default, to make OOTB ueser experience as close to stock as possible. See http://wiki.maemo.org/Community_SSU/FeaturesStable
07:46.28*** join/#maemo-ssu joshgillies (~josh@58-6-103-4.dyn.iinet.net.au)
07:51.36*** join/#maemo-ssu joshgillies (~josh@58-6-103-4.dyn.iinet.net.au)
08:05.46panda|miniDocScrutinizer05: ah, yes, Portrait mode already been supported for a while
08:06.01panda|miniDocScrutinizer05: but the problem is I only see lock for landscape mode
08:06.19panda|miniDocScrutinizer05: but I didn't figure out howto lock for potrait mode
08:06.53panda|minie.g, I'd like to FORCE every apps in Portrait mode, until I pull out qwerty keyboard to turn to landscape mode
08:07.19panda|miniconverting between Portrait and Landscape usually lagged and anonying
08:27.50*** join/#maemo-ssu dhbiker (~dhbiker@193.2.218.150)
08:41.21*** join/#maemo-ssu luf (~luf@ip-89-102-208-114.net.upcbroadband.cz)
08:53.33*** join/#maemo-ssu panda|mini (~panda|min@114.132.245.13)
09:03.35*** join/#maemo-ssu dhbiker (~dhbiker@193.2.218.150)
09:05.10*** join/#maemo-ssu panda|mini (~panda|min@222.35.187.238)
09:10.57*** join/#maemo-ssu _rd (~rd@p57B48A0B.dip0.t-ipconnect.de)
09:21.46*** join/#maemo-ssu joshgillies (~josh@58-6-103-4.dyn.iinet.net.au)
09:29.44*** join/#maemo-ssu M4rtinK2 (~M4rtinK@mail.melf.eu)
09:36.55*** join/#maemo-ssu Timo (~timo@unaffiliated/tiempjuuh)
09:38.33*** join/#maemo-ssu Timo (~timo@unaffiliated/tiempjuuh)
09:39.11*** join/#maemo-ssu _rd (~rd@p57B48A0B.dip0.t-ipconnect.de)
09:47.56*** join/#maemo-ssu RST38h (marat@184.180.40.182)
09:47.56*** join/#maemo-ssu freemangordon (~freemango@130-204-50-168.2074221835.ddns.cablebg.net)
09:47.56*** join/#maemo-ssu tadzik (tjs@feather.perl6.nl)
10:00.29*** join/#maemo-ssu _rd (~rd@p57B48A0B.dip0.t-ipconnect.de)
10:11.12*** join/#maemo-ssu NIN101 (~NIN@p5DD28A21.dip0.t-ipconnect.de)
10:13.26chem|stmerlin1991: an idea for having folders outside of scratchbox is doing it with hardlinks like it is setup for run and other things
10:13.53chem|stmerlin1991: I am still stuck with configuring modest
10:15.11freemangordonsomeone willing to RE libsystemuiplugin_power_key_menu.so?
10:15.36freemangordonthis crap leaks like mad
10:19.14freemangordonaaah, where is ARM hexrays :(
10:38.50*** join/#maemo-ssu _rd (~rd@p57B48A0B.dip0.t-ipconnect.de)
10:41.13*** join/#maemo-ssu Timo (~timo@unaffiliated/tiempjuuh)
11:00.22*** join/#maemo-ssu MohammadAG (~MohammadA@Maemo/community/contributor/MohammadAG)
11:16.31*** join/#maemo-ssu Pali (~pali@unaffiliated/pali)
11:29.26*** join/#maemo-ssu kolp (~quassel@212.255.105.59)
12:00.26*** join/#maemo-ssu degreez (~degreez@h178-129-151-168.dyn.bashtel.ru)
12:03.11*** join/#maemo-ssu jonwil (~jonwil@27-33-137-199.static.tpgi.com.au)
12:10.27freemangordonjonwil: hi
12:10.43freemangordonjonwil: wanna help?
12:10.54jonwilwith what?
12:11.32jonwilI do note someone seems to have made what seems to be a copy of osso-systemui-tklock (not sure if its a 1:1 copy or if its different somehow)
12:11.32freemangordoneither find me arm hexrays IDA plugin, or RE libsystemuiplugin_power_key_menu.so :D
12:11.56freemangordonjonwil: BTW http://gitorious.org/community-ssu/osso-systemui-tklock
12:12.11jonwilyeah thats the repo I am staring at right now
12:12.13jonwilis it a 1:1 copy or is it different somehow?
12:12.36freemangordonjonwil: fremantle-stock branch is REed .so
12:12.51freemangordonin master I removed lots of legacy/unneded code
12:13.19jonwilany functionality differences between master and stock fremantle?
12:13.30freemangordonjonwil: I also REed alarmui plugin
12:13.34freemangordonjonwil: No
12:13.37jonwilok
12:13.53freemangordonthere was a lots of legacy code from n*x0
12:14.00freemangordon*N8x0
12:14.26freemangordonjonwil: the reason I did it was because both alarmui and tklock leak memory
12:14.41freemangordonunfortunately power-kwy-menu leaks too
12:14.47freemangordon*power-key-menu
12:14.58jonwilHopefully someone will take tklock and use it as a base for making custom lock-screens
12:15.05freemangordon~100k on every double-click-to-lock
12:15.21freemangordonjonwil: it is in CSSU as stock one leaks
12:15.29freemangordon(will be in CSSU)
12:15.30jonwilok, makes sense
12:16.02merlin1991though we have to get rid of the powerkey leak first :D
12:16.04jonwilgreat that someone finally took my systemui reverse engineering work and figured out pretty much all the remaining systemui interfaces :)
12:16.11freemangordonjonwil: BTW thanks for your great work REing system_ui plugin structures
12:16.34jonwilI just wish someone would do the same reverse engineering for the connectivity UI widgets :P
12:16.46freemangordonjonwil: http://gitorious.org/community-ssu/osso-systemui-tklock/blobs/master/systemui.h
12:16.57jonwilyeah I saw that file
12:17.08freemangordonit is everything we need, I'll move it to systemui-dev later
12:17.52freemangordonjonwil: but please, help me with power-key-menu, i'm fed-up with REing
12:18.18jonwilI am going to take a look, just looking for where I put anything I may have done on it in the past
12:18.21freemangordonBTW i looked at it, and it is not something complicated, about 20k ARM binary
12:18.46*** join/#maemo-ssu arcean (~Arcean@aaet50.neoplus.adsl.tpnet.pl)
12:18.51freemangordonjonwil: and 95 of the function names are exported ;)
12:18.56freemangordon*95%
12:19.38freemangordonmerlin1991: BTW do you confirm that power-key menu leaks like mad?
12:20.40arceanno way, power-key leaks too :< ?
12:21.01freemangordonarcean: check it, I might be wrong
12:21.17freemangordonlock with double-click
12:21.25freemangordonunlock with slider
12:21.38freemangordonrepeat until needed and watch heap size in smaps
12:22.08arceanok, i'll check
12:22.19freemangordonwhat i see here is heap increasing with ~100k on every 2 clocks
12:22.35freemangordons/clocks/locks/
12:22.56merlin1991digs for the grep call again
12:23.07freemangordongrep -A 10 heap
12:23.18freemangordonmerlin1991: ^^^
12:23.50merlin1991hm process name was?
12:24.03freemangordoncat /proc/$PID/smaps | grep -A 10 heap
12:24.05freemangordonsystemui
12:24.32freemangordondon;t ask why i cat it :D
12:24.57kerioneeds more cats
12:25.02merlin1991grep -A 10 heap /proc/`pidof sysmteui`/smaps
12:25.02kerio:3
12:25.13freemangordonloves cats
12:25.36freemangordonmerlin1991: `pidof sysmteui` does not work
12:25.43freemangordonit is systemui
12:25.46merlin1991yeah because it has to be systemui
12:25.47merlin1991:D
12:25.51merlin1991damn you type faster
12:26.32merlin1991HOLY SHIT
12:26.57arceanmerlin1991: +1 :D
12:27.01jonwilok, so the first thing I have to do is to make sure all the imported functions have the correct prototypes in the ida database
12:27.03merlin1991it went from 800 to 1400
12:27.04jonwildoing that now
12:27.39jonwilThen after that I will go through and identify all the things that the powerkey plugin exposes to the outside world
12:27.43jonwilor talks to
12:27.45jonwiletc
12:27.47jonwiland go from there
12:27.52arceanhere, it's increasing by ~140kB
12:28.00freemangordonarcean: yeah
12:28.04jonwillooks like my random decision to visit IRC has paid off :)
12:28.20freemangordonmerlin1991: ignore initial memory allocation made by gtk
12:28.27freemangordon(~600k)
12:28.31merlin1991arcean: yeah after the first 3 attmepts it goes like that
12:28.57merlin1991freemangordon: the next step after 1400 was 1700, only after that it reached the ~140 steps
12:29.19freemangordonmerlin1991: yeah, toldya, just like mad :(
12:29.49merlin1991but the powerkey stuff is handeld by another plugin right?
12:30.00freemangordonBTW seems like it leaks only on double-click
12:30.16freemangordonmerlin1991: yep, the one jonwil will look at
12:30.23freemangordonmerlin1991: it is not tklock
12:30.40*** join/#maemo-ssu _rd (~rd@p57B48DE6.dip0.t-ipconnect.de)
12:30.45freemangordonmerlin1991: libsystemuiplugin_power_key_menu.so
12:31.04arceanoh, systemui heap takes 3376kB now
12:31.19merlin1991btw did you find any leaks within the tklock code?
12:31.50freemangordonmerlin1991: I think yes. it was not disconnecting some signals
12:32.01freemangordonthe slider
12:32.47freemangordonseems like GTK does not disconnect signals connected to child widgets when you destroy main window
12:33.12merlin1991I wonder if there are any more plugins at work from the double tap power key untill I use the hw slider to unlock
12:33.20*** join/#maemo-ssu jonwil (~jonwil@27-33-137-199.static.tpgi.com.au)
12:33.46freemangordonmerlin1991: no
12:34.19merlin1991then I hope that we find the leak within the powermenu plugin
12:34.32merlin1991otherwise we have to assume, that the plugincontainer is leaking :/
12:35.12freemangordonmerlin1991: systemui itself? possible. but if that's the case, we are lucky, as systemui has x86 binary :D
12:35.41merlin1991but in terms of complexity it is going to be a huge difference
12:35.51merlin1991(I assume)
12:36.03freemangordonhmm, maybe we should ask Hildon Foundation board to buy ARM hexrays decompiler :D
12:36.14freemangordonmerlin1991: no, it is simple
12:36.31freemangordonwell, not so complicated
12:36.34freemangordon:D
12:36.57freemangordonmerlin1991: and we already have interfaces in place ;)
12:37.12merlin1991yeah that only leaves the implementation
12:37.16merlin1991piece of cake
12:37.21merlin1991;)
12:37.22freemangordon:D:D:D
12:38.07freemangordonsystemui x86 binary is 26k
12:38.40freemangordonalarmui is 23, and I didn;t have the interfaces
12:38.58freemangordon(i was not aware of jonwil's work :( )
12:39.52merlin1991btw the systemui header in systemui-tklock is that moving into the osso-sstemui-dev repo at some point?
12:41.20jonwilI wish there was an IDA remote debugger plugin that actually worked on the N900, it would be useful at times :)
12:41.45freemangordonmerlin1991: yes, that's the idea
12:42.21freemangordonjonwil: gdbserver does not do the job?
12:42.30jonwilnot last time I tried it
12:50.53*** join/#maemo-ssu jonwil_ (~jonwil@27-33-137-199.static.tpgi.com.au)
12:55.12*** join/#maemo-ssu jonwil_ (~jonwil@27-33-137-199.static.tpgi.com.au)
13:06.17jonwilthis binary is more complicated than I thought it would be
13:06.20jonwilmostly because of the xml parsing
13:13.47*** join/#maemo-ssu jonwil_ (~jonwil@27-33-137-199.static.tpgi.com.au)
13:16.57*** join/#maemo-ssu jonwil (~jonwil@27-33-137-199.static.tpgi.com.au)
13:17.45freemangordonjonwil: well, yeah, there is some trickery, but not a rocket science after all :D
13:18.55freemangordonjonwil: but most of the functions are not static, so no compiler optimizations
13:19.31freemangordonthat should ease most of REing
13:21.32freemangordonmerlin1991: would you create osso-systemui-powerkeymenu repo
13:21.46freemangordonjonwil: if you widh i can help to RE some of the functions
13:21.50freemangordon*wish
13:21.58jonwildamn, I need to find out what com.nokia.mce.request.powerkey_callback looks like :(
13:23.00merlin1991freemangordon: it's there
13:25.04*** join/#maemo-ssu Martix (~martix@ip-62-245-106-78.net.upcbroadband.cz)
13:28.57*** join/#maemo-ssu jonwil_ (~jonwil@27-33-137-199.static.tpgi.com.au)
13:32.42*** join/#maemo-ssu jonwil (~jonwil@27-33-137-199.static.tpgi.com.au)
13:32.56jonwilreverse engineering GTK UI code isn't something I am any good at :(
13:36.23*** join/#maemo-ssu Martix (~martix@ip-62-245-106-78.net.upcbroadband.cz)
13:37.57*** join/#maemo-ssu Pali (~pali@unaffiliated/pali)
13:43.18*** join/#maemo-ssu jonwil_ (~jonwil@27-33-137-199.static.tpgi.com.au)
13:44.09jonwil_I can't really do much with powerkeymenu since its some GTK code I cant understand, some XML parsing I cant really understand and some dbus stuff I cant really understand
13:46.55*** join/#maemo-ssu jonwil_ (~jonwil@27-33-137-199.static.tpgi.com.au)
13:47.05jonwil_so yeah sorry I couldn't be of more help on powerkey stuff
13:47.15jonwil_so yeah sorry I couldn't be of more help on powerkey stuff
13:48.38freemangordonjonwil: noone is good at GTK code REing
13:49.23jonwilwell given what some people have done, there are definatly people out there better than me
13:50.12*** join/#maemo-ssu dafox (~dafox@ip51cc571d.speed.planet.nl)
13:50.16freemangordonjonwil: irrelevant, as their time is not unlimited :P
13:50.27jonwilmine isn't unlimited at this point either
13:50.45freemangordonwell, ok :)
13:53.55*** join/#maemo-ssu jonwil_ (~jonwil@27-33-137-199.static.tpgi.com.au)
13:58.59jonwilso yeah sorry I couldn't be more help
14:00.07jonwilhopefully someone will be able to figure out the powerkey menu plugin (and maybe even the other remaining systemui plugins for actingdead, devlock, emergency, modechange and splashscreen (and maybe even the systemui daemon itself :)
14:41.17*** join/#maemo-ssu Pali (~pali@unaffiliated/pali)
16:10.17*** join/#maemo-ssu freemangordon (~freemango@130-204-50-168.2074221835.ddns.cablebg.net)
16:39.43*** join/#maemo-ssu arcean (~arcean@aaet50.neoplus.adsl.tpnet.pl)
16:44.03*** join/#maemo-ssu dhbiker (~dhbiker@95.87.145.172)
18:19.10*** join/#maemo-ssu Timo (~timo@unaffiliated/tiempjuuh)
18:27.49*** join/#maemo-ssu timo^ (~timo@unaffiliated/tiempjuuh)
18:49.40*** join/#maemo-ssu arcean (~arcean@aaet50.neoplus.adsl.tpnet.pl)
18:49.56*** join/#maemo-ssu int_ua (~int_ua@159.146.194.35)
19:03.49*** join/#maemo-ssu arcean (~arcean@aaet50.neoplus.adsl.tpnet.pl)
21:08.03*** join/#maemo-ssu arcean_ (~arcean@aaet50.neoplus.adsl.tpnet.pl)
21:08.11*** join/#maemo-ssu nox- (noident@freebsd/developer/nox)
21:12.06*** join/#maemo-ssu Timo (~timo@unaffiliated/tiempjuuh)
22:23.25*** join/#maemo-ssu Sc0rpius (~naikel@190.79.197.57)
22:25.21*** join/#maemo-ssu Jaded (~jade@Jade.broker.freenet6.net)
22:25.21*** join/#maemo-ssu Jaded (~jade@unaffiliated/jade)
22:47.38*** join/#maemo-ssu Pali (~pali@unaffiliated/pali)
23:23.15*** join/#maemo-ssu 14WAAQFQ8 (~jade@Jade.broker.freenet6.net)
23:25.39*** join/#maemo-ssu jade (~jade@unaffiliated/jade)

Generated by irclog2html.pl Modified by Tim Riker to work with infobot.