**** BEGIN LOGGING AT Sat Feb 14 02:59:58 2015 Feb 14 04:12:48 Garfonso, could you please double check that using https://github.com/webOS-ports/org.webosports.app.contacts/pull/13 lets you create a contact on device that gets synced to the back end? Feb 14 04:13:20 And have you had a chance to check whether setting upa C+DAV account on the TP works for you? Feb 14 04:16:33 Are MD5 hashes for the binaries available somewhere? I’d like to verify that they downloaded okay. Feb 14 09:11:57 DougReeder: which binaries? Feb 14 09:27:49 Herrie: calendar app still fails to build: https://bpaste.net/show/e7f7c707b304 Feb 14 09:42:55 morphis I guess it's App.js vs app.js again Feb 14 09:43:09 possible Feb 14 09:45:03 Herrie: closed firstuse and calculator PRs Feb 14 09:53:13 morphis: about the pin window, simply don't set the 'pin' card type if you see we are in first use; that should be easy to determine, isn't it? Feb 14 09:56:08 hm Feb 14 09:56:17 need to try that Feb 14 09:56:35 would mean I change the window type of an existing window but could work Feb 14 09:56:54 ah, maybe it would be too late to change it Feb 14 09:58:16 morphis: something I'm not quite sure about: in first use, the pin window would be opened by the first use app, correct? Feb 14 09:58:35 (meaning, we don't start the phone app) Feb 14 10:00:58 Tofe: my idea was to open the phone app Feb 14 10:01:09 but putting that into the first use app could be an alternative Feb 14 10:01:16 then we don't really need a separate window Feb 14 10:01:22 didn't thought about that yet Feb 14 10:01:41 the tricky part would be to write the pin window code only once Feb 14 10:03:38 morphis: but if you start the phone app from first use, can't we just send a parameter saying we want a "first use mode"? I guess it's possible to specify the window type at creation, because it already does it with dashboard and so on (but the API is maybe not available to the apps) Feb 14 10:04:46 A disgraceful fallback would be to have a dedicated path for "phone app window + first use" in the compositor Feb 14 10:08:00 hm Feb 14 10:08:14 Tofe: we could do that Feb 14 10:08:38 phone app currently keeps running all the time because it sets the keepAlive property of its main window to true Feb 14 10:09:17 if we start the phone app from first use on first step manually with a special parameter and then create only the SIMLockWindow with keepAlive=false that could work Feb 14 10:09:26 morphis: changing the window type after creation will really mess things up, I think; we should avoid it Feb 14 10:09:39 phone would get destroyed when the SIM lock window is closed and we can safely restart the phone after first use Feb 14 10:10:00 like that Feb 14 10:10:17 yeah, looks good Feb 14 10:10:23 good Feb 14 10:10:40 and first use is a one shot action, so it's not very impacting anyway Feb 14 10:10:41 Tofe: btw. thought that we really need some QML launcher which improves the startup time Feb 14 10:11:27 something like a luna-qml-launcher instance launched on boot and then preloads things and forks once it gets a signal from a newly started luna-qml-launcher instance or over ls2 Feb 14 10:11:50 morphis: I needed to restart my build, so I've not yet tested my cardshell changes on device, but there are good chances that it is very usable Feb 14 10:12:21 including for first use Feb 14 10:12:34 ok Feb 14 10:57:33 morphis: seems like my changes don't introduce regressions. I'll start the PR. Feb 14 11:12:16 morphis: https://github.com/webOS-ports/meta-webos-ports/pull/114 Feb 14 13:19:09 iogangster: We can use some help with backend stuff as well :) Feb 14 13:19:25 morphis is our main lead for LuneOS development, he can tell you what you could help with :) Feb 14 13:19:29 excellent Feb 14 13:19:46 morphis: : i’m more of a backend engineer for this thing, c++, v8, iojs, chrome/blink Feb 14 13:19:47 as far as what devices to run on? or is most work still done on emulators for the moment Feb 14 13:20:02 We have emulator, Touchpad and Nexus 4 currently Feb 14 13:20:16 also interested in UI customization Feb 14 13:20:19 We also have a build for Nexus GSM and Nexus 7 2012 but those are currently broken until someone fixes them Feb 14 13:20:24 WE use a lot of QML for UI Feb 14 13:20:38 i had a stock linux with framebuffer / xorg boot on a nexus s Feb 14 13:20:57 This is the latest: http://build.webos-ports.org/luneos-testing/images/qemux86/luneos-dev-emulator-qemux86.zip Feb 14 13:21:07 Emulator/VirtualBox Feb 14 13:21:11 Gives you an idea Feb 14 13:21:14 so i might be able to help w/ ports, not that i actually have any hardware i can flash a custom recovery too right now for that matter -.- Feb 14 13:21:29 will try that Feb 14 13:21:40 We recently implemented SMS messaging (still in initial stage) and morphis is now working on getting telephony working Feb 14 13:21:43 QML being used now? is enyo2 still around? Feb 14 13:21:56 Enyo 1 can run though it might need some performance tweaks Feb 14 13:22:01 Enyo 2 runs great and quickly Feb 14 13:22:17 i remember that enyo 1 ran on that qt platform that did a lot of cached rendering Feb 14 13:22:19 Currently we have Clock + Email in Enyo 1 from what HP open sourced Feb 14 13:22:31 All other apps are either Enyo 2 or QML Feb 14 13:22:33 ah hm Feb 14 13:22:40 Browser, firstuse, phone app are QML Feb 14 13:22:59 The whole UI is QML as well, so the cards,launcher etc Feb 14 13:23:00 ah not a bad choice then Feb 14 13:23:03 hmm Feb 14 13:23:14 UI was completely rewritten from scratch almost Feb 14 13:23:27 any insight as to why? Feb 14 13:23:49 Since legacy UI open sourced by HP made use of the dual buffer that no other hardware uses, so there are no dual buffer drivers for any Android device basically Feb 14 13:24:08 So instead of fixing that UI was rewritten which also meant a lot of legacy stuff could be dropped Feb 14 13:24:13 We re-used a bit but not much ;) Feb 14 13:24:31 Currently we have some guys working on backend hardware support like led, bluetooth, sensors etc Feb 14 13:24:34 legacy UI wasn’t mostly html then i take it? Feb 14 13:24:55 The 2.x was HTML mainly, 3.x was C++ QT Feb 14 13:25:00 We use QML QT ;) Feb 14 13:25:09 With a few plugins Feb 14 13:25:15 seems to me like it would make a lotta sense to port stuff over from androids HIL and rhil, in theory it would make porting much easier Feb 14 13:25:30 at least that’s what i was planning on doing Feb 14 13:25:42 QT is awesome Feb 14 13:25:56 It is, without any knowledge I was able to put a browser together quickly Feb 14 13:26:04 It's not flawless but it works quite well :) Feb 14 13:26:16 Enyo learnign curve is quite a bit steaper Feb 14 13:26:37 We use libhybris that's developed by the Jolla/Sailfish/Mer guys and also used by Ubuntu Touch Feb 14 13:26:50 So lots of stuff is being reused from their projects as well where feasible :) Feb 14 13:26:57 i’ve been building this ui framework Feb 14 13:27:05 and form builder / widget kit for desktops Feb 14 13:27:17 i’ve always been trying to build shit like that.. Feb 14 13:27:40 libhybris basically allows us to use the Android hardware/drivers in another OS :) Feb 14 13:27:43 but has anybody thought about using react or something similar so far? Feb 14 13:27:45 ahh Feb 14 13:27:51 i remember hearing about that Feb 14 13:27:58 So we have a stripped down Android + our bits :) Feb 14 13:28:24 huh. surprised there arent as many ports then Feb 14 13:28:34 what about android app compatibility? any research there? Feb 14 13:28:42 No we haven't looked into that yet Feb 14 13:28:48 starting the vm no Feb 14 13:28:49 w Feb 14 13:28:49 All solutions are commercial so far Feb 14 13:28:59 looks nice Feb 14 13:29:00 I didn't try VM for a while, it might be a little slow Feb 14 13:29:09 yea i had seen there was one for palm devies Feb 14 13:29:10 But could be the bugs are sorted already ;) Feb 14 13:29:22 ACL, yeah but it was buggy as hell :P Feb 14 13:29:27 seems a little bit iffy Feb 14 13:29:38 It was released for Touchpad, but I didn't use it for long Feb 14 13:29:42 It just made it unstable Feb 14 13:30:32 trying to get thru the setup process on the vm Feb 14 13:30:41 stuck at select your country, list wont load Feb 14 13:30:41 We've been mainly focussing on adding features and getting stuff to work, porting to additional targets is "relatively easy" Feb 14 13:30:48 yea true that Feb 14 13:30:50 Hmmz it should let me try Feb 14 13:31:01 I wrote some code for that but only tested on a real device Feb 14 13:31:06 seems like some lag so maybe its my hardware for some part of it Feb 14 13:31:17 It takes 1 second on my N4 Feb 14 13:31:18 but it hasnt stopped responding Feb 14 13:31:22 the country list just doesnt load Feb 14 13:31:27 and boot up was fast Feb 14 13:31:32 but it did just skip it Feb 14 13:31:38 at timezone Feb 14 13:32:17 okay now in the actual os Feb 14 13:32:20 seems much faster Feb 14 13:33:02 preware app is pretty broken lol Feb 14 13:33:09 It should work in general Feb 14 13:33:16 I'm downloading the emu as well Feb 14 13:33:22 okay Feb 14 13:33:23 I have a Nexus 4 so I play with that mostly Feb 14 13:33:30 any hardware keys i should know about? Feb 14 13:33:31 I haven't tried emulator in months Feb 14 13:33:32 yea i would too lol Feb 14 13:33:57 I think the same like legacy, home, end, insert, delete, esc not 100% sure Feb 14 13:34:01 Let me try again Feb 14 13:34:18 Everything we do is 100% open source and out in the open ;) https://github.com/webOS-ports/ Feb 14 13:34:28 good stuff watching that Feb 14 13:34:36 The first use app can be found at https://github.com/webOS-ports/org.webosports.app.firstuse Feb 14 13:35:02 So in case you have suggestions for the performance for the countries + timezone, we're happy for pull requests :D Feb 14 13:35:54 Installing VIrtualBox Feb 14 13:36:03 So network will drop for a second again Feb 14 13:36:11 okay ill be here Feb 14 13:37:23 OK starting emu now Feb 14 13:41:47 Ok seems I need to enable some stuff in my bios, going to reboot brb Feb 14 13:45:50 iogangster, in general any JavaScript framework, like React, should be usable. Feb 14 13:46:28 The main constraint is that we’re not using the latest webkit. Newer than webOS, but still not latest. Feb 14 13:46:56 So, for example, famo.us doesn’t run at 60fps. Feb 14 13:48:39 OK emu works now :) Feb 14 13:48:44 Morphis, the image I want the MD5 for is http://build.webos-ports.org/releases/americano/images/tenderloin/luneos-dev-image-tenderloin.tar.gz Feb 14 13:48:48 Country list is indeed slow Feb 14 13:49:02 DougReeder: I always use DownThemAll download manager in Firefox for download Feb 14 13:49:13 Regular download quite often gives me corrupt images Feb 14 13:49:20 Hmmm Feb 14 13:50:08 iogangster: Home and End seem to be the keys that work Feb 14 13:50:23 For opening launcher and switching cards to card/full screen mode Feb 14 13:52:55 DougReeder: md5 is on the same path: http://build.webos-ports.org/releases/americano/images/tenderloin/luneos-dev-image-tenderloin-20150203141804-stable-032-56.rootfs.tar.gz.md5 Feb 14 13:54:20 nizovn: You might have an idea for performance tweak for countries + timezones in FirstUse Feb 14 13:54:32 Code works fine in general, just takes too long before list appears ;) Feb 14 13:56:57 Herrie: i have old emulator, will download too. there is strange situation with keyboard: if you focus on justtype than keys will start working, but home/end stop Feb 14 13:57:20 Strange Feb 14 13:57:47 nizovn: I implemented country + timezone selection based on MCC but the list of countries takes 1 second on N4 + timezones too Feb 14 13:57:56 Probably something small to fix, but I'm poor coder LOL :P Feb 14 13:58:23 Ah, the file names are cut off. Feb 14 14:00:37 ok, the image downloaded fine. Is anyone else able to add accounts ona TP with Amercano, without the device rebooting? Feb 14 14:09:59 i haven’t had it be very usable yet Feb 14 14:11:34 the default settings were a lil wonky for my macbook Feb 14 14:11:46 increasing ram and switching to x64 arch seems to have helped Feb 14 14:12:08 although a lot of basic interactions are still quite lagged Feb 14 14:14:48 the slower apps keep making it unstable Feb 14 14:14:54 and i have to reset it Feb 14 14:15:04 doesn’t seem like that big of a problem with QT apps Feb 14 14:15:09 mostly the enyo ones having trouble Feb 14 14:15:42 last time i was in here there was some progress on a chromium/qtwebengine integration, is this using that? Feb 14 14:24:26 sorry i talk a lot Feb 14 14:36:22 Herrie: seems you wanted "!" here: https://github.com/webOS-ports/org.webosports.app.firstuse/blob/master/qml/CountryPage.qml#L141 . 1 second can be explained as it is default interval for timer. :) Feb 14 14:46:49 morphis: ping Feb 14 14:54:30 so uh Feb 14 14:54:43 what was that whole HP deal to run webos on any desktop? Feb 14 14:54:53 none of that open sourced i bet.. Feb 14 14:55:10 that said it doesn’t seem like it would be *too* difficult no? Feb 14 15:16:40 nizovn: Hmmz that might be, let me try that Feb 14 15:19:22 iogangster: They open sourced quite a bit (working OS in general) - telephony + messaging, sensorts, bluetooth etc Feb 14 15:19:41 But pretty much all other backend stuff was open sourced Feb 14 15:19:47 yea i have looked thru some of it at one point or another Feb 14 15:20:09 its all getting old at this point but i had a look at the qt backend (for rendering webapps) and the lunasysmgr Feb 14 15:20:17 although when it was first released it was pretty hard to navigate Feb 14 15:28:26 Yeah Feb 14 15:28:34 Lots has been rewritten by morphis ;) Feb 14 15:29:00 Basically the lunasysmgr we use is a stripped down version without UI and we have luna-next-cardshell for the new UI ;) Feb 14 15:30:04 yee been looking at that Feb 14 15:34:14 nizovn: That doesn't work, seems I might need to use WorkerScript in order to first show the list and then select the right item afterwards somehow because fetching country based on mcc seems to just take a while... Feb 14 15:45:55 Herrie: what doesn't work? ^^ this can't explain why you have lag on timezones Feb 14 15:46:53 err Feb 14 15:46:57 why can’t this data be cached? Feb 14 15:58:29 nizovn: It seems that the call to get the mcc and the associated country takes a while to complete Feb 14 15:58:37 When I add the ! it doesn't show the list at all ;) Feb 14 15:59:20 iogangster: Well I need to select an index it seems.. Need to figure out if I can select by value somehow Feb 14 16:00:04 checking it out Feb 14 16:01:44 hmm Feb 14 16:02:51 i need to get qt stuff up and running for this / dev env Feb 14 16:05:04 i wonder if javascriptcore could be switched out for v8 Feb 14 16:05:07 in qml Feb 14 16:05:12 I use Qt Creator on my Windows machine ;) Feb 14 16:05:16 .. i mean it was done w/ webkit Feb 14 16:05:47 oh dope well i have a win build dedi atm i can use w/ that Feb 14 16:05:50 will dl Feb 14 16:06:05 if the js engine could be switched out tho Feb 14 16:06:11 could integrate iojs directly with qml Feb 14 16:06:27 there are other ways to do that as well but, yknow that could be cool Feb 14 16:15:48 Herrie: btw why do you need timer? Feb 14 16:50:38 nizovn: I'm open for another suggestion ;) Feb 14 17:01:05 Herrie: i can't understand logic why timer is used. it used to show list if mcc failed to load in 1s or ..? Feb 14 17:24:27 Herrie: may I have a look at that timer thingy Feb 14 17:40:23 nizovn: Because when I don't wait for the mcc to be fetched, it wouldn't select the country Feb 14 17:40:42 I guess I could fetch MCC on previous page already and put it in the .pragma variable ;) Feb 14 17:40:47 Tofe: Yeah you can Feb 14 17:41:45 do yall remember this Feb 14 17:41:46 http://systems.cs.columbia.edu/projects/cycada/ Feb 14 17:43:29 past all the newfangled terms they’ve managed to come up with Feb 14 17:44:27 my best guess is that they built some automatic tools for extracting xnu functionality and injected it into the linux kernel somehow Feb 14 17:45:36 ah this what i was looking 4 Feb 14 17:45:36 http://www.cs.columbia.edu/~alduaij/docs/pp-asplos2014-cider.pdf Feb 14 17:45:48 exactly what i figured lol Feb 14 17:58:20 http://systems.cs.columbia.edu/files/wpid-asplos2014-cider.pdf Feb 14 18:46:01 iogangster: This is cool stuff, but I doubt we have enough Android bits available in LuneOS currently to be able to run this... Feb 14 18:46:06 We cannot eve Feb 14 18:46:14 n run Android apps themselves yet :P Feb 14 18:47:32 well yea its kind of a Feb 14 18:47:38 seriously technical solution Feb 14 18:47:47 i’ve been researching (reading this whole damn paper as we speak) Feb 14 18:47:53 like they say it is straightforward.. sorta Feb 14 18:47:59 but it involves hardcore patching the kernel.. Feb 14 18:48:08 Tofe: I guess we could simply add NetworkIdCountryMapper in the language page instead of country page, add something to store mcc in https://github.com/webOS-ports/org.webosports.app.firstuse/blob/master/qml/NetworkIdCountryMapper.qml#L43 as well Feb 14 18:48:13 giving me some ideas tho :p Feb 14 18:48:21 That might work ;) Feb 14 18:48:39 But I'm happy to take any PR's for improvement ;) Feb 14 18:48:56 The code currently works on my N4, just could be quicker... 1s wait for country is a little bit of a pain :P Feb 14 18:49:05 Logics otherwise for the timezone is quite nice :) Feb 14 18:49:42 you said you have this running on windows right? Feb 14 18:49:45 i just installed qt creator Feb 14 18:50:05 Yeah in general runs on windows Feb 14 18:50:25 Just when there are luna-calls to stuff that's only on device it doesn't return anything Feb 14 18:50:30 So you'd need to add some mock data Feb 14 18:50:34 I didn't do this yet Feb 14 18:51:06 thats all good Feb 14 18:51:12 what about launcher and stuff? Feb 14 18:51:20 That has some dummy stuff Feb 14 18:51:24 It's the luna-next-cardshell Feb 14 18:51:36 browser = org.webosports.app.browser Feb 14 18:52:39 You can test that on the desktop, Tofe develops luna-next-cardshell mainly and he does it on the desktop mainly what I understood Feb 14 18:55:24 morphis is working on the phone app currently, his work can be found in the following branch: https://github.com/webOS-ports/org.webosports.app.phone/tree/qml-app Feb 14 19:08:42 Note that the desktop cardshell version is a bit broken on the master branch right now, but a PR for fixing that is waiting Feb 14 19:24:30 Herrie: sorry I had guests, didn't have time to analyze this timer yet, but will do ! :) Feb 14 19:25:11 Herrie: the problem is that if you don't set the Timer, then you don't get the mcc, right ? Feb 14 19:34:15 memphis actually writes libhybris? Feb 14 19:34:40 morphis Feb 14 19:34:41 my bad Feb 14 19:35:34 iogangster: yes, he's an active contributor, since pretty much the beginning Feb 14 19:35:41 very interesting Feb 14 19:37:08 I've made some patches too when it was a young project, but now I'm just following a bit what happens here and there Feb 14 19:37:59 yea i just read the egl header generator Feb 14 19:38:21 so is there an actual abi compatibility layer Feb 14 19:38:24 or how does that work Feb 14 19:39:05 is it a shared library for both bionic and libc somehow Feb 14 19:39:52 ah reading more into hybris now Feb 14 19:40:29 this android_dlopen thing Feb 14 19:42:56 yes, it's based on a little hack in the loading of the android libraries Feb 14 19:43:09 well, a big hack, we could even say Feb 14 19:44:03 the android linker is modified so that it calls some custom hooks at each library loading, and the hook eventually redirect the calls to libc when needed Feb 14 19:45:06 ah thats interesting Feb 14 19:45:18 def wanna look more into how that works Feb 14 19:45:27 theres a patch somewhere i imagine? Feb 14 19:45:31 :) have fun Feb 14 19:45:38 a patch ? Feb 14 19:45:41 for the linker Feb 14 19:45:48 thats published right Feb 14 19:46:01 it's all on github yes Feb 14 19:46:04 cool Feb 14 19:46:12 libhybris/libhybris Feb 14 19:46:38 at one point a couple years back i compiled a linux/android kernel for the nexus s, got android running with native framebuffer after enabling it (and some other stuff) Feb 14 19:46:54 but i remember there was no opensource native egl driver or even wayland working at that point Feb 14 19:46:58 glad hybris is around now Feb 14 19:47:23 yes, it opened the road for us, Jolla and Ubuntu -- at least Feb 14 19:49:11 Of course having open drivers would change our life, but there's nothing like that right now (and nothing coming shortterm), so... Feb 14 19:52:11 screw ubuntu Feb 14 19:52:24 virtually taking credit for that project Feb 14 19:52:56 Herrie: for the mcc, when you tried without the Timer, when did you call 'fetchAvailableRegions' ? Feb 14 20:22:14 Tofe: I don't remember to be honest Feb 14 20:23:14 You can see the differences between morphis' original and mine here: https://github.com/webOS-ports/org.webosports.app.firstuse/commit/5ed449fa25451661d79f9795fc608fa2f5c958d5 Feb 14 20:23:46 Line 92 in the original Feb 14 20:32:08 Tofe: OK I fixed it I guess Feb 14 20:34:52 Let me reflash, push code and test Feb 14 20:34:56 Then will PR Feb 14 20:35:05 Removing the timer and moving some other bits around seems to work Feb 14 20:35:47 reasonable to run webos on a galaxy nexus? Feb 14 20:36:01 can probably go out and cop one for cheap Feb 14 20:36:41 iogangster: Our build broke once we updated openembedded about 6 months ago Feb 14 20:36:56 SOmeone would need to debug it in order to get it back to life Feb 14 20:36:59 Are you in the US? Feb 14 20:37:07 i have the $20 android phone from LG, the realm but it doesnt have an opensource bootloader Feb 14 20:37:10 or like, recovery** Feb 14 20:37:13 If you’re aquiring hardware for LuneOS, a Nexus 4 is really the thing to get. Feb 14 20:37:15 yea i am actually Feb 14 20:37:23 kinda broke atm Feb 14 20:37:40 .. like bad. otherwise i wouldnt think twice about grabbing one Feb 14 20:37:45 needed an android for a while Feb 14 20:38:21 Expansys had refurbished Nexus 4's a while ago, but seems those are gone Feb 14 20:38:31 what do they go for? Feb 14 20:39:08 They wen't for 149 and 169 for 2 different versions Feb 14 20:39:19 But they're gone it seems Feb 14 20:39:39 my lg realm has root.. but no recovery research done that ive seen Feb 14 20:40:03 if anyone has any ideas on reverse engineering that idc if the phone gets bricked Feb 14 20:40:05 only cost $20 Feb 14 20:40:57 well actually iono kinda need that one, guess most of my projects now are using cordova tho so nbd Feb 14 20:43:12 if it wasnt cdma only (vendor lock in to the max) thatd be a cool phone to target Feb 14 20:43:17 its AMAZING for the price. Feb 14 20:44:05 http://www.imei.info/phonedatabase/15183-lg-ls620-realm/ Feb 14 22:10:48 Herrie: looks like you're completely against putting ";" in JS ;) Feb 14 22:12:39 In the cardshell I put them when there's more than one expression (just to explain the logic) Feb 14 22:23:52 Tofe: It's the Qt Creator code formatter that removes them :P Feb 14 22:26:01 I put them initially but the formatter by default removes them with standard settings :P Feb 14 22:53:49 oh, didn't know. What a nasty little boy :) Feb 14 23:27:36 Tofe: OK think I got a fix Feb 14 23:27:58 I removed the timer, moved the mcc bit to the LocalePage Feb 14 23:28:04 And fixed some bugs in the code Feb 14 23:33:38 Will do PR in the morning **** ENDING LOGGING AT Sun Feb 15 02:59:59 2015