**** BEGIN LOGGING AT Mon Oct 18 02:59:57 2010 Oct 18 03:01:21 <[Rui]> howdy Oct 18 05:41:53 [Rui] for tslib you probably need http://github.com/radekp/linux-2.6/commit/4e9308c19f2d352c51cd41417f70752b314f9072 Oct 18 07:40:34 moin Oct 18 07:41:05 moin Oct 18 07:45:46 moin Oct 18 09:33:40 hello all Oct 18 09:34:06 can someone say the max stable fps rate for openmoko with python-pygame Oct 18 09:36:06 roelant: if you have some way to measure that I can run a test Oct 18 09:38:58 I' m creating a game for my openmoko with quiet heavy graphics, I limit the fps now to 10 wich runs quiet well Oct 18 09:39:34 roelant: I can test it if you can give me a link to source code Oct 18 09:39:54 k Oct 18 09:40:59 roelant: (I hope it doesn't require root access or anything equally scary) Oct 18 09:48:22 nono I guess I test some more by myself to get the best result Oct 18 09:48:37 I thought maybe someone here knew the right limits Oct 18 09:50:27 openmoko and pygame probably restrict the audience quite a bit :) Oct 18 09:52:39 ie inkspill doesn't need big fps :) Oct 18 09:52:59 s/big/high Oct 18 10:09:31 morning Oct 18 10:11:50 moin Oct 18 11:56:27 hello **** BEGIN LOGGING AT Mon Oct 18 12:30:01 2010 Oct 18 13:48:30 moin Oct 18 14:54:56 TAsn, hello! :D Oct 18 14:55:02 busy aren't you? ;) Oct 18 14:55:26 don't worry anyway, now i have like 10 things to do Oct 18 14:55:30 :D Oct 18 14:55:34 have a nice day Oct 18 14:55:37 bye! Oct 18 15:54:03 is there some way for me to start only ogpsd for developing fso-gpsd? Oct 18 15:54:27 "frameworkd -s ogpsd" fails with "dbus bus name org.freesmartphone.frameworkd already claimed. Exiting." Oct 18 15:55:47 without stopping "normal" frameword which should provide opimd etc ie for incomming call, right? Oct 18 15:57:04 lindi-: there is fsotdld Oct 18 15:57:08 lindi-: what about --noframework ? Oct 18 15:57:48 this just needs to be extended for gyps Oct 18 15:57:54 gypsy Oct 18 15:58:48 or do you just want to rewrite the gypsy -> gpsd part? Oct 18 15:59:09 JaMa|W: -h does not list that option Oct 18 15:59:23 JaMa|W: without stopping ogsmd Oct 18 15:59:36 Heinervdm: fsotdld is something newer I assume? Oct 18 16:00:00 it's the fso2 time date and location deamon Oct 18 16:00:03 Heinervdm: only patch it so that you can do ogpsd -> fso-gpsd -> gpsd -> foxtrotgps Oct 18 16:00:35 Heinervdm: yeah but I'm not really planning to move to fso2 Oct 18 16:00:52 lindi-: ah ok Oct 18 16:01:21 lindi-: i thought you want to write a vala replacement for ogpsd :) Oct 18 16:01:54 lindi-: ah probably added later... Oct 18 16:01:55 -n, --noframework do not launch the framework subsystem (use for Oct 18 16:01:55 multiple framework processes) Oct 18 16:02:02 Heinervdm: well this is a short term fix Oct 18 16:02:17 Heinervdm: I'm hoping u-blox support could be improved enough in gpsd so that you wouldn't need ogpsd Oct 18 16:02:37 lindi-: shouldn't be fso-gpsd be compatible to gpsd? Oct 18 16:03:34 Heinervdm: it is not compatible with new gpsd protocol Oct 18 16:03:41 ok Oct 18 16:03:44 Heinervdm: gpsd has been talking JSON for a year or so Oct 18 16:04:18 Heinervdm: and I don't really fancy rewriting fso-gpsd to mimic this new protocol Oct 18 18:16:04 mrmoku, got a patch commited in last E rev which adds option on enligthenment_remote to open a dir with efm Oct 18 18:16:42 now we can use "enlightenment_remote -efm-open-dir /home/$USER" in Exec filed in a desktop file Oct 18 18:33:09 pespin: hehe, nice Oct 18 18:34:16 mrmoku, I'll try to add the .desktop file + icon in OE in e-wm later, but I think I'll need some help with that ;) Oct 18 18:34:24 * pespin is OE newbie Oct 18 18:35:36 in fact, the content is done, I just need to add them to recipe ;) Oct 18 18:35:42 icon for desktop file is here: http://svn.enlightenment.org/svn/e/trunk/e/data/themes/images/icon_icon_theme.png Oct 18 18:37:03 and efm.desktop is here -> http://pastebin.ca/1966029 Oct 18 18:37:24 pespin: take a look at recipes/shr/phoneui-apps.bb Oct 18 18:37:41 hmm... that is missing installation though Oct 18 18:38:14 pespin: the icon probably should go into our icon theme... Oct 18 18:38:28 mrmoku, thanks I'll look later, have to go now. Would be great if you could tell me the name of the package/recipe in OE tree Oct 18 18:38:41 ok, later then Oct 18 18:38:45 * mrmoku still dayworking :/ Oct 18 18:39:45 mrmoku, well, if we set that up in e-wm recipe, we shouldn't need to copy the icon elsewhere, as it's already in its source tree. Just install from the sources to /usr/share/applications Oct 18 18:39:55 anyhow, gotta go, till later Oct 18 19:14:06 hmm 2.6.34+tslib works better then evdev but still seems like some events are missed Oct 18 19:25:05 heyo Oct 18 19:25:46 daniele_athome, hey Oct 18 19:25:56 daniele_athome, all_patches is just all of the other patches in one? Oct 18 19:28:08 btw: new tests/shr-u images will use tslib instead evdev for ts.. Oct 18 19:28:35 didn't we use tslib 2 years ago and then switched to evdev? Oct 18 19:28:39 TAsn, yes Oct 18 19:28:44 cool, reviewing now :)( Oct 18 19:29:33 TAsn: yes we did (before switching to Xorg) Oct 18 19:29:51 oh, right. Oct 18 19:30:03 TAsn: but 2.6.34 ts driver doesn't filter events good enough for evdev Oct 18 19:30:07 :) Oct 18 19:30:19 daniele_athome, what did you dict_factory for? Oct 18 19:30:59 TAsn, is just a quick function to generate dictionary starting from sqlite rows Oct 18 19:31:10 i mean sqlite outputs simple lists Oct 18 19:31:17 but i needed to map them to the columns Oct 18 19:31:23 for the "custom columns" thing Oct 18 19:31:30 unreadcount, totalcount, etc... Oct 18 19:31:30 mickey|dinner, who do I contact to get my freesmartphone.org access back? (I changed my private key) Oct 18 19:31:37 but it can be used for any other Oct 18 19:32:19 daniele_athome, grr, please cap your sql queries! Oct 18 19:32:30 (the version handling for instance) Oct 18 19:32:30 TAsn, cap? Oct 18 19:32:34 capitalize Oct 18 19:32:42 mmm Oct 18 19:32:48 i forgot that query sorry :) Oct 18 19:32:51 you know what I mean, capitalize the SQL directives :P Oct 18 19:32:55 there are two queries there Oct 18 19:32:59 insert and select Oct 18 19:33:28 TAsn, ok fixing now Oct 18 19:34:14 def build_sql_query(self, query_desc): Oct 18 19:34:16 what's that? Oct 18 19:34:54 TAsn, primarly 2 things Oct 18 19:34:56 if name not in ('_limit', '_resolve_phonenumber', '_retrieve_full_contact'): Oct 18 19:34:59 to verify those Oct 18 19:35:03 and to insert LIMIT keyword Oct 18 19:35:06 query = query + " LIMIT ?" Oct 18 19:35:07 bad Oct 18 19:35:13 why? Oct 18 19:35:16 because it'll break. Oct 18 19:35:17 :) Oct 18 19:35:25 TAsn, break what? Oct 18 19:35:42 Select * from a INTERSECT select * from b LIMIT 10 Oct 18 19:35:49 will limit the second query Oct 18 19:35:50 IIRC Oct 18 19:35:57 you have to use parenthesis Oct 18 19:36:15 mmm Oct 18 19:36:28 ok so putting parenthesis is enough? Oct 18 19:36:50 SELECT * FROM (select * from a INTERSECT select * from b) LIMIT 10 Oct 18 19:36:56 of course inner select :) Oct 18 19:36:56 i.e you need to wrap it with a select Oct 18 19:36:58 what i meant Oct 18 19:37:05 ;) Oct 18 19:37:06 my sql is a bit rusty, but yeah, I think you have to do this. Oct 18 19:37:16 ok fixed Oct 18 19:37:33 what's cursor for in build_full result? Oct 18 19:37:44 btw, please add a bit of documentation :) Oct 18 19:38:18 TAsn, cursor is used for dict_factory Oct 18 19:38:22 to retrieve columns Oct 18 19:38:30 i guess it should be done differently... Oct 18 19:38:32 *could Oct 18 19:38:42 Probably Oct 18 19:38:42 cursor.description is a list Oct 18 19:38:49 i was too quick :D Oct 18 19:38:52 fixing Oct 18 19:38:57 Look at how it's done everywhere else Oct 18 19:38:57 (and documenting) Oct 18 19:39:03 just conform to whatever there's already there Oct 18 19:39:06 TAsn, it isn't done in opimd Oct 18 19:39:14 and for a reason Oct 18 19:39:21 I was trying to avoid hash tables Oct 18 19:39:25 where I didn't have to. Oct 18 19:39:52 TAsn, well this time i think we need a dict Oct 18 19:40:03 nono wait Oct 18 19:40:04 aaaah :S Oct 18 19:40:06 sec. Oct 18 19:40:28 btw, regarding the MessageSent -> New Oct 18 19:40:29 change Oct 18 19:40:34 please avoid changing formatting Oct 18 19:40:38 and content in the same patch Oct 18 19:40:47 so it'll be clear what you actually change :) Oct 18 19:40:53 took me a couple of seconds Oct 18 19:40:56 to understand what you did there Oct 18 19:41:00 mmm Oct 18 19:41:02 really? Oct 18 19:41:04 aaah yes Oct 18 19:41:06 formatting Oct 18 19:41:06 sorry Oct 18 19:41:18 i realized that only after the commit Oct 18 19:42:51 + if status == 'read': entry['New'] = 1 Oct 18 19:42:54 should probably be 0 Oct 18 19:43:05 mmm Oct 18 19:43:36 argh Oct 18 19:44:05 why did you stop caching results Oct 18 19:44:08 in query matcher? Oct 18 19:44:57 and in class SingleQueryHandler Oct 18 19:45:00 you don't call Oct 18 19:45:06 matcher = QueryMatcher(self.query Oct 18 19:45:07 ) Oct 18 19:45:08 anymore. Oct 18 19:45:27 you should really just review your patch yourself, and explain yourself the reason for each line removed Oct 18 19:45:29 and each line added. Oct 18 19:45:36 nono wait Oct 18 19:45:39 sec. Oct 18 19:45:44 please send me a new patch after you do, as this one looks like it'll break a lot of stuff :) Oct 18 19:46:09 tools/update-db-2.1.sql Oct 18 19:46:17 VERY bad. :) Oct 18 19:46:22 the code should be in opimd Oct 18 19:46:33 in a module called Oct 18 19:46:37 "converter" or something Oct 18 19:46:41 TAsn, .match method is called Oct 18 19:46:44 from the parent class Oct 18 19:46:48 and Oct 18 19:46:59 converter? you mean i should write a script to execute the queries? Oct 18 19:47:02 + if version_info == None: Oct 18 19:47:02 + cur.execute("insert into info values(?, ?)", ('version', _SQLITE_DATABASE_VERSION)) Oct 18 19:47:02 + self.con.commit() Oct 18 19:47:04 here Oct 18 19:47:09 it should call the updater Oct 18 19:47:32 TAsn, so i should assume current version is the current one? Oct 18 19:47:34 daniele_athome, you should write a new .py for opimd Oct 18 19:47:36 ie with current table schema Oct 18 19:47:40 daniele_athome, of course. Oct 18 19:47:51 just write a new .py with functions Oct 18 19:47:55 that will be included by opimd Oct 18 19:48:05 and will be run to update versions when needed. Oct 18 19:48:08 mmm Oct 18 19:48:21 TAsn, i will do something suitable for db versioning Oct 18 19:48:33 ie different upgrade degrees Oct 18 19:48:40 "degrees" maybe not the correct word Oct 18 19:48:46 db versioning is cool Oct 18 19:48:47 maybe you got me :) Oct 18 19:48:53 just need to update it automatically Oct 18 19:49:01 ok Oct 18 19:49:02 and not with an "outside" tool Oct 18 19:49:07 it should be from within opimd Oct 18 19:49:11 just like you added the version info Oct 18 19:49:21 just update it Oct 18 19:49:29 and the part that updates the version info Oct 18 19:49:31 should be that module Oct 18 19:49:31 okok Oct 18 19:49:37 i.e you shouldn't do it in the db_handler Oct 18 19:49:41 but that module should do it instead Oct 18 19:50:08 ok i got it TAsn :) Oct 18 19:50:10 :P Oct 18 19:50:28 just ran a search for Oct 18 19:50:31 QueryMatcher(self.query) Oct 18 19:50:32 never called Oct 18 19:51:18 TAsn, query_manager.py, line 113 Oct 18 19:51:21 hm.. hm.. as I said a moment ago :P Oct 18 19:51:36 - matcher = QueryMatcher(self.query) Oct 18 19:51:39 you removed it Oct 18 19:51:39 ... Oct 18 19:51:45 yes from there Oct 18 19:51:55 and it doesn't appear anywhere else Oct 18 19:51:58 because matcher is constructed in queryhandlers Oct 18 19:52:05 BaseQueryHandler.__init__(self, query, db_handler, QueryMatcher(query), dbus_sender) Oct 18 19:52:06 I thnik you sent me an old patch Oct 18 19:52:10 mmm Oct 18 19:52:16 oh ok. Oct 18 19:52:24 you changed the way it's invoked. Oct 18 19:52:29 I was searching for self.query Oct 18 19:52:36 ok :) Oct 18 19:52:59 why don't you save the query anymore? Oct 18 19:53:29 TAsn, base class Oct 18 19:53:30 :) Oct 18 19:53:43 ok found it. Oct 18 19:53:48 sorry, such a mess :P Oct 18 19:53:53 (I'm in a mess, not you) Oct 18 19:54:02 :) Oct 18 19:54:20 no offense :P Oct 18 19:54:25 but what about saving results in QueryMatcher? Oct 18 19:54:29 I don't see you are doing that Oct 18 19:56:34 they weren't stored previously... mmm Oct 18 19:57:00 oh you are right. Oct 18 19:57:04 Damn I need some sleep. :P Oct 18 19:57:25 TAsn, results = db_handler.query(self.query_obj) Oct 18 19:57:39 I was talking about somewhere els-e Oct 18 19:57:45 but ok, nvm. Oct 18 19:57:56 mmm Oct 18 19:58:13 TAsn, i will make the db converter Oct 18 19:58:19 but i suggest to keep the sql script Oct 18 19:58:23 just for history Oct 18 19:58:24 :) Oct 18 19:58:37 it's ok to keep the script Oct 18 19:58:41 for "explaining" the changes Oct 18 19:58:45 it's even good Oct 18 19:58:45 yeah Oct 18 19:58:57 but load the script from opimd Oct 18 19:59:08 (there's a way to do it easily in the sqlite bindings iirc) Oct 18 19:59:22 and add the modification of the version info there as well. Oct 18 19:59:24 mmm Oct 18 19:59:48 as this is a part of the change in the database. Oct 18 20:00:18 how do i reference data files from within python code? Oct 18 20:00:24 nvm i will find it out :) Oct 18 20:00:27 *find out Oct 18 20:00:39 put it in /usr/share/frameworkd/opimd/ Oct 18 20:00:40 or something Oct 18 20:00:44 (whatever fso is already using) Oct 18 20:01:23 other for the issues we already discussed Oct 18 20:01:35 and db_handler.py which I need to look at again after you send me the revised patch Oct 18 20:01:39 and the lack of docs Oct 18 20:01:47 It's great. Oct 18 20:01:56 waiting forward for the next patch Oct 18 20:02:15 ok i'll add some other docs Oct 18 20:02:15 (and for my access to freesmartphone.org back) Oct 18 20:02:16 :P Oct 18 20:02:21 write the converter Oct 18 20:02:27 daniele_athome, in a difference patch though :P (docs) Oct 18 20:02:29 TAsn, i have write access Oct 18 20:02:32 if you already split it :P Oct 18 20:02:39 daniele_athome, I know, I just want mine back :) Oct 18 20:02:42 eheh Oct 18 20:02:49 TAsn, i will commit those fixes discussed now Oct 18 20:02:51 and docs Oct 18 20:02:52 I waiting forward for the next patch and for getting my access :P Oct 18 20:02:58 than i will write converter Oct 18 20:03:03 daniele_athome, sure Oct 18 20:03:07 *then Oct 18 20:03:08 let me see it before you commit though Oct 18 20:03:18 I want to review the changes + db_handler once more Oct 18 20:03:19 if I may. Oct 18 20:03:21 TAsn, sure i mean commit locally Oct 18 20:03:26 I know. Oct 18 20:03:33 when I said commit I meant push :P Oct 18 20:03:36 lol Oct 18 20:03:37 ok Oct 18 20:03:37 too much svn lately :P Oct 18 20:03:42 indeed :) me too Oct 18 20:03:54 at work Oct 18 20:04:10 phone bbl Oct 18 20:04:16 cioa. Oct 18 20:04:17 thank you TAsn we'll see you tomorrow Oct 18 20:04:19 gtg as well. Oct 18 20:04:22 nah, thank you. Oct 18 20:04:25 gtg? Oct 18 20:04:31 don't know that :D Oct 18 20:04:51 gotta go Oct 18 20:04:54 ah Oct 18 20:04:57 :) Oct 18 20:05:04 ciao! Oct 18 20:06:22 larsc: ping? Oct 18 20:11:03 lindi-: pong Oct 18 20:13:15 larsc: hi, you still planning to rebase openmoko kernel on 2.6.36 when it's released? Oct 18 20:17:37 2.6.36 wo-ooh :) Oct 18 20:22:48 mickey|dinner is at dinner from quite some time :D Oct 18 20:22:57 s/from/for/ Oct 18 20:22:57 daniele_athome meant: mickey|dinner is at dinner for quite some time :D Oct 18 20:26:05 TAsn, i see some copyright notes in the header comments Oct 18 20:26:15 what should i write in db versioning module? Oct 18 20:26:20 radekp: i do have 2.6.36 branches on my disk Oct 18 20:26:23 but Oct 18 20:26:36 but there are still problems regarding suspend Oct 18 20:27:52 larsc: ahh oki nice (the first part) :) Oct 18 20:28:25 and my bq27000 merge is done. needs a final cleanup though Oct 18 20:28:42 bq27000, bq27x00 merge Oct 18 20:29:16 larsc: i will be happy to test it or if you need some other kind of help please tell me Oct 18 20:39:03 larsc: ohh, bq27x00 merge is good :-) Oct 18 20:41:25 larsc: do you remember why the backlight brightness scale was changed from 0-255 to 0-63 in 2.6.3*? Oct 18 20:49:19 daniele_athome, who wrote it? only myself. Oct 18 20:49:21 daniele_athome, atm. Oct 18 20:49:30 daniele_athome, and license is the same as the rest. Oct 18 20:49:41 TAsn, i thought those headers was per modue Oct 18 20:49:42 *module Oct 18 20:49:54 i mean the copyright the notice Oct 18 20:49:58 generally it's per source file Oct 18 20:50:00 but I don't really care Oct 18 20:50:03 just add whatever. :P Oct 18 20:50:12 I don't really care about credit. Oct 18 20:50:16 naah who cares Oct 18 20:50:21 yeah so do it Oct 18 20:50:23 *i Oct 18 20:50:26 *so do i Oct 18 20:50:27 aaargh Oct 18 21:01:01 lindi-: 0-63 is what the hardware supports Oct 18 21:02:19 larsc: ok Oct 18 21:12:11 i think why the old driver reported values from 0-255 is because androiud coultn't handle anything else back then Oct 18 21:51:52 <[Rui]> hi nice improvement: ring tone is now audible enough! Oct 18 21:52:09 <[Rui]> too bad ts is a bit botked Oct 18 21:52:13 [Rui]: how did you amplify it? Oct 18 21:52:29 larsc: aha! nice to know Oct 18 21:52:48 <[Rui]> I just installed the new test machine with 2.6.34 Oct 18 21:53:04 <[Rui]> it's really louder! Oct 18 21:53:38 <[Rui]> didn't even fiddle with volume controls Oct 18 21:53:43 lindi-: what the driver did was to divide the value by 4 and write it to the hardware Oct 18 21:57:02 <[Rui]> larsc: alsa driver? Oct 18 21:58:03 [Rui]: the old backlight driver Oct 18 21:58:53 <[Rui]> ah Oct 18 21:59:24 larsc: yes Oct 19 00:27:03 ~status Oct 19 00:27:04 Since Thu Sep 16 09:58:38 2010, there have been 243 modifications, 3058 questions, 0 dunnos, 0 morons and 1550 commands. I have been awake for 32d 14h 25m 23s this session, and currently reference 117360 factoids. I'm using about 38392 kB of memory. With 0 active forks. Process time user/system 10929.75/264.92 child 0/0 **** ENDING LOGGING AT Tue Oct 19 02:59:57 2010