You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Dmitry B. Yershov (JIRA)" <ji...@apache.org> on 2007/01/19 10:37:29 UTC

[jira] Created: (HARMONY-3026) [drlvm] Add Internationalization support to the drlvm.

[drlvm] Add Internationalization support to the drlvm.
------------------------------------------------------

                 Key: HARMONY-3026
                 URL: https://issues.apache.org/jira/browse/HARMONY-3026
             Project: Harmony
          Issue Type: Improvement
          Components: DRLVM
         Environment: All
            Reporter: Dmitry B. Yershov
            Priority: Minor


Internationalization support (disussed in the harmony-dev) should be added to the drlvm.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Closed: (HARMONY-3026) [drlvm] Add Internationalization support to the drlvm.

Posted by "Gregory Shimansky (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-3026?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gregory Shimansky closed HARMONY-3026.
--------------------------------------


No response, assuming ok.

> [drlvm] Add Internationalization support to the drlvm.
> ------------------------------------------------------
>
>                 Key: HARMONY-3026
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3026
>             Project: Harmony
>          Issue Type: Improvement
>          Components: DRLVM
>         Environment: All
>            Reporter: Dmitry B. Yershov
>            Assignee: Gregory Shimansky
>            Priority: Minor
>         Attachments: i18n_patch.zip, i18n_patch_2007_02_12.zip
>
>
> Internationalization support (disussed in the harmony-dev) should be added to the drlvm.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HARMONY-3026) [drlvm] Add Internationalization support to the drlvm.

Posted by "Dmitry B. Yershov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-3026?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dmitry B. Yershov updated HARMONY-3026:
---------------------------------------

    Attachment: i18n_patch.zip

> [drlvm] Add Internationalization support to the drlvm.
> ------------------------------------------------------
>
>                 Key: HARMONY-3026
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3026
>             Project: Harmony
>          Issue Type: Improvement
>          Components: DRLVM
>         Environment: All
>            Reporter: Dmitry B. Yershov
>            Priority: Minor
>         Attachments: i18n_patch.zip
>
>
> Internationalization support (disussed in the harmony-dev) should be added to the drlvm.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (HARMONY-3026) [drlvm] Add Internationalization support to the drlvm.

Posted by "Gregory Shimansky (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-3026?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gregory Shimansky updated HARMONY-3026:
---------------------------------------

    Assignee: Gregory Shimansky

While trying to apply this patch I found that it is no longer possible. There are some changes in hyport.c and many places in drlvm which produce conflicts. Could you please update the patch to make applying it less painful?

> [drlvm] Add Internationalization support to the drlvm.
> ------------------------------------------------------
>
>                 Key: HARMONY-3026
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3026
>             Project: Harmony
>          Issue Type: Improvement
>          Components: DRLVM
>         Environment: All
>            Reporter: Dmitry B. Yershov
>         Assigned To: Gregory Shimansky
>            Priority: Minor
>         Attachments: i18n_patch.zip
>
>
> Internationalization support (disussed in the harmony-dev) should be added to the drlvm.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HARMONY-3026) [drlvm] Add Internationalization support to the drlvm.

Posted by "Dmitry B. Yershov (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-3026?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12465997 ] 

Dmitry B. Yershov commented on HARMONY-3026:
--------------------------------------------

Archive i18n_patch contains following files:
    logparams.h - This file should be copied into <drlvm_trunk>/vm/port/include/
    harmony.properties - This file should be copied into < drlvm_trunk>/vm/vmcore/src/init/
    classlib_portlib.patch - patch for CLASSLIB's portlib.
    drlvm.patch - patch for drlvm.

Some implementation details:
    1. Work with message catalogues was reused (with little overpatching) from CLASSLIB's portlib module. Now, portlib can use 1-4 message catalogues simultaneously instead of 1, because at present we have 2 sets of message catalogues: one for CLASSLIB and second for the drlvm.
    2. I added encoding functionality to CLASSLIB's portlib - buf_write_text function. This function convert input buffer to the appropriate platform encoding and return another buffer with converted data. There is a question: Should portlib's version be increased?
    3. drlvm logging system (based on apache log4cxx) was adapted to use internationalization. LECHO, LDIE and LWARN macroses were introduced for these purposes.
    4. Initial refactoring was done. Almost all DIE, ECHO and WARN messages were replaced by their localized analogs.

This patch was tested on Windows ia32 and Linux ia32.

Further improvements:
	At present, drlvm has only one message catalogue (harmony.properties file). It is English message catalogue. We should translate this MC to other languages.


> [drlvm] Add Internationalization support to the drlvm.
> ------------------------------------------------------
>
>                 Key: HARMONY-3026
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3026
>             Project: Harmony
>          Issue Type: Improvement
>          Components: DRLVM
>         Environment: All
>            Reporter: Dmitry B. Yershov
>            Priority: Minor
>         Attachments: i18n_patch.zip
>
>
> Internationalization support (disussed in the harmony-dev) should be added to the drlvm.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Resolved: (HARMONY-3026) [drlvm] Add Internationalization support to the drlvm.

Posted by "Gregory Shimansky (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-3026?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gregory Shimansky resolved HARMONY-3026.
----------------------------------------

    Resolution: Fixed

Patch applied at 506992. Please check that it was applied as expected.

> [drlvm] Add Internationalization support to the drlvm.
> ------------------------------------------------------
>
>                 Key: HARMONY-3026
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3026
>             Project: Harmony
>          Issue Type: Improvement
>          Components: DRLVM
>         Environment: All
>            Reporter: Dmitry B. Yershov
>         Assigned To: Gregory Shimansky
>            Priority: Minor
>         Attachments: i18n_patch.zip, i18n_patch_2007_02_12.zip
>
>
> Internationalization support (disussed in the harmony-dev) should be added to the drlvm.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HARMONY-3026) [drlvm] Add Internationalization support to the drlvm.

Posted by "Dmitry B. Yershov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-3026?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dmitry B. Yershov updated HARMONY-3026:
---------------------------------------

    Attachment: i18n_patch_2007_02_12.zip

i18n_patch_2007_02_12.zip is new version of the internationalization patch. All conflicts were resolved.

> [drlvm] Add Internationalization support to the drlvm.
> ------------------------------------------------------
>
>                 Key: HARMONY-3026
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3026
>             Project: Harmony
>          Issue Type: Improvement
>          Components: DRLVM
>         Environment: All
>            Reporter: Dmitry B. Yershov
>         Assigned To: Gregory Shimansky
>            Priority: Minor
>         Attachments: i18n_patch.zip, i18n_patch_2007_02_12.zip
>
>
> Internationalization support (disussed in the harmony-dev) should be added to the drlvm.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.