**** BEGIN LOGGING AT Sun Aug 04 02:59:58 2013 Aug 04 09:07:16 JaMa/Morphis-> Wouldn't it be logical to rename meta-smartphone to something else like meta-devices or ... since it doesn't only cover smartphones anymore but also tablets (and possibly future other devices like watches ;))? Aug 04 09:10:05 Herrie: it also covers distribution for smartphones Aug 04 09:10:33 Herrie: renaming it would cause more pain then gain IMHO so I would prefer to keep the name Aug 04 09:13:04 OK, I was just wondering ;) Since I saw the Grouper in there which isn't a smartphone, might be something to do when there are no other things to do anymore ;) Aug 04 09:15:16 There are tons of more important things to do, I fully agree with that ;) Not wasting time on these small things for now :) Aug 04 09:15:51 Herrie: the thing is that meta-smartphone was started before webos-ports and other distros and projects use it Aug 04 09:16:02 Changing the name would cause pain to all of them Aug 04 09:23:59 Ah ok, I don't know the background, already thought something like this, just looked a bit odd to me that's all so I though to ask :) Aug 04 10:20:39 Garfonso: ping Aug 04 10:20:50 ah, hi. ;) Aug 04 10:20:57 Garfonso: you have a moment? Aug 04 10:21:10 yes Aug 04 10:21:16 Garfonso: cool Aug 04 10:21:33 I'm stuck at the popScene to get back to the account manager right now Aug 04 10:21:50 What works so far is calling into the custum ui scene in my app Aug 04 10:22:17 showing the UI, calling back into the service to verify auth and come back into the app Aug 04 10:22:33 Now I only would need to popScene with the result, right? Aug 04 10:23:06 You code seem to have some own account handling (i guess for using it as standalone app only?)? Aug 04 10:23:09 yes Aug 04 10:23:15 hmm Aug 04 10:23:24 no, the account handling needs to be done Aug 04 10:23:44 Error: Cannot read property 'initialTemplate' of undefined, line undefined, Aug 04 10:23:58 the standalone app is not really the issue.. actually it just calls sevice callbacks as the rest of webos does. Aug 04 10:24:02 I gte this while I checked that I get initialTemplate when getting called Aug 04 10:24:17 put it into this.params but now it has trouble to read it Aug 04 10:24:37 ok, maybe I got a bit confused by the code here Aug 04 10:24:58 ok, wait a moment. Need to get into that part of the code a bit.. Aug 04 10:25:05 sure, thanks Aug 04 10:25:20 * stefan_schmidt mumbles something about the poor docs on custom UI Aug 04 10:25:48 yeah.. I reverse engineered that from the e-mail app.. ;) Aug 04 10:25:53 ouch Aug 04 10:26:20 no wonder synergy connectors never really came along Aug 04 10:26:33 you are doing this.params = params; in the assistant constructor? Aug 04 10:26:37 yes Aug 04 10:27:11 but everytime I want to access initialTemplate it can not read it Aug 04 10:27:28 is this happening in callbacks? Aug 04 10:28:17 you know about the issue of "this" and callbacks in JS? Or "binding" and stuff? ;) Aug 04 10:29:09 I know nothing about it :) Aug 04 10:29:12 like for example: credFuture.then(this, function (f) {... the "this" as first param tells the Future-framework to use "this" also during the callback as "this". Aug 04 10:29:21 you'll need to do something like that. Aug 04 10:29:29 hmm Aug 04 10:29:43 usually you add ".bind(this)" to where you define the callback. Always. Aug 04 10:29:43 To much magic for a plain c coder it seems ;) Aug 04 10:30:19 actually its not in a callback Aug 04 10:30:25 mom, I paste some code Aug 04 10:30:32 hm. do you have code? ;) Aug 04 10:31:15 http://pastebin.com/v621aDgu Aug 04 10:31:33 That does the call inot the service to verify auth Aug 04 10:31:42 comes back Aug 04 10:32:02 its all a bit messy :) Aug 04 10:33:24 ok. to make things clear: the credFuture.then-part means that it in fact is a callback. Which makes sense, because you call the service and need to wait for it to complete and then get the callback. Aug 04 10:33:56 this is not so obvious, because I was using the futures-framework which takes a bit of the nasty work away. Aug 04 10:34:03 Garfonso: but isn't this all sync and waits for the return? Aug 04 10:34:09 nope Aug 04 10:34:13 oh Aug 04 10:34:19 that explains some things Aug 04 10:34:41 code that contains a "call" usually is async in js. ;) Aug 04 10:34:44 its written down like sync but in fact is async callback stuff Aug 04 10:34:53 oh man, a whole new world Aug 04 10:34:56 yes, that is what the future-framework helps with Aug 04 10:35:04 "helps" :) Aug 04 10:35:29 real callback functions have been fine so far for me ;) Aug 04 10:35:29 otherwise you'd have to define the callback before the call, i.e. write the code in reverse. ;) Aug 04 10:36:00 yeah, old dogs, new tricks... Aug 04 10:37:29 How could I have ever have thought this can't be to hard? Famous last words. ;) Aug 04 10:37:46 Garfonso: Better spend your time on something else now Aug 04 10:38:00 hm.. but it should work.. can't see a mistake there Aug 04 10:38:05 Garfonso: I'm going to clean all this customUI code up a bit and will push it to a branch Aug 04 10:38:14 k Aug 04 10:38:25 always better to look at the whole code Aug 04 10:38:38 But I have so nasty hacks in there :) Aug 04 10:38:49 yes, probably the error is somewhere else. Aug 04 10:39:05 that's what c-coders do, isn't it. :P Aug 04 10:39:06 Garfonso: most likely in front of the laptop :) Aug 04 10:39:17 woa, woa Aug 04 10:39:45 did you decide on a webdav lib, jet? Aug 04 10:39:48 nope Aug 04 10:40:05 http://johnnydebris.net/projects/branches/davclient.js-nodommer/doc/davclient.html Aug 04 10:40:11 is most likely right now Aug 04 10:40:38 another thought might be to try doing the small dav subset for fetching the vcards on my own Aug 04 10:40:45 but that screams for trouble later Aug 04 10:40:52 Not sure I want to go that path Aug 04 10:41:34 btw, I was surprised to see that synergy has a task kind Aug 04 10:41:38 hehe.. better have someone to parse the status codes for you. Aug 04 10:41:48 sad that they don't have a tasks app to use them :) Aug 04 10:41:59 sure it has. This is what goes into the todo app. Aug 04 10:42:13 there is at least one synergy connector that can sync into the task app Aug 04 10:42:19 yeah, would also prefer to get a simple file listing and hand the list ov vcards over Aug 04 10:42:20 IIRC it was for remember the milk Aug 04 10:42:42 hmm, there is a todo app? Aug 04 10:42:51 stock webos todo app? Aug 04 10:42:56 * stefan_schmidt is confused Aug 04 10:43:53 to solve the confusion: it is only on the phones. Aug 04 10:44:09 ok, hmm, I wonder how I missed that Aug 04 10:44:32 indeed, its on my pre3 Aug 04 10:44:34 hq Aug 04 10:44:36 ha Aug 04 10:44:39 ;) Aug 04 10:44:45 how could I miss that? Aug 04 10:45:17 That means later caldDAV also needs to support VTODO Aug 04 10:45:22 good, good Aug 04 10:45:46 hehe. Yeah.. that is on my ever growing todo list for the syncml connector, too... Aug 04 12:00:35 There are some patches for the Tasks app to make it work on 3.x more or less on the WebOSNations forum as well Aug 04 12:04:02 There are some apps that do task syncing as well like the Remember The Milk Syngery connector, but there are others too now I found out. Cloud Tasks http://niksilver.com/cloud-tasks/ and RTFM http://www.supergigamega.com/rtfm/ Aug 04 12:05:45 Might have some code for you Stefan_Schmidt to look at for inspiration? Seems like Cloud Task is on GitHub :) Aug 04 12:08:02 Herrie: thanks Aug 04 12:08:27 Herrie: cloud tasks does not provide a synergy connector Aug 04 12:08:40 For me it looks like it sync with the website directly from the app Aug 04 12:08:52 The second one is not open source? Aug 04 12:09:15 Could be... Aug 04 12:09:42 Remember the milk is not open source, but it's free, so you can unpack it and have a look Aug 04 12:10:28 well, if they don't make it open source I won't have a look Aug 04 12:10:34 Its their decision Aug 04 12:11:46 but tasks is far far away :) Aug 04 12:12:26 it will come after the basic VEVENT aka calendar events will work Aug 04 12:12:40 and that is also far away :) Aug 04 12:30:45 I know but you have places to look when you need inspiration ;) Aug 04 12:34:09 Exactly that is what I want to avoid. I happily take inspiration form other open source projects but not from proprietary ones Aug 04 12:34:35 But the other one does not look as if it would integrate with synergy anyway Aug 04 12:34:57 and once we have it working for carddav and calddav the tasks part should be straight forward Aug 04 12:48:35 True and once you have done one, others are easier as well I guess.... :) Aug 04 13:02:07 yes. It basically is only a different DB to put the object into.. the sync stuff and so on all stays the same. Aug 04 13:04:23 anybody here that has fun in designing gui elements? *sigh* Aug 04 13:44:11 *sigh* in the process of cleaning stuff up a bit I did break what I had. So typical :) Aug 04 13:58:51 Garfonso: https://github.com/webOS-ports/org.webosports.service.contacts.carddav/tree/custom-validator Aug 04 13:59:36 Garfonso: Its a bit more broken now. :) UI shows up but pressing the button does not seem to call into the check Credential function Aug 04 13:59:45 no idea how I broke that now Aug 04 13:59:58 Garfonso: https://github.com/webOS-ports/org.webosports.service.contacts.carddav/commit/85641d63f8e560b93a0c78d254c9704f7b19ec7a Aug 04 14:00:15 You will recognize quite some of your code :) Aug 04 14:00:24 Plus some bugs added from me Aug 04 14:13:14 morphis: I see that qemuarm builds are working again Aug 04 14:13:30 morphis: only issue with them is that both mesa and libhybris are being pulled into image Aug 04 14:16:59 grr, no new error. Just wrong logging Aug 04 14:17:28 Garfonso: The pushed code has the same problem we talked about earlier Aug 04 14:18:00 Garfonso: nothing broken during the cleanup. Just wrong loging. :( Aug 04 14:19:08 stefan_schmidt: any news about that weird ca-certificats issue? Aug 04 14:20:31 JaMa: Well, I kept my workaround in place and everything build fine with that Aug 04 14:20:43 JaMa: Maybe i should try again without it :) Aug 04 14:20:59 JaMa: Or to put it differently. Haven't looked further into this. Aug 04 14:21:31 Spending my time on the carddav connector so far as I don't have a device yet to run the images on anyway Aug 04 14:22:39 Let me stash my workaround and try to rebuild Aug 04 14:24:00 stefan_schmidt: OK, no problem Aug 04 14:24:09 I was just curious when noticing it building here again Aug 04 14:26:24 JaMa: Hmm, a cleansstate and then a normal build worked without my workaround. Maybe its getting it from sstate? Aug 04 14:27:46 I'm done for the day here at my pc anyway Aug 04 14:28:18 I will do an complete update and try to build everything without the workaround. Maybe ts gone for good Aug 04 14:32:30 stefan_schmidt: only if you still have SSTATE_MIRROR set Aug 04 14:32:41 cleansstate removes it only from local sstate-cache directory Aug 04 14:32:52 JaMa: ok, as I thought Aug 04 14:33:09 JaMa: I have it set because without it I get other build problems Aug 04 14:33:11 I'm pretty sure that ca-certificates recipe wasn't changed lately Aug 04 14:33:20 IIRC it was something with the android bits Aug 04 14:33:38 yeah, would be a surprise if it got fixed by accident Aug 04 14:33:45 android.*audio possibly? Aug 04 14:34:11 just a moment Aug 04 14:34:20 doing a update and update-conffiles now Aug 04 14:34:29 and will try without SSTATE set Aug 04 14:39:07 everything up-to-date, tmp and sstate removed, SSTATE_MIRROR disabled Aug 04 14:39:33 Starting a webos-ports-dev-image run now Aug 04 14:39:52 JaMa: Will let you know how it bails out Aug 04 14:40:44 thanks Aug 04 15:18:08 stefan_schmidt: it is crashing in line 100? What is the exact error message? Aug 04 15:18:40 ah.. ther it is Aug 04 15:18:40 hm Aug 04 15:19:58 ah. do you run this from the account manager? You removed the check typeof this.params != "undefined". Aug 04 15:20:23 you'll get only params, if the scene is launched from the account manager. Aug 04 16:48:32 Garfonso: yes, removed that on purpose. This scene will only be run from the account manager Aug 04 16:48:48 not planning on account handling without it Aug 04 16:49:03 The app might have some stats or logs later, but no account handling Aug 04 16:49:51 The default scene for the app will move to another scene later or I will try to hide it completely. Not sure yet Aug 04 16:50:10 But for all testing I use the account managr and setup a carddav account right now Aug 04 19:20:49 JaMa: Build finished. ca-certificates problem remains but building without SSTATE_MIRROR works now for me Aug 04 19:21:12 OK Aug 04 23:29:18 hi there **** ENDING LOGGING AT Mon Aug 05 02:59:58 2013