**** BEGIN LOGGING AT Tue Apr 12 02:59:58 2016 Apr 12 03:33:44 Andolamin, pong Apr 12 05:12:16 morning Apr 12 05:12:48 Good evening :-) Apr 12 05:14:11 Figuring out the dozen most common HTML character entities may not have been the best use of an hour of my life. Apr 12 05:17:50 But, it beats some of the stuff I do at work. Apr 12 05:27:42 DougReeder: What you needed that for? Apr 12 05:28:09 Serene Notes backup up HTML as Markdown. Apr 12 05:28:30 …backs up... Apr 12 05:29:57 So the notes are useable elsewhere, and if you need to stop using Serene Notes for any reason, you can still access your notes. Apr 12 05:30:38 For example, I use it as a Chrome App at work, but those were blocked for a month an a half. Apr 12 05:30:56 I could still read the backup file. Apr 12 05:32:52 I’m working to make the backup file cleaner. Apr 12 05:33:55 Serene was originally written for Firefox OS, where there was no copy and paste, so there weren’t many HTML tags to deal with. Apr 12 05:35:40 I figured I was unlikely to revisit character entities again any time soon. Apr 12 05:36:21 Ah I see Apr 12 05:38:08 Finding character entities is one thing that regular expressions are excellent at. Apr 12 05:40:03 Yup ;) Apr 12 05:40:06 I love RE's ;) Apr 12 06:54:08 Morning! Apr 12 07:10:57 morning Apr 12 07:38:06 Tofe: ping Apr 12 07:38:11 Herrie|Veer: pong Apr 12 07:54:12 Since you know Qt a lot better. There are some #ifdef MEEGO_EDITION_HARMATTAN in the c++ code. How does this work? If I pass this as parameter in Qmake? Apr 12 07:55:30 I just pass MEEGO_EDITION=harmattan to qmake? Apr 12 07:55:57 And then the ifdef will be true? Apr 12 08:12:34 Herrie|Veer: it is a symbol for the C preprocessor; if it is not defined, then the code is completely ignored from the compilation until #endif of #else Apr 12 08:12:46 but... that was not the actual question, was it Apr 12 08:13:04 you can send defines to qmake, yes Apr 12 08:13:59 qmake DEFINES+="MEEGO_EDITION_HARMATTAN" Apr 12 08:15:29 Tofe: OK, so that's different from contains(MEEGO_EDITION, harmattan) as seen in the .pro file right? Apr 12 08:15:39 Just trying to get my head around it... Apr 12 08:15:56 Because if it's different that explains why my code didn't work :P Apr 12 08:18:21 Yes, it's different Apr 12 08:18:55 OK :) Apr 12 08:20:18 I the .bb I can just add this to the EXTRA_QMAKEVARS_PRE ? Apr 12 08:22:06 I currently have MEEGO_EDITION=luneos in there which works fine for my stuff in the .pro file. I would then add another line with DEFINES+="MEEGO_EDITION_LUNEOS" and it should work? Apr 12 08:22:50 I guess I can just as well change MEEGO_EDITION into something more logical for us. Since the things I check are LuneOS specific anyway :P Apr 12 08:24:31 I'll leave their checks with MEEGO_EDITION untouched, just change our checks to something that makes more sense. Apr 12 08:42:41 Herrie|Veer: defining MEEGO_EDITION_LUNEOS won't trigger anything in the code, as there isn't any "#ifdef" corresponding to that Apr 12 08:43:32 Tofe: Not yet :P Apr 12 08:43:34 just make sure MEEGO_EDITION_HARMATTAN isn't defined, and that MEEGO_EDITION doesn't contain "harmattan". If could be undefined, for example Apr 12 08:43:54 well, depends on how much you need to customize it Apr 12 08:44:11 Tofe: Well I basically want to use Prelude as font :P Apr 12 08:44:17 It currently uses something else. Apr 12 08:44:33 I could patch it but this would be a nicer solution probably. Apr 12 08:44:40 Just so we can use upstream :P Apr 12 08:46:36 Will check with upstream devs if they're happy to take our changes first. But if it doesn't impact them they should be OK with it I guess :P Apr 12 08:55:22 I guess so Apr 12 09:03:00 Just trying to come up with something that allows us to build upstream & drop patches where possible. Apr 12 09:03:14 Got another 2 questions :) Apr 12 09:03:55 1. There's no easy way to check in QML for QMake params right? Only in C++? Apr 12 09:06:18 2. There's also no way for conditional imports in QML right? Apr 12 09:06:52 I mean that certain imports would only be done for Meego and some only for LuneOS. It's not a big issue just wondering Apr 12 10:47:55 1. QMake is just a make tool, meaning you could think of a way to generate at build time a dedicated QML source file, whichi would be included by another QML file Apr 12 10:49:13 2. wrong, look at https://github.com/webOS-ports/luneos-components/blob/master/modules/LuneOS/Telephony/libphonenumber-wrapper.js Apr 12 10:49:37 It is possible to include a JS file from within an included JS file Apr 12 10:53:12 Tofe: I'm more looking at making our LuneOS Components import and the com.meego ones optional depending on the target platform. Apr 12 10:54:44 Ah... not sure how to achieve that, indeed Apr 12 10:55:37 Tofe: me neither. I guess I let bb just patch it. Apr 12 10:55:51 And replace their import with ours. Apr 12 10:56:07 But you could think of some preprocessing triggered by qmake, like a mycomponent.qml.in Apr 12 10:59:04 Right now I would go with a bb patch, frankly Apr 12 11:06:46 Herrie|Veer: I can help you with the MR before you push it to Mer, if you want :) Apr 12 11:11:04 Tofe: Yeah I'll wrap some things up maybe later tonight. Need to play a bit more. Apr 12 11:36:39 Tofe: It seems it will be fairly straightforward probably, just need to test a few things first Apr 12 13:35:31 Tofe: You know how I can find out where Page.qml from LuneOS Components is used? It's not in FirstUse it seems or Browser. Apr 12 13:38:06 Herrie|Veer: we don't have that many qml apps: browser, firstuse, phone, cardshell. Maybe it was created and never used? Apr 12 13:38:49 Tofe: Yeah might be phone though. Apr 12 13:39:03 morphis created it about a year ago. Apr 12 13:39:10 Need to check that one then. Apr 12 13:39:30 Just need to change something there for Fingerterm and don't want to break other stuff Apr 12 13:43:05 It isn't a very impressive component :) Apr 12 13:43:44 Tofe: Seems we use BasePage in FirstUse and Phone. Apr 12 13:44:28 BasePage isn't a LuneOS Component, it's specific to these apps Apr 12 13:44:39 So, looks safe to modify Page Apr 12 13:45:29 Page is provided by com.nokia.meego 2.0 normally. So it's good we have it already and seems more or less fit for purpose. I'll provide a simple PageStackWindow.qml in LuneOS Components and we're good to go QML wise :) Apr 12 13:45:49 For the rest it's a matter of tweaking Fingerterm & bb it seems :) Apr 12 13:45:55 ok Apr 12 13:48:14 Need to test it on TP and Maguro still though Apr 12 13:48:23 But qemu seemed to behave :) Apr 12 14:06:33 Herrie|Veer: btw unstable now points to korgoth branches and there is successful build already Apr 12 14:06:54 Herrie|Veer: but I've switched back to upstream systemd and pulseaudio, so it's expected to fail to boot on some MACHINEs Apr 12 14:11:46 JaMa: OK, I'll give it a go. Apr 12 16:58:09 Tofe: ping Apr 13 01:43:29 elvispre, ping? **** ENDING LOGGING AT Wed Apr 13 02:59:58 2016