**** BEGIN LOGGING AT Tue Apr 30 02:59:58 2013 Apr 30 03:24:42 hey guys Apr 30 03:25:07 What's the standard file to put your license information in for a project? LICENSE.txt? COPYING.txt? Apr 30 04:16:20 GodGinrai, I use license.txt for mine Apr 30 04:16:35 k Apr 30 06:45:18 goodmorning Apr 30 14:27:47 hey guys Apr 30 14:28:15 is inEvent.charCode not available onkeydown? Apr 30 15:07:53 madnificent, summatusmentis, Roy__, scoutcamper, ka6sox: Do any of you know a way to check for only pressed keys that input a character? I'm trying to prevent bad keys, Apr 30 15:08:15 but it's preventing useful keys like delete and backspace and enter instead Apr 30 15:12:38 I have some code, hold on Apr 30 15:14:27 I've got a function call onkeyup that checks the field against a regex Apr 30 15:14:32 by field, I mean the input box Apr 30 15:22:17 hi guys.. what's the recommended enyojs way to make request to a web service like every 30 secs? Apr 30 15:31:28 summatusmentis: but then you'd have to remove the text Apr 30 15:31:38 I'm trying to prevent it. Apr 30 15:32:15 sugardave: is there any catchall for non-keyboard keys in the key events? Apr 30 15:38:39 hisa_py: I would suggest using the Enyo jobs. Depending on what version of Enyo you are using, you can use enyo.job, or the job functions that belong to all descendants of control Apr 30 15:48:47 GodGinrai: onkeydown, doesn't that exist? Apr 30 15:51:46 yes madnificent, I am not trying to find when to prevent keys, but how not to prevent non-character keys w/o so much hardcoding Apr 30 15:53:58 GodGinrai: I'm using enyo 1 because I'm developing for HP TouchPad and I need dbService and other stuff Apr 30 15:54:29 Is there an Enyo Jobs equivalent for Enyo 1.0 and webOS? Apr 30 15:54:46 I found it Apr 30 15:54:46 GodGinrai: assuming ascii (which is wrong), you can use the character codes, i think Apr 30 15:54:47 : ) Apr 30 15:56:21 madnificent: I said WITHOUT hardcoding Apr 30 15:56:36 GodGinrai: it is using the constraints you are given... Apr 30 15:59:30 GodGinrai: you don't have to remove the text? Apr 30 16:00:14 madnificent: summatusmentis's solution would require less coding than the one you suggested Apr 30 16:01:10 summatusmentis: If you use inEvent.preventDefault() during the keypress event, it stops it before it gets added Apr 30 16:02:14 GodGinrai: i don't see how that helps. i thought both onkeyup and onkeydown both send the keycode that was pressed. i didn't think either of both indicated in a boolean value whether or not the keypress had a printable character connected to it. Apr 30 16:03:27 I don't know if they did, but if they did, or there was at least a list, it would reduce it to 1 if statement. Apr 30 16:03:27 GodGinrai: I'm only doing field validation, making sure things are in the right format, so I don't care as much about the keycodes themselves Apr 30 16:09:50 GodGinrai: you could also check whether or not the content of the text field has been changed after the key press is registered. if it hasn't changed, ut must've been an unprintable chacacter Apr 30 16:10:31 madnificent: that's what summatusmentis already suggested. Apr 30 16:10:51 i thought he suggested a regex to see if the content was valid... Apr 30 16:11:02 yeah, it's roughly the same process though Apr 30 16:11:49 well, similar. the datastructures are different and the checks are different... i do see the similarity though Apr 30 16:12:36 right, I only meant the abstract "run a check after every keypress, react accordingly" structure Apr 30 16:20:08 madnificent: since I needed to prevent bad characters, I'd run the regex instead of just the check Apr 30 16:20:52 GodGinrai: oh, when you said "remove the text" you mean you'd have to remove a character from the field if it was bad Apr 30 16:21:24 we just change the color to red right now unless the data matches an email address Apr 30 17:01:49 summatusmentis: For my use, I would have to remove the character, because it's for a combobox, and I need the input to be clean for the multiple select Apr 30 17:23:23 oh, I see Apr 30 17:39:00 I just learned about ripple emulator Apr 30 17:39:08 seems to rock ! Are you aware of this tool ? Apr 30 19:06:46 Hey all Apr 30 20:17:07 Woop woop Apr 30 20:17:16 enyo-depends uninstall working Apr 30 20:54:29 :))) Apr 30 20:54:33 congrats! Apr 30 20:54:49 Thanks! Now I just have to make it remove the libs from package.js. Apr 30 21:04:00 Auto-including to package.js is now working too. Apr 30 21:04:31 So on install you don't even have to edit anything, just install and start using new kinds! Apr 30 21:18:01 kesne: add an option so the install isn't forced. you might want to use only part of the new library (and/or an argument to specify that) Apr 30 21:18:22 madnificent: Already done: --nodepends Apr 30 21:18:41 It still includes the libraries dependencies, but it doesn't include it in package.js or enyo.json Apr 30 21:19:05 And when I say "includes the libraries dependencies", I mean downloads the, Apr 30 21:19:07 *them Apr 30 21:31:56 kesne: very good Apr 30 21:32:02 well done Apr 30 21:32:18 Thanks! :) **** ENDING LOGGING AT Wed May 01 02:59:58 2013