**** BEGIN LOGGING AT Tue Feb 03 02:59:58 2015 Feb 03 07:55:45 morphis: PR'd and merged latest changes from Cage1___ for threads + date sorting order. You just need to pick it for meta-webos-ports Feb 03 07:57:15 Herrie: thanks Feb 03 07:57:17 changelog is pushed now Feb 03 07:57:19 seems like I forgot that yesterday but thought I did it Feb 03 07:57:21 Herrie: you tested those changes? Feb 03 08:51:46 Herrie: thanks for the corrections Feb 03 08:54:48 Herrie: btw. the sounds PR doesn't work as it should yet Feb 03 08:55:20 when volume up/down is pressed this is reported more than once so you get the sound played multiple times when you just did a single change to the volume Feb 03 08:55:36 have a change to fix that but that will not be included in americano Feb 03 08:56:21 morphis: Yes tested Messaging fixes Feb 03 08:57:01 Works OK now, just need DB watches for realtime updates + notification of new message arrival. Feb 03 08:57:24 morphis: Volume on N4 always jumps multiple steps somehow for me Feb 03 08:57:28 Not sure why Feb 03 08:58:00 Herrie: btw. the sounds PR doesn't work as it should yet Feb 03 08:58:00 when volume up/down is pressed this is reported more than once so you get the sound played multiple times when you just did a single change to the volume Feb 03 08:58:06 Even after fixing the step to 11. Could be something on deeper OS level Feb 03 08:58:07 have a change to fix that but that will not be included in americano Feb 03 08:58:22 morphis: Yes saw that Feb 03 08:58:45 that will fix the multiple step jumps Feb 03 08:59:02 Don't think the sounds itself are the problem but N4 volume handling itself. It always jumped multiple with me even before the sounds ;) Feb 03 08:59:16 Didn't test on TP but that was better I think? Feb 03 08:59:30 Need to put latest on my TP4G tonight Feb 03 09:00:14 Herrie|Veer: that is what I said I've fixed Feb 03 09:00:24 we were reporting a key event multiple times to QML Feb 03 09:00:35 Ah OK :) Feb 03 09:00:57 So that would be the same across all targets then... Feb 03 09:42:31 Herrie|Veer: right Feb 03 09:59:37 morphis : Hi ... rut ? Feb 03 10:03:54 djichthys: hey Feb 03 10:08:28 Hi morphis ..... do you have any objection to expanding the nyx headers ? Feb 03 10:08:39 Ive got a compilation error .... Feb 03 10:08:55 https://github.com/openwebos/nyx-lib/blob/master/include/public/nyx/common/nyx_led_controller_core_configuration_common.h#L120 Feb 03 10:09:21 this is actually defined within a C file ..... Feb 03 10:09:31 https://github.com/openwebos/nyx-lib/blob/master/src/device/nyx_led_controller_core_configuration_impl.c#L30 Feb 03 10:09:48 but I need it to do various tricks with the LED s Feb 03 10:10:12 and it seems stupid to be re-defining it in every C file where it is needed .. Feb 03 10:11:50 djichthys: let me look Feb 03 10:12:58 djichthys: aren't there get/set methods to deal with that struct? Feb 03 10:13:07 nyx_led_controller_core_configuration_get_param Feb 03 10:13:13 nyx_led_controller_core_configuration_set_param Feb 03 10:13:48 djichthys: if you use those you don't really need the struct Feb 03 10:14:05 morphis : yes there are ....... but when actually implementing it in the execute function, I need that structure to know what the execute has been asked to do ..... Feb 03 10:14:44 djichthys: so you get an instance of nyx_led_controller_core_configuration_handle_t passed, right? Feb 03 10:15:21 yes .... Feb 03 10:16:05 djichthys: and on the client side nyx_led_controller_execute_effect is called? Feb 03 10:16:22 yes , it is ....... Feb 03 10:16:36 the client is actually passing in the effect structure to us ..... Feb 03 10:17:08 within the effect, there is a core-configuration ..... Feb 03 10:17:23 which is not defined within the header, .... Feb 03 10:17:49 I see Feb 03 10:18:51 djichthys: but wouldn't be a nyx_led_controller_core_configuration_get_param(effect.core_configuration, NYX_LED_CONTROLLER_CORE_EFFECT_BRIGHTNESS, &myBrightness) enough to access the struct? Feb 03 10:18:54 its just typedef'd so the compilation error was not observed so far .... I tried to de-ref the core-config elements and the compiler threw up a wobbly Feb 03 10:19:53 djichthys: I think that is the way the nyx API was designed Feb 03 10:20:05 never access the struct directly but always through the get/set functions Feb 03 10:20:36 Ahhh .... ok then ...... my-bad ..... will restructure accordingly. Feb 03 10:20:41 :) Feb 03 10:20:50 djichthys: how far are you already? Feb 03 10:21:10 I can easily get it to blink .... but the nyx api calls for a lot of tricks. Feb 03 10:21:27 :) Feb 03 10:21:37 and that is not available from android HAL . Feb 03 10:22:09 so have to think about calling a separate pthread in detached state to do stuff ... Feb 03 10:22:54 things like double pulses and timed pulses etc etc. Feb 03 10:23:30 djichthys: either you do that or you take the assumption that you always run within a glib mainloop Feb 03 10:24:31 djichthys: and I would say lets do one effect first, maybe NYX_LED_CONTROLLER_EFFECT_LED_PULSATE Feb 03 10:25:01 then submit what you have done so we get that integrate and then we can continue working on other effects depending on if we need them or not Feb 03 10:25:12 doesn't make sense to implement effects we're not using Feb 03 10:26:14 Thats easy enough ... almost done that within hybris .... jsut changing the test app to take cmd-line options ... just need to change the nyx-hybris modules to use get/set functions Feb 03 10:26:24 ok Feb 03 10:26:49 Would you want the simple stuff as a single pull request ? Feb 03 10:27:35 yeah Feb 03 10:28:19 djichthys: as next step we need to bring https://github.com/openwebos/luna-sysmgr/blob/master/Src/base/CoreNaviLeds.cpp back Feb 03 10:28:33 morphis : ok .... will try to get it to you in the next 1-2 days then Feb 03 10:28:41 yeah :) Feb 03 10:29:12 A bit busy at work otherwise I could have done it quicker ...... Then will try to implement the other stuff . Feb 03 10:29:38 no problem, we all have to do a lot other stuff beside this :) Feb 03 11:07:00 nizovn: you came already forward with the vibration module? Feb 03 11:08:56 i can vibrate it, now think how to make it periodically Feb 03 11:09:14 :) Feb 03 11:09:29 nizovn: you can do that either via threading Feb 03 11:09:47 but you can also assume that your nyx module runs within a GLib mainloop Feb 03 11:09:54 that way you can use g_timeout_add Feb 03 11:10:08 yep, trying now Feb 03 11:48:13 morphis : ping ... Feb 03 11:49:51 djichthys: pong Feb 03 11:50:19 Is there some structure where the client can pass in RGB values for the LED Feb 03 11:50:32 in nyx? Feb 03 11:50:42 android supports it, but I cant find a nyx structure for led controller to support it Feb 03 11:50:45 yes Feb 03 11:52:20 djichthys: doesn't look like nyx supports that Feb 03 11:53:50 Ive hardcoded the RGB values to RGB[200,200,200]. so we get it white .....like the pre3 Feb 03 11:53:55 ok Feb 03 11:54:03 we can optimize that later Feb 03 11:54:12 ok cheers .... thanks Feb 03 11:54:31 np Feb 03 12:40:05 morphis: not sure what "effect id" is for : https://github.com/webOS-ports/nyx-lib/blob/master/include/nyx/client/nyx_haptics.h#L59-89 ? vibrator can make several effects in the same time? Feb 03 13:22:53 morphis/Cage1___: ping Feb 03 13:23:10 Seems I cannot create a gh-pages branch for latest messaging... Feb 03 13:24:07 The symbolic link '/app/enyo/tools/node_modules/.bin/nopt' targets a file which does not exist within your site's repository Feb 03 14:03:57 nizovn: at the same time will be not possible Feb 03 14:04:21 hm but you're right Feb 03 14:04:26 the API supports that Feb 03 14:05:02 nizovn: but queueing them doesn't make sense, right? Feb 03 14:06:44 Herrie|Veer: pong Feb 03 14:08:58 morphis: on my TP the new ones are simply overwrite previous, but on pre3 they seems to be independent Feb 03 14:10:26 nizovn: so you have two effects running at the same time? Feb 03 14:10:34 on pre3 yes Feb 03 14:10:48 nizovn: btw. webos 2.x and 3.x doesn't use nyx Feb 03 14:13:45 morphis: do i need to implement simultaneity and "dampening_factor". seems, this is possible, but pretty challenging Feb 03 14:15:07 oops, ? Feb 03 14:15:24 nizovn: they used something different in that Feb 03 14:15:36 and refactored between 3.x and the openwebos release to nyx Feb 03 14:15:56 nizovn: depends on what we would need it for Feb 03 14:16:27 I would keep it simple for the first shot and then see where we use effects for and what are the requirements for that Feb 03 14:37:50 morphis: The symbolic link '/app/enyo/tools/node_modules/.bin/nopt' targets a file which does not exist within your site's repository Feb 03 14:38:07 While trying to create gh-pages branch for messaging Feb 03 14:38:36 puuh Feb 03 14:38:45 that is a bit out of my knowlege Feb 03 14:41:14 morphis: what do you think about small vibration in nyx_module_open? Feb 03 14:41:49 in nyx_module_open? Feb 03 14:42:20 when module open, on boot, to vibrate as on legacy Feb 03 14:44:42 ah Feb 03 14:44:52 nizovn: no, don't do that in nyx_module_open Feb 03 14:44:58 ok Feb 03 14:44:59 we should trigger that as normal API call Feb 03 14:48:17 Herrie|Veer: set of stable builds are mostly there, can you give them a shot today? Feb 03 15:00:46 Will do that tonight when home Feb 03 15:03:09 Herrie|Veer: thanks Feb 03 15:03:28 Any specifics to focus on? Feb 03 15:50:32 Herrie|Veer: just checking if everything is fine and not obviously broken Feb 03 15:56:27 ok Feb 03 16:20:55 nizovn: merged both Feb 03 16:21:05 thanks Feb 03 16:21:05 nizovn: can you send a PR for meta-webos-prots too? Feb 03 16:21:18 ok Feb 03 17:44:15 nizovn: thanks! Feb 03 17:44:31 nizovn: will you continue implementing the other effects or want something different? Feb 03 17:48:53 you mean "ringtone",etc.? i tried them in webos, and seems they require dampening_factor. if we need effects, i can work on them, for now my idea is to use PWM for it. Feb 03 17:51:19 nizovn: maybe we should write together a list of effects we need and for what we need them first Feb 03 18:00:25 so maybe i can work on nyx_sensor_rotation then? Feb 03 18:16:37 nizovn: oh yeah Feb 03 18:16:43 nizovn: sensors will be a bit tricky Feb 03 18:17:36 nizovn: basically the game is the same as with vibration Feb 03 18:17:52 but we have to think a bit more about the architecture Feb 03 18:31:03 morphis: Sounds seem to be missing in LNC Feb 03 18:31:22 You sure you bumped LNC? Feb 03 18:34:04 Herrie: didn't I said I didn't included them? Feb 03 18:34:14 until I fix the key events sounds doesn't work Feb 03 18:34:21 they are played multiple times in a row Feb 03 18:37:32 Herrie: they are completely crippeled Feb 03 18:38:14 I understood the fix wouldn't be included but the sounds would be :P Feb 03 18:38:23 I could disable the volume ones for now? Feb 03 18:38:34 Anyway I'm fine to include in next release too Feb 03 18:38:45 Just need to assign ticket to next release instead Feb 03 18:38:55 please do that Feb 03 18:39:04 want to have that fully working before we include it Feb 03 18:41:31 Herrie: sorry, but I think its better this way Feb 03 18:50:33 morphis: Sure no worry Feb 03 18:50:43 This volume bug was a tricky one :P Feb 03 18:50:54 Needed fixing on multiple levels, the 11 step was also part of it Feb 03 18:51:06 So audio service, QML + your fix ;) Feb 03 18:52:24 :) Feb 03 18:52:41 Herrie: will work a bit on the phone app in the coming month Feb 03 18:56:03 :) Feb 03 18:57:26 If Tofe could fix the vkb bug that would be good Feb 03 18:57:35 It's quite a pain in Messaging and Memo's currently ;) Feb 03 18:59:27 yeah Feb 03 18:59:30 Tofe: ^^ Feb 03 18:59:41 Herrie: anything special you want to do this month? Feb 03 19:00:47 I can work a bit more on first use I guess Feb 03 19:00:52 + some LNC tweaking Feb 03 19:01:00 Might start with internationalization? Feb 03 19:02:15 internationalization or localization? Feb 03 19:42:28 Herrie: working on it Feb 03 19:47:42 Tofe, Herrie: I have a QML DB8 model pending here which already works quite nice Feb 03 19:48:54 oh, that's nice Feb 03 19:49:10 you mean, you implemented some DB8 behaviors? Feb 03 19:51:24 Tofe: just querying with watches Feb 03 19:51:41 read-only then? Feb 03 19:52:21 Tofe: https://github.com/webOS-ports/luneos-components/blob/db8model/modules/LuneOS/Application/plugin/db8model.cpp Feb 03 19:52:24 Tofe: yeah Feb 03 19:52:38 but can be extended when needed Feb 03 19:53:30 nice Feb 03 19:56:08 morphis: localization/internationalization Feb 03 19:56:19 Multi languages/time/date formats basically Feb 03 19:57:24 Herrie: ok, but both should be handled separately Feb 03 19:57:47 for localization we need to find a way to do this accross enyo/qml/.. Feb 03 19:59:35 Yeah I'm probably not the best to get this initially setup, but I could do lots of the legwork in the actual translations/values etc Feb 03 20:04:47 Herrie: right Feb 03 20:06:09 Herrie: thought about using https://crowdin.com/ for that Feb 03 20:06:50 the tricky thing will be to get all thrings out of our apps Feb 03 20:12:04 Herrie: but there is something you can evaluate if you want Feb 03 20:12:14 for internationalization Feb 03 20:12:19 enyo uses ilib Feb 03 20:12:29 http://www.jedlsoft.com/ Feb 03 20:12:45 we need to see what we have in QML and if we maybe can use ilib in QML too Feb 03 20:13:34 One thing I learned from internationalizing Outline Tracker is that you have to do it really well, or not at all. Feb 03 20:14:30 Clear English is much more useful to people than a confusing mishmash in their language. Feb 03 20:15:41 We should establish a lexicon for each language, so, for example, “card” is always translated the same way. Feb 03 20:18:55 It’s best to not mix languages (thought that’s not fatal). So, we should focus on one area at a time: system messages, then each of the built in apps individually. Feb 03 20:19:46 DougReeder: good points Feb 03 20:20:57 I’ll unearth my German lexicon, when I get some time. Feb 03 20:21:55 Oh, here it is. Hurrah for universal search! Feb 03 20:23:13 DougReeder: good that we have people from different countries here: US, french, german, netherlands, ... Feb 03 20:23:26 * DougReeder nods Feb 03 20:23:35 DougReeder: I would like to use the ilib resource bundle format as base for translations Feb 03 20:23:42 it is pretty simple Feb 03 20:23:48 That sounds good Feb 03 20:24:57 DougReeder: the hardest thing will be to extract all strings from our apps Feb 03 20:25:20 Yeah, unfortuanately not everone one does that by default. Feb 03 20:30:19 I can get someone for Italian for sure too Feb 03 20:30:24 Spanish not sure but maybe too Feb 03 20:30:34 Russian we can get done too ;) Feb 03 20:30:38 We got nizovn :P Feb 03 20:30:42 + my Mrs :P Feb 03 20:32:04 I’ve created a wiki page for the German lexicon at http://webos-ports.org/wiki/German_Lexicon Feb 03 20:33:13 I’m thinking there shoud be a page listing the lexicons, linked from the left side navigation menu. But I’m not sure how you add something to that menu. Feb 03 20:33:24 DougReeder: I can sort that Feb 03 20:36:49 Looks like I never collected a Spanish lexicon Feb 03 20:39:43 Well in general I could scape the legacy JSONs ;) Feb 03 20:40:31 * DougReeder nods “But note they are not always consistent” Feb 03 20:40:59 In particular, “scene” get translated idfferent ways in different places. That was careless of Palm. Feb 03 20:44:36 Well we can fix that Feb 03 20:44:53 But scraping is a quick way of getting the info Feb 03 20:45:04 And then address the inconsistencies when we work through them Feb 03 20:45:24 * DougReeder nods Feb 03 20:45:43 I’ve started a Spanish lexicon at http://webos-ports.org/wiki/Spanish_Lexicon Feb 03 20:52:16 Will have a look and see if I can start a Google Spreadsheet or something for it, english and then columns with translations for the different languages + where they originate from (LunaSysMgr, App, which app etc) Feb 03 21:04:09 I’ve created the top-level Lexicons page at http://webos-ports.org/wiki/Lexicons How do I insert it in the navigation menu? Feb 03 21:05:51 Ehm there was a special page for that Feb 03 21:06:03 Need to search for it too Feb 03 21:11:21 http://webos-ports.org/wiki/MediaWiki:Sidebar ? Feb 03 21:11:53 I don’t have permission to edit that. Can you update it? Feb 03 21:32:05 UNder developer resources? Feb 03 21:33:16 OK below UI & Reference Apps now Feb 03 21:41:25 ok, I give up for today. morphis, do you remember if we integrated the setMask patch to qtwayland, in the end? Feb 03 21:46:44 I was thinking in Developer Resources Feb 03 21:47:38 Thanks! Feb 03 21:54:31 I apologize for changing my mind, but I’m thinking we should change the Lexicons page to a general Internationalization page. So it will have general stuff on I18N and L10N, and links to the L10N files in GitHub. Feb 03 22:02:51 I can do that Feb 03 22:02:54 Let me change it Feb 03 22:03:55 Done Feb 03 22:04:16 Let me know which pages you created for i18n and l10n so I can add those as items as well Feb 03 22:16:57 Sorry, I guess I wan’t clear. Feb 03 22:17:11 I have moved the Lexicons page to http://webos-ports.org/wiki/Internationalization Feb 03 22:17:41 I think all we need is that page in the Develeper Resources section. Feb 03 22:24:46 I’m sorry to create more work for you. Feb 03 23:20:42 DougReeder: Done Feb 04 01:12:14 Thank you! **** ENDING LOGGING AT Wed Feb 04 02:59:58 2015