[svn] 2366: Minor Enhancement SDK-15573: Locale sorting.

Revision: 2366
Author: [email protected]
Date: 2008-07-03 16:16:15 -0700 (Thu, 03 Jul 2008)
Log Message:
Minor Enhancement SDK-15573: Locale sorting.
Applied and modified the patch that was provided. Thank you, Romania team!
This enhancement affects the default localeChain at startup when you don't specify it in an HTML wrapper. The localeChain is now sorted based on the system's preferred locales, as determined from the Capabilities.languages and Capabilities.language APIs.
For example, suppose an app has been compiled with -locale=en_US,fr_FR,de_DE. Before this enhancement, the default localeChain would be [ "en_US", "fr_FR", "de_DE" ] regardless of the system you were running on. But now, if Capabilities.languages reports that the system's preferred locales are [ "fr-CA", "de" ], the localeChain will be [ "fr_FR", "de_DE", "en_US" ], with the result that the French resources are used rather than the English ones.
The module factory classes SystemManager and FlexModuleFactory, which initialize the localeChain if it hasn't been set by the HTML wrapper, used to simply set the localeChain to the list of compiled locales. They now use a new IResourceManager method, initializeLocaleChain() to set the localeChain in a more intelligent way, passing the list of compiled locales to this method. It in turn determines the list of the system's preferred locales and passes the two lists to a new utility method, LocaleSorter.sortLocalesByPreference(). This returns the first list sorted according to the second list, and the result gets assigned as the localeChain. (Note: The LocaleSorter class will not be documented.)
In addition, IResourceManager has a new getPreferredLocaleChain() method. It is similar to getLocales() but sorts the locale list based on the system's preferred localse. After loading resource modules or adding ResourceBundles into the ResourceManager, you can do
resourceManager.localeChain = resourceManager.getPreferredLocaleChain()
to set the localeChain to an intelligently-sorted list (the locales for which resources are available, sorted by what the user prefers to see).
Bugs: SDK-15573
QA: Yes!
Doc: Yes
Ticket Links:
http://bugs.adobe.com/jira/browse/SDK-15573
http://bugs.adobe.com/jira/browse/SDK-15573
Modified Paths:
flex/sdk/branches/3.1.0/frameworks/projects/framework/src/mx/core/FlexModuleFactory.as
flex/sdk/branches/3.1.0/frameworks/projects/framework/src/mx/managers/SystemManager.as
flex/sdk/branches/3.1.0/frameworks/projects/framework/src/mx/resources/IResourceManager.a s
flex/sdk/branches/3.1.0/frameworks/projects/framework/src/mx/resources/ResourceManagerImp l.as
Added Paths:
flex/sdk/branches/3.1.0/frameworks/projects/framework/src/mx/resources/LocaleSorter.as

Similar Messages

  • [svn] 4159: Enhancement SDK-18016 - updating mxmlc' s Embed functionality to recognize .pbj files as precompiled Shader files.

    Revision: 4159
    Author: [email protected]
    Date: 2008-11-21 13:06:29 -0800 (Fri, 21 Nov 2008)
    Log Message:
    Enhancement SDK-18016 - updating mxmlc's Embed functionality to recognize .pbj files as precompiled Shader files. This change still retains the old octet stream MIME type mapping to a ByteArray based class, but this change removes the hoop you have to jump through to embed a Shader. The new Embed usage should simply be as follows:
    [Embed(source="TubeView.pbj")]
    private var TubeViewClass:Class; //Subclass of flash.display.Shader
    Also updating Embed MIME types to recognize .dfont files since these are supported by CFFFontManager.
    Finally, updating FXG TextGraphic -> SymbolClass to use a simple FlexSprite instead of a Group. TextGraphic should now render at the right depth among SWF graphics primitives when compile time optimized FXG is used.
    QE: Yes
    Doc: If we've documented embedding .pbj, this is a simpler approach and represents a slight change in syntax.
    Checkintests: Pass
    Reviewer: Corey (Note he said he'll update ShaderFilter with a new property to accept a shader directly in a future check-in).
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-18016
    Modified Paths:
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/filters/ShaderFilter.as
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/EmbedUtil.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/fxg/TextFXGGraphics.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/fxg/TextHelper.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/media/DataTranscoder.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/media/FontTranscoder.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/util/MimeMappings.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/tools/WebTierAPI.java
    Added Paths:
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/media/PBJTranscoder.java

  • [svn:fx-3.x] 5535: Accepted patch SDK-19115 for enhancement SDK-19111.

    Revision: 5535<br />Author:   [email protected]<br />Date:     2009-03-24 17:02:20 -0700 (Tue, 24 Mar 2009)<br /><br />Log Message:<br />-----------<br />Accepted patch SDK-19115 for enhancement SDK-19111. This makes <mx:Text> wrap when using maxWidth.<br /><br />Thank you, Josh McDonald!<br /><br />QE Notes: None<br />Doc Notes: None<br />Bugs: SDK-19111<br />Reviewer: Accepting patch<br /><br />Ticket Links:<br />------------<br />    http://bugs.adobe.com/jira/browse/SDK-19115<br />    http://bugs.adobe.com/jira/browse/SDK-19111<br />    http://bugs.adobe.com/jira/browse/SDK-19111<br /><br />Modified Paths:<br />--------------<br />    flex/sdk/branches/3.x/frameworks/projects/framework/src/mx/controls/Text.as

  • [svn:fx-trunk] 11717: Bug Fixing Localized SDK - modified one file xercesSchema. properties in xercesImpl_ja.jar - added " to one JA string.

    Revision: 11717
    Author:   [email protected]
    Date:     2009-11-12 11:54:22 -0800 (Thu, 12 Nov 2009)
    Log Message:
    Bug Fixing Localized SDK - modified one file xercesSchema.properties in xercesImpl_ja.jar - added " to one JA string.
    ANT CLEAN MAIN successful
    Modified Paths:
        flex/sdk/trunk/lib/xercesImpl_ja.jar

  • [svn] 1056: Minor ASDoc updates

    Revision: 1056
    Author: [email protected]
    Date: 2008-04-01 13:47:08 -0700 (Tue, 01 Apr 2008)
    Log Message:
    Minor ASDoc updates
    Modified Paths:
    flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/preloaders/DownloadProgressB ar.as
    flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/preloaders/Preloader.as
    flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/resources/Locale.as
    flex/sdk/branches/3.0.x/frameworks/projects/rpc/src/mx/messaging/FlexClient.as
    flex/sdk/branches/3.0.x/frameworks/projects/rpc/src/mx/messaging/MessageAgent.as
    flex/sdk/branches/3.0.x/frameworks/projects/rpc/src/mx/messaging/MessageResponder.as
    flex/sdk/branches/3.0.x/frameworks/projects/rpc/src/mx/messaging/SubscriptionInfo.as
    flex/sdk/branches/3.0.x/frameworks/projects/rpc/src/mx/messaging/channels/StreamingConnec tionHandler.as
    flex/sdk/branches/3.0.x/frameworks/projects/rpc/src/mx/messaging/errors/MessageSerializat ionError.as
    flex/sdk/branches/3.0.x/frameworks/projects/rpc/src/mx/messaging/events/ChannelFaultEvent .as
    flex/sdk/branches/3.0.x/frameworks/projects/rpc/src/mx/messaging/messages/HTTPRequestMess age.as
    flex/sdk/branches/3.0.x/frameworks/projects/rpc/src/mx/messaging/messages/SOAPMessage.as
    flex/sdk/branches/3.0.x/frameworks/projects/rpc/src/mx/rpc/http/HTTPService.as
    flex/sdk/branches/3.0.x/frameworks/projects/rpc/src/mx/rpc/http/mxml/HTTPService.as

  • [svn] 3549: Minor change to a label in Flex Explorer Sample.

    Revision: 3549
    Author: [email protected]
    Date: 2008-10-09 13:51:19 -0700 (Thu, 09 Oct 2008)
    Log Message:
    Minor change to a label in Flex Explorer Sample.
    Modified Paths:
    flex/sdk/trunk/samples/explorer/explorer.xml

    Hi,
    This happens when the application is accessed from the local
    file system, i.e. using the file: protocol. Please try running the
    application using the http protocol instead of the file protocol
    like
    http://localhost/.....
    Hope this helps.

  • Mavericks - minor enhancement or total re-write ?

    I'm confused. Moving from 10.8 to 10.9 would indicate a minor update, but the massive amount of problems being reported from BlueTooth through the Gmail Emails maked me wonder what on earth has been changed. I mean what was wrong with the old email.
    As a developer myself I would have assumed that you take something which is tried and tested and working well and just extend it - but the reports I'm reading imply that huge swaiths of logic and functionality have been re-written from scratch - why ? Has someone lost the origin source code ? Are they trying to avoid a legal copyright issue - what gives. I've been with OSX for 4 years now and had no worries about the upgrade to Mavericks because of the excellent track record of quality control in the past. Now I"m shocked and loosing confidence in the apple infrastructure - this is a major disaster.
    I spoke to Apple Care yesterday after the Apple Mail update as I was still having weird problems with the Mail application and my Gmail accounts and was very dissapointed that the person I was chatting to was completely unaware of the widely publicised problems. Eventually I had to paste links to their own website describing the problem and the update.
    So - can anyone "in the know" describe what's going on here. Had I know the scope of the changes I would have definately not upgraded. For me to go back to Mountain Lion is a 2-3 day job as I have a complicated development enviroment and a number of non Apple Store installs to re-apply.
    Today I also had a grey screen appear for no apparent reason. Thought the machine had crashed, but pressing the power button resulted in a pop-up dialog appearing and asking me if I would like to shutdown or reboot.
    Sigh.....
    So sad.
    Problems I've had myself.
    Finder crashing - usually during shutdown
    Bluetooth for mouse and tethering - hopeless and unusable.
    Grey screens
    Lots of app updates for incompatibilites - including having to pay for OSX Server new version which was not publicised until it was too late
    Gmail messages - well documented - for me I keep getting messages which have been read reappearing as unread.
    Mailbox Behavoir preferences can't be saved (you click save but the changes dont keep)
    Mailbox accounts duplicated across devices due to iCloud Sync
    Event log full of crash and hang messages
    I feel sorry for the people who have had their time machine backups wiped due to incompatibilies with external drives.
    I use carbon copy to clone my disk, but I don't have an ML backup to restore from now.
    In summary this comes across as a huge change rather than a minor tweak/enhancement.
    I'd love to have access to an official know bug list to see what they are likely to work ok. You can read the forums yes - but given my disappointing conversation with Apple Care this is no guarantee that the problem has found it's way back to the people who can fix it.

    DaveGarratt wrote:
    I'm confused. Moving from 10.8 to 10.9 would indicate a minor update,
    No. 10.8 to 10.8.1  would indicate a minor update as would 10.8.1 to 10.8.2. Mavericks was a completely upgraded system. Thus the diffent name and different OSX no. 10.9 It was clearly advertiised as a new operating system on the download site of the Ap Store. I have had no issues with it all on my 5 Macs. Most of what you are reading is caused by failing hardware or Incompatable third party Apps. If bugs arise in this first release, they will be addressed as they have always been.

  • [svn] 3914: Bug fix SDK-17779 FlexAntTasks-license. txt contradicts readme-open.htm

    Revision: 3914
    Author: [email protected]
    Date: 2008-10-27 13:56:09 -0700 (Mon, 27 Oct 2008)
    Log Message:
    Bug fix SDK-17779 FlexAntTasks-license.txt contradicts readme-open.htm
    QE Notes:
    Doc Notes:
    Bugs: SDK-17779
    Reviewer: Matt Chotin
    Removing this file from SVN.
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-17779
    http://bugs.adobe.com/jira/browse/SDK-17779
    Removed Paths:
    flex/sdk/branches/3.2.0/modules/antTasks/FlexAntTasks-license.txt

  • Enhancement request: Entity Properties - Sort order/alphabetize

    You know the product is getting seriously good when enhancement request are for non-critical items. Thank you to all the team for a great useable product. Now that I've buttered you up...
    As a general question, where should enhancement requests such as this be addressed? This forum or elsewhere?
    My request: Would it be possible to include some way to sort/alphabetize the various lists in dialogs (by standard behaviour: clicking the heading)? For example, in Entity Properties - Relationships, the relationships are listed in no particular order (well, probably in "natural" order, according to order of creation). This makes it difficult to find a particualr item in long lists. This applies to nearly all such lists (unique identifiers, responsible parties, documents, dynamic properties, user defined properties, etc.) for entities, attributes, tables, and so on. For long lists, it would be very useful to be able to visually scan through the list in alpha order, rather than hunt-and-peck.
    Thanks

    I logged an ER for that
    Philip

  • [svn] 3652: Fix for SDK-17328 - Package description missing when they' re set using Overviews_Base.xml

    Revision: 3652
    Author: [email protected]
    Date: 2008-10-15 10:18:08 -0700 (Wed, 15 Oct 2008)
    Log Message:
    Fix for SDK-17328 - Package description missing when they're set using Overviews_Base.xml
    Fix for SDK-17185 - Allow HTML chars to be set for footer string
    Fix for SDK-17259 - Exception name missing when generating asdoc with @throw tag
    QA: Yes
    Doc: No
    Tests: checkintests
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-17328
    http://bugs.adobe.com/jira/browse/SDK-17185
    http://bugs.adobe.com/jira/browse/SDK-17259
    Modified Paths:
    flex/sdk/trunk/asdoc/templates/asdoc-util.xslt
    flex/sdk/trunk/asdoc/templates/package-detail.xslt
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/TopLevelClassesGenerator.ja va

    I believe I have found my solution!
    I can currently boot with my bios in ide mode- but my raid1 mirror is showing as independent drives (c and d)
    I do a simple windows search for winload.exe on the C: drive and get nothing
    that same search on the D: turns up winload.exe all over
    When I look at I my BCD 'device partation=C:'
    shouldnt this be D:?
    If so is this just a simple bcdedit, reboot into the bios, change my bios from IDE mode to RAID mode, save to cmos then, theoretically boot into windows with my raid correct (showing as a singe drive C: )
    Please someone correct me if I am wrong
    C:\>bcdedit
    Windows Boot Manager
    identifier              {bootmgr}
    device                  partition=C:
    description             Windows Boot Manager
    locale                  en-US
    inherit                 {globalsettings}
    default                 {current}
    resumeobject            {8b18c20b-c12d-11db-afc2-ac36bbabc8b2}
    displayorder            {current}
    toolsdisplayorder       {memdiag}
    timeout                 30
    Windows Boot Loader
    identifier              {current}
    device                  partition=C:
    path                    \Windows\system32\winload.exe
    description             Microsoft Windows Vista
    locale                  en-US
    inherit                 {bootloadersettings}
    osdevice                partition=C:
    systemroot              \Windows
    resumeobject            {8b18c20b-c12d-11db-afc2-ac36bbabc8b2}
    nx                      OptIn
    vga                     No
    quietboot               Yes

  • SDK supported locales : any roadmap ?

    Hello !
    I'm currently working on a Flex 4 application that will be used by our customers worldwide. So I do i18n as explained in docs.
    It is fairly easy and works well with the locales that the SDK 4 already support, that is the 16 listed in SDK_HOME\frameworks\locale
    But we need to support other languages that are not listed, e.g. polish (pl_PL) and arabic (ar_SA)
    So I'd just want to know if these locales will be available in the next releases of the SDK, is there a roadmap about this ? Or even better : do you know a 3rd-party that already did these translations ?
    Thanks !
    Matt

    Hi Jeffrey,
    Did you check in "Flow Design" tab for availability of language? SyBooks Online also check this document for localization limitations SyBooks Online
    Rgrds,
    Jitendra

  • [svn] 1435: Delete fles-sdk-description. xml altogether as it is causing issues when syncing to the sdk.

    Revision: 1435
    Author: [email protected]
    Date: 2008-04-28 13:39:06 -0700 (Mon, 28 Apr 2008)
    Log Message:
    Delete fles-sdk-description.xml altogether as it is causing issues when syncing to the sdk. Because it gets updated every time you build it also gets marked by svn as being out of sync and that is a pain too so... I opted to just create it on the fly and then update it and not have it checked in
    Modified Paths:
    flex/sdk/trunk/build.xml
    Removed Paths:
    flex/sdk/trunk/flex-sdk-description.xml

    >>D:\GoldSun\Source Code\Flash\ExtentionTest\lib\Build>D:\SDKs\flex_sdk_4.5.1.21328\bin\adl -package -target ane DaveExtension.ane extension.xml -swc DaveExtension.swc -platform iPhone-ARM library.swf libDaveExtention.a
    Either its a typo or by mistake you wrote adl in yout bat file. Change it to adt since that is the file that will package your ane. adl is just used for debugging/running on Desktop.
    Hope this helps. let me know how it goes.
    Thanks,
    Meet

  • [svn] 2023: minor spelling correction

    Revision: 2023
    Author: [email protected]
    Date: 2008-06-10 13:14:01 -0700 (Tue, 10 Jun 2008)
    Log Message:
    minor spelling correction
    Modified Paths:
    flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/controls/SWFLoader.as

    If you use a stock transition effect from DVDSP, the default (and you can't override it) is to composite the transition by using the first frame of your motion elements to transition to the next element. If your first frame for the motion thumbnail is black, then that's what you'll see.
    If you want to 'freeze' the action at the time the button was selected, you have to create your own intermediary clip. The user selects a button, it goes to the intermediary clip, whose end action is directed to the item displayed or represented by the button in the first place.
    Jim

  • [svn] 4513: Minor bug fixes.

    Revision: 4513
    Author: [email protected]
    Date: 2009-01-13 13:46:08 -0800 (Tue, 13 Jan 2009)
    Log Message:
    Minor bug fixes.
    * pausing effect currently sleeping through its startDelay now works
    * new effects now work correctly with nonzero repeatDelay
    * ASDoc fixes for ANIMATION_REPEAT event
    QE Notes: None
    Doc Notes: None
    Bugs: sdk-17993, sdk-17842, sdk-18672
    Reviewer: Jason
    Tests: checkintests, Mustella: Effects, gumbo/effects, ListDataEffects
    Ticket Links:
    http://bugs.adobe.com/jira/browse/sdk-17993
    http://bugs.adobe.com/jira/browse/sdk-17842
    http://bugs.adobe.com/jira/browse/sdk-18672
    Modified Paths:
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/Animation.as
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/FxAnimate.as
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxAnimateInstance.a s
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/events/AnimationEvent.as

    It means that small issues in the software were fixed.

  • How to use BO SDK in local java project?

    Hi,
    I am trying to connect BO system using below mentioned code
    public void main(String args[]) throws SDKException {
         try
              System.out.println("main");
              /ISessionMgr sessionMgr = CrystalEnterprise.getSessionMgr();/
              IEnterpriseSession boEnterpriseSession = CrystalEnterprise.getSessionMgr().logon( "Administrator","","BOSAP","secEnterprise");
              IInfoStore boInfoStore =(IInfoStore) boEnterpriseSession.getService("InfoStore");
              ChangePWD(boEnterpriseSession, boInfoStore);
         }catch(Exception e)
              System.out.println("Exceptions in main");
              System.out.println(e);
    This code was taken from below mentioned thread:
    Force all users to change their Enterprise passwords with a batch operation
    I have created standalone java project and running as JAVA application in eclipce. I am getting class def not found error for these BO SDK jar files. I have added
    cecore.jar
    celib.jar and
    cesession.jar files as external lib to java project
    I am using following imports
    import com.crystaldecisions.sdk.framework.CrystalEnterprise;
    import com.crystaldecisions.sdk.framework.IEnterpriseSession;
    import com.crystaldecisions.sdk.exception.SDKException;
    import com.crystaldecisions.sdk.occa.infostore.*;
    import com.crystaldecisions.sdk.occa.infostore.IInfoObjects;
    import com.crystaldecisions.sdk.occa.infostore.IInfoStore;
    import com.crystaldecisions.sdk.plugin.desktop.user.IUser;
    Does any one know solution to fix class def not found error?
    Thanks
    Nitesh Shelar

    I did some mistake few dependent jars were missing in project build path. After adding those missing BO jar files. Now its giving server connection error. Which I am trying to resolve.
    Thanks for your help.
    Nitesh Shelar

Maybe you are looking for