#
4c5e5d8b |
|
25-Nov-2018 |
Murai Takashi <tmurai01@gmail.com> |
tools/locale: Fix using auto_ptr to array. Use BStackOrHeapArray instead of using auto_ptr to array. Change-Id: I171cb002829c36ec51ba7d1e387869263e2a40f2 Reviewed-on: https://review.haiku-os.org/745 Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
|
#
5c9a335c |
|
17-Jan-2015 |
Adrien Destugues <pulkomandy@gmail.com> |
More build tools fix.
|
#
1985b16d |
|
17-Jan-2015 |
Adrien Destugues <pulkomandy@gmail.com> |
Also fix the buildtool version of catalogs.
|
#
541ff51a |
|
15-Apr-2012 |
Oliver Tappe <zooey@hirschkaefer.de> |
Cleanup BCatalogAddOn. * rename BCatalogAddOn to BCatalogData, since it doesn't represent an add-on, but rather the catalog data provided by an add-on * move BCatalogData out of Catalog.{h,cpp} into its own header and implementation file * drop BCatalogData::MarkForTranslation() methods, they're not needed * drop BCatalog::GetNoAutoCollectString() methods, they're not being used anywhere * cleanup the B_TRANSLATE_... macros somewhat * add versions of the B_TRANSLATE_MARK_... macros that are meant to be used in void context (when the string isn't being used by the program, just meant to be picked up by collectcatkeys). * adjust several apps to use B_TRANSLATE_MARK_..._VOID where needed * adjust users of BCatalogAddOn accordingly
|
#
5ac65b7f |
|
14-Apr-2012 |
Oliver Tappe <zooey@hirschkaefer.de> |
More cleanup in locale kit, this time regarding namespaces. * it's bad practice to do a 'using <namespace>' in a header, as that is very likely to have unintended effects, so drop those from a couple of private Locale headers * adjust files all over the locale kit in order to fix the problems (by explicitly importing the required classes in the implementation files)
|
#
10919035 |
|
22-May-2011 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
PlainTextCatalog::WriteToFile(): Escape characters in the comment string. Hopefully undoes the string changes seen on HTA since r41629. Note that the asymmetric escaping/unescaping (PlainTextCatalog::WriteToFile() vs. BHashMapCatalog::SetString()) is rather broken and needs to be fixed. +alpha I guess. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41667 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
ee3d8836 |
|
21-May-2011 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* BHashMapCatalog::SetString(): Also process escaped characters in the comment. Fixes #7543 (ReadOnlyBootPrompt only showing English welcome text). * Disabled fingerprint check in linkcatkeys. Fingerprints change due to the BHashMapCatalog::SetString() change. +alpha 3 git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41629 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
4e525978 |
|
27-Jul-2010 |
Adrien Destugues <pulkomandy@pulkomandy.ath.cx> |
* Make linkcatkeys output the fingerprint in decimal in case of error. This makes it easier to match with the one in the catkey file. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37766 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
c090a0fd |
|
26-Jul-2010 |
Oliver Tappe <zooey@hirschkaefer.de> |
* updated ICU build packages with newer builds that try a bit harder to avoid warnings and incorporate some of the ICU-patches we had in our repo before we upgraded to 4.4.1 * fixed remaining warnings when building locale kit * activated EnableWerror for locale kit * added 'Unicode' license, which is the second license in use by ICU git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37763 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
b891b0ac |
|
23-Jul-2010 |
Oliver Tappe <zooey@hirschkaefer.de> |
* broke out locale-related jam rules into their own file, LocaleRules * made locale build tools shut up about anything except warnings or errors git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37723 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
68effbf0 |
|
08-Jan-2010 |
Adrien Destugues <pulkomandy@pulkomandy.ath.cx> |
Fixed a bug in the plaintext catalog add on : in some cases the resulting catalog file was corrupt (checksum error). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34951 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
6bf3fe1f |
|
28-Sep-2009 |
Adrien Destugues <pulkomandy@pulkomandy.ath.cx> |
Fixed handling of \xNN in strings. This way it is possible to translate a string even if there is a B_UTF8_ELLIPSIS or some other weird char in it. Improves the bluetooth preflet translation :) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33341 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
e6b7213c |
|
28-Sep-2009 |
Adrien Destugues <pulkomandy@pulkomandy.ath.cx> |
-Fingerprint checking now use a simple sum of the hash values, instead of the adler32 algorithm. This allows to match a catalog even if, due to the hashmap instanciation, it is not iterated in the same order. Updated all the existing catkeys files to match this new system. -As the fingerprint is now fully working, all catkeys fingerprints are now checked, and if they don't match, the build will fail. -This helped find an error in the Locale Preflet french catalog. It now works again. -Usual set of cleanups and small style fixes. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33340 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
0a255c0c |
|
27-Sep-2009 |
Adrien Destugues <pulkomandy@pulkomandy.ath.cx> |
Cleanup of the locale kit tools : -Jamrule for collectcatkeys no longer print all the strings, only a message when it can't parse one (happens for TR(variable) basically) -Added fingerprint check in the plaintext catalog ReadFromFile. However, the adler checksum is different each time the catalog is loaded because it relies on the string being iterated always in the same order, but this is not always the case with an HashMap ! Some rethinking is needed, so disabled the check for now so it does not breaks the build -Some try to debug the bluetooth preflet localization. Still buggy, but I wanted to commit all this mess before I break everything up again. -Also sorted the fr.catkeys files to be in the same order as the autogenerated en.catkeys (this is useless but makes them easier to check) and updated their fingerprint even if they are still not checked. -Miscelaneous style fixes, small bugfixes, more error checking and error messages saying where they come from. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33322 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
75f15221 |
|
18-Sep-2009 |
Oliver Tappe <zooey@hirschkaefer.de> |
* reintegrated gsoc-locale-kit branch into trunk - there's more work to do, but it's about time to give this code more exposure. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33176 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
5c9a335c5767d967308ff14b89cb2dd961f2abf1 |
|
17-Jan-2015 |
Adrien Destugues <pulkomandy@gmail.com> |
More build tools fix.
|
#
1985b16d1ea374fbe039d7b40d8f516a76b41fe8 |
|
17-Jan-2015 |
Adrien Destugues <pulkomandy@gmail.com> |
Also fix the buildtool version of catalogs.
|
#
541ff51a6ef4c47f8ab105ba6ff895cdbba83aca |
|
15-Apr-2012 |
Oliver Tappe <zooey@hirschkaefer.de> |
Cleanup BCatalogAddOn. * rename BCatalogAddOn to BCatalogData, since it doesn't represent an add-on, but rather the catalog data provided by an add-on * move BCatalogData out of Catalog.{h,cpp} into its own header and implementation file * drop BCatalogData::MarkForTranslation() methods, they're not needed * drop BCatalog::GetNoAutoCollectString() methods, they're not being used anywhere * cleanup the B_TRANSLATE_... macros somewhat * add versions of the B_TRANSLATE_MARK_... macros that are meant to be used in void context (when the string isn't being used by the program, just meant to be picked up by collectcatkeys). * adjust several apps to use B_TRANSLATE_MARK_..._VOID where needed * adjust users of BCatalogAddOn accordingly
|
#
5ac65b7f11e3cec39f7f1540558884427fec935d |
|
14-Apr-2012 |
Oliver Tappe <zooey@hirschkaefer.de> |
More cleanup in locale kit, this time regarding namespaces. * it's bad practice to do a 'using <namespace>' in a header, as that is very likely to have unintended effects, so drop those from a couple of private Locale headers * adjust files all over the locale kit in order to fix the problems (by explicitly importing the required classes in the implementation files)
|
#
10919035c864c1fe463ba0547c7a321c6bf8520e |
|
22-May-2011 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
PlainTextCatalog::WriteToFile(): Escape characters in the comment string. Hopefully undoes the string changes seen on HTA since r41629. Note that the asymmetric escaping/unescaping (PlainTextCatalog::WriteToFile() vs. BHashMapCatalog::SetString()) is rather broken and needs to be fixed. +alpha I guess. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41667 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
ee3d8836e7a425099094d6ca722ce830a5c32b9a |
|
21-May-2011 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* BHashMapCatalog::SetString(): Also process escaped characters in the comment. Fixes #7543 (ReadOnlyBootPrompt only showing English welcome text). * Disabled fingerprint check in linkcatkeys. Fingerprints change due to the BHashMapCatalog::SetString() change. +alpha 3 git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41629 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
4e525978bae9349b191af2d4dccd7a2a69625449 |
|
27-Jul-2010 |
Adrien Destugues <pulkomandy@pulkomandy.ath.cx> |
* Make linkcatkeys output the fingerprint in decimal in case of error. This makes it easier to match with the one in the catkey file. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37766 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
c090a0fd840440a924c08cc9bc6c256d16635a7a |
|
26-Jul-2010 |
Oliver Tappe <zooey@hirschkaefer.de> |
* updated ICU build packages with newer builds that try a bit harder to avoid warnings and incorporate some of the ICU-patches we had in our repo before we upgraded to 4.4.1 * fixed remaining warnings when building locale kit * activated EnableWerror for locale kit * added 'Unicode' license, which is the second license in use by ICU git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37763 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
b891b0acaeb1ff1980ebb6af6b6768ec9b9be8d0 |
|
23-Jul-2010 |
Oliver Tappe <zooey@hirschkaefer.de> |
* broke out locale-related jam rules into their own file, LocaleRules * made locale build tools shut up about anything except warnings or errors git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37723 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
68effbf0824f0a0ad63c538e4de00e6c80fe1be1 |
|
08-Jan-2010 |
Adrien Destugues <pulkomandy@pulkomandy.ath.cx> |
Fixed a bug in the plaintext catalog add on : in some cases the resulting catalog file was corrupt (checksum error). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34951 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
6bf3fe1f2e9a563cc7462f98e643f41f80d58e61 |
|
28-Sep-2009 |
Adrien Destugues <pulkomandy@pulkomandy.ath.cx> |
Fixed handling of \xNN in strings. This way it is possible to translate a string even if there is a B_UTF8_ELLIPSIS or some other weird char in it. Improves the bluetooth preflet translation :) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33341 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
e6b7213cc231a50bf0419b01fb46f3294c355b7d |
|
28-Sep-2009 |
Adrien Destugues <pulkomandy@pulkomandy.ath.cx> |
-Fingerprint checking now use a simple sum of the hash values, instead of the adler32 algorithm. This allows to match a catalog even if, due to the hashmap instanciation, it is not iterated in the same order. Updated all the existing catkeys files to match this new system. -As the fingerprint is now fully working, all catkeys fingerprints are now checked, and if they don't match, the build will fail. -This helped find an error in the Locale Preflet french catalog. It now works again. -Usual set of cleanups and small style fixes. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33340 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
0a255c0c6ae855ad798a5bb518b0e9efd808a8c2 |
|
27-Sep-2009 |
Adrien Destugues <pulkomandy@pulkomandy.ath.cx> |
Cleanup of the locale kit tools : -Jamrule for collectcatkeys no longer print all the strings, only a message when it can't parse one (happens for TR(variable) basically) -Added fingerprint check in the plaintext catalog ReadFromFile. However, the adler checksum is different each time the catalog is loaded because it relies on the string being iterated always in the same order, but this is not always the case with an HashMap ! Some rethinking is needed, so disabled the check for now so it does not breaks the build -Some try to debug the bluetooth preflet localization. Still buggy, but I wanted to commit all this mess before I break everything up again. -Also sorted the fr.catkeys files to be in the same order as the autogenerated en.catkeys (this is useless but makes them easier to check) and updated their fingerprint even if they are still not checked. -Miscelaneous style fixes, small bugfixes, more error checking and error messages saying where they come from. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33322 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
75f152215517c2af1a93938f46d3156503329a5e |
|
18-Sep-2009 |
Oliver Tappe <zooey@hirschkaefer.de> |
* reintegrated gsoc-locale-kit branch into trunk - there's more work to do, but it's about time to give this code more exposure. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33176 a95241bf-73f2-0310-859d-f6bbb57e9c96
|