**** BEGIN LOGGING AT Mon Jul 09 02:59:58 2012 Jul 09 03:01:32 rrix: Seems like it would be a common mistake. There should be something to catch it. Jul 09 03:14:11 Stupid Android click delays. Jul 09 03:14:30 I had to implement my own "touchbutton" that listened for touch events instead. Jul 09 03:35:33 kesne: Yeah, I agree Jul 09 03:35:50 Like some flag in the layout kind that says "Hey I'm a layout" Jul 09 03:38:42 rrix: Yeah, that would work. Just something to make if fail elegantly. Jul 09 03:38:48 Indeed Jul 09 03:39:00 * rrix opens up enyo source Jul 09 03:39:52 It'd be really cool if FittableColumns could return the layout kind when used as a layoutKind Jul 09 05:33:39 Woo, this touchbutton layer works on anything clickable <3 Jul 09 08:25:22 wow i thought i understood transitions. wtf Jul 09 08:25:57 trying to do a simple opacity fade in/out on my main views, and the titlebar is changing color. f'n weird Jul 09 09:44:00 jeebus Jul 09 09:44:11 they really made use of inheritence in enyo 1 Jul 09 09:44:45 Object->Component->Control->LazyControl->BasicPopup->Popup->Menu->PopupSelect->PopupList Jul 09 13:40:47 EricBlade: inheritance is quite efficient, so it's not necessarily bad to split things up :) Jul 09 13:41:13 EricBlade: as in: method combination is done when the methods are defined. (which kind-of sucked for us, but really rocks for everyone else) Jul 09 14:34:39 madnificent: so, this metaprogramming thing you've been on about, what is it? Jul 09 14:45:07 summatusmentis: check the github about it. it's rather cool, but we've had to add hooks into enyo itself. so, if you want to give it a testrun, i'll (possibly temporarily) add our local fork of enyo to github. the patches which need to occur are decoupled from enyo itself, but they need to be loaded at the right time, which is why we had to patch enyo. Jul 09 14:45:17 * madnificent doesn't mind sharing though Jul 09 14:45:36 linkplz? Jul 09 14:46:11 https://github.com/madnificent/enyo-features/ Jul 09 14:47:26 the latest version even uses base features to define the features we assume people will traditionally start definining their features from :) Jul 09 14:48:40 that looks really nice Jul 09 14:48:44 I don't want to use/learn it yet Jul 09 14:48:58 but it looks like it addresses some of what I'm already sorta kinda trying to do Jul 09 14:51:13 summatusmentis: what are you trying to do, perhaps i can tell you 'yes/no' or 'easy/hard' Jul 09 14:51:47 I'd like to be able to populate a form element on the fly, based on the type of data our server is requesting Jul 09 14:52:15 * madnificent is quite proud of enyo-features, especially given its small implementation Jul 09 14:53:47 summatusmentis: does inheritance solve the issue for you? enyo-features is good for adding abstraction and removing code-duplication. if (single) inheritance does what you need, enyo-features will not help you Jul 09 14:54:44 can you explain what you mean? Jul 09 14:55:01 I know what inheritance is, but I'm not sure I understand how it helps in my case Jul 09 15:07:09 summatusmentis: i don't know what you want to do exactly. however, if you can make a wrapper for the form element and nest the form element in that, then you may be able to auto-populate by using that wrapper element. Jul 09 15:07:49 * madnificent doesn't grok what you're trying to do exactly though. Jul 09 15:07:49 well, as it stands now, I'm doing a lot of createComponent()s Jul 09 15:08:58 if you have the repeated code pasted somewhere, drop me a link. perhaps it'll tell me more :) Jul 09 15:12:28 I don't, and it's not easy to do right now Jul 09 16:59:39 i want to add the class enyo-button-negative and revert to no added class Jul 09 16:59:51 dynamically in a function Jul 09 17:18:53 http://enyojs.com/api/#enyo.Control::addRemoveClass Jul 09 17:23:34 it's still not working, check out http://pastebin.com/dF3x7PJ6 Jul 09 17:30:30 try this.$.btn.addRemoveClass("enyo-button-negative", !this.astronomyMode); Jul 09 17:30:47 oh, your astronomyMode scope is wrong Jul 09 17:31:19 when you say var astronomyMode, the astronomyMode variable is only scoped within the function it's defined in Jul 09 17:31:34 get rid of the var Jul 09 17:39:28 I'm trying to createComponents within a Scroller, but I need them to render. However, calling render on the scroller makes it be angry Jul 09 17:41:47 in particular :Uncaught TypeError: Cannot call method 'getScrollLeft' of undefined Jul 09 17:44:29 thank you! i used cookies and it works! Jul 09 18:02:56 you didn't need cookies, but I'm glad it works Jul 09 18:04:51 summatusmentis: not sure, but could it be that they are rendering but that the content of the scroller doesn't have an explicit width/height? Jul 09 18:05:22 the scroller doesn't display anything unless it's somewhat smart Jul 09 18:06:29 ugh, really? Jul 09 18:06:40 I have to have a size set for Scroller? Jul 09 18:06:42 that's irritating Jul 09 18:07:06 summatusmentis: i seem to recall something of the likes Jul 09 18:07:13 summatusmentis: try it, see if that makes it work Jul 09 18:07:47 also, i think it may be enough if you 'force' the scroller itself to have a certain size... not sure if the content *must* have a size as well. but it's a caveat in the likes of that. Jul 09 18:13:38 doesn't seem to work giving explicit size to the scroller Jul 09 18:15:49 summatusmentis: we gave an explicit size to the scroller, i think (setting its css position to absolute (so width and height work), and i think we forced the contents to have a size as well. Jul 09 18:17:10 i'd really like to not need to do this Jul 09 18:17:26 summatusmentis: try to get it to work first, then remove stuff Jul 09 18:18:01 i believe it stems from the fact that the scroller doesn't really 'know' how big it needs to be, regardless of its contents. if it could be any size, then it'd never scroll. Jul 09 18:18:41 however, there are these flexboxes (not the CSS ones, the enyo ones) which may solve the problem for you Jul 09 18:18:59 what are you trying to do exactly? (not that i'm certain what the solution is, me memory is vague) Jul 09 18:19:54 I'm using the accordion control, and I'd like to populate form elements into it. The difficulty is that the from elements are variable in quantity, so I don't know how many I'm going to be needing until I do it Jul 09 18:50:56 madnificent: well, sure, inheritence is great, but it's a whole hell of a lot easier to do with when you have a system that can give you a proper reference to the file/class/kind before it via some method such as ctrl-clicking, and have an editor that can "Search in all subclasses" or "search in all parent classes" Jul 09 18:51:33 and we have neither of those for Enyo, which makes having that large a number of super kinds quite difficult to follow what's happening Jul 09 18:54:35 grr. game on apparently is crashing on the kindle. Jul 09 18:55:07 i have an actual log from teh kindle, but, as usual it's absolutely useless Jul 09 18:56:45 am i supposed to be using the bootplate for other platforms ? Jul 09 18:58:53 madnificent: so, it seems that the issue is the Accordion thing from the community repo Jul 09 19:32:30 to set the app to be fullscreen, do yo call enyo.setFullScreen("true"); on launch? Jul 09 19:42:29 any Enyo-ers going to be at OSCON? Jul 09 19:42:56 baboo: what do you mean by fullscreen? Jul 09 19:43:08 as in, cover all toolbars? or just fill the whole window? Jul 09 19:49:28 as in cover the top bar Jul 09 19:50:09 I'm not certain how that works. I don't thiink it's that straightforward Jul 09 19:51:34 I did it in my app tracer, but when I copied the code over, it didn't work Jul 09 19:53:40 what do you mean apptracer? Jul 09 19:54:23 a touchpad app that I am working on that has full screen working Jul 09 19:56:07 my earlier post " it's still not working, check out http://pastebin.com/dF3x7PJ6" has the source. look in the lockDisplay function Jul 09 20:01:27 and that did work? Jul 09 20:03:56 because if so, then use it Jul 09 20:04:04 unwiredben: are any enyo team folks going to be at OSCON? Jul 09 20:04:05 not on the app the code belongs to Jul 09 20:04:39 babooveer: I'm having trouble following Jul 09 20:04:46 the code you posted above, is it fullscreen? Jul 09 20:04:56 no Jul 09 20:06:02 ok. So, I'm not certain that enyo.setFullScreen() is a function Jul 09 20:06:05 I've never heard of it Jul 09 20:06:41 have you ever made your apps full screen? Jul 09 20:06:54 BTW, i'm in enyo 1 Jul 09 20:07:02 for webos Jul 09 20:11:00 I'm writing my first enyo app currently, so I'm not super familiar with enyo, and definitely not enyo1 Jul 09 20:11:16 you might need to look into exhibition mode for "real" fullscreen Jul 09 20:11:31 because otherwise, I think the toolbar will show Jul 09 20:28:36 in it works now, i added quotes on ("true"), s/"true"/true Jul 09 20:29:09 it means i replaced "true" with true Jul 09 20:32:30 right, got it Jul 09 20:43:49 * phil_bw wanders by Jul 09 21:05:50 * baboo is wondering why phil_bw wanders by Jul 09 21:06:03 * phil_bw really doesn't know Jul 09 21:12:27 It's what he does Jul 09 21:12:36 * phil_bw nods Jul 09 21:27:04 * baboo notices his veer is disconnected Jul 09 21:38:03 well that was nice, thought I had lost some work due to a frozen process Jul 09 21:38:19 went to the bathroom for a few minutes, came back and it had recovered nicely :) Jul 09 21:38:55 most of the time it's me going to the bathroom to think, this time the Fujitsu had the honors Jul 09 22:12:06 * baboo wonders if anyone would like his astronomy and regular flashlight for the TP Jul 09 22:23:49 anyone have any good suggestions for an Enyo date picker? I just need something super simple... probably need to just roll my own I'm guessing Jul 09 22:47:13 you could put 3 integer pickers side by side to form the date numbers, eg 10/12/12, 3/7/01 Jul 09 22:54:47 yeah, I'm basically just building a basic "select" based selector Jul 09 22:56:11 what does that mean? Jul 09 22:56:29 you know