**** BEGIN LOGGING AT Mon Nov 10 03:00:00 2014 Nov 10 05:40:26 Hey, can anyone say why setting the style property of a div to ‘background-image: url(file:///media/internal/.caldav_photos/C+DAV GoogleSunRa.jpeg);’ would work in Safari but fail in Black Eye? Nov 10 05:41:19 It means we can’t display non-square photos without distortion. Nov 10 05:41:47 do you have quotes around the url ? Nov 10 05:44:23 until you brought it up, i'd never seen anyone do it without quotes, but it looks like without quotes is legal Nov 10 05:44:30 i'd try it anyway though Nov 10 05:46:25 It’s done by Enyo 2 - I don’t have direct control. Nov 10 05:48:36 And it’s part of a style property - I don’t know if quotes are legal there. Nov 10 05:50:07 They might need to be escaped. Nov 10 05:54:58 effing H - that shouldn’t make a difference, but it does! Nov 10 05:57:23 EricBlade , do you know offhand how to modify Nov 10 05:57:23 bindings: [ Nov 10 05:57:24 { from: ".displayPhoto", to: ".$.photo.src"}, Nov 10 05:57:25 surround the value with quotes before it’s set? Nov 10 05:57:43 (currently I’m hacking in the quotes elsewhere) Nov 10 05:59:28 Not make it bound? Use the changed handler of the parent to explicitly set the mutated property on the child? Nov 10 06:00:21 Oh, wait, there’s a transform function Nov 10 06:00:34 morphis: ping Nov 10 06:00:56 The Enyo MVC stuff is vastly better documented than it was when they were working on it at HP. Nov 10 06:03:57 Is there any information about how libhybris attatch android part's video libraries? (i.e, using hardware to decode h264 video) Nov 10 06:21:58 Anyone tried unstable build for N4? Seems like my WiFi is not working... Nov 10 07:27:28 morphis: IIRC there should be "\n" as separator between the 2 mirrors Nov 10 08:17:48 morninv Nov 10 08:17:54 s/v/g Nov 10 08:51:19 DougReeder: yes, use the transform function. Can also be (ab-)used to set styles via bindings.. ;) Nov 10 08:52:24 morphis: concept looks good for me from an app developer point of view. Nov 10 08:53:41 morphis: but we need to be very careful with the name... because there already is ActivityManager and activities in webOS which are in LuneOS and are in active use (all synergy connectors use them). Nov 10 09:42:24 Tofe/morpis: ping Nov 10 11:00:44 thrrgilag/Tofe/morphis: Did initial work on scaling for sysmenu using Units.gu and FontUtils. Might need some further TLC but looking a lot better on N4. I'll get Benjamin to work on the icons once he's done with other stuff. Nov 10 11:02:48 PR for that is done :) Nov 10 11:03:00 Tofe: ping Nov 10 11:03:08 Herrie|Veer: pong Nov 10 11:03:19 I saw your PR, looks good; ready for merge ? Nov 10 11:03:44 Tested on N4, would be good if someone can test on TP for look Nov 10 11:04:17 ok Nov 10 11:04:25 My dev TP has a non responsive touchscreen after it was bathing in water some months ago... Nov 10 11:04:42 Weird usage of a tablet Nov 10 11:05:01 Yeah well it was the mrs Nov 10 11:05:09 :) don't want to know Nov 10 11:05:27 And somehow a bottle of water was spilled on the table and some got into TP.. So gave her my dev one :P Nov 10 11:05:41 It worked partially before but whole touchscreen seems gone now Nov 10 11:05:59 Some humidity must have slipped through Nov 10 11:06:05 I guess I could try a $ 20 digitizer replacement off eBay to revive it :P Nov 10 11:06:12 Still boots just to touch... Nov 10 11:06:29 Well, it seemed quite tricky to detach... isn't it ? Nov 10 11:07:04 Well I managed to take apart & put together a 4G and Go's so should manage ;) Nov 10 11:07:19 But it's not easy to open up... Nov 10 11:07:29 Yeah I guess :) Nov 10 11:07:42 Just wonder if it's the digitizer itself of the board... Nov 10 11:08:02 Well I'll just order one and try... $22 not the end of the world :P Nov 10 11:51:21 Herrie: unstable or testing? Nov 10 11:51:45 Garfonso: good point, any idea for a different name? Nov 10 12:08:59 morphis: unstable because testing didn't have build after stable? Nov 10 12:09:50 Latest is from 30 oct in testing Nov 10 12:26:17 Herrie|Veer: don't use unstable Nov 10 12:26:31 it's JaMa playground Nov 10 12:27:10 Herrie|Veer: use testing or stable only Nov 10 12:28:28 Ah Nov 10 12:28:48 I needed it for the Luna-Next changes I was told for the reversemousearea :P Nov 10 12:29:02 testing is what you need, not unstable Nov 10 12:29:13 when someone refers to unstable he is always wrong and means testing Nov 10 12:29:33 OK noted for next time :P Nov 10 12:30:43 I'll wait for a next testing build then :) Nov 10 12:30:51 Anyway got the device menu updated already ;) Nov 10 12:31:02 That's what I wanted to test ;) Nov 10 12:31:23 PR for that is in but my TP to test broken... Looks a lot better on N4 now :) Nov 10 12:31:59 Just noticed I cannot seem to use Units.gu for border images in QML for some reason (I guess because it are CSS properties?) Nov 10 12:32:08 Left those in px for now Nov 10 12:33:32 And also seems we have small, x-small, xx-small but nothing in between medium and large which is a bit odd because the jump is big for the fontsizes like this. Nov 10 12:34:31 We might want some steps in between for this I guess Nov 10 12:53:30 Herrie: testing builds should be ready now Nov 10 12:55:13 just sync has failed Nov 10 12:55:22 but is running now Nov 10 13:00:16 Great, new maguro image including your fix as well? Nov 10 14:07:11 Morphis , Tofe , Garfonso , the action-without-a-defined-app is perhaps best called an “intent”. Both Android and Firefox OS use that term. Ideally, we’d like to be using Web Intents, but those will be implemented in WebKit (if ever). If we’re doing them directly over the PalmBus, we could implement them ourselves, but we should probably try to use the names and arguments from the WebIntents proposed standa Nov 10 14:07:12 so devs coming from Firefox know what to look for, and it will be easier to wire up webkit web intents. Nov 10 14:08:06 DougReeder: sounds good Nov 10 14:08:09 Herrie|Veer: yes Nov 10 14:08:14 Herrie|Veer: but didn't tested it Nov 10 14:09:00 DougReeder: we can provide the same JS API if we want Nov 10 14:10:05 Yes. We’d want to make them accessible over PalmBus anyway, for services. Nov 10 14:10:07 DougReeder: btw. web intents is what google proposes Nov 10 14:10:15 web activities is what firefox does Nov 10 14:10:36 http://codebits.glennjones.net/webactions/intentsvsactivities.html Nov 10 14:11:05 right you are, I had forgotten the terminolgy switch. Nov 10 14:11:42 As Tofe said, we don’t want to call them Activities - we already have something different called that. Nov 10 14:12:30 DougReeder: Garfonso said that :) Nov 10 14:13:52 Intents is good. Yes. :) Nov 10 14:13:56 DougReeder: for the naming: what are you doing with an intent? starting an activity? or just sending it out Nov 10 14:14:01 I’d forgetten Google has their competing proposal. Nov 10 14:14:33 android seems to name the method for that "startActivity" Nov 10 14:14:39 Intents are short-term. “Have the user pick a photo” Nov 10 14:15:27 Well, short-term for the user. The are around for seconds not minutes, unless the user puts the device down. Nov 10 14:15:52 webOS activities are longer term - “sync my email every hour” Nov 10 14:16:23 My Agent Z uses an activity to be run every time the user connects to wi-fi. Nov 10 14:17:15 that's a good way to differentiate between them. Nov 10 14:17:16 So, the first app would, in response to user activity, create and send out an Intent. Nov 10 14:18:53 … somehting on the PalmBus, probably a service, would receive the intent, optionally put up a dialog for the user to select an app, then send a second request overt the PalmBus. Nov 10 14:19:47 DougReeder: https://bpaste.net/show/05cd3c6eefb4 Nov 10 14:19:51 …the second app would do something, respond to the second request. Nov 10 14:22:10 … the service would respond to the first app’s request. Nov 10 14:23:00 We might need to think hard about timeouts. Nov 10 14:24:01 morphis , that’s the new proposal, not part of the existing webOS Activities? Nov 10 14:37:43 Okay, to track Web Intents and FF Activities, the parameters are action/name, href, disposition [window or inline], and a fourth, which for Web Intents is the type, but for FF Activities is a general data parameter, which may have a type property. Nov 10 14:38:55 Your subscribe property is a good idea. Nov 10 14:42:56 Oh, wait, href is used when *registering* to fulfil intents. Nov 10 14:46:22 disposition is used only for registration. Nov 10 14:47:25 So the client app would send a PalmBus request with a name and optionally a [MIME] type. Nov 10 14:48:53 Before that, the handler app would register with a name, a list of MIME types, an href and optionally a disposition. Nov 10 14:50:59 Type should be a top-level parameter, because you can’t expect the same handlet to “edit” “text/plain” and “image/jpeg”. Nov 10 14:58:58 DougReeder: right Nov 10 14:59:49 DougReeder: I thought about doing the intent registration in the appinfo.json and not at runtime Nov 10 15:01:22 We might want to require registration in appinfo.json, but allow a JS function to be named at run time. I’m not sre offhand Nov 10 15:02:06 JS function to be named? Nov 10 15:02:11 Wait, hmmm, I’m not sure how an app would register Nov 10 15:02:27 ok Nov 10 15:02:39 basically an app puts something for that into its appinfo.json Nov 10 15:02:49 application manager parses that and knows who can handle what Nov 10 15:03:00 Yeah, definitly something in appinfo.json Nov 10 15:03:22 when it then has found an handler for an intent it just relaunches the app and puts the intent parameters into the launchParams Nov 10 15:03:36 But how to translate an unexpected message on the PalmBus into app-JS land? Nov 10 15:03:46 unexpected message? Nov 10 15:04:09 Well, the handler app doesn’t know in advance that a request is coming Nov 10 15:04:48 then it has to do any needed actions to handle the intent or deny it Nov 10 15:05:13 Right, we know what we want to happen, I just wondering about how to wire it up. Nov 10 15:05:46 Oh, like a direct request to the app. Nov 10 15:06:04 basically the launchParams will be { activity: { name: "share", data: { ... }, token: "..." } } Nov 10 15:06:07 Sorry, hadn’t been thinking concretely about this before today. Nov 10 15:06:10 :) Nov 10 15:06:14 Yeah, launchparam. Nov 10 15:06:26 the app then looks at launch params and detects there is an intent Nov 10 15:06:32 takes the token as identifier Nov 10 15:06:59 and calls com.palm.applicationManager/handleActivityResult on ls2 to mark the intent has handled or failed Nov 10 15:07:28 Hopefully, we can harmonize this with Just Type actions as well Nov 10 15:08:15 why not Nov 10 15:08:34 something like com.palm.applicationManager/findIntentHandlers { name: ..., type: ...} Nov 10 15:10:39 So, handler registration would be entirely through appinfo.json Nov 10 15:11:36 only issue I see with this is when the app does not handle the re-launch appropriately and original app waits for a response (probably blocking user input). But that's something we have to live with, right? Nov 10 15:12:08 Yeah, we need to think about failure modes. Nov 10 15:12:29 If there are no registered handlers, the service can immediately return a fail. Nov 10 15:12:53 Is there any inherent timeout on PalmBus requests? Nov 10 15:13:34 JS services have hard limits which you can set, but they don’t involve UI, and we don’t necessarily want ot follow them Nov 10 15:14:50 We should be advising app devs that an intent request might not return for a long time. Nov 10 15:15:25 Consider a request to “edit” an “image/jpeg” - that would take minutes, at least. Nov 10 15:16:15 morphis: pong for Saturday's ping :) Nov 10 15:17:30 In general, a client app should not block on an intent request. Nov 10 15:26:23 I don’t think we need a com.palm.applicationManager/findIntentHandlers { name: ..., type: ...} because the system handles selecting a handler - the client app never knows who handled the request. Nov 10 15:30:31 JaMa: somehow our build is running out of space Nov 10 15:30:35 can you look at it? Nov 10 15:30:42 I already cleaned up what I know about Nov 10 15:39:02 checking Nov 10 15:41:59 Ah, I’ve done more searching, and Web Intents are not activly being persued (due to lack of agreement). Mozila is implementing Web Activities for FFOS, but I see no sign of that gainign wider acceptance. So, we need something in the medium-term, and can’t wait for them. So, we should harmonize with those proposals where possible, but focus on what our users need and what makes sense in the webOS context. Nov 10 15:44:12 DougReeder: sounds good Nov 10 15:44:23 DougReeder: btw. can you start documenting what we have in the wiki? Nov 10 15:44:25 …and focus on the use cases not well served by direct app launch. Nov 10 15:44:29 Sure. Nov 10 15:45:00 Where should I link to this new page from? I don’t want it to get lost. Nov 10 15:46:45 link from Architecture? http://www.webos-ports.org/wiki/Architecture Nov 10 15:49:25 Herrie: for BorderImage, the border values refer to the image size, so it is necessarily in pixel Nov 10 15:50:01 Tofe: OK :) Just noticed that when I change those stuff breaks :P Nov 10 15:50:17 Other than that it looks slick on my N4 now with current PR Nov 10 15:50:44 Can you have a look to see if you can fit 1 or 2 font sizes in between medium and large? Nov 10 15:50:51 The gap is too big now :P Nov 10 15:53:47 Tofe: You have a Nexus GSM laying around or N7 only? Nov 10 15:55:44 morphis: I forgot to update luneos-testing now that the tmpfs should be in tmp-glibc instead of tmp-eglibc Nov 10 15:56:23 Herrie|Veer: I have a maguro Nov 10 15:57:28 Seems like you might want to try latest testing build again :P Nov 10 15:57:46 morphis said it MIGHT fix the boot issue :) Nov 10 16:00:16 oooh Nov 10 16:00:37 well, I'll first exterminate that vkbd bug Nov 10 16:00:55 Yeah :) Nov 10 16:02:28 morphis: btw, I'm failing to start luna-next outside of systemd... it exits saying "CRITICAL: 11:28:33.484: Failed to create display (No such file or directory)" Nov 10 16:02:33 morphis: any idea about that ? Nov 10 16:03:00 I've set all the env variables, and started luna-next with its options, like it should Nov 10 17:49:09 Morphis , Tofe , Garfonso , I’ve put a draft at http://www.webos-ports.org/wiki/Intents which covers my understanding of what we discussed. I’ve initially left out some parameters which appear to not be necessary for us. Nov 10 17:50:20 Key insight: it’s not useful to end users unless every app that handles a verb uses the same parameters. So the data object is defined per verb, not per handler. Nov 10 17:51:27 Also, a verb is not useful to end users unless ther is a handler, so a verb shouldn’t be “well-known” (in general) until there’s a system default handler. Nov 10 17:54:07 I forsee a short list of well known verbs with defined parameters, and a “wild west” of namespaced verbs, some of which, via consensus, become well-known with standardiszed data and semantics. Nov 10 17:54:45 (also, I haven’t written the part on client requests yet) Nov 10 18:42:47 Every PalmBus request returns a sucess or failure (which the requestor need not pay attention to). Subscribe is used where multiple responses get sent, such as continuing postion updates. I’m not currently aware of a verb that requires that. Nov 10 19:04:48 morphis: fyi: I'll introduce something like jenkins-job.sh for our builds, it will live in webos-ports-setup repo Nov 10 19:23:50 Anyone know where the list of appParam for built-in webOS apps is? Nov 10 19:26:20 https://developer.palm.com/content/api/reference/application-apis.html Nov 10 21:12:54 Dang, there’s a lot that needs to be worked out for every single verb. Nov 10 21:36:35 DOugReeder: Nobody said it was easy to build an OS :P Nov 10 21:36:48 :-S Nov 10 21:37:58 Main problem here, is that it seems at first easy to specify the data for a verb, so it will be all too easy to jump to premature standardization. Nov 10 21:40:22 “share”, in particular, seems so easy. But then you have to ask, is it the same verb and data to share a picture or send a tweet? Nov 10 21:44:00 DougReeder: i'm kind of glossing over much of the most recent conversation (i was looking to see if there was ever a response to the background uri problem, but i didn't see it) .. but .. as a fyi.. apparently lunabus supports a signaling mechanism Nov 10 21:44:32 What kind of signalling mechanism? Nov 10 21:44:55 apparently, things can trigger luna signals, which are then sent out to anyone who's subscribed to them Nov 10 21:45:36 I think handlers will register using appinfo.json, and receive appParam, like for Just Type. Nov 10 21:46:08 you may have more questions like "what kinds of things?" and i'm thinking.. i don't really know. as it's been explained to me, it's a bit like "anything can trigger a signal, and anything can listen for a signal, and none of it requires that any specific dependent service be running" Nov 10 22:03:18 DougReeder: it was you with the background image problem right? did you figure that out? Nov 10 22:03:50 Yup, surrounding it with quotes fixed it. Nov 10 22:04:05 That shouldn’t make a difference, but it does. Nov 10 22:04:28 I plan to fix a few more things in Contacts before submitting a PR. Nov 10 22:35:55 DougReeder: You're testing on TP or N4 or both? Nov 10 22:36:13 Just N4 so far, but I’ll check TP before I PR. Nov 10 22:37:27 Could you test one of my PR's on TP with LuneOS? My dev TP has broken digitizer after a water incident :P Nov 10 22:38:30 Sure. Nov 10 22:39:05 You need latest testing build for this ;) Nov 10 22:39:11 I’m not sure what I’m running on the TP - I intended to put Black Eye on it, but I don’t remember if I got around to it. Nov 10 22:39:12 Then: https://github.com/herrie82/luna-next-cardshell Nov 10 22:39:28 Testing = after Black Eye ;) Nov 10 22:40:02 It's the device menu reworked for Units.gu instead of hard coded pixels, looks a lot better on N4 (not mini anymore) but no clue how it looks on TP :P Nov 10 22:40:34 Do I need to build it? I’m not quite sure how to set to build a certain github branch. Nov 10 22:40:42 No ;) Just download Nov 10 22:41:09 Unpack, go to dir then use adb push to push it to the right location ;) Nov 10 22:41:57 adb push qml /usr/palm/luna-next/shells/card/qml Nov 10 22:42:07 Restart Luna-Next and you should be OK ;) Nov 10 22:42:25 Doesn’t need building? Nov 10 22:42:40 No, our QML stuff can just be pushed to device :D Nov 10 22:42:48 It's not compiled into a binary as such ;D Nov 10 22:42:49 :D Nov 10 22:43:06 So it's quick to test :D Nov 10 22:49:02 Original vs Units.gu version: http://tinypic.com/r/24mfczk/8 Nov 10 22:49:16 Might wanna work a bit on transparency still it seems, but well ;) Nov 10 22:49:47 301 files pushed. 0 files skipped. Nov 10 22:49:50 :D Nov 10 22:50:23 Luna-next restart gives me a white screen. Nov 10 22:50:39 Then you don't have latest testing build ;) Nov 10 22:50:57 That one includes something in luna-next to allow touching outside of the app menu Nov 10 22:51:04 Without it you will get a white screen, I had the same ;) Nov 10 22:51:05 Herrie: I can give it a test this afternoon on my TP Nov 10 22:51:19 thrrgilag: Also great Nov 10 22:51:28 DougReeder: let me see if there's a simple binary to push:P Nov 10 22:51:58 Herrie: I belive it's a .so file and probably the luna-next binary as well Nov 10 22:52:03 Yeah Nov 10 22:52:06 don't know what all else is linked that would depend on it Nov 10 22:52:06 Found it in /usr/sbin Nov 10 22:53:36 DougReeder: You got mail Nov 10 22:53:42 I think that might sort it Nov 10 22:53:58 thrrgilag: Saw screenshot? Nov 10 22:54:06 Looks a lot better on N4 properly scaled :D Nov 10 22:54:38 Not your update no Nov 10 22:54:54 just the ones following my initial push Nov 10 22:55:14 See: http://tinypic.com/r/24mfczk/8 Nov 10 22:55:22 That's yours v.s. Units.gu adjusted one :D Nov 10 22:55:42 Images need some tlc but will get our graphics guy onto that Nov 10 22:55:52 24px needs to be upscaled and recreated a bit ;) Nov 10 22:55:57 So they look a bit ugly now ;) Nov 10 22:56:08 how do I install the luna-next file? Nov 10 22:56:21 Ah yes, screenshot looks much better Nov 10 22:56:23 adb push luna-next /usr/sbin Nov 10 22:56:46 And a reboot, might fix it no clue ;) Nov 10 23:02:40 Should this make the keyboard labels on N4 larger, also? Nov 10 23:03:03 Don't think so ;) Nov 10 23:03:06 Didn't touch that Nov 10 23:03:16 Bummer. Nov 10 23:03:50 Well that's something quite easy to fix I think Nov 10 23:03:55 Just the labels? Nov 10 23:04:12 Yeah; they’re too small for my middle-aged eyes. Nov 10 23:05:04 https://github.com/webOS-ports/webos-keyboard/blob/master/qml/keys/key_constants.js Nov 10 23:05:27 https://github.com/webOS-ports/webos-keyboard/blob/master/qml/keys/key_constants.js#L20 even Nov 10 23:05:35 Change that 2 into 3 or 4 and you should be OK ;) Nov 10 23:05:42 Question is where to push it on device, let me check Nov 10 23:09:37 I installed latest testing (& kernel), skiiped through 1st use, and the system appeared to be running. Nov 10 23:09:44 Yeah Nov 10 23:09:46 Just kb is broken Nov 10 23:09:49 Tofe is looking into that Nov 10 23:09:57 Pushed lune-next to /usr/sbin and am restarting. Nov 10 23:10:23 testing = big upgrade of core stuff like QT ;) Nov 10 23:11:11 Do i need to do “adb push qml /usr/palm/luna-next/shells/card/qml” again, now? Nov 10 23:12:13 Okay, I’ve successfully rebooted with the new luna-next, now what do I look at? Nov 10 23:13:59 301 files pushed. 0 files skipped. Nov 10 23:14:33 Luna-next restarted; it looks the same. Nov 10 23:14:47 How does the system menu look? Nov 10 23:15:01 What system menu? Nov 10 23:15:17 upper right corner Nov 10 23:15:17 There doesn’t appear to be one. Nov 10 23:15:30 Gotta go, dinner is ready. Nov 10 23:15:33 Sorry. Nov 10 23:15:45 no worries, i'll take a look shortly and report back Nov 10 23:23:34 I'm off to bed, need to get up in 5 or so hrs, tomorrow window replacements in our apartment ;) Nov 10 23:24:10 Herrie: fun, I'll catch you later and let you know Nov 10 23:25:24 Thnx **** ENDING LOGGING AT Tue Nov 11 03:00:00 2014