Re: What's the easiest way to tell if a character is a letter or not?

2013-04-22 Thread Alex Harui
On 4/21/13 8:43 PM, Justin Mclean jus...@classsoftware.com wrote: Hi, Thank Paul for all of that - very interesting and possible one way to go as the code is under MIT licence. I'm now thinking the quick fix solution is to skip anything that's not a space or format character as that's

Re: git commit: [flex-sdk] - Fixes FLEX-33370. Refactors MAX_DRAG_RATE to be a protected variable so that it is extenable by other components.

2013-04-22 Thread Alex Harui
Hi Nick, Welcome back. I think protected vars don't go in the list in the class header. Also, git seems to show different indentation than the rest of the file. -Alex On 4/21/13 2:23 PM, que...@apache.org que...@apache.org wrote: Updated Branches: refs/heads/develop 024a49261 -

Re: Been out of the loop -- looking to catch up

2013-04-22 Thread Alex Harui
On 4/21/13 9:28 AM, Nicholas Kwiatkowski nicho...@spoon.as wrote: On Sun, Apr 21, 2013 at 12:21 AM, Alex Harui aha...@adobe.com wrote: On 4/20/13 5:23 PM, Nicholas Kwiatkowski nicho...@spoon.as wrote: - I have Tour de Flex from Adobe ready to donate (been sitting on it for a

Re: What's the easiest way to tell if a character is a letter or not?

2013-04-22 Thread Justin Mclean
HI, If I understand you, I think that is actually the right solution. I think you want to identify if a sequence of chars is a valid format pattern. This bit of the code is just skipping month names and is broken for locales with anything outside a-z,A-Z in them. This is in parseDateString

[jira] [Created] (FLEX-33510) DateFormatter can ignore PM string and give result 12 hours out

2013-04-22 Thread Justin Mclean (JIRA)
Justin Mclean created FLEX-33510: Summary: DateFormatter can ignore PM string and give result 12 hours out Key: FLEX-33510 URL: https://issues.apache.org/jira/browse/FLEX-33510 Project: Apache Flex

[jira] [Created] (FLEX-33511) Flex with Web services

2013-04-22 Thread Amitkumar (JIRA)
Amitkumar created FLEX-33511: Summary: Flex with Web services Key: FLEX-33511 URL: https://issues.apache.org/jira/browse/FLEX-33511 Project: Apache Flex Issue Type: Bug Components:

[jira] [Assigned] (FLEX-33510) DateFormatter can ignore PM string and give result 12 hours out

2013-04-22 Thread Justin Mclean (JIRA)
[ https://issues.apache.org/jira/browse/FLEX-33510?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Justin Mclean reassigned FLEX-33510: Assignee: Justin Mclean DateFormatter can ignore PM string and give result 12 hours

[jira] [Commented] (FLEX-20322) Locale fr_FR with different monthNames and DateFormatter doesnt provide expected result

2013-04-22 Thread Justin Mclean (JIRA)
[ https://issues.apache.org/jira/browse/FLEX-20322?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13637901#comment-13637901 ] Justin Mclean commented on FLEX-20322: -- Not resolved now fixed in 4.10.0. Sample

[jira] [Resolved] (FLEX-20322) Locale fr_FR with different monthNames and DateFormatter doesnt provide expected result

2013-04-22 Thread Justin Mclean (JIRA)
[ https://issues.apache.org/jira/browse/FLEX-20322?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Justin Mclean resolved FLEX-20322. -- Resolution: Fixed Fixed and checked into develop. Locale fr_FR with

[jira] [Commented] (FLEX-24259) DateField does not correctly parse nor format dates in fr_FR locale

2013-04-22 Thread Justin Mclean (JIRA)
[ https://issues.apache.org/jira/browse/FLEX-24259?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13637904#comment-13637904 ] Justin Mclean commented on FLEX-24259: -- This is likely fixed in Apache Flex

[jira] [Commented] (FLEX-20951) [Localization]: DateFormatter.parseDateString does not support non-latin characters in month and days names

2013-04-22 Thread Justin Mclean (JIRA)
[ https://issues.apache.org/jira/browse/FLEX-20951?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13637907#comment-13637907 ] Justin Mclean commented on FLEX-20951: -- This is likely fixed in Apache Flex 4.10.0

[jira] [Comment Edited] (FLEX-24225) DateFormatter parseDateString method cannot parse dateString value formatted with non default en_US format

2013-04-22 Thread Justin Mclean (JIRA)
[ https://issues.apache.org/jira/browse/FLEX-24225?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13637697#comment-13637697 ] Justin Mclean edited comment on FLEX-24225 at 4/22/13 10:32 AM:

[jira] [Commented] (FLEX-17334) Bugs in i18n

2013-04-22 Thread Justin Mclean (JIRA)
[ https://issues.apache.org/jira/browse/FLEX-17334?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13637911#comment-13637911 ] Justin Mclean commented on FLEX-17334: -- Most likely fixed in Apache Flex 4.10.0 in

Re: What's the easiest way to tell if a character is a letter or not?

2013-04-22 Thread Harbs
What about this: if(letter.toLowerCase() != letter.toUpperCase()){ // do your stuff... } I have no idea how performance compares to figuring it out yourself though… On Apr 22, 2013, at 4:05 AM, Justin Mclean wrote: Hi, Anyone know how to work out if a character, including unicode

Re: What's the easiest way to tell if a character is a letter or not?

2013-04-22 Thread Harbs
A quick test on this seems to work with all characters in the latin range with the exception of ß (probably because there's no official capital and lowercase…) On Apr 22, 2013, at 1:41 PM, Harbs wrote: What about this: if(letter.toLowerCase() != letter.toUpperCase()){ // do your

[jira] [Created] (FLEX-33512) TLF Text Selection Error

2013-04-22 Thread Robbyn Gerhardt (JIRA)
Robbyn Gerhardt created FLEX-33512: -- Summary: TLF Text Selection Error Key: FLEX-33512 URL: https://issues.apache.org/jira/browse/FLEX-33512 Project: Apache Flex Issue Type: Bug Affects

Re: Been out of the loop -- looking to catch up

2013-04-22 Thread Nicholas Kwiatkowski
Not yet. Don't know if it is my place to do it, or somebody at Adobe. If you can help with that aspect, that would rock. I was merely working on the coding side to make sure that it meets the technical requirements (passing RAT, updating logos, etc.). Other than the actual putting the code

Re: [1/3] git commit: [flex-sdk] - FLEX-24411 FLEX-20322 added support for .milliseconds and fix parsing of international months

2013-04-22 Thread Alex Harui
Bonus optimization if you have time for this pattern: +if (!(0 = letter letter = 9 || + letter == / || letter == : || + letter == + || letter == - || + letter == . || letter == )) This many checks in an if statement usually runs

Re: What's the easiest way to tell if a character is a letter or not?

2013-04-22 Thread Alex Harui
On 4/22/13 3:47 AM, Harbs harbs.li...@gmail.com wrote: A quick test on this seems to work with all characters in the latin range with the exception of ß (probably because there's no official capital and lowercaseŠ) My first thought was: 'what about Asia?' On Apr 22, 2013, at 1:41 PM,

Re: [FalconJX][FlexJS] New FlexJSOveray.zip now uses FalconJX instead of FalconJS

2013-04-22 Thread jun funakura
Hi, I have posted new version of FlexJS test results. http://www.noridon.net/flexjs/ My change mxml file is bellow. from FlexJSTest_again http://www.noridon.net/flexjs/FlexJSTestAgain.mxml swf version of app: http://www.noridon.net/flexjs/bin-release/FlexJSTestAgain.swf js version of app:

Re: What's the easiest way to tell if a character is a letter or not?

2013-04-22 Thread Justin Mclean
Hi, My first thought was: 'what about Asia?' Both before and after my change this fails: var date:Date = DateFormatter.parseDateString(2008年12月31日); var df:DateFormatter = new DateFormatter(DD MMM ); Japanese for those who don't know and it fails as it doesn't recognise 年, 月 or 日 as

Re: [1/3] git commit: [flex-sdk] - FLEX-24411 FLEX-20322 added support for .milliseconds and fix parsing of international months

2013-04-22 Thread Alex Harui
On 4/22/13 8:26 AM, Justin Mclean jus...@classsoftware.com wrote: Hi, This many checks in an if statement usually runs faster if you do a simple lookup. True but how many dates do you need to parse in a second? Plus I was keeping to existing code style. Not sure. Like I said, it is

Re: What's the easiest way to tell if a character is a letter or not?

2013-04-22 Thread Paul Hastings
On 4/22/2013 9:57 PM, Alex Harui wrote: My first thought was: 'what about Asia?' won't matter for countries that don't use the gregorian calendar (like thailand) as the dates will be wrong anyway. for countries that sort of use the gregorian calendar, like china, yes you'd have to expand

Re: Been out of the loop -- looking to catch up

2013-04-22 Thread Alex Harui
I'm pretty sure that Adobe has to submit the Software Grant. I'll check with Michelle off-list. Regarding Nokia images, you might have to settle for hand-drawing some artwork. On 4/22/13 6:27 AM, Nicholas Kwiatkowski nicho...@spoon.as wrote: Not yet. Don't know if it is my place to do it,

RE: What's the easiest way to tell if a character is a letter or not?

2013-04-22 Thread Kessler CTR Mark J
Should the checks be based on locale then? They could be smaller checks based on one local per... It will keep from trying to have a 1 set of condition statements to rule them all. -Original Message- From: Paul Hastings [mailto:paul.hasti...@gmail.com] Sent: Monday, April 22, 2013

Re: What's the easiest way to tell if a character is a letter or not?

2013-04-22 Thread Paul Hastings
On 4/22/2013 10:23 PM, Justin Mclean wrote: I'm not that familiar with Chinese date formats.. Can someone provide me with some examples? gregorian calendar, using latest icu4j lib (running full,long,medium,short formats): zh_CN/zh_HK locales date== 2013年4月22日星期一 2013年4月22日

[jira] [Updated] (FLEX-33513) DataGrid alternatingRowColors applies to the columns and not the entire grid

2013-04-22 Thread JC Franco (JIRA)
[ https://issues.apache.org/jira/browse/FLEX-33513?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] JC Franco updated FLEX-33513: - Summary: DataGrid alternatingRowColors applies to the columns and not the entire grid (was: DataGrid

RE: What's the easiest way to tell if a character is a letter or not?

2013-04-22 Thread Gordon Smith
There is no easy way to tell. You need a large lookup table containing all the characters in the LC, Ll, Lm, Lo, Lt, and Lu categories http://www.fileformat.info/info/unicode/category/index.htm - Gordon -Original Message- From: Paul Hastings [mailto:paul.hasti...@gmail.com] Sent:

RE: What's the easiest way to tell if a character is a letter or not?

2013-04-22 Thread Gordon Smith
An good utility would be a getUnicodeCategory() API. - Gordon -Original Message- From: Gordon Smith Sent: Monday, April 22, 2013 10:24 AM To: dev@flex.apache.org; 'paul.hasti...@gmail.com' Subject: RE: What's the easiest way to tell if a character is a letter or not? There is no easy

[FlexJS] @this references in JSDoc

2013-04-22 Thread Erik de Bruin
Alex, Peter, I see a lot of JSDoc annotations in the FlexJS JS framework for @this references that point to classes other than the current class. They also fall outside the inheritance chain. An example is in LazyCollection.js, on the 'get_inputParser' method. @this points to

Re: [FlexJS] @this references in JSDoc

2013-04-22 Thread Alex Harui
Probably just copy paste errors. Feel free to fix. On 4/22/13 11:33 AM, Erik de Bruin e...@ixsoftware.nl wrote: Alex, Peter, I see a lot of JSDoc annotations in the FlexJS JS framework for @this references that point to classes other than the current class. They also fall outside the

Re: [FlexJS] @this references in JSDoc

2013-04-22 Thread Erik de Bruin
I'm feeling free ;-) The thought behind FlexObject is just to provide a common base class, or is it part of a larger plan? EdB On Mon, Apr 22, 2013 at 8:40 PM, Alex Harui aha...@adobe.com wrote: Probably just copy paste errors. Feel free to fix. On 4/22/13 11:33 AM, Erik de Bruin

Re: [FlexJS] @this references in JSDoc

2013-04-22 Thread Alex Harui
On 4/22/13 11:44 AM, Erik de Bruin e...@ixsoftware.nl wrote: I'm feeling free ;-) The thought behind FlexObject is just to provide a common base class, or is it part of a larger plan? I thought you were the one who created it. I've been wondering what your larger plan was. -- Alex

[FlexJS] is FlexJSTest_again complete?

2013-04-22 Thread Erik de Bruin
Alex, Peter, How much of what's in the FlexJS JS framework is not used in (tested by) the FlexJSTest_again example? What I'm looking for is an indication if there is functionality in FlexJS JS that doesn't make sense when you're looking at FlexJSTest_again, but might make sense when looking e.g.

Re: [FlexJS] is FlexJSTest_again complete?

2013-04-22 Thread Alex Harui
On 4/22/13 1:24 PM, Erik de Bruin e...@ixsoftware.nl wrote: Alex, Peter, How much of what's in the FlexJS JS framework is not used in (tested by) the FlexJSTest_again example? What I'm looking for is an indication if there is functionality in FlexJS JS that doesn't make sense when

Re: [1/3] git commit: [flex-sdk] - FLEX-24411 FLEX-20322 added support for .milliseconds and fix parsing of international months

2013-04-22 Thread Justin Mclean
HI, True but how many dates do you need to parse in a second? Plus I was keeping to existing code style. Not sure. Like I said, it is optional Raise it as a minor JIRA and I'll eventually get to it. , and I forgot to say thanks for plowing through all of this broken date stuff. Rather sad

Re: What's the easiest way to tell if a character is a letter or not?

2013-04-22 Thread Justin Mclean
Hi, Should the checks be based on locale then? They could be smaller checks based on one local per... It will keep from trying to have a 1 set of condition statements to rule them all. Currently it gets the month name for the compiled locale and looks for those (well the first 3 letter of

Re: What's the easiest way to tell if a character is a letter or not?

2013-04-22 Thread Justin Mclean
Hi, won't matter for countries that don't use the gregorian calendar (like thailand) as the dates will be wrong anyway. It should be able to cope with that. Bit of a moot point as there no Thai locale for the SDK but I guess you could use copylocale and give it a go. It probably wouldn't

[jira] [Created] (FLEX-33514) DateFormatter should support Japanese and Chinese date formats

2013-04-22 Thread Justin Mclean (JIRA)
Justin Mclean created FLEX-33514: Summary: DateFormatter should support Japanese and Chinese date formats Key: FLEX-33514 URL: https://issues.apache.org/jira/browse/FLEX-33514 Project: Apache Flex

[jira] [Commented] (FLEX-23303) getting the selectedIndex from a RadioButtonGroup

2013-04-22 Thread Mark Kessler (JIRA)
[ https://issues.apache.org/jira/browse/FLEX-23303?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13638574#comment-13638574 ] Mark Kessler commented on FLEX-23303: - Minor change... made sure setting an index of

[jira] [Commented] (FLEX-33514) DateFormatter should support Japanese and Chinese date formats

2013-04-22 Thread Justin Mclean (JIRA)
[ https://issues.apache.org/jira/browse/FLEX-33514?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13638693#comment-13638693 ] Justin Mclean commented on FLEX-33514: -- And Korean as all three locales are in the

[jira] [Assigned] (FLEX-33514) DateFormatter should support Japanese and Chinese date formats

2013-04-22 Thread Justin Mclean (JIRA)
[ https://issues.apache.org/jira/browse/FLEX-33514?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Justin Mclean reassigned FLEX-33514: Assignee: Justin Mclean DateFormatter should support Japanese and Chinese date

[jira] [Commented] (FLEX-33514) DateFormatter should support Japanese and Chinese date formats

2013-04-22 Thread Justin Mclean (JIRA)
[ https://issues.apache.org/jira/browse/FLEX-33514?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13638754#comment-13638754 ] Justin Mclean commented on FLEX-33514: -- Checked into 4.10.0 develop branch code to

[FalconJX][FlexJS] Very basic CSS support

2013-04-22 Thread Alex Harui
Hi, I’ve checked in a basic level of CSS support in the FalconJX compiler. Now the styles specified in defaults.css in the FlexJSUI.swc get passed on to the output folder and are referenced by the html file. I haven’t tested fx:Style blocks yet, and SimpleCSSValuesImpl really only handles