**** BEGIN LOGGING AT Wed Nov 28 02:59:56 2007 Nov 28 05:30:41 anyone here do any greenphone development? Nov 28 05:33:38 yep Nov 28 05:34:46 good morning Nov 28 05:36:40 ljp, you do? Nov 28 05:45:43 yes. mainly the sdk. Nov 28 05:45:57 but my main project os the neo Nov 28 05:46:01 is Nov 28 05:49:30 ljp, Neo, as in the openmoko? Nov 28 05:49:49 ljp, You ever get a header issue while trying to transfer using gph -i ? Nov 28 05:52:39 yes. make sure your sdk and greenphone version are the same Nov 28 05:59:09 ljp, they are Nov 28 06:00:35 ljp, you ever have issues with it not working over USB? I'm using the VM on a windows box, so maybe that's causing the issue. Sometimes it'll work, sometimes it won't. I'll start/stop USB services on phone and do gph -net Nov 28 06:03:44 yes, wmare usb is troublesome Nov 28 06:07:42 ljp, any suggestions/tips? Nov 28 07:02:39 how do I remove apps from the greenphone? Nov 28 07:03:12 which version of Qtopia? Nov 28 07:03:17 4.2.4 Nov 28 07:03:35 ljp, I upgraded my vmplayer and I'm not having USB issues anymroe Nov 28 07:04:05 ok. thats good to know Nov 28 07:04:19 ljp, how do I remove the packages once I install them? Nov 28 07:04:59 either from the software packages app, or from the 'install apps' apps. Nov 28 07:05:08 installed apps, that is Nov 28 07:05:11 ljp, is there an way to do it from the SDK? Nov 28 07:05:17 or do I have to do manually from the phone? Nov 28 07:06:07 might be able to get a console on the gp and issue a qcop call, but off hand I dont know what that might be, without digging for it Nov 28 07:06:26 ljp, alright, not a big deal, I'll just deal with it Nov 28 07:06:34 that would be good to have in the 'gph' script though Nov 28 07:07:35 ljp, how would I go about having a configuration page? Say for my application, that data is stored such as server info, how can I make that part of the options menu on the phone? Nov 28 07:08:44 look at QSoftMenu in Qtopia Nov 28 07:09:11 alright. Nov 28 07:09:29 QSoftMenuBar Nov 28 07:09:31 ljp, also if I want to include icons for my buttons, do I have to manually copy those over? Nov 28 07:10:17 they can be installed, they need to be added to the .pro file. Look at the example app Nov 28 07:10:26 ljp, alright, thx. Nov 28 07:12:15 ljp, also, is there a way to get a terminal open on the greenphone? Nov 28 08:02:39 proxous: only through ssh Nov 28 08:02:51 there is no gui term Nov 28 08:03:25 ljp, what's the IP for the phone? Nov 28 08:37:04 i think it should be 10.10.10.20 Nov 28 09:02:47 hi Nov 28 10:59:13 hrrrm Nov 28 11:00:15 what's normally in the top left square on the main menu ...? Nov 28 11:01:10 oh, it's the broken sim thing again :/ Nov 28 11:01:17 * ScaredyCat slaps ljp Nov 28 11:21:22 how do i stop the popup virtual keyboard coming up on a lineedit has new focus but still allow input via keyboard? Nov 28 12:27:36 mpf, missed ljp again :/ Nov 28 12:27:52 I guess they'll have to live with an app only running in the simulator only :) Nov 28 12:38:13 morning Nov 28 13:56:10 morning chouimat Nov 28 13:56:42 Sput: ever had an "Invalid Package" error when installing a qpk to the greenphone Nov 28 13:58:22 hello Sput Nov 28 13:58:34 Stecchino: yeah Nov 28 13:58:36 moin Nov 28 13:59:01 I got no other error message than that Nov 28 13:59:10 so how the hell do I solve it Nov 28 14:03:29 Sput: so no idea how to solve the "Invalid Package" error? Nov 28 14:04:08 Stecchino: I used the flash image from the SDK, and it went away Nov 28 14:04:35 the flash image you can download had that error about a missing Files entry Nov 28 14:05:11 quick Q: command to upload a new flash Nov 28 14:16:23 Sput: no luck Nov 28 14:16:43 flashed with updatedevice, should have installed the default image Nov 28 14:22:32 morning Nov 28 14:39:34 mmmmm.... Nov 28 14:53:08 Sput: ok, i m not able to install my package, lol Nov 28 14:53:15 security fail Nov 28 14:53:17 pfftt Nov 28 14:53:20 yeah Nov 28 14:53:24 we ve vista on our phone ? Nov 28 14:53:48 I know how you feel :) Nov 28 14:54:03 BabelO: a invalid package error? Nov 28 14:54:06 I wonder how many people are actually going to submit something complete and working by friday Nov 28 14:54:20 Sput: not me, but it will be a proof of concept Nov 28 14:54:32 yeah same here, at least on the simulator Nov 28 14:54:54 Sput: if you can give 240hours days before friday I might be able to finish Nov 28 14:55:01 but whatever the contest is about, I don't think I'll win :) Nov 28 14:56:34 Stecchino: no package is ok, i do it with love Nov 28 14:56:35 lol Nov 28 14:57:09 Stecchino: I receive a message security fail, and /opt/Qtopia/bin disappear Nov 28 14:57:13 BabelO: what happens in your bedroom must stay there ;) Nov 28 14:58:09 chouimat|work: lol Nov 28 14:58:51 BabelO: any specific error's in Greenphone log? Nov 28 14:59:15 who are the Troll's in this channel? Nov 28 15:00:23 ljp and jorgenpt should know best, but they are hard to get a hold of Nov 28 15:00:24 ljp: wake up!!! Nov 28 15:00:58 bhughes is a troll too, but I think not involved in Qtopia Nov 28 15:01:41 Harald Fernengel here? Nov 28 15:01:53 Stecchino: i ll look Nov 28 15:02:23 Sput: right... i mostly work on the Qt and Qtopia Core Nov 28 15:02:42 rohanpm is a brisbane troll .. :) Nov 28 15:02:54 bhughes: did you saw my post about QSettings and remove function on array ? Nov 28 15:03:58 bhughes: is Harald from Munich office on irc? Nov 28 15:04:05 ...but its 1:03 in brisbane so most people sleep there now :/ Nov 28 15:05:14 * jott pumps some adrenaline in #qtopia Nov 28 15:05:17 BabelO: no, i didn't Nov 28 15:05:35 Stecchino: not that i can see, no Nov 28 15:07:34 jott: thx for your greenphone OE settings, i manage to got it working this nitght :) so i compiled my packages and it is ok Nov 28 15:07:49 jott: just some change to OE source code ;) Nov 28 15:07:58 hm, I will provide the source and I will provide an untested package that needs a non-SXE 4.3 greenphone to maybe run :) Nov 28 15:08:18 :) Nov 28 15:08:31 I compiled qtopia, flashed my phone and it doesn't boot :/ Nov 28 15:08:46 Sput: any error messages? Nov 28 15:08:46 bhughes: wheni remove QSettings array the size key which contain the number of array did not decrease, maybe i do wrong thing Nov 28 15:09:02 nope, just hangs Nov 28 15:09:16 (or output when starting qpe from the console :) Nov 28 15:09:44 Sput: i think same for me it works perfect on my HTC Blueangel and emulator, on gp i can start with manual install and lot of change ;) Nov 28 15:10:20 Sput: what was your problem again? didn't the sandboxDir() help? Nov 28 15:10:52 Stecchino: al the error i have are related to READ ONLY file system :( Nov 28 15:11:00 BabelO: do you have a small example that shows the problem? if so, send it to qt-bugs@trolltech.com so we can fix it Nov 28 15:11:36 bhughes: ok i can to small example project and i send it Nov 28 15:11:55 excellent :) Nov 28 15:13:58 jott: sandboxDir() is b0rked Nov 28 15:14:02 it's buggy and proveds the empty string Nov 28 15:14:04 *provides Nov 28 15:14:16 yieks Nov 28 15:14:58 but even if I use the workaround I found with google, deriving the path from appPath() it still does not work Nov 28 15:15:04 that should go to qt-bugs@ ;) Nov 28 15:15:25 so I construct the path /home/Packages//etc/quassel.conf and provide that to QSettings Nov 28 15:15:51 is there a way to run my application without uploading it to the greenphone? Nov 28 15:15:58 the /etc dir is created, so the path ought to be ok Nov 28 15:16:00 and afterwards, SXE complains that QSettings still wanted to write to /home/Settings/ Nov 28 15:16:18 so that whole QSettings thing is buggy as hell Nov 28 15:16:19 or better, without installing a package Nov 28 15:16:26 Stecchino: in the emulator? just run it Nov 28 15:16:36 Sput: on the device Nov 28 15:16:45 scp it over Nov 28 15:16:51 and source /opt/Qtopia/qpe.env Nov 28 15:16:58 on the phone? I don't think so Nov 28 15:16:59 then you can run it Nov 28 15:17:02 oh, that works? that's cool Nov 28 15:17:15 I need to try that Nov 28 15:17:40 (maybe sxe is in the way :p i only have sxe disabled builds ;) Nov 28 15:17:49 jott: you mean /opt/Qtopia/qpe.sh? Nov 28 15:18:06 I would love to have a greenphone without SXE. Nov 28 15:18:07 er.. there should be an env.. hold on i connect my phone ;) Nov 28 15:19:03 yeah qpe.env Nov 28 15:19:15 jott: what image? Nov 28 15:19:51 uhm.. i think it always was there ..but i might be wrong.. (i've a custom build image but i don't think that should matter) Nov 28 15:20:14 jott: how does one create a non-sxe build? Nov 28 15:20:25 configure with -no-sxe Nov 28 15:22:58 so the flash image I built starts the linux allright, also the services and everything, and then it hangs at starting Qtopia Nov 28 15:23:09 jm, I might try a newer snapshot, I used 4.3.0 Nov 28 15:23:53 Sput: mh..actually you don't need to do a full flash for updating qtopia Nov 28 15:24:49 dd if=greenphone_qtopia.cramfs of=/dev/tffsa2 bs=1M Nov 28 15:25:05 thats what i do after i scp the cramfs to the device Nov 28 15:25:33 how do you get the cramfs? Nov 28 15:25:59 I used the greenphone_make_flash script Nov 28 15:26:33 this should create the file Nov 28 15:27:04 (with --flash option) Nov 28 15:30:58 hm, it creates a full flash image Nov 28 15:31:00 and an *update.zip Nov 28 15:31:05 ah Nov 28 15:31:08 that contains it Nov 28 15:32:58 cool, I can ssh into the phone even though qtopia hangs Nov 28 15:33:44 sure ;) qtopia is just launched via inittab / rc.d Nov 28 15:34:03 ok, so I copy over the cramfs and then do the dd thing Nov 28 15:34:13 copy it to /mnt/documents Nov 28 15:34:23 (or to a sd mount) Nov 28 15:34:30 dammit, I don't even have time to fiddle with the phone, I should try to make the app usable at lease :/ Nov 28 15:34:37 :) Nov 28 15:34:58 but I want to try this Nov 28 15:35:02 hm, but starting my app from the cli has the big advantage of showing debug output Nov 28 15:39:58 oooh, there is a log file Nov 28 15:40:00 which explains a lot Nov 28 15:40:25 ;) Nov 28 15:40:30 apparently I misunderstood the -prefix option Nov 28 15:40:56 why set a prefix at all :P Nov 28 15:40:58 since I did not want to install qtopia into /opt/Qtopia Nov 28 15:41:10 heh Nov 28 15:41:12 16:00:22 < Sput> ljp and jorgenpt should know best, but they are hard to get a hold of Nov 28 15:41:16 I'm curious; why me? ;) Nov 28 15:41:52 BabelO: here what you need for xmas: http://www.metacafe.com/watch/635430/usb_dog/ Nov 28 15:41:57 jorgenpt: thought you are involved in the Greenphone as well? ;-) Nov 28 15:42:11 Not at all. I'm a member of the Neo1973-community, 'tis all. Nov 28 15:42:42 Anyway, I'm heading out to grab a snack and attend a company lecture. Later. :-) Nov 28 15:42:44 Sput: $QTOPIA_DEPOT_PATH/configure -device greenphone -no-sxe should actually be sufficient Nov 28 15:42:58 jorgenpt: ah ok, then I got a false assumption based on our talking in Munich :) Nov 28 15:43:00 plus -no-qtopiamedia Nov 28 15:43:12 you don't need this :) Nov 28 15:43:29 ok Nov 28 15:43:33 this above line should work with a stock qtopia 4.3 snapshot Nov 28 15:43:55 (set QPEDIR/QTOPIA_DEPOT_PATH accordingly) Nov 28 15:43:58 argh, why can't the deadline be later? Nov 28 15:44:19 yeah you don't even need these variables Nov 28 15:44:23 heh.. maybe it will be extended if everybody cries ;) Nov 28 15:44:57 it is already extended... Nov 28 15:44:59 I wonder who the right person to ask would be? cindy? Nov 28 15:45:01 chouimat|work: it is blacklisted at work :( Nov 28 15:45:20 BabelO: use tor :) Nov 28 15:45:50 chouimat|work: omg what is this?! :P Nov 28 15:46:07 no wonder BabelO company blocks this ;) Nov 28 15:46:08 jott: i use OpenVpn to bypass firewall and work proxy ... lol Nov 28 15:46:31 hehe yeah also an option Nov 28 15:46:37 jott: a nice and completely useless usb gadget ;) Nov 28 15:46:38 jott: then all internet network activity use my home internet connection lol Nov 28 15:47:35 hehe yeah and the transparent company proxy will not expose your hidden interest :p Nov 28 15:48:51 chouimat|work: this one look better http://www.usbwine.com Nov 28 15:49:27 BabelO: shit Nov 28 15:53:19 BabelO: haha .. i did not understand much of the text but it was funny ;) Nov 28 15:55:16 jott: i send it to friend that know nothing about computer and tell them you need USB liquid feature to use it... lol Nov 28 15:57:41 jott, Sput : what is that SXE key has not been set. Has "make install" been run on ./imlife? Nov 28 15:57:59 BabelO: hm, I had that with 4.2, not with 4.3 afaik Nov 28 15:58:23 you can disable the SXE test by adding something to CONFIG Nov 28 15:58:38 Sput: ok i see want you mean, i ll try Nov 28 15:58:59 no_sxe_test or something like that, not sure since I don't need it anymore Nov 28 16:01:59 ah well, sent a mail to cindy, maybe she'll reply Nov 28 16:09:02 gna, forgot to add -no-clean :/ Nov 28 16:11:10 * jott throws a build farm at sput :P Nov 28 16:11:24 doing this on my laptop :/ Nov 28 18:28:34 jott: I can't flash using dd Nov 28 18:28:39 tells me no space left on device Nov 28 18:29:06 /dev/ttfsa2 Nov 28 18:59:13 back,any cool sxe news ? Nov 28 19:01:06 yeah, built a qtopia without SXE now Nov 28 19:01:09 so my app runs, then segfaults Nov 28 19:01:15 * angasule refrains from making any bad joke Nov 28 19:01:25 and I start to suspect that the greenphone has way too little RAM Nov 28 19:01:34 I mean, without anything running, it's 2 MB free Nov 28 19:01:59 uh? doesn't it have 64MB? Nov 28 19:02:07 Sput: not possible Nov 28 19:02:17 well, that's what top tells me Nov 28 19:02:18 unless it has something in cache? Nov 28 19:02:35 Sput: there is automatic cache management so free space is on demand Nov 28 19:03:06 ok Nov 28 19:03:08 true Nov 28 19:03:10 hm Nov 28 19:03:12 how can I obtain a backtrace? Nov 28 19:03:14 remote gdb'ing doesn't tell me anything :/ Nov 28 19:03:28 Sput: try to you strace if it is provided Nov 28 19:04:06 it is Nov 28 19:04:08 we'll see Nov 28 19:04:27 maybe you can locate segfault with that Nov 28 19:05:16 doesn't help Nov 28 19:05:32 but hm, too little RAM shouldn't cause a segfault, should it? Nov 28 19:05:43 Sput: do you see access ? Nov 28 19:06:01 Sput: no too little ram just cause slow app like it is Nov 28 19:06:06 must be something else... on the simulator it's running fine though Nov 28 19:06:08 it accesses basically /etc/localtime Nov 28 19:06:38 Sput: do you have file command ? Nov 28 19:06:58 or ldd better ;) Nov 28 19:07:06 but gdb should work... it tells me there was a segfault, but bt doesn't work Nov 28 19:07:20 yeah I do Nov 28 19:11:23 Sput: Munich? Nov 28 19:12:14 jorgenpt: yeah... or is there another jorgen at trolltech we might have talked to? :) Nov 28 19:12:30 That sounds more likely. :-) Nov 28 19:12:55 Trolltech is Norwegian, and so is my name. :) Nov 28 19:13:15 oh ok... and all that time I thought you were the trolltech guy we talked to :D Nov 28 19:13:34 you probably even got queried by a few weeks ago... but I am not sure anymore Nov 28 19:13:37 Could be Jørgen Lind. Nov 28 19:14:01 No, no such thing on my end. Nov 28 19:14:10 that's the problem, I have no idea what his last name was, but he is involved with Qtopia, so him being here sounded quite likely :D Nov 28 19:14:13 well, nevermind then Nov 28 19:14:28 Yes, there's a Jørgen Lind in Trolltech Nov 28 19:14:51 http://www.pats.no/files/Image/NTNU/smaller_MG_1203.jpg Nov 28 19:15:11 The guy in the open blue shirt, I think, second from the left, back row. Nov 28 19:15:32 yep, that's him. Nov 28 19:15:35 well then :) Nov 28 19:16:14 Hey, no harm done. :) Nov 28 19:24:17 dammit, I don't get a backtrace :( Nov 28 19:24:20 no idea what goes wrong here Nov 28 19:27:23 Sput how do you build wiithout sxe support ? Nov 28 19:28:07 configure -device greenphone -no-sxe -no-qtopiamedia Nov 28 19:28:43 BabelO: so how qss2 going? Nov 28 19:30:06 gah I don't have time for greenphone debugging, I need to get the software in shape... at least a little bit Nov 28 19:32:29 but it's great that jott told me how to run apps on the greenphone without packaging them Nov 28 19:32:34 makes stuff so much easier Nov 28 19:45:09 chouimat|work: compiled ;) Nov 28 19:45:18 chouimat|work: but not midi suppport ok ? Nov 28 19:45:39 cool ... yes it's ok ... just tar the whole thing I will check this later tonight Nov 28 19:46:02 chouimat|work: i send you qpk ? Nov 28 19:46:17 BabelO: if you want :) Nov 28 19:46:52 BabelO: but the whole thing including the source will be nice too so I can see how you managed to compile the thing ;) Nov 28 19:46:54 ok send me your address in private message and i send you needed package ;) Nov 28 19:47:15 chouimat|work: ok i tar also sources and pu it on my ftp Nov 28 19:49:21 ok Nov 28 19:49:30 so it crashes in dynamic_cast Nov 28 19:49:34 that is insane Nov 28 19:49:40 compiler bug Nov 28 19:50:07 or something wrong with system libs Nov 28 19:53:10 no wonder I don't get a usable backtrace then... Nov 28 19:54:34 and now it runs \o/ Nov 28 19:55:06 after replacing dynamic_cast(msg) by the unsafe (ChatLine*)(msg) Nov 28 19:55:47 Sput: hey i ve same thing in my code Nov 28 19:55:52 but not a dynamic_cast Nov 28 19:56:07 tried static_cast as well, also segfaults Nov 28 19:56:16 Sput: i think i ve qobject_cast Nov 28 19:56:21 but now it's running, first time I actually see my chatclient on the phone \o/ Nov 28 19:57:06 yeah, my chatline is no QObject Nov 28 19:57:08 I have to save resources Nov 28 19:58:06 QObjects cause overhead, so I try to avoid them Nov 28 19:58:45 have you measured the overhead? :) Nov 28 20:00:08 chouimat|work: http://linuxbox2.free.fr/qss/ for the package required Nov 28 20:00:36 bhughes_: I was told it's about 186 bytes Nov 28 20:01:08 and expecting 10k or more of them on a very limited device, I don't need to be them QObjects if I don't need any of QObject's features Nov 28 20:01:31 true Nov 28 20:01:37 * bhughes_ does a quick measure Nov 28 20:02:16 ChatLine is only encapsulating some strings and format info, it's pure data plus access functions Nov 28 20:02:27 I use QObject where it makes sense of course :) Nov 28 20:02:51 Sput: it is not a very limited device, 64Mb of ram and 400 Mhz cpu .. but it is a good idea to think about memory leak Nov 28 20:03:09 BabelO: well, not leak, but saving resources is always a good idea :) Nov 28 20:03:21 Sput: agree with that :) Nov 28 20:03:30 i'm quite glad though that Quassel IRC seems to run fine on the phone Nov 28 20:03:40 * BabelO did not make qsettings test Nov 28 20:04:06 I had my doubts Nov 28 20:04:33 but EgS has worked hard to make our SignalProxy be a very efficient beast :D Nov 28 20:10:26 Sput: dynamic_cast needs rtti and qtopia on the gp is build without rtti Nov 28 20:11:06 jott: ah... that might explain it Nov 28 20:11:08 static_cast as well? Nov 28 20:11:21 use qobject_cast for qobject items .. Nov 28 20:11:29 it's not a QObject. Nov 28 20:11:29 static_cast works too Nov 28 20:11:40 hmm, thought I tried that Nov 28 20:12:06 I'll try again Nov 28 20:12:21 well an unsafe cast should work too ;) Nov 28 20:12:27 certainly does :) Nov 28 20:13:05 I am so glad that it only cost me an hour or so to debug Nov 28 20:13:07 I was about to give up and tell the trolls they should run it in a simulator Nov 28 20:13:09 now I have two days for polishing and adding missing basic functionality Nov 28 20:13:16 :) Nov 28 20:13:23 yeah evil c++ pitfalls ;) Nov 28 20:13:23 BabelO: How do you install a qpk? Nov 28 20:13:35 goxboxlive: gph -i Nov 28 20:13:43 hey jott i remeber now, i ve used dynamic_cast because written on the doc... and it fail , and after reading doc again, they says same thing about rtti than you ;) Nov 28 20:14:05 you'll need an HTTP daemon on your machine Nov 28 20:14:06 Sput: is it included in the gpl source? Nov 28 20:14:07 static_cast works indeed Nov 28 20:14:14 hehe well it makes even sense as type information is needed for a dynamic cast ;) Nov 28 20:14:15 goxboxlive: part of the SDK Nov 28 20:14:24 ok Nov 28 20:14:39 goxboxlive: or qcop service send PackageManager 'installPackageConfirm(QString)' 'http://hostname/.qpd Nov 28 20:14:51 goxboxlive: but it is for greenphone Nov 28 20:14:58 right Nov 28 20:15:08 we did it take me until today to get a decent devel environment? now I can simply scp my package to the phone and start it on the CLI via SSH Nov 28 20:15:14 goxboxlive: you can build one for you, i understand now how i can compile it Nov 28 20:15:14 so I get debugging output Nov 28 20:15:20 and don't have to fight that package manager Nov 28 20:15:26 and no SXE \o/ Nov 28 20:15:39 all that took me at least a week of not getting real work done Nov 28 20:15:42 heh.. sput that was one of the first things i tried to accomplish :p Nov 28 20:16:03 BabelO: i am able to compile qss2, but i have to compile them one for one. One of the subfolders in qss2 is failing, dont remember wich Nov 28 20:16:06 jott: well, I got my simulator running quickly :) Nov 28 20:16:08 after figuring out how to get rid of the vmware stuff Nov 28 20:16:17 yep indeed .. Nov 28 20:16:17 thing is, it's so badly documented Nov 28 20:16:53 yeah hopefully we'll see some better solution in the near future.. Nov 28 20:17:14 yeah, now I am happy Nov 28 20:17:24 I just hope I get this thing in a usable state until Friday Nov 28 20:17:28 yeah .. if you have the setup everything runs fine ;) Nov 28 20:17:28 "Welcome to BabelO's compilation service, how may I help you" Nov 28 20:17:34 at least the phone side... the PC side won't be usable Nov 28 20:18:12 chouimat|work: lol, i prefer flite voice command ;) Nov 28 20:20:52 Sput: can you actually connect to a remote host with your app? similar to a real irc bouncer? Nov 28 20:21:24 or is the session just detached locally? Nov 28 20:21:24 jott: I can connect to a Quassel Core Nov 28 20:21:30 which can be anywhere Nov 28 20:21:34 ah nice.. Nov 28 20:21:54 what kind of communication do you use? some custom protocol? or rpc alike? Nov 28 20:22:06 on the phone only the client side runs, this can't even do IRC Nov 28 20:22:08 it just communicates with the core Nov 28 20:22:10 we marshall Qt signals over the net Nov 28 20:22:31 so we have that SignalProxy where you can attach signals and slots on both sides, and a TCP connection between them Nov 28 20:22:41 yeah i see Nov 28 20:23:06 also EgS created some pretty cool auto-synchronizer that keeps QObjects in sync on both sides Nov 28 20:23:15 Sput: i measure around 98 bytes for a QObject Nov 28 20:23:19 so if a property is modified on one side, this automatically gets modified on all other copies as well Nov 28 20:23:51 you use QxtRPCPeer for signal delegation? Nov 28 20:24:06 bhughes_: ah thanks, I thought the 186 came up at some talk in Munich, but I might be wrong Nov 28 20:24:18 jott: we started with QxtRPCPeer, but that turned out to be too demanding resource-wise Nov 28 20:24:25 i see Nov 28 20:24:40 so EgS re-implemented a very efficient lean and mean version of it Nov 28 20:24:45 Sput: depends on how i measure, of course, so we'll say around 100 bytes Nov 28 20:25:07 and extended its functionality Nov 28 20:25:17 Sput: you may consider releasing this as a seperate source .. sounds useful ;) Nov 28 20:25:38 which brought down the time for joining #ubuntu from a couple of minutes with QxtRPCPeer to about a second Nov 28 20:26:06 jott: it's all GPL :) Nov 28 20:26:13 jott: SignalProxy is much more specialized than QxtRPCPeer though, we threw out everything we didn't need Nov 28 20:26:38 yeah sure.. but if it's decoupled it's easier to follow ;) Nov 28 20:28:06 jott: we offered our implementation to the libqxt guys, so they might make use of it Nov 28 20:28:19 Sput: if i disregard the global QObjectSet in Qt, i get around 80 bytes per QObject Nov 28 20:28:28 but they need to be more flexible than we Nov 28 20:28:32 grhhh SXE key has not been set. Has "make install" been run on ./imlife? Nov 28 20:28:37 bhughes_: that's actually quite cool Nov 28 20:29:57 Sput: yup Nov 28 20:30:44 Sput: it's a crude measurement (cat /proc/self/status, create 3000000 QObjects, cat /proc/self/status), but it gives a nice rough idea Nov 28 20:32:06 bhughes_: btw, a later version of QuasselTopia will explore how feasible QGraphicsView is on the Greenphone... that should be quite interesting Nov 28 20:32:16 I find it really cool that alpha blending is working on the phone Nov 28 20:32:24 so I can have real transparency Nov 28 20:37:28 and pictureflow support :) Nov 28 20:41:44 (even if it is not using qgraphicsview :) Nov 28 20:43:06 * Sput heads home Nov 28 20:52:17 lol , qtpoia on gp say to me that i attempt to send privilege to an unprotected program Nov 28 20:52:31 do i need to send an email to Bill Gates ? Nov 28 21:02:16 jott: how can i install my package without http system ? Nov 28 21:20:31 uhm.. i think you need a webserver for qpkg.. Nov 28 21:20:52 don't know of file:// might work Nov 28 21:21:07 jott: no, already tested Nov 28 21:22:17 there might be another solution but i guess the easiest would be a webserver :) Nov 28 21:22:36 go for lighttpd if you do not want apache bloat ;) Nov 28 21:24:07 jott, BabelO: the SDK uses thttpd Nov 28 21:24:09 very easy to setup Nov 28 21:24:17 and point it to /var/www/localhost as docroot, since that's where gph puts the files Nov 28 21:24:57 yeah thttpd is also fine Nov 28 21:25:07 ah, /var/www Nov 28 21:25:14 dir=/var/www in /etc/thttpd.conf Nov 28 21:25:52 or use netcat and do it like real man(tm) ;- Nov 28 21:25:54 ;) Nov 28 21:27:19 ok thx Nov 28 21:50:43 oh the 4.3 gp sdk has the toolchain in .bz2 format now instead of a pure vmware image?! ...thats good ;) Nov 28 22:03:13 jott: now on install i ve imlife utilizes protected resouces Nov 28 22:03:16 :( Nov 28 22:06:35 chouimat: did you try it ? Nov 28 22:49:55 BabelO: not yet I forgot my cable at home and I just got back Nov 28 22:50:41 chouimat: ok no problem Nov 28 22:51:32 i can't compile a qtopia without sxe, my computer is too slow .. so i don't know what can i do, i just provide my code and library built Nov 28 22:59:50 BabelO: how i install them? need a server or what? Nov 28 23:00:24 chouimat: create a directory on vmware image , copy all to this directory Nov 28 23:00:35 then use gph -i or gph -qpk Nov 28 23:00:48 I don't have vmware : Nov 28 23:04:18 chouimat: hmmm Nov 28 23:04:42 don't worry I know what and how to do it Nov 28 23:05:11 chouimat: ok, tell me if it work with this silly sxe.. Nov 28 23:07:28 BabelO: have you read all the sxe docs?! ;p Nov 28 23:07:44 jott: yes full doc Nov 28 23:07:57 jott: and i try lot of thing Nov 28 23:08:18 and what's the error? Nov 28 23:08:38 jott: imlife utilizes protected resouces Nov 28 23:08:41 this one is latest Nov 28 23:09:17 which resource :P Nov 28 23:09:25 does the log tell more? Nov 28 23:10:40 jott nothing about just dropbear nprmal log Nov 28 23:18:46 nothing in QtopiaLog.txt and dmesg? Nov 28 23:20:23 jott: ec 30 11:16:44 Qtopia: SxeMonitor detected breach: "Dec 30 11:16:43 kernel: LIDS: busybox-secure (dev 100:1 inode 2903612) pid 11235 ppid 8909 uid/gid (0/0) on (pts) : Attempt to transmit privileges to an unprotected program (/mnt/documents/QtopiaLog.txt dev 100:96 inode 11) Nov 28 23:21:19 jott: but this is standard error Nov 28 23:22:23 * chouimat curses the crapy GPH script ... never worked here Nov 28 23:25:59 all my work is not lost, i send it to linuxtogo.org qtpalmtop.... project :) Nov 28 23:26:13 BabelO: how I install the ipk? Nov 28 23:26:28 chouimat: rename it to qpk ;) Nov 28 23:26:37 it is same i think Nov 28 23:26:39 no Nov 28 23:26:44 no then Nov 28 23:27:13 well you have to "bootstrap" the oe ipkg if you want to use ipk ;) Nov 28 23:27:34 ah well i have it, i ll look Nov 28 23:27:57 but anyway.. i still wonder why your app does not work BabelO Nov 28 23:28:39 jott don't know, app works perfect on BA and gp emulator Nov 28 23:28:45 sounds like some stupid line missing in the pro file or so ;) Nov 28 23:28:56 wait i post it Nov 28 23:30:13 and rohanpm and ljp should arrive at work anytime soon.. so they might help too ;) Nov 28 23:30:47 jott http://pastebin.ca/801071 Nov 28 23:31:54 mh where is tapioca suppose to be installed? Nov 28 23:32:08 mh Nov 28 23:32:27 but this still should not make the app it self breach sxe... :/ Nov 28 23:33:10 jott: n a writable lib directory.. but i ve tried to install without also.. no more luck Nov 28 23:33:33 have you tried to install an example? :) Nov 28 23:34:53 and maybe set the pkg.domain=trusted Nov 28 23:35:04 don't know.. never digged deep into sxe ;) Nov 28 23:35:07 jott: hmmm no :) lol i try with trusted before Nov 28 23:35:18 maybe check the example ;) Nov 28 23:35:28 one of them Nov 28 23:36:09 and asilly thing, qtopiamake clean all subdirectory ... i have to copy tapioca library each time Nov 28 23:37:12 * chouimat tries to build a few qpk out of BabelO .ipk :) Nov 28 23:37:38 BabelO: why not link it statically? ;) Nov 28 23:38:15 BabelO: can you provide libmad as a qpk :) Nov 28 23:38:33 jott: same issue with just my single exe file Nov 28 23:38:53 and how i build static with qmake ??? i m not a professional Nov 28 23:39:02 chouimat: libs do not fit in the concept of qpk ;) Nov 28 23:39:14 it's more like a app bundle on osx ;) Nov 28 23:39:34 BabelO: I can't install you packages Nov 28 23:39:42 chouimat: i can only provide ipkg exe for you Nov 28 23:39:59 BabelO: good enough Nov 28 23:42:39 jott where is ipkg in OE build tree ? Nov 28 23:44:24 uhm should be "ipkg"?! Nov 28 23:45:07 just build the package and then extract it manually on the target.. Nov 28 23:45:22 thats what i did to "bootstrap" it ;) Nov 28 23:46:41 BabelO: oh and "-Wl,-Bstatic" is what you looking for as flag ;) Nov 28 23:47:10 jott much thanks, Nov 28 23:47:27 now gp say to me invalid package, contact package supplier Nov 28 23:47:58 same here Nov 28 23:48:45 hehe contact him ;p Nov 28 23:48:54 question is very strange, Imle can not access any resources in your devices -> yes or no Nov 28 23:59:13 BabelO: and the example also do not work for you?! Nov 29 00:00:09 chouimat: same place you have a directory ipkg Nov 29 00:01:05 jott my directory is empty ... Nov 29 00:01:10 wait i ll oook into sources Nov 29 00:02:43 :) Nov 29 00:03:02 hmmm Nov 29 00:04:42 jott ... no test project ? Nov 29 00:05:08 "application" is the generic one ;) Nov 29 00:08:07 i was lucky last time i try with gp en qtopia 4.2 :) Nov 29 00:10:48 mh ;) Nov 29 00:10:56 i wonder why you have so much trouble now :P Nov 29 00:11:06 * ljp wonders too Nov 29 00:13:11 aaaaah only two more days Nov 29 00:13:13 * Sput is scared Nov 29 00:13:22 boo! Nov 29 00:13:46 BabelO: gph -C greenphone && gph -p && gph -i .. works fine here :/ Nov 29 00:17:41 Sput: no worries. what version of qtopia? Nov 29 00:18:13 ljp: 4.3 Nov 29 00:18:26 ljp: hope that is acceptable Nov 29 00:18:30 preview? or 4.3.0? Nov 29 00:18:37 yes, it is Nov 29 00:18:38 4.3.0 Nov 29 00:18:45 4.3 is so much better than 4.3 Nov 29 00:18:49 err 4.2 Nov 29 00:18:58 indeed Nov 29 00:19:01 i can hardly stand using 4.2 Nov 29 00:19:06 :) Nov 29 00:19:07 no-sxe though Nov 29 00:19:09 since Qtopia::sandboxDir() does not work Nov 29 00:19:13 ljp: do you know yet what the deadline is for at all? Nov 29 00:19:22 4.3.0 is no-sxe by default Nov 29 00:19:33 ljp: not the flash image in the SDK Nov 29 00:19:33 Sput: to make you sweat :) Nov 29 00:19:37 that is with SXE Nov 29 00:19:59 oh ok. use the flash image from the downloads area, i just check it for SXE Nov 29 00:20:03 4.3.0 Nov 29 00:20:05 full Nov 29 00:20:11 I only find 4.3.0-preview on the page Nov 29 00:20:50 http://www.qtopia.net/modules/mydownloads/visit.php?lid=48 Nov 29 00:20:57 should be it Nov 29 00:21:07 hmm, I definitely am sweating, but I hope it's not a big problem that we only have some rudimentary proof-of-concept like app so far Nov 29 00:21:10 which is going to mature during the next months, of course Nov 29 00:21:14 that's for the Neo Nov 29 00:21:18 whoops Nov 29 00:21:20 heh Nov 29 00:21:26 even though it's linked from the greenphone page Nov 29 00:21:35 I already tried that one :) Nov 29 00:22:38 http://qtopia.net/downloads/greenphone/qtopia-greenphone-flash-full-4.3.0 Nov 29 00:22:51 must have not updated the downloads for it Nov 29 00:23:26 404 Nov 29 00:23:27 sorry Nov 29 00:23:32 hmm Nov 29 00:24:07 oh no, it's there Nov 29 00:24:09 my tinyurl plugin screwed up :) Nov 29 00:24:26 I am so glad I found the reason why Quassel IRC crashed on the actual hardware, but not on the simulator Nov 29 00:24:38 so today was the first time I could see it run on the real thing :D Nov 29 00:25:10 *download* Nov 29 00:25:19 yeah write rtti in big letters on your notebook ;) Nov 29 00:26:09 jep :) Nov 29 00:26:13 I am surprised that it segfaults though Nov 29 00:26:27 I'd expect something like "illegal instruction" or something Nov 29 00:26:59 heh well it's not an "illegal instruction" ...just the lookup failed without further error handling as it seems ;) Nov 29 00:28:14 (as in "always check for null after a dynamic_cast anyway" ;-) Nov 29 00:28:28 jott: I did check Nov 29 00:28:40 I have an Q_ASSERT after every typecast I do Nov 29 00:28:45 oh.. well then throw some bricks at gcc ;) Nov 29 00:29:07 but the assert didn't trigger, but the dynamic_cast itself segfaulted Nov 29 00:29:13 yep Nov 29 00:29:48 must have been asleep when I updated those pages Nov 29 00:31:28 Sput: anyway.. you will not make this mistake again - so you can polish your app finally ;) Nov 29 00:33:06 yeah, but I have only two more day, and I have to work both days :/ Nov 29 00:33:52 we'll give ya some leeway. :) Nov 29 00:34:03 since it was my bad Nov 29 00:35:06 that sounds cool :) Nov 29 00:36:07 well, we won't be finished anytime soon, but we will submit something that shows that it works in principal Nov 29 00:36:09 is it possible to submit updated versions later on? Nov 29 00:37:50 yes Nov 29 00:38:06 you can always submit apps to qtopia.net. Nov 29 00:40:07 so nothing really changes after the deadline? Nov 29 00:43:23 not really sure what happens, but TT wont be looking to retract the Greenphone from you Nov 29 00:43:41 some announcement will be made, for sure Nov 29 00:45:06 I see Nov 29 00:45:17 well, you think it's sufficient if we submit our applications by monday? Nov 29 00:49:20 sure.. we're easy Nov 29 00:52:07 ok :) "Applications due 11:59 on 11/30" didn't sound that easy :) Nov 29 00:53:08 well if it wasn't for the deadline nobody would do any work *g* Nov 29 00:53:30 yep Nov 29 00:54:17 well, since I am one of the "manager's" for the program, I don't think they'll mind too much Nov 29 00:55:43 hmm Nov 29 00:55:53 jott: , chouimat still here ? Nov 29 00:57:14 ljp: yeah, I'm gonna trust you :) we'll submit something ASAP, and then I guess we'll post updated versions as long as possible... Nov 29 00:57:25 BabelO: yep Nov 29 00:57:54 jott : my cat play with the internet box, she like it because it is hot :) Nov 29 00:58:08 jott: it seem better with trusted for sxe :) Nov 29 00:58:16 did I already mention how wicked cool real translucency on the greenphone is? Nov 29 00:59:55 jott: my new issue now, is that i installed it one time but now it complain because o already installed package :( Nov 29 01:01:05 how can i remove a already uninstalled package ? Nov 29 01:01:33 did you guys manage to give your app an icon? Nov 29 01:01:42 BabelO: settings -> packages Nov 29 01:02:20 jott: i already use that, and now, my app does not appear in menu, but if i install it again, it say that it is already installed :( Nov 29 01:02:45 Sput: yes.. look e.g. at the scribble example Nov 29 01:03:37 ah crud, I deleted the examples Nov 29 01:03:43 or, never copied them out of the vmware Nov 29 01:03:57 heh they are in the source not in the sdk ;p Nov 29 01:04:13 oh? Nov 29 01:04:14 true Nov 29 01:04:29 I always forget that I have the real sources as well, not only the crippled version from the SDK :D Nov 29 01:04:56 heh yeah this is not nokia ;) Nov 29 01:05:46 hi ih The main data table for Object ACLs is full :) Nov 29 01:14:36 BabelO: more or less (still here) Nov 29 01:14:56 chouimat: any success ? Nov 29 01:15:26 BabelO: no ... was watching tv and thinking about going to sleep Nov 29 01:16:00 chouimat: already ? ;) Nov 29 01:16:40 ljp: I won't be able to send my app for friday ... too busy because of my new job ... and when I get home I'm way to tired to do anything Nov 29 01:17:08 nope. sorry. no leeway for you! :) Nov 29 01:18:16 ljp: so no problem I will pack the phone and return it ... Nov 29 01:18:24 real translucency on the greenphone? Nov 29 01:18:35 chouimat: we dont want it back Nov 29 01:18:58 ljp: me is the tinyerp client .. Nov 29 01:19:47 BabelO: I spent the day in stupid meetings ... and it's the 3rd day in a row Nov 29 01:20:13 ljp: sure there is real translucency, isn't there? Nov 29 01:20:15 then I must have been blind Nov 29 01:20:24 certainly is in the simulator Nov 29 01:20:29 chouimat: do like me, remove meeting from your outlook :) Nov 29 01:20:40 chouimat: it was not me it is microsoft itself Nov 29 01:20:41 lol Nov 29 01:20:46 BabelO: I did better I removed windows Nov 29 01:20:54 lol Nov 29 01:21:19 chouimat: so you lost your only real excuse for losing time because of your computer? Nov 29 01:22:03 Sput: try to simulate a huge realtime client-server architecture using VISTA ... I don't have a computer with 128GB of ram Nov 29 01:22:38 :D Nov 29 01:23:25 good night all Nov 29 01:23:32 Sput: oh ok Nov 29 01:23:53 else i think i can't work tomorrow spent to much time on linux and qtopia these days Nov 29 01:24:30 ljp: using argb values in widget stylesheets really makes stuff look fancy :) Nov 29 01:25:29 BabelO: good night :) Nov 29 02:06:13 argh. 3 am again. Nov 29 02:06:17 off to bed, see ya tomorrow :) **** ENDING LOGGING AT Thu Nov 29 02:59:56 2007