**** BEGIN LOGGING AT Sat Sep 27 02:59:59 2014 Sep 27 04:50:29 * DougReeder waves hello Sep 27 04:51:40 Hey, http://webos-ports.org/wiki/Luna_Next_Remote_WebApplication_Debugging says I should launch my app using webapp-launcher, but that doesn’t appear to exist. Sep 27 06:26:36 morning Sep 27 06:26:59 DougReeder: sadly that is gone. But good news is that, at least in dev mode, remote debugging is always available Sep 27 06:27:13 just point the browser to the right url Sep 27 06:27:30 So, setup port forwarding using adb? Sep 27 06:28:58 ok, thanks! Sep 27 06:29:08 You might want to update that web page. Sep 27 06:30:06 Sorry, closed window by mistake Sep 27 06:36:34 is there any way to key a device on while it’s plugged into a USB port? Sep 27 06:38:07 DougReeder: Not sure I understand your last question Sep 27 06:38:36 The screen turns off every couple of minutes if I don’t tap something. Sep 27 06:39:14 Ah yes, not sure how you can change that.. Morphis might know Sep 27 06:39:43 There longest option in settings is 3 minutes Sep 27 06:40:12 Patch settings app :P Sep 27 06:40:15 It's Enyo 2 ;) Sep 27 06:40:38 Hmmm, that’s doable. Sep 27 06:41:54 Let me see if I can find some documentation ;) Sep 27 06:42:38 https://kylemaas.github.io/luna-sysmgr/com_palm_display_control.htm Sep 27 06:43:17 setProperty, onWhenConnected is what you're after it seems Sep 27 06:43:22 YOu can simply do a luna send it seems Sep 27 06:44:21 luna-send -n 1 -f luna://com.palm.display/control/setProperty '{ "onWhenConnected": true }' Sep 27 06:44:38 ADB shell into device and run above luna-send should do it according to docs ;) Sep 27 06:44:42 Trying it on my N4 now Sep 27 06:44:53 Might be good to add an option for it in Settings ;) Sep 27 06:46:40 Herrie: uhm.. I failed to edit the wiki-template.. ;) I wanted to add the path to the zip file here http://webos-ports.org/wiki/Template:Luneos_install but somehow device_codename is capitalized, which is wrong and not what I wanted? Sep 27 06:47:22 Using the Web Inspector, should the Sources tab works? When using Chrome, I got nothing on the Sources tab. Sep 27 06:47:37 Herrie: That should go under developer settings. Sep 27 06:47:51 Garfonso: We need a trick for that, have it somewhere to make it lowercase Sep 27 06:48:31 Lemme have a look, it's for this link: /tmp-eglibc/deploy/images/{{{device_codename}}}/webos-ports-dev-package-{{{device_codename}}}.zip ? Sep 27 06:49:14 yes Sep 27 06:50:37 Use: {{#lowercase:{{{device_codename}}}}} Sep 27 06:51:13 Huh, can see the source code under Resources tab Sep 27 06:51:27 DougReeder: hm.. somehow I don't get a connection right now. :-/ Will test that later. Sep 27 06:51:32 but I had sources once Sep 27 06:51:41 Mmm Sep 27 06:52:25 Herrie: Thanks. :) Sep 27 06:53:55 It was kinda annoying CM guys had the codenames all in lowercase which I didn't like ;) So we have them with proper cap at beginning and lowercase them where needed instead ;) Sep 27 06:56:35 When reinstalling an app, should I need to explicitly delete it before installing? Sep 27 06:58:30 DougReeder: nope. But you'll need to restart webapp manager Sep 27 06:58:42 Actually, what do I actually need to do to reinstall an app? Even if I delete then install, the files aren’t neccessarily updated. Sep 27 06:58:42 best is to restart luna-next, currently Sep 27 06:59:11 restart luna-next, just before runnign install? Sep 27 06:59:14 yes, webapp manager caches the apps... which I don't particularly like, but probably speeds up things Sep 27 06:59:31 no, restart luna-next whenever you want to run a new version Sep 27 06:59:37 copying the new files is sufficient Sep 27 07:00:26 damn, now it won’t launch at all. Sep 27 07:02:39 So, when an app is launched, it’s not reading the files from disk. Sep 27 07:09:33 Damn, I hate programming without a debugger. Sep 27 07:11:51 Oy, the media indexer is returning an albumPath property, and I’m expecting path. Let’s check the schema! Sep 27 07:14:24 Should Media Indexer schemas still be given by https://developer.palm.com/content/api/reference/data-types/media-indexer.html#albumimage ? Sep 27 07:16:32 DougReeder: I think Garfonso tried to replicate legacy MediaIndexer, so should work the same, in case it doesn't he might need to fix it :P Sep 27 07:17:02 But it was rewritten from scratch, so it can have bugs of course! Sep 27 07:18:21 And I don’t think Palm left us unit tests. Sep 27 07:44:43 Hey, it looks like the firewall service doesn’t exitst yet. Should I report that as a bug, or are whole services kept track of differently? Sep 27 07:44:46 Sep 27 07:42:30 tenderloin ls-hubd[443]: [] [pmlog] ls-hubd.public LSHUB_NOT_LSTED {"SERVICE_NAME":"com.palm.firewall","EXE":"/usr/bin/node","CMD":"com.hominidsoftware.zapphotoshare.http.service","APP_ID":"(null)","PID":2247} Service not listed in service files Sep 27 07:44:47 Sep 27 07:42:30 tenderloin ls-hubd[443]: Error: palm://com.palm.firewall/control {"subscribe":true,"rules":[{"protocol":"TCP","destinationPort":1234,"interfaceName":"wlan0"}]}: Service does not exist: com.palm.firewall. Sep 27 07:47:21 Never heard of that one before, what does it do :P ? Sep 27 07:47:56 Ah found ;) https://developer.palm.com/content/api/reference/services/firewall.html Sep 27 07:48:06 Seems like we need that one, just simple port forwarding right? Sep 27 07:48:23 I guess we allow all access for now, but not sure ;) YOu could try without setting the firewall rules Sep 27 07:48:30 Would be good to add though some point in future Sep 27 07:49:07 Lots of stuff were never open sourced so had/have to be rewritten from scratch :'( Sep 27 08:28:11 actually I only wrote the permission part of media indexer stuff. Let me see if I can fix that. Sep 27 08:32:08 what is an album image? Sep 27 08:42:14 ok.. hm.. so now I changed it... how do I compile that? *scratches head* Sep 27 09:49:27 morphis: I now have a build system setup again. Is there a way I can rebuild a single package (lets say mediaindexer) and where does the binary (or whatever) go? Sep 27 09:49:42 morphis: also my image won't boot on my mako. :( Sep 27 09:56:04 Garfonso: as for me, I do MACHINE=qemux86 bitbake -b meta-webos-ports/recipes-webos/mediaindexer/mediaindexer.bb -f -c compile, after that rebuild image, it will rebuild only mediaindexer. Sep 27 10:11:52 Garfonso: With the image from http://build.webos-ports.org/luneos-stable-staging/wip/images/mako/ I get a boot loop on Mako Sep 27 10:13:10 So might be something wrong with the latest code somehow Sep 27 10:14:34 Though I don't think anything shocking should have changed Sep 27 10:15:47 I'll download various images from the last week and see where it breaks Sep 27 10:16:52 Quite sure 19th still worked Sep 27 10:34:29 19th is OK Sep 27 10:40:49 21st OK too Sep 27 10:47:52 23rd too Sep 27 10:53:45 So working: webos-ports-dev-package-mako-20140919184655-testing-0-20.zip, webos-ports-dev-package-mako-20140921224224-testing-0-21.zip, webos-ports-dev-package-mako-20140923114116-testing-0-22.zip. Not working (boot loop): webos-ports-dev-package-mako-20140924102906-testing-0-24.zip and webos-ports-dev-package-mako-20140926222344-025-51.zip Sep 27 14:51:44 Herrie , thanks. Sep 27 14:55:15 The com.palm.firewall service just opens a port in the firewall. No port forwarding, alas; that’s why Zap uses port 1234 Sep 27 14:58:05 I think we might be open without it, you can try to simply disable the call? Sep 27 14:58:13 We'd need to implement it sometime i'm sure ;) Sep 27 14:58:36 I’ll tak a look at implementing it; I’m not yet set up to build LuneOS. Sep 27 14:58:52 Yes, I can disable the call in zap Sep 27 15:00:02 * DougReeder smiles “I HOPE we’re not open without it - that would be rather insecure” Sep 27 15:00:43 Or, given that anything can request a hole in the firewall, perhaps not so much. Sep 27 15:02:23 Yeah LOL Sep 27 15:02:30 Lots of stuff needs implementing Sep 27 15:02:45 I'm not sure IF we have a firewall or not, could be we have, no clue... Sep 27 15:02:57 We haven't done thorough testing on legacy apps yet Sep 27 15:03:13 I tested a few that worked, but didn't test anything fancy like Zap yet Sep 27 15:03:18 I’m guessing that the Linux process implementing the firewall can also do port forwarding, so maybe we can add that, also. Sep 27 15:03:54 We focussed more on getting the system up and assumed legacy stuff should work (which it does remarkably in many cases ;)) Stuff that doesn't we add as we go;) Sep 27 15:05:26 * DougReeder nods Sep 27 15:06:10 Bother, I need to figure out what to return through a future. Sep 27 15:07:33 In that halcyon day when we’re ready to implement something new, we need to allow ES6 promises, instead of the weirdo Futures. Sep 27 15:12:47 I imagine a proper firewall service would check with the user before opening a port in the firewall. Given that the firewall service wasn’t implemented until webOS 2.2, that may have been in the plan. Sep 27 15:13:59 Yeah could be Sep 27 15:14:12 We have lots of things already but some are obviously lacking Sep 27 15:14:50 We try to use available open source bits, taking things from Jolla/Ubuntu and other projects where possible (though they don't do EVERYTHING in the open AFAIK, while we do ;)) Sep 27 15:15:34 It’s great that you geys have gotten it close enough to usability, that developer like me can say ‘Okay, I could implement that one thing important to me’ Sep 27 15:16:15 Yeah ;) Still lots of ground to cover, but in the last 6 months we have made leaps of progress on many areas Sep 27 15:18:28 Next big things would be telephony + messaging. Some stuff for that is already in the works :) Sep 27 15:19:30 ok, I’ll have to did deeper to figure out how to comment out the firewall call - and I’ve got family stuff to do. Sep 27 15:19:57 ;) Sep 28 01:45:29 morning **** ENDING LOGGING AT Sun Sep 28 02:59:59 2014