**** BEGIN LOGGING AT Fri Dec 30 03:00:01 2016 Dec 30 05:11:14 DougReeder: https://bpaste.net/show/e0b93ea3b609 Dec 30 05:11:22 But it sent it 3 times in the end Dec 30 05:11:34 Flashing latest stable now to verify Dec 30 05:11:34 Hmm Dec 30 05:13:02 How many DB8 records are there for the message? Dec 30 05:14:18 DougReeder: Already flashed now Dec 30 05:14:36 I didn't set my country properly in FirstUse before so that might impact somehow Dec 30 05:14:43 Let me try with clean slate Dec 30 05:14:49 Could just be one off hickup Dec 30 05:17:09 The first two lines of the log correspond to lines 222 and 240 of ThreadView.js Dec 30 05:21:19 IIRC, there was a race condition between putMessageRspns and updating the global thread collection. Dec 30 05:22:24 Replying to an eixting thread shold be more reliable. Dec 30 05:23:08 DougReeder: Yeah replying was fine Dec 30 05:26:00 So, that log suggests the race condition is now a real problem. Dec 30 05:28:03 that branch has the comment: // the message threads are not in the global collection Dec 30 05:28:36 DougReeder: On stable it behaved Dec 30 05:28:47 Let me reflash it and try Enyo 2.7 one Dec 30 05:29:54 Is your N4 revived BTW? Dec 30 05:30:50 Not yet. I took it ot a shop, and they’ve reported that it appears to have more problems than a battery, as the screen backlight works. Dec 30 05:34:47 They didn’t have an N4 battery to swap in. Dec 30 05:44:16 That's not very helpful Dec 30 05:45:07 Chatthreader seems to behave now Dec 30 05:45:14 So I guess it was me being impatient Dec 30 05:45:31 The visual feedback is slow after you press send Dec 30 05:45:40 It looks liek it does nothing for 1-2 seconds Dec 30 05:45:47 Which might be confusing to user Dec 30 05:46:02 Yeah, I observed that. Didn’t that happen before? Dec 30 05:47:52 I think it did Dec 30 05:48:10 I don't see anything different with the 2.7 code so let's move forward with it Dec 30 05:48:14 Yeah, the screen doesn’t update until the DB8 watches fire. Dec 30 05:48:16 And pick things up from there Dec 30 05:49:09 I think we can add things directly to the colleciton, and the DB8 watch firing should just cause a redraw of the same data. Dec 30 05:52:45 Messaging will need some TLC in quite some areas eventually Dec 30 05:52:55 * DougReeder nods Dec 30 05:53:07 It's by far not as polished as Settings or Contacts Dec 30 05:54:09 If we can get IM working, we can start to dogfood. Dec 30 05:54:44 Well IM is mainly fixing some small bits Dec 30 05:54:54 Just need to figure out how :P Dec 30 05:55:50 Is IRC supported by our IM lib? Dec 30 05:56:19 Theoretically yes, however we don't have anything setup for it (i.e. template currently) Dec 30 05:56:38 What do we have templates for? Dec 30 05:56:40 EricBlade has SynIRC which I can get to work when I sideload legacy Messaging app Dec 30 05:56:53 ICQ, Skype, AOL, Yahoo Dec 30 05:57:00 Those should work in general Dec 30 05:57:06 I confirmed Skype & Yahoo Dec 30 05:57:12 I actually use Skype. Dec 30 05:57:16 ICQ & AOL can be a pain with certs Dec 30 05:57:33 With latest stable you should be able to add an account in Accounts Dec 30 06:00:12 Given that ICQ is now controlled by some shady Russians, I don’t put a high priority on that. Dec 30 06:00:36 It was broken before, but updated to latest plugin version and it worked for me Dec 30 06:03:43 Anyway, I’m off to bed. Dec 30 08:13:58 morning Dec 30 08:14:51 morning Dec 30 09:45:47 novaldex|away: ping Dec 30 10:00:32 Morning Dec 30 10:01:49 Herrie|Pre3: it looks like I broke the hwcomposer on TP, unfortunately. I think it has something to do with swtiching to the ubuntu's android headers, which are a little bit different from what we had, concerning the hwcomposer Dec 30 10:09:57 Tofe: hmmmm that's not good :P Dec 30 10:10:56 I'm wondering if the hwcomposer hacks we had in phablets-headers were not specifically done for TP Dec 30 10:11:18 Do you know what source was used to build our CM11 build for TP? Dec 30 10:11:45 I think it was jcsullins Android 4.4.x/CM 11 build. Dec 30 10:13:26 http://github.com/jcsullins Dec 30 10:13:38 nizovn: might know more as well Dec 30 10:13:47 And morphis... Dec 30 10:14:28 i though we use https://github.com/webOS-ports/android_device_hp_tenderloin/tree/wop-11.0 Dec 30 10:14:56 (i'm not sure), never compiled it myself Dec 30 10:15:58 Tore: Sorry I might be wrong, might actually be NewbyJE's bits since those support the 4G as well: http://github.com/newbyje Dec 30 10:16:47 our kernel have support for 4G and it's in shr-distribution/linux Dec 30 10:17:50 Tofe: The TP is a bit of a strange duck like all Palm/HP devices because they use dual framebuffer where Android doesn't I think. Dec 30 10:18:05 Not sure that has anything to do with hwcomposer though Dec 30 10:18:28 It would very well be Dec 30 10:21:30 I could go back to phablets-headers for TP, however I would need to adapt the generic .inc recipe and it would mean no upgrade to CM12.1 Dec 30 10:22:35 Or we could add a hack for the TP similar to what's in phablet-headers? Dec 30 10:22:51 Maybe, as a patch in the recipe Dec 30 10:23:32 There are just a couple of headers to patch Dec 30 10:23:36 (I think!) Dec 30 10:24:17 https://github.com/webOS-ports/phablet-headers/tree/master/hardware hwcomposer*.h Dec 30 10:25:00 You need to have CM11 branch for TP! Dec 30 10:25:24 ah yes Dec 30 10:25:35 ok, it's the same files Dec 30 10:25:49 I'll run a diff to see exactly what's the difference Dec 30 10:32:42 manifest.xml has 7 mentions of tenderloin Dec 30 10:33:17 And there's android-config_tenderloin.h Dec 30 10:33:29 That's the only tenderloin specific bits Dec 30 10:35:30 We have a patch in qt5-qpa-hwcomposer-plugin that takes care of QCOM_BSP similar to android-config_tenderloin.h Dec 30 10:35:33 I'll give a try with simply the hwcomposer merges Dec 30 10:35:38 So I guess that's what we need Dec 30 10:35:50 yup, I've included that one Dec 30 11:06:47 graphics up and running :) Dec 30 11:07:25 ... but no wifi :( Dec 30 11:12:04 Tore: On TP? Dec 30 11:12:08 yes Dec 30 11:12:09 Anything in logs? Dec 30 11:12:13 I'm looking Dec 30 11:12:15 Well it's progress :P Dec 30 11:12:26 ath6k is what you're looking for Dec 30 11:12:31 ah ok thanks :) Dec 30 11:12:37 Might be similar issue as Mako? Dec 30 11:12:43 oooh wait, I think there's another hack in the headers Dec 30 11:13:32 https://github.com/jcsullins/android-1/tree/cm11-mbm_3.0/patches <-- maybe in there Dec 30 11:15:24 Yeah seems hardware_libhardware_legacy.patch has most critical ones Dec 30 11:15:37 I.e. path for modules Dec 30 11:16:01 Ah there are more bits.... Dec 30 11:16:48 I'll just look at the headers; it should be there. I didn't modify our CM11 build at all, or the modules or the kernel. Dec 30 11:17:41 device_hp_tenderloin.patch has some relevant bits as well. Dec 30 11:21:06 I think I found the issue Dec 30 11:21:33 modprobe ath6kl --> "FATAL: Module ath6kl not found in directory /lib/modules/3.0.101-12915-g7cc80db" Dec 30 11:21:42 but I have /lib/modules/3.0.101-12919-gc31ea94 ! Dec 30 11:21:55 so it's "just" a bitbake issue I think Dec 30 11:23:07 Tofe: Yeah... We had some issues with this recently. Dec 30 11:23:20 For the release I pushed my local version. Dec 30 11:23:35 I've renamed the directory and I'm rebooting to see Dec 30 11:24:14 nizovn said he'll look for a permanent fix Dec 30 11:24:27 must be a dependancy missing somehow Dec 30 11:24:29 Because our current kernel updates are a PITA Dec 30 11:25:00 We know the cause & solution, but it's in meta-smartphone and needed JaMa to fix it :P Dec 30 11:25:45 wow, I've got several crashes in LNC Dec 30 11:25:50 (but I have wifi) Dec 30 11:27:25 GPU allocation errors, maybe I missed a gralloc patch in the headers Dec 30 11:28:24 yup, missed one QCOM_BSP. I'll run a grep to see if there are more of them. Dec 30 11:29:05 Tofe: It doesn't look bad, progress is quick :P Dec 30 11:29:13 should be all. Dec 30 11:32:00 well, it's just refactoring, after all, and changing the source for the header (but of the same android version) Dec 30 11:44:19 At least we'll be able to use a more unified approach :p Dec 30 11:44:28 I do hope so Dec 30 11:44:35 novaldex: seems issues.webos-ports.org doesn't work... Dec 30 11:57:06 all good! Dec 30 11:58:39 Knowing that I had CM12.1 installed besides luneOS, I thnk nizovn will be happy :) Dec 30 12:01:04 However, as the android API were hacked to have Android on the TP, it would be quite cumbersome to upgrade the underlying CM for that target, because we would have to take that special version of CM to build the hybris layer. And... I don't see the point :) Dec 30 12:01:21 For maguro, as it could help fixing the sound, it's maybe worth it Dec 30 12:01:40 For mako it was a PoC which now works, so let's just take it Dec 30 12:01:57 And for all the new ones coming, it should be actually easier to take CM12.1 :) Dec 30 13:02:38 Tofe: Yeah TP is a strange duck :P Dec 30 13:02:52 From what I've read CM11 is most stable anyway Dec 30 13:03:03 There are newer ones but not that stable. Dec 30 14:03:28 Herrie: Your patch to Settings' LanguageInput.js changes the capitalisation as well as the spelling of the setting concerned. Was that deliberate? All of the other this.keyboardState values start with a lowercase letter. (I doubt that it matters much.) Dec 30 14:04:53 Actually, it might matter. That structure is sent to a service call. Dec 30 14:14:41 elvispre: Oops you're right :) Dec 30 14:17:58 Should be fixed now :P Dec 30 14:19:29 Done Dec 30 14:24:59 * DougReeder checks in Dec 30 14:30:00 DougReeder: Had a missing appicon for Messaging but fixed that now. Dec 30 14:30:52 Ah? Which file had the problem? Dec 30 14:31:29 The icon.png was missing from the assets in package.json Dec 30 14:31:38 Huh. Dec 30 14:32:12 So I had a Luna icon in my image :P Dec 30 14:32:31 Oh, the app icon is in the root directory. Dec 30 14:32:49 good catch. Dec 30 14:33:05 Easy fix :P Dec 30 14:34:00 Along the way, I changed the favicon to be Messaging-specific. Nice for debugging in the browser. Dec 30 14:34:35 :) Dec 30 14:35:01 I'm trying to see if I can get the vkb word prediction & spelling correction to behave nicer Dec 30 14:35:13 That will be helpful. Dec 30 14:36:07 So various PR's for cosmetics (It says autocompletion now in Settings while Maliit actually does autocorrection. So addressed this with 4 PR's now :P Dec 30 14:36:51 I need to figure out how to do the word prediction. There's a screenshots on word prediction for webOS 3.0 Beta 1 on emulator. Dec 30 14:37:14 We can still turn autocorrection off, right? I hate it, on every platform, but a lot of people find it useful. Dec 30 14:37:20 For autocorrection & spelling can take from 2.2.x and 3.0.x should be fairly straight forward. Dec 30 14:37:36 DougReeder: It's turned off by default in Settings now Dec 30 14:37:42 :-) Dec 30 14:38:02 When it's polished UI wise can turn it on by default or add it to FirstUse :P Dec 30 14:38:34 Then, we’ll probably want it on by default. People expect it. Dec 30 14:38:47 Curmudgeons like me know to turn it off. Dec 30 14:39:54 We might add another button at the end of First Use, to go to Settings. As an alternative to just exiting First Use. Dec 30 14:41:13 Yup that might be good, otherwise First Use gets too much options Dec 30 14:41:27 * DougReeder nods Dec 30 14:44:26 And, *maybe* a button to launch Preware. Power users will probably need to use both Settings and Preware, but I suspect there’s a large class of users who want to install apps right away. Dec 30 14:44:54 When we can back up and restore profiles, apps can be auto-installed. Dec 30 14:47:34 Yeah that would be nice eventually. Implementing backup isn't rocket science it seems. Dec 30 14:47:41 Most bits are still there in the backend Dec 30 14:52:01 Herrie|Pre3: I guess it's fine to merge them all? Dec 30 14:52:59 I didn't see anything really wrong, so if no change has been forgotten, it should be fine Dec 30 14:53:08 Tofe: Yeah it's just cosmetics Dec 30 14:53:16 I double checked it 2 times Dec 30 14:53:20 So should be OK :P Dec 30 14:53:51 done Dec 30 14:58:36 Thanx, I might need some help at some point with the c++ part of webos-keyboard but will give a shout Dec 30 14:58:49 Herrie, I’m adding some source files to Messaging. Who holds the copyright, and what license is it under? Dec 30 14:59:55 DougReeder: What kind of files? Dec 30 15:00:04 JavaScript Dec 30 15:00:17 New kinds for the new address picker Dec 30 15:01:24 If you add source files you hold the copyright no? Dec 30 15:01:45 I can assign to whomever. Dec 30 15:01:55 The app itself is Apache 2.0 it seems Dec 30 15:02:01 Ok. Dec 30 15:22:51 Herrie|Pre3: for maguro's CM12.1, is there a particular source code for kernel+device that you would have in mind ? Or I just take the first trustable source ? Dec 30 15:23:18 (like https://github.com/Ziyann/omap ) Dec 30 15:31:49 Tofe: I'd prefer unlegacy-android but they don't have 12 based, only 11 and 13 :s Dec 30 15:32:19 well, anyway, we don't use much of CM Dec 30 15:32:23 ziyann seems a good source in general Dec 30 15:32:39 as the Plasma Mobile guys say, we could as well use AOSP directly Dec 30 15:33:18 Hmmmm :) Dec 30 15:33:24 That's interesting Dec 30 15:33:32 That's what they are doing? Dec 30 15:34:04 They are at least beginning to think about it Dec 30 15:34:11 :) Dec 30 15:34:18 http://www.phoronix.com/scan.php?page=news_item&px=KDE-Plasma-Mobile-AOSP-Talk Dec 30 15:35:35 Well it shouldn't be rocket science in general seeing we don't really use anything CM specific Dec 30 15:35:43 And often CM is based off AOSP as well Dec 30 15:37:32 exactly Dec 30 15:38:02 Just some targets don't have AOSP.... Dec 30 15:38:25 Like Tenderloin and maybe others... I know Google & Sony have but not sure about other manufacturers Dec 30 15:42:12 ah but there's this one https://github.com/CyanogenMod/android_kernel_samsung_tuna/tree/cm-12.1 I guess I should take it Dec 30 15:44:55 Herrie|Pre3: what does it mean when there is a tuna and a maguro device tree ? isn't tuna a specialized maguro ? Dec 30 15:47:02 Tuna = parent. Mauro = Child (GSM). There's also Toro (Verizon CDMA) and ToroPlus (Sprint CDMA) Dec 30 15:47:15 s/Mauro/Maguro Dec 30 15:47:19 ok, I just inverted the two Dec 30 15:47:28 The differences should be minimal anyway Dec 30 15:47:28 but I need both device trees I guess, then Dec 30 15:47:48 I compared them sometime and on Android side 2 files were different := Dec 30 15:47:50 :P Dec 30 15:48:09 oh well, we'll see Dec 30 15:48:10 Between Maguro & Toro that was if I excluded the carrier specific crap :P Dec 30 15:48:29 we don't have any support for toro right now, isn't it? Dec 30 15:49:25 Tofe: No but you can flash Maguro on Toro and it'll work mostly it seems :P Dec 30 15:49:33 ok :) Dec 30 15:49:34 We had someone in US testing this. Dec 30 15:49:59 Not sure if any of the other projects have ventured into obscure CDMA :P Dec 30 15:50:09 oFono supposedly supports it Dec 30 15:50:15 I don't know Dec 30 16:15:06 Anyway not that important :P Dec 30 16:15:23 If some US folks want they can always play with Toro :P Dec 30 16:24:02 I ... think I just built the hybris HAL layer for CM12.1 for maguro. Dec 30 16:24:19 :) Dec 30 16:24:24 That new method is really smooth Dec 30 16:24:28 That's pretty quick :) Dec 30 16:24:39 Practice makes it quicker LOL :P Dec 30 16:25:00 Now I still have to tweak the kernel to adapt it for luneos, but then it's quite finished Dec 30 16:26:12 Well that should be quite straight forward right? Dec 30 16:30:00 Herrie gettimeofday() is probably easiest, but is not particularly portable outside of Linux / possibly Unix in general ... and i realize i've been disconnected for hours since this discussion. Dec 30 16:34:34 EricBlade: Thnx will play around a bit. Dec 30 16:35:31 Herrie|Pre3: not as straightforward as I would like, but still quite easy. Dec 30 17:55:37 Hey, my N4 turns out to have a bad display board. An Amazon affiliate has apparantly-new N4s for $110. Can anyone reccomend a better place to buy one? Dec 30 18:09:36 Herrie|Pre3: pong, sorry for the delay, am away for New Years Dec 30 18:09:45 Herrie|Pre3: message received, investigating Dec 30 18:20:56 novaldex: No worries, no rush, just thought I'll give you a heads-up Dec 30 18:21:45 appreciated! do like to get everything right first time though.. Dec 30 18:34:31 Herrie: 'issues' may be back now, but please let us know if you still have issues (no pun intended!) Dec 30 18:48:31 Yup it's back Dec 30 18:48:40 DougReeder: I looked into the FirstUse issue with WiFi Dec 30 18:48:51 Seems it works with nivovn's new implementation just slower Dec 30 18:49:05 We had a Timer before that would run every 1 second Dec 30 18:49:22 We now have a subscribe call which seems to provide a return less frequent? Dec 30 18:49:54 Does the spinner appear right away? Dec 30 18:52:00 All we need is a spinner which appears when you enter your wifi password, and is hidden when connection is complete. Dec 30 18:52:14 It should be able to animate on its own. Dec 30 18:53:33 DougReeder: We never had a spinner for it in QML Dec 30 18:53:57 I remember something there. Dec 30 18:54:54 See the changes in qml/WiFiPage.qml: https://github.com/webOS-ports/org.webosports.app.firstuse/commit/ed072e9887645b6d549aa8f332a29028dc26812d Dec 30 18:55:29 Just seems that the Timer was quicker in giving a result back compared to the subscribe Dec 30 18:55:52 The WiFi icon gets updated right away, just the check after the SSID takes a little while Dec 30 18:55:59 It had a "connecting..." text I tink Dec 30 18:56:10 s/tink/think. No spinner Dec 30 18:56:23 novaldex: Yup back! Thn Dec 30 18:56:24 +x Dec 30 18:56:51 Oh, probably I’m remembering the “connecting…” text as a spinner. Dec 30 19:02:11 We need *something* there. Dec 30 19:02:38 Yeah Dec 30 19:02:48 Not sure the subscribe was the best solution here Dec 30 19:02:51 I'll debug a bit more Dec 30 19:03:48 DougReeder: Your N4 seems to probably have the same issue mine had :S Dec 30 19:04:02 Was yours fixable? Dec 30 19:04:05 I was able to return mine while it was still 2 weeks into warranty.... Dec 30 19:04:09 And got a full refund :P Dec 30 19:04:15 Ah, mine is well past that. Dec 30 19:04:26 Bought a 2nd hand off our local ebay clone + N5 for the money I got :P Dec 30 19:04:37 Not in the best shape, but it's fine Dec 30 19:04:54 Is an N4 still best for phone testing? Dec 30 19:13:50 DougReeder: For now yes Dec 30 19:14:01 We'll be looking into N5 at some point hopefully Dec 30 19:14:25 Tofe's been doing some legwork to make our porting process a lot more straight forward & in line with Sailfish guys Dec 30 19:14:30 So new porting targets should be easier Dec 30 19:15:00 * DougReeder nods Dec 30 19:15:49 Well, my N4 was bought used and worked fine for 2 years, can’t really complain. Dec 30 19:16:37 DougReeder: Yeah same for me... I paid EUR 175 for mine which was refurbished but got 2 year warranty on it and it died 2 weeks before that ran out and I got a 100% refund :P Dec 30 19:17:42 Oh, 2 weeks before end of warranty? Nice! Dec 30 19:22:33 DougReeder: Yeah, in EU we get 2 years by law ;) Dec 30 19:28:17 Herrie, is issues back? Dec 30 19:28:27 Works for me. Dec 30 19:28:33 DougReeder, thanks! Dec 30 19:31:48 ka6sox: Yeah for me too! Dec 30 19:31:57 Will we migrate to redmine sometime too? Dec 30 19:37:14 its on the upgrade path. Dec 30 19:38:37 OK :) Dec 30 19:38:53 Let me know in case there's some legwork that needs done Dec 30 21:32:14 mmh looks like I've gotten myself in a pretty serious bootloop with the maguro Dec 30 21:33:05 When starting my new luneos build I got a bootloop, but then I couldn't get back to fastboot or recovery Dec 30 21:33:27 so I've removed the battery, and now it only wants to start the Download Mode... Dec 30 21:40:33 ah, silly me, I completely forgot that on the gnexus I had to hold both vol+ and vol- Dec 30 22:16:45 Tofe: Yeah, also make sure you have the correct firmwares ;) Dec 30 23:45:07 DougReeder, good writeup! **** ENDING LOGGING AT Sat Dec 31 03:00:01 2016