**** BEGIN LOGGING AT Mon Aug 27 02:59:58 2012 Aug 27 05:23:06 * rwhitby does not think it's acceptable for LunaCE to go to beta without the crypto thing being fixed, since not doing so will break existing Mojo apps. Aug 27 08:26:42 folks Aug 27 09:09:44 morning Aug 27 09:15:33 hi markus Aug 27 09:18:41 hey rrix Aug 27 09:18:58 just returned from vacation ... will look at your updated slide code :) Aug 27 09:39:13 swisstomcat: phated and I encountered some issues with the way I was doing things and we're going to take a look at it later this week Aug 27 09:39:26 The way I had implemented it broke the minifiers Aug 27 09:39:32 oh Aug 27 09:39:55 So we'll have to do some brainstorming on how to make it not shitty Aug 27 09:40:28 cool that you removed slideorder Aug 27 09:40:38 Yea, Aug 27 09:40:48 That's why the minifiers are broken though ;) Aug 27 09:42:00 oh Aug 27 09:48:13 I replaced an enyo.depends call with a registerSlides() call which handled the slideOrder stuff (including setup for HTML slides) Aug 27 09:48:20 Obviously the minifier didn't like that Aug 27 09:48:25 shit, we're in ports not #enyojs Aug 27 12:16:37 hello Aug 27 12:17:07 Any link on how to build and run WOCE on a pc? Aug 27 12:35:20 nurv_h: what do you mean by *running* it on a PC? Aug 27 12:55:47 well, cool, where's the initialization vectors they used for blowfish encryption? (if they used them...) Aug 27 13:11:52 hey Aug 27 13:12:14 easiest is probably a VirtualMachine (or if you already have Ubuntu) Aug 27 13:13:50 well, if he hasn't Ubuntu, it might be better to use the build environment (VM) provided by WebOS Ports Aug 27 13:14:55 pc-world: running inside a emulator or a vmware appliance. Aug 27 13:15:38 nurv_h: http://webos-ports.org/wiki/Woce-be Aug 27 13:15:52 but, of course, the resulting Luna binary only runs on your TouchPad Aug 27 13:16:16 if you already use Linux, you can use this: http://webos-ports.org/wiki/WOCE_build_Instructions Aug 27 13:31:02 morning all Aug 27 13:35:46 morning Aug 27 13:36:10 not only I don't have a touchpad I also don't use linux Aug 27 13:36:24 I've moved everymachine to osx Aug 27 13:36:40 there isn't a VirtualBox image that I can use ? Aug 27 13:39:27 nurv_h: afaik there currently isn't any i686 target of woce-build - right ShiftyAxel? Aug 27 13:39:43 exactly Aug 27 13:40:13 dooes any one tried building it on osx or there are known problems? Aug 27 13:40:26 nurv_h: you won't be able to do something with it without a TouchPad Aug 27 13:40:40 so any kind of kernel development Aug 27 13:40:59 or ui development on WOCE is dependent of a developer having a touchpad? Aug 27 13:41:04 nurv_h: LunaCE is only the "GUI" of webOS, has nothing to do with the kernel Aug 27 13:41:08 compiling it with the WOCE Build Env works fine under OSX Aug 27 13:41:18 but you need a TP to run it, period Aug 27 13:41:44 nurv_h: except you extend the build script to build for i686, then you could run it on the webOS emulator Aug 27 13:54:05 nurv_h: depening what your plans with WOCE are i might be able to organize you a Touchpad Aug 27 13:54:26 e.g if you plan to contribute to WOCE Aug 27 14:00:42 considering that production of TouchPads was stopped one year ago there seem to be still quite many out there :P Aug 27 14:01:20 okay, they are probably from the laid off people :D Aug 27 14:03:29 How much does one go for nowadays? Aug 27 14:04:08 GodGinrai: I think they're still more expensive than they were at the fire sale Aug 27 14:05:03 k Aug 27 14:18:05 ShiftyAxel: could we use LGPL code for blowfish? Aug 27 14:22:35 pc-world: I think Apache is the preference, you'd have to ask ka6sox about that Aug 27 14:38:39 has to be LGPL in this case Aug 27 16:12:19 * pc-world currently disassembling the original LunaSysMgr binary to figure out which methods they used for encryption Aug 27 16:21:35 mornin' everyone Aug 27 16:25:12 ka6sox-away: is there any problem with using OpenSSL-code in LunaCE? include/openssl/blowfish.h contains a BSD-like license, one point is: Aug 27 16:25:12 "All advertising materials mentioning features or use of this software must display the following acknowledgement: "This product includes cryptographic software written by Eric Young (eay@cryptsoft.com)" The word 'cryptographic' can be left out if the rouines from the library being used are not cryptographic related :-)." Aug 27 16:26:12 I'm not sure if that's compatible with Apache 2 Aug 27 16:26:19 Morning EB Aug 27 17:02:49 ShiftyAxel: I'm running the latest build (altough built on my own machine) as my primary system if that counts Aug 27 17:03:08 mansandersson: as a test? Aug 27 17:04:46 I'm not doing any planned tests but since I use it as the main system of my touchpad its a test of some sort. Aug 27 17:05:07 if you have something you want me to try I'm more than happy to do it Aug 27 17:10:36 mandandersson: there's an IPK that needs tested with the latest build, then we'll have 3/3 successes Aug 27 17:10:42 I'll PM you a link Aug 27 17:10:53 also can you verify that the gestures work properly? Aug 27 17:11:05 those are the two major changes in this version Aug 27 17:11:46 ShiftyAxel: okay, will look through the commit logs for those changes Aug 27 17:28:41 mansandersson, hi Aug 27 17:29:16 ka6sox-away: hi Aug 27 17:29:36 do you have any insight as to why smilies and the .com button are broken? Aug 27 17:31:19 haven't had time to look at it, but it seems to me that what stands out are that its all the buttons that are composed of a couple of symbols that don't work. .com and smileys are treated the same way in the keyboard files Aug 27 17:31:46 I think that'd be right Aug 27 17:32:23 I've had a look into the function that I commented out to make the text fields work properly, but haven't had much luck with regards to finding the source of the problem... Aug 27 17:33:03 I'll take a look too and see what I find Aug 27 17:35:01 cool, thanks :) Aug 27 17:35:03 mansandersson, thanks Aug 27 17:35:12 that's our main showstopper for beta currently Aug 27 17:35:43 I can see that, although I'm missing the international keyboards more ;-) hehe Aug 27 17:36:42 yeah, I still need someone to give the +1 on that pull request of yours Aug 27 17:37:03 as soon as someone does that it can be automerged Aug 27 17:55:29 part of our problem with international keyboards is that a US tablet won' Aug 27 17:55:35 t show international ones. Aug 27 17:58:52 * pc-world is currently reverse-engineering that stupid encrypt function :D Aug 27 18:00:44 ka6sox: can you elaborate on that one? Aug 27 18:01:02 I am not given the option to see swedish keyboards Aug 27 18:02:15 I don't follow you. Once the patch is applied and installed you will be able to select the keyboard of your choice in regional settings? Aug 27 18:19:10 ShiftyAxel, ka6sox: I have a fix for the non-functional smiley/.com keys now... but I don't know if anything else bugs out instead Aug 27 18:19:45 mansandersson, can you PR that and see if ShiftyAxel can integrate? Aug 27 18:20:51 ka6sox: yes I can, but I think it might give problems with external keyboards Aug 27 18:21:20 mansandersson: good work! Aug 27 18:21:31 not sure though since I have no ext. keyboard to test with...will check some more stuff before pr:ing Aug 27 18:21:33 external as in bluetooth? Aug 27 18:21:38 exactly Aug 27 18:21:45 I have a BT keyboard here, I can test that Aug 27 18:21:59 and I believe there's a variable you can check against to determine if there's one conencted Aug 27 18:22:12 if it's not available in the right file we can expose it fairly easily i imagine Aug 27 18:22:27 mansandersson: let me know when your code is ready for a look-over :) Aug 27 18:23:40 don't we have copy-paste on the touchpad or am I blind? Aug 27 18:23:57 ShiftyAxel: BT keyboard related code? Aug 27 18:24:00 what is it about? Aug 27 18:24:19 LunohoD: ask mansandersson, he's fixing the smilies/.com keys currently Aug 27 18:24:30 mansandersson: ^^ Aug 27 18:25:46 mansandersson, copy/paste should work...which version are you using? Aug 27 18:26:16 ka6sox: latest from features branch. I'm used to my pre3 and there I find it in the app menu...has it moved or am I using the wrong app? Aug 27 18:26:36 ShiftyAxel, ^^ Aug 27 18:26:56 iirc copy-paste on the TP is a bit inconsistent when it comes to menus Aug 27 18:26:59 BF_cfb64_encrypt and BF_cbc_encrypt are both referenced in decryptString in the 3.0.5 LSM binary, though it seems they are never called... strangely, BF_set_key does get called Aug 27 18:27:02 some apps have it, some don't Aug 27 18:27:20 the only consistent way to copy/paste is via tap-and-hold Aug 27 18:27:24 mansandersson^^ Aug 27 18:27:41 btw, pull request #38 is still not merged. why? Aug 27 18:27:53 LunohoD: take a look at the last comment Aug 27 18:28:04 I still need someone to +1 it Aug 27 18:28:11 since the changes are fairly extensive Aug 27 18:28:53 ShiftyAxel: a team member or just anyone? Aug 27 18:29:23 LunohoD, someone who can verify functionality Aug 27 18:29:40 i just returned from vacation and i'd like to test that Aug 27 18:29:45 anyone will do, I'd just like some verification Aug 27 18:29:45 kk Aug 27 18:29:47 please do Aug 27 18:32:13 ka6sox: I haven't found out yet how exactly that encrypt function encrypted the string... so I'm not sure whether I'll be able to write a replacement Aug 27 18:33:09 okay, let me know if you get stuck Aug 27 18:33:29 I'm digging through the disassembled version of the 3.0.5 binary, and there are some imports that are never called... things are strange - I also intercept some of the OpenSSL library functions on 3.0.5 Luna Aug 27 18:36:20 pc-world: is it blowfish you're talking about? Aug 27 18:36:28 mansandersson: yes Aug 27 18:36:38 have you checked http://www.schneier.com/blowfish.html? Aug 27 18:36:38 e.g. I don't know what (or if) they used as initialization vector Aug 27 18:36:45 mansandersson: yes, I have Aug 27 18:38:01 can anybody point me to some place in lunace where you may tab between two input fields? Aug 27 18:38:33 sorry, e-mail app does it ofcourse Aug 27 18:38:35 mansandersson: accounts app? Aug 27 18:38:39 aha :p Aug 27 18:45:04 ShiftyAxel: https://github.com/woce/LunaSysMgr/pull/40 Aug 27 18:45:10 let the testing begin :-P Aug 27 18:48:28 mansandersson: sweet, thanks :) Aug 27 18:48:55 i:'m just cooking dinner now, so I'll test afterward Aug 27 18:49:57 any assembler king here? :P Aug 27 18:49:58 I'm looking into the original focus problem also...fixing that is probably the best solution actually Aug 27 18:54:48 ShiftyAxel: wait with the testing, I will push a better fix soon that handles the actual problem, or so it seems Aug 27 18:55:39 mornin' Aug 27 19:00:29 ShiftyAxel: done Aug 27 19:03:49 can I call gdb from a C function, e.g. toggle a breakpoint *from* the code? (instead of setting a breakpoint with gdb commands) Aug 27 19:04:59 *trigger a breakpoint Aug 27 19:11:37 pc-world: I'm not sure what you're trying to do (or why you can't tell gdb to break wherever) Aug 27 19:11:49 pc-world: but yes, asm("int3"); Aug 27 19:17:14 mansandersson: I return from dinner, will take a look at your code now and test with my keyboard Aug 27 19:17:42 …wow, is the fix really that simple? Aug 27 19:17:56 you should PR it against the OWO LSM and make HP's engineers kick themselves :D Aug 27 19:17:58 ShiftyAxel: I've submitted a completely different patch so I don't think the external keyboard test is as important as before, but still needed Aug 27 19:18:04 okay Aug 27 19:18:24 ShiftyAxel: yes it seems it's that easy. it works-for-me(tm) at least Aug 27 19:18:40 pc-world: although if you're not running within gdb, that'll kill the app, so either install a signal handler for it or try to detect if you're being run by gdb (messy) Aug 27 19:19:27 pc-world: or did you mean forcibly attach gdb to the running process as well? can do some fork+system+etc mess, but really it's generally easiest to just use gdb... /me quiet now Aug 27 19:26:12 and hahaa yeah was happy to see the smilies/etc fix was so simple :D Aug 27 19:27:46 ShiftyAxel, are you planning on adding that to 4.4.1? Aug 27 19:28:24 dtzWill, helping with gdb to fix the encryption issues is very important. Aug 27 19:30:55 ka6sox: no promises, but is there a desc of the issue(s) somewhere? on the issue tracker, perhaps? Aug 27 19:31:23 ka6sox: if my test is successful, might as well Aug 27 19:33:40 dtzWill, its on issues...let me find it Aug 27 19:34:08 nah i'll find it, sorry. Just wanted to know where I could find more :) Aug 27 19:34:13 http://issues.webos-ports.org/issues/61 Aug 27 19:36:12 LunohoD, can you verify PR#38 is good? Aug 27 19:36:19 morning lagoldste Aug 27 19:36:45 howdy Aug 27 19:37:00 ka6sox: from that looks like there's nothing to debug, just a matter of removing the encryption method to...well, provide encryption functionality to mojo apps Aug 27 19:37:31 what about the apps that need it? Aug 27 19:37:34 (encryption) Aug 27 19:40:03 gah, freaking vagrant Aug 27 19:40:06 * ShiftyAxel kicks vagrant Aug 27 19:40:11 NOW IS NOT THE TIME TO NOT WORK Aug 27 19:40:16 STUPID HOMELESS MAN Aug 27 19:43:12 ka6sox: there's a question i neglected to ask once LarrySteeze and i agreed that my testing wiki page was good to go. namely, where on the wiki should a link to it go? Aug 27 19:43:36 that is a good question... Aug 27 19:43:50 since we can't call it alpha as that is already being used. Aug 27 19:43:57 I call this pre-alpha testing Aug 27 19:44:01 the wiki is a little lacking in terms of navigation without links Aug 27 19:44:29 we need a wikimeister...to make it so we don't have so many orphans. Aug 27 19:45:14 i could take a crack at that if folks are amenable Aug 27 19:45:15 oh, joy. downloads.palm.com is down. AGAIN. Aug 27 19:45:24 :P Aug 27 19:45:24 * ShiftyAxel finds this an amiable proposition Aug 27 19:45:34 * ka6sox too Aug 27 19:46:29 ok. i'll work on it over the next several evenings. atm i should work at the for pay job ;) Aug 27 19:58:46 ka6sox: issue #93 can be closed now, by the way Aug 27 19:58:59 I did a major optimize of the gesture code and fixed it Aug 27 19:59:59 pc-world: reckon I can mark #59 as resolved now? Aug 27 20:13:24 mandsandersson: test successful for the smilies/.com fix, bluetooth keyboard (both focused and unfocused) works fine :D Aug 27 20:39:42 dtzWill: thanks. I was just trying the former, thanks for your hint! Aug 27 20:39:42 ShiftyAxel: yes, close it. If that should ever happen again I'll reopen it. Aug 27 20:39:53 okey dokey Aug 27 20:40:07 ShiftyAxel, got 4.4.1? Aug 27 20:40:37 ka6sox: yeah, reckon we can do beta now or do we wait until the encryption stuff is fixed? Aug 27 20:41:53 gotta deal with mojo encryption issues... Aug 27 20:42:04 pc-world, what things *need* this? Aug 27 20:42:58 ka6sox: well, some Mojo apps that use these encryption methods, like maybe some Mojo password managers Aug 27 20:43:35 ka6sox: v4.4.1 is tagged and ready to go Aug 27 20:43:39 can we build a bypass to the methods? Aug 27 20:44:11 what exactly do you mean? Aug 27 20:44:55 the current apps just fail and blow up or how does this issue menifest itself? Aug 27 20:45:10 s/menifest/manifest/ Aug 27 20:45:11 ka6sox meant: the current apps just fail and blow up or how does this issue manifest itself? Aug 27 20:46:48 ShiftyAxel: great, one step closer to the beta :-) Aug 27 20:46:51 ka6sox: currently, these apps won't function properly Aug 27 20:47:01 because the encryption/decryption functions return undefined Aug 27 20:47:40 can we add those functions setup like bypass surgery...not really returning encrypt or decrypted information? Aug 27 20:48:16 it doesn't return anything... Aug 27 20:48:37 we could have it return NULL, 0 or an empty string? Aug 27 20:48:50 or an error string detailing how it doesn't work currently Aug 27 20:48:51 ShiftyAxel: it does return undefined... and that's more or less the same Aug 27 20:49:01 ah Aug 27 20:49:12 "undefined" is a JavaScript value Aug 27 20:49:32 yeah, I've seen it before. just flinging ideas around :p Aug 27 20:49:37 undefined is like null, but more "nothing" than null ^^ Aug 27 20:50:19 e.g. a variable that was just declared but not defined has the value _undefined_ Aug 27 20:50:54 or if a function doesn't return anything (like the void keyword in other languages) the return value is _undefined_ Aug 27 21:04:07 so how do we make that "defined" Aug 27 21:04:25 ka6sox: i've tested the pr #38 and it works for me. Aug 27 21:04:36 LunohoD: just got the email now, good stuff Aug 27 21:04:48 guess it's time for 4.4.2 :P Aug 27 21:05:07 okay so both then? Aug 27 21:05:12 LunohoD, did yours get in? Aug 27 21:05:41 um.. does anyone know where these functions are actually used? if anywhere? Aug 27 21:05:41 LunohoD's is part of mans' pull Aug 27 21:05:50 the encryption functions Aug 27 21:05:53 ka6sox: yes Aug 27 21:06:03 btw Aug 27 21:06:08 ka6sox: why do you want to make it defined? Aug 27 21:06:35 EricBlade: in some apps that 0.0001% of LunaCE users will use? :P Aug 27 21:06:47 infinite card cycling doesn't work with side bezel gestures when the card is maximized Aug 27 21:07:00 it used to work before Aug 27 21:07:22 LunohoD: which gesture detection method? Aug 27 21:07:29 all? Aug 27 21:07:32 swipe Aug 27 21:07:40 can you test slide too? Aug 27 21:07:51 though I imagine the result will be the same, and I know it doesn't work with fluid Aug 27 21:07:56 LunohoD: it's my understanding that it only works with fluid gestures Aug 27 21:08:12 pc-world, what I am hoping for is to not leave them crashing when we go to beta. Aug 27 21:08:23 or is that recently broken? 4.3.5 infinite maximized works Aug 27 21:08:25 ka6sox: they won't "crash" like C programs Aug 27 21:08:26 in fluid Aug 27 21:08:39 ka6sox: if you return fake data rather than undefined that will be even worse Aug 27 21:09:17 pc-world: where are the functions we're talking about located? Aug 27 21:09:40 EricBlade: right, it works only with fluid and only if I move the finger almost over the whole screen Aug 27 21:09:44 uhh, just tested on 4.4.1 and it's working fine Aug 27 21:09:49 for all three recognizers Aug 27 21:09:49 pc-world, so what would you suggest? Aug 27 21:09:50 EricBlade: ./Src/js/JSysObject.cpp, JsSysObject::methodDecrypt and JsSysObject::methodEncrypt Aug 27 21:10:08 LunohoD: what version are you testing on? Aug 27 21:10:12 ka6sox: either reimplement the encryption functions, or leave it as it is and note it somewhere in the docs Aug 27 21:10:36 EricBlade: exposed in window.PalmSystem.decrypt and window.PalmSystem.encrypt Aug 27 21:10:46 pc-world, is this a show stopper for beta? Aug 27 21:11:27 ka6sox: in my opinion not, as these apps just don't work. And I don't think there are too many people using Mojo apps like this on their TPs, but I don't know that really Aug 27 21:11:33 ShiftyAxel: e99911e06a75928302f710db6372b17d23e532d8 Aug 27 21:11:53 LunohoD: a version string please, I don't have all the old executables to test against... Aug 27 21:12:16 pc-world, are any of them ui=2 or are they all phone form factor ones? Aug 27 21:12:38 ShiftyAxel: it should be 4.4.0 with pr38 merged in, I compiled it myself Aug 27 21:12:39 ka6sox: I have no idea... I've just tested that in my little test app that I just created for the purpose of reproducing this bug :P Aug 27 21:12:48 okay Aug 27 21:13:20 pc-world, do you want to implement the functions? Aug 27 21:13:48 ShiftyAxel: I could build it again using current HEAD of features branch Aug 27 21:14:11 LunohoD: either try that or grab the binary from woce/LunaSysMgr/bin/LunaSysMgr Aug 27 21:14:14 ka6sox: implementing the functions is not the real problem, the harder part is to figure out how exactly they were encrypted Aug 27 21:14:18 that's the version i'm using and have no issues Aug 27 21:15:13 ka6sox: someone could ask on the forums to see if there are many people using apps that make use of these encryption functions Aug 27 21:15:17 pc-world, are we not saying that anything encrypted by Palm-LSM is not usable by CE-LSM? Aug 27 21:15:19 ShiftyAxel: try to disable tabbed cards! Aug 27 21:15:34 it works for me with tabbed cards and doesn't work without them Aug 27 21:15:57 well, i've done a bit of research into it now. i've discovered two forum threads where people have talked about using it. Aug 27 21:16:15 LunohoD: just disabled, still working fine Aug 27 21:16:21 ka6sox: it's (probably) just some 3rd-party JavaScript apps that made use of these two functions... Aug 27 21:16:42 Therefore, my guess is that it's probably being used by Maklesoft, and probably not much else Aug 27 21:16:53 EricBlade: which app? Aug 27 21:17:43 I often get "Unknown Service Error. Configuration could not be saved since the service returned an error!" message while trying to change a Luna setting in Tweaks Aug 27 21:17:43 Maklesoft was talking about it a long time ago in the dev forums, so I could guess it's possibly used in SecuStore, possibly in some of his other software maybe? Aug 27 21:18:14 LunohoD: yeah, that's a known problem. oddly enough it still changes the prefs just fine, I've had that error since before LunaCE Aug 27 21:19:04 EricBlade, pc-world I am going to say we mark this in the documentation and call it 'Unsupported" and recommend that they don't use CE Aug 27 21:19:08 EricBlade: SecuStore 2 is Enyo, though he might have used window.PalmSystem.encrypt too there Aug 27 21:19:20 ka6sox: +1 Aug 27 21:19:30 ka6sox: +1 here also Aug 27 21:20:12 ka6sox: if they use CE they can also just revert back to 3.0.5 Luna if they want their apps back version... cause the encrypted data itself should stay as it is in CE Aug 27 21:20:21 pc-world: what would the end effect be if we were to comment out the functions? the same? Aug 27 21:20:22 *their apps back working Aug 27 21:20:47 ShiftyAxel: let me try it Aug 27 21:20:49 pc-world, would the seed change and therefore the encrypted information be lost? Aug 27 21:21:12 ka6sox: I don't think anything should be lost Aug 27 21:21:24 now it looks like the original function was wired to return false, in the case that Something Bad(tm) happened in the encryption/decryption process anyway, so theoretically, anyone who used it should fall back. do we know of anything that is actually blowing up from these calls? Aug 27 21:21:51 ka6sox: in my understanding they could just revert to 3.0.5 and be able to use their encrypted data Aug 27 21:22:00 such as, is this possibly theorized to be the reason why the accounts are failing? i'm curious why we're going after this, when the function isn't even documented anywhere as far as i can tell Aug 27 21:22:36 EricBlade: nope, accounts are a different thing - they changed the encryption method from Blowfish to something else Aug 27 21:23:00 EricBlade: it is documented: https://developer.palm.com/content/api/reference/mojo/classes/mojo-model.html Aug 27 21:23:41 aha, i was looking for it in PalmSystem Aug 27 21:24:08 EricBlade: well, Mojo.Model.decrypt is basically this: Aug 27 21:24:08 return window.PalmSystem.decrypt.apply(window.PalmSystem, arguments Aug 27 21:24:10 ); Aug 27 21:24:26 right Aug 27 21:24:47 ok i guess that pops up a few more possible hits Aug 27 21:25:25 maybe we should install something that would track usage of those functions Aug 27 21:25:56 ShiftyAxel: I've tried both binaries and still no luck Aug 27 21:26:09 EricBlade: umm... usage tracking just for that... better not Aug 27 21:27:30 * LunohoD AFK Aug 27 21:28:45 i don't know, i think maybe it would be good to gather some statistics about if these functions are something that anyone is using anywhere, considering that they are pretty much wiped out in the open source versions (as well as in the Open webOS luna, I recall reading from my git updates this morning) Aug 27 21:29:46 nite LunohoD Aug 27 21:29:59 EricBlade: well I guess Open webOS won't include Mojo anyway (at least not officially) Aug 27 21:30:10 or, could they be forwarded somehow to the service that is supposed to handle encryption stuff these days? Aug 27 21:30:23 although that works asynchronously, so that might be a really odd thing to shim in Aug 27 21:31:22 obviously, no matter what we do with it, it's not going to be compatible with any installations that have used it prior and stored data based on it Aug 27 21:32:01 EricBlade: we could reimplement the encryption function Aug 27 21:32:18 if I figure out what they used as initialization vector and maybe a few other things, I could reimplement it Aug 27 21:32:38 well, here's a thread that talks about the implementation .. https://developer.palm.com/distribution/viewtopic.php?f=8&t=1281 Aug 27 21:32:39 EricBlade: do you have some experience with gdb (better than I have :P)? Aug 27 21:32:57 pc-world: all i remember is "run" "continue" and "backtrace" Aug 27 21:34:26 EricBlade: what the fuck THANK YOU :DDD Aug 27 21:34:33 I was really too stupid to google it seems Aug 27 21:34:50 the thread exactly describes the encryption algorithm Aug 27 21:35:08 and I've spent hours trying to disassemble the 3.0.5 LSM binary and intercepting library functions o.O Aug 27 21:35:49 heh Aug 27 21:36:03 "We do pass in an initialization vector (8 zero bytes)" lol that's sure very secure and that's why they invented intialization vectors... Aug 27 21:36:14 that's more or less the information I searched for -.- Aug 27 21:38:48 well, at least they admit it: "It is also worth nothing that reusing the same IV is not considered best practice in cryptography" Aug 27 21:41:18 ka6sox: as EricBlade helped me with Google I'll probably reimplement the functions, shouldn't be too difficult now ^^ Aug 27 21:41:59 pc-world, excellent Aug 27 21:42:43 also, looks like DigiKat software might've used it as well Aug 27 21:43:29 SecuStore 2 doesn't seem to be affected Aug 27 21:43:40 (just saw there's a trial in the App Catalog) Aug 27 21:44:20 pc-world, is this a significant task or trivial? Aug 27 21:44:32 ka6sox: should be rather trivial (I hope) Aug 27 21:44:44 now that I know how it was decrypted... Aug 27 21:44:52 *encrypted Aug 27 21:45:29 there was a thread from DigiKat where he was talking about using it with an Enyo app since the Mojo routine wasn't available to him .. http://www.digikatsoftware.com/html/webos.html <- there's his list of software Aug 27 21:47:13 i'll send an email to DigiKat and see if she can pinpoint any particular apps that use it Aug 27 21:48:13 probably that: DigiNote "Store digital thoughts securely" - which has one 1 star review Aug 27 21:49:08 and DigiJournal (4 reviews; 3 stars) Aug 27 21:49:34 so it's unlikely there are many people using it on their TPs Aug 27 21:57:04 * ka6sox knows its 11:53pm someplace so he hopes someone doesn't stay up all night coding :D Aug 27 21:57:59 lol ^^ Aug 27 21:58:28 ok, email sent, I asked her if she could help us by pinpointing a software that specifically uses those functions, so we could use it to test compatibility. Aug 27 22:01:30 coming in a little late here, but SecuStore 2 works just fine with LunaCE. it may just be the most useful app on my TP Aug 27 22:02:07 EricBlade: nice Aug 27 22:02:28 lagoldste: I just tested with the demo version of SecuStore 2 and haven't had issues as well Aug 27 22:02:34 morning all Aug 27 22:02:49 morning bluen Aug 27 22:03:00 hiya bluen Aug 27 22:03:14 morning bluen Aug 27 22:03:18 lagoldste and ka6sox: did you ever get an answer to the question that pinged me? Aug 27 22:03:42 because my thought was that there would intentionally NOT be a link to the page, and it would be provided as we ask someone to help us pre-alpha test Aug 27 22:03:59 happy to test when folks are ready. Also looks like some core apps were updated on github? contacts and calendar? Aug 27 22:04:09 for owos Aug 27 22:04:15 EricBlade: they used OpenSSL for decrypting Aug 27 22:04:18 and encrypting Aug 27 22:04:20 or is it better to link it so people can learn ahead of being asked Aug 27 22:04:21 LarrySteeze: yes- i volunteered to reorganize the wiki :) Aug 27 22:04:27 aha ok :D Aug 27 22:04:32 that makes it easier for us Aug 27 22:04:50 i'm of the latter opinion- let people see what they're getting into Aug 27 22:05:11 let them think about the time involved in doing all the backup, etc Aug 27 22:05:28 alright Aug 27 22:05:32 I'm good either way Aug 27 22:05:38 that was just my original thought Aug 27 22:05:58 *nod* the testing page doesn't give away any secrets Aug 27 22:06:10 the wiki doesn't give away any secrets Aug 27 22:15:11 we should have a Secrets page with [REDACTED] on it Aug 27 22:17:26 ShiftyAxel: How about 18 min of empty space? Aug 27 22:17:46 you can measure space in minutes? Aug 27 22:18:08 We will do a timeline. But maybe the 18 min is a US joke only. Aug 27 22:19:47 entirely possible Aug 27 22:22:16 umm... I don't like C++ very much... I've probably done so many type conversions in my code that this will result in SIGFAULT :D Aug 27 22:22:38 *segfault Aug 27 22:24:34 yeeees I was right... Luna reboot after I pressed the decrypt button in my test app Aug 27 22:25:52 hmm, so long as the end result is acceptable output and you arent casting between incompatible types it should be alright Aug 27 22:26:58 well, I just look at the error messages I get from g++ and make type conversions till g++ shuts up and compiles... which results in crashing code :P Aug 27 22:27:29 I can take a peek if you like? Aug 27 22:28:03 ShiftyAxel: I'll figure out where it crashes and if I can't figure it out I'll ask for help Aug 27 22:28:12 okey dokey Aug 27 22:45:23 if I have an "unsigned char cleartextString[encryptedLen]" and just use "cleartextString" in my code, is that the same if I had an 'char* x = "abc";' and used x (without &)? Aug 27 22:46:40 I don't believe so, no Aug 27 22:46:58 the former is an actual variable, whereas the latter is a pointer to a dynamically-allocated char Aug 27 22:49:55 * ka6sox goes back to VHDL...where things are sane. Aug 27 22:50:43 * LarrySteeze goes back to other IRC channels where he can read people speaking in languages other than english Aug 27 22:57:15 anyone in here going to enyo boston tomorrow? Aug 27 22:57:27 fxspec06: me Aug 27 22:57:33 really now Aug 27 22:57:39 o.O you gonna get there early? Aug 27 22:57:44 it's technically Cambridge though Aug 27 22:57:48 ShiftyAxel: is that "[REDACTED]" a mediawiki plugin? :P Aug 27 22:57:48 if you want me to, sure Aug 27 22:57:51 me and my friends gonna have not a lot to do for a while Aug 27 22:57:57 bc of train schedule Aug 27 22:58:17 so idk, what we're gonna do, what time doors open etc Aug 27 22:58:29 I'll probably drive even though parking sucks there Aug 27 22:58:43 I actually haven't even looked at where it is yet :P Aug 27 22:58:46 I just know it's in cambridge Aug 27 22:58:57 it's at some building, and google is oging to remind me ;) Aug 27 22:59:03 pc-world: maybe, can't have people finding the secrets! :P Aug 27 22:59:41 "meow" is a cool secret :P Aug 27 22:59:54 i'll probably use nokia drive to find directions, the irony. but i wondering, if shoudl bring laptop or no? it's not a hackathon, i would think not. Aug 27 23:00:08 I was wondering the same thing Aug 27 23:00:11 but i wouldn't want to .. you know, miss out? Aug 27 23:00:11 shiftyaxel: whoa found the secret page Aug 27 23:00:32 but I'm more going to talk to certain peeps rather than learn more about enyo Aug 27 23:00:43 though I'm sure it'll do quite a bit for me too Aug 27 23:00:52 that's true, too. Aug 27 23:01:02 fxspec06: I'd love to meet up with you Aug 27 23:01:11 and/or your friends Aug 27 23:01:22 bluen, what seecret page? Aug 27 23:01:26 someone feed the cat and maybe it will give up the secrets Aug 27 23:01:35 haha Aug 27 23:01:43 cool! how far is it from fanuel hall? think we could hang out there and grab something to eat before it starts? got couple budz going Aug 27 23:02:11 its a new webOS game--Secret Cats--is going to be more popular than that bird game Aug 27 23:03:12 bluen: hmm... like that supercows in webOS 3? :P Aug 27 23:05:02 fxspec06: this isn't technically -ports related, so we should take it to #webos Aug 27 23:05:30 Anyone wanna help me? :) http://pastebin.com/MFfZ8KPJ - if anyone finds any obvious conversion mistakes or something like this let me know... though I could be passing wrong parameters to the function as well Aug 27 23:05:42 the prototype of the function is Aug 27 23:05:43 void BF_ofb64_encrypt(const unsigned char *in, unsigned char *out, long length, BF_KEY *schedule, unsigned char *ivec, int *num); Aug 27 23:09:24 morning everyone Aug 27 23:10:16 morning Grabber Aug 27 23:10:25 pc-world: that's mindblowing stuff right there Aug 27 23:10:55 I need to find out what the synatax is for the various functions, that should give me a better idea of what's going on Aug 27 23:11:29 just ignore that npStringToString function and assume key and b64 are usual C strings Aug 27 23:12:13 though I'm not sure if conversions like "(const unsigned char*) key" do the thing I want them to do Aug 27 23:12:21 smells like encryption Aug 27 23:12:48 pc-world: I think casting to a pointer probably won't work Aug 27 23:12:49 looks like it too Aug 27 23:13:02 you have to create the pointer and then assign it a value Aug 27 23:13:12 just noticed another bug... const char *ivec = "00000000"; results in a null-terminated string which it isn't supposed to Aug 27 23:13:13 ex. char* myPointer = someCharVariable; Aug 27 23:13:20 such! need my grilling mit! Aug 27 23:14:20 ouch. stupid autocorrect. sorry for the off-topic. chatting by the grill. Aug 27 23:14:36 also, is keyStruct a pointer? because &keyStruct won't work correctly if it isn't Aug 27 23:14:57 ShiftyAxel: BF_KEY is a struct Aug 27 23:15:32 and keyStruct is of the type BF_KEY Aug 27 23:16:56 unless it's a pointer to a BF_KEY you don't need the & Aug 27 23:17:07 since & fetches the value of the pointed-at variable Aug 27 23:18:18 I got it to not crash anymore... though it only sometimes results in the correct decrypted string, so I guess there's some kind of memory corruption, e.g. space isn't allocated correctly Aug 27 23:18:35 ShiftyAxel: it is a pointer to BF_KEY Aug 27 23:18:59 surely it should be BF_KEY* keyStruct? Aug 27 23:19:20 also num isn't a pointer, so &num isn't valid Aug 27 23:20:07 ShiftyAxel: I think yes: Aug 27 23:20:07 void BF_set_key(BF_KEY *key, int len, const unsigned char *data); Aug 27 23:20:07 void BF_cfb64_encrypt(..., BF_KEY *schedule, ...) Aug 27 23:20:26 are you guys just looking at the same code or is someone sharing a screen? Aug 27 23:20:29 and I think I'm supposed to pass a pointer to an int: Aug 27 23:20:29 void BF_ofb64_encrypt(..., int *num); Aug 27 23:20:39 Grabber: looking at the same code on pastebin Aug 27 23:20:50 Grabber: http://pastebin.com/MFfZ8KPJ Aug 27 23:21:01 pc-world: yeah, that one takes an int Aug 27 23:21:13 er, pointer Aug 27 23:21:24 I think the problem might be in base64_decode(std::string(b64)).c_str(); Aug 27 23:21:45 because std::string(b64) is only something like a temporary variable? Aug 27 23:22:49 god pointers are confusing Aug 27 23:23:19 they are. Aug 27 23:23:23 do you know what the pointer for base64_decode is? Aug 27 23:23:24 along with the rest of C :D Aug 27 23:23:27 I should definitely learn C/C++ from the ground up Aug 27 23:24:17 ShiftyAxel: which pointer do you mean? Aug 27 23:24:25 er, prototype Aug 27 23:24:32 stupid brain, never needed it anyway Aug 27 23:24:40 it seems like every time I do C++ I'm using someone else's unique string library and I never learn the st stuff Aug 27 23:25:06 Grabber: in my personal code I always try to convert to std::string :D Aug 27 23:25:32 ShiftyAxel: I think I'll better use g_base64_decode: http://developer.gimp.org/api/2.0/glib/glib-Base64-Encoding.html#g-base64-decode Aug 27 23:25:57 unsigned char* encrypted = g_base64_decode(b64, &base64Len); Aug 27 23:26:14 unsigned char* encrypted = g_base64_decode(&b64, &base64Len);? Aug 27 23:26:18 since they're both pointers Aug 27 23:26:22 unless b64 is a pointer… Aug 27 23:26:33 yeah, right Aug 27 23:26:37 *oh yeah Aug 27 23:28:48 prototype: void BF_ofb64_encrypt(const unsigned char *in, ...) Aug 27 23:28:49 I'm now passing BF_cfb64_encrypt(encrypted, ...) Aug 27 23:28:49 now g++ complains about the following: Aug 27 23:28:49 ../src/Src/js/JsSysObject.cpp:1556: error: invalid conversion from 'unsigned char' to 'unsigned char*' Aug 27 23:29:06 but isn't "encrypted" already an "unsigned char*"?! Aug 27 23:29:13 hello Aug 27 23:29:23 hi Aug 27 23:29:40 hi Aug 27 23:29:41 pc-world: can you pastebin your current code? Aug 27 23:29:43 lo Aug 27 23:29:44 morning Aug 27 23:30:00 pc-world: the code i'm looking at still has casts to pointers Aug 27 23:30:45 ShiftyAxel: http://pastebin.com/NwwT6CET Aug 27 23:30:50 I want to try to help but I'm just going to say something dumb :) Aug 27 23:31:23 i want to upload my logo for the luna CE contest... Aug 27 23:31:27 Grabber: I'm kind of dumb as well... I just make changes to the C code till g++ stops complaining Aug 27 23:31:44 which, as already said earlier, results in crashing code Aug 27 23:32:03 is there somebody here that can validate my account? Aug 27 23:32:15 Grabber: pointers make me feel dumb, so you're not alone :P Aug 27 23:32:15 3. sfgsdsfd.; Aug 27 23:32:36 pc-world: I can usually stumble my way through it eventually. I'm a java programmer! :) Aug 27 23:32:39 benjamon3: is that your account name? :P Aug 27 23:32:49 Grabber, what is your userid on the wiki? Aug 27 23:32:56 Grabber: lol, me too! Java was the first (real) programming language I learned, I still love it Aug 27 23:33:11 Grabber5.0 Aug 27 23:33:15 no, that was my two year old son playing with my keyboard... my account is benjamon3 Aug 27 23:33:24 sorry benjamon3 Aug 27 23:33:25 haha Aug 27 23:33:26 got it Aug 27 23:33:34 IRC doesn't allow the "." Aug 27 23:34:17 benjamon3, you have been promoted to human Aug 27 23:35:02 yay! thanks a lot! feels great to be validated as a human haha. have a nice afternoon Aug 27 23:35:06 pc-world: try changing encrypted to 'unsigned char encrypted = g_base64_decode(b64, &base64Len);' and passing it to BF_cfb64_encrypt as &encrypted? Aug 27 23:35:15 benjamon3, you too Aug 27 23:35:55 ShiftyAxel: nope, the first one doesn't work: ../src/Src/js/JsSysObject.cpp:1541: error: invalid conversion from 'guchar*' to 'unsigned char' Aug 27 23:36:06 while guchar is "typedef unsigned char guchar;" Aug 27 23:36:20 and so guchar* should be "unsigned char*" (I think) Aug 27 23:37:02 I think guchar* is a pointer to a guchar, where 'typedef unsigned char* guchar;" would be an unsigned char* Aug 27 23:37:23 s/where/whereas/ Aug 27 23:37:24 ShiftyAxel meant: I think guchar* is a pointer to a guchar, whereas 'typedef unsigned char* guchar;" would be an unsigned char* Aug 27 23:38:54 I think I recognize that JsSysObject as HP code isn't it? Aug 27 23:38:57 stupid me... maybe I should have posted the whole error message Aug 27 23:39:06 Grabber: yes Aug 27 23:39:12 Grabber: yeah, it's part of LunaSysMgr Aug 27 23:40:37 ok, I've got it to compile, I've replaced "ivec[0]" with "ivec"... "encrypted" wasn't the problem Aug 27 23:41:02 aha, good good Aug 27 23:41:23 there's still some kind of memory corruption occasionally... but I'll first make sure that all my args look correct Aug 27 23:44:43 see you guys after dinner Aug 27 23:46:10 pc-world: that's almost doubtless something to do with one of the pointers Aug 27 23:46:40 if you declare one without pointing it to anything and access it, you'll get some random part of the device's memory Aug 27 23:47:10 ShiftyAxel: the decrypted string is always correct, but sometimes there's some garbage after it (probably till it hits \0 by accident) Aug 27 23:47:32 this is good progress :) Aug 27 23:47:36 (with the args I meant that the size of the decrypted string is correct etc.) Aug 27 23:48:08 yeah, sounds like it's something to do with base64len Aug 27 23:48:48 nope, I think that one should be correct Aug 27 23:50:15 currently I just looked at the GUI output... I've now added a g_warning after BF_cfb64_encrypt and I can see the "memory corruption" (or whatever it is) in command line too Aug 27 23:50:47 maybe encryptedLength must be incremented - to hold the null termination (\0) Aug 27 23:56:55 hmm, I thought it was just a number representing the amount of characters Aug 27 23:57:12 perhaps you have to manually prune it? Aug 27 23:58:08 I'll try to manually add \0 at the end... Aug 27 23:58:52 when I just incremented the size of cleartextString it always resulted in at least one garbage character at the end Aug 27 23:59:08 (also tried incrementing encryptedLen) Aug 27 23:59:44 yay nice haven't seen any garbage anymore... :) Aug 27 23:59:50 w00t! :D Aug 28 00:00:13 I'll do the encryption function after I've slept Aug 28 00:00:32 okey dokey, good work today pc-world :) Aug 28 00:01:09 well, I just played around with some code... it was EricBlade and you who helped me get some actual results :D Aug 28 00:01:28 pc-world, excellent stuff... Aug 28 00:01:32 sleep well Aug 28 00:02:51 thanks Aug 28 00:03:09 current version: http://pastebin.com/Y8dHQZTK Aug 28 00:03:31 a few hours for a freaking code of about 10 lines -.- ^^ Aug 28 00:08:58 pc-world, often its the elegant 2 liners that take hours Aug 28 00:09:34 last week I spent 2days to save 10 clock cycles Aug 28 00:10:08 I just saw that you didn't have the iv earlier.. sorry pc-world, I should have posted my java code. I meant to say something about it. Aug 28 00:10:23 ah, yeolde optimization Aug 28 00:11:13 ka6sox: "hardware programming" or something like this? Aug 28 00:11:33 Grabber: huh, now I have it :) were you one of those people posting in https://developer.palm.com/distribution/viewtopic.php?p=14617#p14617 ? Aug 28 00:13:39 pc-world: no, that was before I was involved with writing the importers for Keyring. Kridley is the guy that wrote Keyring. Aug 28 00:14:07 ah. Aug 28 00:14:49 Grabber: ...so are you the reporter of bug #61? Aug 28 00:15:48 I did write some java code last week to decrypt to test decrypting a Mojo encrypted string. Of course I couldn't get it to work until I checked his java code. :) Aug 28 00:16:03 yes, I opened issue 61. Aug 28 00:16:17 ShiftyAxel, I needed to save 17.5 nanoseconds....took 2 days Aug 28 00:16:56 ka6sox: what was it for? Aug 28 00:17:04 I wrote it partly to test, and partly to figure out how it works Aug 28 00:17:14 Grabber: all clear now :) Aug 28 00:17:21 those 17.5 nanoseconds'll add up eventually and you'll get your 2 days back :P Aug 28 00:17:23 ka6sox: um... what do you do with 17.5 ns? Aug 28 00:17:28 ka6sox: nice! Aug 28 00:17:35 ShiftyAxel: lol Aug 28 00:18:05 pc-world: crack open a cold one? Aug 28 00:18:07 tach skip module.. Aug 28 00:18:13 runs @ 540Mhz Aug 28 00:19:06 in languages like JavaScript something like i++ takes probably longer than 20ns :D Aug 28 00:19:14 (okay, not really, hopefully) Aug 28 00:19:42 meant refactoring from 45gates to 32gates Aug 28 00:20:13 ka6sox: so... you're counting with Bill Gates as unit? :P Aug 28 00:20:40 * ka6sox never thought of it that way... Aug 28 00:20:44 (...sorry for my ignorance ^^) Aug 28 00:20:49 <- is lost Aug 28 00:21:07 FPGA Aug 28 00:21:15 TMTLAs Aug 28 00:21:23 wait no, that was a FLA Aug 28 00:21:30 yes Aug 28 00:21:33 along with VHDL Aug 28 00:22:10 * pc-world is now lost too Aug 28 00:22:22 http://en.wikipedia.org/wiki/Field-programmable_gate_array Aug 28 00:22:30 ShiftyAxel: I already had that one ;) Aug 28 00:22:33 http://en.wikipedia.org/wiki/VHDL Aug 28 00:22:36 consider yourself found :P Aug 28 00:23:48 VHDL looks scary Aug 28 00:24:10 c++ is scary Aug 28 00:25:32 pirates are scary Aug 28 00:25:44 arrrr Aug 28 00:25:50 ahoy Aug 28 00:26:02 tiver me shimbers Aug 28 00:26:24 pc-world: does g_base64_decode allocate memory, and if so, where is it deallocated? Aug 28 00:28:13 pc-world: I personally would put the "cleartextString[encryptedLen] = '\0';" after the call to BF_cfb64_encrypt, just in case. Aug 28 00:28:33 rwhitby: looks like it does, and needs to be freed with 'g_free(gpointer mem)' Aug 28 00:30:11 would probably want to wipe encrypted and cleartextString after they are finished with, and before deallocating them (or returning from the function in which they are allocated on the stack) Aug 28 00:30:31 oh yeah, I just remembered, we need to get 4.4.1 tested if it's going to be pushed as our last alpha... Aug 28 00:31:03 HaDAk, bluen: are you guys about/up for testing? Aug 28 00:31:14 i could test. Aug 28 00:31:20 am i testing hookers? Aug 28 00:31:27 like, for quality? Aug 28 00:31:27 rwhitby: why is that? Aug 28 00:31:41 HaDAk: software-based hookers? Aug 28 00:31:52 ShiftyAxel: just so that decrypted strings are not left in memory Aug 28 00:32:00 ShiftyAxel: *shrug* at least the viruses you get are different Aug 28 00:32:32 rwhitby: wouldn't deallocating do that? (this is probably a rookie mistake/question…) Aug 28 00:33:05 HaDAk: this should be fairly clean and virus-free :P I'll PM you a link to the binary Aug 28 00:34:08 after I build it again that is… I forgot that 4.4.2 is the current candidate Aug 28 00:34:16 heh Aug 28 00:34:25 ShiftyAxel: deallocating does not wipe the memory, just as deleting files does not wipe the disk. Aug 28 00:34:57 ah, of course, just marks it for later use Aug 28 00:36:27 * ShiftyAxel is less intelligent early in the morning Aug 28 00:37:42 Do you guys want me to post a list of the apps I found that use Mojo.Model.encrypt/decrypt? Aug 28 00:38:13 could be useful for testing when we get it integrated Aug 28 00:38:38 Keyring was my biggie - I use it all the time. Revised was another, but the login seems to b Aug 28 00:39:27 argh. Reboxed login has been broken for some time.. I will have to search my Touchpad again to find the others. Aug 28 00:40:17 Revised = Reboxed after auto-correction butchers it :) Aug 28 00:41:11 hmm. someone recently opened "review" branches (private?) for app-services, core-apps, and configurator Aug 28 00:43:13 Reboxed? Aug 28 00:43:46 yeah.. the unofficial Redbox app Aug 28 00:44:01 and only one for webOS. :) Aug 28 00:45:29 I don't have a ton of apps installed, so I only found a few. going to install a few more password apps and see if I can find more references. oh yeah, ClassicNote is another one, for encrypting notes Aug 28 00:45:49 I reckon 3 should be good for testing purposes Aug 28 00:46:01 since that's the number of testers we require Aug 28 00:48:22 Reboxed may not be useful since the login doesn't work anymore, and I believe that is where it is used.. I'll keep looking. unless you want to use my test ipk as one. :) Aug 28 00:48:38 I'm doing another search now. Aug 28 00:49:05 test ipk should be good Aug 28 00:49:13 'K.I.S.S.' Aug 28 00:50:21 the other two I found I haven't tested: data manager demo and Charisma Aug 28 00:56:36 huh, so I just sat through 2 hours worth of Rush concert… and they didn't even play 2112 Aug 28 00:56:43 colour me significantly disappointed Aug 28 00:58:11 rwhitby: re g_base64_decode: thanks, I'll add a free statement Aug 28 00:58:11 re '\0': cleartextString is one byte longer than the number I pass to the decryption function, so that shouldn't be a problem Aug 28 00:58:11 and yes, it was my intention too to overwrite the encrypted strings and the key at the end, I'll add this (although it's still not completely secure, as it is e.g. passed to V8 where you can't securely wipe it afterwards) Aug 28 00:58:11 Grabber5_0: could you post the list into the bugtracker when you're ready please? :) Aug 28 01:00:03 pc-world: sure Aug 28 01:00:57 brb Aug 28 01:02:54 shiftyaxel: whenever you need testing, you can put the file in pogo, it will send me an email that the folder has been updated Aug 28 01:04:17 wow, nice, finally keyboard arrows in the new version of LunaCE Aug 28 01:05:47 bluen: done, testing focus for this build is the keyboard Aug 28 01:05:54 pc-world: are you running it now? Aug 28 01:06:05 ShiftyAxel: it's broken Aug 28 01:06:27 ShiftyAxel: yes (if you mean the git version of LSM) Aug 28 01:07:13 LarrySteeze: details? Aug 28 01:07:32 pc-world: awesome, working for you? Aug 28 01:07:34 ShiftyAxel: I wasn't notified it was uploaded. Therefore, it is broken. Aug 28 01:07:54 :) Aug 28 01:08:05 LarrySteeze: I didn't realise you were still about, it's in the usual place on github for testing purposes Aug 28 01:08:07 I'd think I'd be among the first :P Aug 28 01:08:22 We really should go about different ways of uploading it by the way Aug 28 01:08:29 the git is starting to grow in size Aug 28 01:08:41 LarrySteeze: +1000 Aug 28 01:08:54 We're the only ones I know about that really do that Aug 28 01:08:57 shiftyaxel: i see it, will install now. what is mojomail in app-service dir for owos? It just got updated. Aug 28 01:08:58 pc-world: ? Aug 28 01:09:12 LarrySteeze: should mean "That's my thoughts as well" Aug 28 01:09:18 git isn't meant for hosting files Aug 28 01:09:38 LarrySteeze: you have my apologies :P Aug 28 01:10:10 bluen: mojomail is the email service for webOS, though I can't for the life of me figure out why they're using the name of an old, dead framework still... Aug 28 01:10:16 ShiftyAxel: yes, haven't noticed something broken... number buttons in the keyboards are a bit smaller, but that's due to the arrow keys... smileys/.com etc. working now Aug 28 01:11:07 shiftyAxel: thanks. so you need an app-service for mail along with the core app mail? what does the service do? Aug 28 01:11:30 who says Mojo's dead? :( Aug 28 01:11:31 soon the LSM repo will be bigger than libcurl's... and libcurl's respository's age is about 10-20 years Aug 28 01:11:41 Grabber5_0: it isn't open source :P Aug 28 01:11:55 bluen: well, IMAP, POP, SMTP etc. Aug 28 01:12:10 there are quite a few things I prefer about Mojo, but I digress. Aug 28 01:12:24 Preware is Mojo. Case closed. Aug 28 01:12:29 pc-world: thanks for the explanation Aug 28 01:12:42 :D Aug 28 01:13:03 haha... was there once an Enyo version of Preware in the works? Aug 28 01:13:04 like scrolling lists! Aug 28 01:13:30 * HaDAk grumbles about enyo2 not having a proper date selector Aug 28 01:13:30 getting harassed.. have to put kid to bed.. brb Aug 28 01:13:49 shiftyaxel: please verify: 595588e97b58ee1a8c4988acd0fc1985 lunasysmgr (nod to larrysteeze) Aug 28 01:14:18 595588e97b58ee1a8c4988acd0fc1985 Aug 28 01:14:20 it matches Aug 28 01:14:25 check! Aug 28 01:14:36 aww, I was hoping preware would get an enyo/2 rewrite at some point Aug 28 01:14:46 I really, really dislike Mojo after seeing how fast enyo2 runs Aug 28 01:15:08 Preware's speed problems are not in places that Enyo would make a difference. Aug 28 01:15:09 well, on the TouchPad Mojo is *really* fast I think Aug 28 01:15:22 they told us Enyo was faster :rolleyes: Aug 28 01:15:36 Grabber5_0: they tell you many things :P Aug 28 01:16:01 No-one has put forward a cost-benefit case which would warrant rewriting Preware in Enyo. Aug 28 01:16:22 they've told us webOS 2 would get Facebook messaging via an OTA update... did it? No. And I'm glad, because I've made money out of it :D Aug 28 01:16:34 pc-world: made a bet? Aug 28 01:16:44 ShiftyAxel: nope, wrote an app Aug 28 01:17:02 and I'd quite like scroll position indicators in 'all packages', but that's definately not enough to warrant a complete rewrite Aug 28 01:17:23 and Enyo1 WAS faster, providing you ran it on a TP :P Aug 28 01:17:27 ShiftyAxel: aren't there "scroll position indicators" patches for Mojo in Preware? Aug 28 01:17:36 there are indeed, and they're good Aug 28 01:17:42 Preception Aug 28 01:17:47 though iirc they don't support 3.x Aug 28 01:18:40 ShiftyAxel: whoa. Are those... arrows? I am filled with delight Aug 28 01:19:46 bluen: careful with all that delight. it gives you gas later. Aug 28 01:20:18 bluen: they sure are Aug 28 01:21:13 Hadak: Some things are worth it. This is incredibly functional. Aug 28 01:21:42 arrows work in email. Check Aug 28 01:21:44 i know. i was using it before, and already had suggestions to improve it. Aug 28 01:21:45 apparently it moves up and down with the shift key too Aug 28 01:22:14 bluen didn't know ;) Aug 28 01:22:25 hey, speaking of the email client. i'm looking for more input on this redesign i'm working on -> http://localhostr.com/files/3mrkZhH/email_client.jpg Aug 28 01:22:57 bluen, pc-world: would you call this a success? Aug 28 01:23:01 (the LSM testing) Aug 28 01:23:19 So the up down arrows move just one line and then you hit the shift key again? thats what it looks like in tapnote Aug 28 01:23:37 capslock/hold it? Aug 28 01:23:38 ShiftyAxel: if hold down the shift key and press arrow keys, it'll select the text Aug 28 01:23:43 not sure if that's intended or not Aug 28 01:24:29 oh yeah, interesting Aug 28 01:24:38 if you put capslock on and hold the arrows, it selects too Aug 28 01:24:39 eyjf Aug 28 01:24:46 but immediately deselects when you release Aug 28 01:24:59 mans could probably harness that to our advantage Aug 28 01:25:05 HaDAk: nice Aug 28 01:25:19 holding down the shift key and press up and down is more functional because you can highlight more than one row. If you dont hold down shift key but just press, you can move up and down one row only. is that what you get? Aug 28 01:25:53 pc-world: any other thoughts? ^^ Aug 28 01:26:23 holding it and pressing up/down selects for me, tapping shift and then up/down moves between lines but reverts back to the left/right arrows Aug 28 01:26:35 HaDAk: haha... well I like that the subject is actually in foreground and that you make better use of space beside the avatar :D Aug 28 01:26:59 pc-world: so far, that's what i've focused on - both of those things. Aug 28 01:27:15 HaDAk: wow, just noticed Quick Reply... any other things you've changed? Aug 28 01:27:17 shiftyaxel: yes same behavior with mine for shift and up down arrow Aug 28 01:27:26 pc-world: threaded emails Aug 28 01:27:34 pc-world: see the stacked email on the top of the list Aug 28 01:27:35 hadak: i saw that quick reply yesterday--loved it Aug 28 01:27:44 HaDAk: ahh now that's cool! Aug 28 01:28:01 full disclosure: this is all PHOTOSHOP work. this client doesn't actually exist...yet. Aug 28 01:28:02 HaDAk: will it show e-mails from the sent folder as well, and even if your recipient hasn't responded yet? Aug 28 01:28:09 shiftyaxel: checking keyboard behavior in smartoffice and quick office now, will report back Aug 28 01:28:17 HaDAk: lol Aug 28 01:28:20 pc-world: dunno. i'm just brainstorming. Aug 28 01:28:32 i'm going to need help coding this up, once we get the source Aug 28 01:28:42 HaDAk: isn't it open source already? Aug 28 01:29:04 pc-world: perhaps, but rather than diving in and figuring it out as i go, i'd like to have some sort of an end goal Aug 28 01:29:06 HaDAk: https://github.com/openwebos/core-apps/tree/master/com.palm.app.email Aug 28 01:29:18 pc-world: if you (or anybody) would like to start hacking in some of these changes, PLEASE be my guest Aug 28 01:29:45 after derek put 'full disclosure' in every single f£$&ing article for about a week, I have an uncontrollable urge to ~lart whoever says it... Aug 28 01:30:09 haven't read a PreCentral article for a while... Aug 28 01:30:19 that email app's written in enyo1 Aug 28 01:30:31 in smartoffice doc: left/right arrows work but up and down arrows do not move cursor (unlike email and tap note). Pressing up down arrows in smartoffice do not move cursor but page view reveals additional line to see at bottom of page Aug 28 01:30:31 it needs to be rewritten in enyo2 Aug 28 01:30:36 +1 HaDAk Aug 28 01:30:40 ShiftyAxel: it doesn't seem like they'll rewrite them in Enyo 2 in time for Open webOS release, right? Aug 28 01:30:46 i'm still in my learning stages of enyo (and javascript as a whole) Aug 28 01:30:55 pc-world: I think that's probably down to us Aug 28 01:30:59 so somebody who knows more... Aug 28 01:31:00 but we shall see Aug 28 01:31:18 ShiftyAxel: well, then I'd suggest just leaving it as Enyo 1 Aug 28 01:31:24 what would be the advantages of Enyo 2? Aug 28 01:31:29 speed Aug 28 01:31:31 Enyo 1 is much mor mature Aug 28 01:31:33 *more Aug 28 01:31:34 forward compatability Aug 28 01:31:35 massive speed increase Aug 28 01:31:42 enyo.Panels for nicer layout Aug 28 01:31:53 ShiftyAxel: speed increase on the TouchPad? Aug 28 01:31:58 pc-world: fuck yes Aug 28 01:31:59 HaDAk, you are looking at making this threaded right? Aug 28 01:32:03 have you tried it or is it just what Palm says? Aug 28 01:32:08 i've tried it Aug 28 01:32:26 ka6sox: yeah, i am. note the mock up threaded conversation indicator(s) in the message list Aug 28 01:32:31 kk Aug 28 01:32:32 ShiftyAxel: I've tried Enyo 2 on CM9 on my TP and wasn't really impressed with performance Aug 28 01:32:48 pc-world: that's because the android browser is really bad at enyo2 Aug 28 01:32:56 it runs really fast under webOS Aug 28 01:33:09 shifty, you had two words too many there. Aug 28 01:33:11 how is it on iOS? Aug 28 01:33:25 heck, even the JB browser with it's swanky new project butter improvements turns into a powerpoint when you run the enyo2 sampler in it Aug 28 01:33:39 iOS runs it as smooth as butter, but I think that's because Safari is using WebKit2 now Aug 28 01:34:06 EricBlade: I dunno, I quite like the JB browser :P Aug 28 01:34:19 ShiftyAxel: the JB browser is the same engine as the "Chrome app", right? Also tired the sampler in the Chrome app on ICS, isn't really smooth Aug 28 01:34:34 pc-world: unsure, I don't think so Aug 28 01:34:55 I tried the sampler under chrome in JB yesterday… very very broken Aug 28 01:35:04 whereas it runs, albeit super-slowly, in the stock one Aug 28 01:35:14 ShiftyAxel: ahh you mean it's broken Aug 28 01:35:31 I wasn't sure if you think a PPT is smooth or not :P Aug 28 01:35:33 i have a galaxy nexus with JB on it. i could try it in the browser and in chrome. Aug 28 01:35:45 PPT = choppy as hell in my dictionary ;) Aug 28 01:35:48 HaDAk: http://enyojs.com/sampler Aug 28 01:35:59 HaDAk: that's what I tested on, you're in for a jank-fest Aug 28 01:36:00 ] Aug 28 01:36:17 +1 for yank-fest Aug 28 01:36:28 ShiftyAxel: as far as i can tell, both enyo 1 and 2 are completely broken in JB Aug 28 01:36:32 for some reason the touch handling is messed up under chrome, none of the taps register in the right place unless you're in landscape Aug 28 01:36:40 yuck... Aug 28 01:36:58 wow quickoffice, using the shift key and the up arrow i highlighted a phrase then used the x right below to delete. It happened very fast. Aug 28 01:37:02 EricBlade, is there an advantage for us to use E2 vs E1 for apps in OW? Aug 28 01:37:04 quickoffice doc Aug 28 01:37:24 HaDAk: that's the enyojs sampler apk: http://www.mediafire.com/?76magwojdurd9ic Aug 28 01:38:02 EricBlade: they work for me, just ridiculously slowly. I'm wondering if it's because enyo2 doesn't have the regex for detecting JB in it yet, or if they changed some backend stuff and it went boom... Aug 28 01:38:32 it's gross on my phone, on chrome Aug 28 01:38:46 HaDAk: tried it in the stock browser? Aug 28 01:38:48 isn't the galaxy nexus supposed to be wide open, in terms of hardware and drivers and such? Aug 28 01:39:08 HaDAk, define "totally open"? Aug 28 01:39:12 ka6sox: uhh.. why are you asking me that o.O Aug 28 01:39:15 HaDAk: check if there's CM9 for it Aug 28 01:39:46 dunno...just trying to get more input :D Aug 28 01:40:00 (although from what I've heard CM distributes proprietary drivers) Aug 28 01:40:35 ka6sox: so is WebOS Ports planning to adopt Open webOS once it's released? Aug 28 01:40:35 quickoffice spreadsheet-using the shift with up down arrow will highlight whole phrases to left or right of cursor Aug 28 01:40:36 the stock browser is actually reasonable Aug 28 01:40:56 HaDAk: is the stock browser in JB what they call "Chrome"? Aug 28 01:40:56 HaDAk: define 'reasonable'? Aug 28 01:41:03 pc-world: no, chrome is separate Aug 28 01:41:10 https://twitter.com/webosinternals/status/240262616088453121 Aug 28 01:41:11 reasonable as in, speed isn't bad Aug 28 01:41:17 pc-world, porting webos does seem to be in our name...and that would seem to be the next reasonable step. Aug 28 01:41:26 if ya'll crybabies want me to take a video, i can Aug 28 01:41:28 HaDAk: iirc scrolling lists worked nicely, but JS-based animation (panes etc) was horrible Aug 28 01:41:56 rwhitby: RT'd Aug 28 01:41:59 it's choppy switching panels, but it's not intolerable Aug 28 01:42:03 ka6sox: so you've give up the hope that HP will do things like porting core apps to Enyo 2 etc.? ;) Aug 28 01:43:18 pc-world, we have what we have...I think if someone *paid* them to upgrade them to Enyo2 they might! Aug 28 01:43:20 :D Aug 28 01:43:32 well I'm not going to pay them :D Aug 28 01:44:03 smartoffice excel--once you highlight that word in spreadsheet using the shift and up down arrow, it is gone with next flick of keyboard, dont even have to touch delete. So proceed with caution Aug 28 01:44:33 bluen: thanks, I think that's sufficient for testing now, considering it's already in the feeds :P Aug 28 01:45:14 the woce repo... Would it be really that hard to move the binaries into a seperate repository and point the autobuild system (or however you call it) to the new repo that just contains the binaries? Aug 28 01:45:40 shiftyaxel: what would be needed to be able to highlight a pdf? That and browser fixes are very much used for tablets Aug 28 01:46:12 browser fixes--ie making the browser faster and able to read more pages than the current one for example Aug 28 01:46:14 bluen: shouldn't be too hard to impliment into a PDF app, though I'm no expert Aug 28 01:46:21 that's what isis is for Aug 28 01:46:25 rwhitby: quick! to the prewares! Aug 28 01:46:46 I don't think there's a lot of point in us trying to fix the CE browser stack given that there's a shiny new one just around the corner Aug 28 01:47:04 agreed Aug 28 01:47:07 if it runs on TP ofc Aug 28 01:47:09 i do have a suggestion though Aug 28 01:47:27 more than once have i found myself wanting to take notes with one of those little tablet pens Aug 28 01:47:33 but the input is so choppy, it's unusable Aug 28 01:47:45 we need to find a way to smooth input to the point where handwriting is a possibility Aug 28 01:48:50 like that video microsoft made of super-low-latency touchscreens? Aug 28 01:48:57 i guess Aug 28 01:49:05 all i know is that if you try to draw a circle, you get a triangle. Aug 28 01:49:09 i think the granularity of the input device resolution might make that a wee difficult, with a touchpad Aug 28 01:49:11 i hate to say it, but for the meantime 'dream on' Aug 28 01:49:32 hm. Aug 28 01:49:46 responsiveness like that is a long way off considering the input has to go through the software stack Aug 28 01:50:41 I think drawing/handwriting apps will probably be somewhat more doable in the future though Aug 28 01:50:46 I'll be back after a device restart *updates Luna* :) Aug 28 01:50:51 providing that isis is a big enough performance gain Aug 28 01:50:52 so the "com" key is fixed. Aug 28 01:50:58 bluen: yeah, smilies too Aug 28 01:51:05 i wasn't expecting a fix tomorrow, just wishlisting it. Aug 28 01:51:23 what are the odds we can get a dual app view going? Aug 28 01:51:35 two side-by-side apps? (if horizontal) Aug 28 01:51:52 HaDAk: nothing's impossible, that idea's been kicking around in my head for a while Aug 28 01:52:02 so you could read your browser and IM back and forth without switching apps Aug 28 01:52:04 it's just figuring out how to make it work that's been the challenge Aug 28 01:52:12 i think that should be somethign we implement, seeing as how it shouldn't be so hard. Aug 28 01:52:23 'shouldn't be so hard' he says :P Aug 28 01:52:31 from a design standpoint, that is ;) Aug 28 01:52:35 in the messaging app, the up down arrow move you to the beginning or end of text Aug 28 01:53:04 HaDAk: lol, IngloriousApps would be angry ^^ Aug 28 01:53:11 in messaging holding shift and up down highlights the text Aug 28 01:53:12 bluen: well, isn't that expected? Aug 28 01:53:19 pc-world: lol, true, they would. Aug 28 01:53:26 gn Aug 28 01:53:28 that much is easy, pinch a two-card stack together in card view to squish it into a two-cards-in-one-card Aug 28 01:53:31 pc-world: you mean like https://github.com/woce/LunaSysMgr-binaries ? Aug 28 01:53:34 pc-world: but their app would still serve a purpose -- they have widgets Aug 28 01:53:53 bluen: wenn I press up/down arrow keys on my computer in a single line text field it jumps to the end/beginning as well Aug 28 01:54:28 rwhitby: yes... for the meantime till there is a better solution :) Aug 28 01:55:06 pc-world: very delightful; its not true though that there is one to one correspondence between behavior on a pc and the touchpad, (noting your name says pc-world) Aug 28 01:55:35 is there a -simple- bullet point list for packaging and deploying apps to the emulator? juvenile, i know, but i haven't done any app development yet. Aug 28 01:56:02 HaDAk: palm-package Aug 28 01:56:04 hadak: "palm-run ." Aug 28 01:56:15 assuming cwd is the app directory Aug 28 01:56:25 that seems much more sensible than my suggestion :P Aug 28 01:56:27 that's a pretty simple bullet point. thanks guys. Aug 28 01:56:35 bluen: well, I don't see a reason why not to have that feature on a TP, especially with BT keyboard Aug 28 01:56:46 EricBlade: what... does "palm-run ." work? o.O Aug 28 01:56:50 alternatively you could use expressjs to host a webserver on localhost Aug 28 01:57:01 i cloned the core-apps repo. i'm going to see if i can destroy shit by converting it to enyo2 Aug 28 01:57:03 then access it through the browser in the emulator Aug 28 01:57:22 HaDAk: haha, if you think it's that easy ;) but seriously, do it! Aug 28 01:57:22 ShiftyAxel: it'd still need all the libs Aug 28 01:57:25 HaDAk: that won't be an easy task for the more advanced ones, plumbing in services Aug 28 01:57:47 hey, i only plan on changing where it says "enyo 1" to "enyo 2", to see what happens. Aug 28 01:57:55 i'm not expecting anything other than a glorious mess of fireworks Aug 28 01:58:19 HaDAk: if you get any app to work or load with Enyo 2, than you can be happy Aug 28 01:58:41 given that enyo2 isn't on the tablet, i realize this Aug 28 01:58:46 i'd need to shove enyo2 on there first Aug 28 01:59:06 HaDAk: package enyo2 with the app Aug 28 01:59:22 HaDAk: that isn't the problem... the real problem is that you need to rewrite almost every single line of the apps Aug 28 01:59:23 i could try that. Aug 28 01:59:29 ew. really? Aug 28 01:59:30 gross. Aug 28 01:59:37 HaDAk: that's the officially-endorsed method Aug 28 01:59:39 * HaDAk isn't a javascript dev, in the slightest Aug 28 01:59:43 Enyo 2 and Enyo 1 aren't compatible (at least the GUI) Aug 28 01:59:47 they made it small and light so it could be done that way Aug 28 01:59:55 hum Aug 28 01:59:57 as opposed to having to load it into /use/palm/frameworks Aug 28 02:00:03 s/use/usr/ Aug 28 02:00:04 ShiftyAxel meant: as opposed to having to load it into /usr/palm/frameworks Aug 28 02:00:11 HaDAk: and the core apps probably have several thousands of lines ;) Aug 28 02:00:20 probably Aug 28 02:00:27 well, let's just see if i can hack in some of my changes Aug 28 02:00:29 * HaDAk shrugs Aug 28 02:00:30 pc-world: how would I go about getting rid of all the old LSM binaries in the LSM git?> Aug 28 02:00:41 you'll have to rewrite history to do that, using filter-branch Aug 28 02:00:57 yes... but Linus would kill you then :P Aug 28 02:01:24 pc-world, who is going to tell him? Aug 28 02:01:41 hehe. he's the king of git repositories, he knows everything :P Aug 28 02:02:39 HaDAk, any reason not to start with com.palm.email as the basis for threaded email client? Aug 28 02:02:49 i'm looking at it now, actually. Aug 28 02:03:01 i was going to try to hack together the slimlined header area first Aug 28 02:03:08 because that's just layout stuff Aug 28 02:03:12 which i can probably figure out Aug 28 02:03:28 HaDAk: that should be rather easy... do it, and submit a patch to Preware Aug 28 02:03:57 * ShiftyAxel tries filter-branch Aug 28 02:04:07 watch for a big mushroom cloud over england, guys! Aug 28 02:04:11 that'd be my first official gift to the webos community, and i'd feel damn good about it. Aug 28 02:04:15 * pc-world will cry when ShiftyAxel force-pushes Aug 28 02:04:51 * rwhitby will say "meh" Aug 28 02:05:43 feh, that didn't work at all Aug 28 02:05:55 ShiftyAxel: shall I give you an example command? Aug 28 02:05:58 * ShiftyAxel shouldn't mix gui with commandline Aug 28 02:06:08 git filter-branch --tree-filter 'rm filename' HEAD is what i'm using Aug 28 02:06:10 I did that a few weeks ago with git Aug 28 02:06:16 is that menu button new to enyo2? Aug 28 02:06:23 ShiftyAxel: and where's the problem? Aug 28 02:06:35 I just happened to click 'sync' in the github for mac client, which pulled all the changes back down and brought me back to square one Aug 28 02:06:59 well... if you use a GUI :P Aug 28 02:07:24 I'm trying to repent for my heinous ways and properly learn commandline git, but some stuff still eludes me :P Aug 28 02:07:45 and having to manually add files irks me Aug 28 02:07:48 git push origin features Aug 28 02:08:20 git filter-branch -f --index-filter 'git rm -r --cached --ignore-unmatch file/name' --prune-empty -- Aug 28 02:08:30 (of course first filter-branch) Aug 28 02:09:06 yes :P Aug 28 02:09:15 was there supposed to be something after that last --? Aug 28 02:09:17 and replace "file/name" with "bin/" Aug 28 02:09:19 nope Aug 28 02:09:36 what's it for then? O_o Aug 28 02:09:55 ShiftyAxel: I think it's something like HEAD or so, not sure Aug 28 02:11:22 maybe this "Another question after I answer this is, “Why do you have to put the two dashes there?” The two dashes are canonically called the “bare double dashes”. The reason they are there is because it ensures that the checkout command know that we are trying to roll back a file and not change branches" (http://lostechies.com/jasonmeridth/2010/03/23/git-reset-checkout-amp-quot-bare-double-dash-quot-and-revert/) Aug 28 02:12:01 well dunno :D Aug 28 02:12:28 so long as it works, i won't complain :P Aug 28 02:12:41 all this rewriting histort malarkey is making me feel like a time traveler Aug 28 02:12:50 ShiftyAxel: what was this? "Merge branch 'features' of https://github.com/woce/LunaSysMgr into features" Aug 28 02:12:52 fantastic comment: // this sauce is weak. So weak. Aug 28 02:13:33 wat className: "sexyfresh-dough", Aug 28 02:13:40 ShiftyAxel: now that you're rewriting the history anyway you can remove that empty commit as well Aug 28 02:14:49 congrats... you've made it... it seems Aug 28 02:14:56 pc-world: does 17.14Mb sound like a more reasonable figure? Aug 28 02:15:17 ShiftyAxel: umm... wasn't it 17MB before rewriting? Aug 28 02:15:33 ya, thats what it was. Aug 28 02:16:11 that didn't work then... Aug 28 02:16:21 ShiftyAxel: the old commits are probably still somewhere Aug 28 02:16:27 though probably not referenced anywhere Aug 28 02:16:58 ShiftyAxel, iirc its probably somewhere around 01:16am right? Aug 28 02:17:09 ka6sox: what, here? Aug 28 02:17:14 yes Aug 28 02:17:14 pc-world: any ideas? Aug 28 02:17:21 ka6sox: try 3:17AM Aug 28 02:17:23 ShiftyAxel: e.g. https://github.com/woce/LunaSysMgr/commit/c34060a18480722aae3c58b23556e0c044b3534c Aug 28 02:17:37 I'm not sure, you might only get rid of them by recreating the repo Aug 28 02:17:40 too late to be pruning Aug 28 02:18:10 hmm, that would nuke the history... Aug 28 02:18:38 "only" pull requests, issues etc. :D Aug 28 02:18:42 lets not do that...nuking history Aug 28 02:18:58 * ka6sox sees wailing and gnashing of teeth. Aug 28 02:19:21 ka6sox: history can't be nuked in git (except if you rewrite it :P) Aug 28 02:19:27 ShiftyAxel: try that: Aug 28 02:19:27 git gc --prune=now Aug 28 02:19:36 https://help.github.com/articles/remove-sensitive-data section "Cleanup and reclaiming space" Aug 28 02:19:55 * ka6sox hopes it is being done locally and not on the main repo at this time... Aug 28 02:20:15 ka6sox: it was ShiftyAxel who executed "git push --force ..." afterwards :P Aug 28 02:20:25 I *did* say Linus would find him and kill him xD Aug 28 02:20:25 ouch Aug 28 02:20:54 did anyone capture the binaries and JSON files to put in the zipball repo? Aug 28 02:21:10 pc-world: no luck Aug 28 02:21:14 ka6sox: I still have the full repo Aug 28 02:21:27 (as it was before ShiftyAxel travelled in time) Aug 28 02:21:29 gc did pretty much sod all from what I can see Aug 28 02:21:37 Don't pull! Aug 28 02:21:49 ka6sox: I initialised the binaries repo with 4.4.2 Aug 28 02:22:01 ah, okay Aug 28 02:22:13 and I have a pristine LunaSysMgr in case anything goes pear-shaped Aug 28 02:23:02 * ka6sox grabs a glass of Wine and watches the fireworks :D Aug 28 02:23:58 * scoutcamper grabs popcorn and waits for Linus to /join #webos-ports with a shotgun Aug 28 02:24:38 wait... Aug 28 02:24:46 uh oh Aug 28 02:24:46 24.5 MB was the size before rewriting history Aug 28 02:24:56 now it is about 17MB Aug 28 02:25:09 or 1 revision ago. Aug 28 02:25:13 tagged binaries won't be gc'd Aug 28 02:25:49 7.5mb is an improvement of sorts Aug 28 02:25:59 rwhitby: ahh that could be right Aug 28 02:26:09 images, images-unused, sounds are 5.8 MB Aug 28 02:26:18 but ka6sox it's right, it's time for me to put down the git-shotgun Aug 28 02:26:26 you might want to rewrite tags as well Aug 28 02:26:48 or just remove them, since the tags will now be in the -binaries repo Aug 28 02:26:58 that's a good point Aug 28 02:27:23 rwhitby: well, I think tags should be in the source code as well Aug 28 02:27:37 sure, but not on binaries Aug 28 02:27:40 I think filter-branch would have had a --tags option... but too late now Aug 28 02:27:47 yes Aug 28 02:27:50 so they will be on a different commit now Aug 28 02:27:50 pc-world, they need to be rewritten anyways to prune the binaries Aug 28 02:28:16 ka6sox: commits pointed to by tags probably weren't rewritten Aug 28 02:30:40 morning all. Aug 28 02:30:46 morning k4ever Aug 28 02:30:58 hmm, I removed the tags, then garbage-collected, repo is still 17MB in size Aug 28 02:30:59 k4ever: new lunacoute in feeds with arrows, check it Aug 28 02:31:00 out Aug 28 02:31:29 **autocorrect, well you know what i mean Aug 28 02:31:35 high fashion is in Aug 28 02:31:48 bluen: already got it. it is great so far. good work! Aug 28 02:32:46 I do have a question, what is the dynamic dashboard height API? Aug 28 02:35:16 so the repo didn't explode? Aug 28 02:35:28 k4ever: http://webos-ports.org/wiki/LunaCE_APIs Aug 28 02:35:50 Grabber5_0: everyone who forked it will explode Aug 28 02:35:53 ka6sox: we should probably publicize the API availability now there's a release out there... Aug 28 02:36:07 ~blame ShiftyAxel Aug 28 02:36:07 * WoceBot blames ShiftyAxel for everything Aug 28 02:36:18 lol Aug 28 02:36:19 lol @ pc-world Aug 28 02:36:20 ~botsnack Aug 28 02:36:20 :), scoutcamper Aug 28 02:36:48 ShiftyAxel: https://twitter.com/webosinternals/status/240276668692979713 Aug 28 02:37:05 ShiftyAxel: the HP tarball is 17.6MiB in size... now the repo is about 17.14 MiB in size... that's fine, I guess Aug 28 02:37:06 tyvm rwhitby Aug 28 02:37:22 pc-world: so the history rewrite fixed it after all? Aug 28 02:38:11 OUTSTANDING! so this is will add "widgets" to webOS? Aug 28 02:38:20 k4ever: it's certainly a good start :) Aug 28 02:38:25 *thinks of ways to abuse that * Aug 28 02:38:35 get developing, guys! :D Aug 28 02:38:56 ShiftyAxel: well, there are still some binaries in it Aug 28 02:38:56 clock, weather, news/social network tickers, the possibilities are endless Aug 28 02:39:36 I thought we already had something like that Aug 28 02:40:08 Grabber5_0: widgets? Aug 28 02:40:21 we've always had the dashboard, but it's never been != 52px in height Aug 28 02:40:26 large size popups Aug 28 02:40:48 popups aren't persistent Aug 28 02:41:22 couple of suggestions. I think the "widget" drop down should be to the far right of the screen and there should be a way to keep the drop down open and behind active windows. Aug 28 02:41:35 ShiftyAxel: in which branch were you when filter-branching? Aug 28 02:41:45 pc-world: features Aug 28 02:41:56 widgets.. not for me I guess :-) Aug 28 02:42:07 I think there may be some binaries in master now you come to mention it... Aug 28 02:42:23 well got chores to do.. will email that list to myself and post it in the issue tracker Aug 28 02:44:35 ShiftyAxel: you might want to have used the "--all" option in filter-branch... but wait, I'm currently playing around with it Aug 28 02:51:44 ShiftyAxel: Is the clock widget already incl Aug 28 02:51:59 kever: no, I'm looking into getting it into Preware Aug 28 02:52:01 ..included in 4.4.2? Aug 28 02:52:24 cool Aug 28 02:52:24 see previous response :P **** ENDING LOGGING AT Tue Aug 28 03:00:03 2012